Re: Facing problem in integration of PHP and tomcat

2008-02-04 Thread David Delbecq
Did you try this? http://www.alexander-merz.com/21.html En l'instant précis du 05/02/08 06:57, puneetjain s'exprimait en ces termes: Hi, I am trying to integrate PHP with tomcat server i.e. trying to running PHP in servlet container. Environment: = Operating System: RedHat Enterprize L

Re: mod_jk in Cygwin

2008-02-04 Thread Vitek Cvachoucek
Thank you for your help, I am already using configure --with-apxs=/usr/sbin/apxs2 The whole offending section is: /usr/share/apr-1-build/libtool --mode=link gcc -I/usr/include/apache2 -g -O2 -DUSE_APACHE_MD5 -I ../common -I c:\java\jdk1.5.0/include -I c:\java\jdk1.5.0/include/cygwin -DCYGWIN -O

Web.xml

2008-02-04 Thread Arun
Hi, I am mapping my php to servlet . But I got an error on starting the war telling me that invalidurl pattern, something.php. What is the solution to this? a1 a1.php -- Thanks Arun George

TPTP and Tomcat

2008-02-04 Thread Arun
Hi, I am new to profiling. Can anybody give me an idea as to how I can profile a war file deployed in resign under eclipse 3.2. My Resin is running outside eclipse3.2. I cannot find a way to attach the webapp to profiling framework from eclipse. Please help? -- Thanks Arun George

Facing problem in integration of PHP and tomcat

2008-02-04 Thread puneetjain
Hi, I am trying to integrate PHP with tomcat server i.e. trying to running PHP in servlet container. Environment: = Operating System: RedHat Enterprize Linux 3 Tomcat Version: 6 PHP version: 5.2.5 Java: 1.5 Steps Performed: 1. Install the tomcat. 2. Install the php 3. Creat

Unable to extract LocalAddr when using AJP

2008-02-04 Thread Ho Fat Tsang
Dear all, I am using Apache 2.2 + Tomcat 5.5 under mod_proxy_ajp and AJP connector. I found that i am not able to extract the localAddr when a request is received from the Tomcat. Apache configuration. ProxyPass ajp:// retry=3 ProxyPassReverse ajp:// ProxyPassReverseCookiePath / Any

Re: Out of Memory Errors when upgrading from 5.0.27 to 6.0.14

2008-02-04 Thread Filip Hanik - Dev Lists
ok, so there is a leak in the Java Heap, one way to figure out what is going would be to add -XX:+*HeapDumpOnOutOfMemoryError to the command line options. This will dump the heap to a file that you can analyze. You need some serious RAM on a box to analyze a thread dump like that, but it will t

RE: Out of Memory Errors when upgrading from 5.0.27 to 6.0.14

