RE: No valid command found

2003-07-11 Thread Short, Dave
Please take care of this.  You're flooding the newsgroup with error messages
from your mail server.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, July 11, 2003 12:56 AM
To: [EMAIL PROTECTED]
Subject: No valid command found


Your message does not contain a valid command for this mail server
to process.  No action has been taken.

Message-ID: <[EMAIL PROTECTED]>
>From  : [EMAIL PROTECTED]
Date  : Fri, 11 Jul 2003 12:53:05 +0500

: Message contains [1] file attachments



LEGAL NOTICE
Unless expressly stated otherwise, this message is confidential and may be privileged. 
It is intended for the addressee(s) only. Access to this E-mail by anyone else is 
unauthorized. If you are not an addressee, any disclosure or copying of the contents 
of this E-mail or any action taken (or not taken) in reliance on it is unauthorized 
and may be unlawful. If you are not an addressee, please inform the sender immediately.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: JK2 (cont.)

2003-03-16 Thread Short, Dave
It looks as though when you commented out the 8080 in the server.xml file
you might have messed up the comments, hence the "--" error message on line
92.  It should look like this:



Notice the "".  Also, if that doesn't help try
enclosing your paths in double quotes like so:

[config:]
#file=${serverRoot}/conf/workers2.properties
file="c:/Program Files/Apache Group/Apache2/conf/workers2.properties"
debug=0
debugEnv=0

