Results 1 to 5 of 5
- 06-25-2007, 05:01 AM #1
Member
- Join Date
- Jun 2007
- Posts
- 92
- Rep Power
- 0
java.lang.StackOverflowError Exception
I am modifying an application and this throwing tom me the java.lang.StackOverflowError exception in my WebSphere.
The application invokes a service with RMI (remote method invocation).
the exact line of the method that sends the exception is
this is the line that the approve() methos is invoked.Java Code:Object $result = ref.invoke(this, $method_approve_0, new java.lang. Object[] {$param_ServiceContext_1, $param_CreditCardDetails_2}, -8032042095988443398L);
Stack trace is:
Albert:cool:Java Code:2005-11-04 12-36-46-646 : CCI:0a8ca248.1131129406526.1. -7980862930925633594:null : DEBUG : env.cci.server.CreditCardServiceProxy Entering getCreditCardService() 2005-11-04 12-36-46-646 : CCI:0a8ca248.1131129406526.1.-7980862930925633594:null : DEBUG : env.cci.server.CreditCardServiceProxy Entering initialize() 2005-11-04 12-36-46-646 : CCI:0a8ca248.1131129406526.1.-7980862930925633594:null : DEBUG : env.cci.server.CreditCardServiceProxy Entering getRemoteReference() 2005-11-04 12-36-46-686 : CCI:0a8ca248.1131129406526.1.-7980862930925633594:null : DEBUG : env.cci.server.CreditCardServiceProxy Leaving getRemoteReference() 2005-11-04 12-36-46-686 : CCI:0a8ca248.1131129406526.1.-7980862930925633594:null : DEBUG : env.cci.server.CreditCardServiceProxy Leaving initialize() 2005-11-04 12-36-46-686 : CCI:0a8ca248.1131129406526.1.-7980862930925633594:null : DEBUG : env.cci.server.CreditCardServiceProxy Leaving getCreditCardService() 2005-11-04 12-36-46-706 : CCI:0a8ca248.1131129406526.1.-7980862930925633594:null : DEBUG : env.cci.server.CreditCardServiceProxy Entering approve() 2005-11-04 12-36-46-856 : CCI:0a8ca248.1131129406526.1.-7980862930925633594:null : ERROR : env.cci.server.CreditCardServiceProxy Caught RemoteException for RMI name: rmi://localhost/PPRCreditCardService java.rmi.ServerError: Error occurred in server thread; nested exception is: java.lang.StackOverflowError java.lang.StackOverflowError at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:257) at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:232) at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:135) at ca.mb.gov.env.cci.server.CreditCardServiceImpl_Stub.approve(CreditCardServiceImpl_Stub.java:71) at ca.mb.gov.env.cci.server.CreditCardServiceProxy.approve(CreditCardServiceProxy.java:94) at ca.mb.gov.env.cci.drivers.test.CCITest.main(CCITest.java:39) at java.lang.reflect.Method.invoke(Native Method) at com.ibm.websphere.client.applicationclient.launchClient.createContainerAndLaunchApp(launchClient.java:616) at com.ibm.websphere.client.applicationclient.launchClient.main(launchClient.java:420) at java.lang.reflect.Method.invoke(Native Method) at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94)
- 06-27-2007, 04:10 PM #2
Senior Member
- Join Date
- Jun 2007
- Posts
- 111
- Rep Power
- 0
RE: java.lang.StackOverflowError Exception
I have understood that generally the Exception java.lang.StackOverflowError occurs when it does an infinitive autoinvoke
Did you prove with regenerating the Deployment and RMIC?
(I don't remember exactly how it was in WSAD, now I am with Eclipse)
Eric
- 08-24-2012, 04:58 PM #3
Member
- Join Date
- Mar 2012
- Posts
- 2
- Rep Power
- 0
Re: java.lang.StackOverflowError Exception
Hi,
I just got the same error as below :-
************* End Display Current Environment *************
[8/20/12 15:00:05:940 CDT] 00000015 SystemErr R Cannot load XSL files from C:\Program Files (x86)\IBM\SDP\runtimes\base_v7\plugins\com.ibm.ws. runtime.jar
[8/20/12 15:00:05:942 CDT] 00000015 SystemErr R Cannot load XSL files from C:\Program Files (x86)\IBM\SDP\runtimes\base_v7\plugins\com.ibm.ws. runtime.jar
[8/20/12 15:00:05:943 CDT] 00000015 SystemErr R Cannot load XSL files from C:\Program Files (x86)\IBM\SDP\runtimes\base_v7\plugins\com.ibm.ws. runtime.jar
[8/20/12 15:00:05:947 CDT] 00000015 SystemErr R Cannot load XSL files from C:\Program Files (x86)\IBM\SDP\runtimes\base_v7\plugins\com.ibm.ws. runtime.jar
[8/20/12 16:08:20:940 CDT] 00000020 SystemErr R 08/20 16:08:19 ERROR java.lang.StackOverflowError
at java.util.AbstractMap.putAll(Unknown Source)
at java.util.TreeMap.putAll(Unknown Source)
at macromedia.asc.util.Multinames.checkDelegate(Multi names.java:43)
at macromedia.asc.util.Multinames.put(Multinames.java :55)
at macromedia.asc.util.Multinames.put(Multinames.java :13)
at java.util.AbstractMap.putAll(Unknown Source)
at java.util.TreeMap.putAll(Unknown Source)
at macromedia.asc.util.Multinames.checkDelegate(Multi names.java:43)
at macromedia.asc.util.Multinames.put(Multinames.java :55)
at macromedia.asc.util.Multinames.put(Multinames.java :13)
at java.util.AbstractMap.putAll(Unknown Source)
at java.util.TreeMap.putAll(Unknown Source)
at macromedia.asc.util.Multinames.checkDelegate(Multi names.java:43)
at macromedia.asc.util.Multinames.put(Multinames.java :55)
at macromedia.asc.util.Multinames.put(Multinames.java :13)
at java.util.AbstractMap.putAll(Unknown Source)
The solution that worked for me was to install the fix 11 for WAS 7.0
See the link below:
IBM PK71997: RAD CONSOLE SHOWS SYSTEMERROR "CANNNOT LOAD XSL FILE FROM COM.IBM.WS.RUNTIME.JAR" AFTER SERVER IS STARTED. - United States
If you are using RAD or RSA I recommend you to run the IBM Installation Manager and pick the Updates instead of installing the WAS fix only . While installing instead of choosing everything choose only required thing.
Thanks & Regards,
Sridhar Goranti
USA
- 08-24-2012, 05:05 PM #4
Member
- Join Date
- Mar 2012
- Posts
- 2
- Rep Power
- 0
Re: java.lang.StackOverflowError Exception
Hi,
Still If you are facing the same problem in IBM Web Sphere 7 Application Server, you can increase the size of heap memory by specifying the min and max.
-Xms1024m -Xmx1024m
If you want to set the same at IBM Web Sphere 7 server level, open the admin console and below is path :-
Application servers -> Server1 -> Process defination -> Java Vertual Machine
for min / max heap size as :-
min heap size: 250
max heap size : 1024
or both you can give it as : 1024 only. After that save it and restart the server to test it.
Thanks & Regards,
Sridhar Goranti
USA
- 08-24-2012, 10:02 PM #5
Similar Threads
-
java.lang.StackOverflowError
By eva in forum New To JavaReplies: 3Last Post: 12-24-2007, 09:54 AM -
Exception in thread "main" java.lang.NoClassDefFoundError
By baltimore in forum New To JavaReplies: 1Last Post: 08-06-2007, 06:07 AM -
Error: Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException
By romina in forum New To JavaReplies: 1Last Post: 07-25-2007, 10:55 PM -
ArrayList: Exception in thread "main" java.lang.NullPointerException
By susan in forum New To JavaReplies: 1Last Post: 07-16-2007, 06:32 AM -
java.lang.NoClassDefFoundError Exception when I invoke to a class outside projectEJB
By Daniel in forum Enterprise JavaBeans (EJB)Replies: 1Last Post: 07-06-2007, 06:08 AM


LinkBack URL
About LinkBacks


Bookmarks