Re: Running PHP 5.2.X on Tomcat 5.5?

2010-05-10 Thread Gregor Schneider
On Tue, May 11, 2010 at 7:53 AM, Gregers Blach wrote: > > PHPMyAdmin would be a very nice add-on in order to better support MySQL > databases. > ...and likely to dig a few security wholes... if you really, really want to go for php, esp. PHPMyAdmin, be sure to configure it to listen on localhost

Re: Running PHP 5.2.X on Tomcat 5.5?

2010-05-10 Thread Gregers Blach
Hi p, Not other than that Tomcat is already installed running the primary application. PHPMyAdmin would be a very nice add-on in order to better support MySQL databases. /G -Original Message- From: Pid To: Tomcat Users List Sent: Mon, May 10, 2010 11:31 pm Subject: Re: Running PH

Re: JAXBContext leaks memory

2010-05-10 Thread Shaun Senecal
jvisualvm is an excellent tool, and so is MAT (http://www.eclipse.org/mat/downloads.php). If you can figure out which instances are increasing (as Pid indicated) its very easy to check the path of those objects to the garbage collector using one of these tools. From there its usually easy to see

RE: Context in conf/Catalina/localhost question

2010-05-10 Thread Mark Eggers
I just ran a series of tests on my Linux platform. I've not rebooted yet to run this on Windows, but I don't imagine there will be any change. Environment (all 32 bit): OS: Fedora 11 with latest patches Java:JRE / JDK 1.6.0_20 from Sun Tomcat: 6.0.26 installed in my local a

RE: Running PHP 5.2.X on Tomcat 5.5?

2010-05-10 Thread Martin Gainty
as tc is already multi-threaded i dont have to build tc as multithreaded http://tomcat.apache.org/tomcat-5.5-doc/config/http.html i downloaded the latest tar and i didnt see instructions for multi-threaded library build of mod-PHP http://www.php.net ? Martin Gainty

Re: Appserver Queues Filling Up

2010-05-10 Thread Juha Laiho
On 05/10/2010 11:35 PM, Ben Knight wrote: Apache version:2.2.3 JBoss version: 5 JBoss Web: 2.1.3.GA mod_jk: 1.2.30 We are inconsistently seeing an issue in our production environment where our AJP queues between Apache and Jboss as shown in the JM

RE: Context in conf/Catalina/localhost question

2010-05-10 Thread Leo Donahue - PLANDEVX
NetBeans 6.8 Output window: In-place deployment at C:\NetBeans_Projects\webappname\build\web Cannot deploy the module. The context.xml file seems to be broken. Check whether it is well-formed and valid. C:\NetBeans_Projects\webappname\nbproject\build-impl.xml:584: The module has not been deploye

RE: Context in conf/Catalina/localhost question

2010-05-10 Thread Leo Donahue - PLANDEVX
NetBeans 6.8 won't even run the webapp within the IDE unless the path attribute is set in META-INF/context.xml I understand why the IDE needs the path to run the webapp from the the NetBeans work directory, but do the NetBeans people talk to the Tomcat people? :) Maybe, the clean and build too

Re: Running PHP 5.2.X on Tomcat 5.5?

2010-05-10 Thread Pid
On 10/05/2010 21:11, Gregers Blach wrote: > Hi, > > I'm looking for instructions on how to get a Tomcat 5.5 to run PHP > 5.2.X. The reason is that it would be very helpful to run PHPMyAdmin to > better support underlying MySQL 5.0.X databases. > > Some specs on my test system: > > - Running on Wi

Re: NioReceiver using 100% CPU

2010-05-10 Thread Pid
On 10/05/2010 18:58, Schoenemann, Ryan wrote: > I have 2 Tomcat 6.0.16 servers set up in a cluster running on a Windows > 2003 VM as a windows service, with java version 1.6.0_10. After 10 - 14 > days of running one of the Tomcat instances will start using 100% of the > server CPU. Can you upgr

Re: Tomcat and openjpa javaagent

2010-05-10 Thread n0weak
According to the advice from http://openjpa.208410.n2.nabble.com/openjpa-javaagent-enhancement-with-tomcat-td5029993.html this thread I switched to build-time enhancement, and it worked for me. -- View this message in context: http://old.nabble.com/Tomcat-and-openjpa-javaagent-tp28506406p28517

Appserver Queues Filling Up

2010-05-10 Thread Ben Knight
Apache version:2.2.3 JBoss version: 5 JBoss Web: 2.1.3.GA mod_jk: 1.2.30 Dear community, We are having a Wicket-based Java application deployed in a production server cluster using Apache (2.2.3) with mod_jk (1.2.30) as load balancing compo

Running PHP 5.2.X on Tomcat 5.5?

2010-05-10 Thread Gregers Blach
Hi, I'm looking for instructions on how to get a Tomcat 5.5 to run PHP 5.2.X. The reason is that it would be very helpful to run PHPMyAdmin to better support underlying MySQL 5.0.X databases. Some specs on my test system: - Running on Windows 7 x64 (poduction system is WinServer 2003, event

Re: confused with Tomcat...

2010-05-10 Thread David kerber
On 5/10/2010 3:18 PM, André Warnier wrote: macbd1 wrote: ... I still know little if anything about the world of Apache Tomcat but presently don't have time to thoroughly investigate. Well then, a quick primer : Apache Tomcat is a special kind of webserver (more precisely named a servlet engin

Re: confused with Tomcat...

2010-05-10 Thread André Warnier
macbd1 wrote: ... I still know little if anything about the world of Apache Tomcat but presently don't have time to thoroughly investigate. Well then, a quick primer : Apache Tomcat is a special kind of webserver (more precisely named a servlet engine), whose main function is to run web a

Re: mod_jk socket_timeout elaboration

2010-05-10 Thread Bob Jewell
- "Charles R Caldarale" wrote: > > From: Bob Jewell [mailto:jewe...@franklin.edu] > > Subject: mod_jk socket_timeout elaboration > > > I have a simple jsp that does a sleep(6000) (10 seconds) > > That looks like 6 seconds to me... Er, good call. not going to explain my embarrassingly poten

Re: Issue with clustering

2010-05-10 Thread Filip Hanik - Dev Lists
try upgrading On 05/04/2010 08:24 AM, Marc Wilmots wrote: Hi List, Since a few weeks now, I started to notice in the catalina.out log file messages regarding the cluster's operatability. It reports that a member or members in my cluster have disappeared, and appeared (member still alive) again.

NioReceiver using 100% CPU

2010-05-10 Thread Schoenemann, Ryan
I have 2 Tomcat 6.0.16 servers set up in a cluster running on a Windows 2003 VM as a windows service, with java version 1.6.0_10. After 10 - 14 days of running one of the Tomcat instances will start using 100% of the server CPU. Through JConsole I see that the NIOReciever thread is the top C

RE: Re : Re : Re : Tomcat 5.5.29 does not accept connections from outside

2010-05-10 Thread Jeffrey Janner
>From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] >Subject: RE: Re : Re : Re : Tomcat 5.5.29 does not accept connections from >outside > >> From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] >> Subject: RE: Re : Re : Re : Tomcat 5.5.29 does not accept connections >> from outs

