cancel
Showing results for 
Search instead for 
Did you mean: 

Deployment error with StackOverflow:

Former Member
0 Kudos

1. Error: Below is the error iam gettigng when i try to deploy a EAR file

Exception during generating components of sap.com/SAP eTransEjb1 application in EJBContainer container..

Reason: null; nested exception is:

java.rmi.RemoteException: class com.sap.engine.services.deploy.server.utils.DSRemoteException: Exception during generating components of sap.com/SAP eTransEjb1 application in EJBContainer container..

Reason: null; nested exception is:

java.rmi.RemoteException: class java.lang.StackOverflowError: Methods getMessage() and getLocalizedMessage() of java.lang.StackOverflowError returned NULL.Please check, why the original exception was thrown with message NULL.#com.sap.engine.services.monitor.mbeans.MonitorResourceBundle##

Accepted Solutions (1)

Accepted Solutions (1)

Vlado
Advisor
Advisor
0 Kudos

Hi Muthu,

Please check the /usr/sap/<SID>/<instance>/j2ee/cluster/server<n>/log/defaultTrace.n.trc for more information on the StackOverflowError (e.g. stack trace). What version of NetWeaver are you using?

Best regards,

Vladimir

Former Member
0 Kudos

Hi

Iam using SAP NetWeaver Application Server, Java(TM) EE 5 Edition.

Now its throwing

<b> "Caused by: java.lang.OutOfMemoryError Java heap space (failed to allocate 32784 bytes)"</b>

How to increase Heap space in this version.

Thanks for your reply

Regards

Muthu

Vlado
Advisor
Advisor
0 Kudos

Hi Muthu,

1. Go to the C:\SAP\JP1\JC00\j2ee\configtool folder

2. Start configtool.bat

3. Go to cluster-data -> template - template_javaee -> instance - IDxxxxx

4. Go to the VM Parameters tab and edit the maxHeapSize property

5. Save and restart the system.

HTH!

-Vladimir

PS: I'm moving this thread to the forum dedicated to Java EE 5.

Former Member
0 Kudos

Hi Vladimir

Thank you so much and navigated as you said we increased the Heap size.

I tried through Cofig tool previously and we are not able to loacate the

exact place.

But now the issue is again with

"java.rmi.RemoteException: class java.lang.StackOverflowError: Methods getMessage() and getLocalizedMessage() of java.lang.StackOverflowError returned NULL.Please check, why the original exception was thrown with message NULL."

As you said i went and check the log files and iam having the same error list in the default trace also.

Let me know how to solve the issue....Its not mentioning any file name where i can go and do the changes...

Thanks.

Muthu

Vlado
Advisor
Advisor
0 Kudos

Hi Muthu,

If you provide the stack trace of the StackOverflowError it could help localize the problem.

Best regards,

Vladimir

Former Member
0 Kudos

Hi Vladimir,

Below content i got it from defaulttrace.trc file and iam copying just 100 lines it has around 1200 lines...

#1.5 #0019BB42EF5A000C0000002200000FA0007015318FB2B949#1168342486453#com.sap.engine.services.tcxblxdeploy_controller##com.sap.engine.services.tcxblxdeploy_controller#Administrator#3#####Thread[RMI/IIOP Worker [4],5,Dedicated_Application_Thread]##0#0#Error#1#/System/Server/Deployment#Plain#An error occurred while deploying the deployment item 'sap.com_SAP eTransEjb1'.; nested exception is:

java.rmi.RemoteException: class com.sap.engine.services.dc.gd.DeliveryException: An error occurred during deployment of sdu id: sap.com_SAP eTransEjb1

sdu file path: C:\Documents and Settings\Administrator\.sap\SDA\Etrans678.ear

version status: NEW

deployment status: Admitted

description:

1. Error:

Exception during generating components of sap.com/SAP eTransEjb1 application in EJBContainer container..

Reason: null; nested exception is:

java.rmi.RemoteException: class com.sap.engine.services.deploy.server.utils.DSRemoteException: Exception during generating components of sap.com/SAP eTransEjb1 application in EJBContainer container..

Reason: null; nested exception is:

