Re: Log4j errors on Tomcat6 startup

2007-07-16 Thread Juha Laiho
Mark Faircloth wrote: We are in the process of migrating from 5.5 to 6 under Win32/64 and need to alter the locations of some of our jars files because of the changes to the directory structure and the class loading. Under 5.5 we have commons-logging.jar and log4j.jar in WEB-INF\lib and

isapi_redirect from IIS5 to tomcat 5.5 brings HTTP 404 - isapi_redirect.dll not found

2007-07-16 Thread Kirst Martin Wolfgang
Hi, I'm trying to use IIS v5.00.3700.1000 with Tomcat 5.5.17 using isapi_redirect 1.2.23 and AJP13. But in the end I always see an error page from tomcat: HTTP Status 404 - /jakarta/isapi_redirect.dll ... The requested resource (/jakarta/isapi_redirect.dll) is not available ... Apache

Re: Read and write inside WEB-INF

2007-07-16 Thread Manivannan Palanichamy
I too do the same thing; I am reading properties from a property file, thats under WEB-INF/classes directory. code is: InputStream in = getClass().getClassLoader().getResourceAsStream( sample.properties); Code is working fine. -- Manivannan.Palanichamy (@) Oracle.com

Re: DataSources and Tomcat (continue thread: Re: How to use connectionpool with tomcat 1.2.9)

2007-07-16 Thread Lyallex
You left this bit out ... it's not a criticism before anyone gets upset I'd be glad to contribute to the documentation, just gotta figure out how, guess I'll have to RTFM. Rgds Duncan On 7/15/07, Mark Thomas [EMAIL PROTECTED] wrote: Lyallex wrote: One thing that constantly frustrates me is

Did anyone had problems with JspWriter in Tomcat 5.5.17?

2007-07-16 Thread Borut Hadžialić
Hi list, I have spent last 15 working hours trying to figure out the cause of a strange bug. Home page on one of our web sites sometimes gets generated with no content - as a blank page, the response buffer having size 0. We use caching filter (modified CachingFilter from Ehcache 1.3.0) which

Re: Tomcat 5.5.x: Null component

2007-07-16 Thread hezjing
I'm using Tomcat 5.5.23 On 7/13/07, Mark Thomas [EMAIL PROTECTED] wrote: hezjing wrote: The dummy\WEB-INF\classes\log4j.properties contains the following, log4j.rootLogger=ALL, stdout log4j.appender.stdout=org.apache.log4j.ConsoleAppender

Re: Did anyone had problems with JspWriter in Tomcat 5.5.17?

2007-07-16 Thread Borut Hadžialić
I forgot to write information about our environment: Os: Red Hat 4.1 (Linux 2.6.9-42.EL) on i386 Jvm: Sun's Java HotSpot(TM) Client VM version 1.5.0_07-b03 Tomcat 5.5.17 We also use Spring, Informix db, iBatis, Jsp (tiles) and Ehcache 1.3.0 We have made 5 sites for now with these same

Re: Did anyone had problems with JspWriter in Tomcat 5.5.17?

2007-07-16 Thread rpr_listas
Hello, Borut. Are you sure that there are no other thread writing in the cache at this moment? How do you prevent this case? Best regards. Ricardo Borut Hadžialić escribió: Hi list, I have spent last 15 working hours trying to figure out the cause of a strange bug. Home page on one of

Re: Did anyone had problems with JspWriter in Tomcat 5.5.17?

2007-07-16 Thread Borut Hadžialić
The caching filter uses a BlockingCache. A miss (get that returns null) locks that entry/key, and other threads that try to get the page from the cache using the same key, must wait until the thread that locked the entry puts something into the cache and releases the lock. Lock are released

Re: Did anyone had problems with JspWriter in Tomcat 5.5.17?

2007-07-16 Thread Borut Hadžialić
The problem seem to happen before writing to the cache. Jsps write to response wrapper's buffer.. well, when they do page gets generated fine, when they don't we get a blank home page served and put in the cache. On 7/16/07, rpr_listas [EMAIL PROTECTED] wrote: Hello, Borut. Are you sure that

