Spring java.lang.IllegalAccessError: tried to access method org.springframe

Hi
I am looking to use OEPE to allow me to adapt a RAD approach to the web part of our applications while keeping our CI builds consistant.
We use WebLogic 10.3 with struts 1.2.9, Spring 2.5, Hibernate 3.X and maven 2.
I am using Eclipse 3.5 SR1 with OEPE version Oracle Enterprise Pack for Eclipse 11.1.1.3.0
I created a test Dynamic Web Application using maven 2 and this works OK with a test WebLogic Server 10.3. I then deleted this from the WebLogic Server so I could try using it with OEPE.
I deploy this Dynamic Web Application using OEPE (via autogenerated_ear_) to WebLogic Server
My initial problems were classpath errors where it seems that my Maven dependent jars were NOT picked up by my web application. To overcome this I copied the maven dependencies to <my web app>\src\main\webapp\WEB-INF\lib
I could then use my initial struts action but failed with:
Root cause of ServletException.
java.lang.IllegalAccessError: tried to access method org.springframework.web.struts.ActionSupport.getWebApplicationContext()Lorg/springframework/web/context/WebApplicationContext; from class com.myco.springtxn.web.struts.SaveNewCakeAction_beaVersion0_7
     at com.myco.springtxn.web.struts.SaveNewCakeAction_beaVersion0_7.execute(SaveNewCakeAction.java:31)
     at com.myco.springtxn.web.struts.SaveNewCakeAction.execute(SaveNewCakeAction.java)
     CakeService cakeService = (CakeService) getWebApplicationContext().getBean("cakeService");
