cancel
Showing results for 
Search instead for 
Did you mean: 

Unknown Java AS user with permissions of deploy

02-18-2011 12:03 AM
769 views 5 comments
0 Likes
SAP Managed Tags
Subscribe

hi,

I have to update a PRODUCTION Environment with Support Packages (unfortunately without a ready Quality one as mirror for testing them).

So, I'm trying to install again the same software someone else used for PRODUCTION, in a Quality server.

on

SO: Microsoft Windows Server 2003 R2 Standard x64 Edition SP2

I installed successfully SAP NetWeaver CE 7.1 EHP1, but after launching JSPM to install SAP MII 12.1, I'm requested to insert login of an

Java AS user with deployment permissions.

In details I undestrood that the path to be followed, after activating Java AS and checking read rights of OS user on JSPM packages folder,

it should be:

1- launch the JSPM with OS <SAPSID>adm user;

2- insert Java AS user credentials with deployment permissions when requested (to log in to JSPM Server).

3- ...

n- ...

on step 2, even inserting user administrator and master password of NetWeaver installation, I cannot proceed.

Shouldn't it have those rights. How are them called and where can I assign them?

Looking at the logs of JSPM I found something like this:

Info: Connecting to Deploy Controller on host localhost port 50004 with user ce1adm.

Error: com.sap.engine.services.dc.api.ConnectionException: ERROR CODE DPL.DCAPI.1144 NamingException.Cannot get initial context.

Reason: Exception during getInitialContext operation. Cannot establish connection to the remote server.

Info:DC API is trying to connect to 'localhost:50004'

Error: Exception ::SessionImpl::getContext():get ctx. NamingException,cause=Exception during getInitialContext operation. Cannot establish connection to the remote server.

Even if I try to "add" components starting from NetWeaver installation, I'm requested with a Java EE Administrator I cannot identify.

any ideas of what's happening?

regards

0 Likes

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Likes

Hi,

Error shows:

Cannot establish connection to the remote server. Info:DC API is trying to connect to 'localhost:50004'

Is the AS Java system up and running? And provide the "Administrator" user details during JSPM login.

Regards,

Srikishan

Former Member
0 Likes

if you mean icons under <SAPSID> from the MMC (J00, SCS01) they are green...it should mean UP and RUNNING.

Unfortunately, I'm giving administrator details during JSPM login, or at least what I think it is admin...

I'm mainly using the Administrator user with master password inserted during NetWeaver installation.

(and I'm able to login to NW portal with this...)

what I understood is that you have to start JSPM (from prompt) with <SAPSID>adm user and login with Java Admin, but it's not working...

where I can assing or check Java users rights, inside NetWeaver portal?

tnx

Edited by: ottantaphoenix on Feb 18, 2011 10:05 AM

Former Member
0 Likes

Hi,

Goto http://<hostname>:<port>/useradmin or /irj link-> Identity Management. Give the Administrator user name here and display. Check if the Administrator Role and Group has been assigned.

Ensure in Config tool in usr\sap\<SID>\JC\j2ee\configtool\configtool.bat -> Secure Store the correct pwd of Administrator is maintained.

If JSPM still fails, paste the logs.

Rgds,

Soujanya

Former Member
0 Likes

If I display from NetWeaver Identity Management:

User: Administrator

Assigned Roles: Nothing

Assigned Groups: Everyone, Administrators, Authenticated Users

probably it is not perfect --> no roles assigned, but this is the user automatically created during NW installation and I cannot find any role to be added

(it should be something like superadmin...right?), i created also

User: admin

Assigned Roles: Administrator

Assinged Groups: Everyone, Authenticated Users (I added Administrators too, but still not working with this user too)

what is the "activate accessibility feature" checkbox in "General Information" tab?

if I activate Config Tool (Secure Store) from E:\usr\sap\CE1\J00\j2ee\configtool\

I can see no entries in SecureStoreData tab, instead of ConnectionPools tab where I have as Key --> User, Password, Url, ClassName (with certain values...)

I try adding in SecureStoreData tab:

Key:User Value: Administrator

Key:Password Value: mypassword

I restarted <SAPSID>, tried JSPM again, but no evolutions...

I tried also with:

Key:User Value: admin

Key:Password Value: mypassword

Logs:

Info: DC API is trying to connect to 'localhost:50004'

Error:Exception ::SessionImp::getContext():get ctx. NamingException,cause=Exception during getInitialContext operation. Cannot establish connection to the remote server.

Error: com.sap.engine.services.dc.api.ConnectionException: ERROR CODE DPL.DCAPI.1144 NamingException.Cannot get initial context.

Reason: Exception during getInitialContext operation. Cannot establish connection to the remote server.

I found also an empty file "OsProc001_01.ERR" in the JSPM log folder...

tnx for help

regards

Former Member
0 Likes

I solved the issue.

Simply, if you don't assign to the server an host name, it gets standard "localhost" and during jspm login system is somehow confused.

The problem it was related to a not reachable AS java and not to users rights.

regards