I can not replace a classloader using Loader tag.

2005-04-26 Thread Hideaki HIBINO
Hello, (B (BI am trying to replace the default classloader of Tomcat to a (Bclassloader that I customized. I red the manual for customizing (Bit (server configuration on Jakarta tomcat site) and wrote the (Bfollowing configuration in context configuration file. (B (B (B (B (B (B (BBut

[OT] RE: development environment

2005-04-26 Thread Peter Crowther
> From: Patrick Lacson [mailto:[EMAIL PROTECTED] > I'm curious to what everyone's dev environment looks like. Dev: Athlon XP2200, 1Gbyte RAM, 80G hardware-mirrored HDDs*, Win2K server, dual 1280x1024 TFTs. Netbeans (when I have to), Ant, JUnit, vim, CVSNT, putty. Coffee machine next door - an

RE: [OT] RE: development environment

2005-04-26 Thread Josh McDonald
At home: P4 2.8HT, 1.25Gb, ~200gb in various drives, 1x17" LCD, 1x19" Trinitron @ 1280x1024(colour palettes on the Sony), leaning required to watch the Simpsons, close to beer supply in kitchen (small apartment). Nice view of the Story Bridge. Lousy Dodo 1/2 meg ADSL :) Big mofo Sony stereo for mp

Re: Virtual hosts

2005-04-26 Thread Pete Stevens
On Mon, 25 Apr 2005, Dola Woolfe wrote: > Hi, > > Running TC5.5 as a stand-alone. > I've been reading about the HOST element, and i see > that it can make mysite.com and www.mysite.com go to > the same place. I apologize if I put it in a > simplistic way. Here's a simple guide to virtual hosts &

RE: TCPCluster problem on heavily loaded webapps

2005-04-26 Thread Francois JEANMOUGIN
Peter Rossbach : > Hello Francois, > > I have implemented a new restart algo at the current Tomcat 5.5 cvs head. > Compile it and test it. I hope then this strange failure is gone. :-) Hello, Thank you for your kind help, but the site is a production site, I really can't try an unstable (or

procrun and NT service

2005-04-26 Thread Alessandro Fredianelli
Setting the --StartMode parameter of procrun to java or exe seems to be not working. Any other special setting is needed in order to have these parameters work? If i try to install my server application as nt service with procrun, it starts and after the startup process the service ends. From the c

Problem Binding Tomcat to Ports 80/443

2005-04-26 Thread Craig
Hey Tomcat Users! I am having a very desperate problem with Tomcat. I have a demonstration due later today, and the script I have been using to run tomcat (5.0.27) on ports 80/443 doesn't seem to do the job -- though it had been workingfor weeks up until a restart earlier today. I'm getting the

problem with compilation of jsp

2005-04-26 Thread vishwam
hi i hhave installed new apache tomcat on my system, iam facing problem when executing jsp files i have set classpath as C:\Java\jdk1.5.0\lib;C:\Program Files\Java\jre1.5.0\lib;C:\Program Files\Apache Software Foundation\Tomcat 5.0\common\lib java_home as C:\Java\jdk1.5.0 catalina_home as

RE: Problem Binding Tomcat to Ports 80/443

2005-04-26 Thread Peter Crowther
> From: Craig [mailto:[EMAIL PROTECTED] > Apr 26, 2005 1:24:04 AM org.apache.coyote.http11.Http11Protocol init > SEVERE: Error initializing endpoint > java.net.BindException: Permission denied:80 Are you running the Tomcat process as root? If not, you won't be able to bind to ports 80 or 443 on

Re: procrun and NT service

2005-04-26 Thread Mladen Turk
Alessandro Fredianelli wrote: Setting the --StartMode parameter of procrun to java or exe seems to be not working. Any other special setting is needed in order to have these parameters work? --StartMode=java|jvm It defines if the JNI or out of process java.exe will be used. The same is for --StopMo

Re: Problem Binding Tomcat to Ports 80/443

2005-04-26 Thread Nikola Milutinovic
Craig wrote: Hey Tomcat Users! I am having a very desperate problem with Tomcat. I have a demonstration due later today, and the script I have been using to run tomcat (5.0.27) on ports 80/443 doesn't seem to do the job -- though it had been workingfor weeks up until a restart earlier today. I'm

Re: procrun and NT service

2005-04-26 Thread Alessandro Fredianelli
@echo off call setenv.bat echo %CLASSPATH% pause set line= set line=%line% --ClassPath=%CLASSPATH% set line=%line% --Description=ClinicalIntegrationServer set line=%line% --Install=c:\cis\xqueue\service.exe set line=%line% --DisplayName=CIS set line=%line% --JvmOptions="-Djava.security.policy=cis.

Re: problem with compilation of jsp

2005-04-26 Thread Anto Paul
On 4/26/05, vishwam <[EMAIL PROTECTED]> wrote: > hi > i hhave installed new apache tomcat on my system, iam facing problem when > executing jsp files > i have set > classpath as C:\Java\jdk1.5.0\lib;C:\Program > Files\Java\jre1.5.0\lib;C:\Program Files\Apache Software Foundation\Tomcat > 5.0\c

Re: procrun and NT service

2005-04-26 Thread Mladen Turk
Alessandro Fredianelli wrote: that's how i create the service. If i set startmode=java in order to have the possibility to specify an account different than LocalSystem, procrun doesent start. Hmm, are you using the CVS HEAD or last released version? Any log messages? Also does you Administrator

RE: problem with compilation of jsp

2005-04-26 Thread Raghupathy,Gurumoorthy
Please look at the list. This is because Tomcat has been installed on "program files" a directory with spaces ... Please install tomcat in a directory without space "c:\Server\Tomcat" and you should be fine Regards Guru -Original Message- From: vishwam [mailto:[EMAIL PROTECTED] Sent:

Re: Problem Binding Tomcat to Ports 80/443

2005-04-26 Thread Parsons Technical Services
Check to see if Tomcat is already running. Also the config you posted has the port at 8086. And something is listening on 8086. Do a reboot and look at your processes and netstat before doing anything else. Then take it from there. Doug - Original Message - From: "Craig" <[EMAIL PROTEC

Tutorial

2005-04-26 Thread Eugene Poole
I'm looking for a Tomcat tutorial that works! I want to teach myself, if possible. Where can I find a tutorial that covers Apache, Tomcat, Java2 1.4.x, and a database (hopefully Oracle) running on Fedora Core 3? Gene [EMAIL PROTECTED] --

Jk and IIS 6 slow (resent)

2005-04-26 Thread Michael Südkamp
Hello, I posted this question already a few days ago. Maybe this time I have more luck with an answer ;-) We have a problem with the IIS6/JK-connection on some of our Windows 2003 webservers (IIS 6). Each request waits inside the JK connector for about 15 seconds until it is forwarded to Tomcat

RE: Tutorial

2005-04-26 Thread Raghupathy,Gurumoorthy
Nice one http://www.tusc.com.au/tutorial/html/ Apache/Tomcat: doc | pdf http://www.one0.com/html/downloads.php : Click on the doc / pdf link Regards Guru -Original Message- From: Eugene Poole [mailto:[EMAIL PROTECTED] Sent: 26 April 2005 12:32 To: tomcat-user@jakarta.apache.org

Re: Jk and IIS 6 slow (resent)

2005-04-26 Thread Mladen Turk
Michael Südkamp wrote: The strange thing is that other W2003 webservers we set up the same way have not this problem. We are even sure that the problem webservers had not had this problem some weeks ago. How about your dns? I wold suggest that you use IP addresses for your host names. Do you think

Unsubscribe me!!!!!!!!!!!!!!!!!!!!!!!

2005-04-26 Thread McClure, Timothy J\(GE Infrastructure\)
pLEASE UNSUBSCRIBE ME, NO MATTER WHAT i DO i KEEP GETTING THESE STUPID MESSAGES!! -Original Message- From: Anto Paul [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 26, 2005 7:11 AM To: Tomcat Users List Subject: Re: problem with compilation of jsp On 4/26/05, vishwam <[EMAIL

Re: problem with compilation of jsp

2005-04-26 Thread vishwam
the problem has been solved by copying the tools.jar file from $java_home/lib to $catalina_home/common/lib/ thanks for the reply to all - Original Message - From: "vishwam" <[EMAIL PROTECTED]> To: Sent: Tuesday, April 26, 2005 4:02 PM Subject: problem with compilation of jsp hi i hh

Re: procrun and NT service

2005-04-26 Thread Alessandro Fredianelli
Mladen Turk wrote: Hmm, are you using the CVS HEAD or last released version? Any log messages? Also does you Administrator account has a 'Log On As Service' privilege? last released. Using LocalSystem account. this is the log. [2005-04-26 13:00:37] [info] Service CIS name CIS [2005-04-26 13:00:38]

Re: Unsubscribe me!!!!!!!!!!!!!!!!!!!!!!!

2005-04-26 Thread Mark Leone
Why don't you tell us what you've tried, and maybe we can figure out what's going wrong. McClure, Timothy J(GE Infrastructure) wrote: pLEASE UNSUBSCRIBE ME, NO MATTER WHAT i DO i KEEP GETTING THESE STUPID MESSAGES!! -Original Message- From: Anto Paul [mailto:[EMAIL PROTECTED]

Re: Unsubscribe me!!!!!!!!!!!!!!!!!!!!!!!

2005-04-26 Thread Larry Meadors
At the bottom of EVERY EMAIL you get from this list, you'll find this: To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] It is even in english for your benefit. :-) Try it. If it does not work, read the response. It will tell you WHY it did not work.

Defining DBCP resources in web.xml?

2005-04-26 Thread Josh McDonald
The heading says it all - can it be done? If so, how do I go about it? I'd rather not have a dozen different references in the server.xml if I can avoid it, tho it's looking like I'll have to :-( Anyway, any pointers much appreciated. -Josh -- "Until a man is twenty-five, he still thinks, ev

ISAPI_REDIRECT

2005-04-26 Thread Tony Nakamura
Hi, It seems like ISAPI filter for IIS is a common hurdle for many people to get it working, and I'm no exception. My environment is as following: Tomcat 5.0.28 IIS 6.0 Win 2003 Server ISAPI_REDIRECT (used isapi_redirect-1.2.10.exe to setup) I've gone through documentation for IIS 6 and ISAPI_R

Re: Why 8080 and 8443 ..?

2005-04-26 Thread David Whitehurst
Chuck: Could you elaborate on what those parameters would be? A port is just a number. I'm trying to understand the history, but I would appreciate your comments on the other things required to make Tomcat production ready on top of just changing the Coyote connector from 8080 to 80 and 8443 to

Re: OT: Good taglib repository - looking for date hadling tags

2005-04-26 Thread Rahul Akolkar
One such repository: http://jakarta.apache.org/taglibs/ -Rahul On 4/26/05, Nikola Milutinovic <[EMAIL PROTECTED]> wrote: > Hi all. > > This is not exactly a Tomcat question, but since there are so many of us > developers (and admins) around, I thought I ask. > > Is there a good repository of fr

Re: Why 8080 and 8443 ..?

2005-04-26 Thread Jason Bainbridge
On 4/26/05, David Whitehurst <[EMAIL PROTECTED]> wrote: > Could you elaborate on what those parameters would be? A port is just a > number. I'm trying to understand the history, but I would appreciate > your comments on the other things required to make Tomcat production > ready on top of just chan

Vedr.: ISAPI_REDIRECT

2005-04-26 Thread Thomas Nybro Bolding
>From http://www.reynir.net/java/greinar/nr/52 If you are using IIS V6, which ships with Windows Server 2003, you must allow the "Web Service Extension" to operate. Earlier versions of IIS did not require this step. Using the IIS Internet Services Manager, click on the Web Services Extension

out of memory error

2005-04-26 Thread Sergey Livanov
Pls help me to investigate type of error. Sometimes pages are not downloaded. We have looked into Log file and found out a message “out of memory”. When is this error appeared and what do we have to do to avoid this type of error? 2005-04-25 08:15:10 ApplicationDispatcher[] Servlet.service() for

Re: Why 8080 and 8443 ..?

2005-04-26 Thread David Goodenough
Changing the connector to 80 and 443 is difficult, as then you have to run Tomcat as root (assuming you are running on Linux). 8080 and 8443 are simply non-privileged ports with numbers not a million miles from 80 and 443 as I understand it. If you want to remap them and keep the non-root nature

Re: Tutorial

2005-04-26 Thread Eugene Poole
Thanks! I could not locate www.tusc.com.au, but there is a Oracle site www.tusc.com. Gene [EMAIL PROTECTED] Raghupathy,Gurumoorthy wrote: Nice one http://www.tusc.com.au/tutorial/html/ Apache/Tomcat: doc | pdf http://www.one0.com/html/downloads.php : Click on the doc / pdf link Regards Guru

Re: Tutorial

2005-04-26 Thread Jorge Davila
Well.. the first thing to do is download all files. In fedora core 3 there are some things that not run will the java installation packed with the system. If posible, don't install java from fc3's cd. Install java, then tomcat. In my opinion the best source of information for java is: http://ja

Re: how to host website on Tomcat 5.5.9

2005-04-26 Thread Hassan Schroeder
Ashok Anumandla wrote: I am trying to host my son website on Tomcat 5.5.9 in my home machine, i did following steps .. But unfortunately i am not able to make it working , when i try http://localhost:8080/anishanumandla, it is working fine, but when i try accessing www.anishanumandla.com it is

RE: out of memory error

2005-04-26 Thread Mark Benussi
I hit this issue today, for a host of reasons. You are getting this error because the ammount of memory allocated to the JVM running Tomcat has been taken up. This ould be for the following reasons: You are doing some large database reads without using a methodology to read in batches. You are

RE: out of memory error

2005-04-26 Thread Dale, Matt
Or you simply don't have enough memory allocated to the JVM and you need to increase it. -Original Message- From: Mark Benussi [mailto:[EMAIL PROTECTED] Sent: 26 April 2005 15:41 To: [EMAIL PROTECTED]; tomcat-user@jakarta.apache.org Subject: RE: out of memory error I hit this issue tod

Re: Vedr.: ISAPI_REDIRECT

2005-04-26 Thread Tony Nakamura
Hello Thomas, Thank for the reply. I failed to mention, but I've setup the Web Service Entention to the isapi_redirect.dll and gave an "allow" permission. I used isapi_redirect-1.2.10.exe, so it should have setup all of the settings correctly. One other weird thing is that isapi_redirect.log do

RE: out of memory error

2005-04-26 Thread Mark Benussi
: ) Yes Matt good point. For future reference if anyone is seeing any disk full issues then they do not have a big enough hard disk... Original Message Follows From: "Dale, Matt" <[EMAIL PROTECTED]> Reply-To: "Tomcat Users List" To: "Tomcat Users List" Subject: RE: out of memory err

Re: out of memory error

2005-04-26 Thread Trond G. Ziarkowski
Speaking of disk space, I ran out of it today because my cron job to delete my log files didn't work. Ooopppsss ;) Trond Mark Benussi wrote: : ) Yes Matt good point. For future reference if anyone is seeing any disk full issues then they do not have a big enough hard disk... Original Me

Vedr.: Re: Vedr.: ISAPI_REDIRECT

2005-04-26 Thread Thomas Nybro Bolding
Hi Tony, my own experience with IIS 6.0 is rather limited as our production environment is Win2K, but I have seen several posts where people have put IIS 6.0 in IIS5.0 isolation mode? Another possibility is that your configuration files are broken (have you configured the jk connector etc.) Try

What is max value for MaxThreads

2005-04-26 Thread Darek Czarkowski
How many threads can tomcat handle? Assuming single tomcat hosting 5 different apps, no load balance, using mod_jk and Apache. I am wondering what would be the safe limit. DarekC - To unsubscribe, e-mail: [EMAIL PROTECTED] F

Re: Defining DBCP resources in web.xml?

2005-04-26 Thread Andrés Glez.
Do it better in the web app. META-INF/context.xml - Original Message - From: "Josh McDonald" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" Sent: Tuesday, April 26, 2005 2:37 PM Subject: Defining DBCP resources in web.xml? > The heading says it all - can it be done? If so, how do I go

Re: Vedr.: Re: Vedr.: ISAPI_REDIRECT

2005-04-26 Thread Tony Nakamura
Hi, I uninstalled the exe version of isapi_redirect and decided to manually configure them. As a result, I got the green arrow, and I'm able to see output in the log file given isapi_redirect runs in debug mode. The log looks like the following. This log from when I'm trying to run the IIS in 5.

Re: What is max value for MaxThreads

2005-04-26 Thread andrew
Hi Darek, This really depends on your operating system We have MaxThreads set to 750 on our boxes running sarge. You should however be aware that using that many threads in not necessarily benifical as far as performance is concerned... You should definitely do some performance testing. We look

RE: What is max value for MaxThreads

2005-04-26 Thread Caldarale, Charles R
> From: Darek Czarkowski [mailto:[EMAIL PROTECTED] > Subject: What is max value for MaxThreads > > How many threads can tomcat handle? There's no single answer to this. The limit is a function of your operating system and, to a lesser extent, your JVM heap parameters. - Chuck THIS COMMUNICA

Re: Defining DBCP resources in web.xml?

2005-04-26 Thread Geertjan Wielenga
Here's a pointer: http://www.netbeans.org/kb/41/using-netbeans/dbconn.html -- Geertjan Andrés Glez. wrote: Do it better in the web app. META-INF/context.xml - Original Message - From: "Josh McDonald" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" Sent: Tuesday, April 26, 2005 2:37 PM Subj

how to host website on Tomcat 5.5.9

2005-04-26 Thread Pedro Nevado
Instead of defining your context in server.xml, try to define it in a document titled ROOT.xml. This document must be located in conf/Catalina/www.anishanumandla.com/. Also, I would change the appBase of your host to "/Program Files/Apache Software Foundation/Tomcat 5.5/webapps". I hope this helps.

RE: Why 8080 and 8443 ..?

2005-04-26 Thread Caldarale, Charles R
> From: Michael Mehrle [mailto:[EMAIL PROTECTED] > Subject: Re: Why 8080 and 8443 ..? > > Which are ??? Please feel free to elaborate ;-) As Jason mentioned, running Tomcat in production requires configuring the desired connectors and the various internal and external resources, and also str

Re: Expression Languange not working for me

2005-04-26 Thread Franklin Phan
I am new at this. Yes, I can correctly view the EL examples that came with Tomcat 5.0. You are correct; it was a caching issue. Resaving the file under a new timestamp solved the problem. I also found that the web-app tag need only contain the version="2.4" attribute for EL to work. I don't kno

Re: What is max value for MaxThreads

2005-04-26 Thread David Kaplowitz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 andrew wrote: > > You should definitely do some performance testing. > > We looked at using apache with mod_jk in front of our tomcats, > but this effectively halved the number of connections our servers > could handle per second, so in the end, we we

Re: how to host website on Tomcat 5.5.9

2005-04-26 Thread Ben Kim
>- Configured my linksys to fwd the any request from >www.anishanumandla.com to port number and 8080 port. >accessing www.anishanumandla.com it is not working, i am getting page Should you possibly check www.anishanumandla.com:8080 working? If so, I guess you could use jk connector rather than us

out of memory error

2005-04-26 Thread Pedro Nevado
This one of the remedies proposed. There is also a bug reported, and a patch for it. Finally you can try swallowOutput=false in your context.xml. Pedro Nevado De: sysdba [EMAIL PROTECTED] Enviado: viernes, 15 de abril de 2005 15:49 Para: Tomcat Users List Asunto: Memory Leak Solved We have strug

Re: Vedr.: Re: Vedr.: ISAPI_REDIRECT

2005-04-26 Thread reynir
Hi, Looks like the isapi_redirector is forwarding the request to the "localhost" host of your tomcat setup. is it there ? Check the access logs on the tomcat application. See if it's receiving the request. your error message, the 404, is it from tomcat (the blue one) or is it from IIS ? hope it

Re: Vedr.: Re: Vedr.: ISAPI_REDIRECT

2005-04-26 Thread Tony Nakamura
Hi Reynir, Yes, the tomcat is on localhost, and I'm trying to access directly from the server right now. I can access the site with: http://localhost:8080/test/login.jsp but not without specifying 8080 port. 404 is from IIS log, and it seems to have changed from 404:03 to 404:02. Just for kicks,

Re: apache + tomcat + JK connector configuration

2005-04-26 Thread anshul shrivastava
Hi all, This is my first post to group. I've already asked this problem in popular forums, but can't resolve. Hope, someone of you'll help. Thank you, in advance, very much. I'm using Tomcat Apache Tomcat/5.0.16 on jdk 1.5.0 ( port 8080 ). I've installed Apache2 ( port 80 ) using MSI installe

RE: apache + tomcat + JK connector configuration

2005-04-26 Thread Caldarale, Charles R
> From: anshul shrivastava [mailto:[EMAIL PROTECTED] > Subject: Re: apache + tomcat + JK connector configuration > > I'm using Tomcat Apache Tomcat/5.0.16 Why such an old level? If you want to use the 5.0 branch, at least get the current version. Better yet, use 5.5. > I read, it is better no

Tomcat 5.5.9: Following symLinks

2005-04-26 Thread Santosh Dawara
I would like to load classes required by my web applications via soft links on Linux. I usually set under the element in my server.xml. This worked well with Tomcat 5.0. I moved my webapps to 5.5.9, I made similar modifications to my 5.5 compliant server.xml to allowLinking. Tomcat does not seem

Re: apache + tomcat + JK connector configuration

2005-04-26 Thread anshul shrivastava
Avoiding use of Apache httpd also eliminates a significant amount of complexity. httpd.conf is an important file. I wanna use PHP/JSP/MySQL with Apache. ( surprised ) Please someone, send a useful reply ! - Original Message - From: "Caldarale, Charles R" <[EMAIL PROTECTED]> To: "Tomcat Us

Re: Tomcat SSI variables missing?

2005-04-26 Thread Mark Thomas
Fritz, Ideally patches should be against CVS head to minimise the overhead for the developers. I will, of course, look at patches against any recent release but the older the release patches are created against, the longer it takes me to apply the patch. Mark Fritz Schneider wrote: Mark, Would

Re: Tomcat Deployed Applications

2005-04-26 Thread Mark Thomas
deployOnStartup and http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/host.html#Automatic%20Application%20Deployment Mark Robert Bateman wrote: Under Tomcat 4.1.27 and 4.1.30, if I deploy an application via a .WAR file to the server (via ANT and the manager) Tomcat knows about my deployed appl

Re: difference between tomcat 5.0 and tomcat 5.5

2005-04-26 Thread Mark Thomas
Posting multiple copies of the same message and posting the same message to both the tomcat-user and the tomcat-dev lists is a sure-fire way to make sure your message is ignored by most, if not all, members of this list. Please read http://jakarta.apache.org/site/mail.html for guidance. Mark Rem

Newbie Question: conext.xml

2005-04-26 Thread Bob Bronson
Hello everyone, I'm very new to Tomcat so pardon me if this is an easy question. I *have* read the relevant documentation (several times) and that really just made matters worse. Sometimes the documentation seems a bit incomplete. I've tried several things the documentation says should work with

Re: Tutorial

2005-04-26 Thread venkats
Gene: Try http://cymulacrum.net/writings/tomcat5/book1.html I found it to be excellent. Venki On Tue, 26 Apr 2005 07:32:23 -0400 Eugene Poole <[EMAIL PROTECTED]> wrote: I'm looking for a Tomcat tutorial that works! I want to teach myself, if possible. Where can I find a tutorial that covers Ap

Re: apache + tomcat + JK connector configuration

2005-04-26 Thread Ted Christensen
Anshul, The mod_jk binaries I'm using I got at "http://apache.intissite.com/jakarta/tomcat-connectors/jk/binaries/";, pick you flavor. This page was about the most help documentation "http://jakarta.apache.org/tomcat/connectors-doc/howto/apache.html"; for me. This won't solve the error for you,

SSL

2005-04-26 Thread jejones
Tomcat Users, I have followed the How-To for Jakarta Tomcat SSL and continue to have some wierdness going on... Our current SSL cert expired and we get a warning dialog box each time we try to connect to this server about the expiration.. naturally. I generated a new cert request utilizing keyt

Embedded Tomcat - adding Connectors on the fly

2005-04-26 Thread Sander A. Smith
I have a copy of Tomcat embedded inside my application, and it runs great. During the processing, I'd like to open another port to service requests on. The documentation on the Embedded object states: "After normal operations have begun, you can add and remove Connectors, Engines, Hosts, and Co

RE: Newbie Question: conext.xml

2005-04-26 Thread Fritz Schneider
Bob, Welcome, fellow newbie! I struggled with this one also. It turns out that the element for a root directory MUST be nested inside the element in server.xml. The relevant documentation reads: "You may define as many Context elements as you wish. Each such Context MUST have a unique context p

Re: SSL

2005-04-26 Thread midnightjava
Just a shot in teh dark, but could the client be caching the cert? > > From: [EMAIL PROTECTED] > Date: 2005/04/26 Tue PM 04:18:21 EDT > To: tomcat-user@jakarta.apache.org > Subject: SSL > > Tomcat Users, > > I have followed the How-To for Jakarta Tomcat SSL and continue to have > some wierdness

Re: AW: All threads (250) are currently busy

2005-04-26 Thread Paul Grimwood
This post has gone quiet, yet this is still a major problem for us in out live environment. Does anyone know the reason/solution (please see original post)? If so, please be more expansive than saying 'if you set it up right, it will work'. cheers Paul "Patty O'Reilly" <[EMAIL PROTECTED]

Re: SSL

2005-04-26 Thread jejones
I exited and restarted the browser each time.. so I doubt it. -also had another person try.. browser is the latest Mozilla. -jrj [EMAIL PROTECTED] wrote: Just a shot in teh dark, but could the client be caching the cert? From: [EMAIL PROTECTED] Date: 2005/04/26 Tue PM 04:18:21 EDT To: tomcat-

Re: SSL

2005-04-26 Thread jejones
I am wondering if the cert gets rolled into a .jar file, and the old keystore stomps on my new cert upon server startup? -jrj [EMAIL PROTECTED] wrote: Tomcat Users, I have followed the How-To for Jakarta Tomcat SSL and continue to have some wierdness going on... Our current SSL cert expired and

Re: Newbie Question: conext.xml

2005-04-26 Thread Bob Bronson
Hello Fritz, Thank you for the welcome. I have comments below - Original Message - From: "Fritz Schneider" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" ; "'Bob Bronson'" <[EMAIL PROTECTED]> Sent: Tuesday, April 26, 2005 3:22 PM Subject: RE: Newbie Question: conext.xml Bob, Welcome,

Re: SSL

2005-04-26 Thread Jason Bainbridge
On 4/26/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I generated a new cert request utilizing keytool, sent that to verisign, > they returned the cert. Then I created a new keystore file, first > importing a chaincert, then importing the new cert. When I stop the > server, move the keystore

Re: Newbie Question: conext.xml

2005-04-26 Thread Hassan Schroeder
Fritz Schneider wrote: Welcome, fellow newbie! I struggled with this one also. It turns out that the element for a root directory MUST be nested inside the element in server.xml. No, no, no. That's simply not true. I have multiple installations of 5.5.x systems running and not one has a Context

Re: AW: All threads (250) are currently busy

2005-04-26 Thread Jason Bainbridge
On 4/26/05, Paul Grimwood <[EMAIL PROTECTED]> wrote: > This post has gone quiet, yet this is still a major problem for us in out > live environment. Does anyone know the reason/solution (please see > original post)? If so, please be more expansive than saying 'if you set it > up right, it will work

Re: SSL

2005-04-26 Thread jejones
Actually, I did not start with the old cert. I generated a completely new cert, started with the chaincert, then imported the new cert that verisign sent back. This is the connector tect: Here are the steps I used to generate the cert: keytool -genkey -keyalg RSA -alias tomcat –keystore //exp

Re: SSL

2005-04-26 Thread jejones
Sorry, the thawrt sting is in there by error and some extra forward slashes.. [EMAIL PROTECTED] wrote: Actually, I did not start with the old cert. I generated a completely new cert, started with the chaincert, then imported the new cert that verisign sent back. This is the connector tect: H

Re: SSL

2005-04-26 Thread Jason Bainbridge
On 4/26/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Actually, I did not start with the old cert. I generated a completely > new cert, started with the chaincert, then imported the new cert that > verisign sent back. > > This is the connector tect: > > className="org.apache.coyote.tomcat4.

Re: SSL

2005-04-26 Thread jejones
Finially, some progress; but not exactly what I wanted... I made the "F" uppercase, stopped/started the server; now it's refusing connections. This is from the log file: Apr 26, 2005 2:19:46 PM org.apache.tomcat.util.net.PoolTcpEndpoint acceptSocket SEVERE: Endpoint [SSL: ServerSocket[addr=0.0

Re: SSL

2005-04-26 Thread Jason Bainbridge
On 4/26/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Finially, some progress; but not exactly what I wanted... I made the "F" > uppercase, stopped/started the server; now it's refusing connections. > This is from the log file: > > Apr 26, 2005 2:19:46 PM org.apache.tomcat.util.net.PoolTcpEnd

Re: Newbie Question: conext.xml

2005-04-26 Thread Bob Bronson
Hassan, I know you are 100% correct... But using the "$CATALINA_HOME/conf/{engine}/{hostname}/ROOT.xml" approach is only one of 4 documented approaches (and the only approach I was able to get working). Why don't the other three work? And why can't I name the file "context.xml", as the document

Re: Newbie Question: conext.xml

2005-04-26 Thread Hassan Schroeder
Bob Bronson wrote: But using the "$CATALINA_HOME/conf/{engine}/{hostname}/ROOT.xml" approach is only one of 4 documented approaches (and the only approach I was able to get working). Why don't the other three work? Well, I'm absolutely certain that this: 4: {appbase}/{docbase}/META-INF/context

Re: SSL

2005-04-26 Thread jejones
Is there a way to look at the contents of the keystore file? -jrj Jason Bainbridge wrote: On 4/26/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Finially, some progress; but not exactly what I wanted... I made the "F" uppercase, stopped/started the server; now it's refusing connections. This i

Tomcat creating new sessions between Servlet->JSP request dispatch under load

2005-04-26 Thread Riyad Kalla
The subject is sort of a brain dump of what is going on, let me explain what is happening: Setup: ControllerServlet loads page content from DB and stores it in the session under a well known key, then it uses a requestDispatcher to send control to the appropriate JSP to render the content. So it l

Finding xalan and xerces on Linux

2005-04-26 Thread David B. Saul
Installed TC 5.5.7 on Windows Created page using JSTL ( jstl.jar and standard.jar ) Did not need to add xalan or xerces especially since they are now included in Java 1.5. Deployed to Linux Used same versions of all components ( TC, JSTL, JAVA-JDK & JRE) I had to add the xalan and xerces in the

Re: Finding xalan and xerces on Linux

2005-04-26 Thread Riyad Kalla
Silly question, but are you sure you were using JDK 1.5.0+ on your Linux install? Tomcat might have picked up a different version of it, or even GCJ. -Riyad On 4/26/05, David B. Saul <[EMAIL PROTECTED]> wrote: > Installed TC 5.5.7 on Windows > Created page using JSTL ( jstl.jar and standard.jar )

(Fwd) Session attributes disappear between .jsp pages

2005-04-26 Thread Greg Vilardi
For the record, I figured this out. Our webapp was automatically reloading every 15 seconds, and that was killing our non serializable objects out of the sessions. Now, does anyone know why a single .jar file that is __NOT__ changing, might cause a context reload to occur? The jar is provided

Re: SSL

2005-04-26 Thread Jason Bainbridge
On 4/26/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Is there a way to look at the contents of the keystore file? > > -jrj keytool -list -v -keystore /path/to/.keystore > allcerts.txt Should do it if I got the syntax right... -- Jason Bainbridge http://kde.org - [EMAIL PROTECTED] Persona

RE: (Fwd) Session attributes disappear between .jsp pages

2005-04-26 Thread Caldarale, Charles R
> From: Greg Vilardi [mailto:[EMAIL PROTECTED] > Subject: (Fwd) Session attributes disappear between .jsp pages > > For the record, I figured this out. Our webapp was > automatically reloading every 15 seconds Only guessing, but: Is the reloadable attribute in this webapp's element enabled?

Re: Tomcat creating new sessions between Servlet->JSP request dispatch under load

2005-04-26 Thread Andre Van Klaveren
Riyad, You should not be using the Session object to store your DTO for display. Especially if you are forwarding the request to a JSP. The Session object should only be used to store data that is required to remain in server memory between client requests. I would place your DTO in the Request

RE: Finding xalan and xerces on Linux

2005-04-26 Thread David B. Saul
Yes - 1.5 was installed before TC. -Original Message- From: Riyad Kalla [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 26, 2005 3:28 PM To: Tomcat Users List Subject: Re: Finding xalan and xerces on Linux Silly question, but are you sure you were using JDK 1.5.0+ on your Linux install?

Problems declaring same with diff names

2005-04-26 Thread Meghana Joglekar
Hi, We are trying to integrate 2 products, both running on tomcat. They both use same servlet class but refer to using different . here is a snippet from web.xml -- control

Re: difference between tomcat 5.0 and tomcat 5.5

2005-04-26 Thread Patrick Lacson
I just want to let everyone know that I'm ignoring this post. On 4/26/05, Mark Thomas <[EMAIL PROTECTED]> wrote: > Posting multiple copies of the same message and posting the same message > to both the tomcat-user and the tomcat-dev lists is a sure-fire way to > make sure your message is ignored

HTTP/POST request body dump

2005-04-26 Thread Tuan, Frank
Hi, Can I configure Tomcat to dump the body of HTTP/POST requests into some kind of request log? I would like to dump all of the request body of a SOAP web service that I'm working on. I'm using Tomcat 5.0.28. Thanks in advance, Frank -

Re: HTTP/POST request body dump

2005-04-26 Thread Tim Funk
Nope. -Tim Tuan, Frank wrote: Hi, Can I configure Tomcat to dump the body of HTTP/POST requests into some kind of request log? I would like to dump all of the request body of a SOAP web service that I'm working on. I'm using Tomcat 5.0.28.

configuration tips / tomcat 4.1 / mod_jk2

2005-04-26 Thread mbneto
Hi, I am trying to understand what options should I configure in my tomcat/mod_jk2 enviroment in order to host jsp-enabled sites. I use apache 2 with virtual hosts. any tips would be great. - To unsubscribe, e-mail: [EMAIL PROT

remote restart of tomcat 5.5.x

2005-04-26 Thread quentin . compson
i would like to be able to remote restart tomcat (maybe eventually through ant) but i can find no doc on how to do it. env: windows 5.5.x apache modjk no ssh on windows (yet) -- yes i see that the doc is here: http://jaka

Getting Log4JLogger errors when attempting to start web app

2005-04-26 Thread Franklin Phan
I have not been able to start my web app. I am using Tomcat 5.0.?. Everytime I go to the URL, I get "The requested resource (/xyz) is not available" error. I go to look in the launcher.server.log file and see the following: SEVERE: Exception sending context initialized event to listener instance

  1   2   >