axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "J H" <doctaj...@hotmail.com>
Subject Re: Change the Port that Axis Service runs as
Date Mon, 08 Aug 2005 15:07:03 GMT
I found something incredibly interesting, by chance this weekend.  If I 
startup the 2nd axis webapp first and then start the 1st webapp after that, 
everything works fine on the same machine.  This must have been why the two 
webapps worked fine on different machines.  I started playing with the 
load-on-startup tag in the web.xml to see if I could setup which webapp was 
loaded first.  It hasn't worked yet, but I might be doing something wrong.

Jeff

>From: James Wilson <wilsonj@ociweb.com>
>Reply-To: axis-user@ws.apache.org
>To: axis-user@ws.apache.org
>Subject: Re: Change the Port that Axis Service runs as
>Date: Fri, 05 Aug 2005 12:01:53 -0500
>
>My last thought is that maybe there something in WebDAV that is getting in 
>the
>way.
>
>-James
>
>
>Quoting J H <doctajeff@hotmail.com>:
>
> > Thanks for trying this on your computer!  I have basically the same
> > configuration, JDK 5, Tomcat 5.5, and Axis 1.2.1.
> >
> > 1st Webapp
> > ------------------
> > Slide
> > (Handles External Webdav Requests via http://localhost:8080/mywebdav, 
>makes
> > axis/soap calls to the second webapp inside of the Tomcat container to 
>get
> > the data from the database.)
> >
> >
> > 2nd Webapp
> > ------------------
> > Self Contained Axis Webapp (I just made my own webapp and included the 
>axis
> > jars in the web-inf/lib directory)
> > (Handles Requests from the 1st Webapp, via
> > http://localhost:8080/myservice/services/MyService and retrieves data 
>from a
> > database via JDBC)
> >
> >
> > >From: James Wilson <wilsonj@ociweb.com>
> > >Reply-To: axis-user@ws.apache.org
> > >To: axis-user@ws.apache.org
> > >Subject: Re: Change the Port that Axis Service runs as
> > >Date: Fri, 05 Aug 2005 08:06:07 -0500
> > >
> > >I just setup a quick sample.  Using Axis 1.2.1 and Tomcat 5.5 running 
>in
> > >JRE 5.0
> > >I installed a second web app into tomcat.  It worked.
> > >
> > >I installed the two web apps by putting XML config files under
> > >CATALINA_HOME/conf/Catalina/localhost/ like below.  Both pointed at two
> > >different exploded-war directories
> > >     <?xml version="1.0" encoding="utf-8"?>
> > >     <Context docBase="C:/dev/client/war" path="/client" 
>reloadable="true">
> > >     </Context>
> > >
> > >I then start Tomcat using the this command (allows remote debug from
> > >eclipse):
> > >     %CATALINA_HOME%\bin\catalina.bat jpda start
> > >
> > >This is my standard development procedure.  My client connected to the 
>Axis
> > >server via:
> > >    MyServiceLocator loc = new MyServiceLocator();
> > >
> > 
> >loc.setMyPortEndpointAddress("http://127.0.0.1:8080/server/services/MyPort");
> > >    MyPortType port = loc.getMyPort();
> > >    port.invokeMyFunction();
> > >
> > >
> > >Hows is your procedure different?  I don't know if it's important, but
> > >during
> > >this test I had all of the Axis jar dependencies in both 
>war/WEB-INF/lib
> > >directories (duplicated).
> > >
> > >Quoting J H <doctajeff@hotmail.com>:
> > >
> > > > Here's is the complete stack trace...
> > > >
> > > > Again, the scenario is that when I install the 2 wars on seperate
> > >machines,
> > > > everything works fine.  When I install the wars on the same machine,
> > >nothing
> > > > works and I get the message pasted below after about 5 minutes from 
>the
> > > > first client axis/soap call.
> > > >
> > > > My theory is that both webapplications are serving out to port 8080 
>and
> > >when
> > > > the axis client is trying to communicate with the axis server it
> > >connects to
> > > > port 8080, but it is talking to the wrong webapp.  That is why
> > >everything
> > > > works fine when I move the webapps to different machines.
> > > >
> > > > Thanks again,
> > > > Jeff
> > > >
> > > > Caught SOAPException :; nested exception is:
> > > > 	java.net.SocketTimeoutException: Read timed out
> > > > AxisFault
> > > > faultCode:
> > >{http://schemas.xmlsoap.org/soap/envelope/}Server.userException
> > > > faultSubcode:
> > > > faultString: java.net.SocketTimeoutException: Read timed out
> > > > faultActor:
> > > > faultNode:
> > > > faultDetail:
> > > >
> > 
> >	{http://xml.apache.org/axis/}stackTrace:java.net.SocketTimeoutException:
> > > > Read timed out
> > > > 	at java.net.SocketInputStream.socketRead0(Native Method)
> > > > 	at java.net.SocketInputStream.read(SocketInputStream.java:129)
> > > > 	at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
> > > > 	at java.io.BufferedInputStream.read(BufferedInputStream.java:201)
> > > > 	at
> > > >
> >
> >org.apache.axis.transport.http.HTTPSender.readHeadersFromSocket(HTTPSender.java:583)
> > > > 	at
> > >org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:143)
> > > > 	at
> > > >
> >
> >org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
> > > > 	at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
> > > > 	at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
> > > > 	at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
> > > > 	at org.apache.axis.client.Call.invokeEngine(Call.java:2765)
> > > > 	at org.apache.axis.client.Call.invoke(Call.java:2748)
> > > > 	at org.apache.axis.client.Call.invoke(Call.java:2424)
> > > > 	at org.apache.axis.client.Call.invoke(Call.java:2347)
> > > > 	at org.apache.axis.client.Call.invoke(Call.java:1804)
> > > > 	at 
>com.project.slide.store.SoapMessage.sendMessage(SoapMessage.java:51)
> > > > 	at
> > > >
> > 
> >com.project.slide.store.SecurityStore.retrieveObject(SecurityStore.java:118)
> > > > 	at
> > > >
> > 
> >org.apache.slide.store.StandardStore.retrieveObject(StandardStore.java:171)
> > > > 	at
> > >org.apache.slide.structure.StructureImpl.create(StructureImpl.java:321)
> > > > 	at
> > > >
> >
> >org.apache.slide.common.XMLUnmarshaller.loadObjectNode(XMLUnmarshaller.java:194)
> > > > 	at
> > > >
> >
> >org.apache.slide.common.XMLUnmarshaller.loadObjectNode(XMLUnmarshaller.java:299)
> > > > 	at
> > > >
> > 
> >org.apache.slide.common.XMLUnmarshaller.unmarshal(XMLUnmarshaller.java:126)
> > > > 	at
> > > >
> >
> >org.apache.slide.common.NamespaceAccessTokenImpl.importData(NamespaceAccessTokenImpl.java:306)
> > > > 	at 
>org.apache.slide.common.Namespace.loadBaseData(Namespace.java:821)
> > > > 	at org.apache.slide.common.Domain.initNamespace(Domain.java:859)
> > > > 	at org.apache.slide.common.Domain.init(Domain.java:478)
> > > > 	at org.apache.slide.common.Domain.init(Domain.java:412)
> > > > 	at org.apache.slide.common.Domain.init(Domain.java:375)
> > > > 	at 
>org.apache.slide.webdav.WebdavServlet.init(WebdavServlet.java:286)
> > > > 	at javax.servlet.GenericServlet.init(GenericServlet.java:256)
> > > > 	at 
>org.apache.slide.webdav.WebdavServlet.init(WebdavServlet.java:228)
> > > > 	at
> > > >
> >
> >org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:935)
> > > > 	at
> > >org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:823)
> > > > 	at
> > > >
> >
> >org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3421)
> > > > 	at
> > > >
> > 
> >org.apache.catalina.core.StandardContext.start(StandardContext.java:3609)
> > > > 	at
> > >org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
> > > > 	at 
>org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
> > > > 	at
> > >org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
> > > > 	at
> > >org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
> > > > 	at
> > 
> >org.apache.catalina.core.StandardService.start(StandardService.java:497)
> > > > 	at
> > >org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
> > > > 	at
> > > >
> > 
> >org.apache.catalina.startup.CatalinaService.start(CatalinaService.java:273)
> > > > 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > > 	at
> > > >
> > 
> >sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > 	at
> > > >
> >
> >sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > 	at java.lang.reflect.Method.invoke(Method.java:324)
> > > > 	at
> > > >
> > 
> >org.apache.catalina.startup.BootstrapService.start(BootstrapService.java:245)
> > > > 	at
> > > >
> > 
> >org.apache.catalina.startup.BootstrapService.main(BootstrapService.java:307)
> > > >
> > > > 	{http://xml.apache.org/axis/}hostname:win2kjeff
> > > >
> > > > java.net.SocketTimeoutException: Read timed out
> > > > 	at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
> > > > 	at
> > >org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:154)
> > > > 	at
> > > >
> >
> >org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
> > > > 	at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
> > > > 	at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
> > > > 	at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
> > > > 	at org.apache.axis.client.Call.invokeEngine(Call.java:2765)
> > > > 	at org.apache.axis.client.Call.invoke(Call.java:2748)
> > > > 	at org.apache.axis.client.Call.invoke(Call.java:2424)
> > > > 	at org.apache.axis.client.Call.invoke(Call.java:2347)
> > > > 	at org.apache.axis.client.Call.invoke(Call.java:1804)
> > > > 	at 
>com.project.slide.store.SoapMessage.sendMessage(SoapMessage.java:51)
> > > > 	at
> > > >
> > 
> >com.project.slide.store.SecurityStore.retrieveObject(SecurityStore.java:118)
> > > > 	at
> > > >
> > 
> >org.apache.slide.store.StandardStore.retrieveObject(StandardStore.java:171)
> > > > 	at
> > >org.apache.slide.structure.StructureImpl.create(StructureImpl.java:321)
> > > > 	at
> > > >
> >
> >org.apache.slide.common.XMLUnmarshaller.loadObjectNode(XMLUnmarshaller.java:194)
> > > > 	at
> > > >
> >
> >org.apache.slide.common.XMLUnmarshaller.loadObjectNode(XMLUnmarshaller.java:299)
> > > > 	at
> > > >
> > 
> >org.apache.slide.common.XMLUnmarshaller.unmarshal(XMLUnmarshaller.java:126)
> > > > 	at
> > > >
> >
> >org.apache.slide.common.NamespaceAccessTokenImpl.importData(NamespaceAccessTokenImpl.java:306)
> > > > 	at 
>org.apache.slide.common.Namespace.loadBaseData(Namespace.java:821)
> > > > 	at org.apache.slide.common.Domain.initNamespace(Domain.java:859)
> > > > 	at org.apache.slide.common.Domain.init(Domain.java:478)
> > > > 	at org.apache.slide.common.Domain.init(Domain.java:412)
> > > > 	at org.apache.slide.common.Domain.init(Domain.java:375)
> > > > 	at 
>org.apache.slide.webdav.WebdavServlet.init(WebdavServlet.java:286)
> > > > 	at javax.servlet.GenericServlet.init(GenericServlet.java:256)
> > > > 	at 
>org.apache.slide.webdav.WebdavServlet.init(WebdavServlet.java:228)
> > > > 	at
> > > >
> >
> >org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:935)
> > > > 	at
> > >org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:823)
> > > > 	at
> > > >
> >
> >org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3421)
> > > > 	at
> > > >
> > 
> >org.apache.catalina.core.StandardContext.start(StandardContext.java:3609)
> > > > 	at
> > >org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
> > > > 	at 
>org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
> > > > 	at
> > >org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
> > > > 	at
> > >org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
> > > > 	at
> > 
> >org.apache.catalina.core.StandardService.start(StandardService.java:497)
> > > > 	at
> > >org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
> > > > 	at
> > > >
> > 
> >org.apache.catalina.startup.CatalinaService.start(CatalinaService.java:273)
> > > > 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > > 	at
> > > >
> > 
> >sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > 	at
> > > >
> >
> >sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > 	at java.lang.reflect.Method.invoke(Method.java:324)
> > > > 	at
> > > >
> > 
> >org.apache.catalina.startup.BootstrapService.start(BootstrapService.java:245)
> > > > 	at
> > > >
> > 
> >org.apache.catalina.startup.BootstrapService.main(BootstrapService.java:307)
> > > > Caused by: java.net.SocketTimeoutException: Read timed out
> > > > 	at java.net.SocketInputStream.socketRead0(Native Method)
> > > > 	at java.net.SocketInputStream.read(SocketInputStream.java:129)
> > > > 	at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
> > > > 	at java.io.BufferedInputStream.read(BufferedInputStream.java:201)
> > > > 	at
> > > >
> >
> >org.apache.axis.transport.http.HTTPSender.readHeadersFromSocket(HTTPSender.java:583)
> > > > 	at
> > >org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:143)
> > > > 	... 42 more
> > > > org.apache.slide.common.ServiceAccessException: Service
> > > > com.project.slide.store.SecurityStore@1071521 access error : ; 
>nested
> > > > exception is:
> > > > 	java.net.SocketTimeoutException: Read timed out
> > > > 	at
> > > >
> > 
> >com.project.slide.store.SecurityStore.retrieveObject(SecurityStore.java:135)
> > > > 	at
> > > >
> > 
> >org.apache.slide.store.StandardStore.retrieveObject(StandardStore.java:171)
> > > > 	at
> > >org.apache.slide.structure.StructureImpl.create(StructureImpl.java:321)
> > > > 	at
> > > >
> >
> >org.apache.slide.common.XMLUnmarshaller.loadObjectNode(XMLUnmarshaller.java:194)
> > > > 	at
> > > >
> >
> >org.apache.slide.common.XMLUnmarshaller.loadObjectNode(XMLUnmarshaller.java:299)
> > > > 	at
> > > >
> > 
> >org.apache.slide.common.XMLUnmarshaller.unmarshal(XMLUnmarshaller.java:126)
> > > > 	at
> > > >
> >
> >org.apache.slide.common.NamespaceAccessTokenImpl.importData(NamespaceAccessTokenImpl.java:306)
> > > > 	at 
>org.apache.slide.common.Namespace.loadBaseData(Namespace.java:821)
> > > > 	at org.apache.slide.common.Domain.initNamespace(Domain.java:859)
> > > > 	at org.apache.slide.common.Domain.init(Domain.java:478)
> > > > 	at org.apache.slide.common.Domain.init(Domain.java:412)
> > > > 	at org.apache.slide.common.Domain.init(Domain.java:375)
> > > > 	at 
>org.apache.slide.webdav.WebdavServlet.init(WebdavServlet.java:286)
> > > > 	at javax.servlet.GenericServlet.init(GenericServlet.java:256)
> > > > 	at 
>org.apache.slide.webdav.WebdavServlet.init(WebdavServlet.java:228)
> > > > 	at
> > > >
> >
> >org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:935)
> > > > 	at
> > >org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:823)
> > > > 	at
> > > >
> >
> >org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3421)
> > > > 	at
> > > >
> > 
> >org.apache.catalina.core.StandardContext.start(StandardContext.java:3609)
> > > > 	at
> > >org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
> > > > 	at 
>org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
> > > > 	at
> > >org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
> > > > 	at
> > >org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
> > > > 	at
> > 
> >org.apache.catalina.core.StandardService.start(StandardService.java:497)
> > > > 	at
> > >org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
> > > > 	at
> > > >
> > 
> >org.apache.catalina.startup.CatalinaService.start(CatalinaService.java:273)
> > > > 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > > 	at
> > > >
> > 
> >sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > 	at
> > > >
> >
> >sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > 	at java.lang.reflect.Method.invoke(Method.java:324)
> > > > 	at
> > > >
> > 
> >org.apache.catalina.startup.BootstrapService.start(BootstrapService.java:245)
> > > > 	at
> > > >
> > 
> >org.apache.catalina.startup.BootstrapService.main(BootstrapService.java:307)
> > > > org.apache.slide.structure.ObjectNotFoundException: No object found 
>at
> > > > /actions
> > > > 	at
> > > >
> >
> >slidestore.reference.MemoryDescriptorsStore.retrieveObject(MemoryDescriptorsStore.java:251)
> > > > 	at
> > > >
> > 
> >org.apache.slide.store.AbstractStore.retrieveObject(AbstractStore.java:539)
> > > > 	at
> > > >
> > 
> >org.apache.slide.store.StandardStore.retrieveObject(StandardStore.java:177)
> > > > 	at
> > > >
> >
> >org.apache.slide.common.NamespaceConfig.getActionNode(NamespaceConfig.java:1106)
> > > > 	at
> > > >
> >
> >org.apache.slide.common.NamespaceConfig.initializeNamespaceConfig(NamespaceConfig.java:596)
> > > > 	at
> > >org.apache.slide.common.Namespace.loadConfiguration(Namespace.java:888)
> > > > 	at org.apache.slide.common.Domain.initNamespace(Domain.java:864)
> > > > 	at org.apache.slide.common.Domain.init(Domain.java:478)
> > > > 	at org.apache.slide.common.Domain.init(Domain.java:412)
> > > > 	at org.apache.slide.common.Domain.init(Domain.java:375)
> > > > 	at 
>org.apache.slide.webdav.WebdavServlet.init(WebdavServlet.java:286)
> > > > 	at javax.servlet.GenericServlet.init(GenericServlet.java:256)
> > > > 	at 
>org.apache.slide.webdav.WebdavServlet.init(WebdavServlet.java:228)
> > > > 	at
> > > >
> >
> >org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:935)
> > > > 	at
> > >org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:823)
> > > > 	at
> > > >
> >
> >org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3421)
> > > > 	at
> > > >
> > 
> >org.apache.catalina.core.StandardContext.start(StandardContext.java:3609)
> > > > 	at
> > >org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
> > > > 	at 
>org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
> > > > 	at
> > >org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
> > > > 	at
> > >org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
> > > > 	at
> > 
> >org.apache.catalina.core.StandardService.start(StandardService.java:497)
> > > > 	at
> > >org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
> > > > 	at
> > > >
> > 
> >org.apache.catalina.startup.CatalinaService.start(CatalinaService.java:273)
> > > > 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > > 	at
> > > >
> > 
> >sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > 	at
> > > >
> >
> >sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > 	at java.lang.reflect.Method.invoke(Method.java:324)
> > > > 	at
> > > >
> > 
> >org.apache.catalina.startup.BootstrapService.start(BootstrapService.java:245)
> > > > 	at
> > > >
> > 
> >org.apache.catalina.startup.BootstrapService.main(BootstrapService.java:307)
> > > > java.lang.NullPointerException
> > > > 	at
> > > >
> >
> >org.apache.slide.common.NamespaceConfig.getParameter(NamespaceConfig.java:534)
> > > > 	at
> > > >
> >
> >org.apache.slide.common.NamespaceAccessTokenImpl.<init>(NamespaceAccessTokenImpl.java:133)
> > > > 	at org.apache.slide.common.Domain.accessNamespace(Domain.java:289)
> > > > 	at 
>org.apache.slide.webdav.WebdavServlet.init(WebdavServlet.java:296)
> > > > 	at javax.servlet.GenericServlet.init(GenericServlet.java:256)
> > > > 	at 
>org.apache.slide.webdav.WebdavServlet.init(WebdavServlet.java:228)
> > > > 	at
> > > >
> >
> >org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:935)
> > > > 	at
> > >org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:823)
> > > > 	at
> > > >
> >
> >org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3421)
> > > > 	at
> > > >
> > 
> >org.apache.catalina.core.StandardContext.start(StandardContext.java:3609)
> > > > 	at
> > >org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
> > > > 	at 
>org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
> > > > 	at
> > >org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
> > > > 	at
> > >org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
> > > > 	at
> > 
> >org.apache.catalina.core.StandardService.start(StandardService.java:497)
> > > > 	at
> > >org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
> > > > 	at
> > > >
> > 
> >org.apache.catalina.startup.CatalinaService.start(CatalinaService.java:273)
> > > > 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > > 	at
> > > >
> > 
> >sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > 	at
> > > >
> >
> >sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > 	at java.lang.reflect.Method.invoke(Method.java:324)
> > > > 	at
> > > >
> > 
> >org.apache.catalina.startup.BootstrapService.start(BootstrapService.java:245)
> > > > 	at
> > > >
> > 
> >org.apache.catalina.startup.BootstrapService.main(BootstrapService.java:307)
> > > > java.lang.NullPointerException
> > > > 	at
> > > >
> >
> >org.apache.slide.common.NamespaceConfig.getParameter(NamespaceConfig.java:534)
> > > > 	at
> > > >
> >
> >org.apache.slide.common.NamespaceAccessTokenImpl.<init>(NamespaceAccessTokenImpl.java:133)
> > > > 	at org.apache.slide.common.Domain.accessNamespace(Domain.java:289)
> > > > 	at 
>org.apache.slide.webdav.WebdavServlet.init(WebdavServlet.java:296)
> > > > 	at javax.servlet.GenericServlet.init(GenericServlet.java:256)
> > > > 	at 
>org.apache.slide.webdav.WebdavServlet.init(WebdavServlet.java:228)
> > > > 	at
> > > >
> >
> >org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:935)
> > > > 	at
> > > >
> > 
> >org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:668)
> > > > 	at
> > > >
> >
> >org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
> > > > 	at
> > > >
> >
> >org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
> > > > 	at
> > > >
> > 
> >org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> > > > 	at
> > >org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > > > 	at
> > > >
> >
> >org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
> > > > 	at
> > > >
> >
> >org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
> > > > 	at
> > > >
> >
> >org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:553)
> > > > 	at
> > > >
> >
> >org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
> > > > 	at
> > > >
> > 
> >org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> > > > 	at
> > >org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > > > 	at
> > > >
> > 
> >org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2416)
> > > > 	at
> > > >
> > 
> >org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
> > > > 	at
> > > >
> >
> >org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
> > > > 	at
> > > >
> >
> >org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
> > > > 	at
> > > >
> >
> >org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
> > > > 	at
> > > >
> > 
> >org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
> > > > 	at
> > > >
> >
> >org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
> > > > 	at
> > > >
> > 
> >org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> > > > 	at
> > >org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > > > 	at
> > > >
> >
> >org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
> > > > 	at
> > > >
> >
> >org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
> > > > 	at
> > > >
> > 
> >org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> > > > 	at
> > >org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> > > > 	at
> > >org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
> > > > 	at
> > > >
> > 
> >org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:601)
> > > > 	at
> > > >
> >
> >org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
> > > > 	at
> > > >
> > 
> >org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
> > > > 	at
> > > >
> >
> >org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
> > > > 	at java.lang.Thread.run(Thread.java:534)
> > > >
> > > >
> > > >
> > > > >From: James Wilson <wilsonj@ociweb.com>
> > > > >Reply-To: axis-user@ws.apache.org
> > > > >To: axis-user@ws.apache.org, J H <doctajeff@hotmail.com>
> > > > >CC: axis-user@ws.apache.org
> > > > >Subject: Re: Change the Port that Axis Service runs as
> > > > >Date: Thu, 04 Aug 2005 13:07:49 -0500
> > > > >
> > > > >What is the actuall error/exceptions you are seeing?  Before you 
>make a
> > > > >request
> > > > >to your client application, can you successfully request the 
>services
> > >wsdl
> > > > >from
> > > > >axis (http://localhost:9090/axis/services/MyPort?wsdl)?
> > > > >
> > > > >Quoting J H <doctajeff@hotmail.com>:
> > > > >
> > > > > > They are both setup to use different URI's, but I think what
is
> > >going on
> > > > >is
> > > > > > that the first webapp is listening through port 8080 for slide
> > >messages
> > > > >and
> > > > > > the second, axis, webapp/service is listening for soap requests.
> > > > > >
> > > > > > When the slide webapp receives a request it starts up a axis

>call to
> > >the
> > > > > > axis server which is also running on port 8080 and the whole

>tomcat
> > > > > > container becomes unstable.
> > > > > >
> > > > > > I REALLY appreciate your help!  I'm scouring the web looking
for
> > >someone
> > > > >who
> > > > > > has done something similar.  It seems like changing the port
for
> > >axis
> > > > >would
> > > > > > be something people would commonly do, is that assumption 
>incorrect?
> > > > > >
> > > > > > Thanks,
> > > > > > Jeff
> > > > > >
> > > > > > >From: James Wilson <wilsonj@ociweb.com>
> > > > > > >Reply-To: axis-user@ws.apache.org
> > > > > > >To: axis-user@ws.apache.org
> > > > > > >Subject: Re: Change the Port that Axis Service runs as
> > > > > > >Date: Thu, 04 Aug 2005 11:28:44 -0500
> > > > > > >
> > > > > > >This is sounding more and more like a it's not really an
Axis
> > >question,
> > > > >but
> > > > > > >a
> > > > > > >servlet container question.
> > > > > > >
> > > > > > >I'm assuming when you say port, you're talking about TCP/IP

>port.
> > >The
> > > > >port
> > > > > > >is
> > > > > > >maintained by the servlet container.  If you are developing
two
> > >WARs at
> > > > >the
> > > > > > >same time, I recommend deploying both to the same instance
of
> > >Tomcat
> > > > >(or
> > > > > > >some
> > > > > > >other container).  Then you would access the two web 
>applications
> > >via
> > > > >the
> > > > > > >same
> > > > > > >port, but different URI
> > > > > > >     http://localhost:8080/axis
> > > > > > >     http://localhost:8080/interface
> > > > > > >
> > > > > > >where one war was axis.war and the other was interface.war.
> > > > > > >
> > > > > > >Too answer your question about changing the port, Tomcat

>controls
> > >this
> > > > >in
> > > > > > >CATALINA_HOME/conf/server.xml.  Look for the <Connector>

>element.
> > >You
> > > > >can
> > > > > > >learn more about Tomcat administration by following the
> > >Documentation
> > > > >link
> > > > > > >for
> > > > > > >the version you are using from this page:
> > > > >http://jakarta.apache.org/tomcat/
> > > > > > >
> > > > > > >-james
> > > > > > >
> > > > > > >Quoting J H <doctajeff@hotmail.com>:
> > > > > > >
> > > > > > > > Well, I started out using Eclipse to create WAR files
for 
>both
> > > > > > > > webapplications (axis and interface), but I never
ran the 
>two in
> > > > >unison
> > > > > > > > through Eclipse.
> > > > > > > >
> > > > > > > > Is there a way to change the port that a servlet runs
on?
> > > > > > > >
> > > > > > > > Thanks,
> > > > > > > > Jeff
> > > > > > > >
> > > > > > > > >From: James Wilson <wilsonj@ociweb.com>
> > > > > > > > >Reply-To: axis-user@ws.apache.org
> > > > > > > > >To: axis-user@ws.apache.org
> > > > > > > > >Subject: Re: Change the Port that Axis Service
runs as
> > > > > > > > >Date: Thu, 04 Aug 2005 07:38:56 -0500
> > > > > > > > >
> > > > > > > > >I haven't been using Axis all that long either.
 However I
> > >don't
> > > > >think
> > > > > > >Axis
> > > > > > > > >itself can run on a port.  Thus the application
fighting 
>over
> > >port
> > > > >8080
> > > > > > > > >would
> > > > > > > > >be your servlet container.  Are you starting Tomcat
via an
> > >Eclipse
> > > > > > >plugin?
> > > > > > > > >
> > > > > > > > >hope it helps,
> > > > > > > > >james
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >Quoting J H <doctajeff@hotmail.com>:
> > > > > > > > >
> > > > > > > > > > Hi Everyone.  This is my first time e-mailing
this list,
> > >because
> > > > >the
> > > > > > > > > > documentation out there for this project
has been 
>fantastic!
> > > > > > >(Thanks to
> > > > > > > > >the
> > > > > > > > > > Axis and Eclipse participants).
> > > > > > > > > >
> > > > > > > > > > I have built a self-contained web application
(service) 
>that
> > > > > > >implements
> > > > > > > > >the
> > > > > > > > > > Axis libraries.  I have another webapplication
that I 
>would
> > >like
> > > > >to
> > > > > > >be
> > > > > > > > >able
> > > > > > > > > > to run on the same application server that
talks to this
> > >custom
> > > > >axis
> > > > > > > > >service
> > > > > > > > > > to send messages back and forth to my client.
 It seems 
>that
> > >the
> > > > >two
> > > > > > > > > > applications are fighting over the default
port 8080.  I
> > >have
> > > > > > >confirmed
> > > > > > > > >this
> > > > > > > > > > by installing the 2 webservices on different
machines, 
>and
> > >the
> > > > > > >solution
> > > > > > > > > > works great.  I know it must be a simple
solution, but I
> > >can't
> > > > >find
> > > > > > >out
> > > > > > > > > > anywhere how to change the port that Axis
runs as.
> > > > > > > > > >
> > > > > > > > > > Thanks!
> > > > > > > > > > Jeff
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > >
> > > >
> > > >
> >
> >
> >



Mime
View raw message