cancel
Showing results for 
Search instead for 
Did you mean: 

java.rmi.RemoteException: Only Administrators .....

Former Member
0 Kudos

Hi,

I try to use an example for the SAP Journal May/June 2004 which explains the building of a J2EE JSP application.

When i try to deploy an EAR file to J2EE engine i get the following message:

Caught exception during application deployment from SAP J2EE Engine's deploy service:

java.rmi.RemoteException: Only Administrators have the right to perform this operation.

(message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)

Jul 22, 2004 1:51:10 PM Error: Deployment NOT successful for FlightApp

Any suggestion is welcome

Bertil Rebergen

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hello, i am having this problem during the 'deploy online' phase of the java add in installation for NW04.

The package SQLTrace.ear cannot be deployed because the exception

java.rmi.RemoteException: Only Administrators have the right to perform this operation.

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

The user is 'Administrator' and is member of the local administrators user group.

Any hint?

Best regards.

Former Member
0 Kudos

Hello Luca,

Im my case the problem was solved because somebody changed the default password of administrator on the j2ee server.

maybe that helps

Bertil

Former Member
0 Kudos

Hi,

I installed SAP Web AS 6.40 for ABAP without any problems. Now I try installing the J2EE Add-in for ABAP, but when I reach the Depoly Online phase, I get the following error:

ERROR 2004-10-15 10:25:24

MUT-02041 SDM call of deploySdaList ends with returncode 4. See output of logfile C:\Program Files\sapinst_instdir\WEBAS_640_J2EE_ADDIN_NUC\ALL\callSdmViaSapinst.log.

I tried changing the password from the J2EE_ADM user, as indicated on the post and setting the standard password 'SAP', but I got an invalid password error. Web AS users are created with their corresponding assigned roles.

And suggestions?

Regards.

Josu00E9 Luis

-


Log -


Oct 15, 2004 10:24:56... Info:

Oct 15, 2004 10:24:56... Info: ============================================

Oct 15, 2004 10:24:56... Info: = Starting to execute command 'deploy' =

Oct 15, 2004 10:24:56... Info: ============================================

Oct 15, 2004 10:24:56... Info: Starting SDM - Software Deployment Manager...

Oct 15, 2004 10:24:57... Info: tc/SL/SDM/SDM/sap.com/SAP AG/6.3003.00.0000.20031126161800.0000

Oct 15, 2004 10:24:57... Info: SDM operation mode successfully set to: Standalone

Oct 15, 2004 10:24:58... Info: Initializing Network Manager (50017)

Oct 15, 2004 10:24:58... Info: Checking if another SDM is running on port 50018

Oct 15, 2004 10:24:58... Info: -


Starting deployment -


Oct 15, 2004 10:24:58... Info: Loading selected archives...

Oct 15, 2004 10:24:58... Info: Loading archive 'C:\NetWeaver\51030277\J2EE1\J2EE-ENG\ONLINE\SAPJTECHS03_0.SCA'

Oct 15, 2004 10:25:05... Info: Selected archives successfully loaded.

Oct 15, 2004 10:25:06... Info: Error handling strategy: OnErrorStop

Oct 15, 2004 10:25:06... Info: Update strategy: UpdateLowerVersions

Oct 15, 2004 10:25:06... Info: Starting to execute deployment action (deploy) for "SQLTrace".

Oct 15, 2004 10:25:06... Info: SDA to be deployed: C:\usr\sap\E04\DVEBMGS00\SDM\root\origin\sap.com\SQLTrace\SAP AG\6.3003.00.0000.20031215150458.0000\SQLTrace.ear

Oct 15, 2004 10:25:06... Info: Software type of SDA: J2EE

Oct 15, 2004 10:25:08... Info: ***** Begin of SAP J2EE Engine Deployment (J2EE Application) *****

Oct 15, 2004 10:25:23... Info: Begin of log messages of the target system:

04/10/15 10:25:08 - ***********************************************************

04/10/15 10:25:09 - Start updating EAR file...

04/10/15 10:25:09 - EAR file updated successfully for 235s.

04/10/15 10:25:09 - Start deploying ...

04/10/15 10:25:23 - EAR file uploaded to server for 204ms.

<b>04/10/15 10:25:23 - ERROR: Not deployed. Deploy Service returned ERROR:

java.rmi.RemoteException: Only Administrators have the right to perform this operation.</b>

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

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

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

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

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

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

at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)

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:100)

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

For detailed information see the log file of Deploy Service.

04/10/15 10:25:23 - ***********************************************************

Oct 15, 2004 10:25:23... Info: End of log messages of the target system.

Oct 15, 2004 10:25:23... Info: ***** End of SAP J2EE Engine Deployment (J2EE Application) *****

Oct 15, 2004 10:25:23... Error: Execution of deployment action for "SQLTrace" aborted:

Caught exception during application deployment from SAP J2EE Engine's deploy service:

java.rmi.RemoteException: Only Administrators have the right to perform this operation.

(message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineJ2EE620OnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)

Oct 15, 2004 10:25:23... Error: Deployment NOT successful for SQLTrace

Oct 15, 2004 10:25:23... Info: -


Deployment was successful -


Oct 15, 2004 10:25:23... Info: Summarizing the deployment results:

Oct 15, 2004 10:25:23... Error: Admitted: C:\NetWeaver\51030277\J2EE1\J2EE-ENG\ONLINE\SAPJTECHS03_0.SCA

Oct 15, 2004 10:25:23... Error: Processing error. Return code: 4

Message was edited by: Josu00E9 Luis Idrobo

Former Member
0 Kudos

Hello, my problem were that the administrator user J2EE_ADMIN was defined on the ABAP instance without the role SAP_J2EE_ADMIN in the client I just created before supplementing the instance, after adding this role everything worked fine.

Best regards.

Former Member
0 Kudos

How will you know if some body has changed the password and where to reset it again ?

Former Member
0 Kudos

my issue got resolved after adding admin userid to Administrators group

Former Member
0 Kudos

Hi Bertil,

How do you deploy the example application (which tool do you use)?

Basically, only users with administrative rights can deploy on the J2EE Engine. Therefore, you must use an administrator user when doing the deployment.