Ignoring the DOCTYPE element while parsing the xml

I am using JAXB parser to read from and write into my xml file using java code. My xml file contains a DOCTYPE element pointing to a .dtd file which does not exist, due to which I get a FileNotFoundException when JAXB tries to read the xml file. Hence, after unmarshalling the xml file using jaxb, I use a SAXParser to get an XMLReader which removes this DOCTYPE element as given below -
SAXParserFactory parserFactory = SAXParserFactory.newInstance();
parserFactory.setValidating(false);
XMLReader reader = parserFactory.newSAXParser().getXMLReader();
reader.setFeature("http://apache.org/xml/features/nonvalidating/load-external-dtd", false);
After making the required changes to the xml file and marshalling it back, I then use an XMLWriter to add the DOCTYPE element back to the xml file as given in the code snippet below -
SAXReader saxReader = new SAXReader();
Document document = saxReader.read(_file);
document.addDocType(rootElement, publicUri, systemUri);
XMLWriter output = new XMLWriter(new FileWriter( _file ));
output.write( document );
output.close();
Right now I am using both, the JAXB parser to read from and write into the xml file and SAXParser/SAXRader just to delete/add the DOCTYPE element. I want to avoid using two different parsers in my class and want to know if JAXB provides any mechanism to delete and then add this element while parsing the xml file.

Standard answer for this FAQ: set an EntityResolver on your parser that sends an empty string instead of the DTD. The API docs have an example that you could modify to do that.

