Re: [U2] UV SOAP into Tomcat
Please let us know if you hear from IBM. I have email u2askus and will post the results to the list. Craig --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] UV SOAP into Tomcat
> It depends on how IBM have done it. Developing on Jetty and then > deploying on tomcat is a pretty common use-case. Jetty is great because you > can run it in Eclipse with the debugger on and step through your program as > it answers requests. Of course jetty is pretty good in production as well. > Eclipse does have some amazing Tomcat plugins as well but the Jetty one is > simpler and faster. > Apologies for replying to my own post but this blog entry covers the process better than I can http://www.codecommit.com/blog/java/so-long-wtp-embedded-jetty-for-me Regards, Adrian --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] UV SOAP into Tomcat
On Fri, Mar 28, 2008 at 7:10 PM, Craig Bennett <[EMAIL PROTECTED]> wrote: > > UniSOAPServer is built on top of Jetty (it is embedded). So, it won't > > work under Tomcat, unless it has some kind of "servlet" mode hidden > > under the covers. > > > It depends on how IBM have done it. Developing on Jetty and then deploying on tomcat is a pretty common use-case. Jetty is great because you can run it in Eclipse with the debugger on and step through your program as it answers requests. Of course jetty is pretty good in production as well. Eclipse does have some amazing Tomcat plugins as well but the Jetty one is simpler and faster. The usual process is to develop a main method that starts jetty and point it at your webapp. Your webapp should be just that, i.e. something that can be deployed on any app server. Looking at the log above, the UniSoapServer.main starts jetty, the jetty HttpHandler then starts UniSoapServerMonitor so it may be possible that the UniSoapServerMonitor stuff can be dragged out and deployed on Tomcat. As David and Ray have said, the people at IBM who developed this should be able to answer in 5 minutes flat. I thought it odd when they presented at U2 University that they had tied to a particular server and not let us choose. Please let us know if you hear from IBM. Regards, Adrian, Auckland, NZ. --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] UV SOAP into Tomcat
Sounds like a good one to fire at U2AskUs also! --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] UV SOAP into Tomcat
Of course, the best confirmation needs to come from IBM. Drop their support team a request and get them to verify. It would help if there was deployment documentation, then we wouldn't need to go digging around and guess what the heck is going on(!). Regards, David -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Craig Bennett Sent: Friday, March 28, 2008 5:11 PM To: u2-users@listserver.u2ug.org Subject: Re: [U2] UV SOAP into Tomcat > UniSOAPServer is built on top of Jetty (it is embedded). So, it won't > work under Tomcat, unless it has some kind of "servlet" mode hidden > under the covers. > Thanks David, I'll share the good news. --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] UV SOAP into Tomcat
UniSOAPServer is built on top of Jetty (it is embedded). So, it won't work under Tomcat, unless it has some kind of "servlet" mode hidden under the covers. Thanks David, I'll share the good news. --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] UV SOAP into Tomcat
Hi Craig UniSOAPServer is built on top of Jetty (it is embedded). So, it won't work under Tomcat, unless it has some kind of "servlet" mode hidden under the covers. Turn on UniSOAPServer debugging and check out the log file, you can see all the glory details. ;-) Regards, David 2008 Mar 28 13:45:54 EST EVENT [main]com.ibm.u2.unisoap.server.UniSOAPServer.main(UniSOAPServer.java:77 )01> Start DMMS Dev(UniSOAP 1.0) 2008 Mar 28 13:45:54 EST DEBUG [main]com.ibm.u2.unisoap.server.UniSOAPServer.main(UniSOAPServer.java:80 )01> DEBUG ON 2008 Mar 28 13:45:54 EST EVENT [main]com.ibm.u2.unisoap.server.UniSOAPServer.main(UniSOAPServer.java:81 )01> DMMS Dev Debug=true 2008 Mar 28 13:45:54 EST EVENT [main]com.ibm.u2.unisoap.server.UniSOAPServer.main(UniSOAPServer.java:95 )01> Starting non-secure server... port=8181 2008 Mar 28 13:45:54 EST DEBUG [main]org.mortbay.http.HttpServer.addComponent(HttpServer.java:1247)03> add component: [EMAIL PROTECTED]:8181 2008 Mar 28 13:45:54 EST DEBUG [main]org.mortbay.http.HttpServer.addComponent(HttpServer.java:1247)03> add component: HttpContext[/] 2008 Mar 28 13:45:54 EST DEBUG [main]org.mortbay.http.HttpServer.addMapping(HttpServer.java:519)04> Added HttpContext[/] for host * 2008 Mar 28 13:45:54 EST EVENT [main]com.ibm.u2.unisoap.server.UniSOAPServer.main(UniSOAPServer.java:14 4)01> DMMS Dev maxCPPoolSize=10 2008 Mar 28 13:45:54 EST EVENT [main]com.ibm.u2.unisoap.server.UniSOAPServer.main(UniSOAPServer.java:14 6)01> DMMS Dev minCPPoolSize=1 2008 Mar 28 13:45:54 EST EVENT [main]com.ibm.u2.unisoap.server.UniSOAPServer.main(UniSOAPServer.java:15 4)01> DMMS Dev services cache size=0 2008 Mar 28 13:45:54 EST EVENT [main]org.mortbay.http.HttpServer.start(HttpServer.java:640)02> Starting Jetty/4.2.x 2008 Mar 28 13:45:54 EST DEBUG [main]org.mortbay.http.HttpContext.initClassLoader(HttpContext.java:1377 )04> Init classloader from null, [EMAIL PROTECTED] for HttpContext[/] 2008 Mar 28 13:45:54 EST DEBUG [main]org.mortbay.http.handler.AbstractHttpHandler.start(AbstractHttpHan dler.java:79)06> Started com.ibm.u2.unisoap.server.UniSOAPHandler in HttpContext[/] 2008 Mar 28 13:45:54 EST EVENT [main]org.mortbay.http.HttpContext.start(HttpContext.java:1901)03> Started HttpContext[/] 2008 Mar 28 13:45:54 EST EVENT [main]org.mortbay.http.SocketListener.start(SocketListener.java:176)03> Started SocketListener on 0.0.0.0:8181 2008 Mar 28 13:45:54 EST EVENT [main]org.mortbay.http.HttpServer.start(HttpServer.java:676)02> Started [EMAIL PROTECTED] 2008 Mar 28 13:45:54 EST EVENT [main]com.ibm.u2.unisoap.server.UniSOAPServerMonitor.(UniSOAPServe rMonitor.java:57)03> The monitor for DMMS Dev started -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Craig Bennett Sent: Friday, March 28, 2008 3:46 PM To: u2-users@listserver.u2ug.org Subject: Re: [U2] UV SOAP into Tomcat Hi David, does that mean -- you can't run uniSoap in tomcat as it is built for jetty? or merged with jetty? or embeds jetty? I thought jetty/tomcat were alternatives and was hoping that if you could run X in jetty you could run it tomcat ... the jetty web page says it can be both container and component? thanks, Craig --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] UV SOAP into Tomcat
Hi David, does that mean -- you can't run uniSoap in tomcat as it is built for jetty? or merged with jetty? or embeds jetty? I thought jetty/tomcat were alternatives and was hoping that if you could run X in jetty you could run it tomcat ... the jetty web page says it can be both container and component? thanks, Craig --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] UV SOAP into Tomcat
Hi Craig, You're actually executing an application server of sorts, in reality, as UniSOAP server is actually an implementation of Jetty (or vice-versa, depending on your viewpoint). There is a debate of the merits of Tomcat versus Jetty. Adding another layer/interface has its pros and cons. But Jetty is designed to be 'lean' in terms of the resource footprint, whereas Tomcat is not optimised with that in mind. (check out org.mortbay.http.*) I'm not sure if this helps! Regards, David -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Craig Bennett Sent: Friday, March 28, 2008 11:36 AM To: u2-users@listserver.u2ug.org Subject: [U2] UV SOAP into Tomcat Hi All, I know this has been asked before and I have tried reading the responses in the archives but I think I'm missing a step somewhere. The new UniSoap server can be run from a command line on any platform with java -- thats just a matter of classpaths and config files. Thats fine -- we copy the bits we need from Windows to AIX and away we go. BUT my customer is wary of just having this java executable running to service all their SOAP requests and would prefer to do it through tomcat so that there is an administration interface etc. Does anyone know if we can run the UniSoap server inside tomcat? I think I'm asking if it can be a servlet but my tomcat knowledge is hazy. thanks, Craig --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
[U2] UV SOAP into Tomcat
Hi All, I know this has been asked before and I have tried reading the responses in the archives but I think I'm missing a step somewhere. The new UniSoap server can be run from a command line on any platform with java -- thats just a matter of classpaths and config files. Thats fine -- we copy the bits we need from Windows to AIX and away we go. BUT my customer is wary of just having this java executable running to service all their SOAP requests and would prefer to do it through tomcat so that there is an administration interface etc. Does anyone know if we can run the UniSoap server inside tomcat? I think I'm asking if it can be a servlet but my tomcat knowledge is hazy. thanks, Craig --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/