Re: Tomcat cannot access the resources in an HTTPS webapp

2007-07-16 Thread Dimitris Mouchritsas
Mark Thomas wrote: Dimitris Mouchritsas wrote: login-config auth-methodHTTPS/auth-method realm-nameORA Examples/realm-name /login-config There is no such authentication method defined in the spec. If you want client certificate authentication then the correct value is

Change stderr.log and stdout.log location of Tomcat Apache 4.1

2007-07-16 Thread Yulius
Hi all, Currently the stdout.log and stderr.log is located in the Web Server logs directory. Is there a way to relocate this two files at another path directory, lets say at d drive? I tried tomcats admin page with no result, and also i can't find logger at server.xml that is pointing

Re: Change stderr.log and stdout.log location of Tomcat Apache 4.1

2007-07-16 Thread David Smith
Look at the startup script. These files receive data redirected from stdout and stderror. --David Yulius wrote: Hi all, Currently the stdout.log and stderr.log is located in the Web Server logs directory. Is there a way to relocate this two files at another path directory, lets say

Thread waiting

2007-07-16 Thread André Vila Cova
Hi! How can I say for what is the tread waiting? http-8085-Processor23 daemon prio=1 tid=0xdd4b7ae8 nid=0x2d41 in Object.wait() [0xde29b000..0xde29c020] at java.lang.Object.wait(Native Method) - waiting on 0xe61981f0 (a org.apache.tomcat.util.threads.ThreadPool$ControlRunnable)

Re: Tomcat cannot access the resources in an HTTPS webapp

2007-07-16 Thread Lyallex
Hi There seems to be an awful lot of confusion on this list about container managed security and https ... I know I was confused when I started with it. As I see it the two are not really connected. I think what you want to do is to force an https request for certain resources in your

Re: Thread waiting

2007-07-16 Thread David Delbecq
It waits for a specific java.lang.Object to get 'notified' by another Thread. Typically, in your stacktrace, the Thread is simply waiting for tomcat to give him an http Request to process. En l'instant précis du 16/07/07 12:52, André Vila Cova s'exprimait en ces termes: Hi! How can I say for

Re: change in local directory deployment behavior between 5.5 and 6

