RE: Java NIO and IIs/IE ACK/NAK Requests

2003-01-07 Thread Jacob Hookom
Thanks for your comments Craig. I completely understand that there isn't any interest in accommodating MS's vacuous attempts at achieving an upper hand :-) -Jacob -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 08, 2003 12:55 AM To: Tomc

Tomcat running instances and fatal crash

2003-01-07 Thread Naba Kumar
Hi, When I start tomcat with $CATALINA_HOME/bin/startup.sh, I get some 27 instances of tomcat running (actually spawned processes). How can I limit the no. of initial tomcat processes? Also, is there any possibility that tomcat would crash without even logging the error if the system load is very

Re: Java NIO and IIs/IE ACK/NAK Requests

2003-01-07 Thread Craig R. McClanahan
On Wed, 8 Jan 2003, Jacob Hookom wrote: > Date: Wed, 8 Jan 2003 00:38:22 -0600 > From: Jacob Hookom <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Java NIO and IIs/IE ACK/NAK Requests > > Two things I'm wondering about: > > First, is ther

Re: include files in server.xml?

2003-01-07 Thread Bill Barker
You can use XML Entities to do it. There isn't a specific tag to include a file. "Matthew Boeckman" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I'm wondering if tomcat-4.1.12 supports include files, similair to > apache in the server.xml file? > > I have to

Java NIO and IIs/IE ACK/NAK Requests

2003-01-07 Thread Jacob Hookom
Two things I'm wondering about: First, is there any push to include the new NIO libraries or are they already included in the new Tomcat releases; if so, there has been some debate as to the actual benefit of them on UNIX based systems pertaining to performance over standard IO. Secondly, I was

Re: Java Bean Scope questions (a lengthy one)

2003-01-07 Thread Bill Barker
"Denise Mangano" <[EMAIL PROTECTED]> wrote in message 5D83C44941AFD4118B6F0002B302984F438636@EXCHANGE_SERVER">news:5D83C44941AFD4118B6F0002B302984F438636@EXCHANGE_SERVER... > Wow someone read all of that!! ;) > > For Question #1: I should have mentioned this before... I tried to use > session sco

Need RPM package for tomcat

2003-01-07 Thread James Schumacher
Hi, New to the list. Tried the FAQ and INFO but mailer said they were empty so please excuse if this is a duplicate. Need a recent (4.1.12) or later copy of tomcat to install in RPM format. Planned to install 4.1.16 but didn't get around to it. Now replaced by 4.1.18 but no RPM packages that

Re: JDBCRealm

2003-01-07 Thread Rick Fincher
Yeah, looks like you almost have it. The MD5'd password should be in pg_shadow in the userCredCol, passwd in this case. Be advised that you should either use only HTTPS for this, or run Tomcat on the same server as Postgres, or run them both on a secure net behind a firewall on separate machines

RE: mod_jk2, workers2.properties and httpd.conf

2003-01-07 Thread Turner, John
You have to decide: do I want all of my configuration in httpd.conf, or do I want my configuration in worker2.properties? If in httpd.conf: 1. LoadModule jk2_module modules/mod_jk2.so in httpd.conf 2. Use JkSet and JkUriSet to direct specific URLs to Tomcat If in worker2.properties: 1. LoadMo

RE: Java Bean Scope questions (a lengthy one)

