on 02-13-2006 11:32 AM
Hi,
I am creating a j2ee service (Java Proxies as Sender) with NWDS.
I want use it in a java->XI-> file scenario (async.).
When I try to deploy the service, I receive an error.
I already create a Java Proxies as Receiver and i deploy in J2EE server a sdn example too, but without problem.
Only in this case...
I check all xml configuration file but.... all is like to deployable project.
Here the error
06/02/13 11:25:23 - Start updating EAR file...
06/02/13 11:25:23 - start-up mode is lazy
06/02/13 11:25:25 - EAR file updated successfully for 2196ms.
06/02/13 11:25:25 - Start deploying ...
06/02/13 11:25:35 - EAR file uploaded to server for 9129ms.
06/02/13 11:25:50 - ERROR: Not deployed. Deploy Service returned ERROR:
java.rmi.RemoteException: Cannot deploy application sap.com/eapProxyPrototype..
Reason: Webservices common deployment exception! The reason is: Error occurred,
trying to collect module archives with ws clients. . Additional info: none; nested exception is:
java.lang.Exception:
com.sap.engine.interfaces.webservices.server.deploy.WSDeploymentException: Webservices common
deployment exception! The reason is: Error occurred, trying to collect module archives with ws clients.
. Additional info: none
at
com.sap.engine.services.webservices.server.deploy.wsclient.WSClientsDeployManager.collectWSClientsModul
eArchives(WSClientsDeployManager.java:374)
at
com.sap.engine.services.webservices.server.deploy.wsclient.WSClientsDeployManager.deploy(WSClientsDeplo
yManager.java:56)
at
com.sap.engine.services.webservices.server.deploy.WSDeployer.deploy(WSDeployer.java:158)
at
com.sap.engine.services.deploy.server.application.DeploymentTransaction.makeComponents(DeploymentTransa
ction.java:606)
at
com.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransacti
on.java:387)
at
com.sap.engine.services.deploy.server.application.DeploymentTransaction.begin(DeploymentTransaction.jav
a:307)
at
com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(Appli
cationTransaction.java:290)
Regards
Alessandro
Channel for Java Proxy Receivers is not my case.
I work with a case where java is a sender.
Anyway, now depoly work, but when i run java class that call proxy i obtain the following message:
any suggestion?
java.lang.NoClassDefFoundError: com/sap/tc/logging/LogController
at com.sap.engine.services.security.exceptions.BaseLoginException.<init>(BaseLoginException.java:82)
at com.sap.engine.services.security.remote.login.RemoteLoginContext.<init>(RemoteLoginContext.java:98)
at com.sap.engine.services.jndi.implclient.LoginHelper.clientSideLogin(LoginHelper.java:78)
at com.sap.engine.services.jndi.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:402)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
at javax.naming.InitialContext.init(InitialContext.java:219)
at javax.naming.InitialContext.<init>(InitialContext.java:195)
at JavaProxyCall.main(JavaProxyCall.java:50)
Exception in thread "main" count = 0, total = 11
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
When you test with a local Java class, you need to add a lot of libraries. Here some that I found with SP14:
From the XI:
aii_adapter_xi_svc.jar, aii_af_cci.jar, aii_af_cpa.jar, aii_af_mp.jar, aii_af_ms_api.jar, aii_af_ms_spi.jar, aii_af_service_message_security.jar,
aii_af_trace.jar, aii_msg_runtime.jar, aii_proxy_xirt.jar, aii_utilxi_misc.jar
From the J2EE client jars (\usr\sap\<SID>\JC00\j2ee\j2eeclient\signed):
ejb20.jar, exception.jar, guidgenerator.jar, jARM.jar, jperflib.jar, jta.jar, log_api.jar, logging.jar, sapj2eeclient.jar, sapni.jar, sapxmltoolkit.jar
Regards
Stefan
Hi Alessandro,
Have a look at this. It may help you.
http://help.sap.com/saphelp_nw04/helpdata/en/5b/12b7e6a466456aa71ef852af033b34/content.htm
Thanks and Regards
Vishal Kumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.