cancel
Showing results for 
Search instead for 
Did you mean: 

Why my VM container is inactive

Former Member
0 Kudos

hello again,

i have this alert in mmc console :

java not active ..

and when i try to create an order from my b2b Application , i have these logs :

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

[EXCEPTION]

#1#com.sap.isa.businessobject.BORuntimeException: parameters: [client]='null' [user]='null' [language]='null' [ashost]='null' [systemnumber]='null' [mshost]='null' [gwhost]='null' [gwserv]='null' [group]='null' [systemid]='null'

Properties: {lang=en, passwd=?, sysnr=01, client=300, user=webconnect, ashost=crm, jco.client.type=A, jco.client.trace=0, codepage=1100}

<b><u>Client not connected</u></b>

com.sap.mw.jco.JCO$Exception: (104) <b><u>RFC_ERROR_SYSTEM_FAILURE: Error during VM container communication between ABAP and JAVA</u></b> at com.sap.isa.businessobject.BusinessObjectHelper.splitException(BusinessObjectHelper.java:78)

at com.sap.isa.businessobject.SalesDocument.init(SalesDocument.java:1511)

at com.sap.isa.isacore.action.order.CreateBasketAction.executeCreateBasket(CreateBasketAction.java:307)

at com.sap.isa.isacore.action.order.CreateBasketAction.isaPerform(CreateBasketAction.java:172)

at com.sap.isa.isacore.action.IsaCoreBaseAction.isaPerform(IsaCoreBaseAction.java:417)

at com.sap.isa.isacore.action.IsaCoreBaseAction.ecomPerform(IsaCoreBaseAction.java:343)

at com.sap.isa.isacore.action.EComBaseAction.doPerform(EComBaseAction.java:353)

at com.sap.isa.core.BaseAction.execute(BaseAction.java:211)..

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

i ve seen a note about "java not active" but i don't know how to execute it..i'm under SAP CRM 5 SP 6..

i don-t know if i sould downlaod kernel ?

when i try to create the parameters ( with SM52)

cvmcj/enable = on

vmcj/option/ps = 512M

vmcj/option/maxJavaHeap =200M

and restart the server , the J2EE don't want to start..

and give me these logs :

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

3_DATASOURCE#com.sap.security.core.persistence.datasource.PersistenceException: <b><u>Connect to SAP gateway failed

Connect_PM TYPE=A ASHOST=localhost SYSNR=01 GWHOST=localhost GWSERV=sapgw01 PCS=1

no SAP ErrInfo available</u></b> at com.sap.security.core.persistence.datasource.imp.R3PersistenceBase.newPersistenceException(R3PersistenceBase.java:193)

at com.sap.security.core.persistence.datasource.imp.R3PersistenceBase.init(R3PersistenceBase.java:426)

at com.sap.security.core.persistence.imp.PrincipalDatabagFactoryInstance.<init>(PrincipalDatabagFactoryInstance.java:337)

at com.sap.security.core.persistence.imp.PrincipalDatabagFactory.getInstance(PrincipalDatabagFactory.java:105)

at com.sap.security.core.persistence.imp.PrincipalDatabagFactory.getInstance(PrincipalDatabagFactory.java:57)

at com.sap.security.core.imp.PrincipalFactory.<init>(PrincipalFactory.java:127)

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)

at java.lang.reflect.Constructor.newInstance(Constructor.java:274)

at java.lang.Class.newInstance0(Class.java:308)

at java.lang.Class.newInstance(Class.java:261)

at com.sap.security.core.InternalUMFactory.instantiateClass(InternalUMFactory.java:1274)

at com.sap.security.core.InternalUMFactory.initializeClass(InternalUMFactory.java:1243)

at com.sap.security.core.InternalUMFactory.initializeUME(InternalUMFactory.java:302)

at com.sap.security.core.server.ume.service.UMEServiceFrame.start(UMEServiceFrame.java:251)

at com.sap.engine.frame.ApplicationFrameAdaptor.start(ApplicationFrameAdaptor.java:31)

