Re: Unstable display of code 500-pages

2007-10-01 Thread Novaree
Len, You just got yourself a segment in my prayers tonight :) Thanks a lot. This was _exactly_ what I needed :D //Casper Len Popp wrote: > > Your error-page declaration only handles errors caused by > sendError(500). It doesn't handle exceptions thrown by the > application. To specify an err

Re: Admin tool and digest passwords

2007-10-01 Thread Mark Thomas
Julio Cesar Gazquez wrote: > I just configured Tomcat 5.5 using digest passwords, using SHA algorithm and > setting the password hashes at tomcat-users.xml by hand. > > However I'd need to use the Tomcat Admin Tool to manage passwords, yet it > seems to be unable to deal with hashed passwords, s

Re: Tomcat 5.5.9 SSL hangs

2007-10-01 Thread Mark Thomas
Saket Raizada wrote: > Hi folks, > I am using Tomcat 5.5.9 on HPUX 11.11 (JDK 1.5) and have uncommented the > SSL Section in the server.xml > The IE hangs when I access the https://:8443/index.html page > but works just fine if I use http://:8443/index.html That suggests your config isn't quite ri

Re: Why "Net use ..." does not work with WebDAV servlet

2007-10-01 Thread Mark Thomas
Shahab1355 wrote: > sorry for late answering and I hop it is not too late. I ma using Tomcat 5.5 > and the WebDAV servlet developed by Apache. but the servlet does not > respond to the net use command. I have taken a look at the request/response cycle with tcpmon (from Axis) and I can't see anyt

Re: Tomcat 6 and Permgen increase with redeployments

2007-10-01 Thread Mark Thomas
wild_oscar wrote: > Can anyone pinpoint the probable cause, solution or way to tackle this > problem? Increasing the size of the Permgen only postpones the problem: at > the end of a workday it'll be full, after a dozen redeployments... Get a profiler. I use YourKit. Mark --

Re: New to Apache

2007-10-01 Thread Mark Thomas
Tony Fountain wrote: > Mark, > > I did not hijack a thread. I started this one myself. No you didn't. You hit reply to an old message deleted the content and changed the subject. Please don't do this. Mark - To start a new to

Joakim T Monstad is out of the office.

