Re: Shark from Windows to Linux
Jaime Fernández <[email protected]>
| Newsgroups | gmane.comp.java.enhydra.shark |
|---|---|
| Message-ID | <[email protected]> |
We finally solved the problem, modifying the /etc/hosts file. In some linux distributions, you can find the following comment in this file (that explains the problem): # By the way, Arnt Gulbrandsen <[email protected]> says that 127.0.0.1 # should NEVER be named with the name of the machine. It causes problems # for some (stupid) programs, irc and reputedly talk. :^) So, our /etc/hosts file is now a minimalistic version: 127.0.0.1 localhost And now it's working. On 6/20/05, John Hollis <[email protected]> wrote: > Hi, > > I have a similar problem here, with both 1.0.1 and 1.1. > > Runs fine between a pair of windows boxes but move the server to linux and I can't get a remote connection using the admin app or in code. Here's where it fails in the code: > > workflowServer = SharkInterfaceHelper.narrow( ncRef.resolve( path ) ) ; > > Any ideas? > > Thanks, > > John Hollis > > > [email protected] wrote: > > Hi everybody, > > > > We've just developed a small web application which consists in a JSP web page in one Windows Machine and in another windows machine, Enhydra Shark. > > > > The JSP starts an Enhydra SHark process. This works properly, But when we move Ehnydra SHark from Windows to Linux the same JSP throws the above exception: > > > > org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201 completed: No > > com.sun.corba.se.internal.iiop.ConnectionTable.getConnection(ConnectionTable.java:148) > > com.sun.corba.se.internal.iiop.ConnectionTable.getConnection(ConnectionTable.java:65) > > com.sun.corba.se.internal.iiop.GIOPImpl.getConnection(GIOPImpl.java:67) > > com.sun.corba.se.internal.corba.ClientDelegate.createRequest(ClientDelegate.java:652) > > com.sun.corba.se.internal.corba.ClientDelegate.createRequest(ClientDelegate.java:594) > > com.sun.corba.se.internal.corba.ClientDelegate.request(ClientDelegate.java:886) > > org.omg.CORBA.portable.ObjectImpl._request(ObjectImpl.java:431) > > org.omg.CosNaming._NamingContextExtStub.resolve(_NamingContextExtStub.java:397) > > org.apache.jsp.empadronamiento_jsp._jspService(empadronamiento_jsp.java:142) > > org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94) > > javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324) > > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) > > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) > > javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > > > > > > Thanks in advance > > > > > > > > > > -- > You receive this message as a subscriber of the [email protected] mailing list. > To unsubscribe: mailto:[email protected] > For general help: mailto:[email protected]?subject=help > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws > > >
message.footer
(text/plain, 271 B)
-- You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws