Apache2.x + Apache Tomcat5.x + mod_jk + virtual host on windows XP

2006-10-12 Thread Chezang
hi list, I have both apache and tomcat working on my windows desktop. I have also configured mod_jk successfully ( I could access the jsp-examples from http://localhost/jsp-examples). I would like to configure virtual host on apache so that i can also develop other applications in the same web s

RE: uninstalling the manager

2006-10-12 Thread Caldarale, Charles R
> From: Daniel Blumenthal [mailto:[EMAIL PROTECTED] > Subject: RE: uninstalling the manager > > Curiously, I deleted everything in tomcat/webapps other than > my own apps > > > -Original Message- > > From: David Smith [mailto:[EMAIL PROTECTED] > > Subject: Re: uninstalling the manager

RE: uninstalling the manager

2006-10-12 Thread Daniel Blumenthal
Curiously, I deleted everything in tomcat/webapps other than my own apps, restarted the server, and manager was still there. I'm guessing that the compiled version of the files are still hanging around. Removing manager.xml seems to do the trick. > -Original Message- > From: David Smi

Re: tomcat 5.5.20 build failing

2006-10-12 Thread Markus Schönhaber
Roger Hendrix at Baldor-IS wrote: > I am attempting to build tomcat 5.5.20 from source. > > I am zlinux version of SuSE 9.3 an IBM mainframe. > > I have downloaded and installed the SDK 5.0 What SDK? Sun's? Which version exactly? Regards mks

Re: CPU level is not coming back to a normal level

2006-10-12 Thread Pascal Alberty
On 10/12/06, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Pascal Alberty > Subject: CPU level is not coming back to a normal level > > When I'm testing the new servlet on my dev box, all is ok. When i'm > running the same servl

RE: CPU level is not coming back to a normal level

2006-10-12 Thread Caldarale, Charles R
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Pascal Alberty > Subject: CPU level is not coming back to a normal level > > When I'm testing the new servlet on my dev box, all is ok. When i'm > running the same servlet on the prod box, Tomcat is reaching almost 2 > x 100% CPUs

CPU level is not coming back to a normal level

2006-10-12 Thread Pascal Alberty
Prod Box is: - Debian kernel 2.6 - Bi-Xeon 3.2 Ghz - 1 GB Ram - Apache 2.0 - prefork - maxclients = 256 - keealive = false - around 300 request/sec - Tomcat 5.0 - mod_jk 1.2.18 - 512 Mb allocated. - JDK 1.5 MySQL is on another separate box. Web app is an ad server serving all requests through se

RE: tomcat 5.5.20 build failing

2006-10-12 Thread Caldarale, Charles R
> From: Roger Hendrix at Baldor-IS [mailto:[EMAIL PROTECTED] > Subject: tomcat 5.5.20 build failing > > I am attempting to build tomcat 5.5.20 from source. Why bother? Tomcat is pure Java (other than the optional APR connector), so you can use the distributed binaries on any platform. - Chuck

tomcat 5.5.20 build failing

2006-10-12 Thread Roger Hendrix at Baldor-IS
Greetings: I am attempting to build tomcat 5.5.20 from source. I am zlinux version of SuSE 9.3 an IBM mainframe. I have downloaded and installed the SDK 5.0 I have downloaded and installed apache-ant-1.6.0-77.1 I first encountered a missing file, see BUGZILLA bug number at the following: http

Question about hot deployment on Tomcat

2006-10-12 Thread ying lcs
I am reading the hot deployment on Tomcat here, http://tomcat.apache.org/tomcat-5.5-doc/deployer-howto.html#Deploying%20on%20a%20running%20Tomcat%20server And I have a few questions about the update case: 1. It said 'the Host will attempt to deploy and update web applications dynamically, as nee

RE: Large File (100MB+) Upload Issue

2006-10-12 Thread Caldarale, Charles R
> From: Stryjewski Lindsey [mailto:[EMAIL PROTECTED] > Subject: RE: Large File (100MB+) Upload Issue > > So is the general consensus that this is indeed an issue with Tomcat, > and not Apache or a system setting? I don't think anything's ruled out yet. - Chuck THIS COMMUNICATION MAY CONTAIN

RE: Large File (100MB+) Upload Issue

2006-10-12 Thread Stryjewski Lindsey
No, I said that failures were observed on production with uploads of 10-20MB (and apparently I was off by a few MB, I apologize), and that a 1.7GB upload worked on development. I was using this as data to support my thought that the code was not the issue. And besides, I was only asking to get an

Re: Large File (100MB+) Upload Issue

2006-10-12 Thread David Smith
Honestly I don't know. I'm not there. Just offering a plausable expanation -- sometime I get lucky and hit the nail on the head. To be fair, your original post stated failures were being observed with uploads of 10-20MB while a 1.7MB worked. You might want to take a look at your logs though.

RE: Large File (100MB+) Upload Issue

2006-10-12 Thread Stryjewski Lindsey
The .xml files on production are significantly more complex... Something would not necessarily jump out at me immediately, which is why I was wondering if anyone else had this experience :) I've been going through them manually though, just in case I get lucky. I should mention too that nothing a

Re: JNI native libraries and Tomcat reloading web-apps

2006-10-12 Thread Luis Rivera
Hi Eric, I have a JNI application also and I followed the advise from the Tomcat documentation, where they suggest that the class that loads the dll's or so's libraries are placed either in the shared/classes directory or the common/classes directory. I do it in the shared/classes directory. I

RE: Large File (100MB+) Upload Issue

2006-10-12 Thread Caldarale, Charles R
> From: Stryjewski Lindsey [mailto:[EMAIL PROTECTED] > Subject: RE: Large File (100MB+) Upload Issue > > If this were the issue, why would a 22MB file (which I just > tested) work just fine? If the maxPostSize is being exceeded, there should be a log entry indicating such. Have you checked the

RE: Large File (100MB+) Upload Issue

2006-10-12 Thread Stryjewski Lindsey
My understanding is that disableUploadTimeout defaults to "true" . Regards, Lindsey -Original Message- From: Nail, Evan Burke [mailto:[EMAIL PROTECTED] Sent: Thursday, October 12, 2006 2:34 PM To: Tomcat Users List Subject: RE: Large File (100MB+) Upload Issue I know I had some issue

RE: Large File (100MB+) Upload Issue

2006-10-12 Thread Stryjewski Lindsey
If this were the issue, why would a 22MB file (which I just tested) work just fine? Regards, Lindsey -Original Message- From: David Smith [mailto:[EMAIL PROTECTED] Sent: Thursday, October 12, 2006 3:20 PM To: Tomcat Users List Subject: Re: Large File (100MB+) Upload Issue Might want t

RE: Large File (100MB+) Upload Issue

2006-10-12 Thread Stryjewski Lindsey
Just to clarify, the upload "completed" insofar as the temp file (named "upload_#.tmp") finished... The action class is then supposed to call the appropriate method which writes the file to the appropriate storage directory, but this never happens. Regards, Lindsey -Original Message

Re: Large File (100MB+) Upload Issue

2006-10-12 Thread David Smith
Might want to take a look at http://tomcat.apache.org/tomcat-5.5-doc/config/http.html. Specifically setting the maxPostSize attribute of your connector in server.xml. As you can see from the docs, the default is about 2MB. --David >-Original Message- >From: Stryjewski Lindsey [mailto:[

RE: Large File (100MB+) Upload Issue

2006-10-12 Thread Caldarale, Charles R
> From: Martin Gainty [mailto:[EMAIL PROTECTED] > Subject: Re: Large File (100MB+) Upload Issue > > go to your server.xml > for your non-SSL HTTP/1.1 Connector on port 8080 connector in > server.xml set > > disableUploadTimeout="false" Doing so forces the connector to use a massaged connectio

RE: Problem with HttpSessionListener

2006-10-12 Thread Caldarale, Charles R
> From: Martin Gainty [mailto:[EMAIL PROTECTED] > Subject: Re: Problem with HttpSessionListener > > Session information is scoped only to the current web > application (ServletContext), so information stored in one > context will not be directly visible in another. No one was asking for cross

Re: Problem with HttpSessionListener

2006-10-12 Thread Martin Gainty
Juan- Session information is scoped only to the current web application (ServletContext), so information stored in one context will not be directly visible in another. the proper way to access your webapps info is getServletContext() to get the context first..once you have YOUR webapps conte

Re: Large File (100MB+) Upload Issue

2006-10-12 Thread Martin Gainty
go to your server.xml for your non-SSL HTTP/1.1 Connector on port 8080 connector in server.xml set disableUploadTimeout="false" HTH Martin -- This e-mail communication and any attachments may contain confidential and privileged information for the use of the designated recipients named above.

Re: Large File (100MB+) Upload Issue

2006-10-12 Thread tony81chi
Let me run through it one more time and try to identify some specific problems then i will get back to you. Strut is similar to JSF i believe so we could be in the same boat Regards

RE: Large File (100MB+) Upload Issue

2006-10-12 Thread Nail, Evan Burke
I know I had some issues like this once that related to ssl. My dev server worked fine but when I got under https it timedout. Man I can't remember what config we changed, but you can try the disabletimeoutonupload setting in server.xml for either your 80 or 443 connector. Otherwise google on

Large File (100MB+) Upload Issue

2006-10-12 Thread Stryjewski Lindsey
Hello, We are experiencing a problem uploading large files through our web portal. We seem to have problems once the file gets to be 10-20MB. The file I am currently trying is 100MB. When the user submits via the web form, the file appears to upload to a Tomcat temp file. This upload compl

RE: JspC precompilation dilemma

2006-10-12 Thread Karen Koch
Never mind -- solved this by leaving the JSP & java files in the build directory after processing them in chunks with the forked java processes, and then calling JSPC one more time using the taskdef. Previously completed steps are not repeated, so essentially, the taskdef invocation just sees that

RE: Tomcat using MS SQL2000 Named Instance

2006-10-12 Thread Karen Koch
Odd -- works for me using the double backslash just fine... You do seem to missing "microsoft:" in the beginning of the connection string, not sure if that's a typo or not. Mine began "jdbc:microsoft:sqlserver:" etc. Did not have to mess with the port numbers (this was one of the things that I

Re: [***Probable Spam***] RE: Tomcat using MS SQL2000 Named Instance

2006-10-12 Thread johnny
Dan: Try this: http://support.microsoft.com/kb/313225 Good luck, Johnny "Dan Decker" <[EMAIL PROTECTED]> 10/12/2006 12:57 PM Please respond to "Tomcat Users List" To "'Tomcat Users List'" cc <[EMAIL PROTECTED]> Subject [***Probable Spam***] RE: Tomcat using MS SQL2000 Named Instance

Re: v5.5.x default context support outside of server.xml

2006-10-12 Thread Gregor Schneider
It also worked for me: - putting context.xml to webpass/YOUR_WEPAPP/META-INF - pack your web-app as ROOT.war - deploy it Tomcat will copy your context.xml from META-INF to conf/[engine]/[host]/ROOT.xml Cheers Greg PS.: tomcat 5.5.17 -- what's puzzlin' you, is the nature of my game

RE: jvm thread dump

2006-10-12 Thread Caldarale, Charles R
> From: Rizwan Merchant [mailto:[EMAIL PROTECTED] > Subject: Re: jvm thread dump > > # > # Configure the logger to output info level messages into a rolling log file. > # > #log4j.rootLogger=INFO, R > > # > # To continue using the "catalina.out" file (which grows forever), > # comment out the ab

Re: jvm thread dump

2006-10-12 Thread Christopher Schultz
Riz, > But I am seeing the same log messages (info level from the application) > being dumped into catalina.out, so these are definitely not System.out > logs. You must have an appender that is using stdout or stderr as its destination. Check out your log4j configuration. > I do have a log4j.pro

Re: v5.5.x default context support outside of server.xml

2006-10-12 Thread Jon Wilmoth
Thanks. I renamed my stand-alone context definition conf/[engine]/[host]/ROOT.xml and it worked. FYI...I've asked the developer list about the possibility of respecting the empty string path attribute value regardless of where the context is defined and/or update the documentation to captur

Re: jvm thread dump

2006-10-12 Thread Rizwan Merchant
Chris, I cant thank you enough for all your help. If only there was a rating system on this forum! ;) thing is, I am not using ant System.out commands in my app. I have log4j set up in the app which is logging to a different log file that rolls nightly. But I am seeing the same log messages

RE: Tomcat using MS SQL2000 Named Instance

2006-10-12 Thread Dan Decker
Peter - Thanks. I want to try it. I do not know how to find the port number the named instance is listening on. Do you know how to find what its number is? Dan Decker Microsoft Dynamics GP Developer www.Business-Computers.com (303)499-2039 -Original Message- From: Peter Ries [mailt

RE: Tomcat using MS SQL2000 Named Instance

2006-10-12 Thread Dan Decker
It does not work when I use \\GP90. I tried the following and it works on the default instance. jdbc:sqlserver://KEYSTONE:1433;databaseName=TWO To determine if it is using the port #, I changed the port to 1430 and it no longer worked for the default instance. This tells me it is looking at the

RE: Session count in tomcat manager

2006-10-12 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:[EMAIL PROTECTED] > Subject: Re: Session count in tomcat manager > > When you shut down Tomcat, I believe the default is to > write session information out to a saved-sessions file. > When you start Tomcat back up, it reads this file so that > any active sessi

run php & jsp on the same server

2006-10-12 Thread neugi
Hi, is there a way to configure tomecat to run also like php on port 80, or let them run together on the same virtual server? best

RE: v5.5.x default context support outside of server.xml

2006-10-12 Thread Caldarale, Charles R
> From: Jon Wilmoth [mailto:[EMAIL PROTECTED] > Subject: v5.5.x default context support outside of server.xml > > There seems to be some conflict between different sections > of the context config documentation that leads me to believe > it's not possible to specify a default virtual host's conte

Re: Session count in tomcat manager

2006-10-12 Thread Christopher Schultz
Riz, > I noticed that when I restart the tomcat server the "Active Sessions" > count for one of the applications remains the same as it was before > the server was shut down. Does this make sense? When you shut down Tomcat, I believe the default is to write session information out to a saved-sess

v5.5.x default context support outside of server.xml

2006-10-12 Thread Jon Wilmoth
I've tried unsuccessfully to deploy my webapp as the default context for my host using a context defined outside of the server.xml (individual files (with a ".xml" extension) in the $CATALINA_HOME/conf/[enginename]/[hostname]/ directory) as strongly recommended in http://tomcat.apache.org/tomca

RE: Tomcat using MS SQL2000 Named Instance

2006-10-12 Thread Peter Ries
Dan, Have you tried using the server name of Keystone and specifying the unique port number the named instance is listening on? I believe that should work. I think that would be something like this: jdbc:sqlserver://KEYSTONE:;databaseName=TWO ...where you replace with the port number.

Re: jvm thread dump

2006-10-12 Thread Christopher Schultz
Riz, > Quick question, when you look at a thread dump, how do you tell which > threads are idle? Idle threads are ones that are not handling any requests. That seems kind of self-explanatory, but you have to understand what those threads are doing when they are not doing anything else: they are w

Re: uninstalling the manager

2006-10-12 Thread David Smith
Simple version = delete manager.xml in conf/Catalina/localhost. manager itself is located in server/webapps --David Daniel Blumenthal wrote: >I'd like to get rid of the manager webapp, but it isn't clear where it's >located. What's the best way to delete it? >Thanks! >Daniel > > > ---

uninstalling the manager

2006-10-12 Thread Daniel Blumenthal
I'd like to get rid of the manager webapp, but it isn't clear where it's located. What's the best way to delete it? Thanks! Daniel

Re: jvm thread dump

2006-10-12 Thread Rizwan Merchant
Thanks Chris. You have been very helpful. I will implement your recommendations and see what happens. Quick question, when you look at a thread dump, how do you tell which threads are idle? Also, any inputs on my other postings regarding the session count and catalina.out logging? http://m

Higher level context

2006-10-12 Thread garcia
Hi all, I'm trying to create some kind of customized Manager for my web apps but I can't find out how to. When I use ServletContext I get only the openned sessions for the current app. How can I get an higher level context than ServletContext in a way that gives me all web apps running

RE: Tomcat using MS SQL2000 Named Instance

2006-10-12 Thread Karen Koch
Try this: jdbc:microsoft:sqlserver://KEYSTONE\\GP90:1433;SelectMethod=cursor;DatabaseN ame=TWO Note the double backslash before the instance name. Struggled with this briefly myself recently -- the answer was in the PDF help file for the JDBC driver. Karen Koch -Original Message- From:

RE: stopping jk connector threads

2006-10-12 Thread Enrique Arce
Forgot to mention that we're running Tomcat 5.5.4 on Solaris 8 with iPlanet 6 as the webserver thanks! > _ > From: Enrique Arce > Sent: Tuesday, October 10, 2006 2:41 PM > To: 'users@tomcat.apache.org' > Subject: stopping jk connector

Re: Tomcat using MS SQL2000 Named Instance

2006-10-12 Thread johnny
Dan: It may be related to which JDBC driver you're using. I've never had much success using the Microsoft SQL JDBC driver to connect to a named instance by using the instance name. I've only been able to connect by finding out which port the instance is using, and specifying that in the conne

Re: JDBC Pool exhaustion

2006-10-12 Thread David Smith
Under the covers, tomcat does use DBCP , but refractors the package name to avoid collisions with the real DBCP package. --David Mikolaj Rydzewski wrote: Christopher Schultz wrote: From your DataSource configuration, it looks like you are using the Oracle driver directly. Does that have built

Re: JDBC Pool exhaustion

2006-10-12 Thread Mikolaj Rydzewski
Mikolaj Rydzewski wrote: But, reading the config for the second time I can not find any references to dbcp classes! Just DataSource interface and jdbc driver class name. So - does this configuration uses connection pooling (how could it be?) I'll answer to my question ;-) Quoting DBCP wiki: "

Re: JDBC Pool exhaustion

2006-10-12 Thread Mikolaj Rydzewski
Christopher Schultz wrote: From your DataSource configuration, it looks like you are using the Oracle driver directly. Does that have built-in pooling? The original problem is solved, but I'm a little confused now. Posted configuration was exactly the same like the examples on Tomcat website:

Re: subdirectories of WEB-INF/lib

2006-10-12 Thread Micah Wedemeyer
Caldarale, Charles R wrote: From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Subject: RE: subdirectories of WEB-INF/lib Is it possible to place .jar files in subdirectories of WEB-INF/lib? Yes. Sorry, that's an incomplete answer. Any jars not directly in WEB-INF/lib would have to be

Re: JDBC Pool exhaustion

2006-10-12 Thread Pascal Alberty
On 10/12/06, DE VINZELLES, Guillaume (ext.) <[EMAIL PROTECTED]> wrote: Hello, One of our connections wasn't properly closed, as you said. You fixed the problem and now everything is running fine. Great ! "Un grand classique" ;-) Pascal ---

RE: tomat5 / sticky sessions / missing route?

2006-10-12 Thread Ashley Hayes
Glad to be of some help. Regarding my issue, I posted this last week, I you have any points I'd appreciate it!: Hi all, We use tomcat's formbased authentication (post to /j_security_check), the bases of which is a HTTP 302 redirect on success. We have a problem because tomcat/mod jk is iss

Re: tomat5 / sticky sessions / missing route?

2006-10-12 Thread Daniel Eckstein
Hi, thanks for the reply. Ive tested with jvmRoute and it does work now! Thanks alot! It seems that the string you configure for jvmRoute is appended to the sessionid by tomcat once he sends it back to apache. I have an outstanding problem with tomcat redirects using the full URL of the int

Re: Tomcat Embedded and Server.xml

2006-10-12 Thread Andre Prasetya
Hi Miguel, I m using tomcat embedded but i still use server.xml too -Andre- On 10/10/06, Miguel Correia Ricardo <[EMAIL PROTECTED]> wrote: Hello, I'm having a doubt that is bugging me. And I need to solve it also. Everywhere I look, it says that by using Tomcat Embedded I don't need the serv

RE: tomat5 / sticky sessions / missing route?

2006-10-12 Thread Ashley Hayes
Hi Daniel, I recently setup some similar architecture and documentation for tomcat mod-jk integration with proper sticky sessions is very poor. I am not that familiar with the jk logs but do know I had to do the following to get sticky sessions to work: Think your problem may be with only

context.xml problem

2006-10-12 Thread Andre Prasetya
Hi I have problem with my context.xml, please tell me what I have done wrong factory org.apache.commons.dbcp.BasicDataSourceFactory url jdbc:mysql://**/comium

RE: JDBC Pool exhaustion

2006-10-12 Thread DE VINZELLES, Guillaume \(ext.\)
Hello, One of our connections wasn't properly closed, as you said. You fixed the problem and now everything is running fine. Thanks to all the people who answered for your help! Guillaume de Vinzelles DSI/PFS Neuf Cegetel Altran Technologies [EMAIL PROTECTED] 01 70 18 21 64 -Message d'o

tomat5 / sticky sessions / missing route?

2006-10-12 Thread Daniel Eckstein
Dear listmember, Ive searched the docs and the web and couldnt find an answer to the following: The setup is like 2 apaches are connecting to 2 tomcats crosswise, apache1 to tomcat1/tomcat2 and apache2 to tomcat1/tomcat2 by using workers.java_home=/usr/bin/java ps=/ worker.list=lb,jkstatus

Re: Tomcat 5.5.17: context.xml-mysteries

2006-10-12 Thread Gregor Schneider
Hi Richard, thanks for removig the tomatoes... Cheers Greg -- what's puzzlin' you, is the nature of my game