Some more data:
TRACE:
Saving Cake with name oepe cake and description copied in jars
<24-Oct-2009 21:13:16 o'clock BST> <Error> <HTTP> <BEA-101017> <[weblogic.servlet.internal.WebAppServletContext@d9f6cb - appName: '_auto_generated_ear_', name: 'sdw', context-path: '/sdw', spec-version: '2.5', request: weblogic.servlet.internal.ServletRequestImpl@148bedb[
POST /sdw/saveNewCake.do HTTP/1.1
Accept: */*
Referer: http://localhost:7001/sdw/enterCake.do
Accept-Language: en-gb
Content-Type: application/x-www-form-urlencoded
UA-CPU: x86
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; NGD_build; .NET CLR 1.1.4322; .NET CLR 2.0.50727; MS-RTC LM 8; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Content-Length: 41
Connection: Keep-Alive
Cache-Control: no-cache
Cookie: refresh=; JSESSIONID=dG4BKjLBdL3LWMPkJG3r1Tw64hjpBMWwvplvypkGZlTYhb6cJD9M!-36198065; ADMINCONSOLESESSION=7gyTKjLQgQfNlPlQ1cBydQXgHcgljjQn8tnHL4Qn5GWr8pLWZG0W!1523650153
]] Root cause of ServletException.
java.lang.IllegalAccessError: tried to access method org.springframework.web.struts.ActionSupport.getWebApplicationContext()Lorg/springframework/web/context/WebApplicationContext; from class com.myco.springtxn.web.struts.SaveNewCakeAction_beaVersion0_7
     at com.myco.springtxn.web.struts.SaveNewCakeAction_beaVersion0_7.execute(SaveNewCakeAction.java:31)
     at com.myco.springtxn.web.struts.SaveNewCakeAction.execute(SaveNewCakeAction.java)
     at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
     at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
     at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
     at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
     at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
     at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
     at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
     at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
     at weblogic.servlet.utils.FastSwapFilter.doFilter(FastSwapFilter.java:66)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
     at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496)
     at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
     at weblogic.security.service.SecurityManager.runAs(Unknown Source)
     at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
     at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
     at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
     at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
     at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
>
I AM USING;
1. Operating System - Windows XP Professional
2. Eclipse Version - 3.5.1
3. WLS Version - 10.3
4. Brief app shape description. Dynamic Web App
5. The .classpath a
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
     <classpathentry kind="src" output="target/classes" path="src/main/java"/>
     <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
     <classpathentry kind="con" path="oracle.eclipse.tools.weblogic.lib.system">
          <attributes>
               <attribute name="owner.project.facets" value="jst.web"/>
          </attributes>
     </classpathentry>
     <classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/>
     <classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/>
     <classpathentry kind="con" path="org.eclipse.jdt.USER_LIBRARY/Spring2.5">
          <attributes>
               <attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/>
               <attribute name="owner.project.facets" value="oracle.struts;spring.core"/>
          </attributes>
     </classpathentry>
     <classpathentry kind="con" path="org.eclipse.jdt.USER_LIBRARY/Struts">
          <attributes>
               <attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/>
               <attribute name="owner.project.facets" value="oracle.struts"/>
          </attributes>
     </classpathentry>
     <classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
     <classpathentry kind="output" path="target/classes"/>
</classpath>
web app cache
<webapp-structure>
<registeredFiles>
<entry>
<string>currentBuild</string>
<path-set>
<pathsSet class="linked-hash-set">
<string>index.jsp</string>
<string>META-INF/MANIFEST.MF</string>
<string>pages/cakeSavedInfo.jsp</string>
<string>pages/enterCake.jsp</string>
<string>pages/welcome.jsp</string>
<string>WEB-INF/applicationContext.xml</string>
<string>WEB-INF/config/struts-config.xml</string>
<string>WEB-INF/tld/c.tld</string>
<string>WEB-INF/tld/fmt.tld</string>
<string>WEB-INF/tld/struts-bean.tld</string>
<string>WEB-INF/tld/struts-html-el.tld</string>
<string>WEB-INF/tld/struts-html.tld</string>
<string>WEB-INF/tld/struts-logic.tld</string>
<string>WEB-INF/tld/struts-tiles.tld</string>
<string>WEB-INF/web.xml</string>
<string>WEB-INF/weblogic.xml</string>
<string>WEB-INF/classes/com/myco/springtxn/web/controller/CakeController.class</string>
<string>WEB-INF/classes/com/myco/springtxn/web/controller/spring/AnnotatedSpringCakeController.class</string>
<string>WEB-INF/classes/com/myco/springtxn/web/struts/CakeForm.class</string>
<string>WEB-INF/classes/com/myco/springtxn/web/struts/EnterNewCakeAction.class</string>
<string>WEB-INF/classes/com/myco/springtxn/web/struts/SaveNewCakeAction.class</string>
<string>WEB-INF/classes/com/myco/springtxn/web/util/Logging.class</string>
<string>WEB-INF/lib/SpringTxnServices-0.0.1-SNAPSHOT.jar</string>
<string>WEB-INF/lib/spring-2.5.6.jar</string>
<string>WEB-INF/lib/commons-logging-1.0.4.jar</string>
<string>WEB-INF/lib/commons-lang-2.4.jar</string>
<string>WEB-INF/lib/hibernate-core-3.3.1.GA.jar</string>
<string>WEB-INF/lib/antlr-2.7.2.jar</string>
<string>WEB-INF/lib/commons-collections-3.1.jar</string>
<string>WEB-INF/lib/dom4j-1.6.1.jar</string>
<string>WEB-INF/lib/xml-apis-1.0.b2.jar</string>
<string>WEB-INF/lib/jta-1.1.jar</string>
<string>WEB-INF/lib/slf4j-api-1.5.2.jar</string>
<string>WEB-INF/lib/hibernate-annotations-3.4.0.GA.jar</string>
<string>WEB-INF/lib/ejb3-persistence-1.0.2.GA.jar</string>
<string>WEB-INF/lib/hibernate-commons-annotations-3.1.0.GA.jar</string>
<string>WEB-INF/lib/hibernate-entitymanager-3.4.0.GA.jar</string>
<string>WEB-INF/lib/javassist-3.4.GA.jar</string>
<string>WEB-INF/lib/hibernate-validator-3.1.0.GA.jar</string>
<string>WEB-INF/lib/slf4j-log4j12-1.5.2.jar</string>
<string>WEB-INF/lib/log4j-1.2.14.jar</string>
<string>WEB-INF/lib/SpringLegacyModule-0.0.1-SNAPSHOT.jar</string>
<string>WEB-INF/lib/struts-1.2.9.jar</string>
<string>WEB-INF/lib/commons-beanutils-1.7.0.jar</string>
<string>WEB-INF/lib/commons-digester-1.6.jar</string>
<string>WEB-INF/lib/commons-fileupload-1.0.jar</string>
<string>WEB-INF/lib/commons-validator-1.1.4.jar</string>
<string>WEB-INF/lib/oro-2.0.7.jar</string>
<string>WEB-INF/lib/xalan-2.5.1.jar</string>
<string>WEB-INF/lib/struts-el-1.2.9.jar</string>
<string>WEB-INF/lib/standard-1.0.6.jar</string>
<string>WEB-INF/lib/jstl-1.1.2.jar</string>
<string>WEB-INF/lib/spring-webmvc-struts-2.5.6.jar</string>
<string>WEB-INF/lib/spring-beans-2.5.6.jar</string>
<string>WEB-INF/lib/spring-core-2.5.6.jar</string>
<string>WEB-INF/lib/spring-context-2.5.6.jar</string>
<string>WEB-INF/lib/aopalliance-1.0.jar</string>
<string>WEB-INF/lib/spring-web-2.5.6.jar</string>
<string>WEB-INF/lib/spring-webmvc-2.5.6.jar</string>
<string>WEB-INF/lib/spring-context-support-2.5.6.jar</string>
</pathsSet>
</path-set>
</entry>
</registeredFiles>
</webapp-structure>

Got back to testing this (been busy in my day job). I realised that I had not tested hot deployment. So I switched on FastSwop by adding the following the the weblogic.xml (of the web applicatiion):
Gives
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; NGD_build; .NET CLR 1.1.4322; .NET CLR 2.0.50727; MS-RTC LM 8; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Content-Length: 22
Connection: Keep-Alive
Cache-Control: no-cache
Cookie: JSESSIONID=T6PTK7yS3jdJzzLsP5nNB6TNCyLFMcYxZf8j1rRRGBXZ8hSbBQT2!580994594
]] Root cause of ServletException.
java.lang.IllegalAccessError: tried to access method org.springframework.web.struts.ActionSupport.getWebApplicationContext()Lorg/springframework/web/context/WebApplicationContext; from class com.myco.springtxn.web.struts.SaveNewCakeAction_beaVersion0_8
     at com.myco.springtxn.web.struts.SaveNewCakeAction_beaVersion0_8.execute(SaveNewCakeAction.java:31)
     at com.myco.springtxn.web.struts.SaveNewCakeAction.execute(SaveNewCakeAction.java)
     at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
     at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
     at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
     Truncated. see log file for complete stacktrace
>
I find this sad since using tomcat I can hot deploy without any problem

Similar Messages

  • Java.lang.IllegalAccessError when trying to instantiate a model

    Hi all,
    In our java web dynpro project, we are using models of type "adaptative web service model".
    We are using the wsdl reference to build the model.
    The endpoint for each service is different in each environment DEV, QAS or PRD.
    To set the proper endpoint to each service we are using the
    com.sap.tc.webdynpro.model.webservice.gci.WSTypedModelClassExecutable.wdSetInvocationModifier
    method to set a custom implementation of IWDWSInvocationModifier for all those web service based models.
    This implementation is basically done on method
    IWDWSInvocationModifier.doModifyInvocation()
    This method makes a call to a java web service (ServiceSearcher), and this web service searches in UDDI server for the proper endpoint to be set.
    This custom implementation is encapsulated in one specific DC (ServiceSearcherClient), and is working pretty fine.
    The problem is that, sometimes, in another DC (Astec), when trying to execute the custom
    IWDWSInvocationModifier.doModifyInvocation()
    set to a web service based model, we got this error.
    java.lang.IllegalAccessError: tried to access method net.weg.soa.client.servicesearcher.FindUrlResponse.createModelClassFactory()Lcom/sap/tc/webdynpro/model/webservice/gci/IWSTypedModelClassFactory; from class net.weg.soa.client.servicesearcher.ServiceSearcherModel
    Actually we could not isolate the cause of this. This seems to start occurring when we deploy something by CBS (when we activate some component that uses ServiceSearcherClient).
    This problem sometimes does not occur in all projects of DC Astec that uses ServiceSearchClient. Sometimes the Main project has this error, but when executing some other project (Materials, for example), it works on the same execution time. It seems that each project references an individual jar for its used DC's, and one has problem, another doesn't.
    We already found that most of times this problem can be solved going to SDM, proceeding undeploy of all components of DC Astec and CD ServiceSearcherClient, and proceeding a manual deploy (with NWDS).
    This has been a big problem for our team, we already spent two weeks trying to understand what is happening and our tries are ending now. Actually in PRD environment we deployed all those DC's manually with NWDS to put the system working, otherwise it does not work.
    If some of you have any idea, we will appreciate.
    Regards.
    roberti

    Oppened an OSS and found that nor SAP know the cause. Many deploy, undeploy and other changes, and it was corrected.
    regards.
    Waldemar Roberti

  • Java.lang.IllegalAccessError while running hello page in JDEVELOPER 10G

    Hi
    i am getting this error while running hello page.
    PLease help me diagnosis...
    D:\DevSuiteHome_1\jdevuser\jdevbin\jdk\bin\javaw.exe -jar D:\DevSuiteHome_1\jdevuser\jdevbin\j2ee\home\admin.jar ormi://10.184.155.72:23891 oc4jadmin **** -updateConfig
    11/11/24 20:09:58 java.lang.IllegalAccessError: tried to access method oracle.xml.jaxp.JXDocumentBuilder.<init>()V from class oracle.xml.jaxp.JXDocumentBuilderFactory
    11/11/24 20:09:58      at oracle.xml.jaxp.JXDocumentBuilderFactory.newDocumentBuilder(JXDocumentBuilderFactory.java:79)
    11/11/24 20:09:58      at com.evermind.xml.JavaxXMLUtils.getJavaxDocument(JavaxXMLUtils.java:36)
    11/11/24 20:09:58      at com.evermind.xml.XMLUtils.getDocument(XMLUtils.java:208)
    11/11/24 20:09:58      at com.evermind.xml.XMLConfig.init(XMLConfig.java:165)
    11/11/24 20:09:58      at com.evermind.xml.XMLConfig.init(XMLConfig.java:113)
    11/11/24 20:09:58      at com.evermind.xml.XMLConfig.update(XMLConfig.java:477)
    11/11/24 20:09:58      at com.evermind.server.XMLApplicationServerConfig.update(XMLApplicationServerConfig.java:1581)
    11/11/24 20:09:58      at com.evermind.server.ApplicationServerShutdownHandler.run(ApplicationServerShutdownHandler.java:81)
    11/11/24 20:09:58      at java.lang.Thread.run(Thread.java:595)
    Thanks & Regards

    Hi,
    I have checked the appl version and downloaded it correctly from metalink note. :(
    but, still it doesnt work properly. :( :(

  • [HELP]java.lang.IllegalAccessError

    I'm working with HTB API. I built an application with a Model project and an UserInterface project in JDeveloper10g. I added htbclnt.jar into Model project and run a jsp page to test the EJB in Model project. However, there was an error:
    500 Internal Server Error
    java.lang.IllegalAccessError: tried to access method oracle.jbo.mom.xml.XMLContextImpl$NameList.<init>(Loracle/jbo/mom/xml/XMLContextImpl;Ljava/lang/String;Z)V from class oracle.jbo.mom.xml.XMLContextImpl
         at oracle.jbo.mom.xml.XMLContextImpl.listBindings(XMLContextImpl.java:265)
         at javax.naming.InitialContext.listBindings(InitialContext.java:406)
         at oracle.jbo.mom.DefinitionManager.findSubstituteName(DefinitionManager.java:451)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:411)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:358)
         at oracle.jbo.uicli.mom.JUMetaObjectManager.defExists(JUMetaObjectManager.java:306)
         at oracle.jbo.uicli.mom.JUMetaObjectManager.loadCpx(JUMetaObjectManager.java:548)
         at oracle.adf.model.BindingRequestHandler.initializeBindingContext(BindingRequestHandler.java:333)
         at oracle.adf.model.BindingRequestHandler.beginRequest(BindingRequestHandler.java:133)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:161)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:619)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
         at java.lang.Thread.run(Thread.java:595)
    What could be causing this??? And how can I fix it???

    java.lang.IllegalAccessError means that an object is trying to access a method/field of another object that is restricted by the access modifier(public, private, protected).
    This is usually checked at compile time.
    Did you ever change the access modifier of the field 'name' from public to protected?
    Do you have other objects on the server that are separate from the applet? If so, you may have different versions on your local machine than the server.

  • IllegalAccessError: tried to access oracle.j2ee.ws.client.StubBase.getResou

    Hi, I am trying to use JRF web service described in this doc
    I am got following error running the sample code in the doc.
    Exception in thread "main" java.lang.IllegalAccessError: tried to access method oracle.j2ee.ws.client.StubBase.getResourceAsDocument(Ljava/lang/String;)Lorg/w3c/dom/Document; from class oracle.j2ee.ws.common.jaxws.ServiceDelegateImpl
         at oracle.j2ee.ws.common.jaxws.ServiceDelegateImpl.loadClasspathClientConfig(ServiceDelegateImpl.java:125)
         at oracle.j2ee.ws.common.jaxws.ServiceDelegateImpl.<init>(ServiceDelegateImpl.java:118)
         at oracle.apps.extn.test.JrfClient.callWebService(JrfClient.java:83)
         at oracle.apps.extn.test.JrfClient.main(JrfClient.java:114)
    The line that cause the exception is
    ServiceDelegateImpl serviceDelegate = new ServiceDelegateImpl(serviceWsdl, serviceQName, OracleService.class);
    Thanks in advance,
    -Ming

    Hi,
    I am also facing a similar issue after deploying the web-service onto WebLogic Server. Not sure if it is related to deployment or security-related issue. Here are the exception details:
    oracle.j2ee.ws.client.jaxws.JRFSOAPFaultException: Client received SOAP Fault from server : access denied (oracle.wsm.security.WSFunctionPermission http://xmlns.oracle.com/apps/scm/dos/supplyRequestDecomposition/receiveSupplyRequests/decompRcvService/ProcessSupplyOrdersService#createSupplyOrderHeaders invoke)
    Anyone faced the similar issue? Help appreciated.
    Thanks in advance,
    Bhushan

  • OAF error java.lang.IllegalAccessError when deployed to R12 instance

    Hi All,
    I am retrofitting OAF Application from 9.0.3 to 10.1.3.3.0. There are two external jar files used in it ( commons-logging.jar ; commons-jexl-1.1.jar ) . It works fine when launched with JDEV after I placed both the jar files in jdevbin/j2ee/home/applib directory. But when I deploy the application to Oracle Application instance R12.1.3, it throws the following error.
    Exception Details.
    oracle.apps.fnd.framework.OAException: oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.lang.IllegalAccessError, msg=tried to access class org.apache.commons.logging.LogFactory$1 from class org.apache.commons.logging.LogFactory
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:912)
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:888)
         at OAErrorPage.jspService(_OAErrorPage.java:221)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)
         at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)
         at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
         at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
         at com.evermind.server.http.EvermindPageContext.handlePageThrowable(EvermindPageContext.java:871)
         at com.evermind.server.http.EvermindPageContext.handlePageException(EvermindPageContext.java:816)
         at OA.jspService(_OA.java:257)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:619)
    ## Detail 0 ##
    java.lang.IllegalAccessError: tried to access class org.apache.commons.logging.LogFactory$1 from class org.apache.commons.logging.LogFactory
         at org.apache.commons.logging.LogFactory.getFactory(LogFactory.java:218)
         at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:370)
         at org.apache.commons.jexl.ExpressionFactory.<clinit>(ExpressionFactory.java:57)
         at oracle.apps.xxpo.tkvpa.server.ComputeFormula.delegateToEvalutionEngine(ComputeFormula.java:273)
         at oracle.apps.xxpo.tkvpa.server.ComputeFormula.evaluate(ComputeFormula.java:258)
         at oracle.apps.xxpo.tkvpa.server.ComputeFormula.getTestTimePerWafer(ComputeFormula.java:209)
         at oracle.apps.xxpo.tkvpa.webui.SortServiceCO.computeCost(SortServiceCO.java:371)
         at oracle.apps.xxpo.tkvpa.webui.SortServiceCO.processFormRequest(SortServiceCO.java:320)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:819)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:385)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1205)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1031)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:997)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:852)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:385)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:395)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1031)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:997)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:852)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:385)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2974)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1875)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:543)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:431)
         at OA.jspService(_OA.java:212)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:619)
    It seems that application is not able to recognize the jar files. Should I place these files in a particular directory in UNIX Box ?? I have extracted the jar one by one in the $JAVA_TOP. Also I have tried placing the jar files in $COMMON_TOP/java/lib directory.
    Any pointers to solve this issue would be very helpful.
    Thanks in advance,
    Abhishek

    Hi,
    This issue was occurring because I was using external jar files in my Apps version 12.1.3 . And the external jar file may not be compatible with the latest version of Apps.
    So I removed the dependency of external jar files from my application and I coded the necessary functionality in my OAF Application itself. I did not get any proper solution for it.
    May be you can look forward to remove the dependency if possible and use it for your application by writing your own piece of code.
    Thanks,
    Abhishek

  • Java.lang.IllegalAccessError for LogFactory

    Hi,
    I have a servlet using Apache's HttpClient, and when deployed to 10.1.3, I'm getting the following
    java.lang.IllegalAccessError: tried to access class org.apache.commons.logging.LogFactory$1 from class org.apache.commons.logging.LogFactory
    Ideas?
    Thanks.
    -R

    Hi,
    i had similar issue when i deploy an applicatin with bpel and quartz enalabledr. can any one help to fix the issue.
    Thanks ..
    below is the error msg:
    10/05/12 19:58:42 after getting FCJobCacheFactory.getInstance.jobs
    10/05/12 19:58:42 In BranchController--> init()
    10/05/12 19:58:42 org.apache.commons.logging.LogConfigurationException: java.lang.IllegalAccessError: tried to access class org.apache.commons.logging.impl.SimpleLog$1 from class org.apache.commons.logging.impl.SimpleLog (Caused by java.lang.IllegalAccessError: tried to access class org.apache.commons.logging.impl.SimpleLog$1 from class org.apache.commons.logging.impl.SimpleLog)
    10/05/12 19:58:42      at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:543)
    10/05/12 19:58:42      at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
    10/05/12 19:58:42      at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)
    10/05/12 19:58:42      at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
    10/05/12 19:58:42      at org.quartz.simpl.SimpleThreadPool.getLog(SimpleThreadPool.java:132)
    10/05/12 19:58:42      at org.quartz.simpl.SimpleThreadPool.initialize(SimpleThreadPool.java:253)
    10/05/12 19:58:42      at org.quartz.impl.StdSchedulerFactory.instantiate(StdSchedulerFactory.java:897)
    10/05/12 19:58:42      at org.quartz.impl.StdSchedulerFactory.getScheduler(StdSchedulerFactory.java:1084)
    10/05/12 19:58:42      at org.quartz.impl.StdSchedulerFactory.getDefaultScheduler(StdSchedulerFactory.java:1100)
    10/05/12 19:58:42      at com.iflex.scheduler.quartz.FCQrtzJobSchedule.scheduleNotifyJob(FCQrtzJobSchedule.java:135)
    10/05/12 19:58:42      at com.iflex.fcc.web.FCScheduleServlet.init(FCScheduleServlet.java:53)
    10/05/12 19:58:42      at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.java:2371)
    10/05/12 19:58:42      at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4824)
    10/05/12 19:58:42      at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4748)
    10/05/12 19:58:42      at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4936)
    10/05/12 19:58:42      at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1145)
    10/05/12 19:58:42      at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:741)
    10/05/12 19:58:42      at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:414)
    10/05/12 19:58:42      at com.evermind.server.Application.getHttpApplication(Application.java:570)
    10/05/12 19:58:42      at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:1987)
    10/05/12 19:58:42      at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:1906)
    10/05/12 19:58:42      at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:643)
    10/05/12 19:58:42      at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:290)
    10/05/12 19:58:42      at com.evermind.server.http.HttpServer.setSites(HttpServer.java:270)
    10/05/12 19:58:42      at com.evermind.server.http.HttpServer.setConfig(HttpServer.java:177)
    10/05/12 19:58:42      at com.evermind.server.ApplicationServer.initializeHttp(ApplicationServer.java:2493)
    10/05/12 19:58:42      at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1042)
    10/05/12 19:58:42      at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:131)
    10/05/12 19:58:42      at java.lang.Thread.run(Thread.java:595)

  • Error invoking 'set_xslt_locale':'java.lang.IllegalAccessError

    I am running seeded sourcing pages. I am getting following exception when i try to print an RFQ from JDeveloper:
    Error invoking 'set_xslt_locale':'java.lang.IllegalAccessError: tried to access class oracle.apps.fnd.i18n.common.text.DigitList from class oracle.apps.fnd.i18n.common.text.ExcelNumberFormat'
    Re: XML Publisher common user interface document viewer
    In the above thread, i found below steps to resolve this:
    Cause:
    Essentially the problem is caused by incompatible versions of classes in the oracle.apps.fnd.i18n.* package held in the file jdevbin\jdev\appslibrt\aolj.jar versus the classes used by the BI Publisher libraries. The 'set_xslt_locale' method was introduced in BI publisher version 5.6.3 so if you have upgraded to this version on the server it is likely that you will get this error in JDeveloper.
    Solution:
    1) You will first need to copy the following file to your local JDev install and add it as a library via Project Settings --> Libraries :
    $FND_TOP/java/3rdparty/stdalone/xdoparser.zip
    2) Next fetch the latest version of the oracle.apps.fnd.i18n.* classes from $OA_JAVA. Create a zip file of these files (i.e. i18n.jar), copy to your local JDev install and add it as a library as you did with the xdoparser.zip.
    3) Copying these files alone will not solve the problem because JDeveloper will use the oracle.apps.fnd.i18n.* classes located in the jdevbin\jdev\appslibrt\aolj.jar file before using the ones located in the file added in step 2 (i18n.jar). To get round this, ensure that the the library you have added for the i1n8.jar file is higher in the list (under Project Settings  Libraries) than the libraries “FND Libraries” & “OA Developer Libraries” (if selected). This will ensure that the files in i18n.jar are used prior to those in jdevbin\jdev\appslibrt\aolj.jar. If this does not work (some users have found this approach not to work), make a backup of the file jdevbin\jdev\appslibrt\aolj.jar and then manully remove all files in the oracle.apps.fnd.i18n package from the file.
    4) In addition to the above copy the file $OA_HTML/xdo_doc_display.jsp to your local OA_HTML directory (usually jdevhome\jdev\myhtml). You should also set the temporary directory of the XML Publisher (under Admin) to a directory that exists on your PC (eg. /var/tmp on your PC will be c:\var\tmp).
    I am new to Java/JDeveloper/OAF.
    Can someone please help me with the above steps?
    I am unable to post anything in OA Framework forum.

    Yes, the OA Framework forum is "broken"
    However, that is the best place to get help for this question.

  • AQServlet gives java.lang.IllegalAccessError

    Got this error while running the AQ sample:
    java.lang.IllegalAccessError: try to access method oracle.xml.parser.schema.XMLSchema.buildSchemaPathTable()V from class oracle.AQ.xml.AQxmlIdapConverter
    at oracle.AQ.xml.AQxmlIdapConverter.getSchemaObject(AQxmlIdapConverter.java)
    at oracle.AQ.xml.AQxmlServContext.getConverter(AQxmlServContext.java)
    at oracle.AQ.xml.AQxmlDriver.parseDocument(AQxmlDriver.java)
    at oracle.AQ.xml.AQxmlDriver.parseDocument(AQxmlDriver.java)
    at oracle.AQ.xml.AQxmlProcessor.processMessage(AQxmlProcessor.java)
    at oracle.AQ.xml.AQxmlServlet20.doPost(AQxmlServlet20.java)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)
    at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:563)
    at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:309)
    at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
    at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
    at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:797)
    at java.lang.Thread.run(Thread.java:484)
    I added the following lines to java2.policy and restarted OC4J.
    grant codebase "file:${oracle.home}/lib/xschema.jar" {
    permission java.security.AllPermission;
    Still getting the same error. Tips, ideas ... any?

    Hi Rajat,
    Here's the info you had requested.
    It seems like a compatibility problem between the different libraries. Could you please provide the following information...
    1) The Client/server versions of the database. ----------------------------------------------------------------
    Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
    PL/SQL Release 9.2.0.1.0 - Production
    CORE 9.2.0.1.0 Production
    TNS for 32-bit Windows: Version 9.2.0.1.0 - Production
    NLSRTL Version 9.2.0.1.0 - Production
    2) The version of OC4J. Oracle9iAS (9.0.3.0.0) Containers for J2EE
    3) The Created Date and Size of oci.dll. This file should be present in the <Oracle_Home>/bin. oci.dll 112KB 5/1/2002
    4) The Created Date and Size of classes12dms.jar. This jar should be present in <j2ee_home>/jdbc/lib. classes12dms.jar 1,169KB 4/26/2002
    5) Also, the info about aqxml.jar present in <oc4j_home>/lib.aqxml.jar 455KB 4/28/2002
    Pls refer to Install.html accompanied with the sample for info on <j2ee_home> and <oc4j_home>.I went over all the steps and it still gives me the same exception.
    Did you encounter this problem when trying to access the IDAP feature?Yes. When I click on the <Send SOAP Message> button.
    Do you think this might me have something to do with jazn-data.xml or java2.policy?
    Thanks,
    Atul

  • Exception in thread "Thread-4" java.lang.IllegalAccessError

    Hi All,
    I am getting this error at run-time while trying to run below code
    Exception in thread "Thread-4" java.lang.IllegalAccessError
    CODE:
    ================================
    * FileName : UMAC.java *
    * Program Details : For getting Signed data. *
    * Invoked From : SignedDataImpl.java *
    package sfmsbr.bankapi;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.IOException;
    import java.security.InvalidKeyException;
    import java.security.Key;
    import java.security.KeyPair;
    import java.security.KeyStore;
    import java.security.MessageDigest;
    import java.security.NoSuchAlgorithmException;
    import java.security.NoSuchProviderException;
    import java.security.PrivateKey;
    import java.security.PublicKey;
    import java.security.Security;
    import java.security.Signature;
    import java.security.cert.Certificate;
    import java.security.cert.X509Certificate;
    import java.util.Date;
    import java.util.Enumeration;
    import javax.crypto.BadPaddingException;
    import javax.crypto.Cipher;
    import javax.crypto.IllegalBlockSizeException;
    import javax.crypto.NoSuchPaddingException;
    import com.ibm.misc.BASE64Decoder;
    import com.ibm.misc.BASE64Encoder;
    import sun.security.pkcs.ContentInfo;
    import sun.security.pkcs.PKCS7;
    import sun.security.pkcs.PKCS9Attribute;
    import sun.security.pkcs.PKCS9Attributes;
    import sun.security.pkcs.SignerInfo;
    import com.ibm.security.util.DerOutputStream;
    /*import sun.security.x509.AlgorithmId;*/
    import com.ibm.security.x509.AlgorithmId;
    /*import sun.security.x509.X500Name;*/
    import com.ibm.security.x509.X500Name;
    /*import com.ibm.jsse.IBMJSSEProvider;*/
    import org.apache.harmony.security.asn1.DerInputStream;
    import com.cs.common.Utilities;
    import com.sun.net.ssl.internal.ssl.Provider;
    /*import javax.net.ssl.*;*/
    import sun.security.pkcs.*;
    public class UMAC
    private static String storetype = null;
    private static String storepath = null;
    private static char keyPassword[] = null;
    private static char filePassword[] = null;
    private static String alias = null;
    private static X509Certificate x509 = null;
    private static Certificate certs[] = null;
    private static final String digestAlgorithm = "SHA256";
    private static final String signingAlgorithm = "SHA256withRSA";
    private static Key key = null;
    private static KeyPair pair = null;
    private static KeyStore keystore = null;
    private static PrivateKey priv = null;
    private static PublicKey pub = null;
    private static String signedData = null;
    File certificateFile;
    private static String fileName = "";
    private static final String ALGORITHM = "PBEWithSHA256AndDes";
    private String characterEncoding;
    private Cipher encryptCipher;
    private Cipher decryptCipher;
    private BASE64Encoder base64Encoder = new BASE64Encoder();
    private BASE64Decoder base64Decoder = new BASE64Decoder();
    * Constructor to initialize the Parameters used
    * @param s file name/path
    * @param s1 is file password
    * @param s2 is key password
    * @param s3 is alias name
    * @throws IOException
    public UMAC(String s, String s1, String s2, String s3) throws IOException
    try {
    String dkeyPassword = Utilities.decodeDBPwd(s2);
    String dFilePassword = Utilities.decodeDBPwd(s1);
    keyPassword = (new String(dkeyPassword)).toCharArray();
    filePassword = (new String(dFilePassword)).toCharArray();
    alias = s3;
    fileName = s;
    } catch (Exception e) {
    e.printStackTrace();
    * method will prepare the digital signature for the message received as argument and returns the digital signature
    * @param s the message to prepare signed data
    * @return signed data prepard for the message received
    * @throws NoSuchAlgorithmException
    * @throws InvalidKeyException
    * @throws IllegalBlockSizeException
    * @throws NoSuchProviderException
    * @throws BadPaddingException
    * @throws NoSuchPaddingException
    * @throws Exception
    public String getSingedData(String s) throws NoSuchAlgorithmException, InvalidKeyException, IllegalBlockSizeException, NoSuchProviderException, BadPaddingException, NoSuchPaddingException, Exception
    Security.addProvider(new Provider()); // addProvider(Provider provider).. Adds a provider to the next position available.
    System.out.println("reached here a");
    certificateFile = new File(fileName);
    /*keystore = KeyStore.getInstance("pkcs12", "SunJSSE");*/
    keystore = KeyStore.getInstance("pkcs12", "IBMJCE");
    System.out.println("reached here b");
    BASE64Encoder base64encoder = new BASE64Encoder();
    System.out.println("reached here ba");
    keystore.load(new FileInputStream(certificateFile), filePassword);
    System.out.println("reached here bb");
    Enumeration enumeration = keystore.aliases();
    do {
    if(!enumeration.hasMoreElements())
    break;
    String s1 = enumeration.nextElement().toString();
    if(keystore.isKeyEntry(s1))
    alias = s1;
    } while(true);
    System.out.println("reached here c");
    pair = getPrivateKey(keystore, alias, keyPassword);
    priv = pair.getPrivate();
    String s2 = base64encoder.encode(priv.getEncoded());
    if(keystore.isKeyEntry(alias))
    certs = keystore.getCertificateChain(alias);
    if(certs[0] instanceof X509Certificate)
    x509 = (X509Certificate)certs[0];
    if(certs[certs.length - 1] instanceof X509Certificate)
    x509 = (X509Certificate)certs[certs.length - 1];
    } else
    if(keystore.isCertificateEntry(alias))
    Certificate certificate = keystore.getCertificate(alias);
    if(certificate instanceof X509Certificate)
    x509 = (X509Certificate)certificate;
    certs = (new Certificate[] {
    x509
    } else {
    throw new Exception(alias + " Wrong alias, Please Check");
    AlgorithmId aalgorithmid[] = {
    AlgorithmId.get("SHA256")
    byte abyte0[] = s.getBytes("UTF8");
    System.out.println("reached here d");
    MessageDigest messagedigest = MessageDigest.getInstance("SHA256");
    messagedigest.update(abyte0);
    byte abyte1[] = messagedigest.digest();
    PKCS9Attribute apkcs9attribute[] = {
    new PKCS9Attribute(PKCS9Attribute.CONTENT_TYPE_OID, ContentInfo.DATA_OID), new PKCS9Attribute(PKCS9Attribute.SIGNING_TIME_OID, new Date()), new PKCS9Attribute(PKCS9Attribute.MESSAGE_DIGEST_OID, abyte1)
    PKCS9Attributes pkcs9attributes = new PKCS9Attributes(apkcs9attribute);
    Signature signature = Signature.getInstance("SHA256withRSA", "SunJSSE");
    signature.initSign(priv);
    signature.update(pkcs9attributes.getDerEncoding());
    byte abyte2[] = signature.sign();
    ContentInfo contentinfo = null;
    contentinfo = new ContentInfo(ContentInfo.DATA_OID, null);
    X509Certificate ax509certificate[] = {
    x509
    java.math.BigInteger biginteger = x509.getSerialNumber();
    SignerInfo signerinfo = new SignerInfo(new X500Name(x509.getIssuerDN().getName()), biginteger, AlgorithmId.get("SHA256"), pkcs9attributes, new AlgorithmId(AlgorithmId.RSAEncryption_oid), abyte2, null);
    SignerInfo asignerinfo[] = {
    signerinfo
    PKCS7 pkcs7 = new PKCS7(aalgorithmid, contentinfo, ax509certificate, asignerinfo);
    DerOutputStream deroutputstream = new DerOutputStream();
    pkcs7.encodeSignedData(deroutputstream);
    byte abyte3[] = deroutputstream.toByteArray();
    String s3 = new String(abyte3);
    BASE64Encoder base64encoder1 = new BASE64Encoder();
    String s4 = base64encoder1.encodeBuffer(abyte3);
    BASE64Decoder base64decoder = new BASE64Decoder();
    System.out.println("reached here e");
    byte abyte4[] = base64decoder.decodeBuffer(s4);
    PKCS7 pkcs7_1 = new PKCS7(abyte4);
    SignerInfo asignerinfo1[] = null;
    if(pkcs7_1.getContentInfo().getContentBytes() == null)
    byte abyte5[] = s.getBytes("UTF8");
    asignerinfo1 = pkcs7_1.verify(abyte5);
    } else
    asignerinfo1 = pkcs7.verify();
    if(asignerinfo1 == null) {
    throw new Exception("Signature failed verification, data has been tampered");
    } else {
    Utilities.log(3, "asignerinfo1 is not null Verification OK>>" + new Date(System.currentTimeMillis()), "UMAC", "run");
    return s4;
    * gets the private key for opening the signing file
    * @param keystore1
    * @param s is file path
    * @param ac
    * @return keypair
    * @throws Exception
    public KeyPair getPrivateKey(KeyStore keystore1, String s, char ac[]) throws Exception
    PublicKey publickey;
    System.out.println("inside UMAC.getPrivateKey");
    key = keystore1.getKey(s, ac);
    System.out.println("key --->" +key);
    if(!(key instanceof PrivateKey))
    return null;
    Certificate certificate = keystore1.getCertificate(s);
    publickey = certificate.getPublicKey();
    System.out.println("Returning from UMAC.getPrivateKey : publickey is --->" +publickey);
    return new KeyPair(publickey, (PrivateKey)key);
    ===========================================
    Its compiling properly but at run-time it's showing below error
    OUTPUT:
    ===========================================
    reached here a
    reached here b
    reached here ba
    Exception in thread "Thread-4" java.lang.IllegalAccessError
    at sun.security.util.DerInputStream.init(Unknown Source)
    at sun.security.util.DerInputStream.<init>(Unknown Source)
    at sun.security.rsa.RSAPublicKeyImpl.parseKeyBits(Unknown Source)
    at sun.security.x509.X509Key.decode(X509Key.java:396)
    at sun.security.x509.X509Key.decode(X509Key.java:408)
    at sun.security.rsa.RSAPublicKeyImpl.<init>(Unknown Source)
    at sun.security.rsa.RSAKeyFactory.generatePublic(Unknown Source)
    at sun.security.rsa.RSAKeyFactory.engineGeneratePublic(Unknown Source)
    at java.security.KeyFactory.generatePublic(KeyFactory.java:145)
    at com.ibm.security.x509.X509Key.buildX509Key(X509Key.java:278)
    at com.ibm.security.x509.X509Key.parse(X509Key.java:189)
    at com.ibm.security.x509.X509Key.parse(X509Key.java:215)
    at com.ibm.security.x509.CertificateX509Key.<init>(CertificateX509Key.java:112)
    at com.ibm.security.x509.X509CertInfo.parse(X509CertInfo.java:966)
    at com.ibm.security.x509.X509CertInfo.<init>(X509CertInfo.java:236)
    at com.ibm.security.x509.X509CertInfo.<init>(X509CertInfo.java:222)
    at com.ibm.security.x509.X509CertImpl.parse(X509CertImpl.java:2285)
    at com.ibm.security.x509.X509CertImpl.<init>(X509CertImpl.java:227)
    at com.ibm.security.x509.X509CertImpl.<init>(X509CertImpl.java:213)
    at com.ibm.security.pkcs12.CertBag.decode(CertBag.java:599)
    at com.ibm.security.pkcsutil.PKCSDerObject.decode(PKCSDerObject.java:251)
    at com.ibm.security.pkcs12.CertBag.<init>(CertBag.java:76)
    at com.ibm.security.pkcs12.BasicPFX.getCertificates(BasicPFX.java:1422)
    at com.ibm.security.pkcs12.PFX.getCertificates(PFX.java:549)
    at com.ibm.crypto.provider.PKCS12KeyStore.engineLoad(Unknown Source)
    at java.security.KeyStore.load(KeyStore.java:414)
    at sfmsbr.bankapi.UMAC.getSingedData(UMAC.java:137)
    at sfmsbr.bankapi.SignedDataImpl.getSingedData(SignedDataImpl.java:42)
    at com.cs.sfms.SFMSMessageSender.run(SFMSMessageSender.java:226)
    at java.lang.Thread.run(Thread.java:736)
    18:10:05 10-Feb-2012 AFTER JAVA Execution
    Please share your valuable inputs to resolve this
    Regards,
    Haris

    java version
    java version "1.6.0"
    Java(TM) 2 Runtime Environment, Standard Edition (build pap32devifx-20110211b (SR12 FP3 +IZ94331))
    IBM J9 VM (build 2.3, J2RE 1.6.0 IBM J9 2.3 AIX ppc-32 j9vmap3223ifx-20101130 (JIT enabled)
    J9VM - 20101129_69669_bHdSMr
    JIT - 20100623_16197ifx1_r8
    GC - 20100211_AA)
    JCL - 20110208
    Regards
    Haris
    Edited by: user12848704 on Feb 10, 2012 3:27 AM

  • Servlet failed with Exception java.lang.illegalaccesserror - hp-ux

    Hi,I installed WLS 5.1 with SP9 in HP-UX with Java1.2. Since I need to send mails from jmail, I added necessary .jar files in weblogic/lib directory. When ever I try to run this event. I get the following exception. Can anyone help me. Thanks in advance. Servlet failed with Exceptionjava.lang.IllegalAccessError: try to access class MailUserData from class MailServlet_Event1 at MailServlet_Event1.doGet(MailServlet_Event1.java:110) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:865) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:120) at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:158) at Member.doGet(Member.java:199) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:865) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:120) at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:915) at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:879) at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:269) at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:365) at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:253) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)
              

    can nyone please gimmie ny input wid dese ,,, i am really stucked here,,, help

  • Java.lang.NoSuchMethodError: sqlj.tools.Sqlj: method resetStaticVariables()V not foun

    I would like to retrieve data from Oracle8.0.5 using sqlj.
    i tried:
    <%@page language="sqlj
    import= sqlj.runtime.ref.DefaultContext,oracle.sqlj.runtime.Oracle"%>
    and i've got the error:
    java.lang.NoSuchMethodError: sqlj.tools.Sqlj: "method resetStaticVariables()V not found"
    someone helps?
    thanx

    This uses a feature which is only found in post 8.1.6.1 versions of Oracle SQLJ. You have two choices:
    (1) Download ojsp 1.0.0.6.1 or later from OTN. This contains an updated SQLJ version.
    (2) Or wait for the SQLJ 8.1.7 release (or later) in the next couple of weeks.
    null

  • Getting java.lang.IllegalAccessError error , when custom pgs moved R12

    I am getting below error, we are recently moved from 11.5.10.2 to 12.1.1, after that the all custom self service pages started giving problems
    in pages where I have a OracleCallableStatement (import oracle.jdbc.driver.OracleCallableStatement; ) statement. What do I need to do in order to fix it.
    I saw a thread referring to use import oracle.jdbc.OracleCallableStatement ; My Jdeveloper version is 9.0.3.5. I am not sure if that is going to fix this.
    Do I need to move to new Jdeveloper version and move the old files into new Jdev and start testing there? please help.
    Exception Details.
    oracle.apps.fnd.framework.OAException: oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.lang.IllegalAccessError, msg=null
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:912)
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:888)
         at oracle.apps.fnd.framework.OAException.wrapperInvocationTargetException(OAException.java:1009)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:211)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:153)
         at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:762)
         at oracle.apps.pay.federalw4.webui.FederalW4UpdateCO.processFormRequest(FederalW4UpdateCO.java:141)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:819)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:385)
         at oracle.apps.fnd.framework.webui.beans.layout.OAHeaderBean.processFormRequest(OAHeaderBean.java:410)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1031)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:997)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:852)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:385)
         at oracle.apps.fnd.framework.webui.beans.layout.OABorderLayoutBean.processFormRequest(OABorderLayoutBean.java:367)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1031)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:997)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:852)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:385)
         at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormRequest(OAStackLayoutBean.java:370)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1031)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:997)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:852)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:385)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1205)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1031)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:997)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:852)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:385)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:395)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1031)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:997)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:852)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:385)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2974)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1875)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:543)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:431)
         at OA.jspService(_OA.java:212)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:735)
    ## Detail 0 ##
    java.lang.IllegalAccessError
         at oracle.apps.pay.federalw4.server.FederalW4updateAMImpl.saveFederalTaxToDatabase(FederalW4updateAMImpl.java:44)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:45)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
         at java.lang.reflect.Method.invoke(Method.java:599)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:190)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:153)
         at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:762)
         at oracle.apps.pay.federalw4.webui.FederalW4UpdateCO.processFormRequest(FederalW4UpdateCO.java:141)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:819)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:385)
         at oracle.apps.fnd.framework.webui.beans.layout.OAHeaderBean.processFormRequest(OAHeaderBean.java:410)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1031)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:997)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:852)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:385)
         at oracle.apps.fnd.framework.webui.beans.layout.OABorderLayoutBean.processFormRequest(OABorderLayoutBean.java:367)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1031)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:997)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:852)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:385)
         at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormRequest(OAStackLayoutBean.java:370)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1031)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:997)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:852)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:385)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1205)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1031)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:997)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:852)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:385)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:395)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1031)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:997)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:852)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:385)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2974)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1875)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:543)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:431)
         at OA.jspService(_OA.java:212)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:735)

    Oppened an OSS and found that nor SAP know the cause. Many deploy, undeploy and other changes, and it was corrected.
    regards.
    Waldemar Roberti

  • Exception:java.lang.IllegalAccessError in OIE

    After applying CU2 update and OIE.K we are receiving errors when entering expenses:
    In the expense report responsibility, I created new expense. Entered the expense line then clicked Next
    Then I receive the error
    "Request URI:/OA_HTML/OA.jsp Exception:java.lang.IllegalAccessError."
    Has anyone seen this issue or have any suggestions?

    Please check Note: 222192.1 (How To Troubleshoot Issues On Internet Expenses Second Generation), it should be helpful.

  • Java.lang.StackOverflowError when invoking a method, returning a org.w3c.dom.Document object, on a SessionBean

    Hello,
    I hope someone can help me with this.
    I have a stateless session bean, which is returning a
    org.w3c.dom.Document object. The whole object is getting created
    but at the client side I am getting the following exception:
    java.rmi.RemoteException: ; nested exception is:
    weblogic.rmi.ServerError: A RemoteException occurred in the server method
    - with nested exception:
    [java.lang.StackOverflowError:
    Start server side stack trace:
    java.lang.StackOverflowError
    at java.lang.Exception.<init>(Compiled Code)
    at java.lang.reflect.InvocationTargetException.<init>(InvocationTargetEx
    ception.java:58)
    at java.lang.reflect.Method.invoke(Native Method)
    at java.lang.reflect.Method.invoke(Compiled Code)
    at java.io.ObjectOutputStream.invokeObjectWriter(Compiled Code)
    at java.io.ObjectOutputStream.outputObject(Compiled Code)
    at java.io.ObjectOutputStream.writeObject(Compiled Code)
    at java.io.ObjectOutputStream.outputClassFields(Compiled Code)
    at java.io.ObjectOutputStream.defaultWriteObject(Compiled Code)
    Then multiple occurences of the last few lines followed by
    at org.apache.xerces.dom.ParentNode.writeObject(Compiled Code)
    at java.lang.reflect.Method.invoke(Native Method)
    at java.lang.reflect.Method.invoke(Compiled Code)
    at java.io.ObjectOutputStream.invokeObjectWriter(Compiled Code)
    at java.io.ObjectOutputStream.outputObject(Compiled Code)
    at java.io.ObjectOutputStream.writeObject(Compiled Code)
    at java.io.ObjectOutputStream.outputClassFields(Compiled Code)
    at java.io.ObjectOutputStream.defaultWriteObject(Compiled Code)
    at org.apache.xerces.dom.ParentNode.writeObject(Compiled Code)
    at java.lang.reflect.Method.invoke(Native Method)
    at java.lang.reflect.Method.invoke(Compiled Code)
    at java.io.ObjectOutputStream.invokeObjectWriter(Compiled Code)
    at java.io.ObjectOutputStream.outputObject(Compiled Code)
    at java.io.ObjectOutputStream.writeObject(Compiled Code)
    at weblogic.common.internal.WLObjectOutputStreamBase.writeObject(Compiled
    Code)
    at weblogic.common.internal.WLObjectOutputStreamBase.writeSpecial(Compiled
    Code)
    at weblogic.common.internal.WLObjectOutputStreamBase.writeObject(Compiled
    Code)
    at weblogic.common.internal.WLObjectOutputStreamBase.writeObjectWL(Compiled
    Code)
    at weblogic.rmi.extensions.AbstractOutputStream2.writeObject(Compiled
    Code)
    at com.ssmb.teams.model.CMSInterestDataEJBEOImpl_WLSkel.invoke(Compiled
    Code)
    at weblogic.rmi.extensions.BasicServerObjectAdapter.invoke(Compiled Code
    at weblogic.rmi.extensions.BasicRequestHandler.handleRequest(Compiled
    Code)
    at weblogic.rmi.internal.BasicExecuteRequest.execute(Compiled Code)
    at weblogic.kernel.ExecuteThread.run(Compiled Code)
    End server side stack trace
    at weblogic.rmi.extensions.AbstractRequest.sendReceive(AbstractRequest.j
    ava:76)
    at com.ssmb.teams.model.CMSInterestDataEJBEOImpl_WLStub.getRegionAnalyst
    Data(CMSInterestDataEJBEOImpl_WLStub.java:558)
    at com.ssmb.teams.model.CMSInterestDataEJBEOImpl_ServiceStub.getRegionAn
    alystData(CMSInterestDataEJBEOImpl_ServiceStub.java, Compiled Code)
    at CMSJavaScript.main(CMSJavaScript.java:87)
    The structure of the XML document is
    <Maillist>
         <Region>
              <RegionCode>7</RegionCode>
              <RegionName>Asia Pacific</RegionName>
              <Analyst>
                   <Id>11111</Id>
                   <Name>AAAAAAAAAAAAAAAAA</Name>
              </Analyst>
              <Analyst>
                   <Id>22222</Id>
                   <Name>BBBBBBBBBBBBBBBBBB</Name>
              </Analyst>
         </Region>
    </Maillist>
    If the no. of Anlayst elements are 219, I am getting this error ( the same thing
    is working for less no. of analyst).
    Surprisingly when I access this ejb, by deploying it on my local server instance
    on Win-NT, it works fine. I am getting this
    exception, when the server is running on Sun Solaris.
    The weblogic version is 5.1.
    It will be really helpful if someone can reply to mee ASAP
    Thanks.
    Suren.

    Thanks a lot guys for all that information.
    Rajesh Mirchandani <[email protected]> wrote:
    Suren,
    More info at
    http://edocs.bea.com/wls/docs60/faq/java.html#251197
    Rob Woollen wrote:
    The quick fix is probably to use the -Xss argument on the Solaris JVMto increase the
    thread stack size.
    -- Rob
    Suren wrote:
    Thanks for your quick response.
    But how do we overcome with this?
    I tried to look for some help with this, but if you have any idea,
    can you suggest
    something ?
    Thanks
    Suren.
    Rob Woollen <[email protected]> wrote:
    It looks like the stack is overflowing when your DOM Tree is being
    serialized.
    Perhaps the Solaris JVM has a lower stack size by default.
    -- Rob
    Suren wrote:
    Hello,
    I hope someone can help me with this.
    I have a stateless session bean, which is returning a
    org.w3c.dom.Document object. The whole object is getting created
    but at the client side I am getting the following exception:
    java.rmi.RemoteException: ; nested exception is:
    weblogic.rmi.ServerError: A RemoteException occurred in
    the
    server method
    - with nested exception:
    [java.lang.StackOverflowError:
    Start server side stack trace:
    java.lang.StackOverflowError
    at java.lang.Exception.<init>(Compiled Code)
    at java.lang.reflect.InvocationTargetException.<init>(InvocationTargetEx
    ception.java:58)
    at java.lang.reflect.Method.invoke(Native Method)
    at java.lang.reflect.Method.invoke(Compiled Code)
    at java.io.ObjectOutputStream.invokeObjectWriter(Compiled
    Code)
    at java.io.ObjectOutputStream.outputObject(Compiled Code)
    at java.io.ObjectOutputStream.writeObject(Compiled Code)
    at java.io.ObjectOutputStream.outputClassFields(CompiledCode)
    at java.io.ObjectOutputStream.defaultWriteObject(CompiledCode)
    Then multiple occurences of the last few lines followed by
    at org.apache.xerces.dom.ParentNode.writeObject(CompiledCode)
    at java.lang.reflect.Method.invoke(Native Method)
    at java.lang.reflect.Method.invoke(Compiled Code)
    at java.io.ObjectOutputStream.invokeObjectWriter(CompiledCode)
    at java.io.ObjectOutputStream.outputObject(Compiled Code)
    at java.io.ObjectOutputStream.writeObject(Compiled Code)
    at java.io.ObjectOutputStream.outputClassFields(CompiledCode)
    at java.io.ObjectOutputStream.defaultWriteObject(CompiledCode)
    at org.apache.xerces.dom.ParentNode.writeObject(CompiledCode)
    at java.lang.reflect.Method.invoke(Native Method)
    at java.lang.reflect.Method.invoke(Compiled Code)
    at java.io.ObjectOutputStream.invokeObjectWriter(CompiledCode)
    at java.io.ObjectOutputStream.outputObject(Compiled Code)
    at java.io.ObjectOutputStream.writeObject(Compiled Code)
    at weblogic.common.internal.WLObjectOutputStreamBase.writeObject(Compiled
    Code)
    at weblogic.common.internal.WLObjectOutputStreamBase.writeSpecial(Compiled
    Code)
    at weblogic.common.internal.WLObjectOutputStreamBase.writeObject(Compiled
    Code)
    at weblogic.common.internal.WLObjectOutputStreamBase.writeObjectWL(Compiled
    Code)
    at weblogic.rmi.extensions.AbstractOutputStream2.writeObject(Compiled
    Code)
    at com.ssmb.teams.model.CMSInterestDataEJBEOImpl_WLSkel.invoke(Compiled
    Code)
    at weblogic.rmi.extensions.BasicServerObjectAdapter.invoke(CompiledCode
    at weblogic.rmi.extensions.BasicRequestHandler.handleRequest(Compiled
    Code)
    at weblogic.rmi.internal.BasicExecuteRequest.execute(CompiledCode)
    at weblogic.kernel.ExecuteThread.run(Compiled Code)
    End server side stack trace
    at weblogic.rmi.extensions.AbstractRequest.sendReceive(AbstractRequest.j
    ava:76)
    at com.ssmb.teams.model.CMSInterestDataEJBEOImpl_WLStub.getRegionAnalyst
    Data(CMSInterestDataEJBEOImpl_WLStub.java:558)
    at com.ssmb.teams.model.CMSInterestDataEJBEOImpl_ServiceStub.getRegionAn
    alystData(CMSInterestDataEJBEOImpl_ServiceStub.java, Compiled
    Code)
    at CMSJavaScript.main(CMSJavaScript.java:87)
    The structure of the XML document is
    <Maillist>
    <Region>
    <RegionCode>7</RegionCode>
    <RegionName>Asia Pacific</RegionName>
    <Analyst>
    <Id>11111</Id>
    <Name>AAAAAAAAAAAAAAAAA</Name>
    </Analyst>
    <Analyst>
    <Id>22222</Id>
    <Name>BBBBBBBBBBBBBBBBBB</Name>
    </Analyst>
    </Region>
    </Maillist>
    If the no. of Anlayst elements are 219, I am getting this error( the
    same thing
    is working for less no. of analyst).
    Surprisingly when I access this ejb, by deploying it on my local
    server
    instance
    on Win-NT, it works fine. I am getting this
    exception, when the server is running on Sun Solaris.
    The weblogic version is 5.1.
    It will be really helpful if someone can reply to mee ASAP
    Thanks.
    Suren.

Maybe you are looking for

  • How to add an SAP distribution list to transport?

    Hi All, I have created a shared distribution list in SAP using SO15. Can anyone suggest me how to add this list to a transport? or I need to create this in each environment. Please suggest on this issue. Thanks in advance Prady

  • Oracle Application Server 10g Release 1 and JDeveloper 10.1.3.2.0

    Hi, One my client have Oracle Application Server 10g Release 1. Can I do development in JDeveloper 10.1.3.2.0 using ADF and then deploy it on OAS 10g R1. If can what I should look for so that it can be as smooth as possible. Regards, Raj www.oraclebr

  • Previous Photos In Messages Not Showing (Blue Question Mark)

    Previous Photos In Messages Not Showing (Blue Question Mark) iPhone 4s, updated to iOS 8.1.1, and now previous photos in messages (imessage & text) show as blue question mark. Not viewable in details (view) either. However any new photos sent or rece

  • Customizing Date Formats in PSE 7 on Vista 64

    I've just installed PSE 7 on Vista 64 SP1 (previously I was running it on XP SP1. It seems to work very well but I now find I'm unable to customize the date format the way I like it ("Sun 11 Jan 2009"). Previously I'd used the trick of creating a DWo

  • LR needs to change its method of displaying previews

    Loving Lightroom 1.0 so far, but one very important thing has not changed since beta 4.1: In every module *save for* Develop module, LR will still typically only display the 'standard preview' which may or may not suck depending on whether or not you