tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Piers Finlayson" <>
Subject Help embedding apache tomcat and axis within java app
Date Fri, 25 Nov 2005 13:42:25 GMT
Hi there,

I'm fairly new to tomcat, and I'm trying to deploy axis within apache
tomcat, with tomcat embedded within my own java application.

I've followed the instructions to run tomcat embedded within another
application, and tomcat is now running.  However, I can't figure out how
to actually get axis deployed and running within tomcat.  I suspect I've
done something spectacularly stupid, but if you could help me, I'd be
very grateful.  The code I have in my java application to run tomcat is
as follows.

    tomcat = new Embedded();
    tomcatEngine = tomcat.createEngine();
    tomcatHost = tomcat.createHost("localhost",
    tomcatContextdefault = tomcat.createContext("", "");
    tomcatConnector = tomcat.createConnector(tomcatHost.getName(), 8080,

The bit I suspect is totally wrong is this line, but I'm at a loss to
what I should do.

    tomcatHost = tomcat.createHost("localhost",

I'm using tomcat 5.5 and axis 1.3.

TIA for you help!


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message