Re: best practice for resources folder

2010-05-18 Thread Juergen Weber
Rainer Jung-3 wrote: If you want to keep them webapp-private, you might be interested in http://tomcat.apache.org/tomcat-6.0-doc/api/org/apache/catalina/loader/VirtualWebappLoader.html Thanks, that's exactly what I was looking for. Working dir for Tomcat seems to be bin, so my

best practice for resources folder

2010-05-17 Thread Juergen Weber
Hi, this seems to be a FAQ, but I could not find a solution for Tomcat 6: We want to keep property files out of war files. Where should we put the property files to access them from the web app via Class.getResourceAsStream() ? For JBoss one would simply drop them into the server conf folder,

Re: JNDIRealm - mapping LDAP group to security role

2008-10-09 Thread Juergen Weber
Geronimo maps roles to security principals: http://cwiki.apache.org/GMOxDOC10/jboss-to-geronimo-security-migration.html Maybe this feature could be ported into tomcat. On Thu, Oct 9, 2008 at 3:18 PM, Kevin Jackson [EMAIL PROTECTED] wrote: I am trying to configure a JNDIRealm to authenticate

Re: Jrockit Vs Sun

2008-06-17 Thread Juergen Weber
Why don't you try and run the DaCapo Benchmarks (http://dacapobench.org/) with JRockit and compare it to a Sun JDK 1.6 ? On Tue, Jun 17, 2008 at 8:22 PM, Peter Lin [EMAIL PROTECTED] wrote: I don't know the internals. From my understanding, the generations setting is configurable. I would

Re: Tomcat and parallel security realms

2008-03-25 Thread Juergen Weber
On Fri, Mar 14, 2008 at 7:50 PM, Christopher Schultz [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jürgen, Juergen Weber wrote: | the idea you sketched depends on the constructor being called with a | list of realms. Is that so? Not necessarily. Most

Re: Tomcat and parallel security realms

2008-03-14 Thread Juergen Weber
] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jürgen, Juergen Weber wrote: | So, if user tomcat logs in, JNDI realm should say User unknown and | afterwards memory realm should say fine, user is allowed. | | Unfortunately, Tomcat can only use one active realm. Is that right

Tomcat and parallel security realms

2008-03-13 Thread Juergen Weber
Hi, I have Tomcat users in an LDAP directoy. All users have the same rights, there are no groups. I have no influence over the LDAP servers' content. Tomcat uses the JNDI realm. Now, I need an additional, technical, user for Tomcat, that should be allowed to restart/redeploy web apps.Everybody

using Tomcat as template engine

2006-09-11 Thread Juergen Weber
Hi, can you use Tomcat as a template engine that can be called from a standalone Java program? It would be nice to do something like Writer out = ... request.setAttribute(user, Juergen); callTomcat(out,request,mytemplate.jsp); If not, should I enter an enhancement Bug? Thanks, Juergen

HTTP-less GenericServlets - Was: Socket Servlet using Tomcat 5.5.17

2006-06-02 Thread Juergen Weber
I have quite a similar problem as the original poster. I'd like to write a router for CORBA messages that should listen on a socket and forward the messages to JMS. Same as the OP I would like to host the code in Tomcat, to avoid having to handle all the threading and socket issues and still more

Tomcat embedded does not show ROOT context

2006-04-09 Thread Juergen Weber
Hi everybody, I made a war from the Tomcat root and manager applications and startet them with the code below. The manager app works and it lists the Root applicatio= n as installed. But when I try to go to http://localhost:6969/ there is only The requested resource (/) is not available. I added