- This topic has 3 replies, 2 voices, and was last updated 18 years, 11 months ago by
Riyad Kalla.
-
AuthorPosts
-
Hi,
when I run an JSP application with the Tomcat started in the IDE I have no problem, but if I start Tomcat outside the IDE I have an error.
My application use RMI to conect to a server java application. Before the reported error many messages are sent to the server with no problems.I am using:
Eclipse 3.2.0
MyEclipse 5.0 Milestone 2
Tomcat 5.5The exception that I receive is:
_________________________________
java.rmi.MarshalException: error marshalling arguments; nested exception is:
java.net.SocketException: Software caused connection abort: socket write
error
at sun.rmi.server.UnicastRef.invoke(Unknown Source)
at ime.sodc.server.SODCServer_Stub.insertDataAndReturnId(SODCServer_Stub
.java:526)
at principia.dao.PrincipiaDAO.insertOrUpdate(PrincipiaDAO.java:32)
at principia.atendimento.business.UpdateAtendimentoBusiness.run(UpdateAt
endimentoBusiness.java:20)
at principia.command.TransactionCommandRunner.runCommand(TransactionComm
andRunner.java:17)
at principia.atendimento.facade.AtendimentoFacadeImpl.runBusiness(Atendi
mentoFacadeImpl.java:154)
at principia.atendimento.facade.AtendimentoFacadeImpl.updateAtendimento(
AtendimentoFacadeImpl.java:306)
at principia.atendimento.action.SalvarOcorrenciaAction.executeImpl(Salva
rOcorrenciaAction.java:27)
at principia.atendimento.action.PrincipiaAction.execute(PrincipiaAction.
java:36)
at org.apache.struts.action.RequestProcessor.processActionPerform(Reques
tProcessor.java:419)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.ja
va:224)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:119
4)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)________________
Thanks, Ulf Bergmann
August 14, 2006 at 10:58 am #256702
Riyad KallaMemberMoving to OT > Soft Dev
If everything is working inside of MyEclipse but not outside of it, I have to think that you have some sort of configuration error with your default startup of Tomcat. Double check your Tomcat connector settings under MyEclipse and make sure you are duplicating any customizations there in your Tomcat startup scripts.
August 14, 2006 at 11:10 am #256708I discover the real problem. When using Tomcat with RMI in Windows there is a bug when the Tomcat instalation dir have a space in the name (like “c:\Program File\Apache Software Foundation\Tomcat 5.5”). I instaled Tomcat in another location without space in the name and it works fine.
Thanks for your answer.
UlfAugust 14, 2006 at 11:42 am #256718
Riyad KallaMemberUlf, thanks for following up, glad it’s working now.
-
AuthorPosts