[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.

Similar Messages

  • 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. :( :(

  • 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.

  • 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.

  • 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

  • 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

  • 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)

  • 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

  • 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

  • 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

  • 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

  • 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

  • Need help (java.lang.RuntimeException: Unknown/unsupported charset:)

    Hi,
    Previously our application is running fine in
    iPlanet web server 4 and some times in Tomcat. Now we
    are migrating this application to weblogic 8.1 due to
    some load.
    After migrating to weblogic 8.1 we are getting some
    exception.
    The exception is:
    Servlet failed with Exception
    java.lang.RuntimeException: Unknown/unsupported
    charset: - java.io.UnsupportedEncodingException:
    Charset: '' not recognized, and there is no alias for
    it in the WebServerMBean
    at
    weblogic.servlet.jsp.JspParser.parse(JspParser.java:288)
    at
    weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:125)
    In my Jsp page we have top declarations like in the
    below:
    <%@ include file="header.jsp" %>
    <%@ page import="com.customer.customercare.servlet.*"
    %>
    <%@ page import="com.customer.customercare.types.*" %>
    <%@ page import="com.customer.customercare.search.*"
    %>
    <%@ page import="com.customer.customercare.utils.*" %>
    <%@ page import="com.customer.customercare.log.*"%>
    <%@ page import="java.util.Date" %>
    <%@ page import="com.customer.customercare.utils.*" %>
    <%@ page
    import="com.customer.customercare.servlet.handler.*"
    %>
    <%@ page import="java.sql.Timestamp"%>
    <%@ page import="java.text.SimpleDateFormat"%>
    <%@ page import="java.util.StringTokenizer"%>
    <%@ page import="java.util.Calendar"%>
    We are not using any charter sets in the above page
    directory but we are using that in a meta tag:
    <meta http-equiv="Content-Type" content="text/html;
    charset=ISO-8859-1">
    This might cause any problem?
    I tried charset=UTF-8, windows-1252 and UTF-16. But i
    am getting the same error.
    The thing is i am not getting this error from the JSP
    page. This jsp page calls a java class, that java
    class has a prepared statement. When the prepared
    statement is executed or before execution, this error is thrown on weblogic console. That
    error is not related to SQL.
    I think "charset" exception means it should come in JSP only. But i don't know why it is coming in the java class? i am confused?
    I don't know why exactly that error is coming...?
    My application is compiled in JDK1.3.1_08 and running
    in weblogic 8.1 which internally uses JDK1.4. Is this
    because of version problem?
    I am creating the .war file from the command prompt
    which path is set to JDK1.3.1_08...
    Can anybody help me out in this problem?
    Thanks and Regards,
    Chandu.

    Hi,
              For this issue,The CR was filed in weblogic 8.1 sp2
              go through the link, you will find CR information in link.
              http://e-docs.bea.com/wls/docs81/notes/resolved_sp02.html#1390392
              -----Anilkumar kari

  • Help:java.lang.ClassNotFoundException

    we have one application.We are calling ejb through applet.
    We have sybase EAServer3.6.1 and jaguar 3.6.1.Java code is in jdk118 and ejb1.0.
    Our architacture is: applet<->ejb<->server.
    Our ejb is deployed on server.That we are calling our ejb through applet.Whole code for applet and ejb is lying on server.When we run our application through browser from different m/c we are getting two errors.
    1)com.ms.security.SecurityExceptionEx.
    2)powersoft.powerj.jaguar.InitialContextException: javax.naming lookup failed for component: HelloEJBPackage/HelloEJB
    Exception: [Root exception is [Root exception is java.lang.ClassNotFoundException: java.rmi.Remote]javax.naming.NamingException]javax.naming.NamingException.
    When I set classpath on each m/c.
    i.e (c:/prog/sybase/shard/sun/jdk118/lib/classes.zip) my application is running fine it just gives warning for securiety not for lookup method failed.
    Our system is in production.We can not make setting for individual clients.We need our applet should take classes from server not from client m/c.
    Can anybody help me to solve this problem?

    If the client is created using powerj, pl cross verify the code for the lookup() in the client with component properties in the jaguar server.
    check the component properties , in the installed packages of the jaguarCTS , under jaguar manager of the sybase central java edition.
    kar

  • URGENT- PLEASE HELP: java.lang.threads and BC4J

    Hi,
    according to my issue "no def found for view" in the same titled thread I'm wondering how you would implement asynchronous calls of methods that use BC4J to update a couple of data.
    To be more precise:
    A requirement of our software is to start an update database job, which can take a couple of minutes/hours, from the web browser. Before it will be executed the logged-in user receives a notification that this batch job has been started.
    I dont't want to use JMS overhead and MD Beans for this simple requirement, therefore I implemented a class that extends java.lang.Thread and put all the update codings within the run method. After having called the start-method of the thread I get a JBO-25022(No XML file found) error when I try to set a new value for an attribute of the row. The row consists of attributes which belong to four entity objects that mus be updated.
    When calling the run method directly, everything works fine.
    My questions:
    * do you know any workaround how to make the xml files
    reachable?
    * how would you implement anschronous calls of long time-
    consuming jobs?
    * is this a bug of BC4J?
    Any help, tip, hint is really appreciated.
    Stefan

    Arno,
    many thanks for your reply:
    Here is an excerpt of the source code of my thread "Aenderungsdienst":
    public class Aenderungsdienst extends java.lang.Thread
    private SviAdministrationModuleImpl mSviModul;
    // Application module that contains view object
    // IKViewImpl
    public Aenderungsdienst(SviAdministrationModuleImpl aSviModul)
    mSviModul = aSviModul;
    public void run()
    ausfuehrenAenderungsdienst(mAenderungsdienstNr); <--error within this methode
    private int ausfuehrenAenderungsdienst(String aAenderungsdienstNr)
    int rAnzahlSaetze = 0;
    try
    IkViewImpl aenderungen = mSviModul.getIkView();
    aenderungen.suchenAenderungssaetze(aAenderungsdienstNr); <-- method within View Object Impl that executes a query with customized where-clauses
    if ((rAnzahlSaetze = aenderungen.getRowCount()) > 0)
    IkViewRowImpl ik = null;
    while (aenderungen.hasNext())
    ik = (IkViewRowImpl) aenderungen.next();
    ik.setBestandsstatus("B"); <-- error occurs here when setting the status of a current row in my rowset to "B"
    mSviModul.getTransaction().postChanges();
    mSviModul.getTransaction().commit();
    catch (Exception e)
    e.printStackTrace();
    mSviModul.getTransaction().rollback();
    //todo: Verarbeitungsprotokoll erstellen
    return rAnzahlSaetze;
    This thread will be called by the application module "sviAdministrationModuleImpl":
    public void ausfuehrenAenderungsdienst(String
    aAenderungsdienstNr)
    Aenderungsdienst aenderungsdienst = new
    Aenderungsdienst(this);
    aenderungsdienst.setAenderungsdienstNr
    (aAenderungsdienstNr);
    aenderungsdienst.start();
    Using the start() method of the thread causes this exception:
    [653] No xml file: /hvbg/svi/model/businessobjects/businessobjects.xml, metaobj = hvbg.svi.model.businessobjects.businessobjects
    [654] Cannot Load parent Package : hvbg.svi.model.businessobjects.businessobjects
    [655] Business Object Browsing may be unavailable
    [656] No xml file: /hvbg/svi/model/businessobjects/IK_Inlandsbankverb.xml, metaobj = hvbg.svi.model.businessobjects.IK_Inlandsbankverb
    09.03.2004 10:27:41 hvbg.common.businessobjects.HvbgEntityImpl setAttributeInternal
    SCHWERWIEGEND: Fehler beim Setzen des Attributs 1 im Entity Objekt: JBO-25002: Definition hvbg.svi.model.businessobjects.IK_Inlandsbankverb vom Typ Entitätszuordnung nicht gefunden.
    09.03.2004 10:27:42 hvbg.svi.model.dienste.Aenderungsdienst ausfuehrenAenderungsdienst
    SCHWERWIEGEND: Beim Ausführen des Aenderungsdienstes 618 trat während der DB-Aktualisierung ein schwerer Fehler auf:
    JBO-25002: Definition hvbg.svi.model.businessobjects.IK_Inlandsbankverb vom Typ Entitätszuordnung nicht gefunden.
    oracle.jbo.NoDefException: JBO-25002: Definition hvbg.svi.model.businessobjects.IK_Inlandsbankverb vom Typ Entitätszuordnung nicht gefunden.
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:328)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:268)
         at oracle.jbo.server.MetaObjectManager.findMetaObject(MetaObjectManager.java:649)
         at oracle.jbo.server.EntityAssociation.findEntityAssociation(EntityAssociation.java:98)
         at oracle.jbo.server.AssociationDefImpl.resolveEntityAssociation(AssociationDefImpl.java:725)
         at oracle.jbo.server.AssociationDefImpl.getEntityAssociation(AssociationDefImpl.java:135)
         at oracle.jbo.server.AssociationDefImpl.hasContainer(AssociationDefImpl.java:546)
         at oracle.jbo.server.AssociationDefImpl.getContainer(AssociationDefImpl.java:468)
         at oracle.jbo.server.EntityImpl.getContainer(EntityImpl.java:1573)
         at oracle.jbo.server.EntityImpl.setValidated(EntityImpl.java:1649)
         at oracle.jbo.server.EntityImpl.setAttributeValueInternal(EntityImpl.java:2081)
         at oracle.jbo.server.EntityImpl.setAttributeValue(EntityImpl.java:1985)
         at oracle.jbo.server.AttributeDefImpl.set(AttributeDefImpl.java:1700)
         at oracle.jbo.server.EntityImpl.setAttributeInternal(EntityImpl.java:946)
         at hvbg.common.businessobjects.HvbgEntityImpl.setAttributeInternal(HvbgEntityImpl.java:56)
         at hvbg.svi.model.businessobjects.IKImpl.setBestandsstatus(IKImpl.java:174)
         at hvbg.svi.model.businessobjects.IKImpl.setAttrInvokeAccessor(IKImpl.java:770)
         at oracle.jbo.server.EntityImpl.setAttribute(EntityImpl.java:859)
         at oracle.jbo.server.ViewRowStorage.setAttributeValue(ViewRowStorage.java:1108)
         at oracle.jbo.server.ViewRowStorage.setAttributeInternal(ViewRowStorage.java:1019)
         at oracle.jbo.server.ViewRowImpl.setAttributeInternal(ViewRowImpl.java:1047)
         at hvbg.svi.model.dataviews.IkViewRowImpl.setBestandsstatus(IkViewRowImpl.java:264)
         at hvbg.svi.model.dienste.Aenderungsdienst.ausfuehrenAenderungsdienst(Aenderungsdienst.java:337)
         at hvbg.svi.model.dienste.Aenderungsdienst.run(Aenderungsdienst.java:290)
    Using run(), everything works perfectly.
    The view object IKView consists of four entity objects which are linked by associations. There exists an association between the entity objects ik and inlandbankverb. The xml-file for the association object is named "ik_inlandsbankverb.xml". It seems so that this definition could not be found when calling my thread in asynchronous (via start()-method call) mode.
    Is this a bug of JDeveloper?
    Thanks in advance,
    Stefan

Maybe you are looking for

  • Mass change in Vendor & Customer Master

    Hi All, Is there any Mass change available in Vendor & Customer Master? Thanks Pankaj Garg

  • HOW CAN I SEND A TABLE TO A TEXT FILE

    Hi,       I have a table with a lot of values , and i need to transfer this table to a text file (.txt) , without lose the position of this values in that table .Someone can help me with this?  Thx   Solved! Go to Solution.

  • Purchasing a 2011 refurb iMac vs new 2012

    I am in the market for a desktop and could use some assistance.  I have been researching refurbished iMac for the past 4 months and watching the inventory on the store.  I have been mainly targeting the 21" iMac 1TB at the $1,189 price point.  After

  • Reversal remained in open item

    Hi consultant, i did an accrual posting and reverse it the following month. i notice accrual account not set off automatically but still remained in open item. why? can i say all manual reversal posting will remain in open item? unless we use FB08 to

  • Facebook plug-in error in LR4.

    When I try to edit settings in the FB plug-in, I get this message: "the plug-in had an internal error". HELP, PLEASE!!!