2007-10-01 Thread JMonstad
I will be out of the office starting 10/01/2007 and will not return until 10/08/2007. I will respond to your message when I return, but can be reached at 952 836 4385 (send a txt if possible, since I won't be able to answer many calls)

Re: Tomcat crash @ midnight - but why?

2007-10-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gabe, Gabe Wong wrote: > Sounds very much like a memory issue as echoed by others on the list. I'm not so sure: he's getting what looks like a clean shutdown, not a VM crash or OOME or anything like that. If it were on Linux and he were running out

Tomcat 6 and Permgen increase with redeployments

2007-10-01 Thread wild_oscar
Although I've read a lot in the past week about Permgen and the problems of some libs, I haven't been able to find a solution to my problem. I'm running Tomcat 6 and an application with (among others): - Struts 2 - Hibernate - Tiles 2 - Log4j - ant Redeployment with ant (or the tomcat manager)

Re: Why "Net use ..." does not work with WebDAV servlet

2007-10-01 Thread Shahab1355
sorry for late answering and I hop it is not too late. I ma using Tomcat 5.5 and the WebDAV servlet developed by Apache. but the servlet does not respond to the net use command. regards, Shahab Mark Thomas-15 wrote: > > shahab wrote: >> Hi, >> >> I am trying to develop a simple distributed f

Re: Unstable display of code 500-pages

2007-10-01 Thread Len Popp
Your error-page declaration only handles errors caused by sendError(500). It doesn't handle exceptions thrown by the application. To specify an error page that is called for all unhandled exceptions, add this: java.lang.Throwable /whatever.jsp --

Tomcat 5.5.9 SSL hangs

2007-10-01 Thread Saket Raizada
Hi folks, I am using Tomcat 5.5.9 on HPUX 11.11 (JDK 1.5) and have uncommented the SSL Section in the server.xml The IE hangs when I access the https://:8443/index.html page but works just fine if I use http://:8443/index.html There are no errors or messages in the catalina.out file. I have also c

Admin tool and digest passwords

2007-10-01 Thread Julio Cesar Gazquez
I just configured Tomcat 5.5 using digest passwords, using SHA algorithm and setting the password hashes at tomcat-users.xml by hand. However I'd need to use the Tomcat Admin Tool to manage passwords, yet it seems to be unable to deal with hashed passwords, so if I change a password using Admi

Re: DeltaManager cannot receive message through TCP channel in Tomcat cluster

2007-10-01 Thread Filip Hanik - Dev Lists
it would have to be the multicast address that is unique to take care of the problem, however, easier to run one cluster instance at the engine level, the cluster knows what vhost a piece of replicated data belongs to Filip Daniel M Garland wrote: OK I've figured out what's happening, but not

Re: Comet Event handling unclear

2007-10-01 Thread Filip Hanik - Dev Lists
you should receive one BEGIN event per connection, one READ event per connection, and you wont receive end or error until the client or server closes the connection or times out Filip Deepak J wrote: I have developed a simple servlet that implements the CometProcessor and logs "Begin Event Re

Re: Reload an existing application

2007-10-01 Thread Hassan Schroeder
On 10/1/07, Andrew Hole <[EMAIL PROTECTED]> wrote: > Is it possible reload configurations on \WEB-INF\classes without > restart tomcat server? unless I misunderstand what you're asking :-) -- Hassan Schroeder [EMAIL PROTECTED] -

Re: Setting default webapp

2007-10-01 Thread Hassan Schroeder
On 10/1/07, David kerber <[EMAIL PROTECTED]> wrote: > We're not in full production, but have a dozen or so beta-test sites > that we'd rather not jerk around since they have already tolerated some > glitches during testing. A one-time change of bookmarks wouldn't seem that big a deal, considering

Reload an existing application

2007-10-01 Thread Andrew Hole
Is it possible reload configurations on \WEB-INF\classes without restart tomcat server? Thanks a lot - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mai

RE: New to Apache

2007-10-01 Thread Charlie Wingate
Hi Tony, I am not sure where at the website you can find documentation but I use Win2k3 and Tomcat 5.5 and have found that the Native runtime library for W2k3 gives a big performance boost. The file is tcnative-1.dll and I think the latest version is 1.1.9.0; Google it and you should be ab

Re: Setting default webapp

2007-10-01 Thread Ken Bowen
Would it be enough to replace ROOT/index.jsp with the following?: <% page contentType = "text/html" %> <% String redirectURL = "http://myserver:8081/SiteData/";; response.sendRedirect(redirectURL); %> -- Ken Bowen Pid wrote: David kerber wrote: I want my webapp to be the

RE: New to Apache

2007-10-01 Thread Tony Fountain
Mark, I did not hijack a thread. I started this one myself. Thanks, Tony Fountain Benefit Concepts, Inc. (419) 244-9936 x9010 (office) (419) 249-7221 (fax) -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Thursday, September 27, 2007 11:23 PM To: Tomcat Users List S

Re: Setting default webapp

2007-10-01 Thread David kerber
Hassan Schroeder wrote: On 10/1/07, David kerber <[EMAIL PROTECTED]> wrote: Hassan Schroeder wrote: Can I set the root webapp to ALSO answer under the webapp's original name, so people who use a bookmark to the full app path won't get "not found" errors? I though I had to have the

Re: Setting default webapp

2007-10-01 Thread Markus Schönhaber
David kerber wrote: > Can I set the root webapp to ALSO answer under the webapp's original > name, so people who use a bookmark to the full app path won't get "not > found" errors? I though I had to have the .war in both places: root > and its original place for that to work... Of course. Si

Re: Setting default webapp

2007-10-01 Thread Hassan Schroeder
On 10/1/07, David kerber <[EMAIL PROTECTED]> wrote: > Hassan Schroeder wrote: > Can I set the root webapp to ALSO answer under the webapp's original > name, so people who use a bookmark to the full app path won't get "not > found" errors? I though I had to have the .war in both places: root > an

Re: Setting default webapp

2007-10-01 Thread David kerber
Hassan Schroeder wrote: On 10/1/07, David kerber <[EMAIL PROTECTED]> wrote: Thanks, guys; I like the redirect idea a lot better than a second install that I'm likely to forget to update at some point. What "second install"? Rename the WAR file or directory; what could be simpler?

Re: Setting default webapp

2007-10-01 Thread Hassan Schroeder
On 10/1/07, David kerber <[EMAIL PROTECTED]> wrote: > Thanks, guys; I like the redirect idea a lot better than a second > install that I'm likely to forget to update at some point. What "second install"? Rename the WAR file or directory; what could be simpler? -- Hassan Schroeder --

Re: AW: Using Tomcat API to save single files into a wep app - No redeploy

2007-10-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gabrielle, Iannetti, Gabriele wrote: > now I know it's up to use pure Java API for this, > and unfortunately not the servlet engine API. The servlet API doesn't have anything in it that doesn't have to do with serving dynamic requests. I'm not sure w

AW: Using Tomcat API to save single files into a wep app - No redeploy

2007-10-01 Thread Iannetti, Gabriele
Thanks Chris, you helped me very much, now I know it's up to use pure Java API for this, and unfortunately not the servlet engine API. So I have to use a web server to automate the process of storing files for my purpuse. Best regards, Gabriele Gabrielle, Iannetti, Gabriele wrote: > I woul

Re: Using Tomcat API to save single files into a wep app - No redeploy

2007-10-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gabrielle, Iannetti, Gabriele wrote: > I would like to save single files (I got via HTML post) to an > existing web app on the application server (JBoss) without > redeploying the [whole] WAR file. Ouch. Really? That shouldn't be too hard: just wr

Re: Setting default webapp

2007-10-01 Thread David kerber
Thanks, guys; I like the redirect idea a lot better than a second install that I'm likely to forget to update at some point. Pid wrote: David kerber wrote: I want my webapp to be the default application on my Tomcat 5.5 server, so that it will go to the app's login page even if they don't

Re: Setting default webapp

2007-10-01 Thread Pid
David kerber wrote: > I want my webapp to be the default application on my Tomcat 5.5 server, > so that it will go to the app's login page even if they don't enter the > app name as part of the url. For example, normally my app is accessed at: > > http://myserver:8081/SiteData/Login.jsp > > I wan

Re: Setting default webapp

2007-10-01 Thread Markus Schönhaber
David kerber schrieb: > I want my webapp to be the default application on my Tomcat 5.5 server, > so that it will go to the app's login page even if they don't enter the > app name as part of the url. For example, normally my app is accessed at: > > http://myserver:8081/SiteData/Login.jsp > >

Setting default webapp

2007-10-01 Thread David kerber
I want my webapp to be the default application on my Tomcat 5.5 server, so that it will go to the app's login page even if they don't enter the app name as part of the url. For example, normally my app is accessed at: http://myserver:8081/SiteData/Login.jsp I want them to get Login.jsp even if

Re: Tomcat clustering

2007-10-01 Thread Daniel M Garland
Hey The mcastDropTime attribute controls how long a node waits without a response from a peer before considering it dead. Careful though, I tried setting this to be much lower than the default and had all sorts of problems with nodes adding / disappearing all the time; I wonder what sorts of

Tomcat clustering

2007-10-01 Thread Andrew Hole
In cluster of two nodes, which the parameter that I need to configure (or to decrease the value) for a node knows immediately that the other is down? With this configuration a node waits some time.

Re: Unstable display of code 500-pages

2007-10-01 Thread Novaree
Hi Mark, The error page is configured, as described in the docs, in the web.xml-file: 500 /jsp/error/500.jsp The stack trace is specific to the error caused by the application, ie. it is not the same error on each and every occation. //Casper Mark Thomas-15 wrote: > > Novaree wrote:

Re: Unstable display of code 500-pages

2007-10-01 Thread Mark Thomas
Novaree wrote: > Once in a while, when I "accidentally" runs into a code 500 error, I am > presented with the stack trace instead of the (otherwise properly > configured) 500.jsp page. The "correct" code 500 page is display, like, 8 > out of 10 times. How is it configured? What does the stack tra

RE: Tomcat and Apache on the same port?

2007-10-01 Thread Peter Crowther
> From: Tony Anecito [mailto:[EMAIL PROTECTED] > The Tomcat server is running web services which are > dynamic. OK. That's an answer to a slightly different question to the one I asked, so let me unpack it a bit :-). - You presently have a Tomcat server front-ended by Apache httpd. - You serve

Comet Event handling unclear

2007-10-01 Thread Deepak J
I have developed a simple servlet that implements the CometProcessor and logs "Begin Event Received", "Read Event Recieved" or "End Event received" as might be the case. My client program opens an HttpUrlConnection to do a POST, sets "Connection: Close", and writes data that is approx 160KB. I the

Re: Tomcat/Plesk datasource setup problems

2007-10-01 Thread Charl Gerber
Tomcat 5.0.something. (I wanted 5.5 or 6.0, but alas) I wanted to create a JDBC Resource in the GlobalNamingResources to start with. Plesk puts the application into the server.xml something like this: So in the Context definition, I would want to put a ResourceLink sett

Using Tomcat API to save single files into a wep app - No redeploy

2007-10-01 Thread Iannetti, Gabriele
Hello there, I would like to save single files (I got via HTML post) to an existing web app on the application server (JBoss) without redeploying the hole WAR file. (I really need to save the files into such a WAR archive file on the server; to keep it short: I dont want to save the files on

Re: Tomcat/Plesk datasource setup problems

2007-10-01 Thread Pid
Charl Gerber wrote: > Hi, > > I just moved my hosting from a provider where I had a > private Tomcat server with complete control over it to > a provider that uses Plesk and I share the Tomcat > server with other users. The provider has no Tomcat > knowledge in house and the Tomcat service is rare

RE: Tomcat 5.5.25 -> 6.0.14 upgrade problem

2007-10-01 Thread Paul ANDERSON
Hi, I had a problem before with this upgrade scenario using the Oracle drivers, and asked the list. I was asked if the JAR was in $CATALINA_HOME/lib - it was - no further ideas. I have never had a problem before with JDK 4 or 5 on TC5.5, just with JDK6 and TC6, so I temporarily abandoned my upgrade

Tomcat/Plesk datasource setup problems

2007-10-01 Thread Charl Gerber
Hi, I just moved my hosting from a provider where I had a private Tomcat server with complete control over it to a provider that uses Plesk and I share the Tomcat server with other users. The provider has no Tomcat knowledge in house and the Tomcat service is rarely used, so they couldn't help me

Re: Tomcat jsessionid cookie across subdomain valve

2007-10-01 Thread Daniel M Garland
Any thoughts? If this is OT anyone know an appropriate list to post to? Daniel M Garland wrote: Hi all, I have a web application that is installed on a virtual host that has a number of subdomains defined with elements in server.xml. We would like cookie sessions persist to across these subd

Re: DeltaManager cannot receive message through TCP channel in Tomcat cluster

2007-10-01 Thread Daniel M Garland
OK I've figured out what's happening, but not how to fix it! I'm running a single Tomcat instance that is hosting some virtual hosts, and we have three Tapestry web applications. For those unfamiliar with Tapestry, a Visit object is defined to represent the user's session and is sort of a faca

Re: tomcat and jdbc connector

2007-10-01 Thread David Smith
I doubt this is tomcat's fault in any way given the code snippet is pure java and doesn't access the api except for the success message. Can you verify the Ubuntu machine really has access to the MS SQL server (no firewall on either system)? Also I'm guessing you also verified the version of

Re: tomcat and jdbc connector

2007-10-01 Thread Ognjen Blagojevic
Hi, loredana loredana wrote: "javax.servlet.ServletException: java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]The requested instance is either invalid or not running." Can you try to do the same outside Tomcat, in a main method of a test Java class? It doesn't look like a T

tomcat and jdbc connector

2007-10-01 Thread loredana loredana
Hi, I have a small jsp file that test a connection to an sql server 2000 database using ms jdbc drivers. the file is pretty basic: DriverManager.registerDriver(new com.microsoft.jdbc.sqlserver.SQLServerDriver()); Connection connection = DriverManager.getConnection("jdbc:microsoft:sqlse

Unstable display of code 500-pages

2007-10-01 Thread Novaree
Hi y'all, I'm experiencing severe problems with my Tomcat-server. My setup is this: I have a setup with a load balancer in front of a couple of Tomcat servers. Once in a while, when I "accidentally" runs into a code 500 error, I am presented with the stack trace instead of the (otherwise properl