2007-07-16 Thread Johnny Kewl
- Original Message - From: Alice Young [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Sunday, July 15, 2007 5:47 PM Subject: change in local directory deployment behavior between 5.5 and 6 Hi, I have been searching for a solution to this problem for a while, but it's

RE: Tomcat6 Manager App HOW-TO

2007-07-16 Thread Caldarale, Charles R
From: John Moore [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat6 Manager App HOW-TO I also gather that you should copy the manager directory into each webapp..??? Not required, but it's an alternative to creating manager.xml files under each conf/Catalina/[host] directory that all have a

RE: Tomcat cannot access the resources in an HTTPS webapp

2007-07-16 Thread Caldarale, Charles R
From: Dimitris Mouchritsas [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat cannot access the resources in an HTTPS webapp So if I want a subdirectory (e.g. admin) of my webapp, or my entire webapp to be accessible _only_ under https what should I do? Read section 12 of the servlet spec:

Re: Did anyone had problems with JspWriter in Tomcat 5.5.17?

2007-07-16 Thread rpr_listas
Hi Borut. I don't know the ehcache framework. What is the method used to prevent the thread collision? If I had this error, would try to make the most simple example to reproduce it. A simple wrapper and singleton class could be a good beginnin. Then grow the example until the error

Re: Axis 2, POJO, Exceptions and Faults

2007-07-16 Thread albert quinn
Hi Joe !!! : Many thanks by your answer, I'm really a newbie in the Axis world and I'm still lost, spending a lot of time reading the Axis 2 docs and samples but not finding answers to thowsands of questions in that docs and samples. So, I'm trying to find the easiest way to do what I need

Re: Creating a Logger in Tomcat 5.5.12

2007-07-16 Thread Filip Hanik - Dev Lists
take a look at conf/logging.properties, you can see how they setup logging for the different contexts Filip Archibald Moepi wrote: Hi, I just migrated to Tomcat 5.5.12 from Tomcat 4.1.31 and I want to create a logger for my context, any ideas on how I can complish this? Thanx

Http Header Cache-Control

2007-07-16 Thread gerocoma-forophp
Hello, I've apache 1.3.36 + tomcat 4 + mod_jk 3.3 I'm very new to web servers. I have a problem with the cache configuration of a tomcat web application. Using a http headers inspector, I can see that no cache control is been sent. I'd like to send CacheControl: no-cache in the header of

Capturing Tomcat thread dumps from startup.bat (Windows)

2007-07-16 Thread Jayson Enriquez
I am unable to copy Tomcat thread dumops when launching it from Startup.bat from a command window. At the end of the day I do a select all and copy but it only captures part of the thread dump. Is/Are their other ways to capture thread dumps from a command (DOS) window? Buffers are set to 999

Re: Tomcat cannot access the resources in an HTTPS webapp

2007-07-16 Thread Dimitris Mouchritsas
Thank you for your responses. Well, I was a bit lost in the specs but after looking up transport-guarantee I got what I wanted. Out of curiosity though what should I do to add tomcat user authentication? I tried adding: security-constraint web-resource-collection

RE: Tomcat cannot access the resources in an HTTPS webapp

2007-07-16 Thread Caldarale, Charles R
From: Dimitris Mouchritsas [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat cannot access the resources in an HTTPS webapp Out of curiosity though what should I do to add tomcat user authentication? Container-managed authentication is unique to the container, so refer to the appropriate

Re: memory tomcat

2007-07-16 Thread Christopher Schultz
Alvaro, alvaro tovar wrote: hi, thanks for your answer, i think that i have to questions in solaris, is a solaris sparc, but, if the manager application show FYI Sparc/Solaris also has both 32- and 64-bit editions. Free memory: 3000 MB Total memory: 3000 MB Max memory: 3000 MB then

Re: Tomcat - All threads (200) are currently busy

2007-07-16 Thread Christopher Schultz
André, André Vila Cova wrote: And it's possible to know what threads are really doing? And I don't understand why having the following 3 connectors maxThreads=400 minSpareThreads=25 maxSpareThreads=75 maxThreads=150 minSpareThreads=25 maxSpareThreads=75 maxThreads=150 minSpareThreads=25

Re: Thread waiting

2007-07-16 Thread Christopher Schultz
André, André Vila Cova wrote: How can I say for what is the tread waiting? As a follow-up to David's reply, I'd like to be a little more specific. http-8085-Processor23 daemon prio=1 tid=0xdd4b7ae8 nid=0x2d41 in Object.wait() [0xde29b000..0xde29c020] This line of output tells you which

Re: Http Header Cache-Control

2007-07-16 Thread Christopher Schultz
To whom it may concern, [EMAIL PROTECTED] wrote: I've apache 1.3.36 + tomcat 4 + mod_jk 3.3 Something is wrong with that mod_jk version, by the way. The most recent release of mod_jk is 1.2.23. I'm very new to web servers. I have a problem with the cache configuration of a tomcat web

birtruntime 2.2.0 crash on tomcat 5.5.20

2007-07-16 Thread Tom Butts
When I deploy the new birt 2.2.0 runtime on tomcat 5.5.20 and run the Webviewer example I get the following jvm crash under windows. # # An unexpected error has been detected by HotSpot Virtual Machine: # # EXCEPTION_ACCESS_VIOLATION (0xc005) at pc=0x780104ac, pid=924, tid=1464 #

Re: Capturing Tomcat thread dumps from startup.bat (Windows)

2007-07-16 Thread Filip Hanik - Dev Lists
catalina.bat run dump.log then do a Ctrl+Break for the dump another way is to use a service wrapper that lets you do dumps, http://people.apache.org/~fhanik/wrapper.html Filip Jayson Enriquez wrote: I am unable to copy Tomcat thread dumops when launching it from Startup.bat from a command

Re: Tomcat6 Manager App HOW-TO

2007-07-16 Thread John Moore
Caldarale, Charles R wrote: From: John Moore [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat6 Manager App HOW-TO I also gather that you should copy the manager directory into each webapp..??? Not required, but it's an alternative to creating manager.xml files under each

Tomcat 4.1.3 on Win2k Server: Log generated pages?

2007-07-16 Thread Eric B
Hi, all. I'm using Tomcat to build VoiceXML pages for our IVR application. There are some strange errors that have been cropping up in the VXML browser, and in an effort to debug them, I'm trying to figure out a way to log or view the pages that Tomcat generates. Is there a runtime option for

How to deploy a web app on tomcat.. help needed plz.. :)

2007-07-16 Thread pinky88
Hi, I'm trying to deploy a web application on tomcat 5.5.23 but I'm not exactly sure how to do so (beginner). I've copied the war file and archive into the webapp directory but i'm getting a message saying the requested resource is not available. I previously had another web app deployed but

RE: How to deploy a web app on tomcat.. help needed plz.. :)

2007-07-16 Thread Asensio, Rodrigo
Pinki, please post the entire tomcat log here. -Original Message- From: pinky88 [mailto:[EMAIL PROTECTED] Sent: Monday, July 16, 2007 3:39 PM To: users@tomcat.apache.org Subject: How to deploy a web app on tomcat.. help needed plz.. :) Hi, I'm trying to deploy a web application on

RE: How to deploy a web app on tomcat.. help needed plz.. :)

2007-07-16 Thread pinky88
HTTP Status 404 - /LoginApp type Status report message /LoginApp description The requested resource (/LoginApp) is not available. Apache Tomcat/5.5.23 Asensio, Rodrigo wrote: Pinki, please post the entire tomcat log here. -Original Message- From: pinky88 [mailto:[EMAIL

Re: birtruntime 2.2.0 crash on tomcat 5.5.20

2007-07-16 Thread Len Popp
Since it's crashing in a printer driver DLL, I suggest removing the problem printer and specifying a different printer as the default in Windows. -- Len On 7/16/07, Tom Butts [EMAIL PROTECTED] wrote: When I deploy the new birt 2.2.0 runtime on tomcat 5.5.20 and run the Webviewer example I get

Re: How to deploy a web app on tomcat.. help needed plz.. :)

2007-07-16 Thread David kerber
Do you have the LoginApp servlet defined in web.xml or another equivalent place? pinky88 wrote: HTTP Status 404 - /LoginApp type Status report message /LoginApp description The requested resource (/LoginApp) is not available. Apache Tomcat/5.5.23 Asensio, Rodrigo wrote: Pinki, please

Re: How to deploy a web app on tomcat.. help needed plz.. :)

2007-07-16 Thread pinky88
yup i have it defined in a web.xml in the WEB-INF folder.. my web.xml is as follows: ?xml version=1.0 encoding=ISO-8859-1? web-app xmlns=http://java.sun.com/xml/ns/j2ee; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee

RE: How to deploy a web app on tomcat.. help needed plz.. :)

2007-07-16 Thread Caldarale, Charles R
From: pinky88 [mailto:[EMAIL PROTECTED] Subject: How to deploy a web app on tomcat.. help needed plz.. :) I'm trying to deploy a web application on tomcat 5.5.23 but I'm not exactly sure how to do so (beginner). You might want to take a look at the doc:

RE: How to deploy a web app on tomcat.. help needed plz.. :)