java.rmi.RemoteException: class java.lang.StackOverflowError: Methods getMessage() and getLocalizedMessage() of java.lang.StackOverflowError returned NULL.Please check, why the original exception was thrown with message NULL.###

#1.5 #0019BB42EF5A000C0000002300000FA0007015318FB2B949#1168342486453#com.sap.engine.services.tcxblxdeploy_controller##com.sap.engine.services.tcxblxdeploy_controller#Administrator#3#####Thread[RMI/IIOP Worker [4],5,Dedicated_Application_Thread]##0#0#Error##Java###An error occurred while deploying the deployment item 'sap.com_SAP eTransEjb1'.; nested exception is:

java.rmi.RemoteException: class com.sap.engine.services.dc.gd.DeliveryException: An error occurred during deployment of sdu id: sap.com_SAP eTransEjb1

sdu file path: C:
Documents and Settings
Administrator
.sap
SDA
Etrans678.ear

version status: NEW

deployment status: Admitted

description:

1. Error:

Exception during generating components of sap.com/SAP eTransEjb1 application in EJBContainer container..

Reason: null; nested exception is:

java.rmi.RemoteException: class com.sap.engine.services.deploy.server.utils.DSRemoteException: Exception during generating components of sap.com/SAP eTransEjb1 application in EJBContainer container..

Reason: null; nested exception is:

java.rmi.RemoteException: class java.lang.StackOverflowError: Methods getMessage() and getLocalizedMessage() of java.lang.StackOverflowError returned NULL.Please check, why the original exception was thrown with message NULL.

Reason : An error occurred while deploying the deployment item 'sap.com_SAP eTransEjb1'.; nested exception is:

java.rmi.RemoteException: class com.sap.engine.services.dc.gd.DeliveryException: An error occurred during deployment of sdu id: sap.com_SAP eTransEjb1

sdu file path: C:
Documents and Settings
Administrator
.sap
SDA
Etrans678.ear

version status: NEW

deployment status: Admitted

description:

1. Error:

Exception during generating components of sap.com/SAP eTransEjb1 application in EJBContainer container..

Reason: null; nested exception is:

java.rmi.RemoteException: class com.sap.engine.services.deploy.server.utils.DSRemoteException: Exception during generating components of sap.com/SAP eTransEjb1 application in EJBContainer container..

Reason: null; nested exception is:

java.rmi.RemoteException: class java.lang.StackOverflowError: Methods getMessage() and getLocalizedMessage() of java.lang.StackOverflowError returned NULL.Please check, why the original exception was thrown with message NULL.

[EXCEPTION]

#1#com.sap.engine.services.dc.cm.deploy.DeploymentException: An error occurred while deploying the deployment item 'sap.com_SAP eTransEjb1'.; nested exception is:

java.rmi.RemoteException: class com.sap.engine.services.dc.gd.DeliveryException: An error occurred during deployment of sdu id: sap.com_SAP eTransEjb1

sdu file path: C:
Documents and Settings
Administrator
.sap
SDA
Etrans678.ear

version status: NEW

deployment status: Admitted

description:

1. Error:

Exception during generating components of sap.com/SAP eTransEjb1 application in EJBContainer container..

Reason: null; nested exception is:

java.rmi.RemoteException: class com.sap.engine.services.deploy.server.utils.DSRemoteException: Exception during generating components of sap.com/SAP eTransEjb1 application in EJBContainer container..

Reason: null; nested exception is:

java.rmi.RemoteException: class java.lang.StackOverflowError: Methods getMessage() and getLocalizedMessage() of java.lang.StackOverflowError returned NULL.Please check, why the original exception was thrown with message NULL.

at com.sap.engine.services.dc.cm.deploy.impl.OnlineDeployProcessor.performDelivery(OnlineDeployProcessor.java:186)

at com.sap.engine.services.dc.cm.deploy.impl.BulkOnlineDeployProcessor.deploy(BulkOnlineDeployProcessor.java:47)

at com.sap.engine.services.dc.cm.deploy.impl.AbstractDeployProcessor$DeployProcessorHelper.visit(AbstractDeployProcessor.java:177)

at com.sap.engine.services.dc.cm.deploy.impl.DeploymentItemImpl.accept(DeploymentItemImpl.java:83)

