• Post Reply Bookmark Topic Watch Topic
  • New Topic

J2EE problem while accesing RMI Server

 
Venkatesh Rajendran
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have a J2EE application in Oracle 9iAS server, I have created an application which access a RMI Server runs in a different PC, it works fine in my /dev site, I moved the same files to /test site (Same machine but different context), which also access the same RMI Server, now my application throws the following error in /test site where as it is working perfectly in /dev site.

If you have any idea on this please let me know. Thanks in advance.

Regards,

Venkat

----------- Exception throws in server --------------------

500 Internal Server Error
java.lang.ClassFormatError: com/sgsap/feed/server/IFeed (Extra bytes at the end of the class file)at java.lang.ClassLoader.defineClass0(Native Method)at java.lang.ClassLoader.defineClass(ClassLoader.java:493)at com.evermind[Oracle9iAS (1.0.2.2) Containers for J2EE].naming.ContextClassLoader.findClass(ContextClassLoader.java:250)at java.lang.ClassLoader.loadClass(ClassLoader.java:299)at java.lang.ClassLoader.loadClass(ClassLoader.java:255)at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)at java.lang.ClassLoader.defineClass0(Native Method)at java.lang.ClassLoader.defineClass(ClassLoader.java:493)at com.evermind[Oracle9iAS (1.0.2.2) Containers for J2EE].naming.ContextClassLoader.findClass(ContextClassLoader.java:250)at java.lang.ClassLoader.loadClass(ClassLoader.java:299)at java.lang.ClassLoader.loadClass(ClassLoader.java:255)at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)at java.lang.Class.forName0(Native Method)at java.lang.Class.forName(Class.java:195)at java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:654)at sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.java:121)at java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStream.java:918)at java.io.ObjectInputStream.readObject(ObjectInputStream.java:366)at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1186)at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)at java.rmi.Naming.lookup(Naming.java:84)at com.sgsap.feed.client.FeedClient.getData(FeedClient.java:99)at ReportManager.updatePostTradeFeedServerValues(ReportManager.java:998)at ReportManager.updatePostTradeFeedValues(ReportManager.java:961)at ReportManager.getPostTradeData(ReportManager.java:1449)at /html/Trade/PostTradeReportExcel.jsp._jspService(/html/Trade/PostTradeReportExcel.jsp.java:84) (JSP page line 44)at com.orionserver[Oracle9iAS (1.0.2.2) Containers for J2EE].http.OrionHttpJspPage.service(OrionHttpJspPage.java:54)at com.evermind[Oracle9iAS (1.0.2.2) Containers for J2EE].server.http.HttpApplication.serviceJSP(HttpApplication.java:5458)at com.evermind[Oracle9iAS (1.0.2.2) Containers for J2EE].server.http.JSPServlet.service(JSPServlet.java:31)at com.evermind[Oracle9iAS (1.0.2.2) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:501)at com.evermind[Oracle9iAS (1.0.2.2) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:170)at com.evermind[Oracle9iAS (1.0.2.2) Containers for J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:576)at com.evermind[Oracle9iAS (1.0.2.2) Containers for J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:189)at com.evermind[Oracle9iAS (1.0.2.2) Containers for J2EE].util.ThreadPoolThread.run(ThreadPoolThread.java:62)

-----------------------------------------------------------
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!