We have Installed JPR on a local m/c and copied dbconnect.properties,technicalID.properties,jpf.properties
under <J2EE_server> directory ( C:\usr\sap\J2EE0\cluster\server)
when we run Java Proxies Generated by XI from local m/c we get the following error:
*********************************************************
JPF loadProfileProperties() - Could not access Exchange Profile: java.lang.ExceptionInInitializerError: JCO.classInitialize(): Could not load middleware layer 'com.sap.mw.jco.rfc.MiddlewareRFC'
default_cpc_mode
at com.sap.mw.jco.JCO.<clinit>(Unknown Source)
at com.sap.rprof.dbprofiles.AbapConnect.createJcoClientInstance(AbapConnect.java:432)
at com.sap.rprof.dbprofiles.RemoteProfile.getRemoteProfile(RemoteProfile.java:127)
at com.sap.rprof.dbprofiles.ExchangeProfile.getExchangeProfile(ExchangeProfile.java:52)
at com.sap.aii.proxy.framework.core.XmlInboundServer.loadProfileProperties(XmlInboundServer.java:844)
at com.sap.aii.proxy.framework.core.XmlInboundServer.loadProperties(XmlInboundServer.java:716)
at com.sap.aii.proxy.framework.core.XmlInboundServer.getProperties(XmlInboundServer.java:661)
at com.sap.aii.proxy.framework.core.XmlInboundServer.getProperty(XmlInboundServer.java:696)
at com.sap.aii.proxy.framework.core.XmlInboundServer.initLogging(XmlInboundServer.java:560)
at com.sap.aii.proxy.framework.core.XmlProxy.send(XmlProxy.java:70)
at com.sap.aii.proxy.framework.core.AbstractProxy$XmlProxyHelper.send(AbstractProxy.java:183)
at com.sap.aii.proxy.framework.core.AbstractProxy.send$(AbstractProxy.java:144)
at com.valero.sd.customer.GetCustomerOutbound_PortType1.getCustomerOutbound(GetCustomerOutbound_PortType1.java:33)
at jsp_hello1083772756573._jspService(jsp_hello1083772756573.java:41)
at com.inqmy.services.servlets_jsp.server.jsp.JSPServlet.service(JSPServlet.java:304)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.inqmy.services.servlets_jsp.server.RunServlet.runSerlvet(RunServlet.java:147)
at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.startServlet(ServletsAndJspImpl.java:789)
at com.inqmy.services.httpserver.server.RequestAnalizer.checkFilename(RequestAnalizer.java:644)
at com.inqmy.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:305)
at com.inqmy.services.httpserver.server.Response.handle(Response.java:165)
at com.inqmy.services.httpserver.server.HttpServerFrame.request(HttpServerFrame.java:1133)
at com.inqmy.core.service.context.container.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:36)
at com.inqmy.core.cluster.impl0.ParserRunner.run(ParserRunner.java:35)
at com.inqmy.core.thread.impl0.ActionObject.run(ActionObject.java:46)
at java.security.AccessController.doPrivileged(Native Method)
at com.inqmy.core.thread.impl0.SingleThread.run(SingleThread.java:132)
Done.
*********************************************************
Any suggestions?
Thanks,
Praveen
Hi!!!
Have you added libraries from Proxy Runtime to your classpath?
rem for example
set JPR_HOME=C:\proxy_runtime
set CLASSPATH=%CLASSPATH%;.
set CLASSPATH=%CLASSPATH%;%JPR_HOME%\aii_msg_runtime.jar
set CLASSPATH=%CLASSPATH%;%JPR_HOME%\aii_proxy_xirt.jar
set CLASSPATH=%CLASSPATH%;%JPR_HOME%\aii_util_cimaccess.jar
set CLASSPATH=%CLASSPATH%;%JPR_HOME%\aii_util_misc.jar
set CLASSPATH=%CLASSPATH%;%JPR_HOME%\aii_util_rb.jar
set CLASSPATH=%CLASSPATH%;%JPR_HOME%\aii_util_xml.jar
set CLASSPATH=%CLASSPATH%;%JPR_HOME%\dbprofiles.jar
set CLASSPATH=%CLASSPATH%;%JPR_HOME%\inqmyxml.jar
set CLASSPATH=%CLASSPATH%;%JPR_HOME%\lcrclient.jar
set CLASSPATH=%CLASSPATH%;%JPR_HOME%\logging.jar
set CLASSPATH=%CLASSPATH%;%JPR_HOME%\messaging.jar
set CLASSPATH=%CLASSPATH%;%JPR_HOME%\sapjco.jar
set CLASSPATH=%CLASSPATH%;%JPR_HOME%\SAPmdi.jar
set CLASSPATH=%CLASSPATH%;%JPR_HOME%\tc_sec_api.jar
set CLASSPATH=%CLASSPATH%;%JPR_HOME%\tc_sec_core.jar
Regards,
Mariusz
Add a comment