AW: Connection Pooling

2006-11-13 Thread Eickvonder Bjoern
Hi, > >type="javax.sql.DataSource" > maxActive="50" maxIdle="30" maxWait="1" > removeAbandoned="true" > removeAbandonedTimeout="10" logAbandoned="true" > username="root" password="letmein2006" > driverClass

RE: SSL not working on Tomcat

2006-11-13 Thread Andrew Friebel
Michael, I may have missed something, but did you install your certificate reply into your keystore? I can't see any account of that been done. I also agree that you need to install the CA root certificate in your keystore as well. You need to have the full trust chain in your keystore.

Re: JasperException: The absolute uri: http://java.sun.com/jstl/core cannot be resolved....

2006-11-13 Thread Mano
On 11/13/06, Martin Gainty <[EMAIL PROTECTED]> wrote: Mano- I would start with a working Spring webapp such as petclinic sample webapp from spring and modify the code accordingly Feel free to contact me offline as this specific issue appears to be a mis-alignment with your spring environment

Re: JasperException: The absolute uri: http://java.sun.com/jstl/core cannot be resolved....

2006-11-13 Thread Mano
On 11/13/06, David Delbecq <[EMAIL PROTECTED]> wrote: Your problem is most probably the leading space in your URI. Remove the space between the quote and the http:// Thanks, David. I was hoping this would solve the problem but it did not! I still get the same error.

RE: Accessing ssl pages using client authentication

2006-11-13 Thread Andrew Friebel
Can you let me know if this is correct: 1. Generate server keystore: a. keytool -genkey -alias -keystore -keyalg RSA b. Enter server information as prompted 2. Generate client keystore a. keytool -genkey -alias -keystore -keyalg RSA b. Enter server information as

regarding server side includes in shtml

2006-11-13 Thread prakash shanmugam
In my project I need to use Server Side Includes. I just want to know the details how to make that server side includes to work properly which is constructed as ". Shtml file " . I am using tomcat5 . I have done the following things. 1) included servlet tags in html file wherever neces

RE: Another JSP error/question

