cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Web AS shuts down after 20-25 minutes

Former Member
0 Kudos

Hi All,

I am using SAP Web AS 7.0 on HP-UX Itanium box(64-bit) and able to boot up server without any major glitch. Also, the applications(portal or custom applications) hosted on the server could be accessed easily. But after, say 20-25 minutes gap from server boot up time, the server shuts down and i am neither able to use Visual Admin tool nor any application. Also then if i execute 'cdpro' command and then 'jcmon pf=<sap id> i could not fetch any of the process detail running on the server.

Can someone please suggest me the log/trace file name along with its location that i should analyze to find the root cause of the issue.

Please let me know if some other details are required if in case the above data is not sufficient.

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Thanks for providing input.

I have gone thru' the defaulttrace.trc logs and it seems like there is licensing issue. Can someone please confirm?

This is the excerpt from log file which talks about licensing issue:

5 #0011257E7694005800000001000330BE00046E03CB7F348B#1246862484911#com.sap.engine.core.licensing.impl0.LicensingManagerImpl##com.sap.engine.core.licensing.impl0.LicensingManagerImpl.checkLicense(String)#######Thread[Thread-37,5,main]##0#0#Error#1#/System/Server#Java###The installed license for software product "" is NOT valid. The concerned component may only run with restricted functionality. In case of "J2EE-Engine" the system will shut down.#1#J2EE-Engine_ORA# As we are using J2EE-Engine, it shuts down. Can someone please suggest me where should i check in the system that license is available or not. And, if it is not available then what is the procedure to get it/troubleshoot this issue? This is the partial content of defaultrace.trc file that talks about license issue. Please let me know if some more data is required from my end: #1.5 #0011257E7694007B0000005B0009003800046E03C0E3F7F0#1246862306965#com.sap.engine.core.thread.impl5.ThreadManagerImpl##com.sap.engine.core.thread.impl5.ThreadManagerImpl#Guest#0#####Thread[Thread-94,5,main]##0#0#Error##Plain###Unexpected thread activity after interrupt() is executed in shutdown of SAPEngine_System_Thread[impl:5]_ThreadManager: Thread[SAPEngine_System_Thread[impl:5]_12] Task: com.sap.engine.core.thread.impl5.ActionObject - Processing Task [classname: com.sap.jms.client.connection.AsyncCloser | toString: com.sap.jms.client.connection.AsyncCloser@3fd83fd8] with classloader [com.sap.engine.core.service630.container.ComponentClassLoader@40354035@common:library:com.sap.security.api.sda;library:com.sap.security.core.sda;library:security.class;library:webservices_lib;service:adminadapter;service:basicadmin;service:com.sap.security.core.ume.service;service:configuration;service:connector;service:dbpool;service:deploy;service:jmx;service:jmx_notification;service:keystore;service:security;service:userstore]# #1.5 #0011257E7694007B0000005C0009003800046E03C0E3F8D5#1246862306965#com.sap.engine.core.thread.impl5.ThreadManagerImpl##com.sap.engine.core.thread.impl5.ThreadManagerImpl#Guest#0#####Thread[Thread-94,5,main]##0#0#Error##Plain###Unexpected thread activity after interrupt() is executed in shutdown of SAPEngine_System_Thread[impl:5]_ThreadManager: Thread[SAPEngine_System_Thread[impl:5]_88] Task: com.sap.engine.core.thread.impl5.ActionObject - Processing Task [classname: com.sap.engine.services.log_configurator.archive.ArchivingThread | toString: com.sap.engine.services.log_configurator.archive.ArchivingThread@19df19df] with classloader [com.sap.engine.core.service630.container.ComponentClassLoader@61c361c3@service:log_configurator]# #1.5 #0011257E7694002D00000000000330BE00046E03CB1DF3ED#1246862478537#com.sap.caf.um.metadata.imp.MetaDataTools##com.sap.caf.um.metadata.imp.MetaDataTools.MetaDataTools()#######SAPEngine_System_Thread[impl:5]_75##0#0#Info#1#/System/Server#Plain###sap.com caf/um/metadata/imp MAIN_APL70VAL_C 1528581# #1.5 #0011257E7694003600000000000330BE00046E03CB28D757#1246862479251#com.sap.caf.um.relgroups.imp.persistence.DataSource##com.sap.caf.um.relgroups.imp.persistence.DataSource.DataSource()#######SAPEngine_System_Thread[impl:5]_28##0#0#Info#1#/System/Server#Plain###sap.com caf/um/relgroups/imp MAIN_APL70VAL_C 1528795# #1.5 #0011257E7694003600000002000330BE00046E03CB29AC52#1246862479305#com.sap.caf.um.relgroups.imp.principals.RelGroupFactory##com.sap.caf.um.relgroups.imp.principals.RelGroupFactory.RelGroupFactory()#######SAPEngine_System_Thread[impl:5]_28##0#0#Info#1#/System/Server#Plain###sap.com caf/um/relgroups/imp MAIN_APL70VAL_C 1528795# #1.5 #0011257E7694003900000000000330BE00046E03CB2D677B#1246862479550#com.sap.tc.lm.ctc.confs.service.ServiceFrame##com.sap.tc.lm.ctc.confs.service.ServiceFrame#######SAPEngine_System_Thread[impl:5]_85##0#0#Info#1#/System/Server/CTC#Plain###Starting Configuration util service...# #1.5 #0011257E7694003900000002000330BE00046E03CB2FC72E#1246862479705#com.sap.tc.lm.ctc.confs.service.ServiceFrame##com.sap.tc.lm.ctc.confs.service.ServiceFrame#######SAPEngine_System_Thread[impl:5]_85##0#0#Info#1#/System/Server/CTC#Plain###Configuration util service started successfully.# #1.5 #0011257E7694003300000001000330BE00046E03CB569F28#1246862482251#com.sapportals.trex.tns.TNSClient##com.sapportals.trex.tns.TNSClient#######SAPEngine_System_Thread[impl:5]_49##0#0#Error##Plain###verifyNameServerAddress: NameServer = tcpip://<nameserverhost>:<nameserverport> caught exception: java.net.MalformedURLException: For input string: "<nameserverport>"# #1.5 #0011257E7694003300000002000330BE00046E03CB56EE8D#1246862482271#com.sapportals.trex.tns.TNSClient##com.sapportals.trex.tns.TNSClient#######SAPEngine_System_Thread[impl:5]_49##0#0#Error##Plain###Invalid Entry for nameserver: tcpip://<nameserverhost>:<nameserverport> caught Exception: com.sapportals.trex.TrexException: TREX Name Server (including back-up servers) is down or not accessable. (Errorcode 7217)# #1.5 #0011257E7694003300000003000330BE00046E03CB57C779#1246862482327#com.sapportals.trex.tns.TNSClient##com.sapportals.trex.tns.TNSClient#######SAPEngine_System_Thread[impl:5]_49##0#0#Error##Plain###verifyNameServerAddress: NameServer = tcpip://<nameserverhost>:<nameserverport> caught exception: java.net.MalformedURLException: For input string: "<nameserverport>"# #1.5 #0011257E7694003300000004000330BE00046E03CB57C8C5#1246862482327#com.sapportals.trex.tns.TNSClient##com.sapportals.trex.tns.TNSClient#######SAPEngine_System_Thread[impl:5]_49##0#0#Error##Plain###Invalid Entry for nameserver: tcpip://<nameserverhost>:<nameserverport> caught Exception: com.sapportals.trex.TrexException: TREX Name Server (including back-up servers) is down or not accessable. (Errorcode 7217)# #1.5 #0011257E7694005800000001000330BE00046E03CB7F348B#1246862484911#com.sap.engine.core.licensing.impl0.LicensingManagerImpl##com.sap.engine.core.licensing.impl0.LicensingManagerImpl.checkLicense(String)#######Thread[Thread-37,5,main]##0#0#Error#1#/System/Server#Java###The installed license for software product "" is NOT valid. The concerned component may only run with restricted functionality. In case of "J2EE-Engine" the system will shut down.#1#J2EE-Engine_ORA#

