How to run JSF 1.2 with tomcat 5.5.9

2007-08-13 Thread Peter Neu
Hello, has anyone managed to get JSF 1.2 to run on tomcat 5.5.9? It seems that I can't find the right libraries to make it happen. I can't find com.sun.el.ExpressionFactoryImpl for instance. Normally I would just upgrade to tomcat 6 but I can't just switch the production server. Cheers, Pete

AW: HowTo forward user name from apache via mod_jk to tomcat

2007-04-20 Thread Peter Neu
Hello, yeah, I thought of this too. But I only get a null value for request.getRemoteUser(). Any idea what could be wrong? My mod_jk version is mod_jk 1.2.19. Cheers, Pete -Ursprüngliche Nachricht- Von: Christopher Schultz [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 19. April

HowTo forward user name from apache via mod_jk to tomcat

2007-04-19 Thread Peter Neu
Hello, I'm doing user authentication on the apache server and forward then to tomcat. I know this is not the best way but I can't change it for now. :o( Until recently that was all but now I need to pass the user name to the tomcat server as well. Is there any way to do this? For authentication

Server DB Connects are very slow after restart

2007-03-16 Thread Peter Neu
Hello, I have trouble with my tomcat server 5.5.9, java 1.5 and oracle db 9i. CATALINA_OPTS=-Xmx1900m -Xms256m -XX:MaxPermSize=256m -XX:ReservedCodeCacheSize=64m -Dcom.sun.management.jmxremote After the restart of the server the db connects from my webapps are very slow. I can't see why no

AW: Server DB Connects are very slow after restart

2007-03-16 Thread Peter Neu
Damn, this isn't tomcat's fault. We got network issues. ;o( -Pete -Ursprüngliche Nachricht- Von: Peter Neu [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 16. März 2007 12:04 An: 'Tomcat Users List' Betreff: Server DB Connects are very slow after restart Hello, I have trouble

AW: AW: AW: Cannot run JVM in server mode with JSVC

2007-03-13 Thread Peter Neu
Sorry, couldn't get back to this as I had a week off. I set jsvc to debug mode. The problem was: the search path for jvm.cfg was here : .../jdk1.5.0_06/jre/lib/jvm.cfg while the actual file resided here: .../jdk1.5.0_06/jre/lib/i386/jvm.cfg. What I did I just copied the jvm.cfg to the search

Re: RE: AW: AW: Cannot run JVM in server mode with JSVC

2007-03-02 Thread Peter . Neu
\ org.apache.catalina.startup.Bootstrap \ Peter Neu wrote: Hi, if I put his in the shell script case $1 in start) $DAEMON_BIN \ -java -server -user $TOMCAT_USER \ -home $JAVA_HOME1 \ -Dcatalina.home=$CATALINA_HOME \ -Djava.io.tmpdir=$TMP_DIR \ -outfile $CATALINA_HOME/logs

Re: AW: AW: Cannot run JVM in server mode with JSVC

2007-03-02 Thread Peter . Neu
By config you still mean the shell script, right? It looks like this. I have removed the -server parameter from the CATALINA_OPTS variable since the script won't execute properly with it. -Pete JAVA_HOME1=/usr/local/jdk1.5.0_06 CATALINA_HOME=/usr/local/jakarta-tomcat-5.5.9

Re: RE: RE: AW: AW: Cannot run JVM in server mode with JSVC

2007-03-02 Thread Peter . Neu
That's what I thought too. It's a bit complicated and the people at Alfresco have messed up a bit with the hibernate api so their application constantly crashes when it runs on a VM in client mode. See this http://forums.alfresco.com/viewtopic.php?t=5441 or this:

Re: AW: AW: Cannot run JVM in server mode with JSVC

2007-03-02 Thread Peter . Neu
Ok. So theoratically speaking. What I need to do is just exchange the jar files. But I don't know if any of the features in Alfresoc will break. I would need to test everything for which I don't have the time. So please, how do I get jsvc to start the jvm in server mode? As far as I know the

AW: Cannot run JVM in server mode with JSVC

2007-03-01 Thread Peter Neu
Hello, is this question better asked in the dev mailing list or where should I ask? Cheers, Pete -Ursprüngliche Nachricht- Von: Peter Neu [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 28. Februar 2007 08:01 An: 'Tomcat Users List' Betreff: AW: Cannot run JVM in server mode

AW: AW: Cannot run JVM in server mode with JSVC

2007-03-01 Thread Peter Neu
: Pid [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 1. März 2007 11:09 An: Tomcat Users List Betreff: Re: AW: Cannot run JVM in server mode with JSVC java -server is the switch you need, not -jvm server Peter Neu wrote: Hello, is this question better asked in the dev mailing

Re: AW: AW: Cannot run JVM in server mode with JSVC

2007-03-01 Thread Peter . Neu
\ -Djava.io.tmpdir=$TMP_DIR \ -outfile $CATALINA_HOME/logs/catalina.out \ -errfile '1' \ $CATALINA_OPTS \ -cp $CLASSPATH \ org.apache.catalina.startup.Bootstrap \ Peter Neu wrote: Hi, if I put his in the shell script case $1 in start) $DAEMON_BIN \ -java -server

Cannot run JVM in server mode with JSVC

2007-02-27 Thread Peter Neu
Hello, I need to run the JVM in server mode but jsvc does not switch to the server mode despite the configuration below. There aren't even any error messages. Can somebody please tell me what's wrong? Cheers, Pete JAVA_HOME1=/usr/local/jdk1.5.0_06

AW: Cannot run JVM in server mode with JSVC

2007-02-27 Thread Peter Neu
Hello, can somebody please help don't know how to solve this. Cheers, Pete -Ursprüngliche Nachricht- Von: Peter Neu [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 27. Februar 2007 12:43 An: users@tomcat.apache.org Betreff: Cannot run JVM in server mode with JSVC Hello

AW: AW: Web Service Request not passing through Mod_Jk

2006-12-10 Thread Peter Neu
ou confidentiel. Si vous n'êtes pas le destinataire de ce document, nous vous signalons qu'il est strictement interdit de le diffuser, de le distribuer ou de le reproduire. - Original Message - From: Peter Neu [EMAIL PROTECTED] To: 'Tomcat Users List' users@tomcat.apache.org Sent

AW: Web Service Request not passing through Mod_Jk

2006-12-08 Thread Peter Neu
[jk_uri_worker_map.c (500)]: Attempting to map URI '/energy/style/styleguide.css' -Ursprüngliche Nachricht- Von: Rainer Jung [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 8. Dezember 2006 09:47 An: Tomcat Users List Betreff: Re: Web Service Request not passing through Mod_Jk Hello, Peter Neu

AW: AW: Web Service Request not passing through Mod_Jk

2006-12-08 Thread Peter Neu
tcpdump to sniff network packets. It looks like your mod_jk is pretty old? The log messages don't fit to newer versions. We improved logging and overall maintainability in the meantime. Please switch to 1.2.19 to make debugging easier. Regards, Rainer Peter Neu schrieb: Hi

AW: AW: Web Service Request not passing through Mod_Jk

2006-12-08 Thread Peter Neu
Tcpdump gives me a lot of output. I redirected the output to a file. But I can't find any valuable information in it. Do you know what to look for? Cheers, Pete -Ursprüngliche Nachricht- Von: Peter Neu [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 8. Dezember 2006 10:39 An: 'Tomcat

Web Service Request not passing through Mod_Jk

2006-12-07 Thread Peter Neu
Hello, I have a strange problem with mod_jk. Until now I never had trouble with mod_jk but lately I need to pass web service requests through to an Axis server running on tomcat (5.5.9). The strange thing is the pass-through works if the web service client resides on the same machine as apache

AW: Problem with RemoteAddrValve in Context.xml

2006-11-15 Thread Peter Neu
, Pete -Ursprüngliche Nachricht- Von: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 14. November 2006 16:16 An: Tomcat Users List Betreff: RE: Problem with RemoteAddrValve in Context.xml From: Peter Neu [mailto:[EMAIL PROTECTED] Subject: AW: Problem

AW: AW: Problem with RemoteAddrValve in Context.xml

2006-11-14 Thread Peter Neu
one you tried was more restrictive. --David Peter Neu wrote: Ok, I changed the allow attribute to a regular exp. Looks like this now: Valve className=org.apache.catalina.valves.RemoteAddrValve allow=192\.168\.200\.188 / But still the filter

AW: Problem with RemoteAddrValve in Context.xml

2006-11-14 Thread Peter Neu
An: Tomcat Users List Betreff: RE: Problem with RemoteAddrValve in Context.xml From: Peter Neu [mailto:[EMAIL PROTECTED] Subject: AW: Problem with RemoteAddrValve in Context.xml Ok, I removed the path attribute. The result is the same. Is there a .xml file for the app in conf/[engine

AW: Problem with RemoteAddrValve in Context.xml

2006-11-14 Thread Peter Neu
-Ursprüngliche Nachricht- Von: Mark Thomas [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 14. November 2006 01:11 An: Tomcat Users List Betreff: Re: Problem with RemoteAddrValve in Context.xml Peter Neu wrote: I'm trying to define an ip access filter with RemoteAddrValve in the context.xml file I

AW: Problem with RemoteAddrValve in Context.xml

2006-11-14 Thread Peter Neu
are hereby notified that you have received this communication in error and that any review, disclosure, dissemination, distribution or copying of it or its contents - Original Message - From: Peter Neu [EMAIL PROTECTED] To: 'Tomcat Users List' users@tomcat.apache.org Sent: Tuesday

AW: Problem with RemoteAddrValve in Context.xml

2006-11-14 Thread Peter Neu
with RemoteAddrValve in Context.xml From: Peter Neu [mailto:[EMAIL PROTECTED] Subject: AW: Problem with RemoteAddrValve in Context.xml I put my context.xml in a directory named META-INF which is on the same level as WEB-INF The path attribute is not allowed when the Context element is in META-INF

AW: AW: Problem with RemoteAddrValve in Context.xml

2006-11-14 Thread Peter Neu
to me like this webapp is an exploded folder under webapps directory. In that case, copy the context.xml file to Catalina/localhost, rename to match your web application's context and re-start the webapp. You should find the valve suddenly start working. --David Peter Neu wrote: OK

Problem with RemoteAddrValve in Context.xml

2006-11-13 Thread Peter Neu
Hello, I'm trying to define an ip access filter with RemoteAddrValve in the context.xml file I deploy with my war file. If I read the documentation right the only thing to be done is write the following into the context.xml file: ?xml version=1.0 encoding=UTF-8? Context

AW: Multiple paths to one application

2006-11-02 Thread Peter Neu
This means when I configure it like this it makes no difference to just deploying the same application twice with different paths, right? My problem is that I have parts of my application which are restricted and I just want to filter the path requests with the httpd server which sits in front

AW: AW: Multiple paths to one application

2006-11-02 Thread Peter Neu
up with other side-effects, depending on how the thing works ... Two copies using the same database, when they each believe that they are the only one connected! :-) Andrew On 02/11/2006, at 4:01 PM, Peter Neu wrote: This means when I configure it like this it makes no difference

2 context paths for one application?

2006-10-31 Thread Peter Neu
Hello, is there a way to configure two context paths for the same application? Like this: localhost/path1/servlet1 localhost/path2/public/servlet2 cheers, Pete - To start a new topic, e-mail: users@tomcat.apache.org To

HowTo configure IP Filter XOR User Login

2006-07-13 Thread Peter . Neu
Hello, I need to configure two different ways to login to an app. The first one is an ip filter which lets users with certain ip's enter withouth authentication. The second one is the usual user login. Both authentications must work on an XOR basis. How can this be done? I recall in apache

Detect tomcat problems with a custom java reporting apps?

2006-06-12 Thread Peter Neu
Hello, I want to build a small custom reporting tool for our tomcat production server. First of all is this the right place to ask about this kind of things or is this more a question for the dev list? The basic idea is, I want to send queries to tomcat and if one fails three times send out

AW: Detect tomcat problems with a custom java reporting apps?

2006-06-12 Thread Peter Neu
Yes, I am using this already. But there is some vital functionality missing. When an java.lang.outOf.MemoryException happens I won't get an alert unless I happen to be using lambda at the moment. So what we have at hand is a 'Schrödinger Cat' situation. I need to monitor the jmx control layer

AW: Detect tomcat problems with a custom java reporting apps?

2006-06-12 Thread Peter Neu
and send mails on failure imho. regards leon p.s. for the application monitoring of your production server you should try moskito :-) On 6/12/06, Peter Neu [EMAIL PROTECTED] wrote: Yes, I am using this already. But there is some vital functionality missing. When an java.lang.outOf.MemoryException

Memory Problem - JVM Crash

2006-06-08 Thread Peter Neu
Hello folks, I have great troubles finding the right configuration for our productive system. After initial problems concerning perm space which I have resolved with putting all third party lib into common/lib I still have memory troubles. My system: OS: SUSE ES 9 64 bit RAM: 3 Gig

java.lang.OutOfMemoryError: PermGen space

2006-06-06 Thread Peter Neu
Hello, I have many memory consuming apps on my tomcat server. I a lot pdf excel generation. So every other week I get this error java.lang.OutOfMemoryError: PermGen space I know the root of this error is that the garbage collector does not clean up and memory allocated for java

AW: java.lang.OutOfMemoryError: PermGen space

2006-06-06 Thread Peter Neu
Betreff: Re: java.lang.OutOfMemoryError: PermGen space Peter Neu ha scritto: Hello, I have many memory consuming apps on my tomcat server. I a lot pdf excel generation. So every other week I get this error java.lang.OutOfMemoryError: PermGen space http://wiki.apache.org

Problem starting tomcat with jsvc cron job

2006-04-05 Thread Peter Neu
Hello, I'm stopping restarting tomcat ervery night with a cron job. I do this because we have many applications running and sometimes we need to simply clean the system. The cron job invokes a shell script which then starts tomcat with jsvc. Up to now this worked fine. But now tomcat does not

Catalina.out gets to big- Server crashes

2006-02-02 Thread Peter . Neu
Hello, I got this problem that the catalina.out file gets to big. It grows to a size of approx. 2 gig and then tomcat just crashes. Does anyone know how configure tomcat so that catalina.out only get a size of 100 MB and then replaces it by a new empty catalina.out? The old one should be saved

Re: Catalina.out gets to big- Server crashes

2006-02-02 Thread Peter . Neu
Hello, sorry, I just clean forgot to tell the version its 5.5.9. I discovered the tomcat-juli.jar in the bin directory so I suppose its in use. Although I never used it so far. So the idea is to switch x4juli.jar and I get the same functionality as in log4J? That's great because I'm using it

RE: Catalina.out gets to big- Server crashes

2006-02-02 Thread Peter . Neu
Hello Ralph, well it's SUSE ES 9. The filesystem is Reiserfs. The system was set up recently. The server got multiple processors. But I can't tell you more cause I don't have access to it again until monday. cheers, Pete --- Ursprüngliche Nachricht --- Von: [EMAIL PROTECTED] An:

How to use 2 different authentication types for one applicatio

2005-10-27 Thread Peter . Neu
Hello, I have an application which has two different user groups. The first one will authenticat with a simple form and the second one will send their username password directly in a request. How can I get this to work with the authentication provided by tomcat? Regards, Pete -- Telefonieren