Re: Tomcat JNDI

2000-11-09 Thread cmanolache
No problemo. The GPL issue is being resolved (=we're switching license). That's great ! There is a lot of code that should be reused/shared, and it's really bad when the license prevents that. additional permissions, like changing the class path, and also ACL doesn't implement the

Re: Tomcat JNDI

2000-11-08 Thread Rickard Oberg
Hi! The latest jBoss release (see jboss.org for download) contains embedded Tomcat 3.2 integration and support for "java:comp/env" namespace where you can bind environment entries, resource references, and EJB references. All I can say is that I hate licenses ( GPL, Apache - all

Re: Tomcat JNDI

2000-11-06 Thread Remy Maucherat
If I recall correctly, it's actually sort of tricky to get this right. You might want to check the source for the Tomcat 4 implementation for ideas -- I believe it depends on the servlet container calling Thread.setContextClassLoader() once you know which webapp you're running in. This only

Re: Tomcat JNDI

2000-11-06 Thread Craig R. McClanahan
"Roytman, Alex" wrote: I am trying to tie Tomcat with JNDI to use J2EE pattern to obtain resources: Context context = new InitialContext(); dataSource = (DataSource)context.lookup("java:comp/env/jdbc/myDataSource"); (I know Tomcat team is planning to have it for Tomcat 4 eventually)

Tomcat JNDI

2000-11-06 Thread Roytman, Alex
I am trying to tie Tomcat with JNDI to use J2EE pattern to obtain resources: Context context = new InitialContext(); dataSource = (DataSource)context.lookup("java:comp/env/jdbc/myDataSource"); (I know Tomcat team is planning to have it for Tomcat 4 eventually) I have my own little in memory