Skip to Content
avatar image
Former Member

Deployment of .jar in .rar in .ear

Hi, was wondering what is the difference between deploying using NetWeaver and using Deployment Tool? Secondly, when I tried deploying using Deplyment tool of my .rar file within an .ear file, I got this error

ERROR: Not deployed. Deploy Service returned ERROR:

java.rmi.RemoteException: Cannot deploy application sap.com/MyProgram..

Reason: Cannot access methods of instance of class "com.xxx.spi.AdapterManagedConnectionFactory". Possible reasons: the class is not public and is in another package, the current method does not have access to the appropriate zero-argument constructor or there is no such method.; nested exception is:

com.sap.engine.services.deploy.container.DeploymentException: <--Localization failed: ResourceBundle='com.sap.engine.services.deploy.DeployResourceBundle', ID='com.sap.engine.services.connector.exceptions.BaseDeploymentException: Cannot access methods of instance of class "com.doterp.jca.sap.spi.AdapterManagedConnectionFactory". Possible reasons: the class is not public and is in another package, the current method does not have access to the appropriate zero-argument constructor or there is no such method.

The deployed class does have a zero-argument constructor, so what else am I missing here? Thanks.

Jonathan

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Nov 29, 2005 at 01:56 PM

    Hi Jonathan,

    the deployment tool is just an old relic that we could not get rid of as it does some things that the other tools don't do. Especially deploy .rar files for example.

    I recommend doing it like described in the manualshttp://help.sap.com/saphelp_nw04/helpdata/en/images/locate.gif">manuals>

    Hope that helps,

    Benny

    Add comment
    10|10000 characters needed characters exceeded