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 [solved]

2007-04-20 Thread Peter Neu
Ok got it. I did it with JkEnvVar. Works fine for me. Cheers, Pete - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

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

2007-04-19 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. Apri

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

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 af

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 tra

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 p

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 se

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: http://www.psuedoguru.com/roll

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 DAEMON_BIN=/usr/loc

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

2007-03-02 Thread Peter . Neu
> > > > java -server ... > > > > > > Like so: > > > > case "$1" in > > start) > > $DAEMON_BIN \ > > -server \ > > -user $TOMCAT_USER \ > > -home $JAVA_HOME1 \ > > -Dcatalina.home=$CATALINA_HOME \ > > -D

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

2007-03-01 Thread Peter . Neu
> Like so: > > case "$1" in > start) > $DAEMON_BIN \ > -server \ > -user $TOMCAT_USER \ > -home $JAVA_HOME1 \ > -Dcatalina.home=$CATALINA_HOME \ > -Djava.io.tmpdir=$TMP_DIR \ > -outfile $CATALINA_HOME/logs/catalina.out \ > -errfile '&

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

2007-03-01 Thread Peter Neu
ent mode. :o( Cheers, Pete > -Ursprüngliche Nachricht- > Von: 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 y

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: Cann

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 s

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 CATALINA_HOME=/usr/local/jak

AW: AW: Web Service Request not passing through Mod_Jk

2006-12-10 Thread Peter Neu
t; le cas échéant) s'adresse au destinataire indiqué et peut contenir des > renseignements de caractère privé 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.

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 2

AW: AW: Web Service Request not passing through Mod_Jk

2006-12-08 Thread Peter Neu
gt; > [jk_ajp_common.c (1071)]: ajp_send_request 2: request body to send 0 - > > request body to resend 0 > > [jk_ajp_common.c (888)]: received from ajp13 #3 > > [jk_uri_worker_map.c (486)]: Into jk_uri_worker_map_t::map_uri_to_worker > > // end here -- already the next request > &g

AW: Web Service Request not passing through Mod_Jk

2006-12-08 Thread Peter Neu
e Request not passing through Mod_Jk > > Hello, > > Peter Neu schrieb: > > 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 t

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 h

AW: Problem with RemoteAddrValve in Context.xml

2006-11-15 Thread Peter Neu
heers, 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 PROTEC

AW: AW: Problem with RemoteAddrValve in Context.xml

2006-11-14 Thread Peter Neu
gt;privileged information for the use of the > >>designated recipients named above. If you are not the intended > recipient, > >>you are hereby notified that you have received > >>this communication in error and that any review, disclosure, > >>dissemination,

AW: Problem with RemoteAddrValve in Context.xml

2006-11-14 Thread Peter Neu
ff: RE: Problem 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 >

AW: Problem with RemoteAddrValve in Context.xml

2006-11-14 Thread Peter Neu
use of the > designated recipients named above. If you are not the intended recipient, > you 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 Messa

AW: Problem with RemoteAddrValve in Context.xml

2006-11-14 Thread Peter Neu
1: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 deploy with my war file. > > > > If I read the document

AW: Problem with RemoteAddrValve in Context.xml

2006-11-14 Thread Peter Neu
r 2006 15:59 > 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 s

AW: AW: Problem with RemoteAddrValve in Context.xml

2006-11-14 Thread Peter Neu
gt; valve is really failing or a proxy is making them all look like they are > from the same place.. > > Side note on the allow expression: the '.' character is a wild card > character -- '192w168t200f188' would evaluate the same as > 192.168.200.188 with the way

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: But this does not work out. Does anyone know wh

AW: AW: Multiple paths to one application

2006-11-02 Thread Peter Neu
> If you have 'two' copies of the same web app, you may also end 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 > >

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 of

Multiple paths to one application

2006-11-02 Thread Peter Neu
Hello, is here a way to have multiple paths configured for one apps? Like : Localhost/path1/servlet1 Localhost/path2/servlet2 Cheers, Pete - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [

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 un

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 http

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

2006-06-12 Thread Peter Neu
cript on the same machine 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

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 an

Detect tomcat problems with a custom java reporting apps?

2006-06-11 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 aler

AW: Memory Problem -> JVM Crash

2006-06-08 Thread Peter Neu
Do you mean it's a bug in the JVM? -Peter -Ursprüngliche Nachricht- Von: Leon Rosenberg [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 8. Juni 2006 15:23 An: Tomcat Users List Betreff: Re: Memory Problem -> JVM Crash Have you tried a newer jdk? 1.5.07? Leon On 6/8/06, P

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 Processor

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.OutOfMemor

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 obj

JKMount with Tomcat and Access Restriction

2006-05-31 Thread Peter Neu
Hello, I need to configure an ip filter for my tomcat/httpd server. Thus I need to tell the httpd server to deny access for users of certain ip ranges. I looked into the documentation of the connector but could not come up with a working method. Has anyone tried to do this before? Is there a way

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

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: > Betref

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 to

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 u

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