• Post Reply Bookmark Topic Watch Topic
  • New Topic

help regarding delpoying

 
Dharmesh Chheda
Ranch Hand
Posts: 204
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello
I am using Eclipse and testing an EJB using JUnit.I have deployed the bean on WebSphere and invoking a method. but when i invoke the method i get the following error
---------------------------------------------
java.rmi.MarshalException: CORBA BAD_PARAM 6 Maybe; nested exception is:
java.io.NotSerializableException
java.io.NotSerializableException
at com.ibm.rmi.javax.rmi.CORBA.Util.mapSystemException(Util.java:149)
at javax.rmi.CORBA.Util.mapSystemException(Util.java:52)
at com.karcher.nbex.ejb._NBEXSubCat_Stub.getNextSubCategories(_NBEXSubCat_Stub.java:447)
at test.karcher.nbex.unit.NBEXSubCatBeanTest.testGetNextSubCategories(NBEXSubCatBeanTest.java:302)
at java.lang.reflect.Method.invoke(Native Method)
at junit.framework.TestCase.runTest(TestCase.java:166)
at junit.framework.TestCase.runBare(TestCase.java:140)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:131)
at junit.framework.TestSuite.runTest(TestSuite.java:173)
at junit.framework.TestSuite.run(TestSuite.java:168)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:329)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:218)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:151)
------------------------------------------------
the method in the bean is as shown below

all the class files used are serializable. w/o the while loop it works but when i include the while loop it gives me the above mentioned error
reply soon
thanks in advance
 
Chris Mathews
Ranch Hand
Posts: 2712
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You would probably get a better response if you posted this question to the WebSphere Forum.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!