Getting an EJB to Timeout

What is the best way to get a Stateless EJB to timeout?
If my application makes a call to an EJB and I want the
maximum length of the call to take X seconds, how do I
accomplish this. If X seconds has passed, I want the EJB
to timeout and return to the client.
Is there some RMI timeout feature? Do I have to create threads
on my own to perform the timeout? What is the best method?
Thanks.

Are you using Container Managed Transactions? If your business method
is declared to execute within a TX (by setting it's TX attribute to
"Required", for example), you can then specify the timeout period for
the transaction in your weblogic-ejb-jar.xml file:
<transaction-descriptor>
     <trans-timeout-seconds>60</trans-timeout-seconds>
</transaction-descriptor>
Hope this helps,
Tim

Similar Messages

  • GlassFish, JAAS Login Module - get remote ejb clien IP address

    How to get remote ejb client IP in my custom JAAS login module if I use Glassfish?
    Edited by: NoName on Sep 23, 2009 4:06 AM

    Hi,
    Try configuring wdisp/add_xforwardedfor_header in web dispatcher as described here:
    http://help.sap.com/saphelp_nw04/helpdata/en/de/89023c59698908e10000000a11402f/content.htm
    And configuring ClientIpHeaderName on the java server as described here:
    http://help.sap.com/saphelp_nw04/helpdata/en/52/46f6a089754e3a964a5d932eb9db8b/content.htm
    Regards,
    Maria

  • How to get the EJB "Cached Beans Current Count" in Command-Line

    I use WebLogic console to monitor EJB's "Cached Beans Current Count" property in monitor tab, but I want to get the result in Command-Line using "weblogc.Admin".
    What arguments to be used?
    I can get the EJB property use:
    java -cp weblogic.jar weblogic.Admin -url t3://svr:7001 -username weblogic -password weblogic GET -mbean mydomain:Application=myear,Name=myejb
    .jar,Type=EJBComponent
    How can I to get the "Cached Beans Current Count"

    Hello,
    This should do the trick
    $JAVA_HOME/bin/java -cp $CLASSPATH weblogic.Admin -url <server_url> -username <username> -password <password> GET -pretty -type EJBCacheRuntime -property CachedBeansCurrentCount
    Also see http://e-docs.bea.com/wls/docs81/admin_ref/cli.html for more info.
    Cheers,
    Hoos
    Message was edited by hoos at Nov 29, 2004 1:50 AM

  • JTA, JAM Exported EJB Service Timeouts

              We are using the Java Adapter for Mainframe (JAM) v5.0, with the Server EJB programming
              model as documented in JAM docs(CICS is initiating a call to this EJB).
              In the JAM section in wls 6.1 sp2 console, under the Exports/Exported EJBs section,
              one of the parameters listed is "Timeout" for the selected Service name, which is
              by default 30000 msec..my questions:
              1. how is this timeout parameter related to JTA timeout parameter in the weblogic
              console.
              2. if i specify the <transactiontype> elemnt in ejb-jar.xml as Conatiner and have
              the follwoing
              <container-transaction>
              <method>
              <ejb-name>TMS2Ejb</ejb-name>
              <method-intf>Remote</method-intf>
              <method-name>*</method-name>
              </method>
              <trans-attribute>NotSupported</trans-attribute>
              </container-transaction>
              how is this related to timeout parameter in JAM console.
              3. Does the JTA timeout setting override the JAM Service Timeout setting? I am not
              specifying anytimeout parametr in the ejb decsriptors.
              4. Is the JAM Exported EJB Service Timeout setting same as setting the timeout parameter
              for EJB in the descriptors?
              Thanks a lot for yr time...
              

              We are using the Java Adapter for Mainframe (JAM) v5.0, with the Server EJB programming
              model as documented in JAM docs(CICS is initiating a call to this EJB).
              In the JAM section in wls 6.1 sp2 console, under the Exports/Exported EJBs section,
              one of the parameters listed is "Timeout" for the selected Service name, which is
              by default 30000 msec..my questions:
              1. how is this timeout parameter related to JTA timeout parameter in the weblogic
              console.
              2. if i specify the <transactiontype> elemnt in ejb-jar.xml as Conatiner and have
              the follwoing
              <container-transaction>
              <method>
              <ejb-name>TMS2Ejb</ejb-name>
              <method-intf>Remote</method-intf>
              <method-name>*</method-name>
              </method>
              <trans-attribute>NotSupported</trans-attribute>
              </container-transaction>
              how is this related to timeout parameter in JAM console.
              3. Does the JTA timeout setting override the JAM Service Timeout setting? I am not
              specifying anytimeout parametr in the ejb decsriptors.
              4. Is the JAM Exported EJB Service Timeout setting same as setting the timeout parameter
              for EJB in the descriptors?
              Thanks a lot for yr time...
              

  • Ocj4 ejb transaction-timeout

    I've got the following in my orion-ejb-jar.xml:
    <session-deployment name="..." transaction-timeout="900"/>
    OC4J appears to ignore it. For one, I get transaction timeouts with operations lasting less than 900 seconds. For two, I see in the EM MBean browser that the transaction timeout for the stateless session bean has a value of "-1".
    Am I doing something wrong, or is OC4J broken?

    Anybody out there?
    I'm sure I can't be the only one trying to do this...

  • EJB Transaction Timeout

    Hi,
    we have set the following in bc4j.xcfg for our AppicationModule which is deployed as EJB with BMT:
    <jbo.ejb.txntimeout>0</jbo.ejb.txntimeout>
    With jbo.debugoutput=console we get the following lines
    including "Transaction timeout set to 0 secs"
    [298] Diagnostic Properties: Timing:false Functions:false Linecount:true Threshold:6
    [299] Loading from /de/materna/heimabrechnung/common/logging/logging.xml file
    [300] Loading from indvidual XML files
    [301] Loading the Containees for the Package 'de.materna.heimabrechnung.common.logging.logging'.
    [302] Loading from /de/materna/heimabrechnung/common/logging/LoggingModule.xml file
    [303] Loading from /de/materna/heimabrechnung/common/logging/LogEintragView.xml file
    [304] Loading from /de/materna/heimabrechnung/common/logging/LogEintrag.xml file
    [305] Loading from /de/materna/heimabrechnung/common/logging/LogStacktraceView.xml file
    [306] Loading from /de/materna/heimabrechnung/common/logging/LogStacktrace.xml file
    [307] mUsePersColl is false
    [308] ViewObjectImpl.mDefaultMaxRowsPerNode is 70
    [309] ViewObjectImpl.mDefaultMaxActiveNodes is 30
    [310] Transaction timeout set to 0 secs
    [311] Created root application module: 'de.materna.heimabrechnung.common.logging.LoggingModule'
    [312] Locale is: 'en'
    [313] Transaction timeout set to 0 secs
    [314] Trying connection: DataSource='com.evermind.sql.OrionCMTDataSource/heimabrechnung/jdbc/HeimabrechnungDS'...
    [315] Successfully logged in
    But after a while not using the ApplicationModule on the client the server throws the following exception:
    java.lang.NullPointerException
    at oracle.jbo.server.remote.ejb.EJBApplicationModuleImpl.resumeTransaction(EJBApplicationModuleImpl.java:635)
    at de.materna.heimabrechnung.common.logging.server.ejb.beanmanaged.LoggingModuleServer.logDebug(LoggingModuleServer.java:6
    0)
    at RemoteLoggingModule_StatefulSessionBeanWrapper20.logDebug(RemoteLoggingModule_StatefulSessionBeanWrapper20.java:1383)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:119)
    at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:48)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:802)
    at java.lang.Thread.run(Thread.java:484)
    Any ideas ?
    What we need are EJB's without any timeout!

    The following configuration seems working:
    version: OC4J (9.0.3.0.0) (build 020927.1699)
    AM deployment:
    - bc4j.xcfg: <jbo.ejb.txntimeout>30000</jbo.ejb.txntimeout>
    - orion-ejb-jar.xml: <session-deployment name="..." timeout="0"/>
    OC4J config:
    - data-source: inactivity-timeout="30000"
    This keeps connection open for more than default 30 mins of inactivity (30000 secs configured).
    Although, oc4j console prints multiple warnings:
    DriverManagerConnectionPoolConnection not closed, check your code!
    Looks like this is not an intended usage - but working.
    Notice that it was a test, not a production environment.
    Also pls see 9033: AM as EJB Session bean: pooled connection lost for new txn
    I would be thankful for any experience in running AM Session EJB w/o timeout.

  • EJB Transaction-Timeout Effects

    Hi,
    We have a long running process, well, longer than the 60 seconds of the default transaction time-out set in the server.xml. I was going to lengthen it but thought I better ask as changing it to a larger amount of time might cause some effects that are undesired.
    So a couple of question:
    1) Why was it defaulted to 60 seconds, is there something unique about 60 seconds or is just a number to start with.
    2) What are the effects of making it larger (e.g. degraded performance, memory usage, connection pool?
    3) How does the transaction-timeout property affect the JDBC connection(s) that are contained within the scope of the transaction?
    4) Does the transaction timeout affect the time sql queries can take? Or is that the inactivity-timeout?
    I greatly appreciate any feedback I can get.
    Thanks,
    Donovan

    The following configuration seems working:
    version: OC4J (9.0.3.0.0) (build 020927.1699)
    AM deployment:
    - bc4j.xcfg: <jbo.ejb.txntimeout>30000</jbo.ejb.txntimeout>
    - orion-ejb-jar.xml: <session-deployment name="..." timeout="0"/>
    OC4J config:
    - data-source: inactivity-timeout="30000"
    This keeps connection open for more than default 30 mins of inactivity (30000 secs configured).
    Although, oc4j console prints multiple warnings:
    DriverManagerConnectionPoolConnection not closed, check your code!
    Looks like this is not an intended usage - but working.
    Notice that it was a test, not a production environment.
    Also pls see 9033: AM as EJB Session bean: pooled connection lost for new txn
    I would be thankful for any experience in running AM Session EJB w/o timeout.

  • EJB Transaction timeout and Statement Query Timeout

    I am looking for some details on how statement query timeout is set when statement execution is part of the session bean transaction. I have done some test in webshere 6.1. and JBoss 5.0 and not getting the desired behavior. My understanding is following
    - DB is Oracle 11g
    - EJB transaction is set to 5 mins.
    - Query time out setting is set to default vaule (not sure what is the default value)
    - Session bean is updating say customer record using PreparedStatement
    - Prior to calling session bean method I am locking the customer record using external/db tool and holding the lock.
    - Call session bean method. Method waits endlessly for the lock to be acquired. No transaction rollback after 5 mins.
    - After 10 minutes commit the transaction in the external db tool
    - Session bean methods throws transaction rollback.
    My understanding was that query timeout is set based on transaction "time to live". Please share out thoughts.
    Edited by: hdjava on Jun 18, 2010 1:06 PM
    Edited by: hdjava on Jun 18, 2010 1:07 PM

    The following configuration seems working:
    version: OC4J (9.0.3.0.0) (build 020927.1699)
    AM deployment:
    - bc4j.xcfg: <jbo.ejb.txntimeout>30000</jbo.ejb.txntimeout>
    - orion-ejb-jar.xml: <session-deployment name="..." timeout="0"/>
    OC4J config:
    - data-source: inactivity-timeout="30000"
    This keeps connection open for more than default 30 mins of inactivity (30000 secs configured).
    Although, oc4j console prints multiple warnings:
    DriverManagerConnectionPoolConnection not closed, check your code!
    Looks like this is not an intended usage - but working.
    Notice that it was a test, not a production environment.
    Also pls see 9033: AM as EJB Session bean: pooled connection lost for new txn
    I would be thankful for any experience in running AM Session EJB w/o timeout.

  • Statistics: stateful ejbs and timeout

    Hi,
    I'm wondering if there is a possiblity to get the number of stateful ejbs that hit the timeout marker. Any hints on that? (I'm not looking for the number of transactions that hit the timeout, but rather of the ejbs - related to the idle-timeout-seconds configuration settings.)
    Regards,
    Andi

    Hi,
    In a clustered environment, we've been told that
    stateful EJBs are only balanced before create()
    method. So, if we have already "created" the Remote
    interface, we're using it, and the server fails and
    must be balanced to another instance, what will
    happen? Will we lost that Remote interface and data
    included in it?no, WEBLogic will failover to another node. You will not lose remote interface and data, because SFSB data are copied among several servers (replication group). Please read WL docs at BEA site. WL has excelent documentation about clusters.
    Maris

  • How do I get one EJB to refer to an EJB located on another server?

    Hi,
    I have two stateless session EJBs (A & B) contained in separate EAR files, and
    are located on separate servers within the same domain. How do I set up an ejb
    reference for bean A so that it can be used by B? If the 2 ejbs were located on
    the same server, I could set up the ejb-ref tags in the deployment descirptors.
    Is there someway of doing this for beans on remote servers?
    thanks,
    Andy

    See also http://kb.mozillazine.org/Backing_up_and_restoring_bookmarks_-_Firefox
    Copy and Paste this code in the Code field in the <i>"Tools > Error Console"</i> and click the <i>Evaluate</i> button to see the location of the profile folder.
    <pre><nowiki>alert(Components.classes["@mozilla.org/file/directory_service;1"].getService(Components.interfaces.nsIProperties).get("ProfD", Components.interfaces.nsIFile).path);</nowiki></pre>
    See also http://kb.mozillazine.org/Profile_folder_-_Firefox
    "Application Data" in XP/Win2K and "AppData" in Vista/Windows 7 are hidden folders, use %APPDATA% in the File name field<br />
    See http://kb.mozillazine.org/Show_hidden_files_and_folders

  • Why do i keep getting the "internet connection timeout" error message?

    i have been upgrading a few standard itunes albums to itunes plus versions through my 3g mobile broadband connection, while not exactly a fast process, it was working fine until i started to get a backlog of 3 or 4 albums which were waiting in a queue to be downloaded, now every time i do the "check for downloads" option i get the "internet connection timed out" error message...this has been going on for 2 days! am i right in suspecting the backlog of albums is too much for my 3g mobile broadband connection? this is really doing my head in, if any of you techies could help me, it'd be much appreciated...?

    yes i have recently updated to itunes 8.2.1, but i am starting to think its apple's servers (i tried to download at my brothers house...different computer and connection...same connection timeout error), because it will still let me download an album, but not necessarily all of the tracks. when i questioned itunes customer services about the seemingly hit and miss state of affairs with downloading, they told me to wait 3 weeks before trying to download the tracks that were giving me the grief (2 tracks from an arctic monkeys album)...which kinda indicates they know there is a problem and are trying to fix it, why else would they say wait 3 wks??? they gave me 5 free music tracks too, which is handy.

  • How to get remote ejb client working with Weblogic 8.1?

    I have Weblogic 8.1 running on a WinXP box behind my firewall. Port 7001 is open to WL and remote browsers can access the console.
    I have a client machine running WinXP on a different network that is remote to the WL server. It can ping the WL server machine.
    I use JVM 1.4.2_08 on all machines.
    If I put my client machine on the LAN with the WL server, then my EJB test client works fine. If I put the client machine on the remote network then the test client fails with a ClassCastException when trying to do a PortableRemoteObject.narrow on the bean home.
    I had this running fine on JBoss 3.22 using RMI over HTTP. I added an HTTP invoker service to my jboss.xml file. I don't know if something similar is needed on the Weblogic side - any ideas on that? All I've done on the WL side is turn on Tunneling - which obviously works because the remote client gets a correct home object when doing a lookup on the bean - based on the IOR string of the home obj.
    Below I include my client code, exception, ejb-jar.xml and my weblogic-ejb-jar.xml.
    Any ideas on what else needs to be done so that a remote client can do a PortableRemoteObject.narrow? My client.jar has all of the EJB classes, and runs fine when run from LAN.
    Thanks,
    --BobC
    Client Code
    Properties p = new Properties();
    p.put("java.naming.factory.initial", "weblogic.jndi.WLInitialContextFactory");
    p.put("java.naming.provider.url", "http://66.114.140.213:7001");
    InitialContext ic = new InitialContext(p);
    // Test register bean
    Object homeObj = ic.lookup("tacplanner/register");
    RegisterHome home = (RegisterHome) PortableRemoteObject.narrow(homeObj, RegisterHome.class); // <<< ClassCastException here
    Exception
    java.lang.ClassCastException
    at com.sun.corba.se.internal.javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:293)
    at javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:134)
    at com.nimblus.tacplanner.test.TestUtils.<init>(TestUtils.java:60)
    at com.nimblus.tacplanner.test.TestUtils.main(TestUtils.java:196)
    ejb-jar.xml
    <?xml version="1.0"?>
    <!DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//EN' 'http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd'>
    <ejb-jar>
    <enterprise-beans>
    <session>
    <ejb-name>register</ejb-name>
    <home> com.nimblus.tacplanner.server.ejb.stateless.RegisterHome</home>
    <remote> com.nimblus.tacplanner.server.ejb.stateless.Register</remote>
    <ejb-class>com.nimblus.tacplanner.server.ejb.stateless.RegisterSession</ejb-class>
    <session-type>Stateless</session-type>
    <transaction-type>Container</transaction-type>
    <resource-ref>
    <description>The Oracle Datasource</description>
    <res-ref-name>java:/OracleDS</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    </session>
    </enterprise-beans>
    <assembly-descriptor>
    <container-transaction>
    <method>
    <ejb-name>register</ejb-name>
    <method-name>*</method-name>
    </method>
    <trans-attribute>Required</trans-attribute>
    </container-transaction>
    </ejb-jar>
    weblogic-ejb-jar.xml
    <?xml version="1.0"?>
    <!DOCTYPE weblogic-ejb-jar PUBLIC
    '-//BEA Systems, Inc.//DTD WebLogic 8.1.0 EJB//EN'
    'http://www.bea.com/servers/wls810/dtd/weblogic-ejb-jar.dtd'>
    <weblogic-ejb-jar>
    <weblogic-enterprise-bean>
    <ejb-name>register</ejb-name>
    <stateless-session-descriptor>
    <pool>
    <max-beans-in-free-pool>100</max-beans-in-free-pool>
    </pool>
    </stateless-session-descriptor>
    <reference-descriptor>
    <resource-description>
    <res-ref-name>jdbc/OracleDS</res-ref-name>
    <jndi-name>OracleDS</jndi-name>
    </resource-description>
    </reference-descriptor>
    <enable-call-by-reference>True</enable-call-by-reference>
    <jndi-name>tacplanner/register</jndi-name>
    </weblogic-enterprise-bean>
    </weblogic-ejb-jar>
    --------------------

    Problem solved.
    For remote clients you need to generate and use the stub classes for EJB interfaces using Weblogic's appc utility.
    See: "http://e-docs.bea.com/wls/docs81/ejb/appc_ejbc.html#1151900"
    --BobC                                                                                                                                                                                                                                                                                                                                                                                                                               

  • A problem while getting a EJB remote interface from SJSAS 9.0

    I hava deployed a session bean in SJSAS 9.0
    I wrote some codes to get the remote interface as follow:
    Context ctx = null;
    Hashtable env = new Hashtable();
    env.put ("java.naming.factory.initial","com.sun.jndi.cosnaming.CNCtxFactory");
    env.put("java.naming.provider.url","iiop://127.0.0.1:3700");
    try {
    ctx = new InitialContext(env);
    } catch (NamingException ex) {
    ex.printStackTrace();
    try {
    Object cs =ctx.lookup(ejb.MySessionBean);
    } catch (NamingException ex) {
    ex.printStackTrace();
    A exception occured during the lookup operation.
    javax.naming.NameNotFoundException [Root exception is org.omg.CosNaming.NamingContextPackage.NotFound: IDL:omg.org/CosNaming/NamingContext/NotFound:1.0]
    at com.sun.jndi.cosnaming.ExceptionMapper.mapException(ExceptionMapper.java:44)
    at com.sun.jndi.cosnaming.CNCtx.callResolve(CNCtx.java:453)
    at com.sun.jndi.cosnaming.CNCtx.lookup(CNCtx.java:492)
    at com.sun.jndi.cosnaming.CNCtx.lookup(CNCtx.java:470)
    at javax.naming.InitialContext.lookup(InitialContext.java:351)
    at demo.Main.run(Main.java:46)
    at demo.Main.main(Main.java:62)
    Caused by: org.omg.CosNaming.NamingContextPackage.NotFound: IDL:omg.org/CosNaming/NamingContext/NotFound:1.0
    at org.omg.CosNaming.NamingContextPackage.NotFoundHelper.read(NotFoundHelper.java:72)
    at org.omg.CosNaming._NamingContextExtStub.resolve(_NamingContextExtStub.java:406)
    at com.sun.jndi.cosnaming.CNCtx.callResolve(CNCtx.java:440)
    ... 5 more
    Anyone can solve this problem for me???
    Thanks a lot

    We don't recommend explicitly instantiating the CosNaming provider within a stand-alone java client when accessing beans within the Java EE SDK. We have a simpler approach that involves just instantiating the no-arg InitialContext. Details are in our EJB FAQ :
    https://glassfish.dev.java.net/javaee5/ejb/EJB_FAQ.html
    --ken                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Getting the ejb error while running the deployed application

    hi;
    Application Server : OC4J(JDeveloper11g)
    We are getting the following exception while running the deployed application.But it is working fine in embedded OC4J. We are using the views tables and while inserting the data to view table
    We have used to actual table sequence( that is in other schema) in the view table by giving the grant permission. and we are inserting the data into the view table. But it is working in embedded OC4J. After giving the grant permission to the sequence table and while we were working in the newly deployed application we getting the following error.
    Dec 23, 2007 4:12:22 AM com.evermind.server.ejb.logging.EJBMessages logException
    SEVERE: [AdmMenuManager:public java.util.List com.prapansol.elearn.usermanagement.model.businessprocess.service.admmenu.AdmMenuManagerBean.getAllActiveResponsibilityMenus(java.lang.Long)] exception occurred during method invocation: javax.ejb.EJBException: nested exception is: java.lang.NullPointerException
    javax.ejb.EJBException: nested exception is: java.lang.NullPointerException
    java.lang.NullPointerException
         at oracle.jdbc.driver.T4CTTIoauthenticate.marshalOauth(T4CTTIoauthenticate.java:450)
         at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:401)
         at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:650)
         at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:200)
         at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:34)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:413)
         at oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(OracleDataSource.java:388)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:278)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:203)
         at oracle.oc4j.sql.DataSourceConnectionPoolDataSource.getPooledConnection(DataSourceConnectionPoolDataSource.java:57)
         at oracle.oc4j.sql.xa.EmulatedXADataSource.getXAConnection(EmulatedXADataSource.java:94)
         at oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl.createXAConnection(ManagedConnectionFactoryImpl.java:251)
         at oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl.createManagedConnection(ManagedConnectionFactoryImpl.java:212)
         at com.evermind.server.connector.ApplicationConnectionManager.createManagedConnection(ApplicationConnectionManager.java:1354)
         at oracle.oc4j.sql.OracleConnectionFactoryAdapter.createConnection(OracleConnectionFactoryAdapter.java:110)
         at oracle.ucp.common.CollectionConnectionPoolImpl.createOnePooledConnection(CollectionConnectionPoolImpl.java:513)
         at oracle.ucp.common.CollectionConnectionPoolImpl.borrowConnectionWithoutCountingRequests(CollectionConnectionPoolImpl.java:419)
         at oracle.ucp.common.CollectionConnectionPoolImpl.borrowConnection(CollectionConnectionPoolImpl.java:295)
         at oracle.oc4j.sql.OracleCommonConnectionPool.borrowConnection(OracleCommonConnectionPool.java:79)
         at oracle.oc4j.sql.OracleCommonConnectionPool.getManagedConnection(OracleCommonConnectionPool.java:61)
         at oracle.j2ee.connector.OC4JConnectionPoolAdapter.getManagedConnection(OC4JConnectionPoolAdapter.java:543)
         at com.evermind.server.connector.ApplicationConnectionManager.getManagedConnectionContext(ApplicationConnectionManager.java:1568)
         at com.evermind.server.connector.ApplicationConnectionManager.getConnectionFromPool(ApplicationConnectionManager.java:1553)
         at com.evermind.server.connector.ApplicationConnectionManager.acquireConnectionContext(ApplicationConnectionManager.java:1499)
         at com.evermind.server.connector.ApplicationConnectionManager.allocateConnection(ApplicationConnectionManager.java:1444)
         at oracle.j2ee.connector.OracleConnectionManager.unprivileged_allocateConnection(OracleConnectionManager.java:238)
         at oracle.j2ee.connector.OracleConnectionManager.allocateConnection(OracleConnectionManager.java:192)
         at oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.java:217)
         at oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.java:147)
         at oracle.toplink.jndi.JNDIConnector.connect(JNDIConnector.java:123)
         at oracle.toplink.jndi.JNDIConnector.connect(JNDIConnector.java:84)
         at oracle.toplink.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:154)
         at oracle.toplink.internal.sessions.DatabaseSessionImpl.loginAndDetectDatasource(DatabaseSessionImpl.java:517)
         at oracle.toplink.ejb.cmp3.EntityManagerFactoryProvider.login(EntityManagerFactoryProvider.java:186)
         at oracle.toplink.internal.ejb.cmp3.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:213)
         at oracle.toplink.internal.ejb.cmp3.base.EntityManagerFactoryImpl.getServerSession(EntityManagerFactoryImpl.java:58)
         at oracle.toplink.internal.ejb.cmp3.base.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:91)
         at oracle.toplink.internal.ejb.cmp3.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:64)
         at oracle.oc4j.persistence.EntityManagerProxy.createEntityManager(EntityManagerProxy.java:100)
         at oracle.oc4j.persistence.EntityManagerProxy.allocateEntityManager(EntityManagerProxy.java:85)
         at oracle.oc4j.persistence.AbstractEntityManagerProxy.createQuery(AbstractEntityManagerProxy.java:101)
         at oracle.oc4j.persistence.EntityManagerProxy.createQuery(EntityManagerProxy.java:70)
         at com.prapansol.elearn.usermanagement.model.businessprocess.service.admmenu.AdmMenuManagerBean.getAllActiveResponsibilityMenus(AdmMenuManagerBean.java:118)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:27)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:101)
         at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:101)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:101)
         at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:101)
         at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:52)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at oracle.oc4j.security.SecurityServices.doAsPrivileged(SecurityServices.java:150)
         at oracle.oc4j.security.SecurityServices.doAsPrivileged(SecurityServices.java:420)
         at oracle.oc4j.security.JaasModeImpl$DoAsPrivilegedExecutor.execute(JaasModeImpl.java:280)
         at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:57)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:101)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:101)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:58)
         at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:104)
         at AdmMenuManager_LocalProxy_5k85l3l.getAllActiveResponsibilityMenus(Unknown Source)
         at com.prapansol.elearn.usermanagement.backing.main.Usermanagementhome.setMenuBar1(Usermanagementhome.java:146)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at javax.el.BeanELResolver.setValue(BeanELResolver.java:352)
         at javax.el.CompositeELResolver.setValue(CompositeELResolver.java:283)
         at com.sun.faces.el.FacesCompositeELResolver.setValue(FacesCompositeELResolver.java:93)
         at com.sun.el.parser.AstValue.setValue(AstValue.java:134)
         at com.sun.el.ValueExpressionImpl.setValue(ValueExpressionImpl.java:255)
         at com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.java:222)
         at javax.faces.webapp.UIComponentELTag.createComponent(UIComponentELTag.java:211)
         at javax.faces.webapp.UIComponentClassicTagBase.createChild(UIComponentClassicTagBase.java:466)
         at javax.faces.webapp.UIComponentClassicTagBase.findComponent(UIComponentClassicTagBase.java:651)
         at javax.faces.webapp.UIComponentClassicTagBase.doStartTag(UIComponentClassicTagBase.java:1098)
         at org.apache.myfaces.trinidad.webapp.UIXComponentELTag.doStartTag(UIXComponentELTag.java:63)
         at oracle.adfinternal.view.faces.unified.taglib.UnifiedMenuBarTag.doStartTag(UnifiedMenuBarTag.java:67)
         at templates.usermanagementtemplate_jspx.__jsp_tag_ctru41_helper_52(_usermanagementtemplate_jspx.java:1218)
         at templates.usermanagementtemplate_jspx._jspService(_usermanagementtemplate_jspx.java:602)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:60)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:483)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:683)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:607)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:709)
         at com.evermind.server.http.ServletRequestDispatcher.unprivileged_include(ServletRequestDispatcher.java:154)
         at com.evermind.server.http.ServletRequestDispatcher.access$000(ServletRequestDispatcher.java:45)
         at com.evermind.server.http.ServletRequestDispatcher$1.oc4jRun(ServletRequestDispatcher.java:91)
         at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:326)
         at com.evermind.server.http.ServletRequestDispatcher.include(ServletRequestDispatcher.java:96)
         at oracle.adfinternal.view.faces.taglib.region.ComponentRefTag.__include(ComponentRefTag.java:338)
         at oracle.adfinternal.view.faces.taglib.region.ComponentRefTag.doEndTag(ComponentRefTag.java:192)
         at oracle.adfinternal.view.faces.taglib.region.PageTemplateTag.doEndTag(PageTemplateTag.java:69)
         at test1jspx._jspService(_test1_jspx.java:830)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:60)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:483)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:683)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:607)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:709)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
         at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:285)
         at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:45)
         at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:191)
         at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:326)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:196)
         at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:422)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
         at org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$OverrideDispatch.dispatch(FacesContextFactoryImpl.java:265)
         at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:447)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:116)
         at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:178)
         at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:174)
         at com.prapansol.elearn.usermanagement.managedbeans.UrlMasking.renderView(UrlMasking.java:180)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:509)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:194)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:159)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:171)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.adfinternal.view.faces.webapp.rich.SharedLibraryFilter.doFilter(SharedLibraryFilter.java:137)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:285)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:285)
         at oracle.adfinternal.view.faces.activedata.ADSFilter.doFilter(ADSFilter.java:76)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:285)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:209)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:166)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:139)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:617)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
         at com.evermind.server.http.HttpRequestHandler.doDispatchRequest(HttpRequestHandler.java:889)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:797)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:607)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:376)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:161)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:142)
         at oracle.oc4j.network.ServerSocketReadHandler$ClientRunnable.run(ServerSocketReadHandler.java:275)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:237)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:29)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:878)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
         at java.lang.Thread.run(Thread.java:595)
    javax.ejb.EJBException: nested exception is: java.lang.NullPointerException
         at com.evermind.server.ejb.EJBUtils.createEJBException(EJBUtils.java:146)
         at com.evermind.server.ejb.EJBUtils.createEJBException(EJBUtils.java:137)
         at oracle.oc4j.persistence.EntityManagerProxy.allocateEntityManager(EntityManagerProxy.java:93)
         at oracle.oc4j.persistence.AbstractEntityManagerProxy.createQuery(AbstractEntityManagerProxy.java:101)
         at oracle.oc4j.persistence.EntityManagerProxy.createQuery(EntityManagerProxy.java:70)
         at com.prapansol.elearn.usermanagement.model.businessprocess.service.admmenu.AdmMenuManagerBean.getAllActiveResponsibilityMenus(AdmMenuManagerBean.java:118)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:27)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:101)
         at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:101)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:101)
         at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:101)
         at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:52)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at oracle.oc4j.security.SecurityServices.doAsPrivileged(SecurityServices.java:150)
         at oracle.oc4j.security.SecurityServices.doAsPrivileged(SecurityServices.java:420)
         at oracle.oc4j.security.JaasModeImpl$DoAsPrivilegedExecutor.execute(JaasModeImpl.java:280)
         at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:57)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:101)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:101)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:58)
         at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:104)
         at AdmMenuManager_LocalProxy_5k85l3l.getAllActiveResponsibilityMenus(Unknown Source)
         at com.prapansol.elearn.usermanagement.backing.main.Usermanagementhome.setMenuBar1(Usermanagementhome.java:146)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at javax.el.BeanELResolver.setValue(BeanELResolver.java:352)
         at javax.el.CompositeELResolver.setValue(CompositeELResolver.java:283)
         at com.sun.faces.el.FacesCompositeELResolver.setValue(FacesCompositeELResolver.java:93)
         at com.sun.el.parser.AstValue.setValue(AstValue.java:134)
         at com.sun.el.ValueExpressionImpl.setValue(ValueExpressionImpl.java:255)
         at com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.java:222)
         at javax.faces.webapp.UIComponentELTag.createComponent(UIComponentELTag.java:211)
         at javax.faces.webapp.UIComponentClassicTagBase.createChild(UIComponentClassicTagBase.java:466)
         at javax.faces.webapp.UIComponentClassicTagBase.findComponent(UIComponentClassicTagBase.java:651)
         at javax.faces.webapp.UIComponentClassicTagBase.doStartTag(UIComponentClassicTagBase.java:1098)
         at org.apache.myfaces.trinidad.webapp.UIXComponentELTag.doStartTag(UIXComponentELTag.java:63)
         at oracle.adfinternal.view.faces.unified.taglib.UnifiedMenuBarTag.doStartTag(UnifiedMenuBarTag.java:67)
         at templates.usermanagementtemplate_jspx.__jsp_tag_ctru41_helper_52(_usermanagementtemplate_jspx.java:1218)
         at templates.usermanagementtemplate_jspx._jspService(_usermanagementtemplate_jspx.java:602)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:60)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:483)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:683)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:607)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:709)
         at com.evermind.server.http.ServletRequestDispatcher.unprivileged_include(ServletRequestDispatcher.java:154)
         at com.evermind.server.http.ServletRequestDispatcher.access$000(ServletRequestDispatcher.java:45)
         at com.evermind.server.http.ServletRequestDispatcher$1.oc4jRun(ServletRequestDispatcher.java:91)
         at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:326)
         at com.evermind.server.http.ServletRequestDispatcher.include(ServletRequestDispatcher.java:96)
         at oracle.adfinternal.view.faces.taglib.region.ComponentRefTag.__include(ComponentRefTag.java:338)
         at oracle.adfinternal.view.faces.taglib.region.ComponentRefTag.doEndTag(ComponentRefTag.java:192)
         at oracle.adfinternal.view.faces.taglib.region.PageTemplateTag.doEndTag(PageTemplateTag.java:69)
         at test1jspx._jspService(_test1_jspx.java:830)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:60)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:483)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:683)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:607)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:709)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
         at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:285)
         at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:45)
         at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:191)
         at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:326)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:196)
         at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:422)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
         at org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$OverrideDispatch.dispatch(FacesContextFactoryImpl.java:265)
         at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:447)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:116)
         at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:178)
         at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:174)
         at com.prapansol.elearn.usermanagement.managedbeans.UrlMasking.renderView(UrlMasking.java:180)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:509)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:194)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:159)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:171)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.adfinternal.view.faces.webapp.rich.SharedLibraryFilter.doFilter(SharedLibraryFilter.java:137)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:285)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:285)
         at oracle.adfinternal.view.faces.activedata.ADSFilter.doFilter(ADSFilter.java:76)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:285)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:209)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:166)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:139)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:617)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
         at com.evermind.server.http.HttpRequestHandler.doDispatchRequest(HttpRequestHandler.java:889)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:797)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:607)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:376)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:161)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:142)
         at oracle.oc4j.network.ServerSocketReadHandler$ClientRunnable.run(ServerSocketReadHandler.java:275)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:237)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:29)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:878)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.NullPointerException
         at oracle.jdbc.driver.T4CTTIoauthenticate.marshalOauth(T4CTTIoauthenticate.java:450)
         at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:401)
         at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:650)
         at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:200)
         at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:34)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:413)
         at oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(OracleDataSource.java:388)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:278)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:203)
         at oracle.oc4j.sql.DataSourceConnectionPoolDataSource.getPooledConnection(DataSourceConnectionPoolDataSource.java:57)
         at oracle.oc4j.sql.xa.EmulatedXADataSource.getXAConnection(EmulatedXADataSource.java:94)
         at oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl.createXAConnection(ManagedConnectionFactoryImpl.java:251)
         at oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl.createManagedConnection(ManagedConnectionFactoryImpl.java:212)
         at com.evermind.server.connector.ApplicationConnectionManager.createManagedConnection(ApplicationConnectionManager.java:1354)
         at oracle.oc4j.sql.OracleConnectionFactoryAdapter.createConnection(OracleConnectionFactoryAdapter.java:110)
         at oracle.ucp.common.CollectionConnectionPoolImpl.createOnePooledConnection(CollectionConnectionPoolImpl.java:513)
         at oracle.ucp.common.CollectionConnectionPoolImpl.borrowConnectionWithoutCountingRequests(CollectionConnectionPoolImpl.java:419)
         at oracle.ucp.common.CollectionConnectionPoolImpl.borrowConnection(CollectionConnectionPoolImpl.java:295)
         at oracle.oc4j.sql.OracleCommonConnectionPool.borrowConnection(OracleCommonConnectionPool.java:79)
         at oracle.oc4j.sql.OracleCommonConnectionPool.getManagedConnection(OracleCommonConnectionPool.java:61)
         at oracle.j2ee.connector.OC4JConnectionPoolAdapter.getManagedConnection(OC4JConnectionPoolAdapter.java:543)
         at com.evermind.server.connector.ApplicationConnectionManager.getManagedConnectionContext(ApplicationConnectionManager.java:1568)
         at com.evermind.server.connector.ApplicationConnectionManager.getConnectionFromPool(ApplicationConnectionManager.java:1553)
         at com.evermind.server.connector.ApplicationConnectionManager.acquireConnectionContext(ApplicationConnectionManager.java:1499)
         at com.evermind.server.connector.ApplicationConnectionManager.allocateConnection(ApplicationConnectionManager.java:1444)
         at oracle.j2ee.connector.OracleConnectionManager.unprivileged_allocateConnection(OracleConnectionManager.java:238)
         at oracle.j2ee.connector.OracleConnectionManager.allocateConnection(OracleConnectionManager.java:192)
         at oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.java:217)
         at oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.java:147)
         at oracle.toplink.jndi.JNDIConnector.connect(JNDIConnector.java:123)
         at oracle.toplink.jndi.JNDIConnector.connect(JNDIConnector.java:84)
         at oracle.toplink.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:154)
         at oracle.toplink.internal.sessions.DatabaseSessionImpl.loginAndDetectDatasource(DatabaseSessionImpl.java:517)
         at oracle.toplink.ejb.cmp3.EntityManagerFactoryProvider.login(EntityManagerFactoryProvider.java:186)
         at oracle.toplink.internal.ejb.cmp3.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:213)
         at oracle.toplink.internal.ejb.cmp3.base.EntityManagerFactoryImpl.getServerSession(EntityManagerFactoryImpl.java:58)
         at oracle.toplink.internal.ejb.cmp3.base.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:91)
         at oracle.toplink.internal.ejb.cmp3.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:64)
         at oracle.oc4j.persistence.EntityManagerProxy.createEntityManager(EntityManagerProxy.java:100)
         at oracle.oc4j.persistence.EntityManagerProxy.allocateEntityManager(EntityManagerProxy.java:85)
         ... 115 more
    07/12/23 04:12:22 javax.ejb.EJBException: nested exception is: java.lang.NullPointerException
    07/12/23 04:12:22 java.lang.NullPointerException
    07/12/23 04:12:22      at oracle.jdbc.driver.T4CTTIoauthenticate.marshalOauth(T4CTTIoauthenticate.java:450)
    07/12/23 04:12:22      at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:401)
    07/12/23 04:12:22      at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:650)
    07/12/23 04:12:22      at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:200)
    07/12/23 04:12:22      at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:34)
    07/12/23 04:12:22      at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:413)
    07/12/23 04:12:22      at oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(OracleDataSource.java:388)
    07/12/23 04:12:22      at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:278)
    07/12/23 04:12:22      at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:203)
    07/12/23 04:12:22      at oracle.oc4j.sql.DataSourceConnectionPoolDataSource.getPooledConnection(DataSourceConnectionPoolDataSource.java:57)
    07/12/23 04:12:22      at oracle.oc4j.sql.xa.EmulatedXADataSource.getXAConnection(EmulatedXADataSource.java:94)
    07/12/23 04:12:22      at oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl.createXAConnection(ManagedConnectionFactoryImpl.java:251)
    07/12/23 04:12:22      at oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl.createManagedConnection(ManagedConnectionFactoryImpl.java:212)
    07/12/23 04:12:22      at com.evermind.server.connector.ApplicationConnectionManager.createManagedConnection(ApplicationConnectionManager.java:1354)
    07/12/23 04:12:22      at oracle.oc4j.sql.OracleConnectionFactoryAdapter.createConnection(OracleConnectionFactoryAdapter.java:110)
    07/12/23 04:12:22      at oracle.ucp.common.CollectionConnectionPoolImpl.createOnePooledConnection(CollectionConnectionPoolImpl.java:513)
    07/12/23 04:12:22      at oracle.ucp.common.CollectionConnectionPoolImpl.borrowConnectionWithoutCountingRequests(CollectionConnectionPoolImpl.java:419)
    07/12/23 04:12:22      at oracle.ucp.common.CollectionConnectionPoolImpl.borrowConnection(CollectionConnectionPoolImpl.java:295)
    07/12/23 04:12:22      at oracle.oc4j.sql.OracleCommonConnectionPool.borrowConnection(OracleCommonConnectionPool.java:79)
    07/12/23 04:12:22      at oracle.oc4j.sql.OracleCommonConnectionPool.getManagedConnection(OracleCommonConnectionPool.java:61)
    07/12/23 04:12:22      at oracle.j2ee.connector.OC4JConnectionPoolAdapter.getManagedConnection(OC4JConnectionPoolAdapter.java:543)
    07/12/23 04:12:22      at com.evermind.server.connector.ApplicationConnectionManager.getManagedConnectionContext(ApplicationConnectionManager.java:1568)
    07/12/23 04:12:22      at com.evermind.server.connector.ApplicationConnectionManager.getConnectionFromPool(ApplicationConnectionManager.java:1553)
    07/12/23 04:12:22      at com.evermind.server.connector.ApplicationConnectionManager.acquireConnectionContext(ApplicationConnectionManager.java:1499)
    07/12/23 04:12:22      at com.evermind.server.connector.ApplicationConnectionManager.allocateConnection(ApplicationConnectionManager.java:1444)
    07/12/23 04:12:22      at oracle.j2ee.connector.OracleConnectionManager.unprivileged_allocateConnection(OracleConnectionManager.java:238)
    07/12/23 04:12:22      at oracle.j2ee.connector.OracleConnectionManager.allocateConnection(OracleConnectionManager.java:192)
    07/12/23 04:12:22      at oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.java:217)
    07/12/23 04:12:22      at oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.java:147)
    07/12/23 04:12:22      at oracle.toplink.jndi.JNDIConnector.connect(JNDIConnector.java:123)
    07/12/23 04:12:22      at oracle.toplink.jndi.JNDIConnector.connect(JNDIConnector.java:84)
    07/12/23 04:12:22      at oracle.toplink.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:154)
    07/12/23 04:12:22      at oracle.toplink.internal.sessions.DatabaseSessionImpl.loginAndDetectDatasource(DatabaseSessionImpl.java:517)
    07/12/23 04:12:22      at oracle.toplink.ejb.cmp3.EntityManagerFactoryProvider.login(EntityManagerFactoryProvider.java:186)
    07/12/23 04:12:22      at oracle.toplink.internal.ejb.cmp3.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:213)
    07/12/23 04:12:22      at oracle.toplink.internal.ejb.cmp3.base.EntityManagerFactoryImpl.getServerSession(EntityManagerFactoryImpl.java:58)
    07/12/23 04:12:22      at oracle.toplink.internal.ejb.cmp3.base.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:91)
    07/12/23 04:12:22      at oracle.toplink.internal.ejb.cmp3.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:64)
    07/12/23 04:12:22      at oracle.oc4j.persistence.EntityManagerProxy.createEntityManager(EntityManagerProxy.java:100)
    07/12/23 04:12:22      at oracle.oc4j.persistence.EntityManagerProxy.allocateEntityManager(EntityManagerProxy.java:85)
    07/12/23 04:12:22      at oracle.oc4j.persistence.AbstractEntityManagerProxy.createQuery(AbstractEntityManagerProxy.java:101)
    07/12/23 04:12:22      at oracle.oc4j.persistence.EntityManagerProxy.createQuery(EntityManagerProxy.java:70)
    07/12/23 04:12:22      at com.prapansol.elearn.usermanagement.model.businessprocess.service.admmenu.AdmMenuManagerBean.getAllActiveResponsibilityMenus(AdmMenuManagerBean.java:118)
    07/12/23 04:12:22      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    07/12/23 04:12:22      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    07/12/23 04:12:22      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    07/12/23 04:12:22      at java.lang.reflect.Method.invoke(Method.java:585)
    07/12/23 04:12:22      at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:27)
    07/12/23 04:12:22      at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:101)
    07/12/23 04:12:22      at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
    07/12/23 04:12:22      at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:101)
    07/12/23 04:12:22      at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    07/12/23 04:12:22      at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:101)
    07/12/23 04:12:22      at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
    07/12/23 04:12:22      at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:101)
    07/12/23 04:12:22      at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:52)
    07/12/23 04:12:22      at java.security.AccessController.doPrivileged(Native Method)
    07/12/23 04:12:22      at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
    07/12/23 04:12:22      at oracle.oc4j.security.SecurityServices.doAsPrivileged(SecurityServices.java:150)
    07/12/23 04:12:22      at oracle.oc4j.security.SecurityServices.doAsPrivileged(SecurityServices.java:420)
    07/12/23 04:12:22      at oracle.oc4j.security.JaasModeImpl$DoAsPrivilegedExecutor.execute(JaasModeImpl.java:280)
    07/12/23 04:12:22      at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:57)
    07/12/23 04:12:22      at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:101)
    07/12/23 04:12:22      at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    07/12/23 04:12:22      at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:101)
    07/12/23 04:12:22      at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:58)
    07/12/23 04:12:22      at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:104)
    07/12/23 04:12:22      at AdmMenuManager_LocalProxy_5k85l3l.getAllActiveResponsibilityMenus(Unknown Source)
    07/12/23 04:12:22      at com.prapansol.elearn.usermanagement.backing.main.Usermanagementhome.setMenuBar1(Usermanagementhome.java:146)
    07/12/23 04:12:22      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    07/12/23 04:12:22      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    07/12/23 04:12:22      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    07/12/23 04:12:22      at java.lang.reflect.Method.invoke(Method.java:585)
    07/12/23 04:12:22      at javax.el.BeanELResolver.setValue(BeanELResolver.java:352)
    07/12/23 04:12:22      at javax.el.CompositeELResolver.setValue(CompositeELResolver.java:283)
    07/12/23 04:12:22      at com.sun.faces.el.FacesCompositeELResolver.setValue(FacesCompositeELResolver.java:93)
    07/12/23 04:12:22      at com.sun.el.parser.AstValue.setValue(AstValue.java:134)
    07/12/23 04:12:22      at com.sun.el.ValueExpressionImpl.setValue(ValueExpressionImpl.java:255)
    07/12/23 04:12:22      at com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.java:222)
    07/12/23 04:12:22      at javax.faces.webapp.UIComponentELTag.createComponent(UIComponentELTag.java:211)
    07/12/23 04:12:22      at javax.faces.webapp.UIComponentClassicTagBase.createChild(UIComponentClassicTagBase.java:466)
    07/12/23 04:12:22      at javax.faces.webapp.UIComponentClassicTagBase.findComponent(UIComponentClassicTagBase.java:651)
    07/12/23 04:12:22      at javax.faces.webapp.UIComponentClassicTagBase.doStartTag(UIComponentClassicTagBase.java:1098)
    07/12/23 04:12:22      at org.apache.myfaces.trinidad.webapp.UIXComponentELTag.doStartTag(UIXComponentELTag.java:63)
    07/12/23 04:12:22      at oracle.adfinternal.view.faces.unified.taglib.UnifiedMenuBarTag.doStartTag(UnifiedMenuBarTag.java:67)
    07/12/23 04:12:22      at templates.usermanagementtemplate_jspx.__jsp_tag_ctru41_helper_52(_usermanagementtemplate_jspx.java:1218)
    07/12/23 04:12:22      at templates.usermanagementtemplate_jspx._jspService(_usermanagementtemplate_jspx.java:602)
    07/12/23 04:12:22      at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:60)
    07/12/23 04:12:22      at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:483)
    07/12/23 04:12:22      at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:683)
    07/12/23 04:12:22      at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:607)
    07/12/23 04:12:22      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    07/12/23 04:12:22      at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:709)
    07/12/23 04:12:22      at com.evermind.server.http.ServletRequestDispatcher.unprivileged_include(ServletRequestDispatcher.java:154)
    07/12/23 04:12:22      at com.evermind.server.http.ServletRequestDispatcher.access$000(ServletRequestDispatcher.java:45)
    07/12/23 04:12:22      at com.evermind.server.http.ServletRequestDispatcher$1.oc4jRun(ServletRequestDispatcher.java:91)
    07/12/23 04:12:22      at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:326)
    07/12/23 04:12:22      at com.evermind.server.http.ServletRequestDispatcher.include(ServletRequestDispatcher.java:96)
    07/12/23 04:12:22      at oracle.adfinternal.view.faces.taglib.region.ComponentRefTag.__include(ComponentRefTag.java:338)
    07/12/23 04:12:22      at oracle.adfinternal.view.faces.taglib.region.ComponentRefTag.doEndTag(ComponentRefTag.java:192)
    07/12/23 04:12:22      at oracle.adfinternal.view.faces.taglib.region.PageTemplateTag.doEndTag(PageTemplateTag.java:69)
    07/12/23 04:12:22      at test1jspx._jspService(_test1_jspx.java:830)
    07/12/23 04:12:22      at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:60)
    07/12/23 04:12:22      at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:483)
    07/12/23 04:12:22      at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:683)
    07/12/23 04:12:22      at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:607)
    07/12/23 04:12:22      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    07/12/23 04:12:22      at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:709)
    07/12/23 04:12:22      at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
    07/12/23 04:12:22      at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:285)
    07/12/23 04:12:22      at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:45)
    07/12/23 04:12:22      at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:191)
    07/12/23 04:12:22      at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:326)
    07/12/23 04:12:22      at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:196)
    07/12/23 04:12:22      at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:422)
    07/12/23 04:12:22      at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
    07/12/23 04:12:22      at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
    07/12/23 04:12:22      at org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$OverrideDispatch.dispatch(FacesContextFactoryImpl.java:265)
    07/12/23 04:12:22      at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:447)
    07/12/23 04:12:22      at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:116)
    07/12/23 04:12:22      at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:178)
    07/12/23 04:12:22      at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:174)
    07/12/23 04:12:22      at com.prapansol.elearn.usermanagement.managedbeans.UrlMasking.renderView(UrlMasking.java:180)
    07/12/23 04:12:22      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:509)
    07/12/23 04:12:22      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:194)
    07/12/23 04:12:22      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:159)
    07/12/23 04:12:22      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
    07/12/23 04:12:22      at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    07/12/23 04:12:22      at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:171)
    07/12/23 04:12:22      at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
    07/12/23 04:12:22      at oracle.adfinternal.view.faces.webapp.rich.SharedLibraryFilter.doFilter(SharedLibraryFilter.java:137)
    07/12/23 04:12:22      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:285)
    07/12/23 04:12:22      at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:60)
    07/12/23 04:12:22      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:285)
    07/12/23 04:12:22      at oracle.adfinternal.view.faces.activedata.ADSFilter.doFilter(ADSFilter.java:76)
    07/12/23 04:12:22      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:285)
    07/12/23 04:12:22      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:209)
    07/12/23 04:12:22      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:166)
    07/12/23 04:12:22      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:139)
    07/12/23 04:12:22      at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    07/12/23 04:12:22      at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:617)
    07/12/23 04:12:22      at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
    07/12/23 04:12:22      at com.evermind.server.http.HttpRequestHandler.doDispatchRequest(HttpRequestHandler.java:889)
    07/12/23 04:12:22      at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:797)
    07/12/23 04:12:22      at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:607)
    07/12/23 04:12:22      at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:376)
    07/12/23 04:12:22      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:161)
    07/12/23 04:12:22      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:142)
    07/12/23 04:12:22      at oracle.oc4j.network.ServerSocketReadHandler$ClientRunnable.run(ServerSocketReadHandler.java:275)
    07/12/23 04:12:22      at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:237)
    07/12/23 04:12:22      at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:29)
    07/12/23 04:12:22      at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:878)
    07/12/23 04:12:22      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
    07/12/23 04:12:22      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
    07/12/23 04:12:22      at java.lang.Thread.run(Thread.java:595)
    07/12/23 04:12:22 javax.ejb.EJBException: nested exception is: java.lang.NullPointerException
    07/12/23 04:12:22      at com.evermind.server.ejb.EJBUtils.createEJBException(EJBUtils.java:146)
    07/12/23 04:12:22      at com.evermind.server.ejb.EJBUtils.createEJBException(EJBUtils.java:137)
    07/12/23 04:12:22      at oracle.oc4j.persistence.EntityManagerProxy.allocateEntityManager(EntityManagerProxy.java:93)
    07/12/23 04:12:22      at oracle.oc4j.persistence.AbstractEntityManagerProxy.createQuery(AbstractEntityManagerProxy.java:101)
    07/12/23 04:12:22      at oracle.oc4j.persistence.EntityManagerProxy.createQuery(EntityManagerProxy.java:70)
    07/12/23 04:12:22      at com.prapansol.elearn.usermanagement.model.businessprocess.service.admmenu.AdmMenuManagerBean.getAllActiveResponsibilityMenus(AdmMenuManagerBean.java:118)
    07/12/23 04:12:22      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    07/12/23 04:12:22      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    07/12/23 04:12:22      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    07/12/23 04:12:22      at java.lang.reflect.Method.invoke(Method.java:585)
    07/12/23 04:12:22      at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:27)
    07/12/23 04:12:22      at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:101)
    07/12/23 04:12:22      at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
    07/12/23 04:12:22      at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:101)
    07/12/23 04:12:22      at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    07/12/23 04:12:22      at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:101)
    07/12/23 04:12:22      at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
    07/12/23 04:12:22      at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:101)
    07/12/23 04:12:22      at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:52)
    07/12/23 04:12:22      at java.security.AccessController.doPrivileged(Native Method)
    07/12/23 04:12:22      at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
    07/12/23 04:12:22      at oracle.oc4j.security.SecurityServices.doAsPrivileged(SecurityServices.java:150)
    07/12/23 04:12:22      at oracle.oc4j.security.SecurityServices.doAsPrivileged(SecurityServices.java:420)
    07/12/23 04:12:22      at oracle.oc4j.security.JaasModeImpl$DoAsPrivilegedExecutor.execute(JaasModeImpl.java:280)
    07/12/23 04:12:22      at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:57)
    07/12/23 04:12:22      at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:101)
    07/12/23 04:12:22      at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    07/12/23 04:12:22      at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:101)
    07/12/23 04:12:22      at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:58)
    07/12/23 04:12:22      at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:104)
    07/12/23 04:12:22      at AdmMenuManager_LocalProxy_5k85l3l.getAllActiveResponsibilityMenus(Unknown Source)
    07/12/23 04:12:22      at com.prapansol.elearn.usermanagement.backing.main.Usermanagementhome.setMenuBar1(Usermanagementhome.java:146)
    07/12/23 04:12:22      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    07/12/23 04:12:22      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    07/12/23 04:12:22      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    07/12/23 04:12:22      at java.lang.reflect.Method.invoke(Method.java:585)
    07/12/23 04:12:22      at javax.el.BeanELResolver.setValue(BeanELResolver.java:352)
    07/12/23 04:12:22      at javax.el.CompositeELResolver.setValue(CompositeELResolver.java:283)
    07/12/23 04:12:22      at com.sun.faces.el.FacesCompositeELResolver.setValue(FacesCompositeELResolver.java:93)
    07/12/23 04:12:22      at com.sun.el.parser.AstValue.setValue(AstValue.java:134)
    07/12/23 04:12:22      at com.sun.el.ValueExpressionImpl.setValue(ValueExpressionImpl.java:255)
    07/12/23 04:12:22      at com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.java:222)
    07/12/23 04:12:22      at javax.faces.webapp.UIComponentELTag.createComponent(UIComponentELTag.java:211)
    07/12/23 04:12:22      at javax.faces.webapp.UIComponentClassicTagBase.createChild(UIComponentClassicTagBase.java:466)
    07/12/23 04:12:22      at javax.faces.webapp.UIComponentClassicTagBase.findComponent(UIComponentClassicTagBase.java:651)
    07/12/23 04:12:22      at javax.faces.webapp.UIComponentClassicTagBase.doStartTag(UIComponentClassicTagBase.java:1098)
    07/12/23 04:12:22      at org.apache.myfaces.trinidad.webapp.UIXComponentELTag.doStartTag(UIXComponentELTag.java:63)
    07/12/23 04:12:22      at oracle.adfinternal.view.faces.unified.taglib.UnifiedMenuBarTag.doStartTag(UnifiedMenuBarTag.java:67)
    07/12/23 04:12:22      at templates.usermanagementtemplate_jspx.__jsp_tag_ctru41_helper_52(_usermanagementtemplate_jspx.java:1218)
    07/12/23 04:12:22      at templates.usermanagementtemplate_jspx._jspService(_usermanagementtemplate_jspx.java:602)
    07/12/23 04:12:22      at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:60)
    07/12/23 04:12:22      at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:483)
    07/12/23 04:12:22      at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:683)
    07/12/23 04:12:22      at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:607)
    07/12/23 04:12:22      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    07/12/23 04:12:22      at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:709)
    07/12/23 04:12:22      at com.evermind.server.http.ServletRequestDispatcher.unprivileged_include(ServletRequestDispatcher.java:154)
    07/12/23 04:12:22      at com.evermind.server.http.ServletRequestDispatcher.access$000(ServletRequestDispatcher.java:45)
    07/12/23 04:12:22      at com.evermind.server.http.ServletRequestDispatcher$1.oc4jRun(ServletRequestDispatcher.java:91)
    07/12/23 04:12:22      at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:326)
    07/12/23 04:12:22      at com.evermind.server.http.ServletRequestDispatcher.include(ServletRequestDispatcher.java:96)
    07/12/23 04:12:22      at oracle.adfinternal.view.faces.taglib.region.ComponentRefTag.__include(ComponentRefTag.java:338)
    07/12/23 04:12:22      at oracle.adfinternal.view.faces.taglib.region.ComponentRefTag.doEndTag(ComponentRefTag.java:192)
    07/12/23 04:12:22      at oracle.adfinternal.view.faces.taglib.region.PageTemplateTag.doEndTag(PageTemplateTag.java:69)
    07/12/23 04:12:22      at test1jspx._jspService(_test1_jspx.java:830)
    07/12/23 04:12:22      at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:60)
    07/12/23 04:12:22      at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:483)
    07/12/23 04:12:22      at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:683)
    07/12/23 04:12:22      at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:607)
    07/12/23 04:12:22      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    07/12/23 04:12:22      at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:709)
    07/12/23 04:12:22      at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
    07/12/23 04:12:22      at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:285)
    07/12/23 04:12:22      at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:45)
    07/12/23 04:12:22      at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:191)
    07/12/23 04:12:22      at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:326)
    07/12/23 04:12:22      at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:196)
    07/12/23 04:12:22      at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:422)
    07/12/23 04:12:22      at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
    07/12/23 04:12:22      at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
    07/12/23 04:12:22      at org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$OverrideDispatch.dispatch(FacesContextFactoryImpl.java:265)
    07/12/23 04:12:22      at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:447)
    07/12/23 04:12:22      at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:116)
    07/12/23 04:12:22      at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:178)
    07/12/23 04:12:22      at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:174)
    07/12/23 04:12:22      at com.prapansol.elearn.usermanagement.managedbeans.UrlMasking.renderView(UrlMasking.java:180)
    07/12/23 04:12:22      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:509)
    07/12/23 04:12:22      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:194)
    07/12/23 04:12:22      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:159)
    07/12/23 04:12:22      at javax.faces.w

    What is the Oracle application server version?
    JDeveloper 11g supports direct deployment to Oracle Application Server 11g
    http://www.oracle.com/technology/products/jdev/collateral/papers/11/newfeatures/index.html

  • Can't get my ejbs work in orion...

    Hi everybody,
    I'm a newbie in EJBs, so I was trying to deploy some basic ejbs in orion, but all I get when I try to invoke a method is
    Servlet error: Unable to get home interface: javax.naming.NameNotFoundException: ejb/UserHome not found in myApp
    It's frustrating. I've followed each step of the orion primer, looked for information in orionsupport, searched for tutorials on th web, but I can't get them work...
    Help please!
    Luis Javier

    Ranga,
    I'm using this code to access the EJB from a servlet:
    Context context;
    try {
    context = new InitialContext();
    catch (Throwable exception) {
    throw new ServletException(
    "Unable to get initial JNDI context: " + exception.toString());
    // Get a reference to the Hello interface
    UserHome userHome;
    try {
    Object boundObject = context.lookup("java:comp/env/ejb/UserHome");
    userHome = (UserHome) PortableRemoteObject.narrow(boundObject, UserHome.class);
    catch (Throwable exception) {
    throw new ServletException(
    "Unable to get home interface: " + exception.toString());
    User _user;
    try {
    _user = userHome.create();
    catch (Throwable exception) {
    throw new ServletException(
    "Unable to create User instance: " + exception.toString());
    _user.create(new java.util.HashMap());
    My UserHome is in a package, do I have to include it when I do the lookup, or is "java:comp/env/ejb/UserHome" just fine?
    My ejb-jar.xml is as follows:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//EN" "http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd">
    <ejb-jar>
    <enterprise-beans>
         <session>
         <display-name>The tutorial.ejbs.User session bean</display-name>
         <ejb-name>tutorial.ejbs.User</ejb-name>
         <home>tutorial.ejbs.UserHome</home>
         <remote>tutorial.ejbs.User</remote>
         <ejb-class>tutorial.ejbs.UserBean</ejb-class>
         <session-type>Stateless</session-type>
         </session>
    </enterprise-beans>
    </ejb-jar>
    Thanks for your help!
    LJ

Maybe you are looking for

  • BAPI_ACC_DOCUMENT_POST - With Holding Tax

    Hi All,    I am able to post vendor invoice along with withholding tax using BAPI_ACC_DOCUMENT_POST and document posted successfully. In the cases if a single document is posted for multiple vendors and customers document is getting posted but withho

  • "Communication Error" when signing in my account o...

    hi am using asha 311 and when i try signing in my e mail it says communication error. try again...kindly help Moderator's Note: We have moved your post and changed the title into a subject-related title. This is to keep the forum organized and let ot

  • CUA for ABAP and JAVA Systems

    i have a AS-ABAP System and AS-JAVA system. Can i have a single CUA for AS-ABAP system and aS-JAVA system or i should have seperate CUA for ABAP and JAVA

  • Incorrect VAT calculation when a PO is raised.

    Hello All,     The value of VAT calculated after a PO is raised is wrong,in my country it is 5% but the system calculates slightly higher than 5%.This is perculiar for PO.

  • Responsive eCommerce templates for trial site

    Hi, Are there any responsive eCommerce templates to choose from for the BC trial sites? The eCommerce template I chosse for my trial site is not Responsive, the other template I choose from the BC templates is  responsive out of the  box. thanks