RE: tomcat 5.5.15 jk1.2.15 connector problem apache 2.0.55

2006-01-26 Thread Carpentier Luc (Uniway)
Ok, My mistake. I mixed the examples in the source file the wrong way. But now it gives me the same error as when I try to configure it without load balancer: [Fri Jan 27 08:24:52 2006] [1532:3412] [debug] jk_uri_worker_map.c (475): Found a wildchar match wlb -> /*.jsp [Fri Jan 27 08:24:52 2006]

Re: APR Connector Shutdown Problem

2006-01-26 Thread Mladen Turk
Fenlason, Josh wrote: I'm running into a problem with the APR connector not shutting down properly. Tomcat runs fine and there are no errors on shutdown, but if I shut Tomcat down and start it up again I get a socket bind failed error in the catalina log (attached). I have to wait for several

Re: tomcat 5.5.15 jk1.2.15 connector problem apache 2.0.55

2006-01-26 Thread Mladen Turk
Carpentier Luc (Uniway) wrote: I even found contradictory information. In the docs it states that the workers should not be defined in the workers.list when you are using load balancing, but in the examples I found on the internet, they were defined in the workers.list (and yes I tried it but it

tomcat 5.5.15 jk1.2.15 connector problem apache 2.0.55

2006-01-26 Thread Carpentier Luc (Uniway)
Hello, I am using the jk1.2.15 connector to connect the apache 2.0.55 webserver to tomcat 5.5.15 on a windows 2003 server. However, I am not getting any luck with the connector. I googled for hours on the internet, but nothing that matches. I even found contradictory information. In the docs it s

Features comparisons for Tomcat (was Re: From Java to C#, ASP.NET [Off Topic])

2006-01-26 Thread Richard Schilling
It's kind of nice to see this discussion on this board, because it can serve as a way for Tomcat developers to think about what features really help and what features don't. I'm going to avoid M$ bashing cause it's not productive, but I think it's wise to look at the effect "creature features"

Tomcat Manager behaviour difference between 5.0 and 5.5

2006-01-26 Thread Grandy Fu
Hi All, I had setup Tomcat 5.0.x in a school environment for students to write their servlet programs. With and some little scripts that make use of tomcat manager, all students can deploy/undeploy/reload their own application at their will. Recently, I was going to upgrade our Tomcat ser

Re: From Java to C#, ASP.NET (Back to Java)

2006-01-26 Thread Martin Gainty
Michael- Did you you want a DOM, JAXP or SAX Parser in which case you should try? http://xerces.apache.org/xerces2-j/ If you want to do XSLT Transformations and XPath traversals try Xalan http://xml.apache.org/xalan-j/ Last time I heard microsofts MSXML parser only supported DOM and didnt suppo

RE: How can I take a webapp "temporarily out of service" using mod_jk?

2006-01-26 Thread Prout John - jprout
Will mod_jk3 implement the AJPv13 Extension Protocol? That's what would best meet my requirements. What's behind my questions is that there's a short outage when I deploy a webapp on JBoss, particularly using "farm" deployment, where JBoss has to copy the war to all the machines in the cluster. I

Re: From Java to C#, ASP.NET [Off Topic]

2006-01-26 Thread Michael Scano
Hey Tony, Thanks for sharing your experiences with .NET. I appreciate your candor and taking the time. One thing I didn't see you mention in the core support for XML. Do you know how much of an advantage this is compared to the the way in which Java works with XML. BTW, I visited the dotnet teams

Weirdness in IIS log file - Tomcat serving up JSF pages

2006-01-26 Thread David Thielen
Hi; I have requests that are not getting logged. My setup is IIS 6.0 and tomcat where tomcat is called from IIS via an ISAPI filter. What the below log shows is: 1) /store/pages/demo.faces is requested. This is a JSF page served from Tomcat 2) demo.faces has includes for windward.css and wind

Re: send a csv file from tomcat?

2006-01-26 Thread Christopher Molnar
Thanks - works perfectly. -Chris On Jan 26, 2006, at 6:04 PM, Tim Lucia wrote: Here's how I've done it from a .jsp: <% response.reset();response.setContentType("text/comma-separated- values; charset=UTF-8");response.setHeader("Content- disposition","attachment;filenam e=csvoutput.csv");%>

Re: Concurrently running tomcat and JBoss

2006-01-26 Thread Markus Schönhaber
Khawaja Shams wrote: > has anyone had any luck in concurrently running two instance of tomcat > together? Yes. > What about an instance of JBoss and a stand alone tomcat? The > reason why I need to do this is that some of the applications are > conflicting with each other and cannot run tog

Concurrently running tomcat and JBoss

2006-01-26 Thread Khawaja Shams
Hello, has anyone had any luck in concurrently running two instance of tomcat together? What about an instance of JBoss and a stand alone tomcat? The reason why I need to do this is that some of the applications are conflicting with each other and cannot run together in JBoss. Since JBoss is

RE: send a csv file from tomcat?

2006-01-26 Thread Tim Lucia
Here's how I've done it from a .jsp: <% response.reset();response.setContentType("text/comma-separated-values; charset=UTF-8");response.setHeader("Content-disposition","attachment;filenam e=csvoutput.csv");%> Skip the response.reset() if running from inside a servlet... Tim -Original Me

send a csv file from tomcat?

2006-01-26 Thread Christopher Molnar
Can anyone tell me how to send a stream as a CSV (comma seperated file) rather than as an HTML page? I curently am sending the data as a Response. Thanks, -Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: tomcat logging from startup.bat

2006-01-26 Thread David Durham
David Durham wrote: Hi- I'm using apache-tomcat-5.5.15 that I downloaded about 15 minutes ago. My installation is just to unzip to a directory, and run startup.bat. Strangely, the logger is set to debug somehow. The end the startup script because of a ton of digester DEBUG log statements g

tomcat logging from startup.bat

2006-01-26 Thread David Durham
Hi- I'm using apache-tomcat-5.5.15 that I downloaded about 15 minutes ago. My installation is just to unzip to a directory, and run startup.bat. Strangely, the logger is set to debug somehow. The end the startup script because of a ton of digester DEBUG log statements going to the console.

RE: APR Connector Shutdown Problem

2006-01-26 Thread Fenlason, Josh
I'm specifically trying to get the APR connector to work. Thanks though. I'm blind. There is a log entry for "AjpAprProtocol destroy." Unfortunately, it still isn't shutting down properly. , Josh. > -Original Message- > From: Mike Sabroff [mailto:[EMAIL PROTECTED] > Sent: Thursday, Jan

RE: mod_jk configuration directives in VirtualHost sections

2006-01-26 Thread Jonathan Woods
Dan - Thanks very much for all this - looks like it should work with mod_jk too! I'll let you know how I get on. Jon -Original Message- From: Didier McGillis [mailto:[EMAIL PROTECTED] Sent: 26 January 2006 19:32 To: users@tomcat.apache.org Subject: RE: mod_jk configuration directives in

Re: APR Connector Shutdown Problem

2006-01-26 Thread Mike Sabroff
Try switching to a ajp1.3 connector - "cyote" if you can...AJP are fairly new and problematic from what I have seen and heard Fenlason, Josh wrote: I'm running into a problem with the APR connector not shutting down properly. Tomcat runs fine and there are no errors on shutdown, but if I shut

APR Connector Shutdown Problem

2006-01-26 Thread Fenlason, Josh
Title: Message I'm running into a problem with the APR connector not shutting down properly.  Tomcat runs fine and there are no errors on shutdown, but if I shut Tomcat down and start it up again I get a socket bind failed error in the catalina log (attached).  I have to wait for several min

Re: mod_jk / 503 Error

2006-01-26 Thread David Smith
The clue here is you can hit http://www.site.com:8009/examples with a browser. Your connector for port 8009 may not be properly configured to use the AJP 1.3 protocol. It should look similar to this in server.xml: --David Mike Sabroff wrote: > So what makes you think you are not using localh

Re: How do I stop tomcat when the port is in use

2006-01-26 Thread Mike Sabroff
kill -9 (unix) task manager (windows) Shankar Unni wrote: Koneru, Narendra wrote: When the port that I specify to start tomcat is in use, then I want tomcat to go down after printing a message. What I observed is that tomcat prints the message on the screen that there is a bind exception but t

Re: How do I stop tomcat when the port is in use

2006-01-26 Thread Shankar Unni
Koneru, Narendra wrote: When the port that I specify to start tomcat is in use, then I want tomcat to go down after printing a message. What I observed is that tomcat prints the message on the screen that there is a bind exception but tomcat server does not go down. Do you have some servlet m

Re: tomcat 5.5.15 - does JULI required a host tag defined realm?

2006-01-26 Thread Boris Unckel
Hi, I will try to fix this. Please post a bugzilla record with here at Apache (please post the id in this thread). Another good place for this special bug is http://developer.berlios.de/bugs/?group_id=5430 of x4juli - http://www.x4juli.org which will suffer from the same problem (I have to chec

Re: Multiple HTTP GET from MS Word/Excel hyperlink

2006-01-26 Thread Wade Chandler
--- Andrew Chapman <[EMAIL PROTECTED]> wrote: > Whilst investigating a strange bug some of our > customers were experiencing > using links in Excel to our web application I > discovered that the root of it > was this strange behaviour in Excel. > > After monitoring the http requests I discovered

Re: Problem in tomcat configuration...

2006-01-26 Thread Mike Sabroff
"module not included in the server configuration"this is the key mod_jk is a third party module and is not in the apache distribution. It must be downloaded and compiled. Best way is to compile it into the apache executable. You will have to go to the tomcat docs and maybe google to find info

Re: How do I stop tomcat when the port is in use

2006-01-26 Thread Glen Mazza
Koneru, Narendra wrote: Hi, When the port that I specify to start tomcat is in use, then I want tomcat to go down after printing a message. What I observed is that tomcat prints the message on the screen that there is a bind exception but tomcat server does not go down. How do make sure that to

Document Base on Network Drive

2006-01-26 Thread Nigel Jewell
Dear all, To start, I am using Tomcat 5.5.12 on Windows XP Pro. I've been trying to configure Tomcat to read a document base on a network drive. However, I am seeing in the logs the error: java.lang.IllegalArgumentException: Document base M:\workspace\ir8\web does not exist or is not readab

Re: mod_jk / 503 Error

2006-01-26 Thread Mike Sabroff
So what makes you think you are not using localhost? Neal Whitley wrote: I have mod_jk / tomcat and apache somewhat working together but I am getting an error when displaying pages via the connector. Tomcat is set up and works. I can hit: http://www.site.com:8080/examples/ or http://www.site.

RE: tomcat 5.5.15 - does JULI required a host tag defined realm?

2006-01-26 Thread Raymond, Craig (US SSA)
Boris, I tried your logging.properties with the addition of the .handlers to no effect. On one of the other servers (where we use a custom realm) I moved the realm into the ROOT.xml file - same affect (e.g. file created, but log info goes to catalina.date.log). Perhaps it's a "feature". :-) > -

Re: help to solve 'OutOfMemoryError'

2006-01-26 Thread Aparna_Maddireddy
Hi, I don't have any idea about the Linux environment. But, I got a OutOfMemoryError due to permgen space on windows/Tomcat5.0.30 environment and this is what I have done. set CATALINA_OPTS in catalina.bat if Tomcat is started using startup.bat set CATALINA_OPTS=-Xms128m -Xmx512m -XX:MaxPer

How do I stop tomcat when the port is in use

2006-01-26 Thread Koneru, Narendra
Hi, When the port that I specify to start tomcat is in use, then I want tomcat to go down after printing a message. What I observed is that tomcat prints the message on the screen that there is a bind exception but tomcat server does not go down. How do make sure that tomcat goes down after realiz

code in webapps vs outside of tomcat

2006-01-26 Thread Didier McGillis
Just a curiosity any performance issues in storing the project outside of the tomcat webapps directory? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: mod_jk configuration directives in VirtualHost sections

2006-01-26 Thread Didier McGillis
I did mod_jk2 with Virtual Host, and while its not the same I think that doing VH will not be a problem once you get an idea of how it should/can be setup. THIS IS PSEUDO, DO NOT TAKE AS GOSPEL TRUTH !!! NO SUPPORT! :p -- workers.properties file -- # Setting Tomcat & Java Home

Re: tomcat 5.5.15 - does JULI required a host tag defined realm?

2006-01-26 Thread Boris Unckel
Hello Craig, Raymond, Craig (US SSA) wrote: The logging.properties files are clones of the example at the bottom of the Tomcat 5.5 docs logging.htm page, with the exception of the ..FileHandler.prefix being changed. They reside as below for all three servers (where ServerRootDir is different fo

RE: Tomcat and mod_jk question on Red Hat 9

2006-01-26 Thread Jonathan Woods
Sorry, Adrian - out of ideas, and Googling around for the error messages doesn't help much. I would certainly try updating mod_jk to the latest version, or recompiling from the version shipped with whichever Tomcat distribution you're using, all the while keeping your fingers crossed! However, it

RE: moving from tomcat 5.0.24 to 5.5.15, haviing problems with root app

2006-01-26 Thread Caldarale, Charles R
> From: Randy Paries [mailto:[EMAIL PROTECTED] > Subject: moving from tomcat 5.0.24 to 5.5.15, haviing > problems with root app > > my server.xml is pretty as left as is (will inlcude if requested) There are differences between 5.0 and 5.5 - make sure you read the docs and look at the comments

RE: moving from tomcat 5.0.24 to 5.5.15, haviing problems with root app

2006-01-26 Thread George Sexton
Rename unitnet.xml to ROOT.xml George Sexton MH Software, Inc. http://www.mhsoftware.com/ Voice: 303 438 9585 > -Original Message- > From: Randy Paries [mailto:[EMAIL PROTECTED] > Sent: Thursday, January 26, 2006 12:03 PM > To: users@tomcat.apache.org > Subject: moving from tomcat 5.0

Re: moving from tomcat 5.0.24 to 5.5.15, haviing problems with root app

2006-01-26 Thread Randy Paries
More info:: when i go to Tomcat Web Application Manager my app is listed as Path /unitnet and it used to be listed / Thanks Randy On 1/26/06, Randy Paries <[EMAIL PROTECTED]> wrote: > Hello, > I have been running 5.0.24 forever and it has been running fine, so i > have not touched it > > I n

moving from tomcat 5.0.24 to 5.5.15, haviing problems with root app

2006-01-26 Thread Randy Paries
Hello, I have been running 5.0.24 forever and it has been running fine, so i have not touched it I need to upgrade to 5.5.15 I got to be missing something simple. my server.xml is pretty as left as is (will inlcude if requested) then in /usr/java/jakarta-tomcat/conf/Catalina/localhost i have 3

GetRemoteUser() = null with apache 2.2 (not with 1.3)

2006-01-26 Thread Emmanuel.Leguy
Hello, I've just found this message, with no solution, in the archive: http://marc.theaimsgroup.com/?l=tomcat-user&m=105163335014996&w=2 It is exactly my problem: I use apache authentification (basic) and the remote_user variable is passing to tomcat. In a struts action i can get the variable

Session timeouts

2006-01-26 Thread Martin Dubuc
I am having some problems with session timeouts. I set the session-timeout property to 15 minutes in the Tomcat global web.xml and also in my application web.xml. However, Tomcat is not always timing out when sessions are inactive more than 15 minutes. On some systems, it behaves as I expect. W

Re: help to solve 'OutOfMemoryError'

2006-01-26 Thread Leon Rosenberg
Could you please provide a little more details, on what kind of program you are doing, how you are starting it right now, and how is tomcat involved? generally -Xmx128m -Xmx256m, are parameters to java call, besides you can't have two different values for the same parameter! (I think the first on

Multiple HTTP GET from MS Word/Excel hyperlink

2006-01-26 Thread Andrew Chapman
Whilst investigating a strange bug some of our customers were experiencing using links in Excel to our web application I discovered that the root of it was this strange behaviour in Excel. After monitoring the http requests I discovered that clicking a hyperlink in Excel creates the following mult

Re: Tomcat and mod_jk question on Red Hat 9

2006-01-26 Thread Adrian Nadeau
Thanks for the information... In our mod_jk log we have the following showing up: [Wed Jan 25 13:21:33 2006] [jk_ajp_common.c (1401)]: ERROR: Receiving from tomcat failed, recoverable operation. err=1 [Wed Jan 25 13:21:33 2006] [jk_ajp_common.c (836)]: ajp_connection_tcp_get_message: Error -

RE: tomcat 5.5.15 - does JULI required a host tag defined realm?

2006-01-26 Thread Raymond, Craig (US SSA)
The logging.properties files are clones of the example at the bottom of the Tomcat 5.5 docs logging.htm page, with the exception of the ..FileHandler.prefix being changed. They reside as below for all three servers (where ServerRootDir is different for each server): F:/InetPub/ServerRootDir/WEB-I

RE: help to solve 'OutOfMemoryError'

2006-01-26 Thread Aparna Ramakrishnan
Hi, Thanks for the link. When i start my program, the Runtime Maximum Heap Size is 66650112 bytes ~=64MB. I believe I should increase this value to atleast 256 MB. But how do I go about doing this? I understand that I need to add an option -Xmx128m -Xmx256m, but to what and how! Kindl

RE: Tomcat and mod_jk question on Red Hat 9

2006-01-26 Thread Jonathan Woods
Adrian - I haven't met this problem, but a few things occurred to me after reading your message: 1. Don't forgot you could probably (depending on your config) always use mod_proxy instead of mod_jk, just as a temporary measure. 2. Sometimes browsers are set to have only 2 or 3 concurrent conne

Re: tomcat 5.5.15 - does JULI required a host tag defined realm?

2006-01-26 Thread Boris Unckel
Hello Craig, > In the server.xml are three s defined, two of which have a realm > defined in the host tag. The third has the realm defined in its > ROOT.xml context tag. Each has a logging.properties file in its > WEB-INF/classes directory. Good, best chance to have individual logging for same l

Re: From Java to C#, ASP.NET [Off Topic]

2006-01-26 Thread Wade Chandler
--- Tony LaPaso <[EMAIL PROTECTED]> wrote: > Certainly -- $5,000 and it's yours! > -- > Tony LaPaso > > > > - Original Message - > From: "Leon Rosenberg" > <[EMAIL PROTECTED]> > To: "Tomcat Users List" > Sent: Wednesday, January 25, 2006 4:00 AM > Subject: Re: From Java to C#, ASP.NET

Tomcat and mod_jk question on Red Hat 9

2006-01-26 Thread Adrian Nadeau
Hello, We recently setup mod_jk on a server running Red Hat 9. We are having some odd problems with the new setup. For some reason, everything works fine for the first 2 clicks when testing the process (running the examples webapp thru Apache 2.0.40). However, when we click something (anyt

RE: help to solve 'OutOfMemoryError'

2006-01-26 Thread Caldarale, Charles R
> From: Aparna Ramakrishnan [mailto:[EMAIL PROTECTED] > Subject: help to solve 'OutOfMemoryError' > > What changes do I need to make to avoid this > OutOfMemoryError? The question is too generic for anyone to provide a concrete answer. Start here: http://tomcat.apache.org/faq/memory.html Do so

tomcat 5.5.15 - does JULI required a host tag defined realm?

2006-01-26 Thread Raymond, Craig (US SSA)
I am in the middle of converting a web server from Tomcat 5.0.25 to 5.5.15, and I am using JULI. In the server.xml are three s defined, two of which have a realm defined in the host tag. The third has the realm defined in its ROOT.xml context tag. Each has a logging.properties file in its WEB

RE: Sharing classes between applications

2006-01-26 Thread Caldarale, Charles R
> From: news [mailto:[EMAIL PROTECTED] On Behalf Of Danny Lee > Subject: Sharing classes between applications > > Well, what do you think, is this a good idea, to share the > classes and if yes, how can I do it :) Unless the two apps actually need to share data, don't do it. You end up introdu

Sharing classes between applications

2006-01-26 Thread Danny Lee
Hi guys, I have a general question about sharing classes between two WebApps in Tomcat. In my case I have a Shop app and an now a new Admin app, which really can use lot of stuff allready implemented in the Shop. Of course copy-paste do work, but I supose copying-pasting after each update ma

Re: FarmDeployer - removing webapp on deploy?

2006-01-26 Thread Julie McCabe
Hello, Thanks for the help ... I have got this working now ... the problem was that another web app deployed in the nodes was blocking for session data as part of the server startup. I noticed that the war file was in fact getting copied from the master node to the other nodes but to the war-t

Re: Memory leaking on [un|re]load: WebappClassLoader isn't GC'ed

2006-01-26 Thread Davide Romanini
Il giorno gio, 26/01/2006 alle 06.23 -0500, Kevan Miller ha scritto: > Davide, > If you're using Axis, you might be interested in two Axis issues that > I uncovered. They both caused ClassLoader memory leaks within > Geronimo. The problems are described here: > http://issues.apache.org/jira/br

Re: FarmDeployer - removing webapp on deploy?

2006-01-26 Thread Julie McCabe
Hello Peter, I set the deployDir to the webapps directory in all the nodes - I still get the same log message and the webapp is only deployed to the master node and not to all the other nodes? Thanks, Julie. On Thursday 26 Jan 2006 11:33, Peter Rossbach wrote: > Please, set the deployDir to y

Re: FarmDeployer - removing webapp on deploy?

2006-01-26 Thread Peter Rossbach
Please, set the deployDir to your webapps dir. Peter Am 26.01.2006 um 11:55 schrieb Julie McCabe: Hello Peter, My deploy dir is $CATALINA_HOME/war-deploy it is not the webapps directory. The temp, deploy and watch directories are all read/writeable. I added the logging in the conf dir but

Re: Memory leaking on [un|re]load: WebappClassLoader isn't GC'ed

2006-01-26 Thread Kevan Miller
On Jan 26, 2006, at 4:28 AM, Davide Romanini wrote: Il giorno mer, 25/01/2006 alle 11.12 -0800, Wade Chandler ha scritto: Don't use shared libraries and you shouldn't have this problem. If all of the statics are in your WEB-INF directory then you won't have an issue with unloading classes an

Re: Memory leaking on [un|re]load: WebappClassLoader isn't GC'ed

2006-01-26 Thread Endre Stølsvik
On Thu, 26 Jan 2006, Davide Romanini wrote: | Il giorno mer, 25/01/2006 alle 11.12 -0800, Wade Chandler ha scritto: | | > Don't use shared libraries and you shouldn't have this | > problem. If all of the statics are in your WEB-INF | > directory then you won't have an issue with unloading | > cl

Re: FarmDeployer - removing webapp on deploy?

2006-01-26 Thread Julie McCabe
Hello Peter, My deploy dir is $CATALINA_HOME/war-deploy it is not the webapps directory. The temp, deploy and watch directories are all read/writeable. I added the logging in the conf dir but it did not produce any extra output - I dont think the logging was picked up. I then followed the doc

help to solve 'OutOfMemoryError'

2006-01-26 Thread Aparna Ramakrishnan
hello I am running a java program which makes a HttpURLConnection randomly, using Tomcat 5. I use Asterisk-JAVA API. After the program runs for an hour, it returns a java.lang.OutOfMemoryError and the HttpURLConnection is not established, but again it returns to normal and the UrlConnection wo

Re: Memory leaking on [un|re]load: WebappClassLoader isn't GC'ed

2006-01-26 Thread Endre Stølsvik
| > It's a known problem caused by a lot of different | > situations. It's sad | > that a lot of important applications suffer of this | > problem. I'm working | > with Axis, and just trying to reload the bundled | > webapp never release | > the old WebappClassloader. | > | > I think this is seri

Re: Memory leaking on [un|re]load: WebappClassLoader isn't GC'ed

2006-01-26 Thread Davide Romanini
Il giorno mer, 25/01/2006 alle 11.12 -0800, Wade Chandler ha scritto: > Don't use shared libraries and you shouldn't have this > problem. If all of the statics are in your WEB-INF > directory then you won't have an issue with unloading > classes and class loaders. > It would be great if could b