cancel
Showing results for 
Search instead for 
Did you mean: 

Visual Admimistrator wont connect to NW2004s Java ABAP on Linux VMware

Former Member
0 Kudos

My VA wont connect to the server giving the following trace in /j2ee/admin/log/traces/visual_administration.0.trc:

#1.5#C0007F0000010008000000010000C550000444EEE28D5508#1201692700661#com.sap.engine.services.adminadapter.gui.tasks.LoginTask##com.sap.engine.services.adminadapter.gui.tasks.LoginTask#######Thread[Thread-61,6,main]##0#0#Error#1#/System/Server/VisualAdministrationTool#Java###Error while trying to login to localhost: Cannot create new RemoteLoginContext.

[EXCEPTION]

#1#com.sap.engine.services.security.exceptions.BaseLoginException: Cannot create new RemoteLoginContext.

+ at com.sap.engine.services.security.remote.login.RemoteLoginContext.<init>(RemoteLoginContext.java:71)+

+ at com.sap.engine.services.adminadapter.gui.tasks.LoginTask.connectAction(LoginTask.java:96)+

+ at com.sap.engine.services.adminadapter.gui.tasks.LoginTask.run(LoginTask.java:79)+

+ at java.lang.Thread.run(Thread.java:534)+

Caused by: com.sap.engine.services.rmi_p4.P4IOException: Cannot open connection on host: 127.0.0.1 and port: 54200

+ at com.sap.engine.services.rmi_p4.P4ObjectBrokerClientImpl.getException(P4ObjectBrokerClientImpl.java:698)+

+ at com.sap.engine.services.rmi_p4.ConnectionManager.getConnection(ConnectionManager.java:252)+

+ at com.sap.engine.services.rmi_p4.P4ObjectBrokerClientImpl.resolveInitialReference(P4ObjectBrokerClientImpl.java:149)+

+ at com.sap.engine.services.rmi_p4.P4ObjectBrokerClientImpl.resolveInitialReference(P4ObjectBrokerClientImpl.java:114)+

+ at com.sap.engine.services.rmi_p4.P4ObjectBrokerClientImpl.resolveInitialReference(P4ObjectBrokerClientImpl.java:110)+

+ at com.sap.engine.services.security.remote.login.RemoteLoginContext.<init>(RemoteLoginContext.java:60)+

+ ... 3 more+

The server is the NW2004s SP9 Java and ABAP stack on VMware from SDN. The J2EE server starts up OK I can access it via http://localhost:8042 and 54200 and use the admin apps. SystemInfo

displays the dispatcher ports as:

HTTP Port: 54200

HTTPS Port: 54201

P4 Port: 54204

Telnet Port: 54208

I've tried connecting VA using a direct connection to the dispatcher on ports 54200,54204,8042 and it gets to around 70% in the progress bar

and says 'Cannot open connection on host: 127.0.0.1 and port: 54200'.

I checked J2EE_ADMIN has the SAP_J2EE_ADMINISTRATOR role in SU01 and the password is correct, and the user is unlocked.

Can anyone suggest a solution?

Has anyone managed to connect VA to the 2004s Java ABAP stack on VMware?

Cheers,

Steve

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

If I connect using the default connection settings pre-defined in VA I get a different exception in the trace file:

#1.5#C0007F000001000200000001011B1D80000444EF9797DBF8#1201695738026#com.sap.engine.services.adminadapter.gui.tasks.LoginTask##com.sap.engine.services.adminadapter.gui.tasks.LoginTask#######Thread[Thread-16,6,main]##0#0#Error#1#/System/Server/VisualAdministrationTool#Java###Error while trying to login to localhost: null

[EXCEPTION]

#1#java.lang.ClassCastException

at com.sap.engine.services.adminadapter.gui.ClusterTreeGenerator.initRemoteInterfaces(ClusterTreeGenerator.java:67)

at com.sap.engine.services.adminadapter.gui.AdminViewManager.connectPerformed(AdminViewManager.java:182)

at com.sap.engine.services.adminadapter.gui.tasks.LoginTask.connectAction(LoginTask.java:119)

at com.sap.engine.services.adminadapter.gui.tasks.LoginTask.run(LoginTask.java:79)

at java.lang.Thread.run(Thread.java:534)

which seems to imply it has connected OK.

Former Member
0 Kudos

I was thinking the exception sounded like the JVM on VMware might be causing the problem. As I couldnt figure out how to install a new one I FTP'd the j2ee/admin/* directory tree to a Windows PC and managed to connect successfully from there with the same settings.

I find it incredible that SAP can supply a VMware instance that has so many problems to overcome before it even works. Isn't that the point of supplying it with VMware...

Steve

Former Member
0 Kudos

Hi Steve,

use the port number as 5xx04.The host name as ur host name and if it is an add-in installation then use

j2ee_admin else use administartor and the password for it.

I think your instance number is 42 so while logging in visual admin you have to uset the port 54204.

Reward points if helpfull.

Regards,

Vamshi.

Former Member
0 Kudos

Vamshi,

If you read my post I've already done that and still get the error connecting.

Cheers,

Steve