a.lang.ClassNotFoundException: org.jasig.portal.jndi.PortalInitialContextFactory]

Apereo Issues | Brad Johnson | 1 decade ago
  1. 0

    I've seen this in my log on our portal running uPortal 2.4.2: ERROR [TP-Processor23] jndi.JNDIManager.[] May/23 12:43:05 - JNDISessionListener.valueUnbound(): Could not get portal context Cannot instantiate class: org.jasig.portal.jndi.PortalInitialContextFactory org.jasig.portal.jndi.JNDIManager.JNDISessionListener.valueUnbound() is the method that prints out this message. BTW, This code has been fixed to print out the stack trace to the log rather than just printing out the message in uPortal 2.5. Here's the stack trace: -------------- ERROR [TP-Processor1] jndi.JNDIManager.[] Oct/11 08:50:15 - JNDISessionListener.valueUnbound(): Could not get portal context javax.naming.NoInitialContextException: Cannot instantiate class: org.jasig.portal.jndi.PortalInitialContextFactory [Root exception is jav a.lang.ClassNotFoundException: org.jasig.portal.jndi.PortalInitialContextFactory] at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:657) at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247) at javax.naming.InitialContext.init(InitialContext.java:223) at javax.naming.InitialContext.<init>(InitialContext.java:197) at org.jasig.portal.jndi.JNDIManager.getContext(JNDIManager.java:307) at org.jasig.portal.jndi.JNDIManager.access$200(JNDIManager.java:67) at org.jasig.portal.jndi.JNDIManager$JNDISessionListener.valueUnbound(JNDIManager.java:335) at org.apache.catalina.session.StandardSession.removeAttributeInternal(StandardSession.java:1569) at org.apache.catalina.session.StandardSession.expire(StandardSession.java:711) at org.apache.catalina.session.StandardSession.isValid(StandardSession.java:569) at org.apache.coyote.tomcat5.CoyoteRequest.isRequestedSessionIdValid(CoyoteRequest.java:2180) at org.apache.coyote.tomcat5.CoyoteAdapter.parseSessionCookiesId(CoyoteAdapter.java:388) at org.apache.coyote.tomcat5.CoyoteAdapter.postParseRequest(CoyoteAdapter.java:299) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:158) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:300) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:374) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:743) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:675) at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683) at java.lang.Thread.run(Thread.java:595) Caused by: java.lang.ClassNotFoundException: org.jasig.portal.jndi.PortalInitialContextFactory at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:854) at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:721) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:242) at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:42) at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:654) ... 20 more

    Apereo Issues | 1 decade ago | Brad Johnson
    a.lang.ClassNotFoundException: org.jasig.portal.jndi.PortalInitialContextFactory]
  2. 0

    I've seen this in my log on our portal running uPortal 2.4.2: ERROR [TP-Processor23] jndi.JNDIManager.[] May/23 12:43:05 - JNDISessionListener.valueUnbound(): Could not get portal context Cannot instantiate class: org.jasig.portal.jndi.PortalInitialContextFactory org.jasig.portal.jndi.JNDIManager.JNDISessionListener.valueUnbound() is the method that prints out this message. BTW, This code has been fixed to print out the stack trace to the log rather than just printing out the message in uPortal 2.5. Here's the stack trace: -------------- ERROR [TP-Processor1] jndi.JNDIManager.[] Oct/11 08:50:15 - JNDISessionListener.valueUnbound(): Could not get portal context javax.naming.NoInitialContextException: Cannot instantiate class: org.jasig.portal.jndi.PortalInitialContextFactory [Root exception is jav a.lang.ClassNotFoundException: org.jasig.portal.jndi.PortalInitialContextFactory] at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:657) at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247) at javax.naming.InitialContext.init(InitialContext.java:223) at javax.naming.InitialContext.<init>(InitialContext.java:197) at org.jasig.portal.jndi.JNDIManager.getContext(JNDIManager.java:307) at org.jasig.portal.jndi.JNDIManager.access$200(JNDIManager.java:67) at org.jasig.portal.jndi.JNDIManager$JNDISessionListener.valueUnbound(JNDIManager.java:335) at org.apache.catalina.session.StandardSession.removeAttributeInternal(StandardSession.java:1569) at org.apache.catalina.session.StandardSession.expire(StandardSession.java:711) at org.apache.catalina.session.StandardSession.isValid(StandardSession.java:569) at org.apache.coyote.tomcat5.CoyoteRequest.isRequestedSessionIdValid(CoyoteRequest.java:2180) at org.apache.coyote.tomcat5.CoyoteAdapter.parseSessionCookiesId(CoyoteAdapter.java:388) at org.apache.coyote.tomcat5.CoyoteAdapter.postParseRequest(CoyoteAdapter.java:299) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:158) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:300) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:374) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:743) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:675) at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683) at java.lang.Thread.run(Thread.java:595) Caused by: java.lang.ClassNotFoundException: org.jasig.portal.jndi.PortalInitialContextFactory at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:854) at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:721) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:242) at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:42) at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:654) ... 20 more

    Apereo Issues | 1 decade ago | Brad Johnson
    a.lang.ClassNotFoundException: org.jasig.portal.jndi.PortalInitialContextFactory]
  3. 0

    Hibernate Community • View topic - Cannot load JDBC driver class

    hibernate.org | 11 months ago
    org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class 'org.postgresql.Driver'
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    WSIFWSDLFactoryImpl error

    ws-wsif-user | 1 decade ago | xm bobd988
    java.lang.ClassNotFoundException: org.apache.wsif.wsdl.WSIFWSDLFactoryImpl
  6. 0

    Access Manager Policy Agent 2.2 - Tomcat 5.0.28

    Oracle Community | 9 years ago | 807573
    java.lang.ClassNotFoundException: com.sun.identity.agents.tomcat.v55.AmTomcatRealm

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassNotFoundException

      org.jasig.portal.jndi.PortalInitialContextFactory

      at org.apache.catalina.loader.StandardClassLoader.loadClass()
    2. Glassfish Core
      StandardClassLoader.loadClass
      1. org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:854)
      2. org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:721)
      2 frames
    3. Java RT
      InitialContext.<init>
      1. java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
      2. java.lang.Class.forName0(Native Method)
      3. java.lang.Class.forName(Class.java:242)
      4. com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:42)
      5. javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:654)
      6. javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
      7. javax.naming.InitialContext.init(InitialContext.java:223)
      8. javax.naming.InitialContext.<init>(InitialContext.java:197)
      8 frames
    4. org.jasig.portal
      JNDIManager$JNDISessionListener.valueUnbound
      1. org.jasig.portal.jndi.JNDIManager.getContext(JNDIManager.java:307)
      2. org.jasig.portal.jndi.JNDIManager.access$200(JNDIManager.java:67)
      3. org.jasig.portal.jndi.JNDIManager$JNDISessionListener.valueUnbound(JNDIManager.java:335)
      3 frames
    5. Glassfish Core
      StandardSession.isValid
      1. org.apache.catalina.session.StandardSession.removeAttributeInternal(StandardSession.java:1569)
      2. org.apache.catalina.session.StandardSession.expire(StandardSession.java:711)
      3. org.apache.catalina.session.StandardSession.isValid(StandardSession.java:569)
      3 frames
    6. org.apache.coyote
      CoyoteAdapter.service
      1. org.apache.coyote.tomcat5.CoyoteRequest.isRequestedSessionIdValid(CoyoteRequest.java:2180)
      2. org.apache.coyote.tomcat5.CoyoteAdapter.parseSessionCookiesId(CoyoteAdapter.java:388)
      3. org.apache.coyote.tomcat5.CoyoteAdapter.postParseRequest(CoyoteAdapter.java:299)
      4. org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:158)
      4 frames
    7. Embedded GlassFish Web
      SocketConnection.runIt
      1. org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:300)
      2. org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:374)
      3. org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:743)
      4. org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:675)
      5. org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866)
      5 frames
    8. Tomcat Util
      ThreadPool$ControlRunnable.run
      1. org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
      1 frame
    9. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:595)
      1 frame