at com.sap.engine.core.service630.container.ServiceRunner.startApplicationServiceFrame(ServiceRunner.java:211)

at com.sap.engine.core.service630.container.ServiceRunner.run(ServiceRunner.java:142)

at com.sap.engine.frame.core.thread.Task.run(Task.java:64)

at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:79)

at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:105)

..

1.5#000423A6E1B4001D0000001500000D5000041E46D482945B#1159189468731#com.sap.engine.core.service630.container.ServiceRunner##com.sap.engine.core.service630.container.ServiceRunner#######SAPEngine_System_Thread[impl:5]_70##0#0#Error#1#/System/Server#Java###<b><i>Core service com.sap.security.core.ume.service failed. J2EE Engine cannot be started.</i></b>

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

any idea?

thnx if you help me ..

Message was edited by: Blackman

Message was edited by: Blackman

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hello

See the Note 129813.

I hope this note help.

Best Regards.

former_member309601
Participant
0 Kudos

Hi, I had the same problem: VM is not activate on SM52, here is my comments:

- Verify if your Operating system is 32-bit, if it is, you must check boot.ini on Windows Properties and verify /PXA and /3GB parameters.

- Check note 854170

- Apply parameters values (RZ10)

- If your server does not start up, decrease parameters, I decrease vmcj/option/maxJavaHeap = 100M and my server start-up without any problem.

- I have: CRM 5.0, Win 2003 Enterprise 32 bits, SQL Server 2005 and 8GB RAM.

- Once my server star-up , I can enter at SM52, SM53 and check my VM.

Regards.

Former Member
0 Kudos

Hi Blackman,

For VM container check the transactions SM51, SM52, SM53 in CRM system. Also reffer to SAP oss note #863354. In this note it is mentioned to maintain the profile <b>S_VMC_ADMIN_2</b> & <b>S_VMCTRANS</b>. Take the help of your basis people and ask them to use transaction SU01 and add these profiles to your user.

This will help you to resolve the issue.

<b>Allot points if my post helps!!</b>

Best regards,

Vikash.

Message was edited by: Vikash Krishna

Former Member
0 Kudos

thnx,

should i create the two mentionned profiles using RZ10?

what should i gave them as parameters ?

Former Member
0 Kudos

Hi,

Sorry I have given the wrong info in my last reply about the profile. Your user will require the following authorization profiles or roles based on these profiles. So add this profile to your user in SU01 not in RZ10/11.

Also go through the note throughly it will give you complete info.

all the very best.

Best regards,

Vikash.

Former Member
0 Kudos

thnx i have done all this ..but still having prblms : now j2ee refuses to start..

i decreased the values of the 2 parameters :

vmcj/option/ps

vmcj/option/maxJavaHeap

but it didn't help me..

when i look into j2ee developper trace : i have these log :

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

<b><u>DpSysAdmExtInit: ABAP is active

DpSysAdmExtInit: VMC (JAVA VM in WP) is active</u></b>

DpIPCInit2: start server >crm_CRM_01 <

DpShMCreate: sizeof(wp_adm) 12672 (1408)

DpShMCreate: sizeof(tm_adm) 3954072 (19672)

DpShMCreate: sizeof(wp_ca_adm) 24000 (80)

DpShMCreate: sizeof(appc_ca_adm) 8000 (80)

DpCommTableSize: max/headSize/ftSize/tableSize=500/8/528056/528064

DpShMCreate: sizeof(comm_adm) 528064 (1048)

DpFileTableSize: max/headSize/ftSize/tableSize=1800/8/144056/144064

DpShMCreate: sizeof(file_adm) 144064 (72)

DpShMCreate: sizeof(vmc_adm) 13072 (1452)

DpShMCreate: sizeof(wall_adm) (38456/34360/64/184)

<b>DpShMCreate: sizeof(gw_adm) 48