2003-01-07 Thread Tim Moore
> -Original Message- > From: Denise Mangano [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, January 07, 2003 10:13 PM > To: 'Tomcat Users List' > Subject: RE: Java Bean Scope questions (a lengthy one) > > > Correction - I changed the scope to session and the error > messages DO appear, so t

RE: mod_jk2, workers2.properties and httpd.conf

2003-01-07 Thread Turner, John
doesn't go in httpd.conf. John -Original Message- From: Rafia Tapia [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 07, 2003 6:49 PM To: Tomcat Users List Subject: Re: mod_jk2, workers2.properties and httpd.conf ok I know my module is not getting loaded. I include the [uri:] comp

RE: mod_jk2, workers2.properties and httpd.conf

2003-01-07 Thread Turner, John
doesn't go in httpd.conf. It goes in worker2.properties, which is typically located in Apache's conf directory. If you want to do your configuration in httpd.conf, you would use, if I recall correctly, JkSet and JkUriSet. John -Original Message- From: Rafia Tapia [mailto:[EMAIL PROTE

RE: Getting on port 80 question

2003-01-07 Thread Turner, John
There is a line in server.xml that looks like this: And then farther down: That's a Host container. You want your Listener element within that container. The other Listener element goes under the line that looks like this: Nothing goes near Engine for ApacheConfig. John -Origina

RE: Java Bean Scope questions (a lengthy one)

2003-01-07 Thread Denise Mangano
Correction - I changed the scope to session and the error messages DO appear, so that is ok. But this caused a never ending loop in Retry.jsp and control never gets forwarded to Verify.jsp. And my code for populating the select boxes does not do what it should (should repopulate if there was an

RE: Java Bean Scope questions (a lengthy one)

2003-01-07 Thread Denise Mangano
Wow someone read all of that!! ;) For Question #1: I should have mentioned this before... I tried to use session scope at one point (don't recall the exact reason but I thought of it as an attempt to resolve a different problem). When I set the scope to session, it caused problems with my form v

RE: Non-ssl connector to port 80

2003-01-07 Thread Abhijat Thakur
On Linux if you have to bind to any port below 1024 then it needs to be done as root. I am guessing that you are starting up Tomcat as a non root user on Linux. That is why you cant bind to port 80 and can bind to port 8080. Hope this helps. -Original Message- From: Stephen Ting [mailto:[

RE: Java Bean Scope questions (a lengthy one)

2003-01-07 Thread Tim Moore
> -Original Message- > From: Denise Mangano [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, January 07, 2003 9:19 PM > To: 'Tomcat Users List' > Subject: Java Bean Scope questions (a lengthy one) > > > Question #1: Why does CCSubmit.jsp not have access to > formBean properties. I am thinkin

Java Bean Scope questions (a lengthy one)

2003-01-07 Thread Denise Mangano
She's back :) Was trying to give everyone a break from my endless questions - but I missed the learning too much ;) - plus I got stumped again :-P Now, I don't blame anyone for not wanted to sift through all this, but any help/advice is greatly appreciated :) Here's the latest (includes a lit

Non-ssl connector to port 80

2003-01-07 Thread Stephen Ting
I am running tomcat 4.1.8 on redhat 8 and having this problems when i try to bind the non-ssl connector to port 80, whereas if i bind to port 8080 i don't have this problems. Can anybody please help, i am linux novice so don't really knows the work around. Thanks Cheers Stephen Catalina.star

RE: Tomcat 4.1.18 + apache 2.0.43 mod_jk2 virtual hosting ?

2003-01-07 Thread Matt Raible
This article might help - near the bottom it describes setting up virtual hosts. Also checkout the workers.properties in the moddle of the doc. http://raibledesigns.com/tomcat Matt > -Original Message- > From: Morten Bøhmer [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, January 07, 2003 1

RE: enterprises that use Tomcat as Web Server.

2003-01-07 Thread Subir Sengupta
What makes you think that it is falsified :-) -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 07, 2003 4:15 AM To: Tomcat Users List Subject: Re: enterprises that use Tomcat as Web Server. Netcraft is one way to find out what web server a company is ru

Re: Sharing data between servlets

2003-01-07 Thread Lars Preben S. Arnesen
[ nobody ] > are they in the same webapp? Yes, for now. It might be useful to split them into different webapps later on. > your best best may be to create a singleton which acts as a datastore and > both the servlets can access Do you have a code example for this? (I'm still a servlet newbie.

Getting on port 80 question

2003-01-07 Thread Willard Farqwark
On Johns good HowTo, where in the xml file are the lines below? "" 3. in the Host container add the following Listener directive (yes, it looks very similar to the one above): " I have it in ""

RE: Tomcat 4.x and Java Processes

2003-01-07 Thread Mike Millson
On Linux "ps -fx" will not show the tomcat processes if tomcat is run under a different account. I think "ps -fx" just shows processes running under root??? To see all processes, I had to do "ps -fxa" to see my tomcat processes running under the tomcat4 account. Mike -Original Message- Fr

Re: JDBCRealm

2003-01-07 Thread Rasputin
* Rob Abernethy IV <[EMAIL PROTECTED]> [0154 21:54]: > OK. I was able to get clear-text passwords to work, but I still can't get > encrypted passwords to work. Using MD5 encryption, Tomcat is able to > successfully open a connection to the database using the JDBCRealm set up in > the server.xml, b

Re: mod_jk2, workers2.properties and httpd.conf

2003-01-07 Thread Rafia Tapia
ok I know my module is not getting loaded. I include the [uri:] component in and the server came up without any error but obviously I can't see tomcat stuff. Any suggestion why my module is not getting load by apache. I have put the module in /usr/lib/httpd/modules directory. - Original Messa

mod_jk2, workers2.properties and httpd.conf

2003-01-07 Thread Rafia Tapia
Hi all I have been reading jk2 documentation but some stuff is not clear to me. basically my question is what configuration goes in httpd.conf and what goes in workers.properties. When i include the component in the httpd.conf file, it complains that either I have missplled or the module is not lo

Re: Tomcat Still Doesn't Display Servlet!

2003-01-07 Thread Paul Campbell
If you do what is in these docs it WILL work. http://boats:8080/tomcat-docs/appdev/index.html It may take an hour to read and understand it and it may take half and hour to install ant and cut/paste the build.xml. Please just follow the directions. and you won't need to come back with "old hors

RE: Tomcat Still Doesn't Display Servlet!

2003-01-07 Thread Shrotriya, Sumit
its the web.xml that you edit...see my last post today for an example -Original Message- From: Steve R Burrus [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 07, 2003 5:45 PM To: [EMAIL PROTECTED] Subject: Tomcat Still Doesn't Display Servlet! Hello all, maybe I am "beating a dead hor

Tomcat Still Doesn't Display Servlet!

2003-01-07 Thread Steve R Burrus
Hello all, maybe I am "beating a dead horse" or something about trying/attempting to see or view a servlet/JSP in my favorite web browser, but I STILL CANNOT DO IT!!! Is it just me, am I the only one among all of the rest of you out there who just flat doesn't "get it" about being to see a servl

RE: new user: servlets dont run in new apps

2003-01-07 Thread Shrotriya, Sumit
Do you have a in your web.xml Something like this might do for you(Change the "MyClass" value accordingly) http://java.sun.com/j2ee/dtds/web-app_2.2.dtd";> MyClass MyClass MyClass MyClass /servlet/MyClass ~Sumit -Original Message- From: Geor

Re: mod_jk tomcat/apache connector issue

2003-01-07 Thread mlh
On Tue, Jan 07, 2003 at 02:45:22PM -0500, Turner, John wrote: > > Well, CoyoteConnector can support multiple protocols: JK, JK2, HTTP, HTTPS, > depending on how it's used, what port it is listening on, etc. > CoyoteConnector is enabled by default on port 8009 in Tomcat 4.1.x for > JK/JK2. If you

Re: File classes12.zip for Oracle on Tomcat ...

2003-01-07 Thread mlh
On Tue, Jan 07, 2003 at 10:10:36AM -0800, Goehring, Chuck Mr., RCI - San Diego wrote: > > > I had to rename them to .jar and put them in c:\ApacheTomcat\lib We made a symlink on Unix. Matt -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: mod_jk tomcat/apache connector issue

2003-01-07 Thread John Bullock
Well, I really hope someone's seen it before... I just downloaded the source and started over from scratch for the 4th time and ran into the same thing again... Don't you hate it when you know you're hung up on something so simple and obvious you can't see it? :( I'm manually checking out config.c

Re: JDBCRealm

2003-01-07 Thread Rob Abernethy IV
The connectionName and connectionPassword should be "tomcat" and "tomcat." The other name/password is left over from my clear-text attempts. -- Robert Abernethy IV Dynamic Edge, Inc. 734.975.0460 > OK. I was able to get clear-text passwords to work, but I still > can't get encrypted passwords

Re: How to organize your software in proper version control structure?

2003-01-07 Thread Charles Baker
--- "Craig R. McClanahan" <[EMAIL PROTECTED]> wrote: > > > On Tue, 7 Jan 2003, Will Hartung wrote: > > > Date: Tue, 7 Jan 2003 10:05:05 -0800 > > From: Will Hartung <[EMAIL PROTECTED]> > > Reply-To: Tomcat Users List > <[EMAIL PROTECTED]> > > To: Tomcat Users List > <[EMAIL PROTECTED]> > > Subj

Re: JDBCRealm

2003-01-07 Thread Rob Abernethy IV
OK. I was able to get clear-text passwords to work, but I still can't get encrypted passwords to work. Using MD5 encryption, Tomcat is able to successfully open a connection to the database using the JDBCRealm set up in the server.xml, but it is unable to authenticate users for the admin web app.

RE: GZIP filter problem....

2003-01-07 Thread Jacob Kjome
Hi Charlie, See comments below... Quoting "Cox, Charlie" <[EMAIL PROTECTED]>: > just noticed this. Two more lines reversed. Set the content lenght *before* > you write to the response. IE can be really anal if it doesn't know the > content length. > > you have: > > out.write(compressed.toByteA

Re: tomcat manager servlet

2003-01-07 Thread Erik Weibust
a few more questions. what about when i restart tomacat, will the app i installed be present? or will i have to re-install it? if i use deploy instead of install will this eliminate the problem of re-installing my app? erik --- "Craig R. McClanahan" <[EMAIL PROTECTED]> wrote: > > > On Tue, 7

include files in server.xml?

2003-01-07 Thread Matthew Boeckman
I'm wondering if tomcat-4.1.12 supports include files, similair to apache in the server.xml file? I have to support dozens of virtual hosts, and wanted to break each's config out into their own include. -- Matthew Boeckman (816) 777-2160 Manager - Systems Integration Saepio Technologies --

new user: servlets dont run in new apps

2003-01-07 Thread George Metz
what simple thing am i missing ? (probably something in the documentation, but i havent found it so far) PROBLEM: cannot get servlets to run in a NEW webapp. the ones that come with tomcat work ok, except for the sample servlet in the Developer's Guide. this built-in one doesnt run either: http:/

Re: tomcat manager servlet

2003-01-07 Thread Craig R. McClanahan
On Tue, 7 Jan 2003, Erik Weibust wrote: > Date: Tue, 7 Jan 2003 13:05:47 -0800 (PST) > From: Erik Weibust <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: tomcat manager servlet > > i am having problems grasping the differences between > th

Re: Tomcat 4.x and Java Processes

2003-01-07 Thread Wagner José Queiroz de Santana
Dear friends, I think its valuable to mention that when you use green threads you'll loose the benefits of SMP processing, I mean, your threads will run in a single processor even if your machine has more than one. "Troy J. Kelley" wrote: > Yes, sorry, I forgot to mention that. Are the

tomcat manager servlet

2003-01-07 Thread Erik Weibust
i am having problems grasping the differences between the manager functions install, deploy, remove, and undeploy. when would someone use install over deploy? is the only difference between remove and undeploy the fact that your files will be removed from the system with undeploy? thanks, erik

RE: mod_jk tomcat/apache connector issue

2003-01-07 Thread Turner, John
Sorry, still stumped. :) I will ping some of the folks here and see if anyone has ideas, but it probably won't help you much. John > -Original Message- > From: John Bullock [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, January 07, 2003 4:01 PM > To: 'Tomcat Users List' > Subject: RE: mod

RE: HELP, PLEASE! Tomcat creates too many threads!

2003-01-07 Thread Turner, John
Fortunately, he's one of the benevolent kind. LOL John > -Original Message- > From: Troy J. Kelley [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, January 07, 2003 3:54 PM > To: 'Tomcat Users List' > Subject: RE: HELP, PLEASE! Tomcat creates too many threads! > > > Cool. This is part of

RE: mod_jk tomcat/apache connector issue

2003-01-07 Thread John Bullock
There are two threads that split off from my original... Thread one is mainly to you about me not being able to compile mod_jk.so using the instructions on your site. Thread two is mainly to Adrian regarding attempting use of the mod_jk.so binary downloaded from jakarta. (This thread also had a

RE: RPMs [off topic: why rpm?]

2003-01-07 Thread Turner, John
Agreed. I'm not arguing, just saying that the typical RPM user isn't someone who is capable of building their own RPMs, yet somehow there is the perception that "RPMs are safe and easy" just because they do a lot of work with just one command and someone says "here's the RPM for product X". There

RE: HELP, PLEASE! Tomcat creates too many threads!

2003-01-07 Thread Troy J. Kelley
Cool. This is part of what I was looking for in my post. Thanks Craig. You rule. -Troy -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 07, 2003 3:28 PM To: Tomcat Users List Subject: RE: HELP, PLEASE! Tomcat creates too many threads! On

RE: mod_jk tomcat/apache connector issue

2003-01-07 Thread Turner, John
I'm stumped. You're getting this error with the mod_jk.so file from the Jakarta site? OR an old one from my site? John > -Original Message- > From: John Bullock [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, January 07, 2003 3:45 PM > To: 'Tomcat Users List' > Subject: RE: mod_jk tomcat/a

RE: Tomcat 4.x and Java Processes

2003-01-07 Thread Troy J. Kelley
Thanks. Nope, doesn't really bother me at all just trying to learn a bit more is all. The thing that got me thinking about this in the first place is that on an older version of Tomcat (4.1.12?) the init.d script for stopping tomcat supplied with the RPM wasn't killing off all of the processes...

RE: RPMs [off topic: why rpm?]

2003-01-07 Thread Jason Pyeron
forgot the most import issue, we use RPM/MSI for jar files. IMHO: You do have many valid points there. To justifty what we do here: We do not assume, the validity of any package (unless our support contract covers it). That said we role our own RPMs here. We put together systems (servers?

RE: mod_jk tomcat/apache connector issue

2003-01-07 Thread John Bullock
> > Everything looks fine with ld.so.1 > > > > # echo $LD_LIBRARY_PATH > > /usr/local/lib:/usr/dt/lib:/usr/openwin/lib:/usr/lib -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 07, 2003 2:40 PM To: 'Tomcat Users List' Subject: RE: mod_jk tomcat/apache

RE: RPMs [off topic: why rpm?]

2003-01-07 Thread Jason Pyeron
IMHO: You do have many valid points there. To justifty what we do here: We do not assume, the validity of any package (unless our support contract covers it). That said we role our own RPMs here. We put together systems (servers?) for our clients. We need the assurance that we can deplo

RE: mod_jk tomcat/apache connector issue

2003-01-07 Thread Turner, John
Ooops, my bad. Sorry about that. What's the value of LD_LIBRARY_PATH in your environment? John > -Original Message- > From: John Bullock [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, January 07, 2003 3:39 PM > To: 'Tomcat Users List' > Subject: RE: mod_jk tomcat/apache connector issue >

RE: GZIP filter problem....

2003-01-07 Thread Cox, Charlie
just noticed this. Two more lines reversed. Set the content lenght *before* you write to the response. IE can be really anal if it doesn't know the content length. you have: out.write(compressed.toByteArray()); response.setContentLength(compressed.size()); it is possible that the default servlet

RE: mod_jk tomcat/apache connector issue

2003-01-07 Thread John Bullock
ldconfig is a linux-based configurable run-time linking system, right? I'm on Solaris 8 (which is coincidentally how I found your how-to) The solaris equivalent is.. crle it looks like although I'm not sure how it is used. Versions: Solaris 8 gcc 2.95.3 libtool 1.4 tar 1.13.19 tomcat connectors

RE: Tomcat 4.x and Java Processes

2003-01-07 Thread Rob A. Augustinus
Not sure if someone mentioned this but you cat try "ps fx" To see which process is the parent and which are the childs.. Rob -Original Message- From: Troy J. Kelley [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 07, 2003 12:21 To: 'Tomcat Users List' Subject: RE: Tomcat 4.x and Java

Re: Tomcat 4.x and Java Processes

2003-01-07 Thread Craig R. McClanahan
On Tue, 7 Jan 2003, Troy J. Kelley wrote: > Date: Tue, 7 Jan 2003 15:07:03 -0500 > From: Troy J. Kelley <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Tomcat 4.x and Java Processes > > I've been looking all over for the answer to this and

RE: Tomcat 4.x and Java Processes

2003-01-07 Thread Ben Ricker
On Tue, 2003-01-07 at 14:21, Troy J. Kelley wrote: > Yes, sorry, I forgot to mention that. Are there options for threading > on linux? I think on Solaris, you can do "green" or native threads. If > so, would a change in this setting reduce the JVM to a single pid? > > Thanks for the quick reply

RE: Sharing data between servlets

2003-01-07 Thread Ricardo_Bosch
are they in the same webapp? your best best may be to create a singleton which acts as a datastore and both the servlets can access -rick -Original Message- From: Lars Preben S|rsdahl Arnesen [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 07, 2003 2:54 PM To: [EMAIL PROTECTED] Subject

Re: How to organize your software in proper version control structure?

2003-01-07 Thread Craig R. McClanahan
On Tue, 7 Jan 2003, Will Hartung wrote: > Date: Tue, 7 Jan 2003 10:05:05 -0800 > From: Will Hartung <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: Re: How to organize your software in proper version control > struc

RE: HELP, PLEASE! Tomcat creates too many threads!

2003-01-07 Thread Craig R. McClanahan
On Tue, 7 Jan 2003, Denise Mangano wrote: > Date: Tue, 7 Jan 2003 09:31:01 -0500 > From: Denise Mangano <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: 'Tomcat Users List' <[EMAIL PROTECTED]> > Subject: RE: HELP, PLEASE! Tomcat creates too many threads! > > I am curio

RE: Tomcat 4.x and Java Processes

2003-01-07 Thread Troy J. Kelley
Yes, sorry, I forgot to mention that. Are there options for threading on linux? I think on Solaris, you can do "green" or native threads. If so, would a change in this setting reduce the JVM to a single pid? Thanks for the quick reply! -Troy -Original Message- From: Ben Ricker [mailto

Re: Tomcat 4.x and Java Processes

2003-01-07 Thread Ben Ricker
Are you using Linux? Linux shows in-process threads as processes. If you are running Linux, then you are seeing threads within the Java process. You would expect to see a number of threads even with your simple config. Ben Ricker On Tue, 2003-01-07 at 14:07, Troy J. Kelley wrote: > I've been look

RE: HP-UX 10.20 + Oracle

2003-01-07 Thread PELOQUIN,JEFFREY (HP-Boise,ex1)
If you need classes111.jar I have a copy and it has even been used on an HP-UX machine, albeit 11.0 -Original Message- From: Wagoner, Mark [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 07, 2003 10:57 AM To: 'Tomcat Users List' Subject: RE: HP-UX 10.20 + Oracle I think classes12.jar i

RE: Multiple Virtual hosts, setting DocumentRoot

2003-01-07 Thread Turner, John
http://www.johnturner.com/howto/mod_jk_conf.html That's just for a default install, one virtual host (localhost). John > -Original Message- > From: adrian [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, January 07, 2003 1:44 PM > To: 'Tomcat Users List' > Subject: Multiple Virtual hosts, s

Tomcat 4.x and Java Processes

2003-01-07 Thread Troy J. Kelley
I've been looking all over for the answer to this and can't seem to find a good answer. My basic question is that when I start up a *very* basic tomcat config (JMX Support, HTTP Listener, one engine, one host, once context) I get several java processes that look the same: root 5865 0.0 5.

Sharing data between servlets

2003-01-07 Thread Lars Preben S. Arnesen
I have a few servlets that needs to share some data. For initial testing I used the Resin servlet engine, but now I'm switching to Tomcat. When running the servlets on Resin, I fetched a pointer to the "root context" like this: ServletContext context = getServletContext().getContext("/"); When u

RE: mod_jk tomcat/apache connector issue

2003-01-07 Thread Turner, John
Have you run ldconfig lately? I think it is supposed to run on startup, but maybe something got munged up recently. John > -Original Message- > From: John Bullock [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, January 07, 2003 3:03 PM > To: 'Tomcat Users List' > Subject: RE: mod_jk tomca

RE: mod_jk tomcat/apache connector issue

2003-01-07 Thread John Bullock
Everything looks fine with ld.so.1 # echo $LD_LIBRARY_PATH /usr/local/lib:/usr/dt/lib:/usr/openwin/lib:/usr/lib # find . | grep ld.so ./usr/lib/sparcv9/librtld.so.1 ./usr/lib/sparcv9/ld.so.1 ./usr/lib/sparcv9/libld.so.2 ./usr/lib/sparcv9/libld.so.3 ./usr/lib/ld.so ./usr/lib/ld.so.1 ./usr/lib/libr

Tomcat 4.1.18 + apache 2.0.43 mod_jk2 virtual hosting ?

2003-01-07 Thread Morten Bøhmer
I have a question about configuring tomcat: We have an internal tomcat server which have to hosts configured under service. These hosts have different ip-address for theys hostname registred in the dns. I would like just one of these hosts to be reached from apache via mod_jk2. The one ho

Re: xerces version

2003-01-07 Thread Reto Bachmann-Gmuer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 another variant I think is to set the system property java.endorsed.dirs to mywebapp/WEB-INF/lib. However I like the idea of drop and play *.war files! cheers, reto Martedì, 7 Gen 2003, alle 20:41 Europe/Paris, Morten Bøhmer ha scritto: Per

RE: GZIP filter problem....

2003-01-07 Thread Jacob Kjome
Hi Charlie, Thanks for the tip. Actually, that seems to make no difference. I finally decided to test it with a plain HTML page. It successfully GZIP'ed an html document with an original data size of 636 bytes down to 369 bytes and the output didn't get garbled on the browser side. This was w

Re: xerces version

2003-01-07 Thread Reto Gmuer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 another variant I think is to set the system property java.endorsed.dirs to mywebapp/WEB-INF/lib. However I like the idea of drop and play *.war files! cheers, reto Martedì, 7 Gen 2003, alle 20:41 Europe/Paris, Morten Bøhmer ha scritto:

Re: xerces version

2003-01-07 Thread Jeanfrancois Arcand
This is against the spec. You cannot replace endorsed library within your web app (http://java.sun.com/j2se/1.4/docs/guide/standards/). The Tomcat classloader just ignore the jar file. see : SRV.9.7.2Web Application Classloader in the Servlet 2.4 specification (http://jcp.org/aboutJava/commun

RE: mod_jk tomcat/apache connector issue

2003-01-07 Thread Turner, John
Do you have a file called ld.so or ld.so.x on your system? If so, symlink it to ld.so.1. John > -Original Message- > From: John Bullock [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, January 07, 2003 1:34 PM > To: 'Tomcat Users List' > Subject: RE: mod_jk tomcat/apache connector issue >

RE: mod_jk tomcat/apache connector issue

2003-01-07 Thread Turner, John
Well, CoyoteConnector can support multiple protocols: JK, JK2, HTTP, HTTPS, depending on how it's used, what port it is listening on, etc. CoyoteConnector is enabled by default on port 8009 in Tomcat 4.1.x for JK/JK2. If you disable that connector and enable Ajp13Connector (disabled by default in

xerces version

2003-01-07 Thread Reto Bachmann-Gmuer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hello my web-app uses a newer (at least different) version of xerces than the one in common/endorsed. When I have my xercer.jar in my WEB-INF/lib the two file conflicts and I get strange exceptions. when i replace xercesImpl/ in common/endorsed ev

RE: xerces version

2003-01-07 Thread Morten Bøhmer
Personally I just dropped having libraries like this in my webapps, and just installing 1 version of them in jdk/jre/lib/ext for global use on the system. Might not be such a good idea, but it works for me :) -Original Message- From: Reto Bachmann-Gmuer [mailto:[EMAIL PROTECTED]] Sent:

little off-topic: tomcat and jasperreports

2003-01-07 Thread Felipe Schnack
Hi all! I'm starting to use JasperReports (JR from now on) to generate PDF reports on my project, using Tomcat 4.1.12 My problem is that JR needs the commons-digester.jar in its classpath. This package is found on /server/lib (invisible to jasperreports, it's on common/lib), but I can't move

RE: GZIP filter problem....

2003-01-07 Thread Cox, Charlie
try setting the encoding before you request the output stream. You may be losing the header by requesting the output stream first. httpResponse.setHeader("Content-Encoding", "gzip"); OutputStream out = response.getOutputStream(); I know you can't set headers after writing to the o

FW: Restricting SSL Cipher Suites with Standalone Tomcat 4.1.12?

2003-01-07 Thread Greg Dowd
I think every post I've seen in the last 5 days has generated a reply except this one. Is there anyone who could point me in the right direction? -Original Message- From: Greg Dowd [mailto:[EMAIL PROTECTED]] Sent: Friday, January 03, 2003 3:28 PM To: '[EMAIL PROTECTED]' Subject: Restricti

Re: RPMs

2003-01-07 Thread Rasputin
* Kevin Wilson <[EMAIL PROTECTED]> [0134 17:34]: > If you have a Linux box and like to keep your installed programs nice and > tidy using the RPM program then rpms are essential unless there is another > program used for managing installation of program from tar/tgz/tar.gz > archives? > I run Su

question about session behavior

2003-01-07 Thread David Boyer
When I shut down Tomcat, shouldn't HttpSessionListener.sessionDestroyed() be called for each existing session? When users authenticate to my application, I store their username and encrypted password in a database where it's associated with their session. When the session is destroyed, I have

Multiple Virtual hosts, setting DocumentRoot

2003-01-07 Thread adrian
Anyone got an example mod_jk.conf, the one created isn`t working for me. Adrian -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: mod_jk tomcat/apache connector issue

2003-01-07 Thread John Bullock
Thanks, Adrian... Syntax error on line 4 of /usr/local/tomcat/conf/auto/mod_jk.conf: Can't locate API module structure `jk_module' in file /usr/local/apache2/modules/mod_jk.so: ld.so.1: /usr/local/apache2/bin/httpd: fatal: jk_module: can't find symbol Mine's saying mod_jk.so is there, but there's

Re: mod_jk tomcat/apache connector issue

2003-01-07 Thread adrian
One more idea, look at mod_jk.conf, I had the same error last night. Line 4 dictates where mod_jk.so is located. I ran apachectl configtest and it told me that mod_jk was not located at /etc/httpd/libexec/ I included the modJk=/usr/lib/apache/mod_jk.so , but it didn`t work until I put mod_jk.so whe

RE: mod_jk tomcat/apache connector issue

2003-01-07 Thread John Bullock
No problem, John. (nice name ;) Versions: Solaris 8 gcc 2.95.3 libtool 1.4 tar 1.13.19 tomcat connectors source 4.1.18 etc. (let me know if you need any more versions for make, autoconf, etc.) Following the instructions for mod_jk on your how-to and 'src/jk/native/BUILDING', I run: ./configure

RE: HP-UX 10.20 + Oracle

2003-01-07 Thread Wagoner, Mark
Make sure you have the LD_LIBRARY_PATH environment variable set to $ORACLE_HOME/lib (I think :-\ ) At least you have to on Linux. -Original Message- From: John Clark [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 07, 2003 1:13 PM To: 'Tomcat Users List' Subject: RE: HP-UX 10.20 + Orac

RE: HP-UX 10.20 + Oracle

2003-01-07 Thread John Clark
Mark: I tried changing to classes111.jar, but now get this error: java.lang.UnsatisfiedLinkError: no ocijdbc8 in shared library path Also I should point out that I am using Oracle 8.0.4 on HP. Thanks for the suggestions though -Original Message- From: p niemandt [mailto:[EMAIL PROTECTE

RE: mod_jk tomcat/apache connector issue

2003-01-07 Thread Turner, John
There's no need to build the connectors with ant. AFAIK, the ant method builds the "tomcat" side of the connectors, which is redundant if you're using a binary install of Tomcat as they are included. To build the "Apache" side, you can use the ./configure method, which, in my mind, is much easie

RE: File classes12.zip for Oracle on Tomcat ...

2003-01-07 Thread Goehring, Chuck Mr., RCI - San Diego
I had to rename them to .jar and put them in c:\ApacheTomcat\lib Chuck > -Original Message- > From: PALLUEL Sylvie [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, January 07, 2003 1:42 AM > To: [EMAIL PROTECTED] > Subject: File classes12.zip for Oracle on Tomcat ... > > He

RE: HP-UX 10.20 + Oracle

2003-01-07 Thread p niemandt
As far as I know you should use ojdbc14.jar for Oracle9: Though previous ones should work, the ojdbc14.jar is recommended / needed for Oracle9. {The classnames are different between classes12.jar and the new ojdbc14.jar} On Tue, 2003-01-07 at 17:57, Wagoner, Mark wrote: > I think classes12.jar

Re: How to organize your software in proper version control structure?

2003-01-07 Thread Will Hartung
> From: "Timo Riikonen" <[EMAIL PROTECTED]> > Sent: Tuesday, January 07, 2003 3:46 AM > Subject: How to organize your software in proper version control structure? > Hello, > > Here ia a question that may not have only one correct answer, > but I hope you will try to give me your answer still. >

RE: RPMs [off topic: why rpm?]

2003-01-07 Thread Turner, John
Believe me, I understand what/why RPMs (and other package schemes) were developed. My point was that there is no need for them with Tomcat. A binary install does nothing to the system. I change Tomcat installations simply by changing a symlink. There is only one dependency, and that is the JDK

Screwed Up tomcat-users file

2003-01-07 Thread Jim Urban
I really screwed up. I edited the tomcat-users.xml file by hand and I messed it up. I can no longer log on to the manager or administrator app. How can I reset this file? Can someone send me a default file? Thanks, Jim

RE: HP-UX 10.20 + Oracle

2003-01-07 Thread Wagoner, Mark
I think classes12.jar is for JDK 1.2. You want classes111.jar (if you can find it). -Original Message- From: John Clark [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 07, 2003 12:54 PM To: 'Tomcat Users List' Subject: HP-UX 10.20 + Oracle Hi there, The story so far: I have an intran

HP-UX 10.20 + Oracle

2003-01-07 Thread John Clark
Hi there, The story so far: I have an intranet application that currently runs on a Linux server (with Oracle 9i - built-in Apache) and W2000 server (with Tomcat 4.x connecting to Oracle 8). It is written in JSP and Java, and works fine. I now want to use HP-UX 10.20 as a server, so I got the onl

JSP and windows batch file

2003-01-07 Thread Shankar Chelakarai
Hi, Has anyone ever successfully tried to run a windows batch file from a jsp. If yes .. please provide me with the code. I would really appreciate it. Thanks Shankar -- To unsubscribe, e-mail: For additional commands, e-mail:

  1   2   >