-Original Message-
From: Chris Dodunski [mailto:[EMAIL PROTECTED]
Sent: Sunday, March 16, 2003 3:27 AM
To: Tomcat Users List
Subject: Re: JK2 (cont.)


Hi again,

- Original Message -
From: "Short, Dave" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Sunday, March 16, 2003 2:30 PM
Subject: RE: JK2 (cont.)


> Paths must match up.  Check the paths in the config files I sent against
> your paths.  If they don't match up, adjust the paths in the config files
I
> sent.  This configuration works on W2K with Apache 2.0.44 and Tomcat
4.1.18.
> Comment out 8080 in the server.xml file because Apache will serve up
> everything except .jsp and servlet files.  See the [uri:/examples/*.jsp]
and
> [uri:/examples/servlet/*] in the workers2.properties file?

Yes, paths now match up (workers2.properties appears at the end of this
post).  Now, when Apache starts, I get a fatal error (log extracts below).
Windows attempts to shut Apache down - 'send report' dialog etc. - but
Apache apparently restarts.  Any ideas?  At least I am making progress.
Well, I hope ;-).


<<>>
[Sun Mar 16 22:51:44 2003] [notice] Parent: child process exited with status
3221225622 -- Restarting.
[Sun Mar 16 22:51:44 2003] [notice] Parent: Created child process 1888
[Sun Mar 16 22:51:44 2003] [notice] Child 1888: Child process is running
[Sun Mar 16 22:51:45 2003] [error] mod_jk child init 1 0
[Sun Mar 16 22:51:45 2003] [error] mod_jk child workerEnv in error state 1
[Sun Mar 16 22:51:45 2003] [notice] Child 1888: Acquired the start mutex.
[Sun Mar 16 22:51:45 2003] [notice] Child 1888: Starting 250 worker threads.
[Sun Mar 16 22:51:54 2003] [notice] Parent: child process exited with status
3221225622 -- Restarting.
[Sun Mar 16 22:51:54 2003] [notice] Parent: Created child process 1748
[Sun Mar 16 22:51:54 2003] [notice] Child 1748: Child process is running
[Sun Mar 16 22:51:55 2003] [error] mod_jk child init 1 0
[Sun Mar 16 22:51:55 2003] [error] mod_jk child workerEnv in error state 2
[Sun Mar 16 22:51:55 2003] [notice] Child 1748: Acquired the start mutex.
[Sun Mar 16 22:51:55 2003] [notice] Child 1748: Starting 250 worker threads.
[Sun Mar 16 22:52:09 2003] [notice] Parent: child process exited with status
3221225622 -- Restarting.
[Sun Mar 16 22:52:10 2003] [notice] Parent: Created child process 940
[Sun Mar 16 22:52:10 2003] [notice] Child 940: Child process is running
[Sun Mar 16 22:52:11 2003] [error] mod_jk child init 1 0
[Sun Mar 16 22:52:11 2003] [error] mod_jk child workerEnv in error state 3
[Sun Mar 16 22:52:11 2003] [notice] Child 940: Acquired the start mutex.
[Sun Mar 16 22:52:11 2003] [notice] Child 940: Starting 250 worker threads.


<<>>
Bootstrap: Create Catalina server
Catalina.start: org.xml.sax.SAXParseException: The string "--" is not
permitted within comments.
org.xml.sax.SAXParseException: The string "--" is not permitted within
comments.
 at
org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:118
9)
 at org.apache.commons.digester.Digester.parse(Digester.java:1479)
 at
org.apache.catalina.startup.CatalinaService.load(CatalinaService.java:187)
 at
org.apache.catalina.startup.CatalinaService.load(CatalinaService.java:258)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
 at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
 at java.lang.reflect.Method.invoke(Method.java:324)
 at
org.apache.catalina.startup.BootstrapService.init(BootstrapService.java:231)
 at
org.apache.catalina.startup.BootstrapService.main(BootstrapService.java:297)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
 at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
 at java.lang.reflect.Method.invoke(Method.java:324)
 at org.apache.jk.apr.TomcatStarter.run(TomcatStarter.java:127)
 at java.lang.Thread.run(Thread.java:536)


<<>>
TomcatStarter: main()
Try  org.apache.tomcat.startup.Main
Try  org.apache.catalina.startup.BootstrapService
Starting org.apache.catalina.startup.BootstrapService
Created catalinaLoader in: c:/Program Files/Apache Group/Tomcat
4.1\server\lib
Mar 16, 2003 10:55:20 PM org.apache.commons.modeler.Registry loadRegistry
INF

RE: JK2 (cont.)

2003-03-15 Thread Short, Dave
lhost:8009
[Sun Mar 16 10:53:08 2003] [error] lb.service() worker failed 12 for
ajp13:jni
[Sun Mar 16 10:53:08 2003] [error] lb.service() unrecoverable error...
[Sun Mar 16 10:53:08 2003] [error] mod_jk.handler() Error connecting to
tomcat 12

Thanks,

Chris.


- Original Message -
From: "Chris Dodunski" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Sunday, March 16, 2003 10:25 AM
Subject: Re: Repost Tomcat Apache integration how to's


> Hi Dave,
>
> Thank you for your help.  I am yet to try your attached configuration
files.
> I attempted to download
> "ftp://pokey.wr.usgs.gov/pub/rsowders/Apache2_Win2k_TC4.1.10_JSDK1.4.zip";,
> but get a 'login attempt failed' error.  Just one further question
regarding
> your earlier advice.  What is the reasoning behind commenting out the
> listener on port 8080?  Is this solely to prevent direct access to Tomcat,
> all access forced to go via Apache (a security matter)?  Thanks again.
>
> Chris.
>
>
> - Original Message -
> From: "Short, Dave" <[EMAIL PROTECTED]>
> To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
> Sent: Sunday, March 16, 2003 6:38 AM
> Subject: FW: Repost Tomcat Apache integration how to's
>
>
> >
> >
> > -Original Message-
> > From: Robert L Sowders [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, September 17, 2002 6:47 PM
> > To: Tomcat Users List
> > Subject: Repost Tomcat Apache integration how to's
> >
> >
> > Short list of Apache Tomcat integration How To's for multiple operating
> > systems.
> >
> > I'm reposting this list for those that need it.  It is getting buried to

> > far in the list archives to turn up in a search now.
> >
> > First try the search at
> > http://www.mail-archive.com/[EMAIL PROTECTED]/ or Google.
> >
> > Here is mine for windows using all the latest of each.
> > ftp://pokey.wr.usgs.gov/pub/rsowders/Apache2_Win2k_TC4.1.10_JSDK1.4.zip
> >
> > Here's another for windows using the "production quality" versions.
> > http://www.cnr.berkeley.edu/~salazar/apache_tomcat.html
> >
> > Here's another for windows using older "production quality" versions.
> > http://www.galatea.com/flashguides/apache-tomcat-24-win32.xml
> >
> > Here's another for windows and Linux using older versions, and
mod_webapp.
> >  http://bruno.vernay.free.fr/HowTo/Apache-tomcat/bWebServer/index.html
> >
> > Here's one for an unspecified unix using "production quality" versions.
> > http://www.pubbitch.org/jboss/mod_jk2.html
> >
> > Here is one using older versions on Linux.
> > http://www.ubeans.com/tomcat/index.html
> >
> > Here's a nice one for RH Linux using solid production versions.
> > http://www.johnturner.com/howto/apache-tomcat-howto.html
> >
> > rls
> >
> >
> > --
> > To unsubscribe, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


LEGAL NOTICE
Unless expressly stated otherwise, this message is confidential and may be privileged. 
It is intended for the addressee(s) only. Access to this E-mail by anyone else is 
unauthorized. If you are not an addressee, any disclosure or copying of the contents 
of this E-mail or any action taken (or not taken) in reliance on it is unauthorized 
and may be unlawful. If you are not an addressee, please inform the sender immediately.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: JK2

2003-03-15 Thread Short, Dave
Rename the attached files accordingly, my email server filtered the
originals out.



-Original Message-
From: Chris Dodunski [mailto:[EMAIL PROTECTED]
Sent: Saturday, March 15, 2003 3:09 AM
To: Tomcat Users List
Subject: JK2


Hi all,

This is my first attempt at installing JK2 to make Apache -> Tomcat
communication possible.  Wasn't successful.  Here is an account of events.
If I can get JK2 working, I promise to post a blow by blow diary of how I
went about it.  Documentation on JK2 is lacking, following apache.org
documentation hasn't been successful, and I am apparently not alone.

1) Apache 2.0.44 and Tomcat 4.1.18 each working fine as stand-alone, using
http://localhost and http://localhost:8080 respectively.
2) Copied mod_jk2-2.0.43.dll to [Apache Home]/modules.
3) Added "LoadModule jk2_module modules/mod_jk2-2.0.43.dll" to [Apache
Home]/conf/httpd.conf.
4) Confirmed existance of [Tomcat Home]/conf/jk2.properties.  This reads...

## THIS FILE MAY BE OVERRIDEN AT RUNTIME. MAKE SURE TOMCAT IS STOPED
## WHEN YOU EDIT THE FILE.

## COMMENTS WILL BE _LOST_

## DOCUMENTATION OF THE FORMAT IN JkMain javadoc.

# Set the desired handler list
# handler.list=apr,request,channelJni
#
# Override the default port for the socketChannel
# channelSocket.port=8019
# Default:
# channelUnix.file=${jkHome}/work/jk2.socket
# Just to check if the the config  is working
# shm.file=${jkHome}/work/jk2.shm

# In order to enable jni use any channelJni directive
# channelJni.disabled = 0
# And one of the following directives:

# apr.jniModeSo=/opt/apache2/modules/mod_jk2.so

# If set to inprocess the mod_jk2 will Register natives itself
# This will enable the starting of the Tomcat from mod_jk2
# apr.jniModeSo=inprocess

>>>NOTE: I realise all lines are commented out, but I wasn't concerned as
the apache.org minimum configuration example was also.  This read...

Minimum configuration is the simplest one to make the JK2 working. The used
channel will be socket, and lot of options are used by default. Both the
Tomcat and web server are on the same computer.

jk2.properties:

# The default port is 8009 but you can use another one
# channelSocket.port=8019



5) Created [Apache Home]/conf/workers2.properties (copied form apache.org
minimum configuration example).  This reads...

# Define the communication channel
[channel.socket:localhost:8009]
info=Ajp13 forwarding over socket
tomcatId=localhost:8009

# Map the Tomcat examples webapp to the Web server uri space
[uri:/examples/*]
info=Map the whole webapp

>>>NOTE: At no time did I edit [Tomcat Home]/conf/server.xml.

6) Started Tomcat, waited.
7) Started Apache.
8) Attempted to browse JSP/Servlet examples without the ":8080", but got the
following error message...

Internal Server Error
The server encountered an internal error or misconfiguration and was unable
to complete your request.

Please contact the server administrator, [EMAIL PROTECTED] and inform them of
the time the error occurred, and anything you might have done that may have
caused the error.

More information about this error may be available in the server error log.





Apache/2.0.44 (Win32) mod_jk2/2.0.2 Server at localhost Port 80

9) Checked Apache error log.  This reads...

[Sat Mar 15 22:49:59 2003] [error] shm.init(): No file
[Sat Mar 15 22:49:59 2003] [notice] Parent: Created child process 2956
[Sat Mar 15 22:49:59 2003] [error] shm.init(): No file
[Sat Mar 15 22:49:59 2003] [notice] Child 2956: Child process is running
[Sat Mar 15 22:49:59 2003] [error] shm.init(): No file
[Sat Mar 15 22:49:59 2003] [error] mod_jk child init 1 0
[Sat Mar 15 22:49:59 2003] [notice] Child 2956: Acquired the start mutex.
[Sat Mar 15 22:49:59 2003] [notice] Child 2956: Starting 250 worker threads.
[Sat Mar 15 22:51:15 2003] [error] workerEnv.init() create slot epStat.0
failed
[Sat Mar 15 22:51:15 2003] [error] lb.service() worker failed 12 for
ajp13:localhost:8009
[Sat Mar 15 22:51:15 2003] [error] lb.service() unrecoverable error...
[Sat Mar 15 22:51:15 2003] [error] mod_jk.handler() Error connecting to
tomcat 12
[Sat Mar 15 22:52:24 2003] [error] lb.getWorker() reenable
ajp13:localhost:8009
[Sat Mar 15 22:52:24 2003] [error] workerEnv.init() create slot epStat.0
failed
[Sat Mar 15 22:52:24 2003] [error] lb.service() worker failed 12 for
ajp13:localhost:8009
[Sat Mar 15 22:52:24 2003] [error] lb.service() unrecoverable error...
[Sat Mar 15 22:52:24 2003] [error] mod_jk.handler() Error connecting to
tomcat 12
[Sat Mar 15 22:52:43 2003] [error] workerEnv.init() create slot epStat.0
failed
[Sat Mar 15 22:52:43 2003] [error] lb.service() worker failed 12 for
ajp13:localhost:8009
[Sat Mar 15 22:52:43 2003] [error] lb.service() unrecoverable error...
[Sat Mar 15 22:52:43 2003] [error] mod_jk.handler() Error connecting to
tomcat 12


-
To unsubscribe, e-m

FW: Repost Tomcat Apache integration how to's

2003-03-15 Thread Short, Dave


-Original Message-
From: Robert L Sowders [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 17, 2002 6:47 PM
To: Tomcat Users List
Subject: Repost Tomcat Apache integration how to's 


Short list of Apache Tomcat integration How To's for multiple operating 
systems.

I'm reposting this list for those that need it.  It is getting buried to 
far in the list archives to turn up in a search now.

First try the search at
http://www.mail-archive.com/[EMAIL PROTECTED]/ or Google.

Here is mine for windows using all the latest of each. 
ftp://pokey.wr.usgs.gov/pub/rsowders/Apache2_Win2k_TC4.1.10_JSDK1.4.zip

Here's another for windows using the "production quality" versions. 
http://www.cnr.berkeley.edu/~salazar/apache_tomcat.html

Here's another for windows using older "production quality" versions. 
http://www.galatea.com/flashguides/apache-tomcat-24-win32.xml

Here's another for windows and Linux using older versions, and mod_webapp. 
 http://bruno.vernay.free.fr/HowTo/Apache-tomcat/bWebServer/index.html

Here's one for an unspecified unix using "production quality" versions. 
http://www.pubbitch.org/jboss/mod_jk2.html

Here is one using older versions on Linux. 
http://www.ubeans.com/tomcat/index.html

Here's a nice one for RH Linux using solid production versions. 
http://www.johnturner.com/howto/apache-tomcat-howto.html

rls


--
To unsubscribe, e-mail:

For additional commands, e-mail:


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: JK2

2003-03-15 Thread Short, Dave
Use the attached workers2.properties and jk2.properties files.  Also,
comment out the 8080 connector in the server.xml file.  Don't start Tomcat,
Apache will start Tomcat when it initializes.  Tomcat will run inprocess if
started this way.

I'll also forward a good how to that was posted here last September by
Robert Sowders.



-Original Message-
From: Chris Dodunski [mailto:[EMAIL PROTECTED]
Sent: Saturday, March 15, 2003 3:09 AM
To: Tomcat Users List
Subject: JK2


Hi all,

This is my first attempt at installing JK2 to make Apache -> Tomcat
communication possible.  Wasn't successful.  Here is an account of events.
If I can get JK2 working, I promise to post a blow by blow diary of how I
went about it.  Documentation on JK2 is lacking, following apache.org
documentation hasn't been successful, and I am apparently not alone.

1) Apache 2.0.44 and Tomcat 4.1.18 each working fine as stand-alone, using
http://localhost and http://localhost:8080 respectively.
2) Copied mod_jk2-2.0.43.dll to [Apache Home]/modules.
3) Added "LoadModule jk2_module modules/mod_jk2-2.0.43.dll" to [Apache
Home]/conf/httpd.conf.
4) Confirmed existance of [Tomcat Home]/conf/jk2.properties.  This reads...

## THIS FILE MAY BE OVERRIDEN AT RUNTIME. MAKE SURE TOMCAT IS STOPED
## WHEN YOU EDIT THE FILE.

## COMMENTS WILL BE _LOST_

## DOCUMENTATION OF THE FORMAT IN JkMain javadoc.

# Set the desired handler list
# handler.list=apr,request,channelJni
#
# Override the default port for the socketChannel
# channelSocket.port=8019
# Default:
# channelUnix.file=${jkHome}/work/jk2.socket
# Just to check if the the config  is working
# shm.file=${jkHome}/work/jk2.shm

# In order to enable jni use any channelJni directive
# channelJni.disabled = 0
# And one of the following directives:

# apr.jniModeSo=/opt/apache2/modules/mod_jk2.so

# If set to inprocess the mod_jk2 will Register natives itself
# This will enable the starting of the Tomcat from mod_jk2
# apr.jniModeSo=inprocess

>>>NOTE: I realise all lines are commented out, but I wasn't concerned as
the apache.org minimum configuration example was also.  This read...

Minimum configuration is the simplest one to make the JK2 working. The used
channel will be socket, and lot of options are used by default. Both the
Tomcat and web server are on the same computer.

jk2.properties:

# The default port is 8009 but you can use another one
# channelSocket.port=8019



5) Created [Apache Home]/conf/workers2.properties (copied form apache.org
minimum configuration example).  This reads...

# Define the communication channel
[channel.socket:localhost:8009]
info=Ajp13 forwarding over socket
tomcatId=localhost:8009

# Map the Tomcat examples webapp to the Web server uri space
[uri:/examples/*]
info=Map the whole webapp

>>>NOTE: At no time did I edit [Tomcat Home]/conf/server.xml.

6) Started Tomcat, waited.
7) Started Apache.
8) Attempted to browse JSP/Servlet examples without the ":8080", but got the
following error message...

Internal Server Error
The server encountered an internal error or misconfiguration and was unable
to complete your request.

Please contact the server administrator, [EMAIL PROTECTED] and inform them of
the time the error occurred, and anything you might have done that may have
caused the error.

More information about this error may be available in the server error log.





Apache/2.0.44 (Win32) mod_jk2/2.0.2 Server at localhost Port 80

9) Checked Apache error log.  This reads...

[Sat Mar 15 22:49:59 2003] [error] shm.init(): No file
[Sat Mar 15 22:49:59 2003] [notice] Parent: Created child process 2956
[Sat Mar 15 22:49:59 2003] [error] shm.init(): No file
[Sat Mar 15 22:49:59 2003] [notice] Child 2956: Child process is running
[Sat Mar 15 22:49:59 2003] [error] shm.init(): No file
[Sat Mar 15 22:49:59 2003] [error] mod_jk child init 1 0
[Sat Mar 15 22:49:59 2003] [notice] Child 2956: Acquired the start mutex.
[Sat Mar 15 22:49:59 2003] [notice] Child 2956: Starting 250 worker threads.
[Sat Mar 15 22:51:15 2003] [error] workerEnv.init() create slot epStat.0
failed
[Sat Mar 15 22:51:15 2003] [error] lb.service() worker failed 12 for
ajp13:localhost:8009
[Sat Mar 15 22:51:15 2003] [error] lb.service() unrecoverable error...
[Sat Mar 15 22:51:15 2003] [error] mod_jk.handler() Error connecting to
tomcat 12
[Sat Mar 15 22:52:24 2003] [error] lb.getWorker() reenable
ajp13:localhost:8009
[Sat Mar 15 22:52:24 2003] [error] workerEnv.init() create slot epStat.0
failed
[Sat Mar 15 22:52:24 2003] [error] lb.service() worker failed 12 for
ajp13:localhost:8009
[Sat Mar 15 22:52:24 2003] [error] lb.service() unrecoverable error...
[Sat Mar 15 22:52:24 2003] [error] mod_jk.handler() Error connecting to
tomcat 12
[Sat Mar 15 22:52:43 2003] [error] workerEnv.init() create slot epStat.0
failed
[Sat Mar 15 22:52:43 2003] [error] lb.service() worker failed 12 for
ajp13:localhost:8009
[Sa

RE: Fw: Fight war

2003-02-13 Thread Short, Dave
Keep this CRAP off of this list.  This is a technical list.  Is that clear
enough?

-Original Message-
From: Vermeulen, Francis [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 13, 2003 7:33 AM
To: 'Tomcat Users List'
Subject: RE: Fw: Fight war


Jonathan,

just as you are entitled to your opinion, so are others. I believe that many
people think that this potential war is no justified means to solve the
(imaginary?) problems that the US have with Saddam. If at all, war should
only be the ultimate means of self-defense, remember Pearl Harbour? And
although this list is not - I agree - the place or means to do this, I agree
with the idea and do not find it necessary to call it "crap". Politeness and
respect are the basis of our modern society, let's all apply it.

Francis Vermeulen

-Original Message-
From: Jonathan Discount [mailto:[EMAIL PROTECTED]]
Sent: donderdag 13 februari 2003 16:23
To: 'Tomcat Users List'; [EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]
Subject: RE: Fw: Fight war


Keep this crap off the list!  Find some other way to send out your ignorant
drivel.

-Original Message-
From: Evgeniy Strokin [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 13, 2003 8:30 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]
Subject: Fwd: Fw: Fight war


The United States are actually going to start a war.
Today the balance of power is pretty much uneven,
which may lead
to a World War III. If you want to protest as well:
UNO is collecting
signatures to prevent this from happening. Please
copy this mail into a new one,
sign at the end of the list and send it to
everybody in your
adress book. If you receive this list with more than
600 names, send a copy of it to: [EMAIL PROTECTED]

If you should decide not to sign this petition,
please forward it anyway.
Thanks.


Die Vereinigten Staaten sind gerade dabei einen Krieg
zu diktieren.
Wir befinden uns heutzutage in einem weltweiten
Ungleichgewicht, was zu
einem Dritten Weltkrieg f|hren kann. Wenn Du Dich
ebenfalls dagegen
aussprichst, die UNO ist gerade dabei Unterschriften
zu sammeln, um
diesem tragischen Geschehen entgegenzuwirken. Bitte
kopiere diese e-mail in eine neue mail,
unterzeichne sie am Ende der
Liste, die unten angehdngt ist und schicke
sie an alle Personen, die Du kennst.
Wenn Du die Liste mit mehr als 600 Namen erhdltst,
dann
schicke bitte eine Kopie
davon an: [EMAIL PROTECTED]
Auch wenn Du Dich entschliessen solltest nicht zu
unterzeichnen, dann
schicke die Petition bitte trotzdem weiter.
Danke


Estados Unidos esta a punto de dictar la guerra. Hoy
nos encontramos en un punto en desequilibrio
mundial por lo que puede dar inicio a una
Tercera Guerra Mundial. Si tu estas en contra, la ONU
se encuentra recopilando firmas para evitar este
tragico
acontecimiento mundial.
Por favor cop ia este e-mail en un mensaje nuevo,
firma
al final de la lista
que veras a continuacisn, y mandalo a todas las
personas que conozcas.
Si recibes esta lista con mas de 600 nombres en ella,
por favor envma
una copia del mensaje a: [EMAIL PROTECTED]

Incluso si decides no firmar, por favor se
considerado y no elimines
la peticisn.


1) Suzanne Dathe, Grenoble, France
2) Laurence COMPARAT, Grenoble, France
3) Philippe MOTTE, Grenoble, France
4) Jok FERRAND, Mont St. Martin, France
5) Emmanuelle PIGNOL, St Martin d'Heres,FRANCE
6) Marie GAUTHIER, Grenoble, FRANCE
7) Laurent VESCALO, Grenoble, FRANCE
8) Mathieu MOY, St Egreve, FRANCE
9) Bernard BLANCHET, Mont St Martin,FRANCE
10) Tassadite FAVRIE, Grenoble, FRANCE
11) Loic GODARD, St Ismier, FRANCE
12) Benedicte PASCAL, Grenoble, FRANCE
13) Khedaidja BENATIA, Grenoble, FRANCE
14) Marie-Therese LLORET, Grenoble,FRANCE
15) Benoit THEAU, Poitiers, FRANCE
16) Bruno CONSTANTIN, Poitiers, FRANCE
17) Christian COGNARD, Poitiers, FRANCE
18) Robert GARDETTE, Paris, FRANCE
19) Claude CHEVILLARD, Montpellier, FRANCE
20) gilles FREISS, Montpellier, FRANCE
21) Patrick AUGEREAU, Montpellier, FRANCE
22) Jean IMBERT, Marseille, FRANCE
23) Jean-Claude MURAT, Toulouse, France
24) Anna BASSOLS, Barcelona, Catalonia
25) Mireia DUNACH, Barcelona, Catalonia
26) Michel VILLAZ, Grenoble, France
27) Pages Frederique, Dijon, France
28) Rodolphe FISCHMEISTER,Chatenay-Malabry, France
29) Francois BOUTEAU, Paris, France
30) Patrick PETER, Paris, France
31) Lorenza RADICI, Paris, France
32) Monika Siegenthaler, Bern, Switzerland
33) Mark Philp, Glasgow, Scotland
34) Tomas Andersson, Stockholm, Sweden
35) Jonas Eriksson, Stockholm, Sweden
36) Karin Eriksson, Stockholm, Sweden
37) Ake Ljung, Stockholm, Sweden
38) Carina Sedlmayer, Stockholm, Sweden
39) Rebecca Uddman, Stockholm, Sweden
40) Lena Skog, Stockholm, Sweden
41) Micael Folke, Stockholm, Sweden
42) Britt-Marie Folke, Stockholm, Sweden
43) Birgitta Schuberth, Stockholm, Sweden
44) Lena Dahl, Stockholm, Sweden
45) Ebba Karlsson, Stockholm, Sweden
46) Jessica Carlsson, Vaxjo, Sweden
47) Sara Blomquist, Vaxjo, Sweden
48) Magdalena Fosseus, Vaxjo, Sweden
4

RE: MY ATTITUDE

2003-02-11 Thread Short, Dave
This not a therapy newsgroup!  It's for people seeking and providing
Apache/Tomcat information.  There have been numerous posts describing why
some questions are answered, some aren't and how to ask for help
respectfully.  I'm sick and tired of your crap.  If you don't like this
newsgroup or Apache/Tomcat - go somewhere else.  If you want to participate
in this newsgroup, grow up, have patience and try to put the pieces together
for yourself.  This is not the "drop everything you're doing and help Steve
Burrus" newsgroup.  This newsgroup has far too much traffic as it is.
Enough is enough, please.

-Original Message-
From: Steve Burrus [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 11, 2003 2:42 PM
To: Tomcat Users List
Subject: RE: MY ATTITUDE


Sorry Romeo if not every single one of my numerous posts have anything to do
with Tomcat or jsp's or servlets, but I am only human and have certain
feelings and attitudes which I Iike/love to openly display for everyone else
in this newsgroup of ours' ! 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: pool exhausted

2003-01-24 Thread Short, Dave
How did you fix this?

-Original Message-
From: Jakarta [mailto:[EMAIL PROTECTED]]
Sent: January 24, 2003 7:26 AM
To: Tomcat Users List
Subject: Re: pool exhausted


don't worry. i've fixed it.
- Original Message -
From: "Pablo L. Crivaro" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 23, 2003 5:47 PM
Subject: DBCP: pool exhausted


> Hi all, i'm new in the list.
> I receive a
> "java.sql.SQLException: DBCP could not obtain an idle db connection, pool
> exhausted"
> using a resource org.apache.commons.dbcp.BasicDataSourceFactory even
closing
> the connections, having removeAbandoned in true, but nothing happens. The
> connexions remains sleeping (not running) and are never freed.
>
>
>
>
> --
> To unsubscribe, e-mail:

> For additional commands, e-mail:

>
>


--
To unsubscribe, e-mail:

For additional commands, e-mail:


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: I don´t understand the objective of this open list !

2002-12-09 Thread Short, Dave
;-)

John and others, 

In the future, don't even engage these whiners.  I, and I'm sure others,
very much appreciate the time you spend on this list.

Dave

-Original Message-
From: Turner, John [mailto:[EMAIL PROTECTED]]
Sent: December 09, 2002 2:30 PM
To: 'Tomcat Users List'
Subject: RE: I don´t understand the objective of this open list !



Extra bonus points for using "superfluous"!  What a great word.

John

> -----Original Message-
> From: Short, Dave [mailto:[EMAIL PROTECTED]]
> Sent: Monday, December 09, 2002 5:21 PM
> To: 'Tomcat Users List'
> Subject: RE: I don´t understand the objective of this open list !
> 
> 
> This is open source and FREE software.  If you don't like it, 
> don't use it.
> If you're dissatisfied with Tomcat, go out and spend hundreds 
> or thousands
> of dollars and purchase a "Real" servlet container that has all of the
> documentation nicely bundled.  I figured Tomcat out by 
> digging and posting
> clear and concise questions to this list.  If you're not 
> happy with doing it
> that way, go elsewhere.
> 
> Stop cluttering up the list with superfluous mail.  There's 
> enough traffic
> on this list without this waste of time traffic.
> 
> -Original Message-
> From: Mike DiChiappari [mailto:[EMAIL PROTECTED]]
> Sent: December 09, 2002 2:05 PM
> To: Tomcat Users List
> Subject: RE: I don´t understand the objective of this open list !
> 
> 
> You're correct.  There is lots of documentation out there. 
> Unfortunately, it belongs with most things that are open sourse - in 
> the trash.  Jakarata/tomcat is particularly bad.  The people that 
> manage it should be ashamed of themselves (I hope they are not 
> building software I have to rely on in life and death situations).
> 
> Mike
> 
> 
> >I disagree.  There's lots of documentation out there.
> >
> >It's just not blasted into peoples' faces, nor is it bound 
> into a nice
> >little book and shrinkwrapped.  You have to go find it, and 
> you have to
> read
> >it.  Most people are too lazy to do either, they want 
> everything handed to
> >them.
> >
> >John
> >
> 
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 
> --
> To unsubscribe, e-mail:   
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




RE: I don´t understand the objective of this open list !

2002-12-09 Thread Short, Dave
This is open source and FREE software.  If you don't like it, don't use it.
If you're dissatisfied with Tomcat, go out and spend hundreds or thousands
of dollars and purchase a "Real" servlet container that has all of the
documentation nicely bundled.  I figured Tomcat out by digging and posting
clear and concise questions to this list.  If you're not happy with doing it
that way, go elsewhere.

Stop cluttering up the list with superfluous mail.  There's enough traffic
on this list without this waste of time traffic.

-Original Message-
From: Mike DiChiappari [mailto:[EMAIL PROTECTED]]
Sent: December 09, 2002 2:05 PM
To: Tomcat Users List
Subject: RE: I don´t understand the objective of this open list !


You're correct.  There is lots of documentation out there. 
Unfortunately, it belongs with most things that are open sourse - in 
the trash.  Jakarata/tomcat is particularly bad.  The people that 
manage it should be ashamed of themselves (I hope they are not 
building software I have to rely on in life and death situations).

Mike


>I disagree.  There's lots of documentation out there.
>
>It's just not blasted into peoples' faces, nor is it bound into a nice
>little book and shrinkwrapped.  You have to go find it, and you have to
read
>it.  Most people are too lazy to do either, they want everything handed to
>them.
>
>John
>

--
To unsubscribe, e-mail:

For additional commands, e-mail:


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Tomcat 4.1.10 and Windows NT - Repost - Urgent

2002-11-19 Thread Short, Dave
Thanks!

-Original Message-
From: Kristján Bjarni Guðmundsson [mailto:[EMAIL PROTECTED]]
Sent: November 19, 2002 9:06 AM
To: Tomcat Users List
Subject: Re: Tomcat 4.1.10 and Windows NT - Repost - Urgent


Yes I ran into this myself, I think it is because of this error:

http://developer.java.sun.com/developer/bugParade/bugs/4776385.html

You can try to use JVM 1.3 or JVM 1.4 instead.


"Short, Dave" <[EMAIL PROTECTED]> wrote on 19.11.2002 17:02:14:

> I'm trying to run Tomcat 4.1.10 "out of the box" and get the following 
error
> 
> when executing "catalina.bat run": 
> 
> Using CATALINA_BASE:   C:\Tomcat 
> Using CATALINA_HOME:   C:\Tomcat 
> Using CATALINA_TMPDIR: C:\Tomcat\temp 
> Using JAVA_HOME:   D:\Jdk1.2.2 
> Bootstrap: Class loader creation threw exception 
> java.lang.IllegalMonitorStateException: current thread not owner 
> at 
> 
org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(Standar
> 
> dClassLoader.java, Compiled Code) 
> at 
> 
org.apache.catalina.loader.StandardClassLoader.(StandardClassLoader.ja
> 
> va, Compiled Code) 
> at 
> 
org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoader
> 
> Factory.java, Compiled Code) 
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java, 
> Compiled Code) 
> 
> 
> 
> My environment is setup as follows: 
> 
> CATALINE_HOME = C:\Tomcat 
> JAVA_HOME = D:\Jdk1.2.2 
> JDK_LATEST = D:\Jdk1.2.2 
> 
> Any help would be greatly appreciated. 
> 
> Dave 
> 
> 
> 
> 
> LEGAL NOTICE
> Unless expressly stated otherwise, this message is confidential and 
> may be privileged. It is intended for the addressee(s) only. Access 
> to this E-mail by anyone else is unauthorized. If you are not an 
> addressee, any disclosure or copying of the contents of this E-mail 
> or any action taken (or not taken) in reliance on it is unauthorized
> and may be unlawful. If you are not an addressee, please inform the 
> sender immediately.
> 
> --
> To unsubscribe, e-mail: 
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: 
<mailto:[EMAIL PROTECTED]>
> 

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




Tomcat 4.1.10 and Windows NT - Repost - Urgent

2002-11-19 Thread Short, Dave
I'm trying to run Tomcat 4.1.10 "out of the box" and get the following error

when executing "catalina.bat run": 

Using CATALINA_BASE:   C:\Tomcat 
Using CATALINA_HOME:   C:\Tomcat 
Using CATALINA_TMPDIR: C:\Tomcat\temp 
Using JAVA_HOME:   D:\Jdk1.2.2 
Bootstrap: Class loader creation threw exception 
java.lang.IllegalMonitorStateException: current thread not owner 
at 
org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(Standar

dClassLoader.java, Compiled Code) 
at 
org.apache.catalina.loader.StandardClassLoader.(StandardClassLoader.ja

va, Compiled Code) 
at 
org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoader

Factory.java, Compiled Code) 
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java, 
Compiled Code) 



My environment is setup as follows: 

CATALINE_HOME = C:\Tomcat 
JAVA_HOME = D:\Jdk1.2.2 
JDK_LATEST = D:\Jdk1.2.2 

Any help would be greatly appreciated. 

Dave 




LEGAL NOTICE
Unless expressly stated otherwise, this message is confidential and may be privileged. 
It is intended for the addressee(s) only. Access to this E-mail by anyone else is 
unauthorized. If you are not an addressee, any disclosure or copying of the contents 
of this E-mail or any action taken (or not taken) in reliance on it is unauthorized 
and may be unlawful. If you are not an addressee, please inform the sender immediately.

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Tomcat 4.1.10 and Windows NT - Repost - Urgent

2002-11-19 Thread Short, Dave
I'm trying to run Tomcat 4.1.10 "out of the box" and get the following error

when executing "catalina.bat run": 

Using CATALINA_BASE:   C:\Tomcat 
Using CATALINA_HOME:   C:\Tomcat 
Using CATALINA_TMPDIR: C:\Tomcat\temp 
Using JAVA_HOME:   D:\Jdk1.2.2 
Bootstrap: Class loader creation threw exception 
java.lang.IllegalMonitorStateException: current thread not owner 
at 
org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(Standar

dClassLoader.java, Compiled Code) 
at 
org.apache.catalina.loader.StandardClassLoader.(StandardClassLoader.ja

va, Compiled Code) 
at 
org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoader

Factory.java, Compiled Code) 
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java, 
Compiled Code) 



My environment is setup as follows: 

CATALINE_HOME = C:\Tomcat 
JAVA_HOME = D:\Jdk1.2.2 
JDK_LATEST = D:\Jdk1.2.2 

Any help would be greatly appreciated. 

Dave 




LEGAL NOTICE
Unless expressly stated otherwise, this message is confidential and may be privileged. 
It is intended for the addressee(s) only. Access to this E-mail by anyone else is 
unauthorized. If you are not an addressee, any disclosure or copying of the contents 
of this E-mail or any action taken (or not taken) in reliance on it is unauthorized 
and may be unlawful. If you are not an addressee, please inform the sender immediately.

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Tomcat 4.1.10 and Windows NT 4.0

2002-11-19 Thread Short, Dave
I'm trying to run Tomcat 4.1.10 "out of the box" and get the following error
when executing "catalina.bat run":

Using CATALINA_BASE:   C:\Tomcat
Using CATALINA_HOME:   C:\Tomcat
Using CATALINA_TMPDIR: C:\Tomcat\temp
Using JAVA_HOME:   D:\Jdk1.2.2
Bootstrap: Class loader creation threw exception
java.lang.IllegalMonitorStateException: current thread not owner
at
org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(Standar
dClassLoader.java, Compiled Code)
at
org.apache.catalina.loader.StandardClassLoader.(StandardClassLoader.ja
va, Compiled Code)
at
org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoader
Factory.java, Compiled Code)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java,
Compiled Code)


My environment is setup as follows:

CATALINE_HOME = C:\Tomcat
JAVA_HOME = D:\Jdk1.2.2
JDK_LATEST = D:\Jdk1.2.2

Any help would be greatly appreciated.

Dave


LEGAL NOTICE
Unless expressly stated otherwise, this message is confidential and may be privileged. 
It is intended for the addressee(s) only. Access to this E-mail by anyone else is 
unauthorized. If you are not an addressee, any disclosure or copying of the contents 
of this E-mail or any action taken (or not taken) in reliance on it is unauthorized 
and may be unlawful. If you are not an addressee, please inform the sender immediately.

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: tomcat/EJBs

2002-10-25 Thread Short, Dave
Tomcat does not work as an EJB container.

-Original Message-
From: Grant C. Peters [mailto:grantcpeters@;earthlink.net]
Sent: October 25, 2002 9:38 AM
To: Tomcat Users List
Subject: tomcat/EJBs


Can anyone answer a question for me? Does Tomcat work as an EJB container,
or do I need to plugin something like openEJB?
thanks

Grant C. Peters
[EMAIL PROTECTED]
phone  : 415.948.7030



--
To unsubscribe, e-mail:

For additional commands, e-mail:


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: JNDI Datasource is null, again

2002-10-25 Thread Short, Dave
In the past, I've found that I received this type of exception when any of
my connection parameters were wrong (username/password, driver name , etc.).
I'd suggest you review connection parameters carefully to make sure that
isn't the problem.

You do have your JDBC diver class jar file loaded in your tomcat\common\lib
directory, correct?

-Original Message-
From: "Steltner, Jörn HTC/DE/ESS" [mailto:Joern.Steltner@;hochtief.de]
Sent: October 25, 2002 9:00 AM
To: 'Tomcat Users List'
Subject: RE: JNDI Datasource is null, again


sorry, doesn't work!

-Original Message-
From: Short, Dave [mailto:dave.short@;pfizer.com]
Sent: Freitag, 25. Oktober 2002 17:56
To: 'Tomcat Users List'
Subject: RE: JNDI Datasource is null, again


I noticed you have the following code in your server.xml file within your
w2k context:



I don't have this in mine.  Not sure if it's needed.  I can connect just
fine without it.  Take it out and see if it works.

-Original Message-
From: "Steltner, Jörn HTC/DE/ESS" [mailto:Joern.Steltner@;hochtief.de]
Sent: October 25, 2002 8:38 AM
To: '[EMAIL PROTECTED]'
Subject: JNDI Datasource is null, again


Hallo,

I read that the problem was described many times here, but I cecked all
solutions and got the error again. Please may someone give me a hint.
Attached my config and the exception print. I don't know where I should look
...

I use Tomcat 4.1.12 and J2SDK 1.4.1_01.


my code:

/*
 * dbGetInvoices.java
 *
 * Created on 12. August 2002, 15:14
 */
import javax.naming.*;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.sql.*;
import java.io.*;
import java.sql.*;
import java.util.*;
import java.text.*;
/**
 *
 * @author  steltner
 * @version
 */


public class dbGetInvoices extends HttpServlet {

public void init(ServletConfig config) throws ServletException 
{
super.init(config);
}

/** Destroys the servlet.
 */
public void destroy() {
}

/** Returns a short description of the servlet.
 */
public String getServletInfo() {
return "dbGetInvoices";
}

/** Processes requests for both HTTP GET and
POST methods.
 * @param request servlet request
 * @param response servlet response
 */
protected void processRequest(HttpServletRequest request,
HttpServletResponse response)
throws ServletException, java.io.IOException {
response.setContentType("text/html");
java.io.PrintWriter out = response.getWriter();
out.close();
}

/** Handles the HTTP GET method.
 * @param request servlet request
 * @param response servlet response
 */
protected void doGet(HttpServletRequest request, HttpServletResponse
response)
throws ServletException, java.io.IOException 
{
   PrintWriter out = response.getWriter();
   HttpSession session = request.getSession(true);
   
   String  no_user = (String)session.getAttribute("logon.isUserNo");
   String  no_role = (String)session.getAttribute("logon.isRole");
  
   if ((null == no_user) || (null == no_role))
   {
  out.println("Sie sind zur Zeit nicht angemeldet!");
   }
   else
   {
   // wenn Projektteam Mitglied
   if ( 0 == no_role.compareTo("3"))
   GetInvoices( out, no_user );
   }
   out.println("");
}

protected void doPost(HttpServletRequest request, HttpServletResponse
response)
throws ServletException, java.io.IOException {
processRequest(request, response);
}

protected void GetInvoices( PrintWriter out, String no_user )
{
   
   GetInvoiceContents(out,no_user);
   ..
}

protected void GetInvoiceContents( PrintWriter out, String no_user )
{
   try
   {
  Context initCtx = new InitialContext();
  DataSource ds =
(DataSource)initCtx.lookup("java:comp/env/jdbc/w2k");


  // at this point ds is equal null :-(( 

  if (null != ds) 
  {
 Connection conn = ds.getConnection();
  
 if (null != conn)  
 {
 Statement st = conn.createStatement();
 ResultSet rs = st.executeQuery("select description from
price_comparison where no_price_comparison=1");
   
 Strings  = "";
 int   i  = 0;
 doubled  = 0.0;

 // number formating
 Locale   myLocale= new Locale("de", "Germany");
 NumberFormat myFormatter =
NumberFormat.getNumberInstance(myLocale);
 myFormatter.setGroupingUsed( true );
  

RE: JNDI Datasource is null, again

2002-10-25 Thread Short, Dave
I noticed you have the following code in your server.xml file within your
w2k context:



I don't have this in mine.  Not sure if it's needed.  I can connect just
fine without it.  Take it out and see if it works.

-Original Message-
From: "Steltner, Jörn HTC/DE/ESS" [mailto:Joern.Steltner@;hochtief.de]
Sent: October 25, 2002 8:38 AM
To: '[EMAIL PROTECTED]'
Subject: JNDI Datasource is null, again


Hallo,

I read that the problem was described many times here, but I cecked all
solutions and got the error again. Please may someone give me a hint.
Attached my config and the exception print. I don't know where I should look
...

I use Tomcat 4.1.12 and J2SDK 1.4.1_01.


my code:

/*
 * dbGetInvoices.java
 *
 * Created on 12. August 2002, 15:14
 */
import javax.naming.*;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.sql.*;
import java.io.*;
import java.sql.*;
import java.util.*;
import java.text.*;
/**
 *
 * @author  steltner
 * @version
 */


public class dbGetInvoices extends HttpServlet {

public void init(ServletConfig config) throws ServletException 
{
super.init(config);
}

/** Destroys the servlet.
 */
public void destroy() {
}

/** Returns a short description of the servlet.
 */
public String getServletInfo() {
return "dbGetInvoices";
}

/** Processes requests for both HTTP GET and
POST methods.
 * @param request servlet request
 * @param response servlet response
 */
protected void processRequest(HttpServletRequest request,
HttpServletResponse response)
throws ServletException, java.io.IOException {
response.setContentType("text/html");
java.io.PrintWriter out = response.getWriter();
out.close();
}

/** Handles the HTTP GET method.
 * @param request servlet request
 * @param response servlet response
 */
protected void doGet(HttpServletRequest request, HttpServletResponse
response)
throws ServletException, java.io.IOException 
{
   PrintWriter out = response.getWriter();
   HttpSession session = request.getSession(true);
   
   String  no_user = (String)session.getAttribute("logon.isUserNo");
   String  no_role = (String)session.getAttribute("logon.isRole");
  
   if ((null == no_user) || (null == no_role))
   {
  out.println("Sie sind zur Zeit nicht angemeldet!");
   }
   else
   {
   // wenn Projektteam Mitglied
   if ( 0 == no_role.compareTo("3"))
   GetInvoices( out, no_user );
   }
   out.println("");
}

protected void doPost(HttpServletRequest request, HttpServletResponse
response)
throws ServletException, java.io.IOException {
processRequest(request, response);
}

protected void GetInvoices( PrintWriter out, String no_user )
{
   
   GetInvoiceContents(out,no_user);
   ..
}

protected void GetInvoiceContents( PrintWriter out, String no_user )
{
   try
   {
  Context initCtx = new InitialContext();
  DataSource ds =
(DataSource)initCtx.lookup("java:comp/env/jdbc/w2k");


  // at this point ds is equal null :-(( 

  if (null != ds) 
  {
 Connection conn = ds.getConnection();
  
 if (null != conn)  
 {
 Statement st = conn.createStatement();
 ResultSet rs = st.executeQuery("select description from
price_comparison where no_price_comparison=1");
   
 Strings  = "";
 int   i  = 0;
 doubled  = 0.0;

 // number formating
 Locale   myLocale= new Locale("de", "Germany");
 NumberFormat myFormatter =
NumberFormat.getNumberInstance(myLocale);
 myFormatter.setGroupingUsed( true );
 myFormatter.setMinimumFractionDigits(2);
 myFormatter.setMaximumFractionDigits(2);

 while (rs.next())
 {
 // do something
 } 
 
 st.close();  
 conn.close();
 }
  }
  
   }
   catch(Exception e) {
e.printStackTrace();
   }
   
}
  
}



my server.xml



  
  

  
   
 factory
 org.apache.commons.dbcp.BasicDataSourceFactory
   

   
   
 maxActive
 100
   

   
   
 maxIdle
 30
   

   
   
 maxWait
 1
   

   
   
 username
 web
   
   
 password
 access
 

RE: To capture the CLICK event of SUBMIT button

2002-10-08 Thread Short, Dave

change your HREF to call a function that assigns a value to your hidden
field, then execute a formname.submit();

function SomeFunction(form)
  {
  form.fieldname.value="new value";
  form.submit();
  }

-Original Message-
From: Cox, Charlie [mailto:[EMAIL PROTECTED]]
Sent: October 08, 2002 7:38 AM
To: 'Tomcat Users List'
Subject: RE: To capture the CLICK event of SUBMIT button


I'm not seeing how this relates to tomcat...

there are plenty of good javascript resources on the net.

> -Original Message-
> From: Nagpal, Vikas [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, October 08, 2002 10:30 AM
> To: '[EMAIL PROTECTED]'
> Subject: To capture the CLICK event of SUBMIT button
> 
> 
> Hello Everybody,
> 
> I have been trying to accomplish two jobs simultaneously. 
> First on the CLICK
> of my ANCHOR tag I want to assign some value to the HIDDEN 
> input tag and
> simultaneously carry this value to the page linked to HREF 
> element of this
> ANCHOR tag.
> 
> Till this point of time its a two CLICK process(Using 
> JAVASCRIPT FUNCTION):
> 
> 1) I CLICK on my HREF element and it assigns some value to 
> the HIDDEN input
> tag.
> 
> 2) Then I CLICK on the SUBMIT button and it carries the value 
> assigned to
> the HIDDEN input tag to the page linked to the HREF element 
> of the ANCHOR
> tag.
> 
> Can i make this a single CLICK process by capturing CLICK event of the
> SUBMIT button on the onClick event of my ANCHOR tag. Can I 
> make this single
> step process.
> 
> Thanks in advance,
> With regards,
> Vikas nagpal.
> 
>  
>  
> 
> --
> To unsubscribe, e-mail:   

For additional commands, e-mail:


--
To unsubscribe, e-mail:

For additional commands, e-mail:


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: JK2 Installation

2002-10-07 Thread Short, Dave

folks - open source projects are infamous for late/weak documentation.  This
is all volunteer work and everyone knows that programmers are not the best
people to be writing documentation.  However, this is how this works.  I'm
confident that if you wanted to offer your services to write documentation,
the team would gladly accept.  This is one of the risks of using open source
software.  It's not for the faint of heart.  You're not going to find a nice
neat place to go look for answers.  There are newgroups, like this one, were
many issues are discussed and resolved daily.  I suggest using this forum
for constructive purposes, as there are many people out there counting on
this forum for timely answers.  No one wants to hear complaints if you don't
have a solution.  If using FREE open source software is too much of a risk,
I suggest using a different product.

Just my two cents...

-Original Message-
From: Catalin Constantin [mailto:[EMAIL PROTECTED]]
Sent: October 07, 2002 9:07 AM
To: Tomcat Users List
Subject: Re: JK2 Installation


http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/release/v2.0.
1/src/
i don't think that is beta !
they should've said it is beta :)

no -beta- inside the release filename !
:)


Catalin

- Original Message -
From: Turner, John
To: 'Tomcat Users List'
Sent: Monday, October 07, 2002 4:57 PM
Subject: RE: JK2 Installation



I agree that documentation is important.  My point was that if you have
experience with open source projects, which are usually quite short on
documentation, you would expect that a BETA open source project would have
EVEN LESS documentation than a released project, and go from there.

My advice would be to search the list archives, there have been many posts
over the last several weeks dealing with installing and using JK2.  In
addition, a new version has been announced (2.0.1) so perhaps the
documentation available in the source package has been updated along with
the source code itself, even if the HOWTO on the website hasn't.

John


> -Original Message-
> From: Catalin Constantin [mailto:[EMAIL PROTECTED]]
> Sent: Monday, October 07, 2002 11:55 AM
> To: Tomcat Users List
> Subject: Re: JK2 Installation
>
>
> Before i made a decision i followed the instructions from the jakarta
> connectors page!
>
> i quote:
> "JK2 is a full rewrite of JK and is much more powerfull.
> Even if it works with Apache 1.3, JK2 has been developed with
> Apache 2.0 in
> mind, and sus is better suited for multi-threaded servers like IIS,
> NES/iPlanet.
> JK2 has a better separation between protocol and physical
> layer. As such JK2
> support fast unix-socket, and could be extended to support others
> communications channels. Better it's suited for JNI and JDK
> 1.4 fast IO APIs
> JK2 could be monitored via special URLs (like mod_status)"
>
> and since the mod_jk2 is still beta, i think there should be
> a lot of documentation for the user to be able to install it
> and test it
> on several platforms, cause after all this is the meaning of
> open source.
>
> "it is beta
> but if you want to use it you have to check the source."
>
> this is not good for the project it self.
>
> so the ppl who are working should not focus only on the coding
> but also on the documentation (this is important too).
>
> Catalin
>

--
To unsubscribe, e-mail:

For additional commands, e-mail:



--
To unsubscribe, e-mail:

For additional commands, e-mail:


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Need help with bean method resolution

2002-09-30 Thread Short, Dave

I receive the following error when trying to invoke a bean method.  
Here's the code:
<%@ page contentType="text/html" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core"; %>

  
Organization Entry Form
  
  


  
  

  
  
Please enter an Organization Id
  

javax.servlet.ServletException: javax.servlet.jsp.JspException: An error
occurred while evaluating custom action attribute "test" with value
"${!OrgInfo.isOrgIdValid}": Unable to find a value for "isOrgIdValid" in
object of class "orginfo.OrganizationBean" using operator "." 

Here's how the method is defined in OrganizationBean:

  public boolean isOrgIdValid() 
{
boolean isValid = false;
if (organizationId != 0) 
  {
  isValid = true;
  }
return isValid;
}

Any help would be greatly appreciated.

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: JK2: Mod_jk2 & Isapi_redirector2.dll

2002-09-26 Thread Short, Dave

mod_jk2 - me too
isapi_redirector2.dll - soon

-Original Message-
From: Ignacio J. Ortega [mailto:[EMAIL PROTECTED]]
Sent: September 26, 2002 1:08 AM
To: 'tomcat-user'
Subject: JK2: Mod_jk2 & Isapi_redirector2.dll


Hola a todos:

We ( jk2 developers ) need some numbers about people using mod_jk2 and
isapi_redirector2.dll, simply reply to this message with a "me too", you
can in addition outline problems you are having with this new code, we
will try to solve them before the first beta ( later on october ) .. 

Thanks all in advance..

Saludos ,
Ignacio J. Ortega

--
To unsubscribe, e-mail:

For additional commands, e-mail:


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: mod_jk2, virtual hosts, JkUriSet

2002-09-21 Thread Short, Dave

Would you mind posting your Apache 2.0.40 httpd.conf and workers.properties
files, Tomcat 4.1.11 server.xml and jk2.properties files?

I'm still not able get this thing working.  All I want to do is have two
Apache virtual hosts pointing to one Tomcat 4.1.10 instance.

This is driving me crazy...

-Original Message-
From: Dom [mailto:[EMAIL PROTECTED]]
Sent: September 21, 2002 2:02 AM
To: Tomcat Users List
Subject: Re: mod_jk2, virtual hosts, JkUriSet


Hi jk2 freaks

I've applied Dmitry patch on jakarta-tomcat-connectors-4.1.11-src, and now
virtual hosts are working without using JkUriSet.  (JkUriSet was not
avalaible with Apache 1.3)

I now can use Apache 2.0.40 or Apache 1.3.26 + TOMCAT 4.1.11 and virtual
hosts using only workers2.properties and jk2.properties.

Next step, using unix sockets

Dom

- Original Message -
From: "Dmitry Letin" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Saturday, September 21, 2002 3:43 AM
Subject: Re: mod_jk2, virtual hosts, JkUriSet


> I finally found the bug (or whatever it is) that caused problems:
>
> in source file jk/native2/server/apache2/mod_jk2.c
> in line 680 (I have revision 1.49) that reads:
>
> uriEnv = workerEnv->uriMap->mapUri(env, workerEnv->uriMap,NULL,r->uri);
>
> "NULL" should be replaced to "r->server->server_hostname" (without the
quotes of course)
>
> This NULL - was the reason for invalid handling of virtual hosts.
> I have not tested this a lot yet, but virtual hosts are dispached properly
now :-) :-)
>
> This fix is for apache2 only.
> I actually typed manually the stuff above - could not do copy/paste - hope
I made no typos
>
> Recompile mod_jk2.so after this change - and all works
>
> Dmitry
>
>
>
>
>
> Hello all,
> I'm having the same problem, and I've been banging my head against it on
and
> off for about a week with no more success than anyone else...
Essentially,
> we're all trying to map the root of different virtual hosts to a different
> context within tomcat, right?  I started looking elsewhere and found that
> Resin's apache module utilizes the ServerName directive within a
>  block to select different web apps...  If it's a
make-or-break
> deal, you might want to look there.  Another workaround possibility that
I'm
> toying with now is to use mod_rewrite within apache to redirect *.jsp
> requests from http://www.vhost1.com to http://www.vhost1.com/vh1/ and map
> the /vh1/*.jsp uri to the proper context.  It just seems virtual host
> support via mod_jk2 is not possible without duct tape and bubble gum,
which
> is a shame because the unix socket feature is fantastic...
>
> Ah, for the good old days of JServ/JSSI...
>
>
> - Original Message -
> From: Dmitry Letin <[EMAIL PROTECTED]>
> To: Tomcat Users List <[EMAIL PROTECTED]>
> Sent: Thursday, September 19, 2002 6:46 PM
> Subject: RE: mod_jk2, virtual hosts, JkUriSet
>
>
> > Hi Robert,
> >
> > In my config files I of course use real domains.
> > I did try to use only workers2.properties files for configuration.
> > It seems that virtual host part is ignored, so that these are the same
> when
> > jk2 selects worker:
> >
> >
> >
> > # The virtual host part seems to be ignored anyway
> > # [uri:www.vhost1.com:80/*.jsp] - not working as well
> > [uri:www.vhost1.com/*.jsp]
> > worker=ajp13:localhost:8009
> >
> > # The virtual host part seems to be ignored anyway
> > # [uri:www.vhost2.com:80/*.jsp] - not working as well
> > [uri:www.vhost2.com/*.jsp]
> > worker=ajp13:localhost:8013
> >
> >
> > My problem comes from the fact that the virtual host part in uri seems
to
> be ignored
> > when jk2 selects a worker, and only url path is cheched by jk2 code.
> Because that part is the same
> > it is dispached to the same tomcat instance.
> >
> > I do have proper entries in my /etc/hosts file (I'm on Linux) and I did
> try this as well
> >
> > [uri:142.54.3.10:80]
> > alias=www.vhost1.com:80
> >
> > It did not help.
> >
> > I promise to write a how-to on this if I manage to solve this problem
:-)
> > But I have doubts I can solve it :-(
> >
> >
> > Dmitry
> >
> >
> >
> >
> > -Original Message-
> > From: Robert L Sowders [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, September 19, 2002 6:32 PM
> > To: Tomcat Users List
> > Subject: Re: mod_jk2, virtual hosts, JkUriSet
> >
> > Forgot to mention,
> >
> > Here's a snip from the default workers2.properties file from the src
> >
> > [uri:127.0.0.1:8003]
> > info=Example virtual host. Make sure myVirtualHost is in /etc/hosts to
> > test it
> > alias=myVirtualHost:8003
> >
> > On a windows machine the hosts file is in c:\WinNT\system32\drivers\etc
> > You'll also have to define the connector in the server.xml file.
> >
> >
> >
> >
> >
> >
> > "Robert L Sowders" <[EMAIL PROTECTED]>
> > 09/19/2002 02:48 PM
> > Please respond to "Tomcat Users List"
> >
> >
> > To: "Tomcat Users List" <[EMAIL PROTECTED]>
> > cc:
> > Subject:Re: mod_jk2, virtual hosts, JkUriSet
> >
> > 

RE: mod_jk2, virtual hosts, JkUriSet

2002-09-21 Thread Short, Dave

Dmitry,

It looks like the code the developers added was different from your original
code.

Here's your code:

uriEnv = workerEnv->uriMap->mapUri(env, workerEnv->uriMap,NULL,r->uri);
 
"NULL" should be replaced to "r->server->server_hostname" (without the
quotes of course)


and here's their code:

  -uriEnv = workerEnv->uriMap->mapUri(env, workerEnv->uriMap,NULL,r->uri
);
  +uriEnv = workerEnv->uriMap->mapUri(env, workerEnv->uriMap,
  +r->server->is_virtual ? r->server->server_hostname :
NULL,
  +r->uri );
   
Looks like they added a check for a virtual host before executing your code.
Have you had a chance to test this?


-Original Message-
From: Dmitry Letin [mailto:[EMAIL PROTECTED]]
Sent: September 21, 2002 8:50 AM
To: [EMAIL PROTECTED]
Subject: Re: mod_jk2, virtual hosts, JkUriSet


Developers have already added this fix:
 
http://www.mail-archive.com/tomcat-dev%40jakarta.apache.org/msg33556.html
 
That was really fast.
 
Dmitry

- Original Message -
From: Robert L Sowders [mailto:[EMAIL PROTECTED]] 
Sent: Сб 21/09/2002 2:16 
To: Tomcat Users List 
CC: Dmitry Letin 
Subject: Re: mod_jk2, virtual hosts, JkUriSet



Hello,

I'm glad you got it working.  Have you posted a bug at
http://www.mail-archive.com/tomcat-dev%40jakarta.apache.org/ I'm
sure the
developers of JK2 would be interested in your patch?

You might have already, their web site has not been updating for
awhile
now.

rls



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




FW: mod_jk2, virtual hosts, JkUriSet

2002-09-20 Thread Short, Dave

 <> 
 

-Original Message-
From: Short, Dave
To: 'Dmitry Letin '
Sent: 9/21/02 12:56 AM
Subject: RE: mod_jk2, virtual hosts, JkUriSet


I have not tried Dmitry's change yet, but attached is the W2K, Tomcat
4.1.10 and Apache 2.0.40 version (compiled tonight 09/20/2002).  For
those on the other side of the world, give it a try.  I'll do the same
tomorrow.

-Original Message-
From: Dmitry Letin
To: Tomcat Users List
Sent: 9/20/02 9:43 PM
Subject: Re: mod_jk2, virtual hosts, JkUriSet

I finally found the bug (or whatever it is) that caused problems:
 
in source file jk/native2/server/apache2/mod_jk2.c
in line 680 (I have revision 1.49) that reads:
 
uriEnv = workerEnv->uriMap->mapUri(env, workerEnv->uriMap,NULL,r->uri);
 
"NULL" should be replaced to "r->server->server_hostname" (without the
quotes of course)
 
This NULL - was the reason for invalid handling of virtual hosts.
I have not tested this a lot yet, but virtual hosts are dispached
properly now :-) :-)
 
This fix is for apache2 only.
I actually typed manually the stuff above - could not do copy/paste -
hope I made no typos
 
Recompile mod_jk2.so after this change - and all works
 
Dmitry
 
 

 

Hello all, 
I'm having the same problem, and I've been banging my head against it on
and 
off for about a week with no more success than anyone else...
Essentially, 
we're all trying to map the root of different virtual hosts to a
different 
context within tomcat, right?  I started looking elsewhere and found
that 
Resin's apache module utilizes the ServerName directive within a 
 block to select different web apps...  If it's a
make-or-break 
deal, you might want to look there.  Another workaround possibility that
I'm 
toying with now is to use mod_rewrite within apache to redirect *.jsp 
requests from http://www.vhost1.com <http://www.vhost1.com>  to
http://www.vhost1.com/vh1/ <http://www.vhost1.com/vh1/>  and map 
the /vh1/*.jsp uri to the proper context.  It just seems virtual host 
support via mod_jk2 is not possible without duct tape and bubble gum,
which 
is a shame because the unix socket feature is fantastic... 

Ah, for the good old days of JServ/JSSI... 


- Original Message - 
From: Dmitry Letin <[EMAIL PROTECTED]> 
To: Tomcat Users List <[EMAIL PROTECTED]> 
Sent: Thursday, September 19, 2002 6:46 PM 
Subject: RE: mod_jk2, virtual hosts, JkUriSet 


> Hi Robert, 
> 
> In my config files I of course use real domains. 
> I did try to use only workers2.properties files for configuration. 
> It seems that virtual host part is ignored, so that these are the same

when 
> jk2 selects worker: 
> 
> 
> 
> # The virtual host part seems to be ignored anyway 
> # [uri:www.vhost1.com:80/*.jsp] - not working as well 
> [uri:www.vhost1.com/*.jsp] 
> worker=ajp13:localhost:8009 
> 
> # The virtual host part seems to be ignored anyway 
> # [uri:www.vhost2.com:80/*.jsp] - not working as well 
> [uri:www.vhost2.com/*.jsp] 
> worker=ajp13:localhost:8013 
> 
> 
> My problem comes from the fact that the virtual host part in uri seems
to 
be ignored 
> when jk2 selects a worker, and only url path is cheched by jk2 code. 
Because that part is the same 
> it is dispached to the same tomcat instance. 
> 
> I do have proper entries in my /etc/hosts file (I'm on Linux) and I
did 
try this as well 
> 
> [uri:142.54.3.10:80] 
> alias=www.vhost1.com:80 
> 
> It did not help. 
> 
> I promise to write a how-to on this if I manage to solve this problem
:-) 
> But I have doubts I can solve it :-( 
> 
> 
> Dmitry 
> 
> 
> 
> 
> -Original Message- 
> From: Robert L Sowders [mailto:[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> ] 
> Sent: Thursday, September 19, 2002 6:32 PM 
> To: Tomcat Users List 
> Subject: Re: mod_jk2, virtual hosts, JkUriSet 
> 
> Forgot to mention, 
> 
> Here's a snip from the default workers2.properties file from the src 
> 
> [uri:127.0.0.1:8003] 
> info=Example virtual host. Make sure myVirtualHost is in /etc/hosts to

> test it 
> alias=myVirtualHost:8003 
> 
> On a windows machine the hosts file is in
c:\WinNT\system32\drivers\etc 
> You'll also have to define the connector in the server.xml file. 
> 
> 
> 
> 
> 
> 
> "Robert L Sowders" <[EMAIL PROTECTED]> 
> 09/19/2002 02:48 PM 
> Please respond to "Tomcat Users List" 
> 
> 
> To: "Tomcat Users List" <[EMAIL PROTECTED]> 
> cc: 
> Subject:Re: mod_jk2, virtual hosts, JkUriSet 
> 
> H, 
> 
> looks like you got some funny domains for those VirtualHosts as well
as 
> some nonstandard JkUriSet statements.  You probably have a proble

RE: mod_jk2, virtual hosts, JkUriSet

2002-09-19 Thread Short, Dave

Thanks, I'll give it a try and report back.

-Original Message-
From: Dmitry Letin [mailto:[EMAIL PROTECTED]]
Sent: September 19, 2002 3:31 PM
To: Tomcat Users List
Subject: RE: mod_jk2, virtual hosts, JkUriSet


The TOMCAT_1 Connector uses port 8009 of cource - copied from wrong place.

-Original Message-
From:   Dmitry Letin
Sent:   Thu 19/09/2002 6:25 PM
To: Tomcat Users List
Cc: 
Subject:RE: mod_jk2, virtual hosts, JkUriSet
Hi Dave,
I use something like this:

Relevent parts of config files.

***

TOMCAT_1:

server.xml:




jk2.properties:

# jk2.properties

[logger]
level=ERROR

# list of needed handlers.
handler.list=apr,channelSocket,request

# Set the default port for the channelSocket
channelSocket.port=8009
channelSocket.maxPort=8009


# end of jk2.properties

***

Tomcat_2:

server.xml:




jk2.properties:

# jk2.properties

[logger]
level=ERROR

# list of needed handlers.
handler.list=apr,channelSocket,request

# Set the default port for the channelSocket
channelSocket.port=8013
channelSocket.maxPort=8013

# end of jk2.properties

***

httpd.conf (I use apache2 - for apache1.3 - you'll need AddModule mod_jk2.c
as well):

LoadModule jk2_module modules/mod_jk2.so

***

workers2.properties:

#
# workers2.properties
[logger]
level=INFO

# Alternate file logger
[logger.file:0]
level=INFO
file=/usr/local/apache2/logs/jk2.log

# Shared memory handling. Needs to be set.
[shm]
file=/usr/local/apache2/logs/jk2.shm
size=1048576

[workerEnv:]
info=Global server options
timing=1
debug=0
logger=logger.file:0

[lb:lb]
info=Default load balancer.
debug=0

[lb:lb_1]
info=Second load balancer.
debug=0

[lb:lb_2]
info=Third load balancer.
debug=0


# vhost1 socket channel, explicitly set port and host.
[channel.socket:localhost:8009]
port=8009
host=127.0.0.1
debug=0
tomcatId=localhost:8009
group=lb_1

# vhost2 socket channel, explicitly set port and host.
[channel.socket:localhost:8013]
port=8013
host=127.0.0.1
debug=0
tomcatId=localhost:8013
group=lb_2


[ajp13:localhost:8009]
channel=channel.socket:localhost:8009

[ajp13:localhost:8013]
channel=channel.socket:localhost:8013


# Announce a "status" worker
[status:status]

[uri:/jkstatus/*]
worker=status:status

# The virtual host part seems to be ignored anyway
#[uri:www.vhost1.com:80/service/en/servlet/*]  might use port as well
[uri:www.vhost1.com/service/en/servlet/*]
worker=ajp13:localhost:8009

# The virtual host part seems to be ignored anyway
# [uri:www.vhost1.com:80/*.jsp] - not working as well
[uri:www.vhost1.com/*.jsp]
worker=ajp13:localhost:8009

# The virtual host part seems to be ignored anyway
[uri:www.vhost2.com/*.jsp]
worker=ajp13:localhost:8013


My problem comes from the fact that the "www.vhost2.com" seems to be egnored
when and only /*.jsp is cheched by jk2 code. Because that part is the same
it is dispached to the same tomcat instance.

Dmitry

-Original Message-
From:   Short, Dave [mailto:[EMAIL PROTECTED]]
Sent:   Thu 19/09/2002 5:30 PM
To: 'Tomcat Users List'
Cc: 
Subject:RE: mod_jk2, virtual hosts, JkUriSet
Dmitry,

I'm having problems with this as well.  Although, it sounds like you have my
problems figured out (I'm not trying to go to two Tomcats from Apache
virtual hosts, I'm trying to go to just one Tomcat).  So, would you mind
posting your httpd.conf, workers.properties, server.xml and jk2.properties
files?

I'd appreciate it you wouldn't mind.

Thanks

-Original Message-
From: Dmitry Letin [mailto:[EMAIL PROTECTED]]
Sent: September 19, 2002 1:25 PM
To: [EMAIL PROTECTED]
Subject: mod_jk2, virtual hosts, JkUriSet


Hi,

Has anybody managed to successfully connect apache virtual hosts to
different
instances of tomcat using mod_jk2?

I spent several days looking at all available documentation, mail archives
and
a bit of source code but could not make a working solution.

I have no problem connecting to a single TomcatInstance. Problems start when
I need to connect to two separate instances.

I did check docs in
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html
and found them not helpful.


For simplicity:
I need to connect /*.jsp from apache VirtualHost1 to TomcatInstance1 
and /*.jsp from apache VirtualHost2 to TomcatInstance2

I would greatly appreciate if somebody could send required fragments from 
a WORKING config files: httpd.conf, workers2.conf and jk2.properties.


>From jakarta-tomcat-connectors/jk/native2/server/apache2/mod_jk2.c I found:

 * Example:
 *   
 *  
 * JkUriSet worker ajp13
 *  
 *   
 *
 * This is the best way to define a webapplication in apache. It is
 * scalable ( using apache native optimizations

RE: mod_jk2, virtual hosts, JkUriSet

2002-09-19 Thread Short, Dave

Dmitry,

I'm having problems with this as well.  Although, it sounds like you have my
problems figured out (I'm not trying to go to two Tomcats from Apache
virtual hosts, I'm trying to go to just one Tomcat).  So, would you mind
posting your httpd.conf, workers.properties, server.xml and jk2.properties
files?

I'd appreciate it you wouldn't mind.

Thanks

-Original Message-
From: Dmitry Letin [mailto:[EMAIL PROTECTED]]
Sent: September 19, 2002 1:25 PM
To: [EMAIL PROTECTED]
Subject: mod_jk2, virtual hosts, JkUriSet


Hi,

Has anybody managed to successfully connect apache virtual hosts to
different
instances of tomcat using mod_jk2?

I spent several days looking at all available documentation, mail archives
and
a bit of source code but could not make a working solution.

I have no problem connecting to a single TomcatInstance. Problems start when
I need to connect to two separate instances.

I did check docs in
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html
and found them not helpful.


For simplicity:
I need to connect /*.jsp from apache VirtualHost1 to TomcatInstance1 
and /*.jsp from apache VirtualHost2 to TomcatInstance2

I would greatly appreciate if somebody could send required fragments from 
a WORKING config files: httpd.conf, workers2.conf and jk2.properties.


>From jakarta-tomcat-connectors/jk/native2/server/apache2/mod_jk2.c I found:

 * Example:
 *   
 *  
 * JkUriSet worker ajp13
 *  
 *   
 *
 * This is the best way to define a webapplication in apache. It is
 * scalable ( using apache native optimizations, you can have hundreds
 * of hosts and thousands of webapplications ), 'natural' to any
 * apache user.

Does it work properly at all? 

In my case I have:


 
JkUriSet worker ajp13:localhost:8009
 



 
JkUriSet worker ajp13:localhost:8013
 


But in the end all requests (even from vh1) are routed to worker
ajp13:localhost:8013
But I expected them to be routed to ajp13:localhost:8009

Looks like a bug to me.


Thanks,
Dmitry Letin



--
To unsubscribe, e-mail:

For additional commands, e-mail:


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Virtual hosts using Apache 2.0.40, Tomcat 4.1.10 and mod_jk2

2002-09-17 Thread Short, Dave

Can anyone please provide a working configuration for Apache 2.0.40 virtual
hosts with Tomcat 4.1.10 (running in-process) and mod_jk2?

Defining a virtual host in Apache, redirecting to Tomcat (via
workers.properties), defining a virtual host and context in the server.xml
file isn't working somehow.  The examples example works just fine when
defined without a virtual host in Apache.  When defined as a virtual host,
Tomcat seems unable to find Java classes and import files.  No errors are
written anywhere (that I can find) and the jsp executes ok, but any Java
classes are not called.  If I run the date example form a non virtual host
Apache, everything works.  When running the same example with an Apache
virtual host set up, the date jsp is executed but the date class it calls is
not invoked.  The date example boiler plate text is displayed without
values.

Any help would be greatly appreciated.

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Apache 2.0.40/Tomcat 4.1.10 vhost problem

2002-09-12 Thread Short, Dave

Thanks, I'll check this out.  Is there Tomcat documentation that covers this
stuff?

-Original Message-
From: Turner, John [mailto:[EMAIL PROTECTED]]
Sent: September 12, 2002 7:48 AM
To: 'Tomcat Users List'
Subject: RE: Apache 2.0.40/Tomcat 4.1.10 vhost problem



There should be a Host element in server.xml for "localhost".

It looks like this:



That's from a 4.1.10 server.xml.  I'm still getting familiar with 4.1.10, I
think you might need to tweak the Engine element as well.

So, you would want something like this:







John

> -----Original Message-
> From: Short, Dave [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, September 12, 2002 10:40 AM
> To: 'Tomcat Users List'
> Subject: RE: Apache 2.0.40/Tomcat 4.1.10 vhost problem
> 
> 
> The missing link!  I don't have  definitions setup or 
> see an example
> of the  definition in the server.xml file.  Would you 
> mind pointing me
> in the direction where I can find documentation on this?
> 
> Thanks!!!
> 
> -Original Message-
> From: Turner, John [mailto:[EMAIL PROTECTED]]
> Sent: September 12, 2002 7:34 AM
> To: 'Tomcat Users List'
> Subject: RE: Apache 2.0.40/Tomcat 4.1.10 vhost problem
> 
> 
> 
> What are your server.xml Host element definitions?  Do you 
> have one for each
> of the Apache virtual hosts?  
> 
> John
> 
> 
> > -Original Message-
> > From: Short, Dave [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, September 12, 2002 10:31 AM
> > To: Tomcat Users List
> > Subject: Apache 2.0.40/Tomcat 4.1.10 vhost problem
> > 
> > 
> > I'm having a problem accessing .jsp files when running Tomcat 
> > (inprocess -
> > mod_jk2) via an Apache virtual host.  I have three virtual 
> > hosts defined in
> > the httpd.conf file (see below) with three webapps defined in 
> > server.xml
> > (see below).  Apache serves up my index.html just fine from 
> > vhost App1.
> > When index.html tries to invoke a .jsp file, Tomcat can't 
> > find it.  If I add
> > the absolute path to the .jsp file, within index.html, 
> > everything works.  It
> > seems as though Tomcat is trying to serve up the .jsp file 
> > from the webapps
> > root.
> > 
> > Configuration:
> > 
> > Windows 2000
> > Apache 2.0.40
> > Tomcat 4.1.10
> > 
> > 
> > index.html:
> > 
> > This doesn't work
> > 
> > 
> >   
> > vhost test
> >   
> >   
> > vhost test
> >   
> > 
> > 
> > This works
> > 
> > 
> >   
> > vhost test
> >   
> >   
> > vhost test
> >   
> > 
> > 
> > 
> > httpd.conf:
> > 
> > NameVirtualHost *
> > 
> > 
> > DocumentRoot "C:/Tomcat/webapps/App1/htdocs"
> > ServerName App1
> > ServerAdmin [EMAIL PROTECTED]
> > DirectoryIndex index.html
> > ErrorLog logs/App1.log
> > 
> > 
> >   Options Indexes MultiViews
> >   AllowOverride None
> >   Order allow,deny
> >   Allow from all
> > 
> > 
> > 
> > 
> > 
> > DocumentRoot "C:/Tomcat/webapps/App2/htdocs"
> > ServerName App2
> > ServerAdmin [EMAIL PROTECTED]
> > DirectoryIndex index.html
> > ErrorLog logs/App2.log
> > 
> > 
> >   Options Indexes MultiViews
> >   AllowOverride None
> >   Order allow,deny
> >   Allow from all
> > 
> > 
> > 
> > 
> > 
> > DocumentRoot "C:/Tomcat/webapps/App3/htdocs"
> > ServerName App3
> > ServerAdmin [EMAIL PROTECTED]
> > DirectoryIndex index.html
> > ErrorLog logs/App3.log
> > 
> > 
> >   Options Indexes MultiViews
> >   AllowOverride None
> >   Order allow,deny
> >   Allow from all
> > 
> > 
> > 
> > 
> > 
> > workers.properties:
> > 
> > [uri:/App1]
> > info App1 webapp in the default context. 
> > context=/App1
> > debug=0
> > 
> > [uri:/App1/servlet/*]
> > info=Prefix mapping
> > 
> > [uri:/App1/*.jsp]
> > info=Extension mapping
> > 
> > 
> > [uri:/App2]
> > info=App2 webapp in the default context. 
> > context=/App2
> > debug=0
> > 
> > [uri:/App2/servlet/*]
> > info=Prefix mapping
> > 
> > [uri:/App2/*.jsp]
> > info=Extension mapping
> > 
> > 

RE: Apache 2.0.40/Tomcat 4.1.10 vhost problem

2002-09-12 Thread Short, Dave

The missing link!  I don't have  definitions setup or see an example
of the  definition in the server.xml file.  Would you mind pointing me
in the direction where I can find documentation on this?

Thanks!!!

-Original Message-
From: Turner, John [mailto:[EMAIL PROTECTED]]
Sent: September 12, 2002 7:34 AM
To: 'Tomcat Users List'
Subject: RE: Apache 2.0.40/Tomcat 4.1.10 vhost problem



What are your server.xml Host element definitions?  Do you have one for each
of the Apache virtual hosts?  

John


> -Original Message-----
> From: Short, Dave [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, September 12, 2002 10:31 AM
> To: Tomcat Users List
> Subject: Apache 2.0.40/Tomcat 4.1.10 vhost problem
> 
> 
> I'm having a problem accessing .jsp files when running Tomcat 
> (inprocess -
> mod_jk2) via an Apache virtual host.  I have three virtual 
> hosts defined in
> the httpd.conf file (see below) with three webapps defined in 
> server.xml
> (see below).  Apache serves up my index.html just fine from 
> vhost App1.
> When index.html tries to invoke a .jsp file, Tomcat can't 
> find it.  If I add
> the absolute path to the .jsp file, within index.html, 
> everything works.  It
> seems as though Tomcat is trying to serve up the .jsp file 
> from the webapps
> root.
> 
> Configuration:
> 
> Windows 2000
> Apache 2.0.40
> Tomcat 4.1.10
> 
> 
> index.html:
> 
> This doesn't work
> 
> 
>   
> vhost test
>   
>   
> vhost test
>   
> 
> 
> This works
> 
> 
>   
> vhost test
>   
>   
> vhost test
>   
> 
> 
> 
> httpd.conf:
> 
> NameVirtualHost *
> 
> 
> DocumentRoot "C:/Tomcat/webapps/App1/htdocs"
> ServerName App1
> ServerAdmin [EMAIL PROTECTED]
> DirectoryIndex index.html
> ErrorLog logs/App1.log
> 
> 
>   Options Indexes MultiViews
>   AllowOverride None
>   Order allow,deny
>   Allow from all
> 
> 
> 
> 
> 
> DocumentRoot "C:/Tomcat/webapps/App2/htdocs"
> ServerName App2
> ServerAdmin [EMAIL PROTECTED]
> DirectoryIndex index.html
> ErrorLog logs/App2.log
> 
> 
>   Options Indexes MultiViews
>   AllowOverride None
>   Order allow,deny
>   Allow from all
> 
> 
> 
> 
> 
> DocumentRoot "C:/Tomcat/webapps/App3/htdocs"
> ServerName App3
> ServerAdmin [EMAIL PROTECTED]
> DirectoryIndex index.html
> ErrorLog logs/App3.log
> 
> 
>   Options Indexes MultiViews
>   AllowOverride None
>   Order allow,deny
>   Allow from all
> 
> 
> 
> 
> 
> workers.properties:
> 
> [uri:/App1]
> info App1 webapp in the default context. 
> context=/App1
> debug=0
> 
> [uri:/App1/servlet/*]
> info=Prefix mapping
> 
> [uri:/App1/*.jsp]
> info=Extension mapping
> 
> 
> [uri:/App2]
> info=App2 webapp in the default context. 
> context=/App2
> debug=0
> 
> [uri:/App2/servlet/*]
> info=Prefix mapping
> 
> [uri:/App2/*.jsp]
> info=Extension mapping
> 
> 
> [uri:/App3]
> info=App3 webapp in the default context. 
> context=/App3
> debug=0
> 
> [uri:/App3/servlet/*]
> info=Prefix mapping
> 
> [uri:/App3/*.jsp]
> info=Extension mapping
> 
> [uri:/App3/*]
> info=Map the whole webapp
> 
> 
> server.xml:
> 
> 
>   reloadable="true" crossContext="true">
> prefix="localhost_App1_log." suffix=".txt"
> timestamp="true"/>
> 
> 
> 
>   reloadable="true" crossContext="true">
> 
> prefix="localhost_App2_log." suffix=".txt"
> timestamp="true"/>
> 
> 
> 
> 
>   reloadable="true" crossContext="true">
> 
> prefix="localhost_App3_log." suffix=".txt"
> timestamp="true"/>
> 
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: 
> <mailto:[EMAIL PROTECTED]>
> 

--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




Apache 2.0.40/Tomcat 4.1.10 vhost problem

2002-09-12 Thread Short, Dave

I'm having a problem accessing .jsp files when running Tomcat (inprocess -
mod_jk2) via an Apache virtual host.  I have three virtual hosts defined in
the httpd.conf file (see below) with three webapps defined in server.xml
(see below).  Apache serves up my index.html just fine from vhost App1.
When index.html tries to invoke a .jsp file, Tomcat can't find it.  If I add
the absolute path to the .jsp file, within index.html, everything works.  It
seems as though Tomcat is trying to serve up the .jsp file from the webapps
root.

Configuration:

Windows 2000
Apache 2.0.40
Tomcat 4.1.10


index.html:

This doesn't work


  
vhost test
  
  
vhost test
  


This works


  
vhost test
  
  
vhost test
  



httpd.conf:

NameVirtualHost *


DocumentRoot "C:/Tomcat/webapps/App1/htdocs"
ServerName App1
ServerAdmin [EMAIL PROTECTED]
DirectoryIndex index.html
ErrorLog logs/App1.log


  Options Indexes MultiViews
  AllowOverride None
  Order allow,deny
  Allow from all





DocumentRoot "C:/Tomcat/webapps/App2/htdocs"
ServerName App2
ServerAdmin [EMAIL PROTECTED]
DirectoryIndex index.html
ErrorLog logs/App2.log


  Options Indexes MultiViews
  AllowOverride None
  Order allow,deny
  Allow from all





DocumentRoot "C:/Tomcat/webapps/App3/htdocs"
ServerName App3
ServerAdmin [EMAIL PROTECTED]
DirectoryIndex index.html
ErrorLog logs/App3.log


  Options Indexes MultiViews
  AllowOverride None
  Order allow,deny
  Allow from all





workers.properties:

[uri:/App1]
info App1 webapp in the default context. 
context=/App1
debug=0

[uri:/App1/servlet/*]
info=Prefix mapping

[uri:/App1/*.jsp]
info=Extension mapping


[uri:/App2]
info=App2 webapp in the default context. 
context=/App2
debug=0

[uri:/App2/servlet/*]
info=Prefix mapping

[uri:/App2/*.jsp]
info=Extension mapping


[uri:/App3]
info=App3 webapp in the default context. 
context=/App3
debug=0

[uri:/App3/servlet/*]
info=Prefix mapping

[uri:/App3/*.jsp]
info=Extension mapping

[uri:/App3/*]
info=Map the whole webapp


server.xml:



  





  






  



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Windows HowTo for TC 4.1.10 + Apache 2.0.40 + mod_jk2

2002-09-04 Thread Short, Dave

Excellent job!  This should be posted on the TC HOW-TO Page.

-Original Message-
From: Robert L Sowders [mailto:[EMAIL PROTECTED]]
Sent: September 04, 2002 2:17 PM
To: Tomcat Users List
Subject: RE: Windows HowTo for TC 4.1.10 + Apache 2.0.40 + mod_jk2


Thanks,

The document has been changed, thanks for your help with this and 
everything you've done with mod_jk2.
I also have one that includes an ArcIMS installation.
ftp://pokey.wr.usgs.gov/pub/rsowders/

rls





"Mladen Turk" <[EMAIL PROTECTED]>
09/04/2002 02:22 AM
Please respond to "Tomcat Users List"

 
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
cc: 
Subject:RE: Windows HowTo for TC 4.1.10 + Apache 2.0.40 +
mod_jk2

Good work!

One exception:
You don't need JVM in the [wm] section for jk2 to work.
If ommited it will be found from the Registry.

MT.

> -Original Message-
> From: Robert L Sowders [mailto:[EMAIL PROTECTED]] 
> Sent: Wednesday, September 04, 2002 11:11 AM
> To: Tomcat Users List
> Subject: Windows HowTo for TC 4.1.10 + Apache 2.0.40 + mod_jk2
> 
> 
> Here is a short HowTo to get it all installed and working on Win2k. 
> Sorry all I have is a Word document.  Give it a try, feedback is 
> appreciated. 
> Probably lots of typo's in it.  Let me know.
> 
> ftp://pokey.wr.usgs.gov/pub/rsowders/Apache2_Win2k_TC4.1.10_JS
DK1.4.zip

--
To unsubscribe, e-mail:

For additional commands, e-mail:





--
To unsubscribe, e-mail:

For additional commands, e-mail:






--
To unsubscribe, e-mail:

For additional commands, e-mail:


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Instructions for building mod_jk2.dll on Win32

2002-08-28 Thread Short, Dave

Are there detailed instructions for building mod_jk2.dll (using Apach 2.0.40
and Tomcat 4.1.9) for Win32?  I've tried to use the Linux instructions,
changing steps as I think they pertain to Win32 without success.

Any help would be greatly appreciated.

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: mod_jk

2002-08-27 Thread Short, Dave

Here a list of .h files called from the jk_apache2.h, which is called from
mod_jk2.c.  I found the jk_*.h files but not the others.  

#include "apu_compat.h"
#include "ap_config.h"
#include "apr_lib.h"
#include "apr_date.h"
#include "apr_strings.h"
#include "apr_pools.h"
#include "apr_tables.h"
#include "apr_hash.h"

#include "httpd.h"
#include "http_config.h"
#include "http_request.h"
#include "http_core.h"
#include "http_protocol.h"
#include "http_main.h"
#include "http_log.h"

#include "jk_global.h"
#include "jk_map.h"
#include "jk_pool.h"
#include "jk_env.h"
#include "jk_service.h"
#include "jk_worker.h"
#include "jk_workerEnv.h"
#include "jk_uriMap.h"
#include "jk_requtil.h"

Also, mod_jk2.c calls two additional .h files (scoreboard.h, util_script.h)
that I can't seem to find...

Is all this stuff bundled somewhere?  Am I looking in the right place?  

Here's where I'm looking:
http://cvs.apache.org/viewcvs/jakarta-tomcat-connectors/jk/native2/server/ap
ache2/

-Original Message-
From: Peter T. Abplanalp [mailto:[EMAIL PROTECTED]]
Sent: August 27, 2002 3:33 PM
To: 'Tomcat Users List'
Subject: Re: mod_jk


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, Aug 27, 2002 at 06:17:40PM -0400, Short, Dave wrote:
> Not asking for every OS under the sun, just Win32 - which is a fairly
common
> OS...  I would gladly download, compile and post the source for Win32

well for you win32 is not every os under the sun because that is what
you choose to use.  others might have a different point of view.  plus
if we wanted the developers to compile the code for every os that
anyone on the list uses, well, that could be a big job.

> mod_k2.  Last time I tried, my compiler complained about missing .h files.
> If you wouldn't mind telling me where ALL required files reside, I would
be
> happy to help out.

which .h files did the compiler complain about?

- -- 
Peter Abplanalp

Email:   [EMAIL PROTECTED]
PGP: pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9a/42ggA8sH0iRXQRAvNeAJ9GW43lwZNIaFPyhNuUkPmYrm4QAgCgt1t+
56p/HxP6GPtp68DvhdaIrCk=
=M6d+
-END PGP SIGNATURE-

--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




RE: mod_jk

2002-08-27 Thread Short, Dave

I'll try again tonight and post the list (I'm not on that machine now).
Anyway, where did you find the source?

-Original Message-
From: Peter T. Abplanalp [mailto:[EMAIL PROTECTED]]
Sent: August 27, 2002 3:33 PM
To: 'Tomcat Users List'
Subject: Re: mod_jk


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, Aug 27, 2002 at 06:17:40PM -0400, Short, Dave wrote:
> Not asking for every OS under the sun, just Win32 - which is a fairly
common
> OS...  I would gladly download, compile and post the source for Win32

well for you win32 is not every os under the sun because that is what
you choose to use.  others might have a different point of view.  plus
if we wanted the developers to compile the code for every os that
anyone on the list uses, well, that could be a big job.

> mod_k2.  Last time I tried, my compiler complained about missing .h files.
> If you wouldn't mind telling me where ALL required files reside, I would
be
> happy to help out.

which .h files did the compiler complain about?

- -- 
Peter Abplanalp

Email:   [EMAIL PROTECTED]
PGP: pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9a/42ggA8sH0iRXQRAvNeAJ9GW43lwZNIaFPyhNuUkPmYrm4QAgCgt1t+
56p/HxP6GPtp68DvhdaIrCk=
=M6d+
-END PGP SIGNATURE-

--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




RE: mod_jk

2002-08-27 Thread Short, Dave

Not asking for every OS under the sun, just Win32 - which is a fairly common
OS...  I would gladly download, compile and post the source for Win32
mod_k2.  Last time I tried, my compiler complained about missing .h files.
If you wouldn't mind telling me where ALL required files reside, I would be
happy to help out.

-Original Message-
From: Peter T. Abplanalp [mailto:[EMAIL PROTECTED]]
Sent: August 27, 2002 3:11 PM
To: 'Tomcat Users List'
Subject: Re: mod_jk


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, Aug 27, 2002 at 02:50:59PM -0700, Short, Dave wrote:
> I've been looking for the Win32 mod_jk2 binary for Apache 2.0.40 for two
> weeks now.  I've logged a bug request in Bugzilla, asked here multiple
times
> and still no response.  Maybe the keeper of the mod_jk and mod_jk2
software
> is on vacation or asleep...

i don't think it is the developers' job to create binaries for every
os under the sun.  when i needed a binary, i downloaded the source and
compiled it.  you can too.  ok, those of you who have windows and no
compiler are out of luck but the redhat poster doesn't really have an
excuse.  if i have time tonight, perhaps i can copmile mod_jk for
redhat 7.3.  i happen to be using mod_jk2 so didn't compile mod_jk.

the developers donate their time to creating a useful tool that is
free.  perhaps if you volunteer to pay them some money, they would
provide binaries for you.

- -- 
Peter Abplanalp

Email:   [EMAIL PROTECTED]
PGP: pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9a/jjggA8sH0iRXQRAqV7AKCfd/s1i5R5sH/HKmp41pL3emVfogCcCEfv
yO+P2Ywhow2XYGhsqPmxt5Q=
=F3+/
-END PGP SIGNATURE-

--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




RE: mod_jk

2002-08-27 Thread Short, Dave

I've been looking for the Win32 mod_jk2 binary for Apache 2.0.40 for two
weeks now.  I've logged a bug request in Bugzilla, asked here multiple times
and still no response.  Maybe the keeper of the mod_jk and mod_jk2 software
is on vacation or asleep...

-Original Message-
From: Ray Madigan [mailto:[EMAIL PROTECTED]]
Sent: August 27, 2002 2:48 PM
To: Tomcat Users List
Subject: mod_jk


I have tried for some time to find the appropriate version of mod_jk.so to
connect Apache 2.0.40 with Tomcat 4.04.  Can anyone tell me where to get the
binary form of the connector for RH Linux 7.3.  Your help is appreciated.

RayM


--
To unsubscribe, e-mail:

For additional commands, e-mail:


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Does closing a Connection variable and setting it to null close all of the ResultSet and Statements?

2002-08-27 Thread Short, Dave

By closing you mean set the ResultSet and Statement objects to null -
correct?

-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Sent: August 27, 2002 9:06 AM
To: Tomcat Users List
Subject: Re: Does closing a Connection variable and setting it to null
close all of the ResultSet and Statements?




On Tue, 27 Aug 2002, Tim Funk wrote:

> Date: Tue, 27 Aug 2002 12:03:18 -0400
> From: Tim Funk <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> To: Tomcat Users List <[EMAIL PROTECTED]>
> Subject: Re: Does closing a Connection variable and setting it to null
> close all of the ResultSet and Statements?
>
> It is not requried to close ResultSets, Statements, etc if you close the
> connection. (I think) The spec says if you close a connection - all
> associated resources for that connection will also be closed.
>

That's what the spec says, but relying on it is being awfully trusting of
JDBC driver developers to do the right thing.  A little paranoia here
(i.e.  close the result sets and statements yourself) goes a long way
towards making your apps more reliable.

Craig


> If you are using a pool - the pool manager *should* be obeying this
> principal too.
>
> Michael Nicholson wrote:
> > Well, I guess the subject line says it all.  I'm having memory issues,
and having read the OOM error messages on the list, I've checked and found
some open and not being closed connections, so I'm going back and closing
them all.  The question is do I need to explicitly close/dereference (set to
null) all statements and recordsets too?  Right now the system takes about
4% of my available memory just for the beans in question, so I'm trying to
minimize what I store so that I could conceptually have more than one user.
> >
> > Thanks in advance,
> > Mike Nicholson
>
>
> --
> To unsubscribe, e-mail:

> For additional commands, e-mail:

>
>


--
To unsubscribe, e-mail:

For additional commands, e-mail:


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: DBCP borrowObject failed

2002-08-19 Thread Short, Dave

Simon,

Thanks for the reply.  I changed the URL to the following and it now works.

jdbc:oracle:thin:@localhost:1521:test

Dave

-Original Message-
From: Simon T [mailto:[EMAIL PROTECTED]]
Sent: August 18, 2002 5:01 AM
To: Tomcat Users List
Subject: Re: DBCP borrowObject failed


Your server xml is missing usersname and password, mybe you left this 
out in the email.
web.xml is fine, but it need to be the one under PSI/WEB-INF

I am running oracle fine wtih JDK1.3.1 as a window service, have not got 
going with JDK1.4.0 yet.
My url has no username in front of it.
jdbc:oracle:thin:@localhost:1521:test

Yours has

value>jdbc:oracle:thin:CUST0@short200:1521:PSIP

is CUSTO correct? Maybe you could leave it out.

Did you use the correct tomcat.exe, the LE one is for JDK1.4.


This is from my server.xml


  
factory
org.apache.commons.dbcp.BasicDataSourceFactory
  
  
driverClassName
oracle.jdbc.driver.OracleDriver
  
  
url
jdbc:oracle:thin:@localhost:1521:test
  
  
username
test
  
  
password

  
  
maxActive
20
  
  
maxIdle
10
  
  
maxWait
-1
  


Simon

Short, Dave wrote:

>I am having a problem getting a connection from JNDI.  I set up my
>server.xml and web.xml files per the instructions in the JNDI Resources
>HOW-TO and JNDI DataSource Examples on the Tomcat 4.1 Documentation Page.
>
>Configuration:
>
>W2K
>Tomcat 4.1.9 (Stand Alone)
>Oracle 8.1.7
>
>Here's my Tomcat console output, server.xml and web.xml snippets.
>
>Any help would be much appreciated.
>
>Dave
>
>Console Output
>***
*
>*
>
>[INFO] Registry - -Loading registry information
>[INFO] Registry - -Creating new Registry instance
>[INFO] Registry - -Creating MBeanServer
>[INFO] Http11Protocol - -Initializing Coyote HTTP/1.1 on port 8080
>Starting service Tomcat-Standalone
>Apache Tomcat/4.1.9
>[INFO] Http11Protocol - -Starting Coyote HTTP/1.1 on port 8080
>[INFO] ChannelSocket - -JK2: ajp13 listening on tcp port 8009
>[INFO] JkMain - -APR not loaded, disabling jni components:
>java.io.IOException:
>
>[INFO] JkMain - -Jk running ID=0 time=60/60
>config=C:\Tomcat\conf\jk2.properties
>DBCP borrowObject failed: null
>java.lang.NullPointerException
>at
>org.apache.commons.dbcp.DelegatingConnection.setAutoCommit(DelegatingConnec
t
>ion.java:237)
>at
>org.apache.commons.dbcp.PoolableConnectionFactory.activateObject(PoolableCo
n
>nectionFactory.java:273)
>at
>org.apache.commons.pool.impl.GenericObjectPool.borrowObject(Unknown Source)
>at
>org.apache.commons.dbcp.AbandonedObjectPool.borrowObject(AbandonedObjectPoo
l
>.java:117)
>at
>org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.j
a
>va:110)
>at
>org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:
3
>12)
>at foo.DBTest.init(Unknown Source)
>at org.apache.jsp.test_jsp._jspService(test_jsp.java:52)
>at
>org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:136)
>at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>at
>org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:
2
>02)
>at
>org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:289)
>at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240)
>at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>at
>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicatio
n
>FilterChain.java:247)
>at
>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterC
h
>ain.java:193)
>at
>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.j
a
>va:260)
>at
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo
k
>eNext(StandardPipeline.java:643)
>at
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
>at
>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>at
>org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.j
a
>va:191)
>at
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo
k
>eNext(StandardPipeline.java:643)
>at
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
>at
>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>at
>org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2350)
>at
>org.apache.catalina.core.Stan

DBCP borrowObject failed

2002-08-17 Thread Short, Dave

I am having a problem getting a connection from JNDI.  I set up my
server.xml and web.xml files per the instructions in the JNDI Resources
HOW-TO and JNDI DataSource Examples on the Tomcat 4.1 Documentation Page.

Configuration:

W2K
Tomcat 4.1.9 (Stand Alone)
Oracle 8.1.7

Here's my Tomcat console output, server.xml and web.xml snippets.

Any help would be much appreciated.

Dave

Console Output

*

[INFO] Registry - -Loading registry information
[INFO] Registry - -Creating new Registry instance
[INFO] Registry - -Creating MBeanServer
[INFO] Http11Protocol - -Initializing Coyote HTTP/1.1 on port 8080
Starting service Tomcat-Standalone
Apache Tomcat/4.1.9
[INFO] Http11Protocol - -Starting Coyote HTTP/1.1 on port 8080
[INFO] ChannelSocket - -JK2: ajp13 listening on tcp port 8009
[INFO] JkMain - -APR not loaded, disabling jni components:
java.io.IOException:
no jkjni in java.library.path
[INFO] JkMain - -Jk running ID=0 time=60/60
config=C:\Tomcat\conf\jk2.properties
DBCP borrowObject failed: null
java.lang.NullPointerException
at
org.apache.commons.dbcp.DelegatingConnection.setAutoCommit(DelegatingConnect
ion.java:237)
at
org.apache.commons.dbcp.PoolableConnectionFactory.activateObject(PoolableCon
nectionFactory.java:273)
at
org.apache.commons.pool.impl.GenericObjectPool.borrowObject(Unknown Source)
at
org.apache.commons.dbcp.AbandonedObjectPool.borrowObject(AbandonedObjectPool
.java:117)
at
org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.ja
va:110)
at
org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:3
12)
at foo.DBTest.init(Unknown Source)
at org.apache.jsp.test_jsp._jspService(test_jsp.java:52)
at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:136)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2
02)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:289)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:260)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:191)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2350)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:171
)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:405)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:380)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:508)
at
org.apache.tom

Apache 2.0.40

2002-08-16 Thread Short, Dave

Apache 2.0.40 solves the problem of HTML documents getting truncated at 8192
bytes.  However, when using with mod_jk2, which worked with Apache 2.0.39,
the following message is issues to the W2K Event Viewer and Apache fails to
start:


The Apache service named  reported the following error:
>>> Apache.exe: module
"E:\tomcat\jakarta-tomcat-connectors\jk\native2\server\apache2\mod_jk2.c" is
not compatible with this version of Apache. . 


Any help would be appreciated.

Dave

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Still can't get Apache to forward to Tomcat

2002-08-15 Thread Short, Dave

Are you using mod_jk2?

-Original Message-
From: Kenny G. Dubuisson, Jr. [mailto:[EMAIL PROTECTED]]
Sent: August 15, 2002 1:27 PM
To: [EMAIL PROTECTED]
Subject: Still can't get Apache to forward to Tomcat


I've been trying all day (installed from blank hard drive twice) and I can't
get Apache to forward requests to Tomcat.  I'm testing this by trying to
access http://localhost/examples.  It should be forwarding to
http://localhost:8080/examples (Tomcat's examples).

I've found the following two entries in my Apache error.log file:
[Thu Aug 15 15:23:51 2002] [error] lb_worker.service() all workers in error
or disabled state
[Thu Aug 15 15:23:51 2002] [error] mod_jk.handler() Error connecting to
tomcat 21000

Does anyone have any ideas?  I used the workers2.properties and
jk2.properties files from Dave on this list (I only changed the paths).
Everything else is default Apache 2.0.39, Tomcat 4.1.8, and JSDK 1.3.1.
Thanks,
Kenny


--
To unsubscribe, e-mail:

For additional commands, e-mail:


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Apache not automatically starting Tomcat

2002-08-15 Thread Short, Dave

Not sure if these will work for 4.0.4...



-Original Message-
From: Ashish Kulkarni [mailto:[EMAIL PROTECTED]]
Sent: August 15, 2002 8:51 AM
To: Tomcat Users List
Subject: RE: Apache not automatically starting Tomcat


Hi,
I am running tomcat4.0.4 and apache2.0.39 on
windows2000 and using mod_jk to connect them, right
now everything is working fine, but is it possible to
configure apache to start tomcat, if yes how and where
can i find the required worker2.properties and
jk2.properties file for windows2000

Ashish

--- "Short, Dave" <[EMAIL PROTECTED]> wrote:
> Yes, Apache should automatically start Tomcat (it
> works for me).  Use the
> attached files.
> 
> workers2.properties goes in the Apache\conf
> directory.
> jk2.properties goes in the Tomcat\conf directory.
> 
> Be sure to adjust paths accordingly.
> 
> Dave
> 
> 
> 
> -Original Message-
> From: Kenny G. Dubuisson, Jr.
> [mailto:[EMAIL PROTECTED]]
> Sent: August 15, 2002 7:21 AM
> To: [EMAIL PROTECTED]
> Subject: Apache not automatically starting Tomcat
> 
> 
> I have Apache 2.0.39 with Tomcat 4.1.8 working
> except Apache is not
> auto-starting Tomcat (as I thought it is supposed to
> do with these
> versions).  Could someone tell me if 1) Apache
> should auto-start Tomcat; 2)
> What needs to be done to configure the auto-start.
> 
> If I manually start Tomcat, everything works as
> expected.  Thanks,
> Kenny
> 
> 
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 
> 

> ATTACHMENT part 2 application/octet-stream
name=jk2.properties


> ATTACHMENT part 3 application/octet-stream
name=workers2.properties
> --
> To unsubscribe, e-mail:  
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


__
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com

--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>




jk2.properties
Description: Binary data


workers2.properties
Description: Binary data

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>


RE: Apache not automatically starting Tomcat

2002-08-15 Thread Short, Dave

Kenny,

Here are the steps I used.  Make sure TOMCAT_HOME and CATALINA_HOME are set
(reboot if necessary).

0. Install Java 1.3
1. Download jakarta-tomcat-4.1.8.exe from
http://jakarta.apache.org/builds/jakarta-tomcat-4.0/test/v4.1.8/bin/ and
install into c:\tomcat.
2. Set the TOMCAT_HOME (c:\tomcat) as system environment variable and
reboot.
3. Install Apache 2.0.39 into c:\apache2.
4. Download mod_jk2.dll from
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/nightly/win32
/
5. Copy mod_jk2.dll to c:\apache2\modules.
6. Add the following line to the c:\apache2\conf\httpd.conf file:
LoadModule jk2_module  modules/mod_jk2.dll
7. Copy the attached workers2.proterties to c:\apache2\conf (change the
paths accordingly).
8. Copy the attached jk2.properties and to c:\tomcat\conf (change the paths
accordingly).
9. Run Apache (It will start the tomcat inprocess)

Dave

-Original Message-
From: Kenny G. Dubuisson, Jr. [mailto:[EMAIL PROTECTED]]
Sent: August 15, 2002 7:59 AM
To: [EMAIL PROTECTED]
Subject: Fw: Apache not automatically starting Tomcat


Dave:

I put the two files you sent in the proper directories (workers2.properties
in Apache's conf and jk2.properties in Tomcat's conf), restarted Apache, but
still no start of Tomcat.  I'm testing it by going to
http://localhost/examples; when I manually start Tomcat, that page displays
as expected.  Is there anything else I need to do to get Tomcat to
auto-start?  Thanks,
Kenny

- Original Message -----
From: "Short, Dave" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Thursday, August 15, 2002 9:44 AM
Subject: RE: Apache not automatically starting Tomcat


> Yes, Apache should automatically start Tomcat (it works for me).  Use the
> attached files.
>
> workers2.properties goes in the Apache\conf directory.
> jk2.properties goes in the Tomcat\conf directory.
>
> Be sure to adjust paths accordingly.
>
> Dave
>
>
>
> -Original Message-
> From: Kenny G. Dubuisson, Jr. [mailto:[EMAIL PROTECTED]]
> Sent: August 15, 2002 7:21 AM
> To: [EMAIL PROTECTED]
> Subject: Apache not automatically starting Tomcat
>
>
> I have Apache 2.0.39 with Tomcat 4.1.8 working except Apache is not
> auto-starting Tomcat (as I thought it is supposed to do with these
> versions).  Could someone tell me if 1) Apache should auto-start Tomcat;
2)
> What needs to be done to configure the auto-start.
>
> If I manually start Tomcat, everything works as expected.  Thanks,
> Kenny
>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
>






> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




RE: Apache not automatically starting Tomcat

2002-08-15 Thread Short, Dave

Yes, Apache should automatically start Tomcat (it works for me).  Use the
attached files.

workers2.properties goes in the Apache\conf directory.
jk2.properties goes in the Tomcat\conf directory.

Be sure to adjust paths accordingly.

Dave



-Original Message-
From: Kenny G. Dubuisson, Jr. [mailto:[EMAIL PROTECTED]]
Sent: August 15, 2002 7:21 AM
To: [EMAIL PROTECTED]
Subject: Apache not automatically starting Tomcat


I have Apache 2.0.39 with Tomcat 4.1.8 working except Apache is not
auto-starting Tomcat (as I thought it is supposed to do with these
versions).  Could someone tell me if 1) Apache should auto-start Tomcat; 2)
What needs to be done to configure the auto-start.

If I manually start Tomcat, everything works as expected.  Thanks,
Kenny


--
To unsubscribe, e-mail:

For additional commands, e-mail:





jk2.properties
Description: Binary data


workers2.properties
Description: Binary data

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 


RE: SSL Connection Tomcat and Apache

2002-08-12 Thread Short, Dave

Will this work for Tomcat 4.1.x and Apache 2.0.x?

-Original Message-
From: Pooleery, Manoj [mailto:[EMAIL PROTECTED]]
Sent: August 12, 2002 1:33 PM
To: 'Tomcat Users List'
Subject: RE: SSL Connection Tomcat and Apache


In the httpd.conf file of apache, you can implement the virtual host
directive for SSL.  The port used is 443.  You have to have an entry like
this - 

##
## SSL Virtual Host Context
##

:443>

#  General setup for the virtual host
DocumentRoot "C:/Apache/htdocs"
ServerName 
ServerAdmin webmaster@localhost
ErrorLog logs/ssl/error.log
TransferLog logs/ssl/access.log

SSLCertificateFile "/"
SSLCertificateKeyFile "/"
  

you have to generate a CSR file(instructions for creating a CSR can be found
at http://www.verisign.com/support/csr/apache/v01.html).  Once you create a
CSR, you can send it to any of the certificate issuing authorities(verisign,
thawte etc) and once you get a certificate, you make the above changes in
the httpd.conf.

Thanks
Manoj.

-Original Message-
From: Wills, Mike N. (TC) [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 12, 2002 4:21 PM
To: '[EMAIL PROTECTED]'
Subject: SSL Connection Tomcat and Apache


I have Apache and Tomcat working together, but now I am curious on security.
How I do implement SSL on that connection?

Mike Wills
IT Corporate Support
Taylor Corporation
[EMAIL PROTECTED]
Phone: (507) 386-3187


--
To unsubscribe, e-mail:

For additional commands, e-mail:


--
To unsubscribe, e-mail:

For additional commands, e-mail:


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




FW: Re[2]: Apache 2.0.39 and Tomcat 4.1.8 Servlet issue

2002-08-09 Thread Short, Dave

Ignacio,

I was able to create a reproducible test case for you.  It turns out this
seems to be an Apache 2.0.39 issue only...

Anyway, attached are two HTML files (copies of the Jakarta developer's
guide).  The first copy (Apache2TestShort.htm) is roughly 7k in size and
displays without a problem.  The second copy (Apache2TestLong.htm) is
roughly 24k in size and doesn't display correctly.  It gets cut off at 8192
bytes.  I can reproduce this on my laptop (W2K Pro, P3) in both IE 5.5 and
Navigator 4.75.  On my tower (W2K Server, P4), I can reproduce on Navigator
4.79 only and it works in IE 5.5.

Dave


-Original Message-----
From: Short, Dave 
Sent: July 24, 2002 3:28 PM
To: 'Tomcat Users List'
Subject: RE: Re[2]: Apache 2.0.39 and Tomcat 4.1.8 Servlet issue


Ignacio,

I can't provide a test case because my servlet is calling a component from
an application server.  The HTML is actually built in the component, within
the application server, and returned to the servlet, web server and
ultimately to the browser.

Basically, some of the HTML pages are around 30-50k in size.

Dave

-Original Message-
From: Ignacio J. Ortega [mailto:[EMAIL PROTECTED]]
Sent: July 24, 2002 1:34 PM
To: 'Tomcat Users List'
Subject: RE: Re[2]: Apache 2.0.39 and Tomcat 4.1.8 Servlet issue


I'm little out if this thread, could anyone give detaails about the test
case, maybe attaching it to an ad hoc bug in bugzilla, thanks

I'll take a look on this, if i can reproduce it..

Saludos ,
Ignacio J. Ortega


> -Mensaje original-
> De: Short, Dave [mailto:[EMAIL PROTECTED]]
> Enviado el: 24 de julio de 2002 21:21
> Para: 'Tomcat Users List'
> Asunto: RE: Re[2]: Apache 2.0.39 and Tomcat 4.1.8 Servlet issue
> 
> 
> Perhaps one of the mod_jk2 developers could comment?
> 
> -Original Message-
> From: Jacob Kjome [mailto:[EMAIL PROTECTED]]
> Sent: July 24, 2002 12:15 PM
> To: Tomcat Users List
> Subject: Re[2]: Apache 2.0.39 and Tomcat 4.1.8 Servlet issue
> 
> 
> Hello Dave,
> 
> Yeah, I've noticed the same thing with Mozilla (latest nightly build).
> It think mod_jk2 is doing something wrong with the http headers.  IE
> tends to be really lax in enforcing various specs which is why you
> always hear complaints saying "but it works in IE" thinking it is
> Netscape's fault for not doing it right when, in fact, Netscape is
> doing things propery and IE is just ignoring bad syntax.
> 
> Either way, something is not quite right with mod_jk2 and http1.1
> 
> Jake
> 
> Wednesday, July 24, 2002, 12:11:59 PM, you wrote:
> 
> SD> I'm using mod_jk2...  
> 
> SD> It seems to work somewhat consistently on IE 5.5 and VERY 
> inconsistently
> on
> SD> Netscape 4.7x on my W2K professional laptop.  It works 
> fine with IE 5.5
> on
> SD> my W2K server tower, but not with Navigator 4.7x.  Strange.
> 
> SD> -Original Message-
> SD> From: Chris McCabe [mailto:[EMAIL PROTECTED]]
> SD> Sent: July 24, 2002 10:06 AM
> SD> To: Tomcat Users List
> SD> Subject: Re: Apache 2.0.39 and Tomcat 4.1.8 Servlet issue
> 
> 
> SD> I ran into the same problem, and it appears to be related to the 
> SD> mod_webapp module.  I switched to using mod_jk and it now 
> works.  I 
> SD> could not find any clues to what was causing the problem 
> (exceptions, 
> SD> etc.) and searching the web only turned up others having the same 
> SD> problem with no solution.
> 
> SD> Chris
> 
> SD> Short, Dave wrote:
> 
> >>There is an issue with Apache 2.0.39 and Tomcat 4.1.8 
> (actually this issue
> >>first appeared with Apache 2.0.36 and Tomcat 4.0.x).  It seems, if a
> SD> servlet
> >>returns content (dynamically built HTML for instance) which 
> exceeds 8192
> in
> >>length, the content is truncated at 8192 and a blank page 
> is rendered by
> >>Apache.  Actually, Apache renders what was returned by 
> Tomcat (8192 bytes
> SD> of
> >>the dynamically generated HTML page).  Basically, an 
> incomplete HTML page
> -
> >>hence it is displayed as blank.
> >>
> >>--
> >>To unsubscribe, e-mail:
> SD> <mailto:[EMAIL PROTECTED]>
> >>For additional commands, e-mail:
> SD> <mailto:[EMAIL PROTECTED]>
> >>
> >>
> >>  
> >>
> 
> 
> 
> 
> 
> -- 
> Best regards,
>  Jacobmailto:[EMAIL PROTECTED]
> 
> 
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 
> --
> To unsubscribe, e-mail:   
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: 
> <mailto:[EMAIL PROTECTED]>
> 
> 

--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>




Apache2Test.zip
Description: Binary data

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>


RE: Re[2]: Apache 2.0.39 and Tomcat 4.1.8 Servlet issue

2002-07-24 Thread Short, Dave

Ignacio,

I can't provide a test case because my servlet is calling a component from
an application server.  The HTML is actually built in the component, within
the application server, and returned to the servlet, web server and
ultimately to the browser.

Basically, some of the HTML pages are around 30-50k in size.

Dave

-Original Message-
From: Ignacio J. Ortega [mailto:[EMAIL PROTECTED]]
Sent: July 24, 2002 1:34 PM
To: 'Tomcat Users List'
Subject: RE: Re[2]: Apache 2.0.39 and Tomcat 4.1.8 Servlet issue


I'm little out if this thread, could anyone give detaails about the test
case, maybe attaching it to an ad hoc bug in bugzilla, thanks

I'll take a look on this, if i can reproduce it..

Saludos ,
Ignacio J. Ortega


> -Mensaje original-
> De: Short, Dave [mailto:[EMAIL PROTECTED]]
> Enviado el: 24 de julio de 2002 21:21
> Para: 'Tomcat Users List'
> Asunto: RE: Re[2]: Apache 2.0.39 and Tomcat 4.1.8 Servlet issue
> 
> 
> Perhaps one of the mod_jk2 developers could comment?
> 
> -Original Message-
> From: Jacob Kjome [mailto:[EMAIL PROTECTED]]
> Sent: July 24, 2002 12:15 PM
> To: Tomcat Users List
> Subject: Re[2]: Apache 2.0.39 and Tomcat 4.1.8 Servlet issue
> 
> 
> Hello Dave,
> 
> Yeah, I've noticed the same thing with Mozilla (latest nightly build).
> It think mod_jk2 is doing something wrong with the http headers.  IE
> tends to be really lax in enforcing various specs which is why you
> always hear complaints saying "but it works in IE" thinking it is
> Netscape's fault for not doing it right when, in fact, Netscape is
> doing things propery and IE is just ignoring bad syntax.
> 
> Either way, something is not quite right with mod_jk2 and http1.1
> 
> Jake
> 
> Wednesday, July 24, 2002, 12:11:59 PM, you wrote:
> 
> SD> I'm using mod_jk2...  
> 
> SD> It seems to work somewhat consistently on IE 5.5 and VERY 
> inconsistently
> on
> SD> Netscape 4.7x on my W2K professional laptop.  It works 
> fine with IE 5.5
> on
> SD> my W2K server tower, but not with Navigator 4.7x.  Strange.
> 
> SD> -Original Message-
> SD> From: Chris McCabe [mailto:[EMAIL PROTECTED]]
> SD> Sent: July 24, 2002 10:06 AM
> SD> To: Tomcat Users List
> SD> Subject: Re: Apache 2.0.39 and Tomcat 4.1.8 Servlet issue
> 
> 
> SD> I ran into the same problem, and it appears to be related to the 
> SD> mod_webapp module.  I switched to using mod_jk and it now 
> works.  I 
> SD> could not find any clues to what was causing the problem 
> (exceptions, 
> SD> etc.) and searching the web only turned up others having the same 
> SD> problem with no solution.
> 
> SD> Chris
> 
> SD> Short, Dave wrote:
> 
> >>There is an issue with Apache 2.0.39 and Tomcat 4.1.8 
> (actually this issue
> >>first appeared with Apache 2.0.36 and Tomcat 4.0.x).  It seems, if a
> SD> servlet
> >>returns content (dynamically built HTML for instance) which 
> exceeds 8192
> in
> >>length, the content is truncated at 8192 and a blank page 
> is rendered by
> >>Apache.  Actually, Apache renders what was returned by 
> Tomcat (8192 bytes
> SD> of
> >>the dynamically generated HTML page).  Basically, an 
> incomplete HTML page
> -
> >>hence it is displayed as blank.
> >>
> >>--
> >>To unsubscribe, e-mail:
> SD> <mailto:[EMAIL PROTECTED]>
> >>For additional commands, e-mail:
> SD> <mailto:[EMAIL PROTECTED]>
> >>
> >>
> >>  
> >>
> 
> 
> 
> 
> 
> -- 
> Best regards,
>  Jacobmailto:[EMAIL PROTECTED]
> 
> 
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 
> --
> To unsubscribe, e-mail:   
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: 
> <mailto:[EMAIL PROTECTED]>
> 
> 

--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




RE: Apache 2.0.39, Tomcat 4.1.8 (mod_jk2) on W2K

2002-07-24 Thread Short, Dave

Try it without jkini.dll, libapr.dll or libaprutil.dll - remove these files
from the tomcat\bin directory.  Make sure TOMCAT_HOME is set, apache2 and
tomcat paths all match up in the workers2.properties and jk2.properties
files.  Also, make sure tomcat-jni.jar exists in tomcat\bin.

-Original Message-
From: Jacob Kjome [mailto:[EMAIL PROTECTED]]
Sent: July 24, 2002 2:58 PM
To: Tomcat Users List
Subject: Re: Apache 2.0.39, Tomcat 4.1.8 (mod_jk2) on W2K


Hello Dave,

I can't get any of the inprocess stuff to work.  Did you have to put
jkini.dll and other dlls somewhere in the system Path or anything?
The only way I can get mod_jk2 to work is by removing all the
inprocess stuff, commenting everything in the jk2.properties out, and
starting Apache2 and Tomcat-4.1.8 separately.

Jake

Wednesday, July 24, 2002, 12:02:15 PM, you wrote:

SD> The following steps, and attached files, were first posted by Mladen
Turk.
SD> I modified those steps slightly.  Actually, they didn't work completely
SD> until I tried it with Tomcat 4.1.8.  I'm using JDK 1.3.1.


SD> 0. Install Java 1.3
SD> 1. Download jakarta-tomcat-4.1.8.exe from
SD> http://jakarta.apache.org/builds/jakarta-tomcat-4.0/test/v4.1.8/bin/ and
SD> install into c:\tomcat.
SD> 2. Set the TOMCAT_HOME (c:\tomcat) as system environment variable and
SD> reboot.
SD> 3. Install Apache 2.0.39 into c:\apache2.
SD> 4. Download mod_jk2.dll from
SD>
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/nightly/win32
SD> /
SD> 5. Copy mod_jk2.dll to c:\apache2\modules.
SD> 6. Add the following line to the c:\apache2\conf\httpd.conf file:
SD> LoadModule jk2_module  modules/mod_jk2.dll
SD> 7. Copy the attached workers2.proterties to c:\apache2\conf (change the
SD> paths accordingly).
SD> 8. Copy the attached jk2.properties and to c:\tomcat\conf (change the
paths
SD> accordingly).
SD> 9. Run Apache (It will start the tomcat inprocess)
SD> 10. Report any bugs (will be appreciated)


SD>  <>  <> 



-- 
Best regards,
 Jacobmailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:

For additional commands, e-mail:


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Re[2]: Apache 2.0.39 and Tomcat 4.1.8 Servlet issue

2002-07-24 Thread Short, Dave

Perhaps one of the mod_jk2 developers could comment?

-Original Message-
From: Jacob Kjome [mailto:[EMAIL PROTECTED]]
Sent: July 24, 2002 12:15 PM
To: Tomcat Users List
Subject: Re[2]: Apache 2.0.39 and Tomcat 4.1.8 Servlet issue


Hello Dave,

Yeah, I've noticed the same thing with Mozilla (latest nightly build).
It think mod_jk2 is doing something wrong with the http headers.  IE
tends to be really lax in enforcing various specs which is why you
always hear complaints saying "but it works in IE" thinking it is
Netscape's fault for not doing it right when, in fact, Netscape is
doing things propery and IE is just ignoring bad syntax.

Either way, something is not quite right with mod_jk2 and http1.1

Jake

Wednesday, July 24, 2002, 12:11:59 PM, you wrote:

SD> I'm using mod_jk2...  

SD> It seems to work somewhat consistently on IE 5.5 and VERY inconsistently
on
SD> Netscape 4.7x on my W2K professional laptop.  It works fine with IE 5.5
on
SD> my W2K server tower, but not with Navigator 4.7x.  Strange.

SD> -Original Message-
SD> From: Chris McCabe [mailto:[EMAIL PROTECTED]]
SD> Sent: July 24, 2002 10:06 AM
SD> To: Tomcat Users List
SD> Subject: Re: Apache 2.0.39 and Tomcat 4.1.8 Servlet issue


SD> I ran into the same problem, and it appears to be related to the 
SD> mod_webapp module.  I switched to using mod_jk and it now works.  I 
SD> could not find any clues to what was causing the problem (exceptions, 
SD> etc.) and searching the web only turned up others having the same 
SD> problem with no solution.

SD> Chris

SD> Short, Dave wrote:

>>There is an issue with Apache 2.0.39 and Tomcat 4.1.8 (actually this issue
>>first appeared with Apache 2.0.36 and Tomcat 4.0.x).  It seems, if a
SD> servlet
>>returns content (dynamically built HTML for instance) which exceeds 8192
in
>>length, the content is truncated at 8192 and a blank page is rendered by
>>Apache.  Actually, Apache renders what was returned by Tomcat (8192 bytes
SD> of
>>the dynamically generated HTML page).  Basically, an incomplete HTML page
-
>>hence it is displayed as blank.
>>
>>--
>>To unsubscribe, e-mail:
SD> <mailto:[EMAIL PROTECTED]>
>>For additional commands, e-mail:
SD> <mailto:[EMAIL PROTECTED]>
>>
>>
>>  
>>





-- 
Best regards,
 Jacobmailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




RE: Apache 2.0.39 and Tomcat 4.1.8 Servlet issue

2002-07-24 Thread Short, Dave

I'm using mod_jk2...  

It seems to work somewhat consistently on IE 5.5 and VERY inconsistently on
Netscape 4.7x on my W2K professional laptop.  It works fine with IE 5.5 on
my W2K server tower, but not with Navigator 4.7x.  Strange.

-Original Message-
From: Chris McCabe [mailto:[EMAIL PROTECTED]]
Sent: July 24, 2002 10:06 AM
To: Tomcat Users List
Subject: Re: Apache 2.0.39 and Tomcat 4.1.8 Servlet issue


I ran into the same problem, and it appears to be related to the 
mod_webapp module.  I switched to using mod_jk and it now works.  I 
could not find any clues to what was causing the problem (exceptions, 
etc.) and searching the web only turned up others having the same 
problem with no solution.

Chris

Short, Dave wrote:

>There is an issue with Apache 2.0.39 and Tomcat 4.1.8 (actually this issue
>first appeared with Apache 2.0.36 and Tomcat 4.0.x).  It seems, if a
servlet
>returns content (dynamically built HTML for instance) which exceeds 8192 in
>length, the content is truncated at 8192 and a blank page is rendered by
>Apache.  Actually, Apache renders what was returned by Tomcat (8192 bytes
of
>the dynamically generated HTML page).  Basically, an incomplete HTML page -
>hence it is displayed as blank.
>
>--
>To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>
>  
>


-- 
Chris P. McCabe  - Senior Software Systems Architect
Choice Hotels International - Information Technology
[EMAIL PROTECTED]602-953-4416




--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




RE: Apache 2.0.39 and Tomcat 4.1.8 Servlet issue

2002-07-24 Thread Short, Dave

I didn't notice exceptions in either the Apache2\logs or Tomcat\logs
directories.  How can I set the buffer to a larger size?

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: July 24, 2002 9:22 AM
To: Tomcat Users List
Subject: Re: Apache 2.0.39 and Tomcat 4.1.8 Servlet issue



Hi, Dave.

 Did you check your log files for exceptions?  I've seen behavior
similar
to what you're describing with Tomcat 4.0.x running Standalone.  What I've
seen is that it gets a full buffer's (defaults to 8K, like you're seeing,
but
can be set to different size) worth of content and displays it.  Then, it
runs
into a NullPointerException (or probably some other exception, but, usually
for me, it's a good ole NPE) while trying to generate the next buffer's
worth
of content.  At this point, the browser doesn't show an error page but just
stops with only the one buffer's worth of content displayed.  Maybe Apache
renders the page as blank, but I usually get the partially returned page, as
far as it can be rendered.  Besides the partial page, the only sign that
something went wrong is in the log.  I've been meaning to look into this to
see if it's a reported bug, but haven't yet.  Is this what you're running
into?

-Jeff



 

"Short, Dave"


fizer.com>   cc:

 Subject: Apache 2.0.39 and
Tomcat 4.1.8 Servlet issue 
07/24/02

10:59 AM

Please

respond to

"Tomcat Users

List"

 

 





There is an issue with Apache 2.0.39 and Tomcat 4.1.8 (actually this issue
first appeared with Apache 2.0.36 and Tomcat 4.0.x).  It seems, if a servlet
returns content (dynamically built HTML for instance) which exceeds 8192 in
length, the content is truncated at 8192 and a blank page is rendered by
Apache.  Actually, Apache renders what was returned by Tomcat (8192 bytes of
the dynamically generated HTML page).  Basically, an incomplete HTML page -
hence it is displayed as blank.

--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>






--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




Apache 2.0.39, Tomcat 4.1.8 (mod_jk2) on W2K

2002-07-24 Thread Short, Dave

The following steps, and attached files, were first posted by Mladen Turk.
I modified those steps slightly.  Actually, they didn't work completely
until I tried it with Tomcat 4.1.8.  I'm using JDK 1.3.1.


0. Install Java 1.3
1. Download jakarta-tomcat-4.1.8.exe from
http://jakarta.apache.org/builds/jakarta-tomcat-4.0/test/v4.1.8/bin/ and
install into c:\tomcat.
2. Set the TOMCAT_HOME (c:\tomcat) as system environment variable and
reboot.
3. Install Apache 2.0.39 into c:\apache2.
4. Download mod_jk2.dll from
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/nightly/win32
/
5. Copy mod_jk2.dll to c:\apache2\modules.
6. Add the following line to the c:\apache2\conf\httpd.conf file:
LoadModule jk2_module  modules/mod_jk2.dll
7. Copy the attached workers2.proterties to c:\apache2\conf (change the
paths accordingly).
8. Copy the attached jk2.properties and to c:\tomcat\conf (change the paths
accordingly).
9. Run Apache (It will start the tomcat inprocess)
10. Report any bugs (will be appreciated)


 <>  <> 



workers2.properties
Description: Binary data


jk2.properties
Description: Binary data

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 


Apache 2.0.39 and Tomcat 4.1.8 Servlet issue

2002-07-24 Thread Short, Dave

There is an issue with Apache 2.0.39 and Tomcat 4.1.8 (actually this issue
first appeared with Apache 2.0.36 and Tomcat 4.0.x).  It seems, if a servlet
returns content (dynamically built HTML for instance) which exceeds 8192 in
length, the content is truncated at 8192 and a blank page is rendered by
Apache.  Actually, Apache renders what was returned by Tomcat (8192 bytes of
the dynamically generated HTML page).  Basically, an incomplete HTML page -
hence it is displayed as blank.

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Survey question for any Tomcat or Apache users out there

2002-07-24 Thread Short, Dave

Yesterday, I finally got Apache 2.0.39 and Tomcat 4.1.8 (mod_jk2) to work on
W2K.  Tomcat is started by the Apache service and actually works in-process
like the IIS/Tomcat redirector.  If anyone in interested, I can post the
configuration steps.

-Original Message-
From: Rick Reumann [mailto:[EMAIL PROTECTED]]
Sent: July 24, 2002 8:19 AM
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: Survey question for any Tomcat or Apache users out there


*Question:*:

Is there ANYONE out there that has managed to get Apache2.0.39 and
Tomcat4.x working on a Windows2K/NT machine?

Don't worry I won't even bother e-mailing you for help(unless you say
I can). I've gotten to the point now that I'm just wondering if anyone
is even using the combination since I can't find anything about it.
I'm just so frustrated, people are constantly asking these questions
and yet I see no documentation anywhere on any jakarata site how to
set this stuff up. Tomcat 4.0.4 is great I love it. Shouldn't it work
with another jakarta open source project - Apache web server?

This best documentation I found was in this doc:
http://mpcon.org/temp/how2install_apache_w_php_jsp_support.doc

But even the author just realized this install isn't perfect (it only
seems to be working from localhost).

In the meantime I'm just using Tomcat as the only server. I've never
installed Apache1.3 and things are almost perfect with Apache2.0.39 so
I really don't want to uninstall it yet and try to tackle 1.3, if
someone has the above set up working correctly.

Even if you don't have the above working e-mail back bitching. Maybe I
could keep track of the e-mail addresses and when someone does provide
a solution or help I can let every else know.

If anyone is interested in my original question/post it is below:

--->

I'm having trouble getting Apache(2.0.39) to recognize Tomcat(4.0.4)
applications using port 7000. In my Apache httpd.conf file I have set:

Listen 7000

and also have the servername set:
ServerName afs.obs.outback.com

Everything works fine when just dealing on the actual machine that
Apache and Tomcat is on using localhost. In other words

http://localhost:7000/ --- brings up Apache main page

http://localhost:7000/myTomcatAppName/index.jsp  --- serves up the
jsp struts application fine

However when I try to access
http://afs.obs.outback.com:7000/myTomcatAppName/index.jsp  I get an
Apache 404 url does not exist error

(going straight to Tomcat does work fine:
http://afs.obs.outback.com:8080/myTomcatAppName/index.jsp )

Please someone help..this is driving me nuts:) Thanks

-- 

Rick
mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:

For additional commands, e-mail:


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Apache 2.0.39 and Tomcat 4.1.7b and W2K

2002-07-22 Thread Short, Dave

Does anyone have Apache 2.0.39 and Tomcat 4.1.7b working on W2K?  Am I the
only one who can't get these two to work together?  It shouldn't be this
hard, should it?  

Mladen Turk was kind enough to post detailed step by step instructions that
he used to get this combination to work in his environment.  But, I can't
get it to work in my environment.  It seems Apache 2.0.39 still doesn't like
Tomcat 4.1.7b...

HELP

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: [ANNOUNCEMENT] Tomcat 4.1.7 Beta

2002-07-09 Thread Short, Dave

I tried moving the libapr*.dll from apache2\bin into tomcat\bin and it still
doesn't work.  If I remove the files from tomcat\bin tomcat displays a
message stating that it can't find libapr.dll.

-Original Message-
From: Ignacio J. Ortega [mailto:[EMAIL PROTECTED]]
Sent: July 09, 2002 2:46 PM
To: 'Tomcat Users List'
Subject: RE: [ANNOUNCEMENT] Tomcat 4.1.7 Beta


> De: Short, Dave [mailto:[EMAIL PROTECTED]]
> Enviado el: 9 de julio de 2002 23:36

You doesnt need to copy libapr*.dll's if using apache2.. at least you'll
need to use the ones present at your install, or put them at
windows/system32..

And i dont know if the version i've built yesterday would work with
4.1.7, you'll need to wait until next release ( 4.1.8?), or build
Coyote/jk2 from CVS and add it to the installed 4.1.7 version, remember
this binaries are truly nightlies put in there for the unfainted heart
:), not for general use..

I'll check Apache2, for IIs they are ok.. ( given that you  use CVS
version for tc+coyote/jk2)

Saludos ,
Ignacio J. Ortega


> -Mensaje original-
> Para: '[EMAIL PROTECTED]'
> Asunto: RE: [ANNOUNCEMENT] Tomcat 4.1.7 Beta
> 
> 
> I just downloaded the versions (jkjni.dll, libapr.dll, 
> libaprutil.dll into
> c:\tomcat\bin) and (mod_jk2.dll into c:\apache2\modules) from 
> yesterday and
> get the same result.
> 
> An unexpected exception has been detected in native code 
> outside the VM.
> Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at 
> PC=0x100055b0
> Function name=Java_org_apache_jk_apr_AprImpl_jkSetAttribute
> Library=C:\Tomcat\bin\jkjni.dll
> 
> Current Java thread:
>   at org.apache.jk.apr.AprImpl.jkSetAttribute(Native Method)
>   at org.apache.jk.apr.AprImpl.init(AprImpl.java:187)
>   at org.apache.jk.server.JkMain.start(JkMain.java:286)
>   at
> org.apache.jk.server.JkCoyoteHandler.init(JkCoyoteHandler.java:150)
>   at
> org.apache.coyote.tomcat4.CoyoteConnector.initialize(CoyoteCon
> nector.java:10
> 02)
>   at
> org.apache.catalina.core.StandardService.initialize(StandardSe
> rvice.java:579
> )
>   at
> org.apache.catalina.core.StandardServer.initialize(StandardSer
> ver.java:2241)
>   at org.apache.catalina.startup.Catalina.start(Catalina.java:509)
>   at 
> org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
>   at 
> org.apache.catalina.startup.Catalina.process(Catalina.java:180)
>   at java.lang.reflect.Method.invoke(Native Method)
>   at 
> org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
> 
> Dynamic libraries:
> 0x0040 - 0x00405000   C:\JDK1.3.1\bin\java.exe
> 0x77F8 - 0x77FFB000   C:\WINNT\System32\ntdll.dll
> 0x77DB - 0x77E0B000   C:\WINNT\system32\ADVAPI32.dll
> 0x77E8 - 0x77F35000   C:\WINNT\system32\KERNEL32.DLL
> 0x77D4 - 0x77DB   C:\WINNT\system32\RPCRT4.DLL
> 0x7800 - 0x78046000   C:\WINNT\system32\MSVCRT.dll
> 0x6D42 - 0x6D4F   C:\JDK1.3.1\jre\bin\hotspot\jvm.dll
> 0x77E1 - 0x77E74000   C:\WINNT\system32\USER32.dll
> 0x77F4 - 0x77F7C000   C:\WINNT\system32\GDI32.DLL
> 0x7757 - 0x775A   C:\WINNT\System32\WINMM.dll
> 0x681A - 0x681A7000   C:\WINNT\System32\serwvdrv.dll
> 0x6674 - 0x66747000   C:\WINNT\System32\umdmxfrm.dll
> 0x6D22 - 0x6D227000   C:\JDK1.3.1\jre\bin\hpi.dll
> 0x6D3B - 0x6D3BD000   C:\JDK1.3.1\jre\bin\verify.dll
> 0x6D25 - 0x6D266000   C:\JDK1.3.1\jre\bin\java.dll
> 0x6D3C - 0x6D3CD000   C:\JDK1.3.1\jre\bin\zip.dll
> 0x6D34 - 0x6D348000   C:\JDK1.3.1\jre\bin\net.dll
> 0x7505 - 0x75058000   C:\WINNT\System32\WSOCK32.dll
> 0x7503 - 0x75043000   C:\WINNT\System32\WS2_32.DLL
> 0x7502 - 0x75028000   C:\WINNT\System32\WS2HELP.DLL
> 0x785C - 0x785CC000   C:\WINNT\System32\rnr20.dll
> 0x7798 - 0x779A4000   C:\WINNT\System32\DNSAPI.DLL
> 0x7734 - 0x77353000   C:\WINNT\System32\iphlpapi.dll
> 0x7752 - 0x77525000   C:\WINNT\System32\ICMP.DLL
> 0x7732 - 0x77337000   C:\WINNT\System32\MPRAPI.DLL
> 0x7515 - 0x7516   C:\WINNT\System32\SAMLIB.DLL
> 0x7517 - 0x751BF000   C:\WINNT\System32\NETAPI32.DLL
> 0x77BE - 0x77BEF000   C:\WINNT\System32\SECUR32.DLL
> 0x751C - 0x751C6000   C:\WINNT\System32\NETRAP.DLL
> 0x7795 - 0x77979000   C:\WINNT\system32\WLDAP32.DLL
> 0x77A5 - 0x77B46000   C:\WINNT\system32\OLE32.DLL
> 0x779B - 0x77A4B000   C:\WINNT\system32\OLEAUT32.DLL
> 0x773B - 0x773DE000   C:\WINNT\System32\ACTIVEDS.DLL
> 0x7738 - 0x773A2000   C:\WINNT\System32\ADSLDPC.DLL
> 0x7783 - 0x7783E000   C:\

RE: [ANNOUNCEMENT] Tomcat 4.1.7 Beta

2002-07-09 Thread Short, Dave

I just downloaded the versions (jkjni.dll, libapr.dll, libaprutil.dll into
c:\tomcat\bin) and (mod_jk2.dll into c:\apache2\modules) from yesterday and
get the same result.

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x100055b0
Function name=Java_org_apache_jk_apr_AprImpl_jkSetAttribute
Library=C:\Tomcat\bin\jkjni.dll

Current Java thread:
at org.apache.jk.apr.AprImpl.jkSetAttribute(Native Method)
at org.apache.jk.apr.AprImpl.init(AprImpl.java:187)
at org.apache.jk.server.JkMain.start(JkMain.java:286)
at
org.apache.jk.server.JkCoyoteHandler.init(JkCoyoteHandler.java:150)
at
org.apache.coyote.tomcat4.CoyoteConnector.initialize(CoyoteConnector.java:10
02)
at
org.apache.catalina.core.StandardService.initialize(StandardService.java:579
)
at
org.apache.catalina.core.StandardServer.initialize(StandardServer.java:2241)
at org.apache.catalina.startup.Catalina.start(Catalina.java:509)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)

Dynamic libraries:
0x0040 - 0x00405000 C:\JDK1.3.1\bin\java.exe
0x77F8 - 0x77FFB000 C:\WINNT\System32\ntdll.dll
0x77DB - 0x77E0B000 C:\WINNT\system32\ADVAPI32.dll
0x77E8 - 0x77F35000 C:\WINNT\system32\KERNEL32.DLL
0x77D4 - 0x77DB C:\WINNT\system32\RPCRT4.DLL
0x7800 - 0x78046000 C:\WINNT\system32\MSVCRT.dll
0x6D42 - 0x6D4F C:\JDK1.3.1\jre\bin\hotspot\jvm.dll
0x77E1 - 0x77E74000 C:\WINNT\system32\USER32.dll
0x77F4 - 0x77F7C000 C:\WINNT\system32\GDI32.DLL
0x7757 - 0x775A C:\WINNT\System32\WINMM.dll
0x681A - 0x681A7000 C:\WINNT\System32\serwvdrv.dll
0x6674 - 0x66747000 C:\WINNT\System32\umdmxfrm.dll
0x6D22 - 0x6D227000 C:\JDK1.3.1\jre\bin\hpi.dll
0x6D3B - 0x6D3BD000 C:\JDK1.3.1\jre\bin\verify.dll
0x6D25 - 0x6D266000 C:\JDK1.3.1\jre\bin\java.dll
0x6D3C - 0x6D3CD000 C:\JDK1.3.1\jre\bin\zip.dll
0x6D34 - 0x6D348000 C:\JDK1.3.1\jre\bin\net.dll
0x7505 - 0x75058000 C:\WINNT\System32\WSOCK32.dll
0x7503 - 0x75043000 C:\WINNT\System32\WS2_32.DLL
0x7502 - 0x75028000 C:\WINNT\System32\WS2HELP.DLL
0x785C - 0x785CC000 C:\WINNT\System32\rnr20.dll
0x7798 - 0x779A4000 C:\WINNT\System32\DNSAPI.DLL
0x7734 - 0x77353000 C:\WINNT\System32\iphlpapi.dll
0x7752 - 0x77525000 C:\WINNT\System32\ICMP.DLL
0x7732 - 0x77337000 C:\WINNT\System32\MPRAPI.DLL
0x7515 - 0x7516 C:\WINNT\System32\SAMLIB.DLL
0x7517 - 0x751BF000 C:\WINNT\System32\NETAPI32.DLL
0x77BE - 0x77BEF000 C:\WINNT\System32\SECUR32.DLL
0x751C - 0x751C6000 C:\WINNT\System32\NETRAP.DLL
0x7795 - 0x77979000 C:\WINNT\system32\WLDAP32.DLL
0x77A5 - 0x77B46000 C:\WINNT\system32\OLE32.DLL
0x779B - 0x77A4B000 C:\WINNT\system32\OLEAUT32.DLL
0x773B - 0x773DE000 C:\WINNT\System32\ACTIVEDS.DLL
0x7738 - 0x773A2000 C:\WINNT\System32\ADSLDPC.DLL
0x7783 - 0x7783E000 C:\WINNT\System32\RTUTILS.DLL
0x7788 - 0x7790D000 C:\WINNT\System32\SETUPAPI.DLL
0x77C1 - 0x77C6D000 C:\WINNT\System32\USERENV.DLL
0x774E - 0x77512000 C:\WINNT\System32\RASAPI32.DLL
0x774C - 0x774D1000 C:\WINNT\System32\RASMAN.DLL
0x7753 - 0x77552000 C:\WINNT\system32\TAPI32.DLL
0x7170 - 0x7178A000 C:\WINNT\system32\COMCTL32.DLL
0x70BD - 0x70C1C000 C:\WINNT\system32\SHLWAPI.DLL
0x7736 - 0x77379000 C:\WINNT\System32\DHCPCSVC.DLL
0x775A - 0x77625000 C:\WINNT\System32\CLBCATQ.DLL
0x777E - 0x777E8000 C:\WINNT\System32\winrnr.dll
0x777F - 0x777F5000 C:\WINNT\System32\rasadhlp.dll
0x74FD - 0x74FEF000 C:\WINNT\system32\msafd.dll
0x7501 - 0x75017000 C:\WINNT\System32\wshtcpip.dll
0x1000 - 0x10028000 C:\Tomcat\bin\jkjni.dll
0x6EE0 - 0x6EE1E000 C:\Tomcat\bin\libapr.dll
0x74FF - 0x75002000 C:\WINNT\System32\MSWSOCK.dll
0x7792 - 0x77943000 C:\WINNT\system32\imagehlp.dll
0x72A0 - 0x72A2D000 C:\WINNT\system32\DBGHELP.dll
0x690A - 0x690AB000 C:\WINNT\System32\PSAPI.DLL

Local Time = Tue Jul 09 14:28:45 2002
Elapsed Time = 17
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.3.1_03-b03 mixed mode)
#


-Original Message-
From: Short, Dave 
Sent: July 08, 2002 4:37 PM
To: 'Tomcat Users List'
Subject: RE: [ANNOUNCEMENT] To

RE: [ANNOUNCEMENT] Tomcat 4.1.7 Beta

2002-07-08 Thread Short, Dave

When trying to start Tomcat on W2K server(startup.bat), the following
message is written to the c:\tomcat\bin\hs_err_pid1556.log file.  jkini.dll
was downloaded from
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/nightly/win32
/ and are dated 28-Jun-2002.


An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x100055b0
Function name=Java_org_apache_jk_apr_AprImpl_jkSetAttribute
Library=C:\Tomcat\bin\jkjni.dll

Current Java thread:
at org.apache.jk.apr.AprImpl.jkSetAttribute(Native Method)
at org.apache.jk.apr.AprImpl.init(AprImpl.java:187)
at org.apache.jk.server.JkMain.start(JkMain.java:286)
at
org.apache.jk.server.JkCoyoteHandler.init(JkCoyoteHandler.java:150)
at
org.apache.coyote.tomcat4.CoyoteConnector.initialize(CoyoteConnector.java:10
02)
at
org.apache.catalina.core.StandardService.initialize(StandardService.java:579
)
at
org.apache.catalina.core.StandardServer.initialize(StandardServer.java:2241)
at org.apache.catalina.startup.Catalina.start(Catalina.java:509)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)

Dynamic libraries:
0x0040 - 0x00405000 C:\JDK1.3.1\bin\java.exe
0x77F8 - 0x77FFB000 C:\WINNT\System32\ntdll.dll
0x77DB - 0x77E0B000 C:\WINNT\system32\ADVAPI32.dll
0x77E8 - 0x77F35000 C:\WINNT\system32\KERNEL32.DLL
0x77D4 - 0x77DB C:\WINNT\system32\RPCRT4.DLL
0x7800 - 0x78046000 C:\WINNT\system32\MSVCRT.dll
0x6D42 - 0x6D4F C:\JDK1.3.1\jre\bin\hotspot\jvm.dll
0x77E1 - 0x77E74000 C:\WINNT\system32\USER32.dll
0x77F4 - 0x77F7C000 C:\WINNT\system32\GDI32.DLL
0x7757 - 0x775A C:\WINNT\System32\WINMM.dll
0x681A - 0x681A7000 C:\WINNT\System32\serwvdrv.dll
0x6674 - 0x66747000 C:\WINNT\System32\umdmxfrm.dll
0x6D22 - 0x6D227000 C:\JDK1.3.1\jre\bin\hpi.dll
0x6D3B - 0x6D3BD000 C:\JDK1.3.1\jre\bin\verify.dll
0x6D25 - 0x6D266000 C:\JDK1.3.1\jre\bin\java.dll
0x6D3C - 0x6D3CD000 C:\JDK1.3.1\jre\bin\zip.dll
0x6D34 - 0x6D348000 C:\JDK1.3.1\jre\bin\net.dll
0x7505 - 0x75058000 C:\WINNT\System32\WSOCK32.dll
0x7503 - 0x75043000 C:\WINNT\System32\WS2_32.DLL
0x7502 - 0x75028000 C:\WINNT\System32\WS2HELP.DLL
0x785C - 0x785CC000 C:\WINNT\System32\rnr20.dll
0x7798 - 0x779A4000 C:\WINNT\System32\DNSAPI.DLL
0x7734 - 0x77353000 C:\WINNT\System32\iphlpapi.dll
0x7752 - 0x77525000 C:\WINNT\System32\ICMP.DLL
0x7732 - 0x77337000 C:\WINNT\System32\MPRAPI.DLL
0x7515 - 0x7516 C:\WINNT\System32\SAMLIB.DLL
0x7517 - 0x751BF000 C:\WINNT\System32\NETAPI32.DLL
0x77BE - 0x77BEF000 C:\WINNT\System32\SECUR32.DLL
0x751C - 0x751C6000 C:\WINNT\System32\NETRAP.DLL
0x7795 - 0x77979000 C:\WINNT\system32\WLDAP32.DLL
0x77A5 - 0x77B46000 C:\WINNT\system32\OLE32.DLL
0x779B - 0x77A4B000 C:\WINNT\system32\OLEAUT32.DLL
0x773B - 0x773DE000 C:\WINNT\System32\ACTIVEDS.DLL
0x7738 - 0x773A2000 C:\WINNT\System32\ADSLDPC.DLL
0x7783 - 0x7783E000 C:\WINNT\System32\RTUTILS.DLL
0x7788 - 0x7790D000 C:\WINNT\System32\SETUPAPI.DLL
0x77C1 - 0x77C6D000 C:\WINNT\System32\USERENV.DLL
0x774E - 0x77512000 C:\WINNT\System32\RASAPI32.DLL
0x774C - 0x774D1000 C:\WINNT\System32\RASMAN.DLL
0x7753 - 0x77552000 C:\WINNT\system32\TAPI32.DLL
0x7170 - 0x7178A000 C:\WINNT\system32\COMCTL32.DLL
0x70BD - 0x70C1C000 C:\WINNT\system32\SHLWAPI.DLL
0x7736 - 0x77379000 C:\WINNT\System32\DHCPCSVC.DLL
0x775A - 0x77625000 C:\WINNT\System32\CLBCATQ.DLL
0x777E - 0x777E8000 C:\WINNT\System32\winrnr.dll
0x777F - 0x777F5000 C:\WINNT\System32\rasadhlp.dll
0x74FD - 0x74FEF000 C:\WINNT\system32\msafd.dll
0x7501 - 0x75017000 C:\WINNT\System32\wshtcpip.dll
0x1000 - 0x10028000 C:\Tomcat\bin\jkjni.dll
0x6EE0 - 0x6EE1E000 C:\Tomcat\bin\libapr.dll
0x74FF - 0x75002000 C:\WINNT\System32\MSWSOCK.dll
0x7792 - 0x77943000 C:\WINNT\system32\imagehlp.dll
0x72A0 - 0x72A2D000 C:\WINNT\system32\DBGHELP.dll
0x690A - 0x690AB000 C:\WINNT\System32\PSAPI.DLL

Local Time = Mon Jul 08 16:32:33 2002
Elapsed Time = 16
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.3.1_03-b03 mixed mode)
#

-Original Message-
From: Remy M

RE: Virtual host question for all

2002-07-03 Thread Short, Dave

If you're using Netscape 4.x try IE 5.5.  There's a known issue with Apache
2.0.36 and Netscape 4.x (don't know if it's fixed in 2.0.39).

-Original Message-
From: Mark Hutchinson [mailto:[EMAIL PROTECTED]]
Sent: July 03, 2002 12:56 PM
To: [EMAIL PROTECTED]
Subject: RE: Virtual host question for all



Well, I have that in now in a better place and I cna bring up the virtual 
host page and it gives no errors, but I have nothing displayed.

The page is blank.  The port 8180 pages also show up blank now as well.

I may be getting closer.  Any ideas on this?

Thanks for all the help.

Mark

>From: "Turner, John" <[EMAIL PROTECTED]>
>Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
>To: 'Tomcat Users List' <[EMAIL PROTECTED]>
>Subject: RE: Virtual host question for all
>Date: Wed, 3 Jul 2002 15:35:06 -0400
>
>
>"Connection Refused" when starting tomcat usually means that tomcat didn't
>actually stop when you stopped it.
>
>John Turner
>[EMAIL PROTECTED]
>http://www.aas.com
>
>
>-Original Message-
>From: Mark Hutchinson [mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, July 03, 2002 3:30 PM
>To: [EMAIL PROTECTED]
>Subject: RE: Virtual host question for all
>
>
>
>I put this:
>
>Host name="www.site.com" debug="0" appBase="webapps" unpackWARs="true">
>directory="logs"  prefix="localhost_www_site_com_log."
>suffix=".txt" timestamp="true"/>
> debug="0" reloadable="true" crossContext="false"/>
>
>
>Which is right below another host entry...
>and get this on tomcat restart now:
>
>Stopping tomcat4: Using CATALINA_BASE:   /var/tomcat4
>Using CATALINA_HOME:   /var/tomcat4
>Using CATALINA_TMPDIR: /var/tomcat4/temp
>Using JAVA_HOME:   /usr/java/j2re
>Catalina.stop: java.net.ConnectException: Connection refused
>java.net.ConnectException: Connection refused
>   at java.net.PlainSocketImpl.socketConnect(Native Method)
>   at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:295)
>   at
>java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:161)
>   at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:148)
>   at java.net.Socket.connect(Socket.java:425)
>   at java.net.Socket.connect(Socket.java:375)
>   at java.net.Socket.(Socket.java:290)
>   at java.net.Socket.(Socket.java:118)
>   at org.apache.catalina.startup.Catalina.stop(Catalina.java:831)
>   at org.apache.catalina.startup.Catalina.execute(Catalina.java:683)
>   at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at
>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3
9
>)
>   at
>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp
l
>.java:25)
>   at java.lang.reflect.Method.invoke(Method.java:324)
>   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
>[FAILED]
>
>
>
>_
>Send and receive Hotmail on your mobile device: http://mobile.msn.com
>
>
>--
>To unsubscribe, e-mail:
>
>For additional commands, e-mail:
>
>
>--
>To unsubscribe, e-mail:   
>
>For additional commands, e-mail: 
>




_
Join the world's largest e-mail service with MSN Hotmail. 
http://www.hotmail.com


--
To unsubscribe, e-mail:

For additional commands, e-mail:


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: APR not loaded?

2002-07-03 Thread Short, Dave

Made the change ad rebooted, no luck.  Any other ideas or suggestions?

-Original Message-
From: Douglas, Rory [mailto:[EMAIL PROTECTED]]
Sent: July 02, 2002 10:07 AM
To: 'Tomcat Users List'
Subject: RE: APR not loaded?



Try setting APACHE2_HOME environment variable to point to your Apache2
directory. 

That should do the trick 
cheers 
Rory 

-Original Message----- 
From: Short, Dave [ mailto:[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> ] 
Sent: Tuesday, July 02, 2002 12:45 PM 
To: 'Tomcat Users List' 
Subject: RE: APR not loaded? 


I put jkjni.dll (tomcat also wanted libapr.dll) in the tomcat\bin directory 
and the message went away.  Now it complains about not being able to find 
the ${serverRoot}/conf/workers2.properties file.  This file exists in the 
Apache2\conf directory.  How can I point tomcat to the Apache2\conf 
directory (basically, how can I sent ${serverRoot)? 

-Original Message- 
From: Douglas, Rory [ mailto:[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> ] 
Sent: July 02, 2002 8:55 AM 
To: 'Tomcat Users List' 
Subject: RE: APR not loaded? 



I don't think this is related to your problem. 

YOu can remove this message by copying jkjni (.dll or .so) (from the 
binaries for the tomcat connectors) into one of tomcat\bin or jdk\jre\bin 
(can't remember which). I think this dll/so is only necessary  for 
in-process integration of tomcat and a web server. 

cheers 
Rory 

-Original Message- 
From: Collins, Jim [ mailto:[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>  
< mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > ] 
Sent: Tuesday, July 02, 2002 11:42 AM 
To: 'Tomcat Users List' 
Subject: APR not loaded? 


Hi all, 

Does anyone know what this message means: 

INFO: APR not loaded, disabling jni components: java.io.IOException: no 
jkjni in java.library.path 

I get this message in my catalina log file whenever I start Tomcat. I am 
trying to load a native library in a servlet with no luck so far and was 
wondering if this had anything to do with it. 

Thanks 

Jim. 


PLEASE READ: The information contained in this email is confidential 
and intended for the named recipient(s) only. If you are not an intended 
recipient of this email you must not copy, distribute or take any 
further action in reliance on it and you should delete it and notify the 
sender immediately. Email is not a secure method of communication and 
Nomura International plc cannot accept responsibility for the accuracy 
or completeness of this message or any attachment(s). Please examine this 
email for virus infection, for which Nomura International plc accepts 
no responsibility. If verification of this email is sought then please 
request a hard copy. Unless otherwise stated any views or opinions 
presented are solely those of the author and do not represent those of 
Nomura International plc. This email is intended for informational 
purposes only and is not a solicitation or offer to buy or sell 
securities or related financial instruments. Nomura International plc is 
regulated by the Financial Services Authority and is a member of the 
London Stock Exchange. 



-- 
To unsubscribe, e-mail:   < 
mailto:[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>  
< mailto:[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> > > 
For additional commands, e-mail: < 
mailto:[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>  
< mailto:[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> > > 




RE: APR not loaded?

2002-07-02 Thread Short, Dave

I set APACHE2_HOME = c:\apache2 - no luck...

-Original Message-
From: Douglas, Rory [mailto:[EMAIL PROTECTED]]
Sent: July 02, 2002 10:07 AM
To: 'Tomcat Users List'
Subject: RE: APR not loaded?



Try setting APACHE2_HOME environment variable to point to your Apache2
directory. 

That should do the trick 
cheers 
Rory 

-Original Message----- 
From: Short, Dave [ mailto:[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> ] 
Sent: Tuesday, July 02, 2002 12:45 PM 
To: 'Tomcat Users List' 
Subject: RE: APR not loaded? 


I put jkjni.dll (tomcat also wanted libapr.dll) in the tomcat\bin directory 
and the message went away.  Now it complains about not being able to find 
the ${serverRoot}/conf/workers2.properties file.  This file exists in the 
Apache2\conf directory.  How can I point tomcat to the Apache2\conf 
directory (basically, how can I sent ${serverRoot)? 

-Original Message- 
From: Douglas, Rory [ mailto:[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> ] 
Sent: July 02, 2002 8:55 AM 
To: 'Tomcat Users List' 
Subject: RE: APR not loaded? 



I don't think this is related to your problem. 

YOu can remove this message by copying jkjni (.dll or .so) (from the 
binaries for the tomcat connectors) into one of tomcat\bin or jdk\jre\bin 
(can't remember which). I think this dll/so is only necessary  for 
in-process integration of tomcat and a web server. 

cheers 
Rory 

-Original Message- 
From: Collins, Jim [ mailto:[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>  
< mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > ] 
Sent: Tuesday, July 02, 2002 11:42 AM 
To: 'Tomcat Users List' 
Subject: APR not loaded? 


Hi all, 

Does anyone know what this message means: 

INFO: APR not loaded, disabling jni components: java.io.IOException: no 
jkjni in java.library.path 

I get this message in my catalina log file whenever I start Tomcat. I am 
trying to load a native library in a servlet with no luck so far and was 
wondering if this had anything to do with it. 

Thanks 

Jim. 


PLEASE READ: The information contained in this email is confidential 
and intended for the named recipient(s) only. If you are not an intended 
recipient of this email you must not copy, distribute or take any 
further action in reliance on it and you should delete it and notify the 
sender immediately. Email is not a secure method of communication and 
Nomura International plc cannot accept responsibility for the accuracy 
or completeness of this message or any attachment(s). Please examine this 
email for virus infection, for which Nomura International plc accepts 
no responsibility. If verification of this email is sought then please 
request a hard copy. Unless otherwise stated any views or opinions 
presented are solely those of the author and do not represent those of 
Nomura International plc. This email is intended for informational 
purposes only and is not a solicitation or offer to buy or sell 
securities or related financial instruments. Nomura International plc is 
regulated by the Financial Services Authority and is a member of the 
London Stock Exchange. 



-- 
To unsubscribe, e-mail:   < 
mailto:[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>  
< mailto:[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> > > 
For additional commands, e-mail: < 
mailto:[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>  
< mailto:[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> > > 




RE: Apache 2.0.39 & modjk2

2002-07-02 Thread Short, Dave

Thanks!

-Original Message-
From: Mladen Turk [mailto:[EMAIL PROTECTED]]
Sent: July 02, 2002 9:36 AM
To: 'Tomcat Users List'
Subject: RE: Apache 2.0.39 & modjk2




> -Original Message-----
> From: Short, Dave [mailto:[EMAIL PROTECTED]] 
> Sent: 2. srpanj 2002 18:15
> To: 'Tomcat Users List'
> Subject: RE: Apache 2.0.39 & modjk2
> 
> 
> So, these are debugging messages that can safely be ignored?
> 

Yes, as all warnigs can, until something hit you in the head :)

There is even one debugging message that's get logged as [error].

Don't wory will be fixed.

MT.


--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




RE: APR not loaded?

2002-07-02 Thread Short, Dave

I put jkjni.dll (tomcat also wanted libapr.dll) in the tomcat\bin directory
and the message went away.  Now it complains about not being able to find
the ${serverRoot}/conf/workers2.properties file.  This file exists in the
Apache2\conf directory.  How can I point tomcat to the Apache2\conf
directory (basically, how can I sent ${serverRoot)?

-Original Message-
From: Douglas, Rory [mailto:[EMAIL PROTECTED]]
Sent: July 02, 2002 8:55 AM
To: 'Tomcat Users List'
Subject: RE: APR not loaded?



I don't think this is related to your problem. 

YOu can remove this message by copying jkjni (.dll or .so) (from the
binaries for the tomcat connectors) into one of tomcat\bin or jdk\jre\bin
(can't remember which). I think this dll/so is only necessary  for
in-process integration of tomcat and a web server.

cheers 
Rory 

-Original Message- 
From: Collins, Jim [ mailto:[EMAIL PROTECTED]
 ] 
Sent: Tuesday, July 02, 2002 11:42 AM 
To: 'Tomcat Users List' 
Subject: APR not loaded? 


Hi all, 

Does anyone know what this message means: 

INFO: APR not loaded, disabling jni components: java.io.IOException: no 
jkjni in java.library.path 

I get this message in my catalina log file whenever I start Tomcat. I am 
trying to load a native library in a servlet with no luck so far and was 
wondering if this had anything to do with it. 

Thanks 

Jim. 


PLEASE READ: The information contained in this email is confidential 
and intended for the named recipient(s) only. If you are not an intended 
recipient of this email you must not copy, distribute or take any 
further action in reliance on it and you should delete it and notify the 
sender immediately. Email is not a secure method of communication and 
Nomura International plc cannot accept responsibility for the accuracy 
or completeness of this message or any attachment(s). Please examine this 
email for virus infection, for which Nomura International plc accepts 
no responsibility. If verification of this email is sought then please 
request a hard copy. Unless otherwise stated any views or opinions 
presented are solely those of the author and do not represent those of 
Nomura International plc. This email is intended for informational 
purposes only and is not a solicitation or offer to buy or sell 
securities or related financial instruments. Nomura International plc is 
regulated by the Financial Services Authority and is a member of the 
London Stock Exchange. 



-- 
To unsubscribe, e-mail:   <
mailto:[EMAIL PROTECTED]
 > 
For additional commands, e-mail: <
mailto:[EMAIL PROTECTED]
 > 




RE: Apache 2.0.39 & modjk2

2002-07-02 Thread Short, Dave

So, these are debugging messages that can safely be ignored?

-Original Message-
From: Mladen Turk [mailto:[EMAIL PROTECTED]]
Sent: July 02, 2002 8:54 AM
To: 'Tomcat Users List'
Subject: RE: Apache 2.0.39 & modjk2


> -Original Message-----
> From: Short, Dave [mailto:[EMAIL PROTECTED]] 
> Sent: 2. srpanj 2002 17:00
> To: 'Tomcat Users List'
> Subject: RE: Apache 2.0.39 & modjk2
> 
> 
> jk2.shm is created in the Apache2\logs directory which has 
> permissions set
> to: Everyone - Full Control.
> 
> Any other ideas?

Sure :)

> > 
> > [Mon Jul 01 13:16:42 2002] [notice] Parent: Created child 
> process 1752 
> > [Mon Jul 01 13:16:42 2002] [notice] Child 1752: Child process is 
> > running [Mon Jul 01 13:16:43 2002] [warn] workerEnv.init() ok 
> > C:/Apache2/conf/workers2.properties
> > [Mon Jul 01 13:16:43 2002] [warn] mod_jk child init 1 -1
> > [Mon Jul 01 13:16:43 2002] [notice] Child 1752: Acquired the start 
> > mutex. [Mon Jul 01 13:16:43 2002] [notice] Child 1752: Starting 250 
> > worker
> threads.
> > 

If those log messages are bothering you, this is perfectly ok.
Look at the httpd.conf and find the directive LogLevel. It is by the
default set to warn.
Set the LogLevel error.

We are using the native logging for debugging and what are you seeing is
exactly that, the various stages of the connector itself.
The debug level itself is contolled with the debug=0..n for each worker
or channel, but in the code there is still some debugging code that
doesn't exactly follow that.


MT.


--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




RE: Apache 2.0.39 & modjk2

2002-07-02 Thread Short, Dave

jk2.shm is created in the Apache2\logs directory which has permissions set
to: Everyone - Full Control.

Any other ideas?

-Original Message-
From: Mark Pelillo [mailto:[EMAIL PROTECTED]]
Sent: July 01, 2002 5:32 PM
To: Tomcat Users List
Subject: Re: Apache 2.0.39 & modjk2


check the permissions of the directory where jk2.shm file is going. 
Make sure the account which is running tomcat has permission to write
into the directory.




On Mon, 2002-07-01 at 15:25, Short, Dave wrote:
> Does anyone know why Apache 2.0.39 is reporting the [warn] messages in the
> error.log file?
> 
> [Mon Jul 01 13:16:42 2002] [notice] Parent: Created child process 1752
> [Mon Jul 01 13:16:42 2002] [notice] Child 1752: Child process is running
> [Mon Jul 01 13:16:43 2002] [warn] workerEnv.init() ok
> C:/Apache2/conf/workers2.properties
> [Mon Jul 01 13:16:43 2002] [warn] mod_jk child init 1 -1
> [Mon Jul 01 13:16:43 2002] [notice] Child 1752: Acquired the start mutex.
> [Mon Jul 01 13:16:43 2002] [notice] Child 1752: Starting 250 worker
threads.
> 
> 
> httdp.conf file:
> 
> Include /mod_jk2.conf
> 
> 
> mod_jk2.conf file:
> 
> 
>   LoadModule jk2_module c:/Apache2/modules/mod_jk2.dll
> 
> 
> 
> workers2.properties file:
> 
> [logger]
> level=DEBUG
> 
> [config:]
> file=${serverRoot}/conf/workers2.properties
> debug=0
> debugEnv=0
> 
> [uriMap:]
> info=Maps the requests. Options: debug
> debug=0
> 
> [shm:]
> info=Scoreboard. Required for reconfiguration and status with multiprocess
> servers
> file=${serverRoot}/logs/jk2.shm
> size=100
> debug=0
> disabled=0
> 
> [workerEnv:]
> info=Global server options
> timing=1
> debug=0
> 
> [channel.socket:localhost:8019]
> info=Ajp13 forwarding over socket
> debug=0
> tomcatId=localhost:8019
> 
> [status:]
> info=Status worker, displays runtime informations
> 
> [vm:]
> info=Parameters used to load a JVM in the server process
> OPT=-Djava.class.path=${TOMCAT_HOME}/bin/tomcat-jni.jar
> OPT=-Dtomcat.home=${TOMCAT_HOME}
> OPT=-Dcatalina.home=${TOMCAT_HOME}
> OPT=-Xmx128M
> disabled=1
> 
> [worker.jni:jniCmd1]
> info=Command to be executed by the VM. This one will start tomcat.
> class=org/apache/jk/apr/TomcatStarter
> ARG=start
> disabled=1
> 
> [uri:/jkstatus/*]
> info=Display status information and checks the config file for changes.
> group=status:
> 
> [uri:/PSI]
> info=PSI Application
> context=/PSI
> debug=0
> 
> [uri:/PSI/servlet/*]
> info=Prefix mapping
> 
> [uri:/PSI/*.jsp]
> info=Extension mapping
> 
> [uri:/PSI/*]
> info=Map the whole webapp
> 
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
> 



--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




Apache 2.0.39 & modjk2

2002-07-01 Thread Short, Dave

Does anyone know why Apache 2.0.39 is reporting the [warn] messages in the
error.log file?

[Mon Jul 01 13:16:42 2002] [notice] Parent: Created child process 1752
[Mon Jul 01 13:16:42 2002] [notice] Child 1752: Child process is running
[Mon Jul 01 13:16:43 2002] [warn] workerEnv.init() ok
C:/Apache2/conf/workers2.properties
[Mon Jul 01 13:16:43 2002] [warn] mod_jk child init 1 -1
[Mon Jul 01 13:16:43 2002] [notice] Child 1752: Acquired the start mutex.
[Mon Jul 01 13:16:43 2002] [notice] Child 1752: Starting 250 worker threads.


httdp.conf file:

Include /mod_jk2.conf


mod_jk2.conf file:


  LoadModule jk2_module c:/Apache2/modules/mod_jk2.dll



workers2.properties file:

[logger]
level=DEBUG

[config:]
file=${serverRoot}/conf/workers2.properties
debug=0
debugEnv=0

[uriMap:]
info=Maps the requests. Options: debug
debug=0

[shm:]
info=Scoreboard. Required for reconfiguration and status with multiprocess
servers
file=${serverRoot}/logs/jk2.shm
size=100
debug=0
disabled=0

[workerEnv:]
info=Global server options
timing=1
debug=0

[channel.socket:localhost:8019]
info=Ajp13 forwarding over socket
debug=0
tomcatId=localhost:8019

[status:]
info=Status worker, displays runtime informations

[vm:]
info=Parameters used to load a JVM in the server process
OPT=-Djava.class.path=${TOMCAT_HOME}/bin/tomcat-jni.jar
OPT=-Dtomcat.home=${TOMCAT_HOME}
OPT=-Dcatalina.home=${TOMCAT_HOME}
OPT=-Xmx128M
disabled=1

[worker.jni:jniCmd1]
info=Command to be executed by the VM. This one will start tomcat.
class=org/apache/jk/apr/TomcatStarter
ARG=start
disabled=1

[uri:/jkstatus/*]
info=Display status information and checks the config file for changes.
group=status:

[uri:/PSI]
info=PSI Application
context=/PSI
debug=0

[uri:/PSI/servlet/*]
info=Prefix mapping

[uri:/PSI/*.jsp]
info=Extension mapping

[uri:/PSI/*]
info=Map the whole webapp

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: example mod_jk2 files for Apache 2.0.39

2002-06-25 Thread Short, Dave

Rory,
 
Thanks for the info.  The following messages are written to the
Apache2\logs\error.log when I start Apache 2.0.39:
 
[Tue Jun 25 10:17:10 2002] [error] shm.init(): No file
[Tue Jun 25 10:17:10 2002] [notice] Parent: Created child process 1884
[Tue Jun 25 10:17:11 2002] [error] shm.init(): No file
[Tue Jun 25 10:17:11 2002] [notice] Child 1884: Child process is running
[Tue Jun 25 10:17:11 2002] [error] workerEnv.init() create default worker
lb:lb
[Tue Jun 25 10:17:11 2002] [error] shm.init(): No file
[Tue Jun 25 10:17:11 2002] [notice] Child 1884: Acquired the start mutex.
[Tue Jun 25 10:17:12 2002] [notice] Child 1884: Starting 250 worker threads.

Do the the messages mean anything to you?
 
Dave

-Original Message-
From: Douglas, Rory [mailto:[EMAIL PROTECTED]]
Sent: June 25, 2002 5:54 AM
To: 'Tomcat Users List (E-mail)'
Subject: example mod_jk2 files for Apache 2.0.39



As requested, attached are the actual config files I'm currently using to
integerate Apache2 and Tomcat 4.1.3 using mod_jk2.  I have not included
server.xml (it is hard to read because it's maintained by the admin webapp)
but the complete  element is attached (actually the tomcat docs
on this part of the config are fine).


Rory Douglas 
Sun Chemical Corporation 
(201) 224-4600 x133 
[EMAIL PROTECTED] 






RE: example mod_jk2 configuration for Apache 2.0.39

2002-06-24 Thread Short, Dave

Would you mind posting the actual configuration files, instead of file
snippets (zipped)?

-Original Message-
From: Douglas, Rory [mailto:[EMAIL PROTECTED]]
Sent: June 24, 2002 11:20 AM
To: 'Tomcat Users List'
Subject: RE: example mod_jk2 configuration for Apache 2.0.39



It looks like the ApacheConfig  is still in the Java sources for
the connectors, but I don't think it has been updated to the new config
format for mod_jk2 so it probably won't work.

in Server.xml, the important things are the className and
protocolHandlerClassName attributes of the AJP . these should be:

  protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler" 

and 

  className="org.apache.coyote.tomcat4.CoyoteConnector" 

Remember to match up the port number in all 3 place (in  in
Server.xml, in jk2.properties, and in worker2.properties) If you use 8009
for your AJP  then you don't need to specify it in
jk2.properties.

That should be all, no need to mess with web.xml ;-) 

By the way, I was wrong about how to specify multiple channelSocket ports in
jk2.properties.  The following method "kind of" works:

  channelSocket.port=8009 (for the first one) 
  channelSocket.otherone.port=8015 
  channelSocket.thirdconn.port=8020 etc 

However, doing this, JK seems to try to open these ports for EACH
 specified in Server.xml, and you get a lot of "Address already
bound" exceptions (and a lot of listening ports, because JK just increments
the port number each time and trys again).

have fun 
Rory 
-Original Message- 
From: Liam Morley [ mailto:[EMAIL PROTECTED] 
] 
Sent: Monday, June 24, 2002 1:43 PM 
To: Tomcat Users List 
Subject: Re: example mod_jk2 configuration for Apache 2.0.39 


Rory, 
thank you very much; that'll get me started. I'm guessing you're running 
with Tomcat4.1; I'm trying this with Tomcat 4.0.4. With JK1, there was a 
 you could plug in to your $CATALINA_HOME/conf/server.xml 
(). 
Does that still exist? Are there any changes to the server.xml and 
web.xml that you can point out (for example, the mod_jk2 version of 
?) 

Thanks once again, this is a big help. 
Liam Morley 

Douglas, Rory wrote: 

> Hi there 
> 
> I haven't set-up anything really complex but the following setup 
> should work. I haven't got around to trying load-balancing, if anyone 
> does that and gets it working, please share! 
> 
> --- 
> in HTTPD.CONF (in Apache2\conf) 
> --- 
>   LoadModule jk2_module modules/mod_jk2.dll 
> 
> - 
> in JK2.PROPERTIES (in Tomcat4.1\conf) 
> - 
> I just commented out everything. Note that if you are using an AJP 
> connector with port other than the default of 8009 you should specify 
> here (where it says channelSocket.port). If you comment everything out 
> JK seems to default to 8009 (and then 8010, 8011 and so on if you have 
> more than one connector).  If you want need specific ports for 
> multiple connectors then specify channelSocket.port multiple times e.g 
> 
>   channelSocket.port=8014 
>   channelSocket.port=8018 
> 
> if you have two AJP connectors specified in server.xml with port 
> numbers 8014 and 8018. 
> 
> -- 
> in WORKERS2.PROPERTIES 
> -- 
> 
> I just copied this file from tomcat4.1\jtc-src\jk\conf into 
> Apache2\conf and edited it a bit. The really important bits seem to be: 
> 
>   [channel.socket:localhost:8009] 
>   info=Ajp13 forwarding over socket 
>   debug=20 
>   tomcatId=Tomcat-Standalone 
> 
> that actually sets up a worker. I understand that you can specify 
> 
>   group=someGroupName 
> 
> and create groups of workers for load-balancing. I also believe that 
> every worker created without specfiying a group is in the default 
> group (I think it is "lb"). 
> 
> To map contexts use [uri:] blocks like so: 
> 
>   [uri:/test] 
>   info=Test context mapping 
>   debug=20 
>   context=/test 
> 
> Again, here you can specify which workers serve that context by 
> specifying group=groupName 
> 
> It's a good idea to keep these parts around too: 
> 
>   [status:] 
>   info=Status worker, displays runtime informations 
> 
>   [uri:/jkstatus/*] 
>   info=Display status information and checks the config file for changes. 
>   group=status: 
> 
> you can then hit http://yourapacheserver/jkstatus
  and get a loads of 
> jk info that might help you catch config errors 
> 
> There are some docs in tomcat4.1\jtc-src\jk\doc\jk2 that might help 
> (but they're not great). 
> 
> Hope this is useful to someone 
> cheers 
> Rory 
> 
> -Original Message 
> From: Jacob Kjome [ mailto:[EMAIL PROTECTED]  ] 
> Sent: Monday, June 24, 2002 11:08 AM 
> To: Tomcat Users List 
> Subject: Re: mod_jk2 binary available here 
> 
> 
> Hello Rory, 
> 
> Actually, a working version of mod_jk2.dll has already been provided 
> by Apache her

RE: 4.1.3 Beta & mod_jk2 ALMOST working

2002-06-21 Thread Short, Dave

I've encountered error 61 when tomcat wasn't given enough time to initialize
prior to starting Apache (Apache 2.0.36 & Tomcat 4.0.3).
 
Can you please provide your mod_jk.conf, workers2.properties and any other
required mod_jk2 files?

-Original Message-
From: Douglas, Rory [mailto:[EMAIL PROTECTED]]
Sent: June 21, 2002 9:11 AM
To: Tomcat Users List (E-mail)
Subject: 4.1.3 Beta & mod_jk2 ALMOST working



Hi there 

I'm trying Apache 2.0.39 and Tomcat 4.1.3 Beta on a Win2K machine with
mod_jk2 nightly binary. 
I'm doing all my configuration through workers2.properties (copied from
jtc-src in the 4.1.3 download). My Coyote JK2 connector is on the default
port 8009 and Apache2 is on port 9000.

It's almost working (I think).  I can start Apache with no errors. My
Apache2 error log registers: 

  [warn] workerEnv.init() ok C:/Dev/Apache2/conf/workers2.properties 
  [warn] mod_jk child init 1 -1 

which seems good.  I can then browse localhost:9000/jkstatus and see a JK2
status page. 

However, if I try to browse localhost:9000/examples (I have
[uri:/examples/*] set up) then I get 500 error from Apache.  The log shows:

  [warn] service.init() Can't find child in scoreboard 2208 
  [error] channelSocket.connect() connect failed dlportaldevsys1:8009 61
Unknown error 
  [error] ajp13.connect() failed ajp13:dlportaldevsys1:8009 
  [error] ajp13.service() failed to connect endpoint errno=61 Unknown error 
  [warn] ajp13.done() close endpoint ajp13:dlportaldevsys1:8009 error_state
1 
  [error] mod_jk.handler() Error connecting to tomcat 21000 

The first line doesn't seem too serious, but line two's "connect failed...61
Unknown error" is puzzling. I definitely have a connector configured on
8009, and I believe I've set the right className and
protocolHandlerClassName attributes as well (see shortened version below).

   
 
   


Does anyone know what Error 61 is? Any help would be most appreciated. This
is the closest I've come to getting Apache2/Tomcat4/mod_jk to work on Win2K.
I suspect perhaps my jk2.properties file is incorrect. By default
"channelSocket.port=8019" is there, changing to 8009 gives me different
errors, namely "Bad file descriptor", "BAD MESSAGE" etc.

Thanks & apologies for the long, code-ridden mail 

Rory Douglas 
Sun Chemical Corporation 
(201) 224-4600 x133 
[EMAIL PROTECTED] 




RE: Apache 2.0.39 and mod_jk2.dll nightly incompatible?

2002-06-20 Thread Short, Dave

The mod_jk2 documentation on the Jakarta site is the same documentation as
the mod_jk documentation.  Could someone please provide a working
mod_jk.conf file for mod_jk2?

-Original Message-
From: Ignacio J. Ortega [mailto:[EMAIL PROTECTED]]
Sent: June 19, 2002 3:34 PM
To: 'Tomcat Users List'; 'Jacob Kjome'
Subject: RE: Apache 2.0.39 and mod_jk2.dll nightly incompatible?


> De: Jacob Kjome [mailto:[EMAIL PROTECTED]]
> Enviado el: 19 de junio de 2002 21:53

> So, I figured.  Well, that must mean that I just need to upgrade to
> mod_jk2.  I downloaded mod_jk2.dll from
> http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2
/nightly/win32/ .

Just upgraded the nightly binaries for jk2 , built with 2.0.39

Saludos ,
Ignacio J. Ortega


> -Mensaje original-
> Para: Tomcat Users List
> Asunto: Apache 2.0.39 and mod_jk2.dll nightly incompatible?
> 
> 
> Hi,
> 
> I figured I should upgrade to Apache 2.0.39 because of the security
> alert.  However, now that I have, the mod_jk.dll (version 1.2, I
> believe) that I downloaded from http://www.acg-gmbh.de/mod_jk/ which
> worked fine with Apache 2.0.36 doesn't work.  Apache won't even start.
> Here's the info from the NT Event Viewer log:
> 
> The Apache service named  reported the following error:
> Apache.exe: module
> "C:\jakarta-tomcat-connectors-4.0.4-b3-src\jk\native\apache-2.
> 0\mod_jk.c"
> is not compatible with this version of Apache.
> 
> 
I removed mod_jk.dll from Apache2/modules and and added mod_jk2.dll
and tried starting Apache expecting no problems.  I got another error.
The event log now has:

The Apache service named  reported the following error:
Apache.exe: module
"E:\tomcat\jakarta-tomcat-connectors\jk\native2\server\apache2\mod_jk2.c
"
is not compatible with this version of Apache.
Please contact the vendor for the correct version.


So, is there a problem with Apache 2.0.39 or are the jk modules out of
step with current Apache development?  If anyone has a mod_jk.dll that
works with Apache 2.0.39, could you please send it to me or let me
know where to download it?

Thanks,

Jake


--
To unsubscribe, e-mail:

For additional commands, e-mail:



--
To unsubscribe, e-mail:

For additional commands, e-mail:


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Apache 2.0.39 and mod_jk2.dll nightly incompatible?

2002-06-20 Thread Short, Dave

The following message is written to the event log on my W2K machine when
trying to start Apache 2.0.39 with mod_jk2.dll.

This is the same mod_jk.conf that works with Apache 2.0.36 and mod_jk.dll.

Any ideas?

The Apache service named  reported the following error:
>>> Invalid command 'JkWorkersFile', perhaps mis-spelled or defined by a
module not included in the server configuration . 

-Original Message-
From: Ignacio J. Ortega [mailto:[EMAIL PROTECTED]]
Sent: June 19, 2002 3:34 PM
To: 'Tomcat Users List'; 'Jacob Kjome'
Subject: RE: Apache 2.0.39 and mod_jk2.dll nightly incompatible?


> De: Jacob Kjome [mailto:[EMAIL PROTECTED]]
> Enviado el: 19 de junio de 2002 21:53

> So, I figured.  Well, that must mean that I just need to upgrade to
> mod_jk2.  I downloaded mod_jk2.dll from
> http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2
/nightly/win32/ .

Just upgraded the nightly binaries for jk2 , built with 2.0.39

Saludos ,
Ignacio J. Ortega


> -Mensaje original-
> Para: Tomcat Users List
> Asunto: Apache 2.0.39 and mod_jk2.dll nightly incompatible?
> 
> 
> Hi,
> 
> I figured I should upgrade to Apache 2.0.39 because of the security
> alert.  However, now that I have, the mod_jk.dll (version 1.2, I
> believe) that I downloaded from http://www.acg-gmbh.de/mod_jk/ which
> worked fine with Apache 2.0.36 doesn't work.  Apache won't even start.
> Here's the info from the NT Event Viewer log:
> 
> The Apache service named  reported the following error:
> Apache.exe: module
> "C:\jakarta-tomcat-connectors-4.0.4-b3-src\jk\native\apache-2.
> 0\mod_jk.c"
> is not compatible with this version of Apache.
> 
> 
I removed mod_jk.dll from Apache2/modules and and added mod_jk2.dll
and tried starting Apache expecting no problems.  I got another error.
The event log now has:

The Apache service named  reported the following error:
Apache.exe: module
"E:\tomcat\jakarta-tomcat-connectors\jk\native2\server\apache2\mod_jk2.c
"
is not compatible with this version of Apache.
Please contact the vendor for the correct version.


So, is there a problem with Apache 2.0.39 or are the jk modules out of
step with current Apache development?  If anyone has a mod_jk.dll that
works with Apache 2.0.39, could you please send it to me or let me
know where to download it?

Thanks,

Jake


--
To unsubscribe, e-mail:

For additional commands, e-mail:



--
To unsubscribe, e-mail:

For additional commands, e-mail:


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: [JK2] Binaries for win32

2002-06-14 Thread Short, Dave

Where do isapi_redirector2.dll and mod_jk2.dll live?  There is nothing
listed under the apr link from the jk/native2 link.

-Original Message-
From: Ignacio J. Ortega [mailto:[EMAIL PROTECTED]]
Sent: June 14, 2002 10:34 AM
To: 'Ian Darwin'
Cc: 'tomcat-user'
Subject: RE: [JK2] Binaries for win32


> De: Ian Darwin [mailto:[EMAIL PROTECTED]]
> Enviado el: 14 de junio de 2002 19:14

> Thanks, but why is there both an isapi_redirector2.dll and a 
> mod_jk2.dll?

Well, they are binaries, right ? :)

For IIS you will need the apr ones and i_r2.dll.. only.. all in the same
dir..

> Does one invoke the other? Is there any kind of how-to for version 2
> of this stuff? The iis-howto doc is all in terms of TC3 and 
> the old jk version.

Unfortunately, not, check CVS,
,
but we all gathering volunteers all the time :)), dont hesitate to post
at tomcat-user for further help on config , but there at the CVS you
will get more or less all you need to make it work..

(Please continue theread at tomcat-user thanks..)

Saludos ,
Ignacio J. Ortega

--
To unsubscribe, e-mail:

For additional commands, e-mail:


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: jk_nt_service.exe with Tomcat V4.0.3

2002-06-12 Thread Short, Dave

Thanks!

-Original Message-
From: Cox, Charlie [mailto:[EMAIL PROTECTED]]
Sent: June 12, 2002 11:57 AM
To: 'Tomcat Users List'
Subject: RE: jk_nt_service.exe with Tomcat V4.0.3


jdk 1.3.1(or higher) fixes this problem or I believe you can also use -Xrs
as jvm params to avoid it.

Charlie

> -Original Message-
> From: Short, Dave [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 12, 2002 1:03 PM
> To: 'Tomcat Users List'
> Subject: RE: jk_nt_service.exe with Tomcat V4.0.3
> 
> 
> Have you encountered the following issue, reported in the 
> "Working with the
> Jakarta NT Service" document
> http://jakarta.apache.org/tomcat/tomcat-3.2-doc/NT-Service-how
> to.html, which
> is referenced in your "Catalina as an NT Service" document
> http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg
> 35196.html?
> 
> Notice for JDK 1.3 users:  There is a known problem in JDK 
> 1.3 that affects
> Java applications being run as Windows NT services.  The bug 
> causes the
> service to terminate when the currently logged in user logs out.  The
> simplest way to work around this problem is to use JDK 1.2.  If your
> application requires JDK 1.3 features then you may want to look into
> javaserv or JavaService.  Users have reported success with 
> both of these
> packages but there may be others that work as well. 
> 
> 
> -Original Message-
> From: Cox, Charlie [mailto:[EMAIL PROTECTED]]
> Sent: June 11, 2002 10:13 AM
> To: 'Tomcat Users List'
> Subject: RE: jk_nt_service.exe with Tomcat V4.0.3
> 
> 
> I am using jk_nt_service with tc 4.0.1 since I had problems 
> with the Tomcat
> installer's service.
> 
> you can use the jk_nt_service from the 3.x tree and you can 
> configure it by
> following the directions here:
> http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg
> 35196.html
> 
> Charlie
> 
> > -Original Message-
> > From: Wagoner, Mark [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, June 11, 2002 8:18 AM
> > To: 'Tomcat Users List'
> > Subject: RE: jk_nt_service.exe with Tomcat V4.0.3
> > 
> > 
> > I don't know if it is compatible or not, but it is not 
> necessary.  The
> > Tomcat 4.x installer includes a "run as service" option 
> > during installation.
> > 
> > -Original Message-
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, June 11, 2002 7:14 AM
> > To: [EMAIL PROTECTED]
> > Cc: [EMAIL PROTECTED]
> > Subject: jk_nt_service.exe with Tomcat V4.0.3
> > 
> > 
> > Hi Folks
> > Is jk_nt_service.exe compatible with Tomcat V4.0.3? There is 
> > no copy in the
> > V4.0.3 directory structure.
> > There is the copy in the V3.3.1 directory. Is that version specific?
> > Thanks for any help,
> > Charlie.
> > 
> > Charles Collin
> > Software Engineer
> > eSolutions ITS
> > BT Ignite Solutions
> > 
> >Tel: +44 (01442) 208756
> >FAX: +44 (01442) 208757
> >Mobile:  +44 (07764) 144289
> >e-mail:  [EMAIL PROTECTED]
> >Address: pp 421, 
> > Anzani House,
> > Trinity Avenue,
> > FELIXSTOWE, 
> > Suffolk,
> > IP11 4XB,
> > UK.
> > 
> > British Telecommunications plc
> > Registered office: 81 Newgate Street London EC1A 7AJ
> > Registered in England no. 180.
> > 
> > This electronic message contains information from British 
> > Telecommunications
> > plc which may be privileged or confidential. The information 
> > is intended to
> > be for the use of the individual(s) or entity named above. If 
> > you are not
> > the intended recipient be aware that any disclosure, copying, 
> > distribution
> > or use of the contents of this information is prohibited. 
> If you have
> > received this electronic message in error, please notify us 
> > by telephone or
> > email (to the numbers or address above) immediately.
> > 
> > 
> > --
> > To unsubscribe, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > 
> > --
> > To unsubscribe, e-mail:   
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 
> --
> To unsubscribe, e-mail:   
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: 
> <mailto:[EMAIL PROTECTED]>
> 

--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




RE: jk_nt_service.exe with Tomcat V4.0.3

2002-06-12 Thread Short, Dave

I agree, just checking.  Thanks for posting your success with
jk_nt_service.exe!

-Original Message-
From: Cox, Charlie [mailto:[EMAIL PROTECTED]]
Sent: June 12, 2002 9:59 AM
To: 'Tomcat Users List'
Subject: RE: jk_nt_service.exe with Tomcat V4.0.3


I would imagine that performance would be the same because you really just
need something to run as a service and start java. Once java is started it
is the same as running catalina.bat(except that you run as user 'system').

I have been using jk_nt_service in production with tc4.0.1 since december
with no problems. I have had it on my test server even longer without
problems.

Charlie

> -Original Message-----
> From: Short, Dave [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 12, 2002 11:44 AM
> To: 'Tomcat Users List'
> Subject: RE: jk_nt_service.exe with Tomcat V4.0.3
> 
> 
> Which technique is better from a performance point of view?  
> I can't get the
> tomcat 4.0.3 version (below) to work.  I can, however, get the old
> jk_nt_service version to work with 4.0.3 just fine.
> 
> -Original Message-
> From: Douglas, Rory [mailto:[EMAIL PROTECTED]]
> Sent: June 11, 2002 8:56 AM
> To: Tomcat Users List (E-mail)
> Subject: Re: jk_nt_service.exe with Tomcat V4.0.3
> 
> 
> 
> Look inside the bootstrap.jar file in the \bin directory.
> 
> I think the startup class should be
> "org.apache.catalina.startup.BootstrapService"
> (I'm using 4.1.3)
> 
> I haven't got time to test this, but try
> 
> tomcat -install tomcat403 c:\jdk\jre\bin\server\jvm.dll -start
> org.apache.catalina.startup.BootstratpService
> 
> Obviously, replace c:\jdk... with the path to your jdk 
> directory. You can
> use either the server or client jvm dll's.
> 
> Actually I just tested that now, it works !
> 
> cheers
> Rory
> 
> -Original Message-
> From: Short, Dave [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 11, 2002 11:12 AM
> To: 'Douglas, Rory '
> Subject: RE: jk_nt_service.exe with Tomcat V4.0.3
> 
> 
> Can anyone please provide a working example of how to install 
> Tomcat 4.0.3
> as a service on W2K (which class to specify, etc.)? 
> 
> -Original Message-
> From: Douglas, Rory
> To: 'Tomcat Users List'
> Sent: 6/11/02 8:50 AM
> Subject: RE: jk_nt_service.exe with Tomcat V4.0.3
> 
> If you type "TOMCAT.EXE /?" you will see the that it is possible to
> install
> a tomcat service from the command line.  It is a bit tricky 
> though, you
> need
> to specify the main class etc.
> 
> rory
> 
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 11, 2002 7:14 AM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: jk_nt_service.exe with Tomcat V4.0.3
> 
> 
> Hi Folks
> Is jk_nt_service.exe compatible with Tomcat V4.0.3? There is 
> no copy in
> the
> V4.0.3 directory structure.
> There is the copy in the V3.3.1 directory. Is that version specific?
> Thanks for any help,
> Charlie.
> 
>   Charles Collin
>   Software Engineer
>   eSolutions ITS
>   BT Ignite Solutions
> 
>Tel: +44 (01442) 208756
>FAX: +44 (01442) 208757
>Mobile:  +44 (07764) 144289
>e-mail:  [EMAIL PROTECTED]
>Address: pp 421, 
> Anzani House,
> Trinity Avenue,
> FELIXSTOWE, 
> Suffolk,
> IP11 4XB,
> UK.
> 
> British Telecommunications plc
> Registered office: 81 Newgate Street London EC1A 7AJ
> Registered in England no. 180.
> 
> This electronic message contains information from British
> Telecommunications
> plc which may be privileged or confidential. The information 
> is intended
> to
> be for the use of the individual(s) or entity named above. If you are
> not
> the intended recipient be aware that any disclosure, copying,
> distribution
> or use of the contents of this information is prohibited. If you have
> received this electronic message in error, please notify us 
> by telephone
> or
> email (to the numbers or address above) immediately.
> 
> 
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 
> --
> To unsubscribe, e-mail:   
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: 
> <mailto:[EMAIL PROTECTED]>
> 

--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




RE: jk_nt_service.exe with Tomcat V4.0.3

2002-06-12 Thread Short, Dave

Have you encountered the following issue, reported in the "Working with the
Jakarta NT Service" document
http://jakarta.apache.org/tomcat/tomcat-3.2-doc/NT-Service-howto.html, which
is referenced in your "Catalina as an NT Service" document
http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg35196.html?

Notice for JDK 1.3 users:  There is a known problem in JDK 1.3 that affects
Java applications being run as Windows NT services.  The bug causes the
service to terminate when the currently logged in user logs out.  The
simplest way to work around this problem is to use JDK 1.2.  If your
application requires JDK 1.3 features then you may want to look into
javaserv or JavaService.  Users have reported success with both of these
packages but there may be others that work as well. 


-Original Message-
From: Cox, Charlie [mailto:[EMAIL PROTECTED]]
Sent: June 11, 2002 10:13 AM
To: 'Tomcat Users List'
Subject: RE: jk_nt_service.exe with Tomcat V4.0.3


I am using jk_nt_service with tc 4.0.1 since I had problems with the Tomcat
installer's service.

you can use the jk_nt_service from the 3.x tree and you can configure it by
following the directions here:
http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg35196.html

Charlie

> -Original Message-
> From: Wagoner, Mark [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 11, 2002 8:18 AM
> To: 'Tomcat Users List'
> Subject: RE: jk_nt_service.exe with Tomcat V4.0.3
> 
> 
> I don't know if it is compatible or not, but it is not necessary.  The
> Tomcat 4.x installer includes a "run as service" option 
> during installation.
> 
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 11, 2002 7:14 AM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: jk_nt_service.exe with Tomcat V4.0.3
> 
> 
> Hi Folks
> Is jk_nt_service.exe compatible with Tomcat V4.0.3? There is 
> no copy in the
> V4.0.3 directory structure.
> There is the copy in the V3.3.1 directory. Is that version specific?
> Thanks for any help,
> Charlie.
> 
>   Charles Collin
>   Software Engineer
>   eSolutions ITS
>   BT Ignite Solutions
> 
>Tel: +44 (01442) 208756
>FAX: +44 (01442) 208757
>Mobile:  +44 (07764) 144289
>e-mail:  [EMAIL PROTECTED]
>Address: pp 421, 
> Anzani House,
> Trinity Avenue,
> FELIXSTOWE, 
> Suffolk,
> IP11 4XB,
> UK.
> 
> British Telecommunications plc
> Registered office: 81 Newgate Street London EC1A 7AJ
> Registered in England no. 180.
> 
> This electronic message contains information from British 
> Telecommunications
> plc which may be privileged or confidential. The information 
> is intended to
> be for the use of the individual(s) or entity named above. If 
> you are not
> the intended recipient be aware that any disclosure, copying, 
> distribution
> or use of the contents of this information is prohibited. If you have
> received this electronic message in error, please notify us 
> by telephone or
> email (to the numbers or address above) immediately.
> 
> 
> --
> To unsubscribe, e-mail:
> 
> For additional commands, e-mail:
> 
> 
> --
> To unsubscribe, e-mail:   

For additional commands, e-mail:


--
To unsubscribe, e-mail:

For additional commands, e-mail:


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: jk_nt_service.exe with Tomcat V4.0.3

2002-06-12 Thread Short, Dave

Which technique is better from a performance point of view?  I can't get the
tomcat 4.0.3 version (below) to work.  I can, however, get the old
jk_nt_service version to work with 4.0.3 just fine.

-Original Message-
From: Douglas, Rory [mailto:[EMAIL PROTECTED]]
Sent: June 11, 2002 8:56 AM
To: Tomcat Users List (E-mail)
Subject: Re: jk_nt_service.exe with Tomcat V4.0.3



Look inside the bootstrap.jar file in the \bin directory.

I think the startup class should be
"org.apache.catalina.startup.BootstrapService"
(I'm using 4.1.3)

I haven't got time to test this, but try

tomcat -install tomcat403 c:\jdk\jre\bin\server\jvm.dll -start
org.apache.catalina.startup.BootstratpService

Obviously, replace c:\jdk... with the path to your jdk directory. You can
use either the server or client jvm dll's.

Actually I just tested that now, it works !

cheers
Rory

-----Original Message-
From: Short, Dave [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 11, 2002 11:12 AM
To: 'Douglas, Rory '
Subject: RE: jk_nt_service.exe with Tomcat V4.0.3


Can anyone please provide a working example of how to install Tomcat 4.0.3
as a service on W2K (which class to specify, etc.)? 

-Original Message-
From: Douglas, Rory
To: 'Tomcat Users List'
Sent: 6/11/02 8:50 AM
Subject: RE: jk_nt_service.exe with Tomcat V4.0.3

If you type "TOMCAT.EXE /?" you will see the that it is possible to
install
a tomcat service from the command line.  It is a bit tricky though, you
need
to specify the main class etc.

rory

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 11, 2002 7:14 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: jk_nt_service.exe with Tomcat V4.0.3


Hi Folks
Is jk_nt_service.exe compatible with Tomcat V4.0.3? There is no copy in
the
V4.0.3 directory structure.
There is the copy in the V3.3.1 directory. Is that version specific?
Thanks for any help,
Charlie.

Charles Collin
Software Engineer
eSolutions ITS
BT Ignite Solutions

   Tel: +44 (01442) 208756
   FAX: +44 (01442) 208757
   Mobile:  +44 (07764) 144289
   e-mail:  [EMAIL PROTECTED]
   Address: pp 421, 
Anzani House,
Trinity Avenue,
FELIXSTOWE, 
Suffolk,
IP11 4XB,
UK.

British Telecommunications plc
Registered office: 81 Newgate Street London EC1A 7AJ
Registered in England no. 180.

This electronic message contains information from British
Telecommunications
plc which may be privileged or confidential. The information is intended
to
be for the use of the individual(s) or entity named above. If you are
not
the intended recipient be aware that any disclosure, copying,
distribution
or use of the contents of this information is prohibited. If you have
received this electronic message in error, please notify us by telephone
or
email (to the numbers or address above) immediately.


--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




RE: doco addition - Troubleshooting WinNT/Win2k IIS isapi redirector

2002-06-12 Thread Short, Dave

Does anyone have Tomcat 4.0.3 running against IIS 5 on W2K as in-process?

-Original Message-
From: neil [mailto:[EMAIL PROTECTED]]
Sent: June 11, 2002 5:22 PM
To: [EMAIL PROTECTED]
Subject: doco addition - Troubleshooting WinNT/Win2k IIS isapi
redirector


Here is a suggestion for an addition to the
"Troubleshooting" "WinNT/Win2k" section of
http://jakarta.apache.org/tomcat/tomcat-3.3-doc/tomcat-iis-howto.html
This worked for me after a frustrating day of failure.

After:

5. Invoke the URL "http://localhost/examples/jsp/index.html"; in your
browser. Case is important. The characters following "localhost" in the URL
must be lower case. If the page fails to appear, examine the last line in
the IIS server log file in found in SYSTEM32/LogFiles/W3SVC1.
A. The last line should contain something like: GET
"/jakarta/isapi_redirect.dll HTTP1.1", which indicates the Tomcat redirector
is recognizing that it should handle the request.
1. If the number following GET "/..." is 404, check
the following:
a. Make sure you entered the URL
correctly.


Insert:

  b. Maybe IIS Virtual Directories are not
working. Make a new Virtual Directory pointing to some local files, enable
Directory browsing and Read then check whether your browser can browse and
read from it. If not uninstall and reinstall IIS. (The Virtual Directories I
had created were no longer present at this stage.) Repeat the steps 3 to 5
of "Configuring the ISAPI Tomcat Redirector" and try again.


Although its stupid having to reinstall IIS, its fairly quick and doesn't
mess up your web site content or require reboots.


--
To unsubscribe, e-mail:

For additional commands, e-mail:


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: apache 2.036 + tc 4.0.3 jsps and static elements caching in browser

2002-05-29 Thread Short, Dave

Can you post apache and tomcat integration details, i.e. httpd.conf,
tomcat.conf files, etc.?

-Original Message-
From: Ekkehard Gentz [mailto:[EMAIL PROTECTED]]
Sent: May 29, 2002 8:53 AM
To: Tomcat Users List
Subject: apache 2.036 + tc 4.0.3 jsps and static elements caching in
browser


hi,
we have successfully integrated apache 2.0.36 and tomcat 4.0.3
using mod_jk
apache successfully serves all static elements (.gif, .js, .css, applets)
and routes all other things to the webapp on tomcat

we have html-pages with toolbars realized by images
so if you have 20 tools with 4 gifs (normal, disabled, down, up)
there are 80 gifs to load
but most of them are equal for all pages

in princip all is well:
if the browser wants to get the gif
apache answers 304 - because the browser doesn't need the gifs
the browser already has cached it

BUT
for each static element the browser ASKs the server
and this costs time

one workaround we have found:
to change IE properties for temporary files
setting this to "never" ask for new versions

then all jsps will be correctly got from the server
and the browser does NOT ask the server for the gifs
if they're already in his cache

now we are looking to have this without setting IE options

has anybody an idea how to say the IE that static elements
- if possible - should be used from the local cache
without setting any options

thanks for ideas or tips

regards

ekkehard

--
To unsubscribe, e-mail:

For additional commands, e-mail:


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Tomcat 3.3a as a W2k Service

2002-04-24 Thread Short, Dave

Would you mind sending a copy of your wrapper.properties file?

-Original Message-
From: Lecaros, Noel [mailto:[EMAIL PROTECTED]]
Sent: April 23, 2002 10:55 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat 3.3a as a W2k Service


When you say "the logs are not written," do you mean the file jvm.stderr in
the logs subdirectory for Tomcat?  On version 3.3.1, there is an issue with
jk_nt_service in that it does not properly interpret the wrapper.properties
file supplied in the distribution.  Specifically, the wrapper.jvm.options
property cannot be blank.  You might want to remove this property from
wrapper.cmd_line located at the bottom of this file, or add an option, some
samples of which are given in the same file.  I have mine set to:

wrapper.jvm.options=-Xrs

since I use JDK1.3.1

Cheers,
Noel

-Original Message-----
From: Short, Dave [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 23, 2002 10:49 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat 3.3a as a W2k Service


I tried that and it still didn't work.  On the version of jk_nt_service.exe
that I'm using the "-a" stands for "Set startup as automatic".

I'm in the correct directory and address/ports are not in use.  I can start
Tomcat from the command line ok...

-Original Message-
From: John Roth [mailto:[EMAIL PROTECTED]]
Sent: April 23, 2002 10:40 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat 3.3a as a W2k Service


Try: jk_nt_service -i Tomcat -a wrapper.properties (the "-a" being an
addition)

Also:
1) be sure you are in the directory where wrapper.properties exists
2) verify your address/ports are not in use elsewhere

Thanks,
john


-Original Message-
From: Short, Dave [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 23, 2002 1:35 PM
To: [EMAIL PROTECTED]
Subject: Tomcat 3.3a as a W2k Service


I'm not having much success trying to run Tomcat 3.3a as a W2K service.
"jk_nt_service -s Tomcat" just gives me the following dialog:

Asked (and given) winsock 1.1
Starting Tomcat.
Tomcat failed to start.

The logs are not written and there is no trace of any type of error message.
The service was installed as follows:

jk_nt_service -i Tomcat wrapper.properties

Any help would be greatly appreciated.



--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




RE: Which Apache-To-Tomcat Connector

2002-04-24 Thread Short, Dave

In which version is this projected to be fixed?

-Original Message-
From: Simon Stewart [mailto:[EMAIL PROTECTED]]
Sent: April 24, 2002 8:11 AM
To: Tomcat Users List
Subject: Re: Which Apache-To-Tomcat Connector


It isn't so. You can still serve static pages, but they'll come
through Tomcat and then apache, rather than being served straight from
apache. End result: you'll see a speed hit. This is what's being
fixed, as I understand it.

On Wed, Apr 24, 2002 at 03:00:59PM +, Lance Smith wrote:
> Using: Apache 2.0.35 and Tomcat 4.0.3 on Red Hat 7.2.
> 
> Say it isn't so: There is no way to serve static pages from Apache using 
> mod_webapp? Can anyone confirm/deny this?
> 
> Lance
> 
> >> The major difference between the two modules, other than this, is that
> >> mod_jk allows static content to be served directly from Apache rather
> >> than going through Tomcat, and mod_jk has provision for doing
> >> loadbalancing across multiple servers. Of these, the former is
> >> (apparently) going to be fixed at some point in the near future.

Cheers,

Simon

-- 
"I'm sorry, you must be confusing
 me with someone who gives a damn."

--
To unsubscribe:   
For additional commands: 
Troubles with the list: 

--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




RE: Tomcat 3.3a as a W2k Service

2002-04-24 Thread Short, Dave

I mean any logs - none are written.  What is the latest and greatest version
of jk_nt_service.exe?  Can you tell me what the wrapper.jvm.options setting
would be for JDK1.2.2?

-Original Message-
From: Lecaros, Noel [mailto:[EMAIL PROTECTED]]
Sent: April 23, 2002 10:55 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat 3.3a as a W2k Service


When you say "the logs are not written," do you mean the file jvm.stderr in
the logs subdirectory for Tomcat?  On version 3.3.1, there is an issue with
jk_nt_service in that it does not properly interpret the wrapper.properties
file supplied in the distribution.  Specifically, the wrapper.jvm.options
property cannot be blank.  You might want to remove this property from
wrapper.cmd_line located at the bottom of this file, or add an option, some
samples of which are given in the same file.  I have mine set to:

wrapper.jvm.options=-Xrs

since I use JDK1.3.1

Cheers,
Noel

-Original Message-----
From: Short, Dave [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 23, 2002 10:49 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat 3.3a as a W2k Service


I tried that and it still didn't work.  On the version of jk_nt_service.exe
that I'm using the "-a" stands for "Set startup as automatic".

I'm in the correct directory and address/ports are not in use.  I can start
Tomcat from the command line ok...

-Original Message-
From: John Roth [mailto:[EMAIL PROTECTED]]
Sent: April 23, 2002 10:40 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat 3.3a as a W2k Service


Try: jk_nt_service -i Tomcat -a wrapper.properties (the "-a" being an
addition)

Also:
1) be sure you are in the directory where wrapper.properties exists
2) verify your address/ports are not in use elsewhere

Thanks,
john


-Original Message-
From: Short, Dave [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 23, 2002 1:35 PM
To: [EMAIL PROTECTED]
Subject: Tomcat 3.3a as a W2k Service


I'm not having much success trying to run Tomcat 3.3a as a W2K service.
"jk_nt_service -s Tomcat" just gives me the following dialog:

Asked (and given) winsock 1.1
Starting Tomcat.
Tomcat failed to start.

The logs are not written and there is no trace of any type of error message.
The service was installed as follows:

jk_nt_service -i Tomcat wrapper.properties

Any help would be greatly appreciated.



--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




RE: Tomcat 3.3a as a W2k Service

2002-04-23 Thread Short, Dave

I tried that and it still didn't work.  On the version of jk_nt_service.exe
that I'm using the "-a" stands for "Set startup as automatic".

I'm in the correct directory and address/ports are not in use.  I can start
Tomcat from the command line ok...

-Original Message-
From: John Roth [mailto:[EMAIL PROTECTED]]
Sent: April 23, 2002 10:40 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat 3.3a as a W2k Service


Try: jk_nt_service -i Tomcat -a wrapper.properties (the "-a" being an
addition)

Also:
1) be sure you are in the directory where wrapper.properties exists
2) verify your address/ports are not in use elsewhere

Thanks,
john


-Original Message-
From: Short, Dave [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 23, 2002 1:35 PM
To: [EMAIL PROTECTED]
Subject: Tomcat 3.3a as a W2k Service


I'm not having much success trying to run Tomcat 3.3a as a W2K service.
"jk_nt_service -s Tomcat" just gives me the following dialog:

Asked (and given) winsock 1.1
Starting Tomcat.
Tomcat failed to start.

The logs are not written and there is no trace of any type of error message.
The service was installed as follows:

jk_nt_service -i Tomcat wrapper.properties

Any help would be greatly appreciated.



--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




Tomcat 3.3a as a W2k Service

2002-04-23 Thread Short, Dave

I'm not having much success trying to run Tomcat 3.3a as a W2K service.
"jk_nt_service -s Tomcat" just gives me the following dialog:

Asked (and given) winsock 1.1
Starting Tomcat.
Tomcat failed to start.

The logs are not written and there is no trace of any type of error message.
The service was installed as follows:

jk_nt_service -i Tomcat wrapper.properties

Any help would be greatly appreciated.



--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




RE: Instruction: How to install Verisign certificate to Tomcat.

2002-04-19 Thread Short, Dave

Excellent! Thank you very much.

-Original Message-
From: Evgeniy Strokin [mailto:[EMAIL PROTECTED]]
Sent: April 18, 2002 10:49 AM
To: [EMAIL PROTECTED]
Subject: Instruction: How to install Verisign certificate to Tomcat.


Instruction: How to install Verisign certificate to
Tomcat.
Hope it helps somebody.

1. Make self-signed certificate:

keytool -genkey -keystore your.keystore

You should get:
Enter keystore password:  your_password
What is your first and last name?
  [Unknown]: somename.com
That's right, you should put domain name here, not
your first and last name. -) Answer all next
questions.

2. Check it:

keytool -list -v -keystore your.keystore

Enter keystore password:  your_password
You should get something like this:

Keystore type: jks
Keystore provider: SUN

Your keystore contains 1 entry:

Alias name: mykey
Creation date: Mon Mar 25 13:15:11 EST 2002
Entry type: keyEntry
Certificate chain length: 1
Certificate[1]:
Owner: CN=somename.com, OU= some name L.L.C., O= some
name Inc, L=some town, ST=some state, C=some country
Issuer: CN= somename.com, OU= some name L.L.C., O=
some name Inc, L= some town, ST= some state, C= some
country
Serial number: 3c9f6345
Valid from: Mon Mar 25 13:15:02 EST 2002 until: Sun
Jun 23 14:15:02 EDT 2002
Certificate fingerprints:
 MD5: 
6F:F3:64:D7:D1:6A:5F:2E:AB:0F:2B:B5:8C:87:59:84
 SHA1:
D8:B1:19:1C:E4:3F:25:2C:5A:E8:05:C0:A7:4B:5F:BB:05:1E:94:02


***
***

3. Make request certificate:

keytool -certreq - keystore your.keystore

Enter keystore password:  your_password
You should get:
-BEGIN NEW CERTIFICATE REQUEST-
MIIB1zCCAUACAQAwgZYxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpOZXcg


nELWwLTxds8FSK6eqsU1NENMFg==
-END NEW CERTIFICATE REQUEST-
Copy it to textbox in Verisign website when you'll be
order certificate (you'll be asked about that). 

4. You get your certificate signed by Verisign
(usually by email). Copy it to file somename.cer.
After that:

keytool -import -trustcacerts -file somename.cer
-keystore your.keystore

Enter keystore password:  your_password
You should get:
Certificate reply was installed in keystore

5. Check it:

keytool -list -v -keystore your.keystore

Enter keystore password:  your_password
You should get something like this:

Keystore type: jks
Keystore provider: SUN

Your keystore contains 1 entry:

Alias name: mykey
Creation date: Thu Apr 18 12:52:25 EDT 2002
Entry type: keyEntry
Certificate chain length: 2
Certificate[1]:
Owner: CN=somename.com, OU=some name L.L.C., O=some
name Inc, L=some town, ST=some state, C=some country
Issuer: OU=Secure Server Certification Authority,
O="RSA Data Security, Inc.", C=US
Serial number: 48a29e834c57a88bc1c3350x23454395
Valid from: Tue Apr 09 20:00:00 EDT 2002 until: Thu
Apr 10 19:59:59 EDT 2003
Certificate fingerprints:
 MD5: 
8F:5A:F0:A2:9E:B1:A7:50:FA:59:0C:4C:49:AD:BE:A5
 SHA1:
C2:61:A4:BE:AA:85:97:AC:F1:DF:07:24:9D:DC:FA:5F:FF:D4:5A:28
Certificate[2]:
Owner: OU=Secure Server Certification Authority,
O="RSA Data Security, Inc.", C=US
Issuer: OU=Secure Server Certification Authority,
O="RSA Data Security, Inc.", C=US
Serial number: 2ad667e4e45fe5e576f3c98195eddc0
Valid from: Tue Nov 08 19:00:00 EST 1994 until: Thu
Jan 07 18:59:59 EST 2010
Certificate fingerprints:
 MD5: 
74:7B:82:03:43:F0:00:9E:6B:B3:EC:47:BF:85:A5:93
 SHA1:
44:63:C5:31:D7:CC:C1:00:67:94:61:2B:B6:56:D3:BF:82:57:84:6F


***
***

6. Copy file your.keystore to tomcat_home directory.
Check server.xml. It should contain:









7. Restart/run your Tomcat.


__
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/

--
To unsubscribe:   
For additional commands: 
Troubles with the list: 

--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




java.lang.NullPointerException

2002-04-10 Thread Short, Dave

I've just configured Tomcat 3.3a and Apache 1.3.24 on a W2K professional
machine.  Everything seems to work ok (Apache forwards servlet requests to
Tomcat).  However, when I try to access my servlet the following message is
written to Tomcat's log directory:

2002-04-10 10:15:58 - /PSIRxConnect: Exception in R( /PSIRxConnect +
/servlet/Jaws + /PSIRx/PSIRxMain/f_usernamepassword) -
java.lang.NullPointerException
at com.sybase.jaws.JawsServlet.processRequest(JawsServlet.java,
Compiled Code)
at com.sybase.jaws.JawsServlet.doGet(JawsServlet.java:162)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at org.apache.tomcat.facade.ServletHandler.doService(Unknown Source)
at org.apache.tomcat.core.Handler.invoke(Unknown Source)
at org.apache.tomcat.core.Handler.service(Unknown Source)
at org.apache.tomcat.facade.ServletHandler.service(Unknown Source)
at org.apache.tomcat.core.ContextManager.internalService(Unknown
Source)
at org.apache.tomcat.core.ContextManager.service(Unknown Source)
at
org.apache.tomcat.modules.server.Ajp12Interceptor.processConnection(Unknown
Source)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown
Source)
at java.lang.Thread.run(Thread.java:479)

Tomcat seems to find and execute my servlet.  Then it dies on the apache
stuff.  Is this a Tomcat Class issue?  Any help would be greatly
appreciated.

Dave

--
To unsubscribe:   
For additional commands: 
Troubles with the list: