Re: Converting to container based security.

2009-07-19 Thread Pid
On 19/7/09 04:56, Bill Davidson wrote: Tomcat 6.0.18 Java 1.6.0_14 RedHat 5.2 Server Oracle 10g I've got an old web app that was originally spec'd in 1999. Last year, I got it migrated from Tomcat 3.2.4 for 6.0.16 and more recently from Java 1.4.2 to 1.6. I'm gradually trying to modernize it.

Re: Tomcat 6 database pooling causes HttpServlet class not found exception

2009-07-19 Thread Pid
On 19/7/09 05:13, Lucas Vickers wrote: For what it's worth. Every now and then tomcat throws that exception again. I then shut down tomcat, touch the .policy file, start tomcat, and it works. Are you using a repackaged Tomcat or have you downloaded and installed it yourself? How, exactly,

osgi plugin for tomcat 6.0.18

2009-07-19 Thread donf yang
Hi, An osgi plugin for tomcat-6.0.18 is now available to use. Key Features: - Full compatibility with tomcat - No more complex configuration for osgi environment - No more huge war packages as it supporting deploy osgi applications from repository by a deployment description file

Re: Tomcat 6 database pooling causes HttpServlet class not found exception

2009-07-19 Thread Lucas Vickers
I am starting using: catalina.sh start stopping with catalina.sh stop I don't even have a lib directory in my WEB-INF , just my class file :( Does anyone on this list have any interest in being hired as a consultant? At this point I have this security issue (which may or may not be a problem)

Re: tomcat 6 database pooling, DataSource returning NULL connection

2009-07-19 Thread Lucas Vickers
I see now. thanks I refreshed the config file and I am still getting NULL connections to my database. Does anyone on this list have any interest in being hired as a consultant? At this point I have a strange catalina.policy security issue (which may or may not be a problem) and this database

Re: tomcat 6 - setting classpath

2009-07-19 Thread Wesley Acheson
We ran into an exact same problem. Our workarround hack classpath.bat and classpath.sh works perfectly. I also considered running down the ClassLoader route. That also works but it felt more wrong. I was just going to ask what the accepted way of doing this was but I think I've got my answer.

Re: tomcat 6 database pooling, DataSource returning NULL connection

2009-07-19 Thread Mark Thomas
Lucas Vickers wrote: I see now. thanks I refreshed the config file and I am still getting NULL connections to my database. Does anyone on this list have any interest in being hired as a consultant? At this point I have a strange catalina.policy security issue (which may or may not be a

Re: Converting to container based security.

2009-07-19 Thread Mark Thomas
Pid wrote: There is/was a multi realm, but I think it's intended for use with an SSL cert Form auth combination. No. Realms do not care about the authentication mechanism. The new (in 6.0.20) CombinedRealm [1] could be used to merge two DataSourceRealms. A combined Realm will work with *any*

Re: Converting to container based security.

2009-07-19 Thread Bill Davidson
Mark Thomas wrote: Alternatively, you could use a database view to present the two sets of users as a single table. What about duplicated user names between the two sides? There's also the need to make sure that the admin side servlets are not accessible to the public side and vice versa and

RE: [OT] Apache httpd prefork versus worker MPM

2009-07-19 Thread James Abley
mgainty wrote: the inherent problem with multi-threaded model vs prefork n processes http://blog.zakame.net/tips/apache2-worker-lowmem http://www.experts-exchange.com/Software/Server_Software/Web_Servers/Apache/Q_24192924.html rule seems to be more than 1 CPU go with worker 1 CPU

RE: [OT] Apache httpd prefork versus worker MPM

2009-07-19 Thread James Abley
James Abley wrote: mgainty wrote: the inherent problem with multi-threaded model vs prefork n processes http://blog.zakame.net/tips/apache2-worker-lowmem http://www.experts-exchange.com/Software/Server_Software/Web_Servers/Apache/Q_24192924.html rule seems to be more than 1

Re: Converting to container based security.

2009-07-19 Thread Pid
On 19/7/09 18:52, Bill Davidson wrote: Mark Thomas wrote: Alternatively, you could use a database view to present the two sets of users as a single table. What about duplicated user names between the two sides? That might not be an issue if admin users don't use the public site, and vice

RE: tomcat 6 database pooling, DataSource returning NULL connection

2009-07-19 Thread Caldarale, Charles R
From: Lucas Vickers [mailto:lucasvick...@gmail.com] Subject: Re: tomcat 6 database pooling, DataSource returning NULL connection I refreshed the config file and I am still getting NULL connections to my database. Just for completeness, check the security policy in the JRE/JDK you're using.