cancel
Showing results for 
Search instead for 
Did you mean: 

Which user actually makes the deployment from J2EE engine?

Former Member
0 Kudos

What's up ?

I keep getting this error when I try to deploy an ear file:

Settings

SDM host : vm2003server

SDM port : 50018

URL to deploy :

file:/C:/DOCUME1/JOS1/CONFIG~1/Temp/temp17955JSP_teste_EAR.ear

Result

=> deployment aborted : file:/C:/DOCUME1/JOS1/CONFIG~1/Temp/temp17955JSP_teste_EAR.ear

Aborted: development component 'JSP_teste_EAR'/'sap.com'/'localhost'/'2008.01.20.13.59.18':

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)

Deployment exception : The deployment of at least one item aborted

I need to give Administrator role to the user that is making the deployment, right ?

But which user is that ???

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello Jose,

please check:

As far as I know the user should be J2EE_ADMIN.

This validates that :

http://help.sap.com/saphelp_nw2004s/helpdata/en/99/281540bf1af72ee10000000a1550b0/frameset.htm

Regards.

Ruchit.

Former Member
0 Kudos

Thank you.

But i'm using the Java Stack

And I was told that there is no J2EE_ADMIN user for that stack.

Besides, that user doesn't even exist on Visual Administrator!

I can't give him administrative role because I can't even find that user!!

Edited by: Jose Luis Gonzalez Clua on Jan 31, 2008 6:10 PM

Former Member
0 Kudos

oops no ABAP stack then the user is Adminsitrator.

Regards.

Ruchit.

Former Member
0 Kudos

That is weird... I added Administrator in the Administrators group and the deploy still ain't working... Maybe i will have to reinstall ?

Please tell me that I won't

Edited by: Jose Luis Gonzalez Clua on Jan 31, 2008 6:20 PM

Former Member
0 Kudos

Hi Jose,

May be try this thing out to be sure that this is an authorization error. Give the user all available roles and add it to all available groups and then see how it works.

Regards.

Ruchit.

Answers (2)

Answers (2)

Former Member
0 Kudos

Hello Jose,

I answered your question in the previous thread since you pasted the exception there :-).

SDM takes the user and password data from the secure store. Since you have only java stack, make sure you have the user as 'Administrator' and correct password for the same in secure store (as per note 701654)

Regards,

Snehal

Former Member
0 Kudos

Thank you very much for your help.

I got it working now!

The correct user was neither 'J2EE_ADMIN' (doesn't exist for only java stack) or 'Administrator'.

The correct user for java stack is 'admin' !

after i gave 'admin' administrator role the deployment started to work!!

Thanks Ruchit, one of your links had the answer.

Edited by: Jose Luis Gonzalez Clua on Jan 31, 2008 7:40 PM

Edited by: Jose Luis Gonzalez Clua on Jan 31, 2008 7:41 PM

Former Member
0 Kudos

Hi Jose,

What user ID and password you have given for Java administratior user?

IS the same password you are using for login into the SDM?

DO you have the different user ID and password for Java administrator user (J2EE_ADMIN)?

You will able to see the J2EE_ADMIN user in ABAP stack and it should have at least SAP_J2EE_ADMIN role attached to it with RFC authorization. And also check that user J2EE_ADMIN, J2EE_GUEST and SAPJSF should be unlock and with proper authorization. Check the for Java schema user should also be unlock , default user is "sapsr3db"

Best Wishes

Kumar