Re: [jBoss-User] Tomcat fixes
Hi! Tim White wrote: > > I've been messing around with Tomcat a bit, and have fixed two things: > > * the naming service now reads jndi.properties into system properties. > > This means that servlets now can do "new InitialContext()" to use JNDI > > and does not have to have their own jndi.properties, or access > > /conf//jndi.properties explicitly. > > * The ClassPathExtension MBean now adds the URL's it finds not only to > > the server classloader but also to the system property java.class.path. > > What does this give? Well, we can now load Tomcat just as any other > > plugin (i.e. no need to fix classpath in run script) and JSP compilation > > works! > > So Rickard, are these fixes to Tomcat itself, or to the jBoss Tomcat > MBEAN? I'm assuming they are to the MBEAN, because we don't want the > Tomcat included with jBoss to be out fo sync with the main Tomcat tree, > right? First fix is to naming service MBean, and second is for ClassPathExtension MBean. No Tomcat changes. /Rickard -- Rickard Öberg Email: [EMAIL PROTECTED] http://www.telkel.com http://www.jboss.org http://www.dreambean.com -- -- To subscribe:[EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] Problems?: [EMAIL PROTECTED]
Re: [jBoss-User] Tomcat fixes
Rickard Öberg wrote: > I've been messing around with Tomcat a bit, and have fixed two things: > * the naming service now reads jndi.properties into system properties. > This means that servlets now can do "new InitialContext()" to use JNDI > and does not have to have their own jndi.properties, or access > /conf//jndi.properties explicitly. > * The ClassPathExtension MBean now adds the URL's it finds not only to > the server classloader but also to the system property java.class.path. > What does this give? Well, we can now load Tomcat just as any other > plugin (i.e. no need to fix classpath in run script) and JSP compilation > works! So Rickard, are these fixes to Tomcat itself, or to the jBoss Tomcat MBEAN? I'm assuming they are to the MBEAN, because we don't want the Tomcat included with jBoss to be out fo sync with the main Tomcat tree, right? Thanks, Tim -- -- To subscribe:[EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] Problems?: [EMAIL PROTECTED]
Re: [jBoss-User] Tomcat fixes
Rickard Öberg wrote: > I will modify the Windoze scripts to not include Tomcat in classpath. If > some *nix dude could do the same fix to the .sh script that would be > great. Done. Sebastien > > When I do this it means we must add a CPE MBean to jboss.conf. I will do > this too. > > regards, > Rickard > > ps. Can someone remind me why the JDBC jar is added to the classpath in > the scripts and not through the usual means..? > > -- > Rickard Öberg > > Email: [EMAIL PROTECTED] > http://www.telkel.com > http://www.jboss.org > http://www.dreambean.com > > -- > -- > To subscribe:[EMAIL PROTECTED] > To unsubscribe: [EMAIL PROTECTED] > Problems?: [EMAIL PROTECTED] -- -- To subscribe:[EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] Problems?: [EMAIL PROTECTED]
