Skip to Content

Unable to create User in Visual Admin

Hi

i am trying to follow the tutorial 'Accessing BAPIs Using the SAP Java Resource Adapter' available in SDN. I got stcu k in one place. I am not able to create a User.

I went to Security Provider > User Management and clicked on 'Create User'. I gave my R/3 IDES user Id and Password. But it gives me a message saying 'Unable to create the User'. I have Full J2EE_ADMIN rights to my Portal. i skipped that and continued deploying things. I finally tried accessing the page using

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/ad09cd07-0a01-0010-93a9-933e247d3ba4

http://localhost:50000/jrademos/servlet/bookyourflight

I got the following Message :

Bean FlightCustomer returned error message: Connection to ABAP System could not be opened, because lookup for Connection Factory failed with error "Exception during lookup operation of object with name ejbContexts/sap.com/FlightBookingEar/sap.com/FlightBookingEar/FlightCustomerBean/java:comp/env/eis/SAPJRADemoFactory, cannot resolve object reference.". Please check, if you have deployed a Connection Factory of the Java Resource Adapter with JNDI name eis/SAPJRADemoFactory.

I again checked my Visual Admin > Services > Conector Container> sap.com/SAPJRADemo. Under this root there was a blue icon eis/SAPJRAFactory. I hope this is working.But in the exception i saw it searching for "eis/SAPJRADemoFactory". Also under Managed Caonection factory > Properties, I created entries for Language,UserName,ServerName,SAPClient and Password for my ECC system.

I used the DeployTool and created a new project.Under seployer > Server settings > Indentity Subjects, i chose Caller Impersonation.

Please help me out.