RE: IMP:Failure in editing files in Tomcat

2010-05-10 Thread Jeffrey Janner
Windows User Account Control strikes again! -Original Message- From: Pid [mailto:p...@pidster.com] Sent: Sunday, May 09, 2010 4:37 PM To: Tomcat Users List Subject: Re: IMP:Failure in editing files in Tomcat On 09/05/2010 17:59, anoop singh khimani wrote: > Hi, > i have installed Apache

RE: Re : Re : Re : Tomcat 5.5.29 does not accept connections from outside

2010-05-10 Thread Caldarale, Charles R
> From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] > Subject: RE: Re : Re : Re : Tomcat 5.5.29 does not accept connections > from outside > > It would be nice that things work as documented/expected. You might have to take that up with Microsoft, since indications are that's where the p

RE: 100% CPU when Tomcat 5.5.20 is run on Windows Server 2003 on VM machine

2010-05-10 Thread Jeffrey Janner
Remove the war file and restart. If Tomcat doesn't go to 100%, then the problem is with the application. If it does, then provide more details as others have requested. -Original Message- From: Joseph Freemaker [mailto:joseph_freema...@yahoo.com] Sent: Sunday, May 09, 2010 9:48 AM To: us

RE: mod_jk socket_timeout elaboration

2010-05-10 Thread Caldarale, Charles R
> From: Bob Jewell [mailto:jewe...@franklin.edu] > Subject: mod_jk socket_timeout elaboration > I have a simple jsp that does a sleep(6000) (10 seconds) That looks like 6 seconds to me... > This happens with socket_timeout set to 10. To can quote previous responses from Rainer: "Don't use sock

RE: Re : Re : Re : Tomcat 5.5.29 does not accept connections from outside

2010-05-10 Thread Jeffrey Janner
Well, I for one care, because it's one more work-around I'll have to pass along to every customer of ours that upgrades to a new Windows server. It's not a real issue in my personal environment, since all hosted customers are configured with hard IPs, but most of our customer base install with

RE: Re : Re : Re : Re : Re : Tomcat 5.5.29 does not accept connections from outside

2010-05-10 Thread Jeffrey Janner
Yes, the DLL is included in 5.5.29 now. It no longer downloads, since the downloaded version was ancient. Now you get the one that was current when the release was built. Much better I think. Jeff -Original Message- From: Eyrignoux Marc [mailto:eyrig...@yahoo.fr] Sent: Friday, May 07

mod_jk socket_timeout elaboration

2010-05-10 Thread Bob Jewell
Using mod_jk 1.2.28 on Apache 2.2.3 (please redirect me if there is a better list for mod_jk issues) I am encountering socket timeouts, I believe, but I need help understanding what's actually happening. As a test, I have a simple jsp that does a sleep(6000) (10 seconds), so when I hit this t

Re: confused with Tomcat...

