All;
Sorry for the stupid question but I can't seem to find details anywhere.
I'm not clear on configuring JBoss2.4.5/Tomcat. The bootstrap of Catalina
is in the jboss.jcml and does not seem to use the
/Jboss2.4.5-Tomcat/catalina/conf/server.xml at all. Should I move all the
needed config options from server.xml and move them to jboss.jcml or is the
server.xml file used in some way?
I want to add a MemoryRealm realm and have added this to jboss.jcml:
<!-- The embedded Tomcat-4.x(Catalina) service configuration -->
<mbean code="org.jboss.web.catalina.EmbeddedCatalinaServiceSX"
name="DefaultDomain:service=EmbeddedCatalinaSX">
<attribute name="Config">
<Server>
<Service name = "JBoss-Tomcat">
<Engine name="MainEngine" defaultHost="localhost">
<Logger className = "org.jboss.web.catalina.Log4jLogger"
verbosityLevel = "trace" category =
"org.jboss.web.localhost.Engine"/>
<Realm className="org.apache.catalina.realm.MemoryRealm" />
<Host name="localhost">
<Valve className =
"org.apache.catalina.valves.AccessLogValve"
prefix = "localhost_access" suffix = ".log"
pattern = "common" directory = "../jboss/log" />
<DefaultContext cookies = "true" crossContext = "true"
override = "true" />
</Host>
</Engine>
<!-- A HTTP Connector on port 8080 -->
<Connector className =
"org.apache.catalina.connector.http.HttpConnector"
port = "8080" minProcessors = "3" maxProcessors = "10"
enableLookups = "true"
acceptCount = "10" debug = "0" connectionTimeout = "60000"/>
<!-- Define an AJP 1.3 Connector on port 8009 -->
<Connector className = "org.apache.ajp.tomcat4.Ajp13Connector"
port = "8009"
minProcessors = "5" maxProcessors = "75" acceptCount = "10"
debug = "0"/>
</Service>
</Server>
</attribute>
</mbean>
Is this correct? Where should I place the Tomcat-users.xml file?
_______________________________________________________________
Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user