Murali

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • Best Answer
    avatar image
    Former Member
    May 05, 2006 at 01:02 PM

    Actual error is this one:

    Caused by: java.lang.NoSuchMethodException: com.sap.mw.jco.jra.JRA$ManagedConnectionFactoryImpl.setPortNumber(<b>java.lang.Byte</b>)

    Make sure in deploy tool the type of PortNumber field is java.lang.String then save and try deployment again.

    Add comment
    10|10000 characters needed characters exceeded

    • Thank you so much Myriana. I got it finally.

      I have closed the thread. One last question - What does this port number refer to ? Is it the System Number that we give in the SAP Logon pad details ?

      Thanks a Ton.

      Have a Gr8 Day.

      Regards,

      Murali.

  • avatar image
    Former Member
    May 05, 2006 at 10:26 AM

    Hi,

    The error you are getting means that eis/SAPJRADemoFactory, does not exist. This is true because your factory is actually called eis/SAPJRAFactory.

    What you need to do is deploy the sapjra.rar under the name eis/SAPJRADemoFactory. That is:

    1.Open sapjra.rar

    2.Extract connector-j2ee-engine.xml

    3.Modify <jndi-name>eis/SAPJRAFactory</jndi-name>

    to <jndi-name>eis/SAPJRADemoFactory</jndi-name>

    4.Put the xml back in the rar file

    5.Redeploy with deploy tool

    Greetings, Myriana

    Add comment
    10|10000 characters needed characters exceeded

    • Thanks Myriana. Almost There. Now i get this Error :

      Bean FlightCustomer returned error message: Connection to ABAP System could not be opened, because the Connection Factory returns "Couldn't create ManagedConnection with . {jco.client.passwd=****, jco.client.lang=EN, jco.client.client=800, jco.client.ashost=chn-mumsap03, jco.client.user=EPUSER, jco.client.type=A, jco.client.jra_conn=true}". Please check the connection defined for the Connection Factory of the Java Resource Adapter with JNDI name eis/SAPJRADemoFactory.

      Could this related to the fact that i was unable to create a User in Visual Admin ?

      Your Help would be highly Appreciated !!!

      Murali.

  • avatar image
    Former Member
    May 05, 2006 at 11:49 AM

    Hi,

    I think it is related to the fact that the user creation failed, yes. Try to create it again, as shown in the tutorial, but when you get the error message, look at the bottom of the Visual Admin screen, there will be a red exclamation mark. If you click it, you will get the detailed info why user can't be created.

    Paste this info here, if it's not something trivial.

    Myriana

    Add comment
    10|10000 characters needed characters exceeded

    • The USER was already created in my R/3 user. I was trying to create the same user again from Visual Admin. I didnt know how to read the Error Log also.

      This was this error :

      Unable to create the user!

      com.sap.security.core.server.userstore.UserstoreException: IUserAccount epuser does already exist

      at com.sap.security.core.server.userstore.UserContextUME.engineCreateUser(UserContextUME.java:303)

      at com.sap.engine.services.security.userstore.context.UserContext.createUser(UserContext.java:153)

      at com.sap.engine.services.security.userstore.RemoteUserContextImpl.createUser(RemoteUserContextImpl.java:54)

      at com.sap.engine.services.security.userstore.RemoteUserContextImplp4_Skel.dispatch(RemoteUserContextImplp4_Skel.java:290)

      at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:294)

      at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:183)

      at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:119)

      at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)

      at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)

      at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)

      at java.security.AccessController.doPrivileged(Native Method)

      at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:95)

      at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:160)

      -


      predecessor system -


      com.sap.security.core.server.userstore.UserstoreException: IUserAccount epuser does already exist

      at com.sap.security.core.server.userstore.UserContextUME.engineCreateUser(UserContextUME.java:303)

      at com.sap.engine.services.security.userstore.context.UserContext.createUser(UserContext.java:153)

      at com.sap.engine.services.security.userstore.RemoteUserContextImpl.createUser(RemoteUserContextImpl.java:54)

      at com.sap.engine.services.security.userstore.RemoteUserContextImplp4_Skel.dispatch(RemoteUserContextImplp4_Skel.java:290)

      at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:294)

      at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:183)

      at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:119)

      at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)

      at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)

      at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)

      at java.security.AccessController.doPrivileged(Native Method)

      at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:95)

      at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:160)

      So now we have narrowed down our problem.

      Here is the properties that i set Visual Admin > Services > Connector Container > Managed connection factory.

      Language EN

      Password ****

      SAPClient 800

      ServerName <ServerName>

      UserName <UserName>

      Should i give SAPPort or something else ?

      Murali

  • avatar image
    Former Member
    May 05, 2006 at 12:47 PM

    Hi,

    Try specifying the port as well, as shown in the tutorial. If this doesn't work look in server0/log/ in the newest default trace, for the complete error together with the trace and paste it here.

    Myriana

    Add comment
    10|10000 characters needed characters exceeded

    • The moment i added PortNumber, the icon changed RED in Visual Admin. So i went to Deploy tool and tried to redeploy everything.

      It gave me the following Error:

      Cannot deploy application sap.com/SAPJRADemo..

      Reason: Cannot access methods of instance of class "com.sap.mw.jco.jra.JRA$ManagedConnectionFactoryImpl". 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.sap.mw.jco.jra.JRA$ManagedConnectionFactoryImpl". 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.

      at com.sap.engine.services.connector.jca.deploy.DeployAdmin.instantiateMCF(DeployAdmin.java:1205)

      at com.sap.engine.services.connector.jca.deploy.ContainerImpl.makeUpdate(ContainerImpl.java:875)

      at com.sap.engine.services.deploy.server.application.UpdateTransaction.makeComponents(UpdateTransaction.java:390)

      at com.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:387)

      at com.sap.engine.services.deploy.server.application.UpdateTransaction.begin(UpdateTransaction.java:159)

      at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:290)

      at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:323)

      at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:3027)

      at com.sap.engine.services.deploy.server.DeployServiceImpl.update(DeployServiceImpl.java:683)

      at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:926)

      at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:294)

      at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:183)

      at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:119)

      at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)

      at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)

      at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)

      at java.security.AccessController.doPrivileged(Native Method)

      at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:95)

      at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:160)

      Caused by: java.lang.NoSuchMethodException: com.sap.mw.jco.jra.JRA$ManagedConnectionFactoryImpl.setPortNumber(java.lang.Byte)

      at java.lang.Class.getMethod(Class.java:986)

      at com.sap.engine.services.connector.jca.deploy.DeployAdmin.instantiateMCF(DeployAdmin.java:1185)

      ... 18 more

      ', Arguments: []--> : Can't find resource for bundle java.util.PropertyResourceBundle, key com.sap.engine.services.connector.exceptions.BaseDeploymentException: Cannot access methods of instance of class "com.sap.mw.jco.jra.JRA$ManagedConnectionFactoryImpl". 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.

      at com.sap.engine.services.connector.jca.deploy.DeployAdmin.instantiateMCF(DeployAdmin.java:1205)

      at com.sap.engine.services.connector.jca.deploy.ContainerImpl.makeUpdate(ContainerImpl.java:875)

      at com.sap.engine.services.deploy.server.application.UpdateTransaction.makeComponents(UpdateTransaction.java:390)

      at com.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:387)

      at com.sap.engine.services.deploy.server.application.UpdateTransaction.begin(UpdateTransaction.java:159)

      at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:290)

      at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:323)

      at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:3027)

      at com.sap.engine.services.deploy.server.DeployServiceImpl.update(DeployServiceImpl.java:683)

      at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:926)

      at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:294)

      at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:183)

      at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:119)

      at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)

      at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)

      at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)

      at java.security.AccessController.doPrivileged(Native Method)

      at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:95)

      at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:160)

      Caused by: java.lang.NoSuchMethodException: com.sap.mw.jco.jra.JRA$ManagedConnectionFactoryImpl.setPortNumber(java.lang.Byte)

      at java.lang.Class.getMethod(Class.java:986)

      at com.sap.engine.services.connector.jca.deploy.DeployAdmin.instantiateMCF(DeployAdmin.java:1185)

      ... 18 more

      Details:

      06/05/05 18:22:53 - ***********************************************************

      06/05/05 18:21:42 - Start updating archive file...

      06/05/05 18:21:42 - Archive file updated successfully for 16ms.

      06/05/05 18:21:42 - Start deploying ...

      06/05/05 18:21:43 - Archive file uploaded to server for 110ms.

      06/05/05 18:21:44 - ERROR: Not deployed. Deploy Service returned ERROR:

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

      Reason: Cannot access methods of instance of class "com.sap.mw.jco.jra.JRA$ManagedConnectionFactoryImpl". 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.sap.mw.jco.jra.JRA$ManagedConnectionFactoryImpl". 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.

      at com.sap.engine.services.connector.jca.deploy.DeployAdmin.instantiateMCF(DeployAdmin.java:1205)

      at com.sap.engine.services.connector.jca.deploy.ContainerImpl.makeUpdate(ContainerImpl.java:875)

      at com.sap.engine.services.deploy.server.application.UpdateTransaction.makeComponents(UpdateTransaction.java:390)

      at com.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:387)

      at com.sap.engine.services.deploy.server.application.UpdateTransaction.begin(UpdateTransaction.java:159)

      at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:290)

      at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:323)

      at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:3027)

      at com.sap.engine.services.deploy.server.DeployServiceImpl.update(DeployServiceImpl.java:683)

      at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:926)

      at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:294)

      at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:183)

      at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:119)

      at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)

      at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)

      at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)

      at java.security.AccessController.doPrivileged(Native Method)

      at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:95)

      at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:160)

      Caused by: java.lang.NoSuchMethodException: com.sap.mw.jco.jra.JRA$ManagedConnectionFactoryImpl.setPortNumber(java.lang.Byte)

      at java.lang.Class.getMethod(Class.java:986)

      at com.sap.engine.services.connector.jca.deploy.DeployAdmin.instantiateMCF(DeployAdmin.java:1185)

      ... 18 more

      ', Arguments: []--> : Can't find resource for bundle java.util.PropertyResourceBundle, key com.sap.engine.services.connector.exceptions.BaseDeploymentException: Cannot access methods of instance of class "com.sap.mw.jco.jra.JRA$ManagedConnectionFactoryImpl". 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.

      at com.sap.engine.services.connector.jca.deploy.DeployAdmin.instantiateMCF(DeployAdmin.java:1205)

      at com.sap.engine.services.connector.jca.deploy.ContainerImpl.makeUpdate(ContainerImpl.java:875)

      at com.sap.engine.services.deploy.server.application.UpdateTransaction.makeComponents(UpdateTransaction.java:390)

      at com.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:387)

      at com.sap.engine.services.deploy.server.application.UpdateTransaction.begin(UpdateTransaction.java:159)

      at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:290)

      at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:323)

      at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:3027)

      at com.sap.engine.services.deploy.server.DeployServiceImpl.update(DeployServiceImpl.java:683)

      at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:926)

      at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:294)

      at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:183)

      at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:119)

      at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)

      at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)

      at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)

      at java.security.AccessController.doPrivileged(Native Method)

      at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:95)

      at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:160)

      Caused by: java.lang.NoSuchMethodException: com.sap.mw.jco.jra.JRA$ManagedConnectionFactoryImpl.setPortNumber(java.lang.Byte)

      at java.lang.Class.getMethod(Class.java:986)

      at com.sap.engine.services.connector.jca.deploy.DeployAdmin.instantiateMCF(DeployAdmin.java:1185)

      ... 18 more

      at com.sap.engine.services.deploy.server.DeployServiceImpl.update(DeployServiceImpl.java:698)

      at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:926)

      at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:294)

      at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:183)

      at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:119)

      at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)

      at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)

      at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)

      at java.security.AccessController.doPrivileged(Native Method)

      at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:95)

      at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:160)

      Caused by: 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.sap.mw.jco.jra.JRA$ManagedConnectionFactoryImpl". 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.

      at com.sap.engine.services.connector.jca.deploy.DeployAdmin.instantiateMCF(DeployAdmin.java:1205)

      at com.sap.engine.services.connector.jca.deploy.ContainerImpl.makeUpdate(ContainerImpl.java:875)

      at com.sap.engine.services.deploy.server.application.UpdateTransaction.makeComponents(UpdateTransaction.java:390)

      at com.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:387)

      at com.sap.engine.services.deploy.server.application.UpdateTransaction.begin(UpdateTransaction.java:159)

      at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:290)

      at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:323)

      at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:3027)

      at com.sap.engine.services.deploy.server.DeployServiceImpl.update(DeployServiceImpl.java:683)

      at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:926)

      at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:294)

      at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:183)

      at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:119)

      at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)

      at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)

      at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)

      at java.security.AccessController.doPrivileged(Native Method)

      at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:95)

      at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:160)

      Caused by: java.lang.NoSuchMethodException: com.sap.mw.jco.jra.JRA$ManagedConnectionFactoryImpl.setPortNumber(java.lang.Byte)

      at java.lang.Class.getMethod(Class.java:986)

      at com.sap.engine.services.connector.jca.deploy.DeployAdmin.instantiateMCF(DeployAdmin.java:1185)

      ... 18 more

      ', Arguments: []--> : Can't find resource for bundle java.util.PropertyResourceBundle, key com.sap.engine.services.connector.exceptions.BaseDeploymentException: Cannot access methods of instance of class "com.sap.mw.jco.jra.JRA$ManagedConnectionFactoryImpl". 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.

      at com.sap.engine.services.connector.jca.deploy.DeployAdmin.instantiateMCF(DeployAdmin.java:1205)

      at com.sap.engine.services.connector.jca.deploy.ContainerImpl.makeUpdate(ContainerImpl.java:875)

      at com.sap.engine.services.deploy.server.application.UpdateTransaction.makeComponents(UpdateTransaction.java:390)

      at com.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:387)

      at com.sap.engine.services.deploy.server.application.UpdateTransaction.begin(UpdateTransaction.java:159)

      at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:290)

      at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:323)

      at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:3027)

      at com.sap.engine.services.deploy.server.DeployServiceImpl.update(DeployServiceImpl.java:683)

      at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:926)

      at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:294)

      at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:183)

      at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:119)

      at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)

      at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)

      at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)

      at java.security.AccessController.doPrivileged(Native Method)

      at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:95)

      at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:160)

      Caused by: java.lang.NoSuchMethodException: com.sap.mw.jco.jra.JRA$ManagedConnectionFactoryImpl.setPortNumber(java.lang.Byte)

      at java.lang.Class.getMethod(Class.java:986)

      at com.sap.engine.services.connector.jca.deploy.DeployAdmin.instantiateMCF(DeployAdmin.java:1185)

      ... 18 more

      at com.sap.engine.services.connector.exceptions.BaseDeploymentException.writeReplace(BaseDeploymentException.java:46)

      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      at java.lang.reflect.Method.invoke(Method.java:324)

      at java.io.ObjectStreamClass.invokeWriteReplace(ObjectStreamClass.java:896)

      at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1011)

      at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1332)

      at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1304)

      at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247)

      at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)

      at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278)

      at com.sap.engine.services.rmi_p4.DispatchImpl.throwException(DispatchImpl.java:135)

      at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:296)

      ... 8 more

      For detailed information see the log file of the Deploy Service.

      06/05/05 18:21:44 - ***********************************************************

      06/05/05 18:22:53 - Start updating archive file...

      06/05/05 18:22:53 - Archive file updated successfully for 16ms.

      06/05/05 18:22:53 - Start deploying ...

      06/05/05 18:22:54 - Archive file uploaded to server for 31ms.

      06/05/05 18:22:54 - ERROR: Not deployed. Deploy Service returned ERROR:

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

      Reason: Cannot access methods of instance of class "com.sap.mw.jco.jra.JRA$ManagedConnectionFactoryImpl". 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.sap.mw.jco.jra.JRA$ManagedConnectionFactoryImpl". 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.

      at com.sap.engine.services.connector.jca.deploy.DeployAdmin.instantiateMCF(DeployAdmin.java:1205)

      at com.sap.engine.services.connector.jca.deploy.ContainerImpl.makeUpdate(ContainerImpl.java:875)

      at com.sap.engine.services.deploy.server.application.UpdateTransaction.makeComponents(UpdateTransaction.java:390)

      at com.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:387)

      at com.sap.engine.services.deploy.server.application.UpdateTransaction.begin(UpdateTransaction.java:159)

      at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:290)

      at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:323)

      at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:3027)

      at com.sap.engine.services.deploy.server.DeployServiceImpl.update(DeployServiceImpl.java:683)

      at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:926)

      at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:294)

      at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:183)

      at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:119)

      at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)

      at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)

      at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)

      at java.security.AccessController.doPrivileged(Native Method)

      at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:95)

      at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:160)

      Caused by: java.lang.NoSuchMethodException: com.sap.mw.jco.jra.JRA$ManagedConnectionFactoryImpl.setPortNumber(java.lang.Byte)

      at java.lang.Class.getMethod(Class.java:986)

      at com.sap.engine.services.connector.jca.deploy.DeployAdmin.instantiateMCF(DeployAdmin.java:1185)

      ... 18 more

      ', Arguments: []--> : Can't find resource for bundle java.util.PropertyResourceBundle, key com.sap.engine.services.connector.exceptions.BaseDeploymentException: Cannot access methods of instance of class "com.sap.mw.jco.jra.JRA$ManagedConnectionFactoryImpl". 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.

      at com.sap.engine.services.connector.jca.deploy.DeployAdmin.instantiateMCF(DeployAdmin.java:1205)

      at com.sap.engine.services.connector.jca.deploy.ContainerImpl.makeUpdate(ContainerImpl.java:875)

      at com.sap.engine.services.deploy.server.application.UpdateTransaction.makeComponents(UpdateTransaction.java:390)

      at com.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:387)

      at com.sap.engine.services.deploy.server.application.UpdateTransaction.begin(UpdateTransaction.java:159)

      at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:290)

      at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:323)

      at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:3027)

      at com.sap.engine.services.deploy.server.DeployServiceImpl.update(DeployServiceImpl.java:683)

      at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:926)

      at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:294)

      at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:183)

      at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:119)

      at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)

      at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)

      at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)

      at java.security.AccessController.doPrivileged(Native Method)

      at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:95)

      at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:160)

      Caused by: java.lang.NoSuchMethodException: com.sap.mw.jco.jra.JRA$ManagedConnectionFactoryImpl.setPortNumber(java.lang.Byte)

      at java.lang.Class.getMethod(Class.java:986)

      at com.sap.engine.services.connector.jca.deploy.DeployAdmin.instantiateMCF(DeployAdmin.java:1185)

      ... 18 more

      at com.sap.engine.services.deploy.server.DeployServiceImpl.update(DeployServiceImpl.java:698)

      at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:926)

      at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:294)

      at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:183)

      at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:119)

      at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)

      at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)

      at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)

      at java.security.AccessController.doPrivileged(Native Method)

      at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:95)

      at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:160)

      Caused by: 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.sap.mw.jco.jra.JRA$ManagedConnectionFactoryImpl". 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.

      at com.sap.engine.services.connector.jca.deploy.DeployAdmin.instantiateMCF(DeployAdmin.java:1205)

      at com.sap.engine.services.connector.jca.deploy.ContainerImpl.makeUpdate(ContainerImpl.java:875)

      at com.sap.engine.services.deploy.server.application.UpdateTransaction.makeComponents(UpdateTransaction.java:390)

      at com.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:387)

      at com.sap.engine.services.deploy.server.application.UpdateTransaction.begin(UpdateTransaction.java:159)

      at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:290)

      at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:323)

      at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:3027)

      at com.sap.engine.services.deploy.server.DeployServiceImpl.update(DeployServiceImpl.java:683)

      at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:926)

      at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:294)

      at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:183)

      at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:119)

      at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)

      at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)

      at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)

      at java.security.AccessController.doPrivileged(Native Method)

      at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:95)

      at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:160)

      Caused by: java.lang.NoSuchMethodException: com.sap.mw.jco.jra.JRA$ManagedConnectionFactoryImpl.setPortNumber(java.lang.Byte)

      at java.lang.Class.getMethod(Class.java:986)

      at com.sap.engine.services.connector.jca.deploy.DeployAdmin.instantiateMCF(DeployAdmin.java:1185)

      ... 18 more

      ', Arguments: []--> : Can't find resource for bundle java.util.PropertyResourceBundle, key com.sap.engine.services.connector.exceptions.BaseDeploymentException: Cannot access methods of instance of class "com.sap.mw.jco.jra.JRA$ManagedConnectionFactoryImpl". 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.

      at com.sap.engine.services.connector.jca.deploy.DeployAdmin.instantiateMCF(DeployAdmin.java:1205)

      at com.sap.engine.services.connector.jca.deploy.ContainerImpl.makeUpdate(ContainerImpl.java:875)

      at com.sap.engine.services.deploy.server.application.UpdateTransaction.makeComponents(UpdateTransaction.java:390)

      at com.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:387)

      at com.sap.engine.services.deploy.server.application.UpdateTransaction.begin(UpdateTransaction.java:159)

      at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:290)

      at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:323)

      at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:3027)

      at com.sap.engine.services.deploy.server.DeployServiceImpl.update(DeployServiceImpl.java:683)

      at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:926)

      at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:294)

      at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:183)

      at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:119)

      at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)

      at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)

      at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)

      at java.security.AccessController.doPrivileged(Native Method)

      at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:95)

      at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:160)

      Caused by: java.lang.NoSuchMethodException: com.sap.mw.jco.jra.JRA$ManagedConnectionFactoryImpl.setPortNumber(java.lang.Byte)

      at java.lang.Class.getMethod(Class.java:986)

      at com.sap.engine.services.connector.jca.deploy.DeployAdmin.instantiateMCF(DeployAdmin.java:1185)

      ... 18 more

      at com.sap.engine.services.connector.exceptions.BaseDeploymentException.writeReplace(BaseDeploymentException.java:46)

      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      at java.lang.reflect.Method.invoke(Method.java:324)

      at java.io.ObjectStreamClass.invokeWriteReplace(ObjectStreamClass.java:896)

      at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1011)

      at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1332)

      at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1304)

      at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247)

      at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)

      at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278)

      at com.sap.engine.services.rmi_p4.DispatchImpl.throwException(DispatchImpl.java:135)

      at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:296)

      ... 8 more

      For detailed information see the log file of the Deploy Service.

      06/05/05 18:22:54 - ***********************************************************

      Seems like something new has creeped up.

  • avatar image
    Former Member
    May 05, 2006 at 01:36 PM

    Hi Murali,

    PortNumber corresponds to <System Number> of the sap instance.

    Add comment
    10|10000 characters needed characters exceeded