2010-05-10 Thread macbd1
Being unfamiliar with 'Tomcat' and concerned this error problem might be from it being surreptitiously downloaded with a java-update to some 'hidden' location on my PC, or some such thing, I find today the problem has disappeared. I spend a lot of time with current event news and in retrospect

RE: Almost figured out how to satisfy container and managed bean login.

2010-05-10 Thread Leo Donahue - PLANDEVX
>> anyone know why? Without seeing your web.xml, I have no idea. >> it never reaches the j_security check servlet However, are you trying to do FORM based authentication? Then read this: http://java.sun.com/javaee/5/docs/tutorial/doc/bncbe.html#bncbq And here is an example: http://java.sun.

Re: Tomcat does not honor acceptCount configuration variable

2010-05-10 Thread Jess Holle
If you're talking about the non-native AJP connector, then this is a long-standing issue. acceptCount is essentially ignored in this case and all concurrent requests above pool size /minus 2/ go off into limbo and are not handled properly. I don't understand the off-by-2 error, but it is clea

Re: Tomcat and openjpa javaagent

2010-05-10 Thread n0weak
Well, I set openjpa-all-2.0.0.jar as javaagent, and all startup exceptions are gone. Still there is no runtime optimization available, an exeption is being throwed when accessing the database: Caused by: org.apache.openjpa.persistence.ArgumentException: This configuration disallows runtime opti

Re: Tomcat does not honor acceptCount configuration variable

2010-05-10 Thread André Warnier
Timir Hazarika wrote: Andre, Response from Leon just about summarizes this issue: the shock absorber you mention is not configurable. Setting the acceptCount to 1 or nine hundred produces exactly the same behavior in terms of connections awaiting response. Then that would be a bug, no ? In the

Re: Tomcat does not honor acceptCount configuration variable

2010-05-10 Thread Timir Hazarika
Andre, Response from Leon just about summarizes this issue: the shock absorber you mention is not configurable. Setting the acceptCount to 1 or nine hundred produces exactly the same behavior in terms of connections awaiting response. The "stricter" scheme hence, serves as a usable application wo

Re: Tomcat and openjpa javaagent

2010-05-10 Thread Yucca Nel
geronumolibs need a jee container to function otherwise the classes will never be instantiated. Use hibernate as a possible workaround -- From: "n0weak" Sent: Monday, May 10, 2010 11:57 AM To: Subject: RE: Tomcat and openjpa javaagent Try put

invalidate a session twice to log out user? Why?

2010-05-10 Thread Yucca Nel
My command button only logs out the user on a secondt click, is there a reason? I am using tomcat 6 as follows: jsf... and in my backing bean ... public String logout() throws IOException, ServletException { ExternalContext ectx = FacesContext.getCurrentInstance().getExternalCon

Re: Tomcat and openjpa javaagent

2010-05-10 Thread Pid
On 10/05/2010 10:57, n0weak wrote: > >> Try putting that jar into Tomcat's bin directory instead. It must be > available to the system classloader, not Tomcat's common classloader. > > This had no effect. Tomcat in startup script sets the CLASSPATH variable to > "$CATALINA_HOME"/bin/bootstrap.ja

RE: Tomcat and openjpa javaagent

2010-05-10 Thread n0weak
> Try putting that jar into Tomcat's bin directory instead. It must be available to the system classloader, not Tomcat's common classloader. This had no effect. Tomcat in startup script sets the CLASSPATH variable to "$CATALINA_HOME"/bin/bootstrap.jar, so i tried to modify it in catalina.sh to "

Re: Tomcat and negotiate auth-method

2010-05-10 Thread Mark Thomas
On 10/05/2010 09:36, Francois Rigault wrote: > Hi > > I was looking for information on how to enable single sign on on Tomcat > (I'm using Tomcat 5.5 on Unix) with the SPNEGO mechanism, more > specifically I would like to authenticate using a Kerberos ticket. > > I found out that there is alrea

Tomcat and negotiate auth-method

2010-05-10 Thread Francois Rigault
Hi I was looking for information on how to enable single sign on on Tomcat (I'm using Tomcat 5.5 on Unix) with the SPNEGO mechanism, more specifically I would like to authenticate using a Kerberos ticket. I found out that there is already an existing JAASRealm, which is able to verify my crede

Re: Help:tomcat 6.0.18 showdown automatically!

2010-05-10 Thread Gregor Schneider
No idea if it has to do with your problem, but On Mon, May 10, 2010 at 2:21 AM, red phoenix wrote: > Info: validateJarFile(Q:\Tomcat\webapps\MyApp\WEB-INF\lib\servlet-api.jar) - > jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: > javax/servlet/Servlet.class get rid of t

Re: Help:tomcat 6.0.18 showdown automatically!

2010-05-10 Thread André Warnier
red phoenix wrote: tomcat6 shutdown after ten minutes, localhost.2010-05-09.log is follows: 2010-5-9 22:36:12 org.apache.catalina.core.ApplicationContext log Info: Initializing Spring root WebApplicationContext 2010-5-9 22:45:12 org.apache.catalina.core.ApplicationContext log Info: Initializin