2008-02-04 Thread Caldarale, Charles R
> From: Dan D. [mailto:[EMAIL PROTECTED] > Subject: Re: Out of Memory Errors when upgrading from 5.0.27 to 6.0.14 > > [Full GC 1982271K->1982271K(1999424K), 7.5088700 secs] You obviously have a serious memory leak - the 2 GB heap is filled with live objects, so the GC doesn't really accomplish a

Re: Out of Memory Errors when upgrading from 5.0.27 to 6.0.14

2008-02-04 Thread Dan D.
Following is the exception that is thrown, along with a few surrounding lines from the catalina.out log file: [Full GC 1982271K->1982271K(1999424K), 7.5088700 secs] [Full GC 1982271K->1982269K(1999424K), 7.5053160 secs] java.lang.reflect.InvocationTargetException at sun.reflect.NativeMeth

RE: appBase

2008-02-04 Thread Paul Wallace
Hi, Yes, I have had this working previously (TC 5.5 / JDK 1.5 / XP) with the following: Not using META-INF. This was all in the server.xml. The logs are not giving me anything, but I can see a stack trace in the window that disappears in a microsecond. I am using TC 5.5 on Win XP on JDK 1.6

Re: Out of Memory Errors when upgrading from 5.0.27 to 6.0.14

2008-02-04 Thread Filip Hanik - Dev Lists
what's the message after java.lang.OutOfMemoryError as there can be many different types of errors. Filip Dan D. wrote: Hello all, I'm currently working on upgrading our systems from using Tomcat 5.0.27 to 6.0.14. The upgrades are not being done in place (ie, we will have both systems out

Re: mod_jk in Cygwin

2008-02-04 Thread Rainer Jung
Unfortunately no Cygwin experience yet. If you compiled your httpd under Cygwin, I expect you have a /my/path/to/httpd/bin/apxs file? What happens if you try configure --with-apxs=/my/path/to/httpd/bin/apxs and then make? Do you get the error you mentioned? Any indication, which symbols are

Re: javaee.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class

2008-02-04 Thread David Smith
You're trying to mix a j2ee library with tomcat and that just doesn't work. Consider javaee.jar to be "everything including the kichen sink" -- lots and lots of packages all in one jar file. Some of the things that javaee.jar provides are already provided in tomcat and you can't have two of t

Re: unable to set cookies

2008-02-04 Thread Huragan
Christopher Schultz-2 wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Huragan, > > Huragan wrote: > | I am new to j2ee and have been trying to understand how cookies work. > > Cookies are independent of the J2EE specification: they are part of the > HTTP specification. The serv

Out of Memory Errors when upgrading from 5.0.27 to 6.0.14

2008-02-04 Thread Dan D.
Hello all, I'm currently working on upgrading our systems from using Tomcat 5.0.27 to 6.0.14. The upgrades are not being done in place (ie, we will have both systems out there, and will be doing migrations to the new version). I have been able to resolve most of the issues we have run into th

Re: jk_translate::mod_jk.c (3033): missing uri map for

2008-02-04 Thread Rainer Jung
Hi, JkMounts are per VirtualHost. See http://marc.info/?l=tomcat-user&m=120164756115289&w=2 I assume that you are using a VirtualHost and the request you send is handled by a VirtualHost. Not related to your question, but an adiitional hint: drop the "+ForwardURICompat" from you JkOptions.

jk_translate::mod_jk.c (3033): missing uri map for

2008-02-04 Thread dakkan
Struggling with this error for the past 3 days. I've finally hit the dead end on this, would really appreciate if someone can help. I've got Apache2 installed on a box which also has Jboss4.2.2. installed. I want to have mod_jk module inbetween my apache and tomcat (in jboss). I've installed the

Re: javaee.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class

2008-02-04 Thread david delbecq
Chaohua Wang a écrit : Hi Folks, I am new to tomcat. Currently I am learning spring-struts-jpa-ajax stuff. And deployed to apache-tomcat-5.5.23. (http://struts.apache.org/2.x/docs/struts-2-spring-2-jpa-ajax.html) When I deployed war to tomcat, I got the following error: --

javaee.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class

2008-02-04 Thread Chaohua Wang
Hi Folks, I am new to tomcat. Currently I am learning spring-struts-jpa-ajax stuff. And deployed to apache-tomcat-5.5.23. (http://struts.apache.org/2.x/docs/struts-2-spring-2-jpa-ajax.html) When I deployed war to tomcat, I got the following error: -

Re: Tomcat Problem file not found

2008-02-04 Thread Tony Chamberlain
It went down (i.e. I mean doing a ps and grepping for java no longer gave any results, as it did when tomcat was running) On Thu, Jan 31, 2008 at 7:00 PM, Christopher Schultz < [EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Tony, > > Tony Chamberlain wrote: > | No

Re: mod_jk in Cygwin

2008-02-04 Thread Martin Gainty
last I heard you need to have mod_jk<.dll> in %APACHE_HOME%/modules http://tomcat.apache.org/tomcat-3.3-doc/mod_jk-howto.html#s61 or d/l the source and build it yourself.. http://archive.apache.org/dist/jakarta/tomcat-connectors/jk/ using the build instructions located at http://tomcat.apache.org

Re: mod_jk in Cygwin

2008-02-04 Thread Vitek Cvachoucek
Hello gentleman, did anybody of you ever attempted to have Apache 2 on Cygwin equipped with mod_jk? The main documentation page counts Cygwin as a supported platform: http://tomcat.apache.org/connectors-doc/webserver_howto/apache.html However I have never found binary release for Cygwin. The Wi

Re: misconfigured log4j issue

2008-02-04 Thread Dan Armbrust
I need to correct this point: > > Now, I think that is happening because struts is using > commons-digester to read its xml config files, and commons-digester > includes log4j logging. > commons-digester actually uses commons-logging, not log4j. So, what can I do to find out more how the digest

RE: IIS-Tomcat 4.1 integration

2008-02-04 Thread Propes, Barry L
not sure then...are you trying to access a single database through two different server or server app types? IIS & Tomcat? And Tomcat works, but IIS doesn't? Or is it just static pages on both? Looks like it is some DB you're trying to connect to and the connection dropped on IIS, is that correc

Re: Silent Install with Tomcat 5.5

2008-02-04 Thread David Brown
Have you tried installing standalone? [EMAIL PROTECTED] wrote .. > Hi All, > > I'm looking for help on installing Tomcat 5.5 silently. I've used the /S > option but the install seems to fail. The NT service doesn't even get > installed! Does anyone have a proper solution to this problem? Is there

Silent Install with Tomcat 5.5

2008-02-04 Thread James.Chan
Hi All, I'm looking for help on installing Tomcat 5.5 silently. I've used the /S option but the install seems to fail. The NT service doesn't even get installed! Does anyone have a proper solution to this problem? Is there a fix for this? Thanks. James Chan * Software Developer * SunGard * BancWa

Re: misconfigured log4j issue

2008-02-04 Thread Dan Armbrust
Allright, the deeper I dig, the more confused I get. I think there is a bug here, bug I still can't pinpoint how it happens. Let's say I'm deploying 2 web applications - both use struts, and therefor have dependencies on commons-digester. App A starts up. A includes a log4j jar file. As A star

Re: Regression with servlet mapping

2008-02-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Richard, Richard Buck wrote: | Anyone else seeing this? What changed between 6.0.9 and 6.0.14? Google is your friend: http://www.security-database.com/detail.php?cve=CVE-2007-0450 http://tomcat.apache.org/security-6.html#Fixed%20in%20Apache%20Tomcat

Tomcat 6 and el-expression

2008-02-04 Thread Zmaj
Hi, can someone tell me please why this exptression is not working in tomcat6 anymore? Withe tomcat 5.5 it was no problem. -- View this message in context: http://www.nabble.com/Tomcat-6-and-el-expression-tp15269051p15269051.html Sent from the Tomcat - User mailing list archive at Nabble.com.

Regression with servlet mapping

2008-02-04 Thread Richard Buck
Hi, my application maps a servlet like this: FileServlet /files/* The servlet serves files from the file system, and is invoked by appending the path to the file on disc to the servlet base url, thus: /localhost/files/c:\temp\pic.png Under tomcat 6.0.9 this works just fine

RE: servlet mapping question(I believe)

2008-02-04 Thread Caldarale, Charles R
> From: Terence Kent [mailto:[EMAIL PROTECTED] > Subject: Re: servlet mapping question(I believe) > > In my case I have multiple applications in the webapps > folder, so which to name to root is ambiguous. The one to name ROOT (not root) is the one you want clients to see when they specify only

initial long delay from j_security_check

2008-02-04 Thread Wynne Carter
>From my test machine PC with Tomcat 5.5.17 my application ( built with >Netbeans jdk 1.6) does a JNDI login to a remote ldap server and returns fine. >( uses very simple form pointed to ) When I have it deployed on a production server ( now upgraded to Tomcat 5.5.25) the login just hangs for