Re: mod_jk2, load balancing with two tomcats favors a single servlet engine

2003-11-18 Thread David Rees
Bernhard Erdmann wrote: running Apache 2.0.47 / mod_jk2 2.0.2 / Tomcat 4.1.24 on RedHat Linux 8.0 with two instances of Tomcat having an identical webapps tree. The "second" servlet engine never gets as many sessions as the "first" servlet engine. I wrote a script to record the session counter a

Re: RH9 fixes sig 11 with Apache2/Tomcat4/JVM1.4X/RH8??

2003-11-18 Thread David Rees
David Muller wrote: 2X Intel(R) Xeon(TM) CPU 2.40GHz with hyperthreading on Downloaded binaries for Apache2.0.47 & modjk2 RH Linux 8 - Linux 2.4.18-14smp #1 SMP Wed Sep 4 12:34:47 EDT 2002 i686 i686 i386 GNU/Linux IBM JDK 1.4.1 We tried LD_KERNEL_ASSUME=2.2.5 on Sun JVM but it didn't seem to hav

Re: Many process on Red Hat

2003-11-18 Thread David Rees
Chong Yu Meng wrote: Did you set this environment variable : export LD_ASSUME_KERNEL=2.2.5 I think you'll need it. Not necessary on RedHat 7.3 which the original poster reported he was using. -Dave - To unsubscribe, e-mail: [EMAI

Re: double slash before context reveals source in latest tomcat3? (apache 1.3.27)

2003-11-18 Thread Sean Utt
Thanks, That was my suspicion! Sean - Original Message - From: "Bill Barker" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, November 18, 2003 8:01 PM Subject: Re: double slash before context reveals source in latest tomcat3? (apache 1.3.27) > There was a bug like this in m

RE: Virtual Host to Redirect

2003-11-18 Thread Boemio, Neil \(GEI, FGI\)
I need for the url address in the client's browser to change to our main domain. A redirect (ReWrite) is needed to do this. The Apache ReWrite for JSP pages is not happening because of the connector sending *.jsp to Tomcat. -Original Message- From: George Sexton [mailto:[EMAIL PROTECTE

Server configuration denies access to data sourceConnection

2003-11-18 Thread somashekara D M
Hi all, I'm stuck up with simple problem, when I try to access the table through JSP program and got a error message as *"java.sql.SQLException: Server configuration denies access to data sourceConnection returned NUll.Stopping service Tomcat-Standalone" *It's OK from mysql client acc

RE: Virtual Host to Redirect

2003-11-18 Thread George Sexton
Why don't you just set the DNS so that all hosts resolve to the same machine, and then set the default virtual host to have the files you want in it? George Sexton MH Software, Inc. Home of Connect Daily Web Calendar Software http://www.mhsoftware.com/connectdaily.htm Voice: 303 438 9585 -Or

Installation problem

2003-11-18 Thread [EMAIL PROTECTED]
Sorry to bother you with this elementary question. But being a neebie I am finding difficulties in installing tomcat 5.0 1. I ran the installation file for installing the tomcat 5.0. 2. Then I ran the j2sdk setup file , since tomcat was asking for a JVM. 3. i. Now, i clicked the "Start Tomcat" ic

Re: Bit off topic : What happened to RedHat?

2003-11-18 Thread Gerald Henriksen
On Tue, 18 Nov 2003 23:07:49 -0500, you wrote: > There are 3 big changes with Fedora: Forgot, one more major change that hasn't yet show results but likely will be Fedora Core 2 or 3. The community is now actively participating in the development of Fedora Linux and work has begun to support it

Re: Bit off topic : What happened to RedHat?

