Shutdown problem in Tomcat Version 5.5.12 ("Protocol handler pause failed")

2006-01-19 Thread Chris Abajian
A variant on many postings I've found, unfortunately none of the remedies work. Been googling furiously to no avail. Surely tomcat on Fedora can't be this broken out of the box, can it? Problem: Tomcat fails to shut down in response to shutdown.sh script. Hangs, eventually throws exception with

Re: SSL Failure on Tomcat 5.5.12

2006-01-19 Thread Philipp Jäggi
Hey Tony Sounds like you forget to add the port when you connect. I tried this out on my tomcat installation. When I connect without specifying the port, I get the same error message. So, in your case, connect to https://localhost:443/[mywebappdocbase]. bye Philipp [EMAIL PROTECTED]

There must be a bug in SSL support

2006-01-19 Thread Jack
my ssl is ok, then I just add a new key to .keystore, then my ssl doesn't work. the client get the new key from the tomcat server. after I delete the new key, everything starts to work again. - To unsubscribe, e-mail: [EMAIL

Re: Database Connectivity of JSP(Tomcat 4.x) with Oracle 8i

2006-01-19 Thread Anto Paul
On 1/20/06, gupta vidhi <[EMAIL PROTECTED]> wrote: > my problem of Tomcat is been solved.now my simple JSP pages(without DB > connectivity) is been solved. > but when i'm executing my JSP page(with DB Connectivity) is creating > problems and showing the following error : > > javax.servlet.S

Re: Database Connectivity of JSP(Tomcat 4.x) with Oracle 8i

2006-01-19 Thread gupta vidhi
my problem of Tomcat is been solved.now my simple JSP pages(without DB connectivity) is been solved. but when i'm executing my JSP page(with DB Connectivity) is creating problems and showing the following error : javax.servlet.ServletException: No suitable driver at org.apache.jasper.r

Re: Database Connectivity of JSP(Tomcat 4.x) with Oracle 8i

2006-01-19 Thread gupta vidhi
my problem of Tomcat is been solved.now my simple JSP pages(without DB connectivity) is been solved. but when i'm executing my JSP page(with DB Connectivity) is creating problems and showing the following error : javax.servlet.ServletException: No suitable driver at org.apache.jasper.ru

Re: Server certificates for tomcat

2006-01-19 Thread Bill Barker
"Jack" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Server certificate: > > The certificate for the engine with alias "tomcat" > > The certificate for a specific host > > The certificate for a specific web-app > > > > If a web-app doesn't have a certificate, it can

RE: SSL Failure on Tomcat 5.5.12

2006-01-19 Thread TonyCoco
Iosev, Thank you so much! That was exactly the problem. I had no idea, it was driving me crazy. I hope this helps others as well, --thanks again, --Tony C. -- Original message -- From: "Iosev Perez Rivero" <[EMAIL PROTECTED]> > So, I feed that u must check into

RE: SSL Failure on Tomcat 5.5.12

2006-01-19 Thread Iosev Perez Rivero
So, I feed that u must check into /TOMCAT_HOME/bin and delete tcnative-1.dll if u using SSL without openSSL or without CA. Iósev Pérez Rivero Estudiante 4to. Año Universidad de las Ciencias Informáticas -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday,

Re: Calling Realm.authenticate() doesn't register Principal in with the Session??

2006-01-19 Thread Ken Johanson
Mark Thomas wrote: Ken Johanson wrote: Hi all, I am able to access the current context's org.apache.catalina.Realm object using Yoav Shapira's Tomcat-Realm example; however, when I call Realm.authenticate(String user, String pass), the Principal object that it returns is not being registered wi

RE: FW: Tomcat upgrade: 3.3.1 --> 5.0.28, hang up after running 1 or 2 days

2006-01-19 Thread Aparna_Maddireddy
Hi Monica, For the past few days I was working on PermGen/Heap space issues. Last night I cold fix this problem after a very long research. I was getting OutOfMemoryError due to PermGen space. I have set -XX:MaxPermGen parameter in my service.bat. Here is the code sample : "%EXECUTABLE%" //US/

RE: FW: Tomcat upgrade: 3.3.1 --> 5.0.28, hang up after running 1 or 2 days

