wood burning stoves*
The moose likes Portals and Portlets and the fly likes uPortal Exception Help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Portals and Portlets
Bookmark "uPortal Exception Help" Watch "uPortal Exception Help" New topic
Author

uPortal Exception Help

Kawika King
Greenhorn

Joined: Dec 18, 2002
Posts: 7
I have a basic uPortal 2.5.1 config. that builds and deploys fine, the problem is on the initial page, I get an exception:::

java.lang.NullPointerException
at org.jasig.portal.UserInstanceManager.getUserInstance(UserInstanceManager.java)
at org.jasig.portal.PortalSessionManager.doGet(PortalSessionManager.java)

After tracing all of the config files and the portal.log file the database I am using (MySql) is not being reached... It seems that the driver parameters are not being translated correctly. My mysql-connection-3.1.10.jar file is in the app server's (TOMCAT) common/lib and my WEB-INF/lib classpaths. There is no problem with the database creation / population either.

I checked the Ja-Sig site and found ONE entry on this saying to reload the app server and/or reload the uPortal instance from the tomcat manager console (did all of these and still get the same results) any help would be appreciated.

Thanks,
Dave
Kawika King
Greenhorn

Joined: Dec 18, 2002
Posts: 7
Thanks, it was an issue with build.properties where my Apache Tomcat version was in the 5.5 series and required uncommenting a uportal55.xml config line.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: uPortal Exception Help