2003-11-18 Thread Gerald Henriksen
On Tue, 18 Nov 2003 10:51:27 -0500, you wrote: >created the Fedora project (http://fedora.redhat.com/). Apparently, >reviews of the "Core 1", released just recently, where pretty weak. At least one review was picked apart on slashdot for many inaccuracies that led to an extremely flawed review.

Re: Bit off topic : What happened to RedHat?

2003-11-18 Thread Gerald Henriksen
On Tue, 18 Nov 2003 16:54:01 +1100, you wrote: >Hi, does anyone know what happened to RedHat, its mailing list and >forum? They are all still available through the Red Hat website. You can also check out http://fedora.redhat.com for more info about the new distribution Red Hat is putting out. >

Re: Bit off topic : What happened to RedHat?

2003-11-18 Thread achana
> I have never had a problem with 3Com or Linksys hardware. Excuse my > ignorance, but what do you mean by 'WLAN'? IS this hardware different > from standard 100baseT etnernet? Wireless LAN IEEE802.11b/g operating at 2.4GHz spectrum and effective up to a distance of 100meters @ 54mbps, in this in

Re: setUserPrincipal

2003-11-18 Thread Bill Barker
"Christopher Schultz" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Gary, > > > I'm going around google circles... Within a servlet how do you go about > > creating a java.security.Principal given a username and password? i.e. > > how-to login within a servlet given a username and

Re: double slash before context reveals source in latest tomcat3? (apache 1.3.27)

2003-11-18 Thread Bill Barker
There was a bug like this in mod_jk prior to 1.2.5. If that's the case, then Tomcat4 won't help you since it is Apache that is serving the source (which is the usual case with this type of bug :). Try upgrading to mod_jk 1.2.5. "Sean Utt" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTE

Re: Bit off topic : What happened to RedHat?

2003-11-18 Thread Christopher Schultz
Think I might just splurge and *buy* a copy of RH9. Well, there's no reason to buy it, unless you want to pay RedHat extra to support it for you (which they might do). You can still get the RH iso images online, right? And now this is very strange indeed: I was asked to implement a WLAN, and af

Re: TC Case Sensitivity Question

2003-11-18 Thread Christopher Schultz
Art, Can anyone provide better insight on how to remove case sensitivity from the configuration? Ugh. Well, URLs are case-sensitive by the spec, so I'm not sure why you'd want to do this... or examples on how to bypass; I did see a 404 redirector, but that sounds awfully unnecessary. The 404 red

Re: RH9 fixes sig 11 with Apache2/Tomcat4/JVM1.4X/RH8??

2003-11-18 Thread Christopher Schultz
David, 2X Intel(R) Xeon(TM) CPU 2.40GHz with hyperthreading on Downloaded binaries for Apache2.0.47 & modjk2 RH Linux 8 - Linux 2.4.18-14smp #1 SMP Wed Sep 4 12:34:47 EDT 2002 i686 i686 i386 GNU/Linux Try using a single-processor kernel, turning off hyperthreading, and compiling Apache and mod_

double slash before context reveals source in latest tomcat3? (apache 1.3.27)

2003-11-18 Thread Sean Utt
Hello all,   I looked around on the web to see if this was a known problem, but didn't find any reference to double slash problems since 3.2. I am hoping to avoid going to tomcat4 right now because there were alot of configuration changes that I don't want to deal with, and other than this ra

Re: https --> http session problem

2003-11-18 Thread Henrik Bentel
I ran into this issue about 2 years ago and posted the same question. Had an application which had 3 different types of users: One group should be authenticated using https only to protect password, then switch to http, but sometimes switch back to https again. Other group should be authenticated

TC Case Sensitivity Question

2003-11-18 Thread D'Alessandro, Arthur
I have done my due diligence on the net looking into this question, however was unable to locate a definitive answer regarding tomcat and case sensitivity with webapps URL mappings. Can anyone provide better insight on how to remove case sensitivity from the configuration? or examples on how to

Re: Bit off topic : What happened to RedHat?

2003-11-18 Thread achana
Thanks. Since they are servers (Apache + TC4 + database setup) , most are custom installs without the bloat ware. In any case, BSD-Unix is *my* only other acceptable choice, so there's no flame war ;-) I've not come across anyone willing to stick his neck out on NT/W2000 $erver running Apache a

Re: mod_jk2 tomcat4.1.29 apache2.0.48

2003-11-18 Thread Julio César Mejia Vergara
Hi, Here is how i configured ir with Apache 2.0.47 and Tomcat 4.1.27 on a Solaris 7 SPARC. Julio #cd /opt/temp #cp apache-ant-1.5.4-bin.tar.gz /opt #cp tomcat-4.1.27.tar.gz /opt #cd /opt #gunzip apache-ant-1.5.4-bin.tar.gz #tar -xvf apache-ant-1.5.4-bin.tar #gunzip tomcat-4.1.27.tar.gz #tar -xv

JK2 Build Error

2003-11-18 Thread Bill R
I am sure you all have heard this before, and can give me some direction on how to solve this problem. When I go to 'make' the jk2 module, I get the following build error: /usr/bin/ld: cannot find -lapr-0 collect2: ld returned 1 exit status I am running Redhat 9 jakarta-tomcat-5.0.14 apache 2.0

mod_jk2 tomcat4.1.29 apache2.0.48

2003-11-18 Thread pablo garaitonandia
Hey Folks, I am having a bit of a challenge setting up mod_jk2 . It seems very different from its predecessor mod_jk. I try putting diectives in my httpd.conf just like I did with mod_jk and all I get is an error stating that the objective is for a module that does not exist or it is mi

Virtual Host to Redirect

2003-11-18 Thread Boemio, Neil \(GEI, FGI\)
I have a sever with 2 IPs. One of the IPs (say 1.2.3.4) is going to be used as a redirector to point all our domains to one main domain. Example: Typing in another.name.com will send the browser to my.main.com another.name.com/somepage.jsp will send the browser to my.main.com

RE: RH9 fixes sig 11 with Apache2/Tomcat4/JVM1.4X/RH8??

2003-11-18 Thread David Muller
2X Intel(R) Xeon(TM) CPU 2.40GHz with hyperthreading on Downloaded binaries for Apache2.0.47 & modjk2 RH Linux 8 - Linux 2.4.18-14smp #1 SMP Wed Sep 4 12:34:47 EDT 2002 i686 i686 i386 GNU/Linux IBM JDK 1.4.1 We tried LD_KERNEL_ASSUME=2.2.5 on Sun JVM but it didn't seem to have an effect. We a

Re: Tomcat 4.0.4 slow startup time

2003-11-18 Thread Deepak Parbhoo
I wouldn't be concerned about the struts one - its pretty quick as it only reads the struts config file and instantiates some objects based on that. [EMAIL PROTECTED] wrote: No databases. This is pretty consistent no matter when I try and start/restart this thing. It always takes forever no mat

RE: Tomcat 4.0.4 slow startup time

2003-11-18 Thread talley_angelina
No databases. This is pretty consistent no matter when I try and start/restart this thing. It always takes forever no matter what's going on on the system. As for initializations, I don't call any servlets, but maybe Struts does... -Original Message- From: Deepak Parbhoo [mailto:[EMAIL PRO

Re: Tomcat 4.0.4 slow startup time

2003-11-18 Thread Deepak Parbhoo
Check on the load of the machine when you are running tomcat. I know redhat builds an index of its filesystem at a scheduled time. Look for processors like this: the 'top' command is useful. The other thing to check is do you have any initializations for your application? Does your applicat

Replacing the JCE provider

2003-11-18 Thread Michael Jeffrey Tucker
Hi, I have gone through the mailing list archives, but I haven't found anything definitive on how to go about replacing the JCE provider for Tomcat's version of JSSE. My project requires that extremely large keys be used for SSL, beyond the size that is supported by the Sun implementation (I nee

Tomcat & OpenJMS Design Pattern?

2003-11-18 Thread Gavin, Rick
Hi All, Just wondering if any could post a working design pattern for using openJMS or another open JMS engine with tomcat, preferably a model using asynchronous queue message handling. I figured someone around here has done it and I would rather use a tried and true model. Looking for some

RE: Tomcat 4.0.4 slow startup time

2003-11-18 Thread talley_angelina
The hardware is a 450MHz Pentium 3 with 512 MB RAM running Red Hat Linux 7.2. It's a setup we've worked with for awhile, but I've started getting a lot of complaints recently about it. There is only one application being deployed. It's Struts based with a few applets thrown in for good measure. -

Re: Tomcat 5, session replication problem

2003-11-18 Thread Filip Hanik
this is a connection refused over TCP port. send the startup log, and you will see the offending member. This usually is a misconfigured IP address on the localhost. one of your nodes are probably broadcasting the wrong IP. Filip - Original Message - From: <[EMAIL PROTECTED]> To: "Tomcat

Re: Tomcat 4.0.4 slow startup time

2003-11-18 Thread Christopher Schultz
Angelina, Hello! We're running Tomcat 4.0.4 behind Apache 1.3.27 on Linux using mod_jk. I've noticed really long startup times for Tomcat on our system, even though we already have the ROOT.war uncompressed. Here's a stupid question: what kind of hardware do you have? Also, how many applications

Re: Timezone setting in Tomcat

2003-11-18 Thread Tim Funk
Which os? If unix, what is the TZ variable set to at startup? What happens if you use use JAVA_OPTS and set the timezone via command line -DI.DONT.KNOW.THE.TZ.VAR ?? -Tim McClure, Timothy J(IndSys, GE Interlogix) wrote: I am retrieving and default timezone through the java API from a jsp page an

help::org.apache.xml.utils.WrappedRuntimeException

2003-11-18 Thread jack lee
My web application uses its own Xerces and Xalan libraries. In other words, I put those librairies under WEB-INF/lib directory. But When I am trying to run my sevlet which has following code: try { TransformerFactory xformFactory = TransformerFactory.newInsta

Tomcat 4.0.4 slow startup time

2003-11-18 Thread talley_angelina
Hello! We're running Tomcat 4.0.4 behind Apache 1.3.27 on Linux using mod_jk. I've noticed really long startup times for Tomcat on our system, even though we already have the ROOT.war uncompressed. During this time, all the user can see is an Internal Server Error page until Tomcat is ready. Note

Re: Tomcat 5, session replication problem

2003-11-18 Thread Christopher Schultz
Tom, I think you're right, I'm using a company owned laptop. How would I check to see if the port number is working? I assume it's the mcastPort="45564" I tried a ping but that didn't work. Well, you can't ping a port, but you can telnet to it: $ telnet host portnum And see if you can connect

Re: Tomcat 5, session replication problem

2003-11-18 Thread tuong . d . ly
I think you're right, I'm using a company owned laptop. How would I check to see if the port number is working? I assume it's the mcastPort="45564" I tried a ping but that didn't work. Thanks, Tom Christopher Schultz <[EMAIL PROTECTED]> 11/18/2003 01:01 PM Please respond to "Tomcat Users L

Re: Where does JSP fork=true get set in the code?

2003-11-18 Thread Filip Hanik
if you precompile your JSPs (see http://cvs.apache.org/~fhanik/precompile.html) that is the workable workaround. for your real question, have no answer yet :) Filip - Original Message - From: "Jeff Tulley" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, November 18, 2003 1:49 P

RE: Can someone recommend a hardware device to Load Balance Tomcat

2003-11-18 Thread Asif Chowdhary
Hi John, Thank you very much. Its a great help. -Original Message- From: John Moore [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 18, 2003 4:52 PM To: 'Tomcat Users List' Subject: RE: Can someone recommend a hardware device to Load Balance Tomcat We use Foundry ServerIron to LB apa

Where does JSP fork=true get set in the code?

2003-11-18 Thread Jeff Tulley
I am experiencing bad memory problems doing load testing with just some of the example servlets and JSPs. Correction: The memory problems only occur if JSPs are in the mix, servlets seem to be fine. So, following the advice often given on this list, I set fork to false in web.xml. This made no

RE: Can someone recommend a hardware device to Load Balance Tomc at

2003-11-18 Thread John Moore
We use Foundry ServerIron to LB apache servers but it could also be used for Tomcat. I assume you want a HW based solution so you can get more options to distribute load than what the mod_jk's provide. If not, we've used mod_jk to balance multiple apache servers to multiple tomcat instances fo

RE: Can someone recommend a hardware device to Load Balance Tomcat

2003-11-18 Thread Asif Chowdhary
Hi Filip, Will there IronServer load balance tomcat instances as well. Is anybody using such a configuration. Thanks Again. Asif -Original Message- From: Filip Hanik [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 18, 2003 4:43 PM To: Tomcat Users List Subject: Re: Can someone recomme

Re: Can someone recommend a hardware device to Load Balance Tomcat

2003-11-18 Thread Filip Hanik
foundry networks, good stuff Filip - Original Message - From: "Asif Chowdhary" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, November 18, 2003 1:37 PM Subject: Can someone recommend a hardware device to Load Balance Tomcat Hi, I would like to put an apache server which for

cgi-problem

2003-11-18 Thread rufio
Hi! I try to set up some cgis and it doesn't work. Using default settings tomcat looks them in tomcat_root_context_dir/WEB-INF/cgi, so I put the script in that dir but tomcat returns empty page and there is error in the logs: 2003-11-18 19:52:44 cgi: runCGI (stderr):Can't open perl script ""/opt/

Can someone recommend a hardware device to Load Balance Tomcat

2003-11-18 Thread Asif Chowdhary
Hi, I would like to put an apache server which forwards the requests to LoadBalancer which then distributes the load to various instances of Tomcat. I am looking for a hardware device which will do that? Any recommendations. Asif Chowdhary System Analyst x.eye incorporated Phone: (905) 624-

Timezone setting in Tomcat

2003-11-18 Thread McClure, Timothy J(IndSys, GE Interlogix)
I am retrieving and default timezone through the java API from a jsp page and instead of obtaining the operating system timezone as a default I am getting a different time zone. This only happens when I run under tomcat. Could someone please tell me what is going on? Thank in advance, Tim --

Re: Windows 98 me & Tomcat 5.0.12

2003-11-18 Thread Remy Maucherat
Colin McGuigan wrote: Hello, I wonder if anyone could help me. I have installed Tomcat 5.0.12 on my pc. It uses Microsoft 98 ME, is a PIII 866 and has 384 RAM. I have also installed j2sdk1.4.1_05. When I start Tomcat, the image with Apache Tomcat appears for a second or two and the Tomcat image ap

Re: RH9 fixes sig 11 with Apache2/Tomcat4/JVM1.4X/RH8??

2003-11-18 Thread Oscar Carrillo
To follow up a little. A great free memory tester is here: http://www.memtest86.com/ Oscar On Tue, 18 Nov 2003, Oscar Carrillo wrote: > What's your hardware? Are you running multiple processors? > > Do you compile your own Apache2 and mod_jk/mod_jk2? > > Have you tried compiling your own kern

Windows 98 me & Tomcat 5.0.12

2003-11-18 Thread Colin McGuigan
Hello, I wonder if anyone could help me. I have installed Tomcat 5.0.12 on my pc. It uses Microsoft 98 ME, is a PIII 866 and has 384 RAM. I have also installed j2sdk1.4.1_05. When I start Tomcat, the image with Apache Tomcat appears for a second or two and the Tomcat image appears in the task bar

Re: setUserPrincipal

2003-11-18 Thread Christopher Schultz
Gary, I'm going around google circles... Within a servlet how do you go about creating a java.security.Principal given a username and password? i.e. how-to login within a servlet given a username and password? You can't do what you want to do, here. You can't use app-level security to set the pri

Re: Many process on Red Hat

2003-11-18 Thread Chong Yu Meng
Did you set this environment variable : export LD_ASSUME_KERNEL=2.2.5 I think you'll need it. Regards, pascal chong Walter do Valle wrote: Hello all I'm running Tomcat 4.1 with IBM J2RE 1.3.0 on Red Hat Linux, but some times Tomcat turns crazy and open many process (about 80 - 90) and hangs. W

Re: Tomcat 5, session replication problem

2003-11-18 Thread Christopher Schultz
Tuong, I'm having problems with the session replication with Tomcat 5. I'm trying to cluster two Tomcat's across two machines. The first Tomcat starts fine, but whenever I start the second Tomcat on a different machine I get the errors shown below. I followed the directions exactly-have the

RE: Running a Service

2003-11-18 Thread Shapira, Yoav
Howdy, Quartz would be a good choice. Just take the code out of a servlet and put it into a little class that implements Runnable, and you're all set. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Karl Coleman [mailto:[EMAIL PROTECTED] >Sent: Tuesday, November 18,

RE: Connection failed from other computers

2003-11-18 Thread LOU, YONGMING (SBCSI)
Wendell, There is no firewall between the two computers. Both are on the same subnet and inside the firewall. The installedTomcat is a laptop. I tested in my home as well using wireless connection. Ping works fine in both cases. Tomcat starts and stop fine as an NT service. It just not let you

setUserPrincipal

2003-11-18 Thread Gary Hardy
I'm going around google circles... Within a servlet how do you go about creating a java.security.Principal given a username and password? i.e. how-to login within a servlet given a username and password? Thanks, gary... - To uns

RE: Running a Service

2003-11-18 Thread Karl Coleman
I checked out quartz and it looks like exactly what I need. Thanks. If my detailed description gives anybody aother ideas, please let me know. Thanks again. -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 18, 2003 3:07 PM To: Tomcat Users List Sub

RE: Running a Service

2003-11-18 Thread Karl Coleman
I apologize for being so broad. Let me be more specific. It might help some. We are running an intranet application running on apache and tomcat. It's all Java, using JSP and Servlets, and Struts. One function of the application is scanning in faxes. After being scanned, these documents are stor

RE: Connection failed from other computers

2003-11-18 Thread Wendell Holmes
Is there a firewall between the other computer and installedTomcat that might not allow traffic on 8088? Does Tomcat not start at all as an NT service, or does it have problems with .jsp files? Wendell -Original Message- From: LOU, YONGMING (SBCSI) [mailto:[EMAIL PROTECTED] Sent: Tuesd

java.lang.NoClassDefFoundError: javax/servlet/jsp/tagext/TagLibraryValidator

2003-11-18 Thread Anna Lissa Saupan
Hi, Any help will be greatly appreciated. My current server has the following environment: Tomcat Version => Apache Tomcat/5.0.12 JVM Version => 1.4.2-b28 JVM Vendor => Sun Microsystems Inc. Redhat Linux 9 OS Name => Linux OS Version => 2.4.20-8 OS Architecture => i386 Tag Library => 1.1

Re: RH9 fixes sig 11 with Apache2/Tomcat4/JVM1.4X/RH8??

2003-11-18 Thread Oscar Carrillo
What's your hardware? Are you running multiple processors? Do you compile your own Apache2 and mod_jk/mod_jk2? Have you tried compiling your own kernel from the more recent sources. Kernel 2.4 had some shaky releases and RedHat8 fell in the middle of it. Kernel 2.4.22 is the latest. Have you

RE: Running a Service

2003-11-18 Thread Shapira, Yoav
Howdy, You mean like a cron job? ;) Or the Windows Scheduler on windows, or a 3rd party tool like 12Ghosts Timer? Or do you mean already have a tomcat running around the clock but you'd like something to happen at 3am? A tool like Quartz (quarts.sf.net) would help... Yoav Shapira Millennium Ch

Running a Service

2003-11-18 Thread Karl Coleman
I need to run a process at a specific time every day, say 3:00am. How do you configure Tomcat to have a service running in the background.

Re: Many process on Red Hat

2003-11-18 Thread Walter do Valle
> Howdy, > I guess you're looking at "processes" using the top command? If so, > these are likely threads, not actual processes, and this may be normal. Ok. I'm using ps. About threads ok. > What triggers the spawning of all this threads? Sorry, what? > What version of RedHat are you using?

Tomcat terminated unexpectedly

2003-11-18 Thread Mauro Pencov
Hi, I?m have: - Tomcat 4.1.27 - JDK 1.4 - Apache 1.3.29 with mod_ssl - Windows 2k Server BD: Sql Server Enterprise. For some reason, some times to the day, the "Apache Tomcat 4.1" service crashes under Win2k without message in the log. I have one schedule configured to restart after 1 minutes, b

Re: Tomcat 4.1.29 Configuration ..

2003-11-18 Thread Harry Mantheakis
Hello > In html page, i have put action to "../servlet/Hello" I recall that you have registered your servlet in the deployment descriptor and mapped it to '/Hello' so you should be able to invoke that servlet without specifying 'servlet' in the URL path. You must also specify the context name

RE: Connection failed from other computers

2003-11-18 Thread LOU, YONGMING (SBCSI)
Ralf, I changed the port number from 8080 to 8088. everything works fine locally as long as I start tomcat as an application, not as a NT service. I did try connect it from another computer use http://ipaddress:8088/ It failed. Connection is refused. Yongming -Original Message- Fro

Tomcat 5, session replication problem

2003-11-18 Thread tuong . d . ly
Deear I'm having problems with the session replication with Tomcat 5. I'm trying to cluster two Tomcat's across two machines. The first Tomcat starts fine, but whenever I start the second Tomcat on a different machine I get the errors shown below. I followed the directions exactly-have the

RE: Bit off topic : What happened to RedHat?

2003-11-18 Thread Goehring, Chuck Mr., RCI - San Diego
Rumor was they were not going to allow free downloading of binaries. They have launched http://fedora.redhat.com as an open source project. It has binaries under a different naming/numbering scheme. I expect they will shut down ftp.redhat.org to the public. So, they may be stopping/re-org

Re: Connection failed from other computers

2003-11-18 Thread Ralf B
Hi, are you sure you are running Tomcat on port 8088? For that you need to modify server.xml. Standard is 8080 and if this port is taken already, the batch file will fail. If you want to access Tomcat from another computer you will need to use either its name or its IP address like: http://10.10

Re: Forcing SSL to handle requests

2003-11-18 Thread Tim Funk
If you use IE, you can use a XML validator on microsoft's site: http://msdn.microsoft.com/downloads/samples/internet/xml/xml_validator/validate_js.htm -Tim Christopher Schultz wrote: Deric, PARSE error at line 858 column 11 What's on line 858 of your web.xml file? org.xml.sax.SAXParseExceptio

Hosting SSL clients within Tomcat

2003-11-18 Thread Justin Brister
I am trying to open a connection to an SSL server hosting WebServices. I am using the Glue libraries to abstract away all the nasty Web Service stuff, and my WebService client is implemented as a Servlet. I have imported the SSL certificate into my .keystore If I run my client code as a stand-alon

Connection failed from other computers

2003-11-18 Thread LOU, YONGMING (SBCSI)
Hi, I installed tomcat 4.1.29 on window 2000 professional. I selected it as service. It starts and stops fine. But I can not access it from http://localhost:8088/ (8080 is used by another application). However it will work fine when I start tomcat from DOS or click

Re: URL rewriting question ..

2003-11-18 Thread Christopher Schultz
Mufaddal, Wouldnt it be nice a feature like this that one can turn on or off globally in a container like tomcat ? The existing way to granularly do it should remain, but a global way to do it would be nice .. Feel free to submit a patch :) -chris ---

Re: Forcing SSL to handle requests

2003-11-18 Thread Christopher Schultz
Deric, PARSE error at line 858 column 11 What's on line 858 of your web.xml file? org.xml.sax.SAXParseException: The content of element type "web-app" must match "(icon?,display-name?,description?,distributable?,context-param*,filter* ,filter- mapping*,listener*,servlet*,servlet-mapping*,session-

Re: Would this work? (Load Balance Question)

2003-11-18 Thread Tim Funk
Yes. And that is a prefered way to set things up. [Don't expose your app servers to the Internet if you don't have to.] -Tim David O'Brien wrote: I have one apache web server conversing with two separate tomcat servers with access a fourth MySql server. Could I set it up like this?

Re: mod_jk in multiple site environnement

2003-11-18 Thread Tim Funk
You define JkWorkersFile /projects/site1/conf/workers.properties once and only once. Then your JkMounts can be defined per vhost -Tim Mike Baroukh wrote: Hi. I am managing a server wich host many site. Each have it's own jvm. To make things simple, each site have a piece of httpd.conf wich is

RE: Many process on Red Hat

2003-11-18 Thread Shapira, Yoav
Howdy, I guess you're looking at "processes" using the top command? If so, these are likely threads, not actual processes, and this may be normal. What triggers the spawning of all this threads? What version of RedHat are you using? There have been a lot of RedHat NPTL-related issues reported r

Re: Forcing SSL to handle requests

2003-11-18 Thread Adam Hardy
On 11/18/2003 06:00 PM deric stroud wrote: Hi, I'm running a standalone Tomcat webserver 4.0.6 and am trying to force a resource on my web server to only serve a particular URL through SSL, so I've inserted the following lines in the web.xml file: Deric you have to maintain that order as well. You

Many process on Red Hat

2003-11-18 Thread Walter do Valle
Hello all I'm running Tomcat 4.1 with IBM J2RE 1.3.0 on Red Hat Linux, but some times Tomcat turns crazy and open many process (about 80 - 90) and hangs. When this happens, command "tomcat4 stop" does not work. It's necessary to kill process by process. At this time, I'm running seven differen

Re: https --> http session problem

2003-11-18 Thread Harry Mantheakis
Hello Chris Thank you so much for the feed-back. It is a very useful insight, and much appreciated! Kind regards Harry Mantheakis London, UK > Harry, >>> Option 1 is unacceptable -- the overhead of having all of these connections >>> encrypted is not a viable option. >> >> What are the 'overh

Re: Tomcat 4.1.29 Configuration ..

2003-11-18 Thread Christopher Schultz
Vaneet, Please see attachments Your attachments do not come through. Please paste all and elements from your web.xml into a post to the list. -chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

RE: JSTL Configuration

2003-11-18 Thread Shapira, Yoav
Howdy, Download a JSTL implementation by itself, e.g. from jakarta-taglibs. Put the jar in the WEB-INF/lib directory of your webapp, not in shared/lib or common/lib or any other place. Follow the standards JSTL instructions to add the JSTL library declarations to your WEB-INF/web.xml file. That'

Re: URL rewriting question ..

2003-11-18 Thread Mufaddal Khumri
Wouldnt it be nice a feature like this that one can turn on or off globally in a container like tomcat ? The existing way to granularly do it should remain, but a global way to do it would be nice .. On Tuesday, November 18, 2003, at 09:13 AM, Christopher Schultz wrote: Mufaddal, Are there som

Tomcat4.1 and i18n

2003-11-18 Thread Fernandez Angil Marian
Hi Friends I am trying to change my webserver from tomcat3.3 to tomcat4.1, but i have encountered a problem with jakarta_i18n, the pages are not reflecting the changes when i change the language. The whole code worked on tomcat3.3, Does anyone had the same problem? Any workaround or solutions?

Forcing SSL to handle requests

2003-11-18 Thread deric stroud
Hi, I'm running a standalone Tomcat webserver 4.0.6 and am trying to force a resource on my web server to only serve a particular URL through SSL, so I've inserted the following lines in the web.xml file: Protected Context /index CONFIDENTIAL

RE: Automatically instantiate Servlet

2003-11-18 Thread Ralph Einfeldt
Just one addition from the spec (2.4 pfd3): 'If the value is a negative integer, or the element is not present, the container is free to load the servlet whenever it chooses.' So what I said (wrote) is just true from zero on. > -Original Message- > From: Shapira, Yoav [mailto:[EMAIL PR

JSTL Configuration

2003-11-18 Thread Thyago Lisboa Mota
Do u know how to configure JSTL in Tomcat ? Is it just copying JSTL package to CATALINA_HOME/shared/lib ? And also, is there a single JSTL downloadable package at javasoft or I have to download the full J2EE SDK ? Thyago - To u

RE: WebappClassLoader won't load resource from jar file ?!?

2003-11-18 Thread Shapira, Yoav
Howdy, He's already doing that. I think the problem is in the argument to ClassLoader#getResourceAsStream, specifically the case of meta-inf should be all uppercase. But to be safe, put your resource in the top level of the jar and try getResourceAsStream("/data.xml"). Yoav Shapira Millennium C

RE: Would this work? (Load Balance Question)

2003-11-18 Thread Andreas Mohrig
Dave, although I have never set up such a configuration, I have thought about it quite a lot. This is exactly the thing I would try and I'm pretty much convinced that it should work. It is even quite attractive from a security point of view, because neither your tmocat servers nor your database-se

RE: Automatically instantiate Servlet

2003-11-18 Thread Shapira, Yoav
Howdy, Although be careful of depending on the order. It's undefined if there are multiple servlets with the same number, and negative values are permissible as well. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Ralph Einfeldt [mailto:[EMAIL PROTECTED] >Sent: Tue

RE: WebappClassLoader won't load resource from jar file ?!?

2003-11-18 Thread Jay Garala
Put the JARs in the WEB-INF/lib dir! -Original Message- From: Steph Richardson [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 18, 2003 11:34 AM To: Tomcat Users List Subject: WebappClassLoader won't load resource from jar file ?!? I have a web app containing resource files in severa

RE: Automatically instantiate Servlet

2003-11-18 Thread Ralph Einfeldt
No, it's a numeric value giving the start priority to define the order if you have more than one servlet to start. (The servlets are started in ascending order of this value) > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Tuesday, November 18, 2003 5:2

Would this work? (Load Balance Question)

2003-11-18 Thread David O'Brien
I have one apache web server conversing with two separate tomcat servers with access a fourth MySql server. Could I set it up like this? The Internet | | (real IP addresses) -- External Network | --- ---

WebappClassLoader won't load resource from jar file ?!?

2003-11-18 Thread Steph Richardson
I have a web app containing resource files in several jar files, but I am unable to access the resources at runtime unless they are exploded into the classes directory. When trying to access the resource files using ClassLoader.getResourceAsStream( "/meta-inf/com/kvasar/data.xml" ) I always get

RE: Automatically instantiate Servlet - solved :)

2003-11-18 Thread Ralf Bierig
Thank you very much! > Ralf, > > web.xml is the right place. You just have to put another entry in your > desired ... section: > > > [...] > 1 > > > The number specified determines the order the servlets are instantiated at > startup (if you instantiante more than one). > > G

Re: Automatically instantiate Servlet

2003-11-18 Thread Andoni
The one is the order in which you want numbered servlets to start up. Non-numbered servlets don't start until called. Andoni. - Original Message - From: <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Tuesday, November 18, 2003 4:22 PM Subject: Re: Automatically inst

RE: Tomcat 4.1.29 Configuration ..

2003-11-18 Thread Vaneet Sharma
Please see attachments -Original Message- From: Vaneet Sharma Sent: Tue 18/11/2003 17:22 To: Tomcat Users List Cc: Subject: RE: Tomcat 4.1.29 Configuration .. No, we are not using Tomcat as a webserver

Re: Automatically instantiate Servlet

2003-11-18 Thread ambiesense
Hi, thank you very much. It works. What do the "1" mean? Is it just a binary value 0 = off 1 = on ?? Cheers, Ralf > Ralf, > > > Can I tell > > Tomcat to instanciate a servlet directly after startup using a config > file > > (web.xml, server.xml)? > > > yourServlet > yourCla

  1   2   >