DpShMCreate: SHM_DP_ADM_KEY (addr: 05E00040, size: 4764648)

      • ERROR => DpShMCreate: ShmCreate SHM_DP_CA_KEY(rc=4) [dpxxca.c 181]

      • ERROR => DpIPCInit2: DpShMCreate [dpxxtool2.c 461]

      • DP_FATAL_ERROR => DpSapEnvInit: DpIPCInit2

      • DISPATCHER EMERGENCY SHUTDOWN ***</b>

NiWait: sleep (5000ms) ...

NiISelect: timeout 5000ms

NiISelect: maximum fd=1

NiISelect: read-mask is NULL

NiISelect: write-mask is NULL

Tue Sep 26 10:54:00 2006

NiISelect: TIMEOUT occured (5000ms)

DpHalt: shutdown server >crm_CRM_01 < (normal)

<u><b>DpJ2eeDisableRestart</b></u>

Switch off Shared memory profiling

ShmProtect( 57, 3 )

ShmProtect(SHM_PROFILE, SHM_PROT_RW

ShmProtect( 57, 1 )

ShmProtect(SHM_PROFILE, SHM_PROT_RD

wait for end of work processes

not attached to the message server

cleanup EM

EmCleanup() -> 0

Es2Cleanup: Cleanup ES2

***LOG Q05=> DpHalt, DPStop ( 3004) [dpxxdisp.c 10087]

Good Bye .....

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

VM is now active but i think it increses the swap disk that j2ee have not suffisant memory to start

i don't know how to change that to make J2ee server start agian ( without shutting down VM container of course )

thank u for help ..

Former Member
0 Kudos

Hi,

Reffer to the oss Note 854170 - (Switching on the component "VM Container" ) In this they have mentioned about some parameter settings.

vmcj/enable = on

vmcj/option/ps = 512M

vmcj/option/maxJavaHeap = 200M

Details you will find in the note.

Hope this will help.

Best regards,

Vikash.

Former Member
0 Kudos

Thank you Vikash , that is exactly what i've done.

but when i restarted the server..the application b2B was

very very slow, and the server took very long time to

start..so i gave the last two parameteres

values less than 512 and 200 and the application was

always too slow.. and finally i removed them ..

Now i have juste "vmcj/enable = on "..

i have also turned on the /3GB option on my NT server

2003..but i still have this error when validating an

order..:

<b><u>Runtime Errors

Contact the administrator</u></b>

and the logs :

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

#1#com.sap.isa.businessobject.BORuntimeException: parameters: [client]='null' [user]='null' [language]='null' [ashost]='null' [systemnumber]='null' [mshost]='null' [gwhost]='null' [gwserv]='null' [group]='null' [systemid]='null'

Properties: {lang=en, passwd=?, sysnr=01, client=300, user=A0F8DF01291, ashost=crm, jco.client.type=A, jco.client.trace=0, codepage=1100}

Client not connected

com.sap.mw.jco.JCO$Exception: (104) <b><u>RFC_ERROR_SYSTEM_FAILURE: Error PXA_NO_FREE_SPACE occured</u></b>. P1=799744 P2=<Funktionname> P8=710656 P9=145032

at com.sap.isa.businessobject.BusinessObjectHelper.splitException(BusinessObjectHelper.java:78)

at com.sap.isa.businessobject.order.Order<u>.saveOrderAndCommit</u>(Order.java:417)

at com.sap.isa.businessobject.order.<b><u>OrderCreate</u></b>.save(OrderCreate.java:354)

at com.sap.isa.isacore.action.order.MaintainBasketSendAction.basketPerform(MaintainBasketSendAction.java:205)

at com.sap.isa.isacore.action.order.MaintainBasketBaseAction.isaPerform(MaintainBasketBaseAction.java:997)

at com.sap.isa.isacore.action.IsaCoreBaseAction.ecomPerform(IsaCoreBaseAction.java:343)

at com.sap.isa.isacore.action.EComBaseAction.doPerform(EComBaseAction.java:353)

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

any idea?

thnx a lot