RE: what happens with the content.xml file

2006-06-30 Thread tom ot
Hi, I simply try to match two threads...please help to discuss the problem how the Tomcat 5.5.17 handels the path attribut in the context.xml File in this thread...the otherone is named: deployment to filename.war not context.xml value. This one is the olderone with already some inputs for

JDBC Realm for several webapp

2006-06-30 Thread Stanislav Komlenac
Hi! I want to have 2 web applications on my web server. Idea si to makde JDBC Realm unique for each web application. How can i do this? i read on Internet something about context element in server.xml, but i dont understand how to make it work :-( Tnx, Stanislav -- T - C o

RE: Deployment Management Auditing of Tomcat Applications

2006-06-30 Thread tom ot
Hi, there was a quiet good article in the german javamagazin.de (6.2006, page 73, title: Aktiv sondieren) hope you can get it (it is written in german). My conclusion of this article was that there is no software jet, but there are some very good appendages, shown by the links of Gurumoorthy.

Un-install Apache Tomcat

2006-06-30 Thread wolverine my
Hi! It seem like the Tomcat 5.5 documentation only describe how to install Apache Tomcat on a variety of platforms (http://tomcat.apache.org/tomcat-5.5-doc/setup.html) I would like to suggest a similar chapter which explain how we can un-install Apache Tomcat from a variety of platforms.

Re: Own Connector for Tomcat

2006-06-30 Thread rahulj
hi daniela i have read all your posts about writing a new connector .I have mailed you also regarding this. Can you please tell me in detail abt the steps of writing it, I will be obliged. -- View this message in context: http://www.nabble.com/Own-Connector-for-Tomcat-tf1829555.html#a5117685

Access MANIFEST.MF from web-application

2006-06-30 Thread Peter . Zoche
Hi all! Is it possible to get access to the MANIFEST.MF in META-INF from my web-application? I would like to read the version info stored there to be used in my web-applicaton. InputStream mfis = this.getClass().getClassLoader().getResourceAsStream(META-INF/MANIFEST.MF ); Manifest mf = new

Re: Access MANIFEST.MF from web-application

2006-06-30 Thread David Smith
Try looking at ServletContext.getResourceAsStream(path) --David [EMAIL PROTECTED] wrote: Hi all! Is it possible to get access to the MANIFEST.MF in META-INF from my web-application? I would like to read the version info stored there to be used in my web-applicaton. InputStream mfis =

APR not found under Linux

2006-06-30 Thread Stefan Wachter
Hi all, I tried to run Tomcat using the APR under (Suse-)Linux but did not succeed. During startup there is still the well known message: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path:

Re: APR not found under Linux

2006-06-30 Thread Rajeev N. Jha
Try putting the ssl libs in front of apr/tcnative. Thanks - Rajeev. Stefan Wachter wrote: Hi all, I tried to run Tomcat using the APR under (Suse-)Linux but did not succeed. During startup there is still the well known message: The Apache Tomcat Native library which allows optimal

enable HTTP PUT on only one webapp

2006-06-30 Thread Laurent SAUVAGE
Hi, I would like to enable HTTP PUT method on only one webapp, not to all webapps. I prefer to not modify system wide web.xml, because if I do it this way I have to secure other webapps. How can I do it easily ? Regards, Laurent.

AW: How to suppress implicit conversions when spliiting up the query string into parameters

2006-06-30 Thread KHZ (SAW)
Thanks a lot, Hassan. Now we’ve decoded things in the split up components. So knowing how to suppress is obsolete. It has to be set in server.xml. Regards, Karl-Heinz. _ Von: KHZ (SAW) [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 29. Juni 2006 14:35 An:

Re: APR not found under Linux

2006-06-30 Thread Stefan Wachter
Hi Rajeev, I changed the order of the directories to /usr/lib:/usr/local/apr/lib but I did not help. Cheers, --Stefan Rajeev N. Jha wrote: Try putting the ssl libs in front of apr/tcnative. Thanks - Rajeev. Stefan Wachter wrote: Hi all, I tried to run Tomcat using the APR under

Re: Un-install Apache Tomcat

2006-06-30 Thread Steve Ochani
Date sent: Fri, 30 Jun 2006 15:53:11 +0800 From: wolverine my [EMAIL PROTECTED] Subject:Un-install Apache Tomcat To: tomcat-user@jakarta.apache.org Send reply to: Tomcat Users List users@tomcat.apache.org Hi! It seem

Re: tomcat startup problem

2006-06-30 Thread Steve Ochani
Date sent: Thu, 29 Jun 2006 23:29:53 -0700 (PDT) From: IMRANKHAN [EMAIL PROTECTED] Subject:tomcat startup problem To: users@tomcat.apache.org Send reply to: Tomcat Users List users@tomcat.apache.org I am facing problem

Re: tomcat startup problem

2006-06-30 Thread IMRANKHAN
Hi Steve, I run the command netstat -an. It is showing that port 9099 is not listening. Plz provide your valuable feedback Thanks, Imran KHan -- View this message in context: http://www.nabble.com/tomcat-startup-problem-tf1871506.html#a5120395 Sent from the Tomcat - User forum at Nabble.com.

Re: APR not found under Linux

2006-06-30 Thread Markus Schönhaber
Stefan Wachter wrote: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /java/jdk1.5.0_05/jre/lib/i386/client:/java/jdk1.5.0_05/jre/lib/i386:/java/ jdk1.5.0_05/jre/../lib/i386:/usr/local/apr/lib:/usr/lib Yet,

Re: tomcat startup problem

2006-06-30 Thread Pid
post your server.xml IMRANKHAN wrote: Hi Steve, I run the command netstat -an. It is showing that port 9099 is not listening. Plz provide your valuable feedback Thanks, Imran KHan - To start a new topic, e-mail:

Re: JDBC Realm for several webapp

2006-06-30 Thread Hassan Schroeder
On 6/30/06, Stanislav Komlenac [EMAIL PROTECTED] wrote: I want to have 2 web applications on my web server. Idea si to makde JDBC Realm unique for each web application. How can i do this? http://tomcat.apache.org/tomcat-5.5-doc/config/realm.html The Realm Component ... You may nest a

How to configure tomcat SSL with pem file

2006-06-30 Thread Sujit Choudhury
I am running tomcat server and would like to have SSL support. I have a key signed by verisign which looks as follows: ./ssl-cert-check -i -c finalfile.pem HostIssuerStatus Expires Days Left --- -

web.xml missing

2006-06-30 Thread carrie . latimer
I have web.xml linked to the webapps/Root/WEB-INF folder in Tomcat but it does not get recognized when I try to build a war file. The WAR file process completes but I do not get a working war file. Any ideas? Jun 30, 2006 9:01:48 AM org.apache.coyote.http11.Http11Protocol init INFO:

Re: APR not found under Linux

2006-06-30 Thread Stefan Wachter
Hi Markus, the ldd command outputs the following dependencies: libapr-1.so.0 = /usr/local/apr/lib/libapr-1.so.0 (0x2abcc000) librt.so.1 = /lib64/tls/librt.so.1 (0x2ad17000) libcrypt.so.1 = /lib64/libcrypt.so.1 (0x2ae1f000) libpthread.so.0 =

RE: web.xml missing

2006-06-30 Thread Jay Burgess
This may not be your problem, but I've seen the same missing web.xml problem before when trying to deploy and startup after a failed undeploy. The undeploy failed because one of my webapp files in the Tomcat directory was locked and couldn't be deleted (either by me in a text editor, or sometimes

Re: APR not found under Linux

2006-06-30 Thread Dhaval Patel
Hi, I think your APR library is old. (You might have install using Yast). Tomcat 5.5 requires APR 1.2+. So you might have to compile it by yourself. (http://tomcat.apache.org/tomcat-5.5-doc/apr.html) I remembered that I had to compile APR for SuSE 10. Here is what I did: 1) Make sure you

Re: tomcat startup problem

2006-06-30 Thread David Smith
You may want to consider saving a copy of server.xml as server.orginal.xml (or something to that effect) and then stripping out all the comments in a production version of the server.xml. Makes reading the config s much easier. If you really need the docs, go back and take a look at the

Re: APR not found under Linux

2006-06-30 Thread Stefan Wachter
Hi Dhaval, I don't think, that an old APR is involved. I compiled the latest APR (version 1.2.7) using the sources from apr.apache.org. The created library was placed into /usr/local/apr/lib by make install. Yet, there is an old version of the APR installed on my system that came with httpd

Re: web.xml missing

2006-06-30 Thread David Smith
I'm not sure what webapps/Root/WEB-INF/web.xml has to do with anything, but the complaint of a missing web.xml is in context /LoginAction, as well as another more severe complaint about opening an input stream for the validation rules xml file. Did you do a soft link or shortcut? Don't think

Re: APR not found under Linux

2006-06-30 Thread Dhaval Patel
Hmm I read the BUILDING file of tomcat-native (the one that comes in TOMCAT\bin). It says something like: 2 - In bin/setenv.sh add the following: CATALINA_OPTS=$CATALINA_OPTS -Djava.library.path=tclib_location In my machine I am using:

Re: APR not found under Linux

2006-06-30 Thread Stefan Wachter
Hi Dhaval, the java.library.path seems to be alright. The INFO message during startup shows that java.library.path: /java/jdk1.5.0_05/jre/lib/i386/client:/java/jdk1.5.0_05/jre/lib/i386:/java/jdk1.5.0_05/jre/../lib/i386:/usr/local/apr/lib:/lib64/tls:/lib64:/usr/lib64 Cheers, --Stefan PS:

problem with doPost method - executed twice

2006-06-30 Thread Siomara
Dear all, I have developed a web application that is running under tomcat 5.5.17 that is under windows XP. I have a servlet that retrieves data from a html form, creates an object and passes this object to a manager class that inserts the data into Oracle. Everything works fine except that I

The Jakarta NT Service - The service stops immediately

2006-06-30 Thread McDaniel, Brad
Hello all - I am using Callidus TrueComp Viewer 3.2, which comes bundled with Jakarta Tomcat 3.3.1. I have followed all the documentation (to the best of knowledge) to get Jakarta set up. It is working fine when I run startup.bat. This is running on Windows Server 2003 However, I want to run

Re: problem with doPost method - executed twice

2006-06-30 Thread Jon Wingfield
You need to look at your access logs. You'll probably see two requests. Your form submit button calls javascript which also calls form.submit(). I think, if you don't return false from the javascript you will get two form submissions. Try removing the form.submit() from the javascript. HTH,

Re: The Jakarta NT Service - The service stops immediately

2006-06-30 Thread Pid
Did you say Tomcat 3.3.1? McDaniel, Brad wrote: Hello all - I am using Callidus TrueComp Viewer 3.2, which comes bundled with Jakarta Tomcat 3.3.1. I have followed all the documentation (to the best of knowledge) to get Jakarta set up. It is working fine when I run startup.bat. This is

RE: The Jakarta NT Service - The service stops immediately

2006-06-30 Thread McDaniel, Brad
Yes. I know there are newer versions, but that's the version that comes with the latest release of Callidus TrueComp Viewer (3.2). It should still work, shouldn't it? -Original Message- From: Pid [mailto:[EMAIL PROTECTED] Sent: Friday, June 30, 2006 10:25 AM To: Tomcat Users List

Re: Error while connecting to MySQL database

2006-06-30 Thread David Smith
Ok.. 1. Don't mess with the CLASSPATH. In all modern version of tomcat, the class loading heirarchy should take care of all your needs. 2. File ownership - make sure all of tomcat's files are owned by the tomcat user. Sounds to me the db.properties file is not readable by the tomcat user

Parameter List

2006-06-30 Thread Asad Habib
Anyone know where I can find a complete list of all the possible parameters allowed for the server.xml ResourceParams element? I could not find this on the ASF site and Google did not yield any comprehensive results as well. Thanks. - Asad

Re: exec'ing ksh from Servlet

2006-06-30 Thread Martin Gainty
Fantastic..worked like a charm Thanks Leon! Martin-- P.S. Will you be going to Switzerland to work with Frank?? * This email message and any files transmitted with it contain confidential information intended only for the

Re: Parameter List

2006-06-30 Thread Marc Farrow
http://tomcat.apache.org/tomcat-5.5-doc/config/server.html http://tomcat.apache.org/tomcat-5.0-doc/config/server.html http://tomcat.apache.org/tomcat-4.1-doc/config/server.html Just choose the link that matches your version of Tomcat. HTH On 6/30/06, Asad Habib [EMAIL PROTECTED] wrote:

error-page bug in Tomcat 5.5.x

2006-06-30 Thread j.random.programmer
Hi: This looks like a serious bug. Consider: In web.xml --- error-page exception-typejava.lang.Throwable/exception-type location/errors/error.jsp/location /error-page --- in foo.jsp: % int x = 0; int y =

Re: The Jakarta NT Service - The service stops immediately

2006-06-30 Thread Martin Gainty
Good Afternoon Mr McDaniel- Here is my startup script for Windows version of Tomcat C:\Tomcat\Tomcat 5.5\bin\tomcat5.exe //RS//Tomcat5 Martin -- P.S. Do you have any relations named Tim that work in chelmsford??? * This email

problem with doPost method - executed twice

2006-06-30 Thread Siomara
Dear all, I have developed a web application that is running under tomcat 5.5.17 that is under windows XP. I have a servlet that retrieves data from a html form, creates an object and passes this object to a manager class that inserts the data into Oracle. Everything works fine except that I

Re: problem with doPost method - executed twice

2006-06-30 Thread Martin Gainty
Need to see the invoking JSP .. (in the case you might have something like..) form.. action = goToThisServlet and then later on the submit or onClick onSubmit=goToThisServlet Martin -- * This email message and any files

Re: problem with doPost method - executed twice

2006-06-30 Thread Michael Jouravlev
Did the answer that posted four hours ago in your other thread with the same title not work for you? On 6/30/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Dear all, I have developed a web application that is running under tomcat 5.5.17 that is under windows XP. I have a servlet that

RES: problem with doPost method - executed twice

2006-06-30 Thread Siomara
I did not get this message. Can you please resend it? Thanks -Mensagem original- De: Michael Jouravlev [mailto:[EMAIL PROTECTED] Enviada em: sexta-feira, 30 de junho de 2006 16:02 Para: Tomcat Users List Assunto: Re: problem with doPost method - executed twice Did the answer that

RE: APR not found under Linux

2006-06-30 Thread Holst, Martina
Hi Stefan, Looking at your library path: I think you are trying to use a 32bit Java JDK with 64-bit APR/OprnSSL libraries. Java does not find the 32-bit binaries it needs, hence the error message. Best regards, Martina -Original Message- From: Stefan Wachter [mailto:[EMAIL PROTECTED]

RE: The Jakarta NT Service - The service stops immediately

2006-06-30 Thread McDaniel, Brad
Bug 6702 in Bugzilla helped me fix my problem...had to add -Xrs to the wrapper.jvm.options property in wrapper.properties. Now the service starts okay and stays running. But now I'm getting NullPointerExceptions in my .jsp pages that I wasn't getting when starting the service with startup.bat.

RE: The Jakarta NT Service - The service stops immediately

2006-06-30 Thread Martin Gainty
Mr McDaniel check the logs specifically catalina.out OR stdout_MMDD.log HTH, Martin -- __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a

RE: Simple problem

2006-06-30 Thread Saha Rabindra N
Hi Mark, Thanks for replying me back, If as per the spec of Tomcat, all classes to be inside the package, then is it exempted for Servlet ? I see servlet class is executed fine even if it is not inside a package. Thanks for your answer, RNS -Original Message- From: Mark Thomas

Re: Simple problem

2006-06-30 Thread Martin Gainty
To follow up on Mark's conversation- the package specification must mirror the folder name e.g. class fubar in package fu.bar would be located in \fu\bar\fubar.class and would be located in $CATALINA_HOME/webapps/WebAppName/WEB-INF/classes/fu/bar/fubar.class alternately you can jar up and

RE: The Jakarta NT Service - The service stops immediately

2006-06-30 Thread McDaniel, Brad
It says Can't read the properties file. Make sure db.properties is in the CLASSPATH in jvm.stderr. But, the path is in the CLASSPATH environment variable. -Original Message- From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: Friday, June 30, 2006 3:04 PM To: users@tomcat.apache.org

Re: The Jakarta NT Service - The service stops immediately

2006-06-30 Thread Martin Gainty
One of 2 places to rectify- make a backup copy of %JAVA_HOME%/jre/lib/i386/jvm.cfg If and ONLY IF its related to Java add those entries into %JAVA_HOME%/jre/lib/i386/jvm.cfg or if this is specifically related to your Application find the db.properties on your system e.g. 'Nix cd / find . -name

Serving files to Windows Media Player -- ClientAbortException: java.net.SocketException: Broken pipe (or) Connection reset

2006-06-30 Thread Garth Patil
Hi all, I'm trying to debug an application that serves small (20-100k) media files of various types (.swf, .wmv) to Windows Media Player (primarily versions 9, 10, 11). The problem I'm experiencing is that I'm seeing a SocketException with about 50% of the requests. I get one of the two following

problem with doPost method - executed twice

2006-06-30 Thread Siomara
Hi all, I have not received any reply regarding the issue bellow. Please, any help is MORE THAN WELCOME. I also can´t see if my messages are reaching everybody correctly since I get no copy of it when I post. Sio -Mensagem original- De: Siomara Cintia Pantarotto Enviada em:

Re: problem with doPost method - executed twice

2006-06-30 Thread Michael Jouravlev
If you submit the form from form.onsubmit, return false to tell browser that the form has already been submitted. This is Javascript, not a Tomcat issue. On 6/30/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi all, I have not received any reply regarding the issue bellow. Please, any help is

Critical bug in RequestDispatcher.include(..) in Tomcat 5.5.16 ?

2006-06-30 Thread j.random.programmer
Is this my imagination or is tomcat really this retarded and this insanely buggy ? Or am I doing something wrong ? - x.jsp -- foo % RequestDispatcher rd = request.getRequestDispatcher(/foo.html); rd.include(request, response); % test;

Re: Serving files to Windows Media Player -- ClientAbortException: java.net.SocketException: Broken pipe (or) Connection reset

2006-06-30 Thread Hassan Schroeder
On 6/30/06, Garth Patil [EMAIL PROTECTED] wrote: I'm trying to debug an application that serves small (20-100k) media files of various types (.swf, .wmv) to Windows Media Player (primarily versions 9, 10, 11). The problem I'm experiencing is that I'm seeing a SocketException with about 50% of

Re: Critical bug in RequestDispatcher.include(..) in Tomcat 5.5.16 ?

2006-06-30 Thread Garth Patil
Try using the same code in a servlet, and you won't have a problem. If you try this in a jsp and there is _any_ whitespace after the last % the jsp renderer will try to reopen the output stream (to render the whitespace), which is already closed. That is the error you are seeing here. If you want

Re: Serving files to Windows Media Player -- ClientAbortException: java.net.SocketException: Broken pipe (or) Connection reset

2006-06-30 Thread Garth Patil
Thanks Hassan. Windows Media Player actually supports Flash files up to flash version 6. Best, Garth On 6/30/06, Hassan Schroeder [EMAIL PROTECTED] wrote: On 6/30/06, Garth Patil [EMAIL PROTECTED] wrote: I'm trying to debug an application that serves small (20-100k) media files of various

Auto/Hot Deploy on 5.5.17 not working - context not being undeployed

2006-06-30 Thread Josh Parker
Hi all - I'm running Tomcat 5.5.17 and having problems with redeploying a web app on the fly (during development I hate taking the server up and down a hundred times). autodeploy=true unpackWARs=true I copycards.war to the appbase via an Ant script, it's picked up, unpacked and deployed

Re: Programmatic Security

2006-06-30 Thread John Caron
Nicholas Sushkin wrote: On Wednesday 28 June 2006 14:05, John Caron wrote: I assume I need to get a session established, so that the authorization need only be done once. It would also be nice if I recieve a unauthorized request, that I could pass it to Tomcat's 401 challenge and

Re: Critical bug in RequestDispatcher.include(..) in Tomcat 5.5.16 ?

2006-06-30 Thread j.random.programmer
You do understand that we are talking about an include, not a forward right ? --- Garth Patil [EMAIL PROTECTED] wrote: Try using the same code in a servlet, and you won't have a problem. If you try this in a jsp and there is _any_ whitespace after the last % the jsp renderer will try to

how to implement complicated log on using container based security

2006-06-30 Thread Andrew E. Davidson
Hi My portal needs a user management solution. We plan on taking advantage of container based security. Does anyone know of a third party package we can use to manage user? I have to believe some one has already designed a user mgmt RDBMS and create a bunch of stock screens for creating users,

looking for user managment package

2006-06-30 Thread Andrew E. Davidson
Hi My portal needs a user management solution. We plan on taking advantage of container based security. Does anyone know of a third party package we can use to manage user? I have to believe some one has already designed a user mgmt RDBMS and create a bunch of stock screens for creating users,