Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JetSpeed2 - alot of exceptions

 
Arvind Mahendra
Ranch Hand
Posts: 1162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I downloaded Jetspeed 2 and ran it using startup.bat. I surfed to http://localhost:8080/jetspeed/portal/ and the page loaded though tomcat made a mess of exceptions. pasted below. I Also noticed that the 'Login Portlet' was not available on the home page.
"Portlet is Not Available: j2-admin::LoginPortlet
Reason: null".

Anyone can help me.




 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I see just one exception (repeatedly) which is java.lang.NoClassDefFoundError: javax/el/ELContext

I'm not sure where this class is supposed to be; I'd guess it's part of JSP 2.1. So, are you running Tomcat 6? Tomcat 5.x does not support JSP 2.1.
 
Arvind Mahendra
Ranch Hand
Posts: 1162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Ulf Dittmer:
I see just one exception (repeatedly) which is java.lang.NoClassDefFoundError: javax/el/ELContext

I'm not sure where this class is supposed to be; I'd guess it's part of JSP 2.1. So, are you running Tomcat 6? Tomcat 5.x does not support JSP 2.1.


The tomcat is 5.x and it came bundled with jetspeed, so I cant see why that could be a problem. I tried deploying on Tomcat 6 but the portal fails to startup. I guess I will try some more.
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
OK, the Jetspeed 2 requirements state that Servlet API 2.4 (and thus TC 5) is sufficient. But still, that class is part of JSP 2.1 which is not supported by TC 5. Since the exception is apparently thrown from inside a JSTL tag, are you by any chance using JSTL 1.2 (which relies on JSP 2.1)?
 
Arvind Mahendra
Ranch Hand
Posts: 1162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
OK. I had servlet-api.jar and jsp-api.jar lying in my jdk\jre\lib\ext folders and I deleted them. everything works now. Thanks Ulf. Your inclination set me in the correct direction.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic