cancel
Showing results for 
Search instead for 
Did you mean: 

Can't Access Java Visual Admin

Former Member
0 Kudos

Hello Gurus,

I am sucessfully able to start Java stack in my SAP dual stack server. I can access configtool and can access dispatcher and servers properties as well. I can see Jcontrol and Jlaunch process running in unix.

but when i tried to access Visual admin, i receive an error "can not open connection on host <IP> and port:50104".

I am using "direct connection to dispatcher node" option to configure access.

Please tell me what can be wrong in this?

Accepted Solutions (0)

Answers (9)

Answers (9)

Former Member
0 Kudos

No luck so far.

can anyone help?

Regards

Shiv

dao_ha
Active Contributor
0 Kudos

Hi Shiv,

A few other ideas that you can try:

- In configtool -> secure store: check that the admin port is actually 50104

- Check if port 50104 is listening (see if you can ping this host:port)

- Check the /etc/hosts file for hostname resolutions

Also, you may want to try using FQDN as host (instead of IP) for VA connection.

Hope it helps.

Regards,

Dao

Former Member
0 Kudos

node name : server0

pid : 26817

system name : N4S

system nr. : 01

started at : Thu Jul 1 11:34:22 2010

[Thr 182897330496] MtxInit: -2 0 0

ERROR File /bas/700_REL/bas2/vmc/700_REL/cvm/src/linux/javavm/runtime/vmcalarm_md.c, Line 45:

CVMIinitAlarm: no alternate c-stack installed

SAP J2EE Engine Version 7.00 PatchLevel is starting...

Loading: LogManager ... 1899 ms.

Loading: PoolManager ... 17 ms.

Loading: ApplicationThreadManager ... 196 ms.

Loading: ThreadManager ... 79 ms.

Loading: IpVerificationManager ... 246 ms.

Loading: ClassLoaderManager ... 39 ms.

Loading: ClusterManager ... 667 ms.

Loading: LockingManager ... 1402 ms.

Loading: ConfigurationManager ... 7463 ms.

Loading: LicensingManager ... 90 ms.

Loading: CacheManager ... 743 ms.

Loading: ServiceManager ...

Loading services.:

Service userstore started. (42 ms).

Service memory started. (63 ms).

Service file started. (164 ms).

Service cross started. (31 ms).

Service timeout started. (193 ms).

Service trex.service started. (270 ms).

Service p4 started. (2082 ms).

Service classpath_resolver started. (427 ms).

Service runtimeinfo started. (84 ms).

Service jmx_notification started. (133 ms).

Service log_configurator started. (10805 ms).

Service locking started. (317 ms).

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

Service naming started. (2045 ms).

Service jmsconnector started. (1072 ms).

Service failover started. (1563 ms).

Service javamail started. (2339 ms).

Service appclient started. (1032 ms).

Service ts started. (1584 ms).

Service connector started. (1348 ms).

Service iiop started. (475 ms).

Service webservices started. (3407 ms).

Service licensing started. (577 ms).

Service http started. (5618 ms).

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

Service deploy started. (27490 ms).

Service bimmrdeployer started. (260 ms).

Service MigrationService started. (486 ms).

Service configuration started. (516 ms).

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

Service dbpool started. (15263 ms).

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

Service com.sap.security.core.ume.service started. (36596 ms).

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

Service cafruntimeconnectivity~impl started. (90900 ms).

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

Service security started. (9952 ms).

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

Service shell started. (1379 ms).

Service ejb started. (1990 ms).

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

Service applocking started. (2216 ms).

Service tceCATTPingservice started. (1163 ms).

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

Service webdynpro started. (1418 ms).

Service telnet started. (1330 ms).

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

Service classload started. (5901 ms).

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

Service dsr started. (3736 ms).

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

Service servlet_jsp started. (8021 ms).

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

Service jmx started. (6481 ms).

Service keystore started. (6520 ms).

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

Service cafummetadata~imp started. (45 ms).

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

Service ssl started. (124 ms).

WARNING: ** Local Code cache full, trying to remove existing compiled methods...

Former Member
0 Kudos

Hello Guys,

I found one error in std_server0.out file about one unknown java parameter -verbose:jc . I removed this and restarted application. this time server tried to start but due to less cache there were lots of warning message. I have increased cache but still server could not be started. In sap mgt console , Under J2EE section - SDM is green, server is yello and dispatcher blank. I am attaching few files for you reference.

[Thr 1086335328] Thu Jul 1 11:31:18 2010

[Thr 1086335328] JHVM_LoadJavaVM: Java VM created OK.

**********************************************************************

JHVM_BuildArgumentList: main method arguments of node [server0]

**********************************************************************

[Thr 1096907104] Thu Jul 1 11:31:27 2010

[Thr 1096907104] JHVM_RegisterNatives: registering methods in com.sap.bc.krn.per f.PerfTimes

[Thr 1096907104] Thu Jul 1 11:31:29 2010

[Thr 1096907104] JHVM_RegisterNatives: registering methods in com.sap.bc.proj.js tartup.JStartupFramework

[Thr 1096907104] JLaunchISetClusterId: set cluster id 14704950

[Thr 1096907104] Thu Jul 1 11:31:30 2010

[Thr 1096907104] JLaunchISetState: change state from [Initial (0)] to [Waiting f or start (1)]

[Thr 1096907104] JLaunchISetState: change state from [Waiting for start (1)] to [Starting (2)]

[Thr 1096989024] Thu Jul 1 11:32:42 2010

[Thr 1096989024] JHVM_RegisterNatives: registering methods in com.sap.mw.rfc.dri ver.CpicDriver

[Thr 1096989024] Thu Jul 1 11:32:44 2010

[Thr 1096989024] JHVM_RegisterNatives: registering methods in com.sap.i18n.cp.Co nverterJNI

[Thr 1097070944] Thu Jul 1 11:33:17 2010

[Thr 1097070944] JHVM_RegisterNatives: registering methods in com.sap.mw.rfc.eng ine.Compress

[root@n4shost work]# vi dev_server0

[Thr 1086335328] Thu Jul 1 11:18:12 2010

[Thr 1086335328] JHVM_LoadJavaVM: Java VM created OK.

**********************************************************************

JHVM_BuildArgumentList: main method arguments of node [server0]

**********************************************************************

[Thr 1096907104] Thu Jul 1 11:18:49 2010

[Thr 1096907104] JHVM_RegisterNatives: registering methods in com.sap.bc.krn.perf.PerfTimes

[Thr 1096907104] Thu Jul 1 11:18:54 2010

[Thr 1096907104] JHVM_RegisterNatives: registering methods in com.sap.bc.proj.jstartup.JStartupFramework

[Thr 1096907104] JLaunchISetClusterId: set cluster id 14704950

[Thr 1096989024] Thu Jul 1 11:18:57 2010

[Thr 1096989024] JLaunchISetState: change state from [Initial (0)] to [Waiting for start (1)]

[Thr 1096989024] JLaunchISetState: change state from [Waiting for start (1)] to [Starting (2)]

[Thr 1097234784] Thu Jul 1 11:24:24 2010

[Thr 1097234784] JHVM_RegisterNatives: registering methods in com.sap.mw.rfc.driver.CpicDriver

[Thr 1097234784] Thu Jul 1 11:24:25 2010

[Thr 1097234784] JHVM_RegisterNatives: registering methods in com.sap.i18n.cp.ConverterJNI

[Thr 1097234784] Thu Jul 1 11:24:48 2010

[Thr 1097234784] JHVM_RegisterNatives: registering methods in com.sap.mw.rfc.engine.Compress

[Thr 1097070944] Thu Jul 1 11:25:49 2010

[Thr 1097070944] JHVM_RegisterNatives: registering methods in com.sap.security.core.server.vsi.service.jni.VirusScanInterface