#1.5 #0011257E7694005900000000000330BE00046E03CB85D893#1246862485346#com.sap.caf.eu.gp.model.forms.tracer.Tracer##com.sap.caf.eu.gp.model.forms.tracer.Tracer#Guest#0#####SAPEngine_Application_Thread[impl:3]_13##0#0#Error#1#/System/Server#Plain###Inserting trace information: <traceID = null> <class_name = CFMailConnector> <method_name = run()> <DOName = > <message = Error: Cannot process adapter logon data. Could not retrieve registered adapters>#

#1.5 #0011257E7694005900000002000330BE00046E03CB85DBC0#1246862485347#com.sap.caf.eu.gp.model.forms.tracer.Tracer##com.sap.caf.eu.gp.model.forms.tracer.Tracer#Guest#0#####SAPEngine_Application_Thread[impl:3]_13##0#0#Error#1#/System/Server#Plain###Object not found in lookup of GPService.

com.sap.caf.eu.gp.base.exception.EngineException: Object not found in lookup of GPService.

at com.sap.caf.eu.gp.model.forms.adapter.FormAdapterMediator.getInstance(FormAdapterMediator.java:83)

at com.sap.caf.eu.gp.model.forms.connector.CFMailConnector.run(CFMailConnector.java:669)

at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)

at java.security.AccessController.doPrivileged(AccessController.java:219)

at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)

Caused by: com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Object not found in lookup of GPService.

at com.sap.engine.services.jndi.implserver.ServerContextImpl.lookup(ServerContextImpl.java:649)

at com.sap.engine.services.jndi.implclient.ClientContext.lookup(ClientContext.java:344)

at com.sap.engine.services.jndi.implclient.ClientContext.lookup(ClientContext.java:639)

at javax.naming.InitialContext.lookup(InitialContext.java:361)

at javax.naming.InitialContext.lookup(InitialContext.java:361)

at com.sap.caf.eu.gp.model.forms.adapter.FormAdapterMediator.<init>(FormAdapterMediator.java:107)

at com.sap.caf.eu.gp.model.forms.adapter.FormAdapterMediator.getInstance(FormAdapterMediator.java:78)

... 5 more

JPReyes
Active Contributor
0 Kudos

The installed license for software product "" is NOT valid.

Yeap.. thats why your engine is restarting.... When the license is expired/not valid your system will only run for 30 min at a time... this is to give you time to apply the license via visual admin

Read,

http://help.sap.com/saphelp_nw04s/helpdata/en/14/5e533e5ff4d064e10000000a114084/frameset.htm

Regards

Juan

Former Member
0 Kudos

Try to set variable CPIC_MAX_CONV=200.

setenv CPIC_MAX_CONV 2000

or export CPIC_MAX_CONV=2000

Answers (2)

Answers (2)

Diggeshhjoshi
Contributor
0 Kudos

David, Please look in defaulttrace file in J2EE directory. Errors in defaulttrace log would indicate for any problem with java system.

Thanks,

Digesh Joshi

JPReyes
Active Contributor
0 Kudos

Sounds like a licensing issue... if the license is invalid the portal will shutdown automatically after 30 min until the license is updated.

Otherwise check the defaultrace for errors

Regards

Juan