cancel
Showing results for 
Search instead for 
Did you mean: 

J2EE Engine down

Former Member
0 Kudos

Hi All,

I have a problem with the J2EE Engine: It is not running. I am also unable to login to the Visual Admin. Error is: "Cannot open connection on host:XX and port:50004".

When I try to run the jcmon.exe and choose "Local Administration menu" I get error: "Can't open shared memory administration (rc=3)"

Please note that:

-All the instances in SAP MMC are up.

-We tried hard and soft re-start from SMICM.

-I do not think the problem is that of heap size either.

-RZ10 shows no errors.

-jstartup/vm/home parameter is set.

I have proceeded acc. to links

http://help.sap.com/saphelp_erp2005/helpdata/en/6e/dd0041aafdf123e10000000a155106/frameset.htm

and

http://help.sap.com/saphelp_erp2005/helpdata/en/c4/775a42bc993654e10000000a155106/frameset.htm

but to no avail.

The problem is that there is no error in the application.log and xi.log files.

Any suggestions?

Regards,

Puloma.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Guys,

If you've already tried this, then please ignore. Else this is helpful.

1. Stop the J2EE instance.

2. Go to the profile directory of the J2EE instance.

3. To invoke the shared memory cleanup, execute:jcontrol pf=<SAP instance profile> -c.

4. Restart the J2EE instance.

This is essentially memory cleanup problem. If above solution doesn't work, better restart your system at OS level itself. If that's not feasible, then ipc memory cleanup should resolve the problem. Let me know.

Regards,

Youvraj

Former Member
0 Kudos

Dear Puloma,

I am having the same problem. my j2ee service is running but the visual admin is unable to connect. Did u find a sloution to your problem

reg

Former Member
0 Kudos

Hi Sorabh,

My problem is resolved.look at

What do you mean by j2ee service running? Have you checked in Tx SMICM?

I presume it is Web AS ABAP + Java installation. If you are running on Windows, you should see one jcontrol and three jlaunch processes running on task manager.

You should be able to connect to Visual Admin if J2EE Engine is running. What error are you getting?

Regards

Chandu

Former Member
0 Kudos

Hi All,

Yes, our server is also up and running now. The following things went wrong:

1. launcher.jar file went missing from the j2ee/cluster/bootstrap folder. We replaced that.

2. The start profile file: START_<INSTANCE-ID>_<hostname> file in SYS/profile folder had incorrect data. That was corrected.Following parameters were added:

DIR_EXECUTABLE = C:\usr\sap\AXI\SYS\exe\run

DIR_LIBRARY = C:\usr\sap\AXI\SYS\exe\run

DIR_PROFILE = C:\usr\sap\AXI\SYS\profile

Thanks.

Regards,

Puloma.

Former Member
0 Kudos

Hi Chandu,

I am using ABAP+JAVA and my J2ee engine is also up and running. Have checked the t-code smicm and all the entries also.

The only problem is when i try to connect to visual admin it gives mne an error message 'Unable to connect to Host myhostname and Port 5<myinstancenumber>00'.

Any suggestions guys

regards

Former Member
0 Kudos

Hi Sorabh,

What happens when you try out the options given in this link?

http://help.sap.com/saphelp_erp2005/helpdata/en/71/540c404a435509e10000000a1550b0/frameset.htm

Regards,

Puloma.

Former Member
0 Kudos

Hi Sorabh,

You should connect to Port 5<instancenumber>04. If your instance number is 00, then your port should be 50004.

Let me know how you get on.

Regards

Chandu

Former Member
0 Kudos

Hi Puloma,

I am getting the error number 'cannot open connection on host and port 54400'.My instance number is 44 so as per installation guide my port should be 54400.

After opening up the j2ee config tool as per the link it shows me the default port as 54404. I have tried giving port as this number but it fails.

Where are we getting it wrong?

regards

Former Member
0 Kudos

Hi Sorabh,

" I have tried giving port as this number but it fails."

-Are the properties of J2EE_ADMIN connection correct? Does it have the correct port no?

-Did you try creating a new connection (of type Lookup Connection via Message Server and Transport Protocol Default) and give 54404 as its HTTP port? See note 730400 for correct HTTP port.

If you are still unable to login to Visual Admin, then make sure your J2EE Engine is really up.Are you able to open http://<servername>:50000 on the browser?

Regards,

Puloma.

Former Member
0 Kudos

Hi Puloma,

My properties of j2ee_admin are correct.

I am unable to create a new connection(of type Lookup Connection via Message Server and Transport Protocol Default) with http port 54404.

My j2ee engine is running fine but not able to open

http://<servername>:50000 on the browser?

Regards

Former Member
0 Kudos

Hi Sorabh,

You should try http://<servername>:54400 on the browser since your instance number is 44.

Your new connection details in Visual Administrator should be:

User name : j2ee_admin

Host : <server name>

port : 54404.

Regards

Chandu

Regards

Chandu

Former Member
0 Kudos

Sorabh,

My sincere apologies.

Please try http://<servername>:54400.

Chandu: Thanks for pointing it out.

Regards,

Puloma.

Former Member
0 Kudos

Hi all,

I've had the same problem, and tried Puloma's solution:

DIR_EXECUTABLE = C:\usr\sap\AXI\SYS\exe\run

DIR_LIBRARY = C:\usr\sap\AXI\SYS\exe\run

DIR_PROFILE = C:\usr\sap\AXI\SYS\profile

It works fine, now my XI J2EE is running perfectly.

Thanks

Luis

Former Member
0 Kudos

Hello

I observe the same issue:

1. when I start transaction SMICM I see everything is running fine

2. when I enter http://<IP>:<PORT>; in browser it does not work (I put 50000 as PORT because this is my icm/HTTP/j2ee_0 parameter

3. When I heck this

DIR_EXECUTABLE

DIR_LIBRARY

DIR_PROFILE

I see that it is fine (like 'DIR_LIBRARY' is $(DIR_EXECUTABLE) and get correct value)

4. when I try this

jcmon pf=/usr/sap/CRM/SYS/profile/CRM_DVEBMGS00_crmbox

and then try to execue '20'

I get this error:

can't open shared memory administration

jcmon pf=/usr/sap/CRM/SYS/profile/CRM_DVEBMGS00_crmbox -c

does not solve the issue

What could I do to make J2EE working correctly?

I remember it worked while installation. Probably stopped working after I change some profiles, but I am not sure.

Could anybody advise me ?

regards

Rafal

Former Member
0 Kudos

Hi

I am getting the same error. Have you resolved?

Regards

Chandu