1 Reply Latest reply on Jul 26, 2004 4:52 PM by Sergiusz Michalski

    jBoss 3.2.3 and Tomcat manager HELP!

    Sergiusz Michalski Newbie

       

      Hi!!!
      
      I have a big problem with using very flexible Tomcat application manager knows from standalone Tomcat server.
      I use JBoss 3.2.3 with integrated Tomcat 4.1.29 so I'd like to use Tomcat manager from WWW under JBoss like in standalone Tomcat
      http://jakarta.apache.org/tomcat/tomcat-4.0-doc/manager-howto.html.
      
      I'm testing an application using apache Axis so it's very useble for me to have this feature, because I must very often make a changes in my class source code (I use java:RPC) and I'm fed up restarting all server after deploying new class.
      
      so I edited a file:
      C:\jboss-3.2.3\server\default\deploy\jbossweb-tomcat41.sar\META-INF\jboss-se
      rvice.xml which is a standalone Tomcat server.xml equivalent.
      
      and make a changes:
      
       <DefaultContext cookies="true" crossContext="true"
      override="true" reloadable="true" />
      
      reloadable to have an ability to refreshing context via WWW
      
      and setting simple RealmMemory:
       <Realm className="org.apache.catalina.realm.MemoryRealm"
      pathname="${jboss.server.home.dir}/server/default/conf/tomcat-users.xml" />
      
      tomcat-users.xml is like below:
      <tomcat-users>
      <user name="boss" password="snakes" roles="standard,manager" />
      </tomcat-users>
      
      now I restarted JBoss and an Error occured:
      
      when I type in browser http://localhost:8080/manager/list
      I get
      HTTP Status 500 - No Context configured to process this request.
      
      Where is my mistake???
      Could you help me solve this???
      
      small snapshot from jboss-service.xml :
      
      <Service name="JBoss-Tomcat">
       <Engine defaultHost="localhost" name="MainEngine">
       <Logger category="org.jboss.web.localhost.Engine"
       className="org.jboss.web.tomcat.Log4jLogger"
      verbosityLevel="debug"/>
       <Host name="localhost">
       <!-- Access logger -->
       <Valve
       className="org.apache.catalina.valves.AccessLogValve"
       directory="${jboss.server.home.dir}/log"
       pattern="common" prefix="localhost_access" suffix=".log"/>
       <Valve
      className="org.jboss.web.tomcat.security.SecurityAssociationValve"/>
       <!-- Default context parameters -->
       <DefaultContext cookies="true" crossContext="true"
      override="true" reloadable="true" />
       <Realm className="org.apache.catalina.realm.MemoryRealm"
      pathname="${jboss.server.home.dir}/server/default/conf/tomcat-users.xml" />
      
       <Context debug="0"
       docBase="C:/eclipse/workspace/HelloWeen/WebContent"
       path="/HelloWeen" reloadable="true"/>
       </Host>
       </Engine>
      [...]
      
      Thanks for all!!!
      Sergiusz