2007-07-16 Thread Asensio, Rodrigo
Do you have the real class inside %YOUR_WEBAPP%/WEB-INF/classes or lib ? -Original Message- From: pinky88 [mailto:[EMAIL PROTECTED] Sent: Monday, July 16, 2007 4:11 PM To: users@tomcat.apache.org Subject: Re: How to deploy a web app on tomcat.. help needed plz.. :) yup i have it

RE: How to deploy a web app on tomcat.. help needed plz.. :)

2007-07-16 Thread Caldarale, Charles R
From: pinky88 [mailto:[EMAIL PROTECTED] Subject: Re: How to deploy a web app on tomcat.. help needed plz.. :) ?xml version=1.0 encoding=ISO-8859-1? web-app xmlns=http://java.sun.com/xml/ns/j2ee; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;

Re: How to deploy a web app on tomcat.. help needed plz.. :)

2007-07-16 Thread David kerber
What are you typing into the browser to access this app? Your error message says LoginApp wasn't found, but here your servlet is named login. Try using login in your URL instead of LoginApp. pinky88 wrote: yup i have it defined in a web.xml in the WEB-INF folder.. my web.xml is as follows:

About Using memory JVM and Tomcat

2007-07-16 Thread [EMAIL PROTECTED]
Hi! What the maximum value size to: -Xms -Xmx -ms -mx -XX:MaxPermSize To SUN JVM jdk 1.5.0.11 in the server with 3GB RAM. Im my case for exemplo: -Xms1024m -Xmx1024m -ms1024m -mx1024m -XX:MaxPermSize=400m To bigger value then 1024m Tomcat crash with message: Do Any documentation to correct