Similar Messages

  • Getting the following error while parsing the values usng xml parser

    Hi
    I am getting the following error while parsing the values using the code in r12 instance on linux
    declare
    XML_PARSER XMLPARSER.PARSER;
    DOC XMLDOM.DOMDOCUMENT;
    DOCELEMENT DBMS_XMLDOM.DOMELEMENT;
    BEGIN
    -- NEW PARSER
    XML_PARSER := XMLPARSER.NEWPARSER;
    -- SET SOME CHARACTERISTICS
    XMLPARSER.SETVALIDATIONMODE(XML_PARSER, FALSE);
         IF P_DIR IS NOT NULL AND P_FILENAME IS NOT NULL
         THEN
         FND_FILE.PUT_LINE(FND_FILE.LOG,'DIRECTORY FOUND'||'-'||P_DIR);
         XMLPARSER.SETBASEDIR(XML_PARSER, P_DIR);     
         -- PARSE INPUT FILE
         FND_FILE.PUT_LINE(FND_FILE.LOG,'FILE FOUND'||'-'||P_FILENAME);
         XMLPARSER.PARSE(XML_PARSER, P_DIR || '/' || P_FILENAME);     
         -- GET DOCUMENT
         DOC := XMLPARSER.GETDOCUMENT(XML_PARSER);
         LOAD_SUPP(doc);
         ELSE
         DBMS_OUTPUT.PUT_LINE('DIRACTORY/FILENAME CANNOT BE NULL');
         END IF;
    EXCEPTION
    WHEN OTHERS THEN
    DBMS_OUTPUT.PUT_LINE('DATA NOTINSERTED'||sqlerrm);
         ROLLBACK;
    END
    I am getting the following error
    DIRACTORYL-/home/appldevORA-0000: normal, successful completion
    FILE NAME-suppliersample_data.xmlORA-0000: normal, successful completion
    DATA NOTINSERTEDORA-31001: Invalid resource handle or path name "/home/appldev/suppliersample_data.xml"
    ORA-06512: at "SYS.XDBURITYPE", line 11
    ORA-06512: at "XDB.DBMS_XSLPROCESSOR", line 142
    ORA-29280: invalid directory path
    ORA-29280: invalid directory path
    ORA-29280: invalid directory path
    It could be great if some one could give a suggestion/solution.
    Thanks
    Ajesh

    Besides this is not the correct forum try to google the error message first before posting:
    http://ora-29280.ora-code.com/
    cheers

  • Issue while parsing the chinese character from Mime Message

    Hi,
    I have a issue with the chinese characters while parsing the mime message (MimeBodypart). In the MimeMessage charset is mentioned as "gb2312". i am using the MimeBodyPart.getContent() to get the content. When mimetype is html, it will be uploaded as a file to an FTP site (wapache commons net - ftp client). When uploaded file is viewed, the content is displayed as garbage text.
    i tried the following but it didnt work. i got the inputstream from the Mimebodypart. and then created InputStreamReader and used the encoding "GB18030" while initializing the content. i got the String out of it and stored in the file. i just replaced "Gb2312" with "UTF-8" in the html string. While creating the output file, i used the UTF-8 encoding. when opened this file using IE, it is displaying the character without any issues. i examined the file and the file encoding is UTF-8 as expected.
    but when i upload the file to FTP site and view, the text is not displayed correctly. It seems the file encodig is ANSI. i used the Notepad++ to examine these files. Please note that we use apache comments net - FTp client to upload the file.
    below are my questions:
    am i doing the right thing? it seems mime message was created using outlook.
    How to upload a file to FTp withe file base encoding is "UTF-8" or some other ?
    below are few references
    http://www.anyang-window.com.cn/tag/java-gb2312/
    JavaMail: Chinese Simplified Character Problem

    Thank you for the Replies. i am using the binary mode and it works fine for most of the files. i found that the issue here is not while uploading but the content itself. the characters present in the Mimemessge is not as per the charset. Hence i could not upload the content as it is. This happens only when charset is GB2312 (chinese). it seems that Mimemessage contains the characters which cannot be represented by Gb2312 but can be represented by Gb18030. Hence i converted the content using from Gb18030 to UTF-8 and created a file. i used the SetControlEncoding("utf-8") to upload the file and it is working fine.

  • "Error while parsing SOAP XML payload: no element found" received when invoking Web Service

    Running PB 12.1 Build 7000.  Using Easysoap.  Error ""Error while parsing SOAP XML payload: no element found" received when invoking Web Service".  This error does not appear to be coming from the application code.  Noticed that there were some erroneous characters showing up within the header portion of the XML ("&Quot;").  Not sure where these are coming from.  When I do a find within the PB code for """" it gets located within two objects, whereas they both reference a "temp_xml_letter".  Not sure where or what temp_xml_letter resides???   The developer of this is no longer with us and my exposure to WSDL and Web Services is rather limited.  Need to get this resolved...please.
    This is the result of the search.  Notice the extraneous characters ("""):
    dar1main.pbl(d_as400_mq_xml)
    darlettr.pbl(d_email_xml)
    ---------- Search: Searching Target darwin for 'temp_xml'    (9:52:41 AM)
    ---------- 2 Matches Found On "temp_xml":
    dar1main.pbl(d_as400_mq_xml).d_as400_mq_xml:  export.xml(usetemplate="temp_xml_letter" headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0  template=(comment="" encoding="UTF-8" name="temp_xml_letter" xml="<?xml version=~"1.0~" encoding=~"UTF-16LE~" standalone=~"yes~"?><EmailServiceTransaction xmlns=~"http://xml.xxnamespace.com/Utility/Email/EmailService" ~" xmlns:imc=~"http://xml.xxnamespace.com/IMC~" xmlns:xsi=~"http://www.w3.org/2001/XMLSchema-instance~" xmlns:root=~"http://xml.xxnamespace.com/RootTypes~" xmlns:email=~"http://xml.xxnamespace.com/Utility/Email~" xsi:schemaLocation=~"http://xml.xxnamespace.com/Utility/Email/EmailService http://dev.xxnamespace.com/Utility/Email/EmailService/V10-TRX-EmailService.xsd~"><EmailServiceInformation><EmailServiceDetail __pbband=~"detail~"><ApplicationIdentifier> applicationidentifier </ApplicationIdentifier><AddresseeInformation><AddresseeDetail><Number> number </Number></AddresseeDetail></AddresseeInformation><EmailMessageInformation><Ema
    darlettr.pbl(d_email_xml).d_email_xml:  export.xml(usetemplate="temp_xml_letter" headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0  template=(comment="" encoding="UTF-8" name="temp_xml_letter" xml="<?xml version=~"1.0~" encoding=~"UTF-16LE~" standalone=~"yes~"?><EmailServiceTransaction xmlns=~"http://xml.xxnamespace.com/Utility/Email/EmailService" ~" xmlns:imc=~"http://xml.xxnamespace.com/IMC~" xmlns:xsi=~"http://www.w3.org/2001/XMLSchema-instance~" xmlns:root=~"http://xml.xxnamespace.com/RootTypes~" xmlns:email=~"http://xml.xxnamespace.com/Utility/Email~" xsi:schemaLocation=~"http://xml.xxnamespace.com/Utility/Email/EmailService http://dev.xxnamespace.com/Utility/Email/EmailService/V10-TRX-EmailService.xsd~"><EmailServiceInformation><EmailServiceDetail __pbband=~"detail~"><ApplicationIdentifier> applicationidentifier </ApplicationIdentifier><AddresseeInformation><AddresseeDetail><Number> imcnumber </Number></AddresseeDetail></AddresseeInformation><EmailMessageInformation><Ema
    ---------- Done 2 Matches Found On "temp_xml":
    ---------- Finished Searching Target darwin for 'temp_xml'    (9:52:41 AM)

    Maybe "extraneous" is an incorrect term.  Apparantly, based upon the writeup within Wiki, the parser I am using does not interpret the "&quot;"?  How do I find which parser is being utilized and how to control it?
    <<<
    If the document is read by an XML parser that does not or cannot read external entities, then only the five built-in XML character entities (see above) can safely be used, although other entities may be used if they are declared in the internal DTD subset.
    If the document is read by an XML parser that does read external entities, then the five built-in XML character entities can safely be used. The other 248 HTML character entities can be used as long as the XHTML DTD is accessible to the parser at the time the document is read. Other entities may also be used if they are declared in the internal DTD subset.
    >>>

  • What are the necessary elements in ejb-jar.xml with CMP entity bean

    What are the necessary elements in ejb-jar.xml with CMP entity bean
    Actually i am using webligic 8.1 and while deployment getting the error that
    some elements r missing
    Thanks
    Anand Pritam

    According to the ejb-jar.xml dtd ejb-name, ejb-class, persistence-type, prim-key-class, reentrant are the required elements for an entity bean.
    <!ELEMENT entity (description?, display-name?, small-icon?,
              large-icon?, ejb-name, home?, remote?, local-home?,
              local?, ejb-class, persistence-type, prim-key-class,
              reentrant, cmp-version?, abstract-schema-name?,
              cmp-field*, primkey-field?, env-entry*, ejb-ref*,
              ejb-local-ref*, security-role-ref*, security-identity?,
              resource-ref*, resource-env-ref*, query*)>

  • Error while parsing the Tag Library Descriptor

    Hi,
    We are installing LC ES2 on Suse64 / weblogic platform. When the adobe-conmtentservices application is starting, we see a lot od error like this:
    <Mar 24, 2010 10:56:53 AM CET> <Warning> <HTTP> <BEA-101196> <[/contentspace]: Error while parsing the Tag Library Descriptor at "/opt/oracle/product/WLS1031/user_projects/domains/LC9/servers/LC9_MS/tmp/_WL_user/adobe- contentservices/4xxkue/war/WEB-INF/contentservices.tld".
    com.ctc.wstx.exc.WstxIOException: Tried all: '1' addresses, but could not connect over HTTP to server: 'java.sun.com', port: '80'
            at com.ctc.wstx.sr.StreamScanner.throwFromIOE(StreamScanner.java:683)
            at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1086)
            at weblogic.servlet.internal.TldCacheHelper$TldIOHelper.parseXML(TldCacheHelper.java:134)
            at weblogic.descriptor.DescriptorCache.parseXML(DescriptorCache.java:380)
            at weblogic.servlet.internal.TldCacheHelper.parseTagLibraries(TldCacheHelper.java:65)
            Truncated. see log file for complete stacktrace
    java.net.ConnectException: Tried all: '1' addresses, but could not connect over HTTP to server: 'java.sun.com', port: '80'
            at weblogic.net.http.HttpClient.openServer(HttpClient.java:314)
            at weblogic.net.http.HttpClient.openServer(HttpClient.java:404)
            at weblogic.net.http.HttpClient.New(HttpClient.java:240)
            at weblogic.net.http.HttpURLConnection.connect(HttpURLConnection.java:172)
            at weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:356)
            Truncated. see log file for complete stacktrace
    The application tries to download something from java.sun.com site but the server can not access internet. The process is repeated for each TLD file !
    After a very time (more than 45 minutes!), the server finally starts and all adobe application are active
    So, how to correct this behaviror ? is there a patch?
    cb.

    Hi,
    Did you get solution for this because I am also facing same issue. Please do reply ASAP... it is very uegent.
    Regards,
    Srujan

  • Selecting wrong WBS element while preparing the Purchase Order

    Hi Gurus
    We want to check the data while end user input it in the system.
    While preparing the the PO in the sysetm we input the plant id,storage location and WBS element.
    End user may select wrong WBS element of project under with plant. I want to prevent it.
    How can I prevent end user for selecting wrong WBS element under plant and storage location.
    Atul Kulkarni

    HI,
    You need to some developement...create Z table and maintain  the entries with the cobinations in what way you want to restrict and call the same in the PO.
    Hope it will works.
    Kuber

  • 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

  • How to check the Conditional transition while submit the jsp as screenflo

    Hi All,
    I want to know that how to check the conditional transition, which result is used to decide the next Activity while submit the JSP as Screen Flows
    Edited by bpmvasu at 03/27/2007 11:14 PM

    Hi,
    Unlike BPM Object Presentations where the 'selectedButton' is automatically assigned to the predefined screenflow 'result' variable, when using JSP Persentations you need to do the mapping yourself (I don't think there is a way around this).
    Assuming you're using a JSP Presentation with a Fuego Object Interactive Call, click the 'Advanced' button at the bottom of the Main Task dialog.
    Select the 'showOut' argument set, add a new argument mapping. Select 'result' from the Screenflow's instance variables and map it to 'parameters["paramName"]'. Where paramName is the name of the HTML submit input element in your JSP.
    Hope this helps,
    Tim

  • My iphone 4S has problem in making and receiving the calls. While making the call , call fails and netwrok disappears. Like wise no voice is heard for incoming calls. This happened after return from the overseas travel.

    My iphone 4S has problem in making and receiving the calls. While making the call , call fails and netwrok disappears. Like wise no voice is heard for incoming calls. This happened after return from the overseas travel.

    Hello SamSax
    Check out the assist page below for troubleshooting call connectivity.
    Calls and connection issues
    http://www.apple.com/support/iphone/assistant/calls/
    Thanks for using Apple Support Communities.
    Regards,
    -Norm G.

  • Error in using the Socket Adapter while deploying the composite

    I am going through a Socket Adapter sample given in Oracle JCA Adapters for Sockets"Oracle Socket Adapter Hello World".
    This sample demonstrates inbound request/response and synchronous outbound request/response modes of communication using using Oracle Socket Adapter.
    The HelloWorld business process takes an input string from the Socket Adapter inbound service and
    publishes the message to the BPEL process.
    The BPEL process invokes the Socket Adapter outbound service and returns the received string using synchronous reply.
    Before going into this sample i did the configuration in the Weblogic server by following the steps below:-
    1)Log into Weblogic server console
    2)Click Deployments in the left pane for Domain Structure
    3)Click Socket Adapter.The settings for SocketAdapter page is displayed.
    4)Click the configuration tab
    5)Click the Outbound Connection Pools tab, and expand java.resource.cci.ConnectionFactory to see connection
    factories
    6)Click eis/socket/SocketAdapter
    7)Set the KeepAlive connection property to true
    8)Save the setting.
    After this i did the necessary configurations in the Socket Adapter Configuration Wizard(Inbound/Outbound).
    The BPEL process has:-
    1)A receive which receives input from a Socket Adapter which serves as an inbound synchronous service.
    2)An invoke acitvity which invokes a socket adapter which serves as a outbound synchronous service.
    3)Two Assign activites to do the necessary assignment.
    After Deploying the sample i encountered with the following errors:-
    <Sep 9, 2012 1:19:48 PM IST> <Error> <oracle.integration.platform.blocks.deploy.servlet> <SOA-21537> <Sending back error message: There was an error deploying the composite on soa_
    server1: [JCABinding] [Middleware.ServerConnection/6.0]Unable to complete unload due to: Cannot locate Java class oracle.tip.adapter.socket.SocketInteractionSpec: Cannot locate Jav
    a class oracle.tip.adapter.socket.SocketInteractionSpec..>
    Can any one please tell me the solution for this error.
    Edited by: 957910 on Sep 12, 2012 1:10 AM

    Did you find a solution for this issue. I see the same error while deploying the same very sample code.

  • Receiving the error message while executing the Real Time DTP

    Hi,
    I am receiving the error message while executing the Real time DTP for Billing data.
    Error Message - Record filtered in advance as error records with the same key exist     RSM2     722
    When I check the logs below is the message I am able to see. Can someone suggest as how to proceed further.
    Diagnosis
    The existing DTP requires a serialized update because fields are updated
    non-commutatively during the processing run (for example, MOVE).
    Therefore all new data records that have the same semantic key as
    incorrect records that have not yet been corrected in earlier requests
    or earlier data packages of the same request, are filtered out after the
    extraction in a special step. In this way the system ensures that
    incorrect data records are not repeated for your changes, which may not
    contain errors themselves.
    System Response
    The data record is not updated but is written to an error stack.
    Procedure
    Procedure
    Correct all incorrect data records and update them using an error DTP.
    Procedure for System Administration
    I checked the error stack and corrected the entries and let me know as how to proceed further. I am unable to execute the Error DTP as its not allowing me to edit and has only display options.
    Regards,
    Ram

    Hi Arvindh,
    Its  write optimized DSO.. there is no option to generate SIDs.
    Hi Kiran,
    I checked the link u sent me. Here the main issue is..The function module is standard  and its not allowing me  to do enhancement  point..
    Any idea in using Badi's??
    Thanks all...

  • Am getting the following error while running the servlet example

    Hi,
    am getting the following error while running the servlet example
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    java.lang.NullPointerException
         edu.dao.StudentDao.insertStudent(StudentDao.java:18)
         edu.servlet.StudentServlet.doGet(StudentServlet.java:25)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.5.20 logs.
    Thanks
    //sreekanth

    Hi,
    the following code i have written in StudentDao
    package edu.dao;
    import java.sql.Connection;
    import java.sql.PreparedStatement;
    import java.sql.SQLException;
    import org.apache.commons.dbutils.DbUtils;
    import edu.model.Student;
    import edu.util.DBUtil;
    public class StudentDao {
         public void insertStudent(Student student) {
              String stuQuery = "INSERT INTO STUDENT VALUES(?,?)";
              Connection connection = DBUtil.getConnection();
              PreparedStatement preparedStatement = null;
              try {
                   preparedStatement = connection.prepareStatement(stuQuery);
                   preparedStatement.setString(1,student.getStudentNo());
                   preparedStatement.setString(2, student.getStudentName());
                   preparedStatement.executeUpdate();
              } catch(SQLException e){
                   System.out.println("..Sql exception......");
              }finally {
                   DbUtils.closeQuietly(connection,preparedStatement,null);
    }

  • Error "Test Agent could not connect to the test controller" while configuring the Test Agent on Client machine

    Hi,
    I am getting an Error “Test Agent could not connect to the test controller”
     while configuring The Test Agent on Client machine.
    Pre-requisite used:  
    VS2012 update 4, Test agent & Test controller of same version used
    User has TFS admin access.
    Same user id used for configuring Test Agent.
    Description:
    Test controller is installed on server A. I want to install test agent on client machine B.
    Windows Fire wall is OFF on both Machines A & B. While configuring Test Agent below error is occurred:
    “Test Agent could not connect to the test controller”
    In log file error was “I, 2015/04/02, 15:32:21.723, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.”
    In Event viewer below error details given:
    Unable to connect to the controller on ‘My Server: 6901’. The agent can connect to the controller but the controller cannot connect to the agent because of following reason: The requested name is valid, but no data of the requested type was found.
    Make sure that the firewall on the test agent machine is not blocking the connection.
    Could you please help me to find solution?
    Thanks in advance!
    Kanchan M
    Kanchan

    Hi Kanchan,
    So on each computer, you create a local user account that is a member of the Administrators group, and use the same account and password on each machine(controller and Agent), am I right?
    Could you enable the detailed log message?
    http://blogs.msdn.com/b/aseemb/archive/2010/03/07/how-to-enable-test-agent-logs.aspx
    http://blogs.msdn.com/b/aseemb/archive/2009/11/28/how-to-enable-test-controller-logs.aspx
    >>In log file error was “I, 2015/04/02, 15:32:21.723, Could not get the status from the test agent. Exception: Failed to connect to an IPC Port: The system cannot find the file specified.”I
    met a similar issue before which was related to the Firewall exceptions, maybe you could refer to it here:
    http://stackoverflow.com/questions/12249093/test-agent-could-not-connect-to-the-test-controller-vs2012-agents
    Best Regards,
    Jack
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • FI-AP Tax Code not considering the excise duty while calcuating the VAT

    Sub: A/P Tax Code not considering the excise duty while calcuating the VAT
    Hi Frnds.
    I have a typical problem.
    Till now we are using a "W6" as a tax code, where Excise-10%, Ed Cess-2%, SEd Cess-1% and VAT-4%.
    But as the Govt. rules changed I have created a new tax code "W8" by copying the W6 and modified the VAT to 5% by changing the condition record JVRD.
    The new tax code is not calculating VAT part correctly. It is taxing into consideration Invoice Base value, Ed Cess & SEd Cess (Omiting the Excise Duty).
    I have checked my Tax Procedure, there everything is fine. Even my old tax code "W6" is working correctly.
    Let me know where the error lies.
    Here is the scenario
    00. Tax code                       -   W6   -   W8   - Current Staus of W8
    01. Invoice Base               - 355181 - 351798 - 353324 (by SAP Document Simulation View)
    02. Excise @ 10% on 01.        -  35518 -  35180 -  35332
    03. Ed Cess @ 2% on 01.        -    710 -    704 -    707
    04. SEd Cess @ 1% on 01.       -    355 -    352 -    353
    05. VAT @ 4% on (010203+04)  -  15671 -   0     -  0
    05.    VAT @ 5% on (010203+04)  -    0    -  19401 -  0
    05.     VAT @ 5% on (010304)     -   0     -    0    -  17719
    INVOICE TOTAL VALUE            - 407435 - 407435 - 407435
    Pls. let me know how to come over the issue.
    By the way I am using the above tax code at FB60 transaction code.
    Regards
    Krishna
    Edited by: Gopi Krishna Gutti on Oct 17, 2011 10:18 AM

    Hi Vivek
    Acutually we planned to implement SAP - FI & MM Modules only, and all the configuration is done in the system, but at the final stage our management is not satisfied with MM area, so finally we have gone live with only FI Moudle.
    By the way thankyou for the reply. I have maintained 100% in JMX1 for the new tax code and it is working fine.
    I will give you full points.
    Once again thanks a lot.
    Regards
    Krishna

Maybe you are looking for

  • Bought a new iMac and no longer can access my bank account

    Why am I unable to access my bank account after I bought a new iMac with Lion?

  • Step by Step how to Use Java Beans in Form 6i

    Dear All, Can anybody tell me step by step how to use Javabeans in form 6i. What i want is to know which form is getting executed and by whom with ip address on application server. When is execute the form made using javabeans Best Regards, Devendra

  • User exit in a transaction

    Hello! How could i know what user exits are involved in a transaction? What i want to do is in transaction MB1A with the movement 551, i want the Cost Center to be determined automaticaly depending in the Reason for movement. But i don't know how to

  • Redirecting System.out to a textfield

    I want the output created by System.out (especially error messages) redirected to a textfield in stead of the console. How can I do this?

  • Increased Font size in JTable 's printout

    Hi everybody, Can anybody help me out. When I use Java Print classes to print a Jtable the Font size appears to be 125% bigger.