at com.sap.engine.services.dc.cm.deploy.impl.AbstractDeployProcessor.deploy(AbstractDeployProcessor.java:76)

at com.sap.engine.services.dc.cm.deploy.impl.DeployerImpl.performDeploy(DeployerImpl.java:624)

at com.sap.engine.services.dc.cm.deploy.impl.DeployerImpl.doDeploy(DeployerImpl.java:483)

at com.sap.engine.services.dc.cm.deploy.impl.DeployerImpl.deploy(DeployerImpl.java:206)

at com.sap.engine.services.dc.cm.deploy.impl.DeployerImpl.deploy(DeployerImpl.java:153)

at com.sap.engine.services.dc.cm.deploy.impl.DeployerImplp4_Skel.dispatch(DeployerImplp4_Skel.java:807)

at com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:253)

at com.sap.engine.services.rmi_p4.P4Message.execute(P4Message.java:109)

at com.sap.engine.services.cross.fca.FCAConnectorImpl.executeRequest(FCAConnectorImpl.java:841)

at com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:125)

at com.sap.engine.services.cross.fca.MessageReader.run(MessageReader.java:59)

at com.sap.engine.core.thread.execution.Executable.run(Executable.java:108)

at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:168)

Caused by: java.rmi.RemoteException: class com.sap.engine.services.dc.gd.DeliveryException: An error occurred during deployment of sdu id: sap.com_SAP eTransEjb1

sdu file path: C:
Documents and Settings
Administrator
.sap
SDA
Etrans678.ear

version status: NEW

deployment status: Admitted

description:

1. Error:

Exception during generating components of sap.com/SAP eTransEjb1 application in EJBContainer container..

Reason: null; nested exception is:

java.rmi.RemoteException: class com.sap.engine.services.deploy.server.utils.DSRemoteException: Exception during generating components of sap.com/SAP eTransEjb1 application in EJBContainer container..

Reason: null; nested exception is:

java.rmi.RemoteException: class java.lang.StackOverflowError: Methods getMessage() and getLocalizedMessage() of java.lang.StackOverflowError returned NULL.Please check, why the original exception was thrown with message NULL.

at com.sap.engine.services.dc.gd.impl.ApplicationDeployer.performDeployment(ApplicationDeployer.java:162)

at com.sap.engine.services.dc.gd.impl.GenericDeliveryImpl.deploy(GenericDeliveryImpl.java:54)

at com.sap.engine.services.dc.cm.deploy.impl.OnlineDeployProcessor.performDelivery(OnlineDeployProcessor.java:157)

... 16 more

Caused by: java.rmi.RemoteException: class com.sap.engine.services.deploy.server.utils.DSRemoteException: Exception during generating components of sap.com/SAP eTransEjb1 application in EJBContainer container..

Reason: null; nested exception is:

java.rmi.RemoteException: class java.lang.StackOverflowError: Methods getMessage() and getLocalizedMessage() of java.lang.StackOverflowError returned NULL.Please check, why the original exception was thrown with message NULL.

at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:299)

at com.sap.engine.services.dc.gd.impl.ApplicationDeployer.performDeployment(ApplicationDeployer.java:150)

... 18 more

Caused by: java.rmi.RemoteException: class java.lang.StackOverflowError: Methods getMessage() and getLocalizedMessage() of java.lang.StackOverflowError returned NULL.Please check, why the original exception was thrown with message NULL.

at java.lang.Exception.<init>(Exception.java:77)

at java.lang.reflect.InvocationTargetException.<init>(InvocationTargetException.java:54)

at sun.reflect.GeneratedMethodAccessor90_10001.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:585)

at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:917)

at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1339)

at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)

at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)

at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)

at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347)

at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)

Former Member
0 Kudos

Hi Vladimir

Are you able to get any solution for the above stackoverflow error.

regards

Muthu

Vlado
Advisor
Advisor
0 Kudos

Hi Muthu,

Yesterday I asked you (by mail) if possible to send me the application that is causing this issue. Please check.

-Vladimir

Former Member
0 Kudos

Hi

Can i have your email id and i will send you the defaulttrace.trc file

Regards

Muthu

Answers (0)