2006-01-19 Thread Monica Wu
Thanks, Glen! Upgrading to 5.5.x is an idea. Another one is about PermGen space, suggested by Chunk in earlier message in this thread. So far I don't have confidence that TC5.5 can fix the problem my TC5.0 has. I will try to tune up PermGen space parameter and see how it goes. By following Chu

Re: FW: Tomcat upgrade: 3.3.1 --> 5.0.28, hang up after running 1 or 2 days

2006-01-19 Thread Glen Mazza
Monica Wu wrote: Production tomcat server was upgraded from 3.3.1 to 5.0.28 about 3 weeks ago. It hang up every 1 or 2 days during weekdays, depending on web server traffic. Unfortunately, I don't know enough to be able to help you here, but since 5.0.28 isn't working anyway, have you consid

SSL Failure on Tomcat 5.5.12

2006-01-19 Thread TonyCoco
I just installed Tomcat 5.5.12 on Windows XP (from the .exe install). I created and have a working webapp with servlets on the http port (80). I carefully followed the instructions on the apache tomcat website for setting up a SSL https connection. I followed it in every detail, creating my own

Re: tomcat 5 and cgi execution - simple fix

2006-01-19 Thread Mark Thomas
Linda Solomon wrote: > Hello, > > I don't believe that Tomcat 4 executed every cgi thru "perl". > If I execute > "perl cgi-program" Found it. Didn't quite go back far enough in the change logs. The cause is the fix for bug 22858. (http://issues.apache.org/bugzilla/show_bug.cgi?id=22858) > I set t

RE: Tomcat upgrade: 3.3.1 --> 5.0.28, hang up after running 1 or 2 days

2006-01-19 Thread Caldarale, Charles R
> From: Monica Wu [mailto:[EMAIL PROTECTED] > Subject: RE: Tomcat upgrade: 3.3.1 --> 5.0.28, hang up after > running 1 or 2 days > > There are quite a few cases reported tomcat5 hangups. Did I > miss an important place that traded in tomcat upgrade tricks? The hangs seem to fall into a few maj

Re: creating html files within an web application? write access?

2006-01-19 Thread Glen Mazza
SOA Work wrote: Hi there, I'm a developer new to web programming. I'm using tomcat 5.x to deploy my applications. Now I have an web application using an other application to generate some html files and necessary folders. I would like to use my web application to automatically create the fil

Re: tomcat 5 and cgi execution - simple fix

2006-01-19 Thread Linda Solomon
Hello, I don't believe that Tomcat 4 executed every cgi thru "perl". If I execute "perl cgi-program" from the Linux command line, I get the same error that occurs when Tomcat 5 executes a cgi using its default "executable" (that is, perl). So, the problem is that perl cannot handle anything but

RE: Tomcat upgrade: 3.3.1 --> 5.0.28, hang up after running 1 or 2 days

2006-01-19 Thread Monica Wu
Thanks, Chuck! I may try command-line startup.bat rather than a service to run this web application later when most people are off work and don't access this server. This server does not set up any limit on system resource. When Tomcat is non-responsive, no complaint about running out memeory.

RE: Tomcat does not respond any request after several days

2006-01-19 Thread George Sexton
You might have better luck getting an answer if you read this http://www.catb.org/~esr/faqs/smart-questions.html And repost your questions. George Sexton MH Software, Inc. http://www.mhsoftware.com/ Voice: 303 438 9585 > -Original Message- > From: Cuong M Tran [mailto:[EMAIL PROTECTE

Re: Latest stable version of Tomcat

2006-01-19 Thread lakshmanjee kolli
hi Aparna- This is Laxman Kolli. Is Venu reddy back from India. I lost his contact details. Please pass on the details. Thanks... Laxman --- [EMAIL PROTECTED] wrote: > Thank you for the reply. > > Do anyone know how to set PermGen space ? > > > Thank you, > Aparna > > > > > > [EMAI

Re: problem with lost request parameters

2006-01-19 Thread Jair da Silva Ferreira Jr
Hi, Thank you for your reply. Yes, I thought about that, but using the "get" method would append the form parameters in the URL. As this is a login form, the user password would be displayed in the URI. So, I must use the "post" method for security reasons. Any other ideas? Thanks,

RE: problem with lost request parameters

2006-01-19 Thread McClure, James
> I have already tried the following: I agree that this could be caused by encoding issues; as you have already attempted to change in order to rectify the situation. Just an idea... Have you tried changing the method type to "get" and losing the encoding type? The name/value pairs (form data

Re: problem with lost request parameters

2006-01-19 Thread Jair da Silva Ferreira Jr
Hi, Thank you very much for your reply. I searched my entire webapp and found out that the only methods I call in the request object are: getRequestURI(), getAttribute(...), setAttribute(...), getRequestDispatcher() and getSession(...). Some of these methods are called before request.getP

Re: Absolute Guide for config of JDBC Connection Pool ?

2006-01-19 Thread Giorgio Clavelli
Great stuff Len!!! Very much appreciated A lost new java programmer :) On 1/20/06, Len Popp <[EMAIL PROTECTED]> wrote: > > I don't know if there's a complete top-to-bottom guide, but here's > what I know from setting up connection pooling under 5.5.12: > > 1. The JDBC driver JAR must go in the co

RE: problem with lost request parameters

2006-01-19 Thread Duan, Nick
Do you do any request processing before invoking request.getParameter in your servlet (e.g. getting and reading the input stream)? Do you use any filters in your web app? ND -Original Message- From: Jair da Silva Ferreira Jr [mailto:[EMAIL PROTECTED] Sent: Thursday, January 19, 2006 11:

RE: Tomcat upgrade: 3.3.1 --> 5.0.28, hang up after running 1 or 2 days

2006-01-19 Thread Caldarale, Charles R
> From: Monica Wu [mailto:[EMAIL PROTECTED] > Subject: RE: Tomcat upgrade: 3.3.1 --> 5.0.28, hang up after > running 1 or 2 days > > Oops! How to retrieve a thread dump when it hangs in Windows? I don't know how to do that when the process is running as a service. For investigative purposes, yo

RE: Tomcat upgrade: 3.3.1 --> 5.0.28, hang up after running 1 or 2 days

2006-01-19 Thread Monica Wu
Chuck, thank you very much for your reply! The old version Tomcat 3.3.1 ran under Win2K SP2. It runs as a service. After upgrade, I did remove and install this service with the new service.bat. Oops! How to retrieve a thread dump when it hangs in Windows? - Monica -Original Message- Fr

RE: Tomcat upgrade: 3.3.1 --> 5.0.28, hang up after running 1 or 2 days

2006-01-19 Thread Caldarale, Charles R
> From: Monica Wu [mailto:[EMAIL PROTECTED] > Subject: FW: Tomcat upgrade: 3.3.1 --> 5.0.28, hang up after > running 1 or 2 days > > This web application had been running smoothly with tomcat > 3.3.1 + JDK 1.3.1 + J2EE 1.3 for about 4 years. Was that also under Win2K SP4? Are you running Tomc

RE: Tomcat upgrade: 3.3.1 --> 5.0.28, hang up after running 1 or 2 days

2006-01-19 Thread Monica Wu
I need add that: 1. This email was posted only once. 2. The database has been running okay. 3. When tomcat does not respond, the server does not have any sign of "run out of memory". Thanks! - Monica -Original Message- From: Monica Wu [mailto:[EMAIL PROTECTED] Sent: Thursday, Januar

FW: Tomcat upgrade: 3.3.1 --> 5.0.28, hang up after running 1 or 2 days

2006-01-19 Thread Monica Wu
I hope my lengthy message won't put your help away. I am trying to state my problem as clear as possible. Problem summary: Production tomcat server was upgraded from 3.3.1 to 5.0.28 about 3 weeks ago. It hang up every 1 or 2 days during weekdays, depending on web server traffic. Windowns 200

RE: Absolute Guide for config of JDBC Connection Pool ?

2006-01-19 Thread Durfee, Bernard
Excellent! That is the exact documentation that should be on the Tomcat site. It would also be nice to see a quick description of how Tomcat processes the sections, what exactly it does with the attributes, so that other drivers and pools can be configured. There are also other parameters that DB

Re: Calling Realm.authenticate() doesn't register Principal in with the Session??

2006-01-19 Thread Mark Thomas
Ken Johanson wrote: > Hi all, > > I am able to access the current context's org.apache.catalina.Realm > object using Yoav Shapira's Tomcat-Realm example; however, when I call > Realm.authenticate(String user, String pass), the Principal object that > it returns is not being registered with the ses

Re: Absolute Guide for config of JDBC Connection Pool ?

2006-01-19 Thread Len Popp
I don't know if there's a complete top-to-bottom guide, but here's what I know from setting up connection pooling under 5.5.12: 1. The JDBC driver JAR must go in the common/lib directory (because for connection pooling it needs to be accessible to both Tomcat and the web app). 2. DBCP is built in

RE: Absolute Guide for config of JDBC Connection Pool ?

2006-01-19 Thread Caldarale, Charles R
> From: g m [mailto:[EMAIL PROTECTED] > Subject: Absolute Guide for config of JDBC Connection Pool ? > > Does anyone happen to know where there is a definative > guide on how to do this and what jar files one needs ? There obviously won't be a single doc covering all databases - there are jus

How to capture printf() stdout to stdout_nnn.log?

2006-01-19 Thread Joe Siebenmann
Hi All, My System.out.println() gets logged to Tomcat's log file fine. I want to be able to capture the printf()s in the DLL of my JNI to the same, or another, log file. If I start Tomcat from the command line using 'startup.bat' the printf()s show-up on the console output. My question is how c

RE: mod_jk connection problem after couple of days or a week

2006-01-19 Thread Robert Neumann
Hello! We have exactly the same problem with the following configuration: OS: Windows Server 2003 Standard Edition Apache 2.0.54 mod_jk 1.2.14 Tomcat 5.5.9/5.5.12 JBoss 2.4.4 Our website basically serves JSP-Files and custom webapps, using the Tomcat instance as Servlet/JSP contain

AJP Connector configuration

2006-01-19 Thread McClure, James
I have an environment with Tomcat 5.5, AJP1.3, Apache 2 and refer to the server.xml file content for my installation. The Tomcat 5.5 AJP Connector configuration eludes to a Connector attribute by the name of "backlog", which can be set to configure the pending request queue size. (See http://tomc

problem with lost request parameters

2006-01-19 Thread Jair da Silva Ferreira Jr
Hi, I have my web application hosted at brazilian Locaweb. It runs on a Linux as40-32bits server with tomcat 5.5.15 and java 5. My application runs with many (I don't know exactly how many) others in the same tomcat server. My application uses postgresql 8 database, hibernate 2.1.7c, servle

Server certificates for tomcat

2006-01-19 Thread Jack
Server certificate: The certificate for the engine with alias "tomcat" The certificate for a specific host The certificate for a specific web-app If a web-app doesn't have a certificate, it can be configured to use the certificate of the host. Similarly, if a host doesn't h

Absolute Guide for config of JDBC Connection Pool ?

2006-01-19 Thread g m
There seems to be 'truckloads' of information on just as many forums on how best to setup a JDBC connection pool, varying from which file to put what entries (server.xml, context.xml, web.xml) etc It looks like the same questions be asked in a slightly different fashion and for differe

Help : Tomcat having problem compilng _jsp.java to \work\Standalone\localhost

2006-01-19 Thread Low Han Ming
Hi all, I'm having a problem with tomcat compiling the *_jsp.java file to \work\Standalone\localhost\mywebapp Tomcat does produce the *_jsp.java correctly, but could not produce the *_jsp.class. I think Tomcat is trying to output to a temporary file to a write restricted directory, I'm having er

Re: how to configure the tomcat 5.5.12 for a port 80 in linux (Gentoo)??

2006-01-19 Thread Gaël Lams
> And there's always option number 4 -- use jsvc from the commons-daemon > project to start tomcat safely as root and then drop root privilege for > normal operations. This will get you port 80 without the inherent risks > of running a process as root. Tomcat's bin directory has an archive of > t

Re: tomcat doesn't shutdown

2006-01-19 Thread philguillard
Right, Thanks !! Phil Tim Funk wrote: Eyebrowse is created in a non daemon thread preventing JVM shutdown. See their support group for help. "Eyebrowse Indexer" prio=1 tid=0x085e80a0 nid=0x19f7 waiting on condition [0xb1afa000..0xb1afa1b0] at java.lang.Thread.sleep(Native Method)

Re: tomcat doesn't shutdown

2006-01-19 Thread Tim Funk
Eyebrowse is created in a non daemon thread preventing JVM shutdown. See their support group for help. "Eyebrowse Indexer" prio=1 tid=0x085e80a0 nid=0x19f7 waiting on condition [0xb1afa000..0xb1afa1b0] at java.lang.Thread.sleep(Native Method) at org.tigris.eyebrowse.servlets.Ind

Re: tomcat doesn't shutdown

2006-01-19 Thread philguillard
Thanks for that help, I did a ./shtdown.sh, then a kill -3 on my tomcatpid, i pasted below the dump i get in tomcat logs. What does this mean? Excuse me for my ignoranc! My problem is just that i'd like to be able to use shutdown.sh in an automatic script without needing to manually check the p

[EMAIL PROTECTED]

2006-01-19 Thread Camil Bojneag
-Original Message- From: David Smith [mailto:[EMAIL PROTECTED] Sent: Thursday, January 19, 2006 8:23 AM To: Tomcat Users List Subject: Re: Database Connectivity of JSP(Tomcat 4.x) with Oracle 8i I'd recommend checking that your classes12.jar file is valid. This should work: $JAVA_HOME

Re: Database Connectivity of JSP(Tomcat 4.x) with Oracle 8i

2006-01-19 Thread David Smith
I'd recommend checking that your classes12.jar file is valid. This should work: $JAVA_HOME/bin/jar -v -t -f webapps/ROOT/WEB-INF/lib/classes12.jar It'll list the table of contents of the archive and be verbose about it. Replace -t with -x to extract files for further inspection. --David gup

Re: how to download admin webapp

2006-01-19 Thread Dhaval Patel
(1) Download admin webapp from http://tomcat.apache.org/download-55.cgi for your Tomcat version. (Say the filename is Tomcat-admin.zip) (2) Now unzip/untar the file preserving directory structure. So after unzip/untar you have following structure: Tomcat-admin --conf (d) --Catalina (d) --

Re: how to configure the tomcat 5.5.12 for a port 80 in linux (Gentoo)??

2006-01-19 Thread David Smith
Gaël Lams wrote: So, I have configure a tomcat for a port 8080 in Linux (Gentoo), but when I try chance this port to 80 this make mistaje of Permission in de logs What can I do? It realley depends if it's fine with you to run Tomcat as root You have three possibilities: - if you don't

Re: how to configure the tomcat 5.5.12 for a port 80 in linux (Gentoo)??

2006-01-19 Thread Gaël Lams
> So, I have configure a tomcat for a port 8080 in Linux (Gentoo), but when I > try chance this port to 80 this make mistaje of Permission in de logs > > What can I do? > It realley depends if it's fine with you to run Tomcat as root You have three possibilities: - if you don't care about running

Re: Design Guidance requested for Tomcat newbie - servlets, MySQL access, etc.

2006-01-19 Thread Ritchie Gillam
I just wanted to add the Hibernate is very good for dealing with Database stuff. Ritchie >>> [EMAIL PROTECTED] 18/01/2006 9:04 pm >>> > Ah, well, it's for things like this that we schedule a long test/fix cycle, right? Indeed... :( Here the links to those frameworks: http://www.springframewo

Re: Database Connectivity of JSP(Tomcat 4.x) with Oracle 8i

2006-01-19 Thread Anto Paul
On 1/19/06, gupta vidhi <[EMAIL PROTECTED]> wrote: > i'd made some JSP & HTML pages(without DB Connectivity) and also execute them > successfully, before copying classes12.jar file in WEB-INF\lib, but now when > i'm executing my pages with or without DB Connec.,they aren't executing and > showin

Re: how to download admin webapp

2006-01-19 Thread Anto Paul
On 1/19/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hi, > > Appologies if the answer to this is obvious. > > Could someone please explain where to obtain the admin webapp for tomcat 5. > You can find it in the same place where you downloaded Tomcat binary. Go to tomcat.apache.org and cli

Re: Database Connectivity of JSP(Tomcat 4.x) with Oracle 8i

2006-01-19 Thread gupta vidhi
is it necessary to set the path of classes12.jar file? gupta vidhi <[EMAIL PROTECTED]> wrote: i'd made some JSP & HTML pages(without DB Connectivity) and also execute them successfully, before copying classes12.jar file in WEB-INF\lib, but now when i'm executing my pages with or without DB Con

Re: Database Connectivity of JSP(Tomcat 4.x) with Oracle 8i

2006-01-19 Thread gupta vidhi
is it necessary to set the path of classes12.jar file? gupta vidhi <[EMAIL PROTECTED]> wrote: i'd made some JSP & HTML pages(without DB Connectivity) and also execute them successfully, before copying classes12.jar file in WEB-INF\lib, but now when i'm executing my pages with or without DB Con

Re: I need advice about choosing a application server.

2006-01-19 Thread Bruno Georges
Legolas Tomcat suits such requirements [and heavier loads]. You can deploy tomcat on JBoss [it is embedded] and disable the services you don't need. Geronimo is not as mature, and correct me if I am wrong is not a servlet container, Geronimo uses jetty or tomcat for this. On a different note, I w

Re: Database Connectivity of JSP(Tomcat 4.x) with Oracle 8i

2006-01-19 Thread gupta vidhi
i'd made some JSP & HTML pages(without DB Connectivity) and also execute them successfully, before copying classes12.jar file in WEB-INF\lib, but now when i'm executing my pages with or without DB Connec.,they aren't executing and showing the same error as i'd told you in my previous mail. now

Problems downloading some files with Tomcat 5.5.12

2006-01-19 Thread Jean Carlos Bormanieri \(Cetil - Cesup\)
Hello. I've a server running w2003k with IIS 6 and Tomcat 5.5.12. Also, I'm using JK 1.2 to mapping tomcat for IIS. All the system work fine, and very stable. However, when i try to download some files (like .xls, .doc, .rar) from a application in Tomcar, the binary contento f file is opened by I

how to download admin webapp

2006-01-19 Thread peter . jessup
Hi, Appologies if the answer to this is obvious. Could someone please explain where to obtain the admin webapp for tomcat 5. The basic installation simply provides the information that the admin function must now be downloaded separately from the basic installation , but I cannot find any refre

Tomcat does not respond any request after several days

2006-01-19 Thread Cuong M Tran
Hi, I got a serious problem when I deploy my software on to customer's server. The Tomcat server runs fine in several days (could be 1 or 2,3,4 days unexpectedly) but then it does not respond any request and produce any output (also no error code). It only happens to me only on that server. The

how to make external files accessible to the servlet in tomcat

2006-01-19 Thread Neha Narkhede
Hi.. I am running a servlet which uses an api of the package 'conceptnet'.The conceptnet api requires access internally to some data files of conceptnet.Iam getting the message that the data files are not found by tomcat.In which folder of tomcat should I put these supplementary data files so th

mod_jk connection problem after couple of days or a week

2006-01-19 Thread Jonathon Reeve
Hi All, At our company we run JBoss for several applications, and have recently setup a new box that is giving some rather odd errors. The box runs: Windows 2003 Advanced Server Apache 2.0.54 JBoss 4.0.2 mod_jk 1.2.15 (precompiled binary) We were previously running jk2, but since that's now sort

Re: Database Connectivity of JSP(Tomcat 4.x) with Oracle 8i

2006-01-19 Thread Anto Paul
On 1/19/06, gupta vidhi <[EMAIL PROTECTED]> wrote: > Hello, > thanx for the code.i'd executed but facing some problems.its showing the > following error: > > HTTP Status 500 - No Context configured to process this request > - > > type Status report > message

Re: how to configure the tomcat 5.5.12 for a port 80 in linux (Gentoo)??

2006-01-19 Thread Chris Lear
* Dhaval Patel wrote (19/01/2006 02:13): > Hi, > >For detail information about the problem and solution, visit: > http://wiki.apache.org/tomcat/HowTo#head-18d1c3f3fa702a1be769340784515eecce6e0ac9 Also see http://tomcat.apache.org/tomcat-5.0-doc/setup.html for info on jsvc. You'd have to repla

creating html files within an web application? write access?

2006-01-19 Thread SOA Work
Hi there, I'm a developer new to web programming. I'm using tomcat 5.x to deploy my applications. Now I have an web application using an other application to generate some html files and necessary folders. I would like to use my web application to automatically create the files, so a user kn