2006-11-13 Thread Caldarale, Charles R
> From: Ernie Ho [mailto:[EMAIL PROTECTED] > Subject: Another JSP error/question > > (It looks like its trying to load some class file in > websphere. But the JSP code Is generic java code..) But the classes the JSP is using apparently are not. Either you have something that's Websphere-spec

Another JSP error/question

2006-11-13 Thread Ernie Ho
Hi, thanks for all the valuable replies. Hers is yet another error I'm seeing : I just took a webapp that had been developed on IBM WebSphere and placed the app On Tomcat. It's pretty much a JSP page that calls a bunch of java classes. These Java class files have all been appropriately

Re: Accessing ssl pages using client authentication

2006-11-13 Thread Mark Thomas
Andrew Friebel wrote: > Mark, > Thanks for your input. I have got normal SSL working, and that > works like a charm (using both IE - doGet, and via a servlet - doPost). Great. > My certificates are self signed, to answer your questions: > o I do not believe this is an issue with self si

Need help w/ installing certificate continued...

2006-11-13 Thread Andy Tipton
I have read all through the documentation and can't find what I am doing wrong. The only thing that I didn't do was the importing of the valicert_class2_root.crt file because I wasn't given one when I downloaded my certificate. I imported the real one after I imported the intermediate crt. C:\Pr

RE: Accessing ssl pages using client authentication

2006-11-13 Thread Andrew Friebel
Mark, Thanks for your input. I have got normal SSL working, and that works like a charm (using both IE - doGet, and via a servlet - doPost). My certificates are self signed, to answer your questions: o I do not believe this is an issue with self signed certificates - as the issuer

Re: Cookie expiry date...

2006-11-13 Thread Dave Roberts
Thanks for the reply. I am unable to tell where the cookie is coming from, so instead I have created a filter (declared in web.xml). Inside the filter I get all the cookies in the incoming HttpServletRequest object and where the getMaxAge() returns -1, I set it to 129600 (then call addCookie

Need help w/ installing certificate.

2006-11-13 Thread Andy Tipton
Afternoon, I have my real certificate downloaded. I am trying to install it into my keystore so that is the one to be used. however, I am can't get it to work. Please help!! I am running these commands but I cannot get the keystore to look at the new certificate..

RE: How do I update the commons-fileupdate JAR from 1.0 to 1.2?

2006-11-13 Thread Caldarale, Charles R
> From: Patrick Mc Erlean [mailto:[EMAIL PROTECTED] > Subject: Re: How do I update the commons-fileupdate JAR from > 1.0 to 1.2? > > Apparently the reason Apache rejects this request is that there is a > Content Length check for -1 in the FileUploadBase class. Not true in this case - FileUpload

RE: How do I update the commons-fileupdate JAR from 1.0 to 1.2?

2006-11-13 Thread Steffen Heil
Hi > Apparently the reason Apache rejects this request is that > there is a Content Length check for -1 in the FileUploadBase > class. BTW, this makes me think about your setup. Do you have apache in front of tomcat? Then try tomcat standalone first. Regards, Steffen smime.p7s Description

RE: How do I update the commons-fileupdate JAR from 1.0 to 1.2?

2006-11-13 Thread Steffen Heil
Hi > The URL of my servlet is > http://www.noveleditions.com/gaaradio/servlet/GAARadioServlet. > My servlet does read from the input stream of the http > servet request, and doesn't use FileUploadBase directly. The > servlet lives in a webapp directory called gaaradio. The > servlet mapping is

Re: JSP Compile Error

2006-11-13 Thread Mark Thomas
[EMAIL PROTECTED] wrote: > Can someone tell me what causes the error; and, can I fix it? I am > not in a position to upgrade the old version. I googled it but didn't > get anything useful. No idea without seeing the original JSP code. At a guess you are using some JSP 2.0 code which Tomcat 4.x d

Re: Problem with RemoteAddrValve in Context.xml

2006-11-13 Thread Mark Thomas
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 documentation right the only thing to be done is write the > following into the context.xml file: > > > >allow="192.168.200.188" >

Re: StandartSession.accessCount bug?

2006-11-13 Thread Mark Thomas
Michael Kantarovich wrote: > So what about this bug? > When the fix will be out? The fix is in SVN now. It will be in 5.5.21. Release date for 5.5.21 is TBD. Mark - To start a new topic, e-mail: users@tomcat.apache.org To unsubs

isapi redirector 404 error

2006-11-13 Thread Milan Hampl
I am using isapi_redirector in W2003, IIS6.0 and Apache tomcat 5.5.9 environment. Goal of this solution is to use active directory logon to use also in Apache application (Archibus web central). I tried a lot of variants of configuration files, such as workers.properties, uriworkers, server8080.

Re: Accessing ssl pages using client authentication

2006-11-13 Thread Mark Thomas
Andrew Friebel wrote: > I am also having trouble access the page using a browser. I extract my > each certificate from my certificate chain, and import them into the > keystore on the server running tomcat. After I accept the server > certificate (before I select my client certificate to send), t

Re: How do I update the commons-fileupdate JAR from 1.0 to 1.2?

2006-11-13 Thread Patrick Mc Erlean
Caldarale, Charles R wrote: From: Patrick Mc Erlean [mailto:[EMAIL PROTECTED] Subject: Re: How do I update the commons-fileupdate JAR from 1.0 to 1.2? I understand what you're saying and it does seem strange that the commons-fileupload jar lives under the manager webapp. Not strange at

Re: Cookie expiry date...

2006-11-13 Thread David Rees
On 11/13/06, Dave Roberts <[EMAIL PROTECTED]> wrote: After an absurd amount of searching about, I have not been able to find a single reference on how to ensure that the cookies set by Tomcat expire 3 months after they're created (they currently expire sometime in 2019). What cookies are you ta

Re: JSP error

2006-11-13 Thread David Smith
It is NOT reading the classpath environment variable. You should place the jars your webapp needs in your web application's WEB-INF/lib where they can be automatically found. For further class loader issues, see: http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html --David Ernie

Re: How do I ........?

2006-11-13 Thread David Smith
You already have the answer (code you posted modified with the answer): package coreservlets; import java.io.*; import javax.servlet.*; import javax.servlet.http.*; public class Image_Fil

RE: How do I ........?

2006-11-13 Thread Caldarale, Charles R
> From: Steve Burrus [mailto:[EMAIL PROTECTED] > Subject: Re: How do I ? > > Any FRESH ideas about this possibly? Chris already gave you the answer - you need to check for null before referencing the input stream, and not blindly assume the resource exists. - Chuck THIS COMMUNICATION

Re: How do I ........?

2006-11-13 Thread Steve Burrus
fellas how about getting back to my original problem please!! I simply wanted to see an image of something in a servlet. Now please refer back to my code which I have submitted to this group and on the line w. the while loop I ALWAYS have gotten the NPE. Any FRESH ideas about this possibly? --

RE: JSP error

2006-11-13 Thread Caldarale, Charles R
> From: Ernie Ho [mailto:[EMAIL PROTECTED] > Subject: JSP error > > I'm pretty sure of this, but Tomcat is reading the > classpath environment variable right ? No, the classpath environment variable (which is a truly bad idea) is ignored by Tomcat. > I mean, there is not another config file th

RE: How do I ........?

2006-11-13 Thread Caldarale, Charles R
> From: Martin Gainty [mailto:[EMAIL PROTECTED] > Subject: Re: How do I ? > > **But wait a minute Im NOT supposed to get > NullPointerException !*** Of course you are - you continued to try to use a method of the null object even after determining that it was null:

Cookie expiry date...

2006-11-13 Thread Dave Roberts
Hello, After an absurd amount of searching about, I have not been able to find a single reference on how to ensure that the cookies set by Tomcat expire 3 months after they're created (they currently expire sometime in 2019). I am aware of the session time out that can be set in web.xml...

RE: How do I update the commons-fileupdate JAR from 1.0 to 1.2?

2006-11-13 Thread Caldarale, Charles R
> From: Patrick Mc Erlean [mailto:[EMAIL PROTECTED] > Subject: Re: How do I update the commons-fileupdate JAR from > 1.0 to 1.2? > > I understand what you're saying and it does seem strange that the > commons-fileupload jar lives under the manager webapp. Not strange at all - the manager webap

Re: How do I ........?

2006-11-13 Thread Markus Schönhaber
Martin Gainty wrote: > Well bs chuck and laughing dave > > I ran your exact example / deleted FunkyImage.jpg and got this on screen > > java.lang.NullPointerException > coreservlets.ImageFile.doGet(ImageFile.java:34) > javax.servlet.http.HttpServlet.service(HttpServlet.java:689) >

JSP error

2006-11-13 Thread Ernie Ho
Hi, I'm pretty sure of this, but Tomcat is reading the classpath environment variable right ? I mean, there is not another config file that specifies all the JARs it needs, correct? I'm getting a JSP compile error on Tomcat: An error occurred at line: 23 in the jsp file: /oemaccount.jsp

Re: How do I update the commons-fileupdate JAR from 1.0 to 1.2?

2006-11-13 Thread Patrick Mc Erlean
Chuck, I understand what you're saying and it does seem strange that the commons-fileupload jar lives under the manager webapp. However, my understanding is that this jar is part of the Apache Tomcat base installation and that it plays a part in the processing of all HTTP requests. There i

Re: How do I ........?

2006-11-13 Thread Martin Gainty
Well bs chuck and laughing dave I ran your exact example / deleted FunkyImage.jpg and got this on screen java.lang.NullPointerException coreservlets.ImageFile.doGet(ImageFile.java:34) javax.servlet.http.HttpServlet.service(HttpServlet.java:689) javax.servlet.http.HttpServl

Re: How do I ........?

2006-11-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, > * Throwing |null| as if it were a |Throwable| value. Wow, I never knew that one. You learn something new every day. I guess I was always careful not to "throw null" ;) - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (MingW

Re: How do I ........?

2006-11-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin, The following example is patently false. Do not follow its example: Martin Gainty wrote: > the instant you execute code where a variable is NULL you will throw > NullPointerException if you want robust code you are better off > wrapping in t

RE: How to handle trailing slash and upper/lower case combinations

2006-11-13 Thread Caldarale, Charles R
> From: David Uctaa [mailto:[EMAIL PROTECTED] > Subject: How to handle trailing slash and upper/lower case > combinations > > how do I configure this when using Tomcat standalone? > > So all of the following combinations should resolve to > http://my.domain.com/MyApp > > http://my.domain.com/m

Re: Application Path

2006-11-13 Thread Vernon _
Harry, Thanks for your detailed information. The approach doesn't work for my situation for the reason of url definiton in the application. For instance, I have a url mapping for /home.htm but not /myapp/home.htm. And changing the mapping xml file doesn't seem to be a good way to deal with th

Re: How do I ........?

2006-11-13 Thread david.delbecq
o.O . . (not laughing, not laughing, not laughing) this is going to be my funniest evening in the week, and yet it still monday! Martin Gainty a écrit : > the instant you execute code where a variable is NULL you will throw NullPointerException Change your books! Here

How to handle trailing slash and upper/lower case combinations

2006-11-13 Thread David Uctaa
I'm running Tomcat 5.5 in standalone mode -- no web server front-ending it. If Apache were front-ending it, I would know how to handle the situation where the context path is entered in differring upper/lower case(s), or if a directory's trailing slash was included or not, but how do I configure t

RE: How do I update the commons-fileupdate JAR from 1.0 to 1.2?

2006-11-13 Thread Caldarale, Charles R
> From: Patrick Mc Erlean [mailto:[EMAIL PROTECTED] > Subject: Re: How do I update the commons-fileupdate JAR from > 1.0 to 1.2? > > My understanding is that the manager webapp is part of the > Apache Tomcat installation. It's definitely not my app. But is it actually the one you're using from

Re: How do I update the commons-fileupdate JAR from 1.0 to 1.2?

2006-11-13 Thread Patrick Mc Erlean
Charles, My understanding is that the manager webapp is part of the Apache Tomcat installation. It's definitely not my app. I was told that the commons-fileupload-1.2 jar would fix my problem (i.e. it would accept chunked transfer for HTTP POSTs). The only place I found the commons-fileuplo

Re: How do I ........?

2006-11-13 Thread David Smith
Sorry Martin -- won't work the way you did it. Testing for null will not throw an NPE. That's how we avoid an NPE all together. However if you attempt to access a method on a null object reference, it will throw an NPE. Example: try { javax.sql.DataSource dbds = null ; dbds.getConnection()

RE: How do I update the commons-fileupdate JAR from 1.0 to 1.2?

2006-11-13 Thread Caldarale, Charles R
> From: Patrick Mc Erlean [mailto:[EMAIL PROTECTED] > Subject: How do I update the commons-fileupdate JAR from 1.0 to 1.2? > > It looks like it's not as simple as replacing the jar. The > jar actually resides in ./server/webapps/manager/WEB-INF/lib. That location is only for the manager webapp

RE: How do I ........?

2006-11-13 Thread Caldarale, Charles R
> From: Martin Gainty [mailto:[EMAIL PROTECTED] > Subject: Re: How do I ? > > the instant you execute code where a variable is NULL you > will throw NullPointerException Absolute bullshit. > try > { > if( in == null) System.out.println("This statement will > never be executed as Nul

Re: How do I ........?

2006-11-13 Thread Martin Gainty
the instant you execute code where a variable is NULL you will throw NullPointerException if you want robust code you are better off wrapping in try catch block as in try { if( in == null) System.out.println("This statement will never be executed as NullPointerException will be thrown"); } cat

Re: Tomcat VS JBOSS

2006-11-13 Thread Martin Gainty
You are not necessarily confined to that 2.4 Servlet Container as mentioned in the docs and Tomcat classes specified in server.xml Read install and cluster config docs info at http://docs.jboss.org/jbportal/v2.4/reference-guide/en/html/clustering.html M- This e-mail communication and any attachmen

How do I update the commons-fileupdate JAR from 1.0 to 1.2?

2006-11-13 Thread Patrick Mc Erlean
Hi, I am sending packets from a mobile application to Apache Tomcat version 5.5.20. I am getting a response code of 411 when my packets are over 2016 bytes in length. Apparently this is a bug in Apache Tomcat, where it doesn't deal properly with Chunked Transfer. I read that this problem i

Re: Tomcat start problem in NetBeans

2006-11-13 Thread EDMOND KEMOKAI
my mistake, the error isn't on the environment variables. : java.lang.IllegalArgumentException: Document base /Users/kanika/ research work/evm/build/web does not exist or is not a readable directory You could also try to do a "clean build" in netbeans, sometimes if you make changes and just co

Re: Why is "ROOT" appended?

2006-11-13 Thread D. Alvarado
Actually the problem was I still had "/usr/local/apache2/htdocs" as my "appBase" directive in my server.xml file. When I changed that back to "webapps", things worked. Thanks for your taking the time to explain these things. - Dave On 11/13/06, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: >

Re: How do I ........?

2006-11-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Steve, Steve R Burrus wrote: > hi chris this is steve Burrus and the line of code in question is the > while loop : "while( ( r = in.read(by)) != -1) {" the server error for a > long time has always pointed to that line of code creating the NPE. Yup,

RE: Tomcat start problem in NetBeans

2006-11-13 Thread Caldarale, Charles R
> From: EDMOND KEMOKAI [mailto:[EMAIL PROTECTED] > Subject: Re: Tomcat start problem in NetBeans > > Using CATALINA_BASE: /Users/kanika/.netbeans/5.0/ > jakarta-tomcat-5.5.9_base > Using CATALINA_HOME: /Applications/NetBeans.app/Contents/ > Resources/NetBeans/enterprise2/jakarta-tomcat-5.5.9

Re: How do I ........?

2006-11-13 Thread Steve R Burrus
hi chris this is steve Burrus and the line of code in question is the while loop : "while( ( r = in.read(by)) != -1) {" the server error for a long time has always pointed to that line of code creating the NPE. Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Steve,

RE: Why is "ROOT" appended?

2006-11-13 Thread Caldarale, Charles R
> From: D. Alvarado [mailto:[EMAIL PROTECTED] > Subject: Re: Why is "ROOT" appended? > > privileged="true" antiResourceLocking="false" > antiJARLocking="false"> > > > Is the ROOT.xml file correct? That looks o.k. to me. Could there be a permissions problem - Tomcat unable to access

Re: Tomcat start problem in NetBeans

2006-11-13 Thread EDMOND KEMOKAI
Using CATALINA_BASE: /Users/kanika/.netbeans/5.0/jakarta- tomcat-5.5.9_base Using CATALINA_HOME: /Applications/NetBeans.app/Contents/ Resources/NetBeans/enterprise2/jakarta-tomcat-5.5.9 Using CATALINA_TMPDIR: /Users/kanika/.netbeans/5.0/jakarta- tomcat-5.5.9_base/temp Using JRE_HOME: /L

Re: Monitor Tomcat

2006-11-13 Thread antarix
I use lambdaprobe http://www.lambdaprobe.org/d/index.htm Grettings!! 2006/11/13, Philippe Couas <[EMAIL PROTECTED]>: What are best solution to Monitor Tomcat and verifiy Memory and ressource ? Regards Philippe

RE: Tomcat start problem in NetBeans

2006-11-13 Thread Caldarale, Charles R
> From: kanika thapar [mailto:[EMAIL PROTECTED] > Subject: Tomcat start problem in NetBeans > > Here are the tomcat logs which mainly state "error starting > static resources" Any chance you're not closing files and then running out of file descriptors? This usually results in an OOME, but the

RE: Tomcat VS JBOSS

2006-11-13 Thread Caldarale, Charles R
> From: Ernie Ho [mailto:[EMAIL PROTECTED] > Subject: Tomcat VS JBOSS > > In particular, Tomcat is an app server with a built-in web > (HTTP) server; does JBOSS require an external webserver to > run its web applications ? Actually, Tomcat is a component of JBoss; no external webservers ar

session replication/tomcat 5.5

2006-11-13 Thread David O'Dell
Is anyone using session replication in production? Is there an alternative to using multicasting? In the doc http://tomcat.apache.org/tomcat-5.5-doc/cluster-howto.html It states "This is an algorithm that is only efficient when the clusters are small." I have 6 tomcat instances behind a load b

Re: Connection Pooling

2006-11-13 Thread David Smith
With maxWait=1, I believe on pool exhaustion, it'll wait for up to 10 seconds for one to become available. Failing that, I'm not sure. The request might get a null connection back or an exception. Honestly I've never looked at the internals of DBCP, but I have done some programming work on c

Re: Tomcat VS JBOSS

2006-11-13 Thread Edoardo Panfili
Ernie Ho ha scritto: Hi, could anyone out there highlight some major differences between Tomcat and JBOSS? In particular, Tomcat is an app server with a built-in web (HTTP) server; does JBOSS require an external webserver to run its web applications ? Jboss is an application server (

Connection Pooling

2006-11-13 Thread Karim Zibari
Hi I have been using this connection pooling declaration for my web app for many months but I never really know what it is doing: Specifically, 1- does this mean that 50 connections will be made available when the web app is loaded? 2- what happens if all the 50 connectio

Re: Tomcat VS JBOSS

2006-11-13 Thread Karim Zibari
I think the major difference is that whereas Tomcat is only a web container (JSP and Servlet container), JBoss is full J2EE application server that also supports business components and enterprise JavaBeans. Best regards Karim Zibari - Original Message From: Ernie Ho <[EMAIL PROTECT

Re: Memory Leaks

2006-11-13 Thread Daniel L. Gross
Additional Information. I did some more testing and it appears that the memory only goes up in tomcat 5 when I open a connection to the mysql database using the J-Connector. If I run a simple servlet that does nothing but opens a connection to my database then closes it at the end, I still le

Tomcat VS JBOSS

2006-11-13 Thread Ernie Ho
Hi, could anyone out there highlight some major differences between Tomcat and JBOSS? In particular, Tomcat is an app server with a built-in web (HTTP) server; does JBOSS require an external webserver to run its web applications ? Thanks, Ernie -

Reset Connection Pool while Webapp is Running

2006-11-13 Thread Michael Tran
Hello there! I'm a relative beginner at web development and I'm wondering if you could help me with a problem. I'm building a webapp using Struts and iBatis. The problem is, I'd like to be able to change the database connection information while the app is running and without having to restart th

Tomcat start problem in NetBeans

2006-11-13 Thread kanika thapar
Hi All, My tomcat 5.5.9 was working fine with Netbeans but after running my module several times[im building my app with jsf pages] i started getting http 404 error.Here are the tomcat logs which mainly state "error starting static resources" this has happened with several projects of mine.

Re: Tomcat 6 and comet

2006-11-13 Thread Rémy Maucherat
On 11/13/06, Peter Rossbach <[EMAIL PROTECTED]> wrote: Hi, Comet style communication work also with the new NIO Connector. Test it with Tomcat 6.0.1 or the svn trunk. My current example is simple and works only at firefox. Next step to implement are client reconnect and message retr

jsvc error: Cannot found Daemon Loader "version" entry point

2006-11-13 Thread Odzeyem Nuertey-Y17577
Hello, I am trying to run Tomcat as a daemon on Solaris. Compilation went succesfully but when I invoke jsvc, I get the following error log: 13/11/2006 10:53:46 12608 jsvc debug: Using default JVM in /usr/java/jre/lib/sparc/client/libjvm.so 13/11/2006 10:53:46 12608 jsvc debug: Attemtping to load

Re: Why is "ROOT" appended?

2006-11-13 Thread D. Alvarado
Thanks. I did as you instructed creating in "$CATALINA_HOME/conf/Catalina/localhost" the file ROOT.xml and I deleted the webapps/ROOT directory. I restarted and now i get a 404 when I make my request ... [EMAIL PROTECTED] ~]# wget http://localhost:8080/test.jsp --11:21:19-- http://localhos

Re: Tomcat 6, can't display examples page

2006-11-13 Thread Dick Steflik
Chuck, Thanks a lot, thought I was going crazy there for a while. Dick Steflik Binghamton University Binghamton, NY Caldarale, Charles R wrote: From: Dick Steflik [mailto:[EMAIL PROTECTED] Subject: Tomcat 6, can't display examples page Have I forgotten to do something or did I do something

Monitor Tomcat

2006-11-13 Thread Philippe Couas
What are best solution to Monitor Tomcat and verifiy Memory and ressource ? Regards Philippe

RE: Why is "ROOT" appended?

2006-11-13 Thread Caldarale, Charles R
> From: D. Alvarado [mailto:[EMAIL PROTECTED] > Subject: Re: Why is "ROOT" appended? > > Ok, let me ask another question. If I want to change the directory to > where I put JSP files that I don't want to package into a WAR, to say, > "/usr/local/apache2/htdocs", how do I do that? They don't hav

Re: Why is "ROOT" appended?

2006-11-13 Thread D. Alvarado
Thanks but this fails. Here's what I changed the appBase dir to and here is what happened when I restarted and tried to request a page that I just created (with 775 perms) [EMAIL PROTECTED] bin]# wget http://localhost:8080/test.jsp --10:49:24-- http://localhost:8080/test.jsp =

Re: Why is "ROOT" appended?

2006-11-13 Thread Edoardo Panfili
D. Alvarado ha scritto: Ok, let me ask another question. If I want to change the directory to where I put JSP files that I don't want to package into a WAR, to say, "/usr/local/apache2/htdocs", how do I do that? take a look at http://tomcat.apache.org/tomcat-5.5-doc/config/host.html you can u

Re: Why is "ROOT" appended?

2006-11-13 Thread D. Alvarado
Ok, let me ask another question. If I want to change the directory to where I put JSP files that I don't want to package into a WAR, to say, "/usr/local/apache2/htdocs", how do I do that? - Dave On 11/13/06, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: > From: D. Alvarado [mailto:[EMAIL PRO

RE: Tomcat 6, can't display examples page

2006-11-13 Thread Caldarale, Charles R
> From: Dick Steflik [mailto:[EMAIL PROTECTED] > Subject: Tomcat 6, can't display examples page > > Have I forgotten to do something or did I > do something wrong? Neither - the new ROOT/index.html file is slightly broken. Try entering: http://localhost:8080/examples/jsp or http://loca

Memory Leaks

2006-11-13 Thread Daniel L. Gross
I am running tomcat 5.5.17 with the newest J-Connector talking to MySql. I have many servlets which access the database, and with Tomcat 5.5.17, it seems that each time I access a servlet, it uses more memory, and doesn't release it when the servlet is done. Previously I was running tomcat 4

Tomcat 6, can't display examples page

2006-11-13 Thread Dick Steflik
Hi all, I've been a Tomcat user on and off for the last five or six years. I just installed Tomcat 6 on a Fedora Core 5 box in /usr/local/share/tomcat6; when I go to localhost:8080 I get the default page (like I am supposed to) but can't bring up the examples page as I have in the past. Have

RE: Why is "ROOT" appended?

2006-11-13 Thread Caldarale, Charles R
> From: D. Alvarado [mailto:[EMAIL PROTECTED] > Subject: Why is "ROOT" appended? > > unpackWARs="true" autoDeploy="true" >xmlValidation="false" xmlNamespaceAware="false"> > > but when i request a loose page, it gets the file from "webapps/ROOT". > How do I change the confi

Why is "ROOT" appended?

2006-11-13 Thread D. Alvarado
Hi, I installed Tomcat 5.5.20 on Fedora Core 5 Linux. In my "server.xml" file, I have the default appbase as "webapps" but when i request a loose page, it gets the file from "webapps/ROOT". How do I change the configuration such that it gets the page from "webapps"? Thanks, - Dave -

RE: Installing my SSL Certificate.

2006-11-13 Thread Kent, Doug
Sounds like you somehow are trying to install a different reply certificate. And make sure you generate the request from the machine you are going to import the reply to. From: Andy Tipton [mailto:[EMAIL PROTECTED] Sent: Sun 11/12/2006 8:35 PM To: 'Tomcat Users

Re: Problem with bootstrap.java

2006-11-13 Thread Stephan Schöffel
i used the build.xml delivered with the tomcat 5.5.20 source: value="${project}-${version}-src" /> http://svn.apache.org/repos/asf/"; />

Re: Problem with bootstrap.java

2006-11-13 Thread Martin Gainty
Please display build.xml you are using M- This e-mail communication and any attachments may contain confidential and 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 communica

Re: Problem with bootstrap.java

2006-11-13 Thread Stephan Schöffel
is there a way to build boostrap.jar without having to build the whole container? David Delbecq wrote: Log factory is part of the commons loggin facilities. Try to use the tomcat provided build script instead of using eclipse jar builder to create your bootstrap.jar Stephan Schöffel a écrit

Re: JasperException: The absolute uri: http://java.sun.com/jstl/core cannot be resolved....

2006-11-13 Thread Martin Gainty
Mano- I would start with a working Spring webapp such as petclinic sample webapp from spring and modify the code accordingly Feel free to contact me offline as this specific issue appears to be a mis-alignment with your spring environment M- This e-mail communication and any attachments may con

Re: Which version of Tomcat Native library to use?

2006-11-13 Thread Markus Schönhaber
Matthias Krebs wrote: > I installed Tomcat 5.5.20 and compiled the included (1.1.13) Tomcat > Native Library from bin/tomcat-native.tar.gz. This works, but in the > log i get this message: > > "FEIN: An older version 1.1.3 of the Apache Tomcat Native library is > installed, while Tomcat recommends

Re: Problem with bootstrap.java

2006-11-13 Thread Stephan Schöffel
i tried running the build file. not very familiar with build files i got the following error message after downloading a lot of common libs: downloadzip: [get] Getting: http://sunsite.informatik.rwth-aachen.de/eclipse/downloads/ drops/R-3.1.2-200601181600/eclipse-JDT-3.1.2.zip [get]

JSP Compile Error

2006-11-13 Thread michael
Hello, I am getting this error on deployment of a web app: org.apache.jasper.compiler.CompileException: /Trollope-l/trollope/index.jsp(44,12) /WEB-INF/jspf/appnav.jspf(13,54) Unterminated This happens when I deploy on Tomcat 4.0.6. However, the application was developed on and runs fine on Tomc

Which version of Tomcat Native library to use?

2006-11-13 Thread Matthias Krebs
Hello, I installed Tomcat 5.5.20 and compiled the included (1.1.13) Tomcat Native Library from bin/tomcat-native.tar.gz. This works, but in the log i get this message: "FEIN: An older version 1.1.3 of the Apache Tomcat Native library is installed, while Tomcat recommends version greater than 1.1.

Re: How do I ........?

2006-11-13 Thread Martin Gainty
You may want to consider using ant to automate these tasks so you are not sidetracked by environment specific maladies M- This e-mail communication and any attachments may contain confidential and privileged information for the use of the designated recipients named above. If you are not the in

Re: Problem with bootstrap.java

2006-11-13 Thread Rainer Jung
Inside the jar. Google for jar manifest will give you a link like: http://java.sun.com/j2se/1.4.2/docs/guide/jar/jar.html Jars and manifest are a general notation with java, they are not special for tomcat. Stephan Schöffel wrote: where can i find the manifest of bootstrap.jar? It's looki

Re: Problem with bootstrap.java

2006-11-13 Thread Martin Gainty
I see a different error message when using the build.xml at http://tomcat.apache.org/tomcat-5.5-doc/building.html Target download does not exist M- This e-mail communication and any attachments may contain confidential and privileged information for the use of the designated recipients name

Re: Problem with bootstrap.java

2006-11-13 Thread Stephan Schöffel
where can i find the manifest of bootstrap.jar? It's looking for LogFactory in main of Bootstrap. Have a look to learn at the manifest of the bootstrap.jar to learn about the dependencies. Regards, Rainer Stephan Schöffel wrote: hi there i'm trying to alter the bootstrap.java class to f

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

Re: socket connection within servlet to the same container

2006-11-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dmitry, Dmitry Kandalov wrote: > Say I have code like this: > [snip] > socket = new Socket( request.getLocalAddr(), request.getLocalPort() > ); > socket.getOutputStream().write( requestString.getBytes( "ISO-8859-1" > ) ); > soc

Re: JasperException: The absolute uri: http://java.sun.com/jstl/core cannot be resolved....

2006-11-13 Thread David Delbecq
Hi, sorry, i just read the bottom of you email, i thought you had downloaded a spring app and it wasn't working. (Overlooked the bottom as a signature ^^) Your problem is most probably the leading space in your URI. Remove the space between the quote and the http:// David Delbecq a écrit : > This

Re: JasperException: The absolute uri: http://java.sun.com/jstl/core cannot be resolved....

2006-11-13 Thread David Delbecq
This is most probably a problem in the example webapplication (missing jstl related jar). Refer to spring framework mailing list. Mano a écrit : > Hi, > > Am trying to get the Springapp (the example found in the Spring Framework > 2.0 running on my system. Am running Tomcat 5.5.17 and jdk 1.5). Wh

JasperException: The absolute uri: http://java.sun.com/jstl/core cannot be resolved....

2006-11-13 Thread Mano
Hi, Am trying to get the Springapp (the example found in the Spring Framework 2.0 running on my system. Am running Tomcat 5.5.17 and jdk 1.5). When I try to access localhost:8080/mano-projects/mostgain/ I get the following error: _ exception org.apache.jaspe

  1   2   >