-


trc file: "/usr/sap/N4S/DVEBMGS01/work/dev_server0", trc level: 1, release: "700"

-


node name : ID14704950

pid : 27193

system name : N4S

system nr. : 01

Former Member
0 Kudos

Hello Guys,

I checked sap console and found that there is no process running for - server0 and dispatcher under J2EE section. SDM shows green light.

when i checked the trace file of server0 , it shows this message -

Thr 1086335328] Thu Jul 1 09:40:54 2010

[Thr 1086335328] *** ERROR => JHVM_LoadJavaVM: Cannot create Java VM (rc=-6) [jhvmxx_mt.c 542]

[Thr 1086335328] *** ERROR => Cannot load Java VM (<default>) (rc=-1) [jlnchxxi_mt. 739]

[Thr 1086335328] SigISetIgnoreAction : SIG_IGN for signal 17

[Thr 1086335328] JLaunchCloseProgram: good bye (exitcode = -1)

[Thr 182897330496] Thu Jul 1 09:40:55 2010

[Thr 182897330496] SigISetIgnoreAction : SIG_IGN for signal 17

[Thr 182897330496] *** ERROR => JsfCloseShm: FiDetachIndex(SESSION) failed (rc = 6 invalid argument) [jsfxxshm_mt. 1243]

[Thr 182897330496] *** ERROR => JsfCloseShm: FiDetachIndex(ALIAS) failed (rc = 6 invalid argument) [jsfxxshm_mt. 1250]

[Thr 182897330496] *** ERROR => JsfCloseShm: FiDetachIndex(SERVICE) failed (rc = 6 invalid argument) [jsfxxshm_mt. 1257]

[Thr 182897330496] *** ERROR => JsfCloseShm: ShmDelete(69) failed (rc = 2 invalid function argument) [jsfxxshm_mt. 1283]

[Thr 182897330496] JLaunchCloseProgram: good bye (exitcode = 0)

Former Member
0 Kudos

Hello Sharma,

Did you see SDM is green while the other two "server0" and "dispatcher" is gray?

If this is the case, it seems the max heap size of JVM should be adjusted in config tool at offline mode.

try to increase the max heap size for each server node at some extent and then restart it again.

please be sure that the max heap size(-Xmx) is greater than initial heap size(-Xms), if initial size is bigger than max size, this could be the problem.

Hope it is helpful.

Thanks and best regards,

Nick

Former Member
0 Kudos

Hi Sharma,

Please try to use port 50004 and make sure the port number is not restricted by any firewalls.

I suspect your ABAP central instance number is 00 and your Java Central services instance number is 01, so, you use 50104 instead of 50004? if this is the case, please try 50004.

Hope it will be helpful.

Thanks and best regards,

Nick

0 Kudos

Hello,

Check from operation system side if the port 50104 is open.

I am not sure your operation system but you probably can use the netstat -an do find.

Cheers, Clebio

Former Member
0 Kudos

if this can be of some help -

I can access SDM ports sucessfully (http://<host>:<port> - it gives no page error, i.e. port is alive) -

JLaunchISetSDMPort: set SDM port 50118

JLaunchISetHttpPort: set http port 50119

p330068
Active Contributor
0 Kudos

Hi Shiv,

Please to check with port 50018 for Visual Admin.

Hope it will helps

Regards

Arun

ChakLumsiew
Employee
Employee
0 Kudos

I assumed that your Instance_nr is 01. Try creating a new connection and use a user userid and pw you are sure can log into your system. Then test your connection. First try to use this userid e.g. J2EE_ADMIN if it is a dual stack or Administrator on a single stack and see if you can get it. If you can, then configure a new connection in your VA to use this user to see if u can log in.

Former Member
0 Kudos

Hi this is evaluation product N4S drive on Linux.

Netweaver 2004s

Regards

Shiv

Former Member
0 Kudos

Hi,

Which Kernel Version, what SAP product your are using ????

Regards