Re: About Using memory JVM and Tomcat

2007-07-16 Thread alvaro tovar
Christopher Schultz say. Most 32-bit JVMs can't actually give you 3GB of heap space. You'll probably be limited to somewhere between 1.5 - 2.0GB. If you have a 64-bit processor and OS, go with a 64-bit JVM and then you can get /lots/ of memory. On 7/16/07, [EMAIL PROTECTED] [EMAIL PROTECTED]

RE: About Using memory JVM and Tomcat

2007-07-16 Thread Caldarale, Charles R
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Subject: About Using memory JVM and Tomcat What the maximum value size to: We've covered this topic numerous times - search the archives. For example: http://marc.info/?l=tomcat-userm=117866698409904w=2

RE: About Using memory JVM and Tomcat

2007-07-16 Thread Asensio, Rodrigo
Also remember that for each thread created on the JVM it will create a thread on the OS. We had that problem and now our servers are running with 1408 MB of memory but with the IBM JDK 1.5. Here are some settings -Xrs -server -XX:SurvivorRatio=8 -XX:PermSize=128 -Xmn128m Initial memory 1408mb

Re: Http Header Cache-Control

2007-07-16 Thread gerocoma-forophp
Thanks Christopher, To whom it may concern, [EMAIL PROTECTED] wrote: I've apache 1.3.36 + tomcat 4 + mod_jk 3.3 Something is wrong with that mod_jk version, by the way. The most recent release of mod_jk is 1.2.23. Well, the installation file that I found in the server is named:

Re: How to deploy a web app on tomcat.. help needed plz.. :)

2007-07-16 Thread ben short
Karen, If your using maven 2 then it should be dead easy. Assuming you have maven 2 setup on your system follow the example given here [1]. This will create a war file artifact with a simple jsp and the web.xml. The last goal mvn package will create you a war file. I suggest that you give it

Re: Tomcat 5.5.x: Null component

2007-07-16 Thread Mark Thomas
hezjing wrote: I'm using Tomcat 5.5.23 Do you have log4j.jar in WEB-INF\lib ? Mark - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Tomcat6 Manager App HOW-TO

2007-07-16 Thread Mark Thomas
Caldarale, Charles R wrote: The only part that I find somewhat misleading is the following: There are two ways to configure the Manager web application Context: * Install the manager.xml context configuration file in the $CATALINA_HOME/conf/[enginename]/[hostname] folder. *

Re: Problem listing apps in manager app

2007-07-16 Thread csirus
I hit the same snag when I updated server.xml and added some Context elements for web apps I hadn't deployed yet. So, check the spelling/existence of any webapps that you explicitly name in your server.xml file. Jake Alley wrote: I'm trying to list the applications in the manager app. It