• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

uPortal Exception Help

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic