• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

JetSpeed2 - alot of exceptions

 
Ranch Hand
Posts: 1162
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.




 
Rancher
Posts: 43026
76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 43026
76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic