2 Replies Latest reply on Dec 10, 2011 2:40 AM by gcebala

    java.lang.ExceptionInInitializerError- AS7

    gcebala

      Hi,

           I deployed  my application in a standalone server with AS7.0.2. When i launch  the SAP hit part in my application i got the below error. But the same has worked in my local machine(AS7.0.2) with out any issues. I remember when i face the same error in jboss 4.0.3 i resolved the same by adding librfccm.so,libsapjcorfc.so files in the location jboss-4.0.3SP1\server\default\lib of standalone server. But i dont know where to add the .so files in Jboss 7.0.2. Can you please help me with this or give me any alternate to fix the issue.

       

       

       

      19:37:00,563 ERROR [stderr] (http--0.0.0.0-8080-5) javax.servlet.ServletException: java.lang.reflect.InvocationTargetException

      19:37:00,564 ERROR [stderr] (http--0.0.0.0-8080-5)      at org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:545)

      19:37:00,564 ERROR [stderr] (http--0.0.0.0-8080-5)      at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:486)

      19:37:00,564 ERROR [stderr] (http--0.0.0.0-8080-5)      at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)

      19:37:00,565 ERROR [stderr] (http--0.0.0.0-8080-5)      at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)

      19:37:00,565 ERROR [stderr] (http--0.0.0.0-8080-5)      at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)

      19:37:00,565 ERROR [stderr] (http--0.0.0.0-8080-5)      at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)

      19:37:00,565 ERROR [stderr] (http--0.0.0.0-8080-5)      at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)

      19:37:00,566 ERROR [stderr] (http--0.0.0.0-8080-5)      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)

      19:37:00,566 ERROR [stderr] (http--0.0.0.0-8080-5)      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)

      19:37:00,566 ERROR [stderr] (http--0.0.0.0-8080-5)      at com.caritor.ipts.utility.generic.IPTSFilter.doFilter(IPTSFilter.java:144)

      19:37:00,566 ERROR [stderr] (http--0.0.0.0-8080-5)      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)

      19:37:00,567 ERROR [stderr] (http--0.0.0.0-8080-5)      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)

      19:37:00,567 ERROR [stderr] (http--0.0.0.0-8080-5)      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)

      19:37:00,567 ERROR [stderr] (http--0.0.0.0-8080-5)      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)

      19:37:00,567 ERROR [stderr] (http--0.0.0.0-8080-5)      at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:139)

      19:37:00,568 ERROR [stderr] (http--0.0.0.0-8080-5)      at org.jboss.as.web.NamingValve.invoke(NamingValve.java:57)

      19:37:00,568 ERROR [stderr] (http--0.0.0.0-8080-5)      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:154)

      19:37:00,568 ERROR [stderr] (http--0.0.0.0-8080-5)      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

      19:37:00,569 ERROR [stderr] (http--0.0.0.0-8080-5)      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

      19:37:00,569 ERROR [stderr] (http--0.0.0.0-8080-5)      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362)

      19:37:00,569 ERROR [stderr] (http--0.0.0.0-8080-5)      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)

      19:37:00,569 ERROR [stderr] (http--0.0.0.0-8080-5)      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:667)

      19:37:00,570 ERROR [stderr] (http--0.0.0.0-8080-5)      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:952)

      19:37:00,570 ERROR [stderr] (http--0.0.0.0-8080-5)      at java.lang.Thread.run(Thread.java:662)

      19:37:00,570 ERROR [stderr] (http--0.0.0.0-8080-5) Caused by: java.lang.reflect.InvocationTargetException

      19:37:00,571 ERROR [stderr] (http--0.0.0.0-8080-5)      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      19:37:00,571 ERROR [stderr] (http--0.0.0.0-8080-5)      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

      19:37:00,571 ERROR [stderr] (http--0.0.0.0-8080-5)      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      19:37:00,571 ERROR [stderr] (http--0.0.0.0-8080-5)      at java.lang.reflect.Method.invoke(Method.java:597)

      19:37:00,572 ERROR [stderr] (http--0.0.0.0-8080-5)      at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:252)

      19:37:00,572 ERROR [stderr] (http--0.0.0.0-8080-5)      at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:198)

      19:37:00,572 ERROR [stderr] (http--0.0.0.0-8080-5)      at com.caritor.ipts.controller.RAProcess.RAProjectWiseViewAction.performAction(RAProjectWiseViewAction.java:142)

      19:37:00,572 ERROR [stderr] (http--0.0.0.0-8080-5)      at com.caritor.ipts.controller.common.BaseAction.execute(BaseAction.java:71)

      19:37:00,573 ERROR [stderr] (http--0.0.0.0-8080-5)      at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)

      19:37:00,573 ERROR [stderr] (http--0.0.0.0-8080-5)      ... 22 more

      19:37:00,574 ERROR [stderr] (http--0.0.0.0-8080-5) Caused by: java.lang.ExceptionInInitializerError: JCO.classInitialize(): Could not load middleware layer 'com.sap.mw.jco.rfc.MiddlewareRFC'

      19:37:00,574 ERROR [stderr] (http--0.0.0.0-8080-5) no sapjcorfc in java.library.path

      19:37:00,574 ERROR [stderr] (http--0.0.0.0-8080-5)      at com.sap.mw.jco.JCO.<clinit>(Unknown Source)

      19:37:00,574 ERROR [stderr] (http--0.0.0.0-8080-5)      at com.caritor.ipts.utility.database.sap.Sap_Connection_Provider.Connect(Sap_Connection_Provider.java:73)

      19:37:00,575 ERROR [stderr] (http--0.0.0.0-8080-5)      at com.caritor.ipts.dao.RAProcess.RAProcessDAO.fetchDetails(RAProcessDAO.java:751)

      19:37:00,575 ERROR [stderr] (http--0.0.0.0-8080-5)      at com.caritor.ipts.business.service.RAProcess.RAProjectWiseViewService.fetchDetails(RAProjectWiseViewService.java:160)

      19:37:00,575 ERROR [stderr] (http--0.0.0.0-8080-5)      at com.caritor.ipts.business.delegate.RAProcess.RAProjectWiseViewDelegate.fetchDetails(RAProjectWiseViewDelegate.java:169)

      19:37:00,575 ERROR [stderr] (http--0.0.0.0-8080-5)      at com.caritor.ipts.controller.RAProcess.RAProjectWiseViewAction.fetchProjects(RAProjectWiseViewAction.java:475)

      19:37:00,576 ERROR [stderr] (http--0.0.0.0-8080-5)      ... 31 more