RE: jk2 and ip-based vhosts

2004-01-27 Thread Brennon Obst
This is a current issue, there is little documentation for jk2 right
now. I had some luck with this tutorial;

Tutorial for mod_jk-2.0.42 (aka JK)
-
http://raibledesigns.com/tomcat/

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/vhosthowto.html
(Official )

Also if you post to Bill Barker, he is very helpful.

Regards,



Brennon Obst 


Java Security Programmer
iEnergy Main Branch 
39 Melbourne St. / Brisbane 
p. (617) 3846- 
[EMAIL PROTECTED] 





-Original Message-
From: Jim Hopp [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, 28 January 2004 5:09 AM
To: Tomcat Users List
Subject: jk2 and ip-based vhosts


I'm attempting to set up apache 2.0 and jk2 to use IP-based virtual 
hosts, with no success.  I'd love it if someone on the list could point 
out what I'm doing wrong (or point me to some doc that shows how to do 
this - I've had no luck googling).

I've got apache up and running on a machine with two IP addresses.  I'd 
like to run two tomcat instances, with exactly the same URI mapping, one

for each IP address.  The problem is that jk2 doesn't appear to take the

IP address of the request into account - it simply routes the request to

the JkUriSet defined last in the httpd.conf file.

Google searches show examples of this working for jk, but I cannot find 
any examples of this for jk2.  If I can't figure this out I may have to 
go back to jk.

Below are my jk2.conf, workers2.properties, and ssl.conf (which is 
included into httpd.conf) files.

I'm running Apache 2.0.45, Tomcat 4.1.24, and jk2 from 
jakarta-tomcat-connectors-4.1.24-src on RedHat 9.

jk2.conf:
JkOptions -ForwardKeySize -ForwardDirectories -ForwardURICompat 
+ForwardURICompatUnparsed
JkWorkersFile conf/workers2.properties
JkLogFile /var/log/httpd/jk2.log
JkLogLevel debug
JkLogStampFormat [%d/%b/%Y %H:%M:%S] 
# JkRequestLogFormat set the request format
JkRequestLogFormat %w %V %T

workers2.properties:
[logger]
level=DEBUG

[shm:]
info=Scoreboard.  Required for reconfig info and status
file=/var/log/httpd/jk2.shm size=100 debug=0 disabled=0

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

[channel.socket:68.166.222.75:8019]
info=Ajp13 forwarding over socket for nywdev
debug=1
host=68.166.222.75
tomcatId=dev1:8019

[channel.socket:68.166.222.77:8029]
info=Ajp13 forwarding over socket for nywdev2
debug=1
host=68.166.222.77
tomcatId=dev2:8029

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

ssl.conf vhost defns:

VirtualHost 68.166.222.77:443
TransferLog /var/log/httpd/dev.access_log

SSLEngine on
SSLCipherSuite ALL:!ADH:!EXP56:RC4+RSA:+HIGH:!SSLv2
SSLCertificateFile /usr/local/etc/httpd/conf/httpd.crt
SSLCertificateKeyFile /usr/local/etc/httpd/conf/httpd.key

SetEnvIf User-Agent .*MSIE.* \
  nokeepalive ssl-unclean-shutdown \
  downgrade-1.0 force-response-1.0

CustomLog /var/log/httpd/ui.ssl_request_log \
   %t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \%r\ %b

Directory /
   Order Deny,Allow
   Deny from All
/Directory

Location /jkstatus/*
   SSLRequireSSL
   Order Allow,Deny
   Allow from All
   JkUriSet worker status:
/Location

Location /
   SSLRequireSSL
   Order Allow,Deny
   Allow from All
   JkUriSet worker ajp13:68.166.222.77:8029
/Location

/VirtualHost

VirtualHost 68.166.222.75:443
TransferLog /var/log/httpd/ui.access_log

SSLEngine on
SSLCipherSuite ALL:!ADH:!EXP56:RC4+RSA:+HIGH:!SSLv2
SSLCertificateFile /usr/local/etc/httpd/conf/httpd.crt
SSLCertificateKeyFile /usr/local/etc/httpd/conf/httpd.key

SetEnvIf User-Agent .*MSIE.* \
  nokeepalive ssl-unclean-shutdown \
  downgrade-1.0 force-response-1.0

CustomLog /var/log/httpd/ui.ssl_request_log \
   %t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \%r\ %b

Directory /
   Order Deny,Allow
   Deny from All
/Directory

Location /jkstatus/*
   SSLRequireSSL
   Order Allow,Deny
   Allow from All
   JkUriSet worker status:
/Location

Location /
   SSLRequireSSL
   Order Allow,Deny
   Allow from All
   JkUriSet worker ajp13:68.166.222.75:8019
/Location

/VirtualHost







-
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]



RE: running tomcat5 in-process

2004-01-26 Thread Brennon Obst
How do you post your .dll files? I don't think so.



-Original Message-
From: David Short [mailto:[EMAIL PROTECTED] 
Sent: Saturday, 24 January 2004 2:55 AM
To: 'Tomcat Users List'
Subject: RE: running tomcat5 in-process


Phil posted his mod_jk2.dll a few posts ago.  He also posted his
workers2.properties file a few posts back.  Check out his [vm:] section
for the JAR list (OPT=-Djava.class.path=) directive and the Can't find
class org/apache/jk/apr/AprImpl error  should go away.  It looks like
the [error] mod_jk child init 1 0 is a bug, as you pointed out.

-Original Message-
From: Alvaro Seixas [mailto:[EMAIL PROTECTED]
Sent: Friday, January 23, 2004 8:47 AM
To: Tomcat Users List
Subject: Re: running tomcat5 in-process


Yeah man, would be great if you post your mod_jk2.dll.
Cause my workers2.properties looks pretty much like yours, but I'm
getting these errors:

This one occurs when I add '[worker.jni:onStartup]'
[error] Can't find class org/apache/jk/apr/AprImpl


This one all the time:
[error] mod_jk child init 1 0


Thanks a lot,
Alvaro

- Original Message -
From: David Short [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Friday, January 23, 2004 2:26 PM
Subject: RE: running tomcat5 in-process


 Excellent, I'll give it a try.  Any chance of getting a copy of
mod_jk2.dll
 that you compiled?
 Thanks.

 -Original Message-
 From: Phil Adams [mailto:[EMAIL PROTECTED]
 Sent: Friday, January 23, 2004 8:17 AM
 To: Tomcat Users List
 Subject: Re: running tomcat5 in-process


 Here is where I am so far.
 I finally got past all of the errors with Apache by compiling my own 
 mod_jk2.dll. I also compiled the jkjni.dll for the apr.NativeSo but 
 this created even more errors.
 so I have it currently commented out of jk2.properties.

 I also found that I needed an 'apache2_home' as well as 'apache_home' 
 in
my
 environment vars.  also, make sure you have 'catalina_home', 
 'tomcat_home' and 'java_home'.

 As you can read from my original post I am searching for the jni 
 connector for tomcat5. I believe this is the missing key to the 
 puzzle.

 --
 jk2.properties
 --
 shm.file=c:/Apache2/logs/jk2.shm #apr.NativeSo=C:/tomcat/bin/jkjni.dll
 handler.list=apr,request,channelJni
 apr.jniModeSo=inprocess
 channelJni.disabled = 0

 --
 workers2.properties
 --
 [logger]
 level=DEBUG

 [config:]
 file=c:/Apache2/conf/workers2.properties
 debug=0
 debugEnv=0

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

 [shm]
 file=c:/Apache2/logs/jk2.shm
 size=1048576
 debug=0
 disabled=0

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

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

 [channel.jni:jni]
 info=The jni channel, used if tomcat is started inprocess debug=0

 [worker.jni:onStartup]
 info=Command to be executed by the VM on startup. This one will start 
 tomcat. class=org/apache/jk/apr/TomcatStarter
 # For Tomcat 5 use the 'stard' for startup argument
 ARG=stard
 stdout=c:/Apache2/logs/stdout.log
 stderr=c:/Apache2/logs/stderr.log

 [worker.jni:onShutdown]
 info=Command to be executed by the VM on shutdown. This one will stop 
 tomcat. class=org/apache/jk/apr/TomcatStarter
 ARG=stop

 [vm:]
 info=Parameters used to load a JVM in the server process

OPT=-Djava.class.path=c:/Tomcat/server/lib/tomcat-jk2.jar;c:/Tomcat/serv
er/l

ib/tomcat-jni.jar;c:/Tomcat/server/lib/commons-logging.jar;c:/tomcat/com
mon/

lib/jmx.jar;c:/tomcat/bin/bootstrap.jar;c:/Tomcat/server/lib/commons-dig
este

r.jar;c:/Tomcat/server/lib/commons-beanutils.jar;c:/Tomcat/server/lib/co
mmon

s-modeler.jar;c:/Tomcat/server/lib/tomcat-util.jar;c:/Tomcat/server/lib/
tomc

at-coyote.jar;c:/Tomcat/common/lib/commons-collections.jar;c:/Tomcat/com
mon/

lib/naming-common.jar;c:/Tomcat/common/lib/servlet-api.jar;c:/Tomcat/ser
ver/
 lib/catalina.jar;c:/java2/lib/tools.jar
 OPT=-Dtomcat.home=c:/Tomcat
 OPT=-Dcatalina.home=c:/Tomcat
 OPT=-Dcatalina.base=c:/Tomcat
 OPT=-Djava.home=c:/java2
 OPT=-Dserverroot=c:/apache2 
 OPT=-Djava.endorsed.dirs=C:/Tomcat/common/endorsed
 OPT=-Djava.io.tmpdir=C:/Tomcat/temp
 OPT=-Dstdout=c:/Apache2/logs/stdout.log
 OPT=-Dstderr=c:/Apache2/logs/stderr.log
 OPT=-Xmx128M

 # Map the Tomcat webapps to the Web server uri space 
 [uri:/servlets-examples/*] context=/servlets-examples

 [uri:/jsp-examples/*]
 context=/jsp-examples

 [uri:/tomcat-docs/*]
 context=/tomcat-docs

 [uri:/jetspeed/*]
 context=/jetspeed

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

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

 --
 End of workers2.properties
 --

 _Phil
 [EMAIL PROTECTED]
 Fort Worth, Texas


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




 

RE: Geomatica Webserver

2004-01-26 Thread Brennon Obst
Could you please send me a copy of your apache and tomcat config files.
I have been struggling to get my system working. I will write a Tomcat5
and JK2 how-to once I get it going.

So anyway, Yiannis, thank you in advance for those files,

Brennon Obst
[EMAIL PROTECTED]

-Original Message-
From: Yiannis Mavroukakis [mailto:[EMAIL PROTECTED] 
Sent: Saturday, 24 January 2004 12:49 AM
To: 'Tomcat Users List'
Subject: RE: Geomatica Webserver


TC 5.0.18 both in development and production, paired with httpd 2.0.x
and jk2. I havent had any noticeable errors or problems, even in 5.0.16
with the memory leak issue.

Yiannis.

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: 23 January 2004 14:40
To: Tomcat Users List
Subject: RE: Geomatica Webserver



Howdy,
Many people on the list use tomcat5, including in production systems.
What errors/problems are you experiencing?

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Candyman [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 22, 2004 10:50 PM
To: Tomcat Users List
Subject: Geomatica Webserver

Hi. I make some silly comments about Tomcat Apache, which 
interpretation was incorrect. My native language is not english, so I 
told it with the words that I find fast to express my dissapointment:( 
The thing is I'm using Apache+Tomcat+Perl to run Geomatica Webserver. 
And I have some specific problems whith v.5.* which I dont have with
Tomcat
4.*
Does anybody have tryed to work with this server? I am not an J
developer,
so my objective is install-configure-run. If anybody have expirience to

work with this server, any help will be useful. Maybe its errors of 
this program but why it works well with versions 4 and doesnt works 
well with 5? Thank you in advance.


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




This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential,
proprietary and/or privileged.  This e-mail is intended only for the
individual(s) to whom it is addressed, and may not be saved, copied,
printed, disclosed or used by anyone else.  If you are not the(an)
intended recipient, please immediately delete this e-mail from your
computer system and notify the sender.  Thank you.


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



This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs.


Note:__
This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission.
If you receive this message in error, please immediately delete it and
all copies of it from your system, destroy any hard copies of it and
notify the sender. You must not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the
intended recipient. Jaguar Freight Services and any of its subsidiaries
each reserve the right to monitor all e-mail communications through its
networks. Any views expressed in this message are those of the
individual sender, except where the message states otherwise and the
sender is authorized to state them to be the views of any such entity.

This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs.


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



RE: Apache 1.3 + mod_jk2, requiring https

2004-01-21 Thread Brennon Obst
Yes this seems impossible, someone please help us =/

Thanks,

Brennon

-Original Message-
From: frank delin [mailto:[EMAIL PROTECTED] 
Sent: Thursday, 22 January 2004 9:11 AM
To: [EMAIL PROTECTED]
Subject: Apache 1.3 + mod_jk2, requiring https


I'm stumped.  Before mod_jk2 I would simple add config directives for
the connector in the https: virtual host section.  My goal is only to
forward requests that come into the https: virtual host to the tomcat
5.0.16 backend.

Thanks in advance.

Frank Delin
University of Iowa Hygienic Laboratory

-
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]



RE: Tomcat 5.0 mod_jk Configuration

2004-01-21 Thread Brennon Obst
Attn: Bill Barker

Dear usergroup,

In my httpd.conf I have added my jk module sucessfully but my syntax
complains when I declair my workers file as follows.

LoadModule jk2_module modules/mod_jk.dll

#
# Configure mod_jk - sytax error apparently
#
JkWorkersFile conf/workers.properties
#JkLogFile logs/mod_jk.log
#JkLogLevel info

The sytax error is:

C:\Program Files\Apache Group\Apache2\binapache.exe -t
Syntax error on line 140 of C:/Program Files/Apache
Group/Apache2/conf/httpd.con
f:
Invalid command 'JkWorkersFile', perhaps mis-spelled or defined by a
module not
included in the server configuration

This use to work I am assuming with mod_jk however now it does not. 

I am using the guide located here:
http://raibledesigns.com/tomcat/

Thank you in advance,

/brennon


 Thank you for the reply,

 Could you please clairify a few points.
 1. Is the new home available for web access?

It is just a re-packaging, nothing more.  TC 5 doesn't contain the
o.a.ajp.** packages.


 2. For Listener 
 className=org.apache.ajp.tomcat4.config.ApacheConfig
 modJk=/usr/local/apache2/modules/mod_jk.so
  Is this the same for tomcat 5? (notice ...ajp.tomcat4.config...)?


Listener className=org.apache.jk.config.ApacheConfig ... /
Everything else is the same.

 3. Is there a new version of the how-to for jk2/Apache2/tomcat5.0 ?


Not yet (As another thread has pointed out, I'm not the best doc writer
:). The TC 4 docs are still vaild, once you change the package name
however. Also, ApacheConfig doesn't work with mod_jk2:  It is only for
mod_jk.

 Thank you in advance,

 Brennon Obst

 -Original Message-
 From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Barker
 Sent: Wednesday, 21 January 2004 4:42 PM
 To: [EMAIL PROTECTED]
 Subject: Re: Tomcat 5.0  mod_jk Configuration


 As of 5.0.18, ApacheConfig and friends have moved to their new home in

 the org.apache.jk.config package.  With 5.0.18, there is no change in 
 the functionality.  It may be extended on future releases.

 Brennon Obst [EMAIL PROTECTED] wrote in message 
 news:[EMAIL PROTECTED]
  Tomcat 5.0  mod_jk Configuration
  by James Thornton [EMAIL PROTECTED] PROTECTED]  Dec
 
 http://www.talkaboutprogramming.com/group/comp.lang.java.programmer/a
 rc
 hive
  /2003-12-31.html 31, 2003 at 12:34 AM
 
 
 
  What in tomcat 5.0's configuration for mod_jk differs from how you 
  would
 
  do it for tomcat 4.x? Is this documented anywhere?
 
 
 
  In the tomcat 4.x server.xml, I had:
 
 
 
  Listener className=org.apache.ajp.tomcat4.config.ApacheConfig
 
  modJk=/usr/local/apache2/modules/mod_jk.so /
 
 
 
  Is this the same for tomcat 5? (notice ...ajp.tomcat4.config...)
 
 
 
  I tried simply changing it to ...ajp.tomcat5.config... to no avail.
 
 
 
  Thanks.
 
 
 
  I have posted this exact same thing and also do not have any avenues

  yet. Can anyone help us out here? thank you in advance,
 
 
  Brennon Obst
 
 
  Java Security Programmer
  iEnergy Main Branch
  39 Melbourne St. / Brisbane
  p. (617) 3846-
  [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]



RE: Tomcat 5.0 mod_jk Configuration

2004-01-21 Thread Brennon Obst
Yes I cant seem to find any documentation for mod_jk2-2.0.43.  I also
can not find the mod_jk-2.0.43 so that is why I am using jk2. 

There is a bug in jk that is fixed in jk2 with virtual hosts and I
require this fix. 

Please advise,

/Brennon 


-Original Message-
From: Filip Hanik [mailto:[EMAIL PROTECTED] 
Sent: Thursday, 22 January 2004 11:09 AM
To: Tomcat Users List
Subject: RE: Tomcat 5.0  mod_jk Configuration


hmm, you are using mod_jk2 and the syntax seems to be for mod_jk

filip

-Original Message-
From: Brennon Obst [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 21, 2004 4:58 PM
To: 'Tomcat Users List'
Subject: RE: Tomcat 5.0  mod_jk Configuration


Attn: Bill Barker

Dear usergroup,

In my httpd.conf I have added my jk module sucessfully but my syntax
complains when I declair my workers file as follows.

LoadModule jk2_module modules/mod_jk.dll

#
# Configure mod_jk - sytax error apparently
#
JkWorkersFile conf/workers.properties
#JkLogFile logs/mod_jk.log
#JkLogLevel info

The sytax error is:

C:\Program Files\Apache Group\Apache2\binapache.exe -t
Syntax error on line 140 of C:/Program Files/Apache
Group/Apache2/conf/httpd.con
f:
Invalid command 'JkWorkersFile', perhaps mis-spelled or defined by a
module not included in the server configuration

This use to work I am assuming with mod_jk however now it does not. 

I am using the guide located here: http://raibledesigns.com/tomcat/

Thank you in advance,

/brennon


 Thank you for the reply,

 Could you please clairify a few points.
 1. Is the new home available for web access?

It is just a re-packaging, nothing more.  TC 5 doesn't contain the
o.a.ajp.** packages.


 2. For Listener
 className=org.apache.ajp.tomcat4.config.ApacheConfig
 modJk=/usr/local/apache2/modules/mod_jk.so
  Is this the same for tomcat 5? (notice ...ajp.tomcat4.config...)?


Listener className=org.apache.jk.config.ApacheConfig ... /
Everything else is the same.

 3. Is there a new version of the how-to for jk2/Apache2/tomcat5.0 ?


Not yet (As another thread has pointed out, I'm not the best doc writer
:). The TC 4 docs are still vaild, once you change the package name
however. Also, ApacheConfig doesn't work with mod_jk2:  It is only for
mod_jk.

 Thank you in advance,

 Brennon Obst

 -Original Message-
 From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Barker
 Sent: Wednesday, 21 January 2004 4:42 PM
 To: [EMAIL PROTECTED]
 Subject: Re: Tomcat 5.0  mod_jk Configuration


 As of 5.0.18, ApacheConfig and friends have moved to their new home in

 the org.apache.jk.config package.  With 5.0.18, there is no change in
 the functionality.  It may be extended on future releases.

 Brennon Obst [EMAIL PROTECTED] wrote in message
 news:[EMAIL PROTECTED]
  Tomcat 5.0  mod_jk Configuration
  by James Thornton [EMAIL PROTECTED] PROTECTED]  Dec
 
 http://www.talkaboutprogramming.com/group/comp.lang.java.programmer/a
 rc
 hive
  /2003-12-31.html 31, 2003 at 12:34 AM
 
 
 
  What in tomcat 5.0's configuration for mod_jk differs from how you
  would
 
  do it for tomcat 4.x? Is this documented anywhere?
 
 
 
  In the tomcat 4.x server.xml, I had:
 
 
 
  Listener className=org.apache.ajp.tomcat4.config.ApacheConfig
 
  modJk=/usr/local/apache2/modules/mod_jk.so /
 
 
 
  Is this the same for tomcat 5? (notice ...ajp.tomcat4.config...)
 
 
 
  I tried simply changing it to ...ajp.tomcat5.config... to no avail.
 
 
 
  Thanks.
 
 
 
  I have posted this exact same thing and also do not have any avenues

  yet. Can anyone help us out here? thank you in advance,
 
 
  Brennon Obst
 
 
  Java Security Programmer
  iEnergy Main Branch
  39 Melbourne St. / Brisbane
  p. (617) 3846-
  [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]

-
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]



RE: Tomcat 5.0 mod_jk Configuration

2004-01-21 Thread Brennon Obst

Dear usergroup,

When I use Listener className=org.apache.jk.config.ApacheConfig ...
/ instead of the 

Listener className=org.apache.ajp.tomcat4.config.ApacheConfig
modJk=/usr/local/apache2/modules/mod_jk.so  (notice
...ajp.tomcat4.config...)?


I get the following error:

22/01/2004 11:31:39 org.apache.commons.digester.Digester startElement
SEVERE: Begin event threw exception
java.lang.ClassNotFoundException: org.apache.jk.config.ApacheConfig
at
org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLo
ader.java:891)
at
org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLo
ader.java:756)
at
org.apache.commons.digester.ObjectCreateRule.begin(ObjectCreateRule.java
:252)
at org.apache.commons.digester.Rule.begin(Rule.java:200)
at
org.apache.commons.digester.Digester.startElement(Digester.java:1273)
at
org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
at
org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(U
nknown Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDis
patcher.dispatch(Unknown Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unkno
wn Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown
Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
at
org.apache.commons.digester.Digester.parse(Digester.java:1548)
at org.apache.catalina.startup.Catalina.load(Catalina.java:512)
at org.apache.catalina.startup.Catalina.start(Catalina.java:570)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:297)
at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:394)
22/01/2004 11:31:39 org.apache.catalina.startup.Catalina start


It looks like that line will not work, what else can I do for Tomcat 5.0
?


Why is there no documentation for tomcat 5.0 server.xml and jk2? This
project(Tomcat) is being less and less supported by ISP's and I cant
even get servlets hosted anymore, that is why I am setting up a server
myself. This community requires up do date documentation on JK2 and
Tomcat 5.0.


If you know who to forward this to, please help this documentation make
its way to the public.

Regards,

/Brennon Obst

 Thank you for the reply,

 Could you please clairify a few points.
 1. Is the new home available for web access?

It is just a re-packaging, nothing more.  TC 5 doesn't contain the
o.a.ajp.** packages.


 2. For Listener 
 className=org.apache.ajp.tomcat4.config.ApacheConfig
 modJk=/usr/local/apache2/modules/mod_jk.so
  Is this the same for tomcat 5? (notice ...ajp.tomcat4.config...)?


Listener className=org.apache.jk.config.ApacheConfig ... /
Everything else is the same.

 3. Is there a new version of the how-to for jk2/Apache2/tomcat5.0 ?


Not yet (As another thread has pointed out, I'm not the best doc writer
:). The TC 4 docs are still vaild, once you change the package name
however. Also, ApacheConfig doesn't work with mod_jk2:  It is only for
mod_jk.

 Thank you in advance,

 Brennon Obst

 -Original Message-
 From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Barker
 Sent: Wednesday, 21 January 2004 4:42 PM
 To: [EMAIL PROTECTED]
 Subject: Re: Tomcat 5.0  mod_jk Configuration


 As of 5.0.18, ApacheConfig and friends have moved to their new home in

 the org.apache.jk.config package.  With 5.0.18, there is no change in 
 the functionality.  It may be extended on future releases.

 Brennon Obst [EMAIL PROTECTED] wrote in message 
 news:[EMAIL PROTECTED]
  Tomcat 5.0  mod_jk Configuration
  by James Thornton [EMAIL PROTECTED] PROTECTED]  Dec
 
 http://www.talkaboutprogramming.com/group/comp.lang.java.programmer/a
 rc
 hive
  /2003-12-31.html 31, 2003 at 12:34 AM
 
 
 
  What in tomcat 5.0's configuration for mod_jk differs from how you 
  would
 
  do it for tomcat 4.x? Is this documented anywhere?
 
 
 
  In the tomcat 4.x server.xml, I had:
 
 
 
  Listener className=org.apache.ajp.tomcat4.config.ApacheConfig
 
  modJk=/usr/local/apache2/modules/mod_jk.so /
 
 
 
  Is this the same for tomcat 5? (notice ...ajp.tomcat4.config...)
 
 
 
  I tried simply changing it to ...ajp.tomcat5.config... to no avail.
 
 
 
  Thanks.
 
 
 
  I have posted this exact same thing and also do not have any avenues

  yet. Can anyone help us out here? thank you in advance,
 
 
  Brennon

RE: Linking tomcat with apache

2004-01-20 Thread Brennon Obst
Dear usergroup,

I am linking with JK2 using tomcat5 and having some problems with my
tomcat/conf/server.xml

I have a tutorial for tomcat4 (best one I could find) and in it the
following instructions are specific for tomcat4 however I want to make
the changes to use tomcat5. 

---start tutorial segment

Now look for a line that says 

Host name=localhost debug=0 appBase=webapps unpackWARs=true
autoDeploy=true  


Just below that line, add the following: 

Listener className=org.apache.ajp.tomcat4.config.ApacheConfig
append=true forwardAll=false
modJk=c:/apache/Apache2/modules/mod_jk-2.0.43.dll /  

end tutorial 

The line className=org.apache.ajp.tomcat4.config.ApacheConfig is
specific and I do not know how to specify the right file. 

Any pointers or server.xml would be appreciated.

more info on setup
Tomcat 5.0 
Apache 2.0
Mod_jk2-2.0.43.dll


Thank you in advance,

Brennon


-Original Message-
From: batpurev [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 20 January 2004 8:36 PM
To: 'Tomcat Users List'; 'Anantharam S'
Subject: RE: Linking tomcat with apache


Hi Ananthram,

The link you provided is real help 

Cheers,
Purvee

-Original Message-
From: Anantharam S [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, January 20, 2004 5:42 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Linking tomcat with apache

Hi 

I had the same problem regarding linking tomcat with apache, i found
this great site by John Turner

http://johnturner.com/howto/apache-tomcat-howto.html

It talks about all possible configurations of tomcat and apache linking
on all platoforms, by far the best link i have seen :)

thanks
ananth



-
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]



Tomcat 5.0 mod_jk Configuration

2004-01-20 Thread Brennon Obst
Tomcat 5.0  mod_jk Configuration
by James Thornton [EMAIL PROTECTED] PROTECTED]  Dec
http://www.talkaboutprogramming.com/group/comp.lang.java.programmer/archive
/2003-12-31.html 31, 2003 at 12:34 AM



What in tomcat 5.0's configuration for mod_jk differs from how you would 

do it for tomcat 4.x? Is this documented anywhere?



In the tomcat 4.x server.xml, I had:



Listener className=org.apache.ajp.tomcat4.config.ApacheConfig 

modJk=/usr/local/apache2/modules/mod_jk.so /



Is this the same for tomcat 5? (notice ...ajp.tomcat4.config...)



I tried simply changing it to ...ajp.tomcat5.config... to no avail.



Thanks.


 
I have posted this exact same thing and also do not have any avenues yet. 
Can anyone help us out here?
thank you in advance,
 

Brennon Obst 


Java Security Programmer
iEnergy Main Branch 
39 Melbourne St. / Brisbane 
p. (617) 3846- 
[EMAIL PROTECTED] 

 


RE: Tomcat 5.0 mod_jk Configuration

2004-01-20 Thread Brennon Obst
Thank you for the reply,

Could you please clairify a few points.
1. Is the new home available for web access?

2. For Listener className=org.apache.ajp.tomcat4.config.ApacheConfig
modJk=/usr/local/apache2/modules/mod_jk.so 
 Is this the same for tomcat 5? (notice ...ajp.tomcat4.config...)?

3. Is there a new version of the how-to for jk2/Apache2/tomcat5.0 ?

Thank you in advance,

Brennon Obst

-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Barker
Sent: Wednesday, 21 January 2004 4:42 PM
To: [EMAIL PROTECTED]
Subject: Re: Tomcat 5.0  mod_jk Configuration


As of 5.0.18, ApacheConfig and friends have moved to their new home in
the org.apache.jk.config package.  With 5.0.18, there is no change in
the functionality.  It may be extended on future releases.

Brennon Obst [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 Tomcat 5.0  mod_jk Configuration
 by James Thornton [EMAIL PROTECTED] PROTECTED]  Dec

http://www.talkaboutprogramming.com/group/comp.lang.java.programmer/arc
hive
 /2003-12-31.html 31, 2003 at 12:34 AM



 What in tomcat 5.0's configuration for mod_jk differs from how you 
 would

 do it for tomcat 4.x? Is this documented anywhere?



 In the tomcat 4.x server.xml, I had:



 Listener className=org.apache.ajp.tomcat4.config.ApacheConfig

 modJk=/usr/local/apache2/modules/mod_jk.so /



 Is this the same for tomcat 5? (notice ...ajp.tomcat4.config...)



 I tried simply changing it to ...ajp.tomcat5.config... to no avail.



 Thanks.



 I have posted this exact same thing and also do not have any avenues 
 yet. Can anyone help us out here? thank you in advance,


 Brennon Obst


 Java Security Programmer
 iEnergy Main Branch
 39 Melbourne St. / Brisbane
 p. (617) 3846-
 [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]



RE: virtual hosting and tomcat wt Apache 2 and JK2

2004-01-19 Thread Brennon Obst
Yes that looks like the bug, I cant find a later version of mod_jk2
though. 
I am running tomcat-4.1.27-8.ent.1 with mod_jk2-4.1.27-8.ent.1 rpms
sourced from http://people.redhat.com/gbenson/naoko

I looked at the
http://apache.mirrors.ilisys.com.au/jakarta/tomcat-connectors/jk2/binari
es however there is only w32 and solaris there. I don’t know where to
get jk2 for linux anywhere and I have been looking.

Thanks in advance,

Brennon Obst



-Original Message-
From: Frankl Martina [mailto:[EMAIL PROTECTED] 
Sent: Friday, 16 January 2004 10:23 PM
To: Brennon Obst; 'Tomcat Users List'
Subject: AW: virtual hosting and tomcat wt Apache 2 and JK2 


Maybe your jk2 version still has this bug:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18472

hth
Martina


 -Ursprüngliche Nachricht-
 Von: Brennon Obst [mailto:[EMAIL PROTECTED]
 Gesendet: Freitag, 16. Januar 2004 05:43
 An: 'Tomcat Users List'
 Betreff: virtual hosting and tomcat wt Apache 2 and JK2
 
 
  
 Dear usergroup,
 
 When I activated the following in my Apache 2 config within
 the VirtualHost
 block for x.xxx.net: Location /
 
 JkUriSet worker ajp13:localhost:8009
 
 /Location
 
 ALL of my virtual hosts stopped working and started
 complaining of not being
 able to find /index.jsp
 
 It is like the Location / wasn't confined to the
 VirtualHost but rather
 became a server wide configuration.
 
 When I activated the apache--tomcat connection it took over
 ALL of the
 virtual hosts and was routing them through Tomcat, does 
 anyone know how to
 stop that?
  
 Is it my Apache 2 and JK2 connectors, where do I turn now? Thank you 
 in advance,
 
 Brennon Obst
 
 
 Java Security Programmer
 iEnergy Main Branch
 39 Melbourne St. / Brisbane 
 p. (617) 3846- 
 [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]



RE: Running multiple JVMs

2004-01-19 Thread Brennon Obst
How do you run multiple instances of tomcat with an apache
front/balancer? 

/Brennon

-Original Message-
From: Donie Kelly [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 20 January 2004 3:03 AM
To: 'Tomcat Users List'
Subject: RE: Running multiple JVMs


Or you can have one IP and get multiple tomcat's listening on different
ports and get your balancer to route to each of them. Multiple IP's are
not necessary if you need to use a balancer. 

Donie

-Original Message-
From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]
Sent: 19 January 2004 16:52
To: Tomcat Users List
Subject: RE: Running multiple JVMs

An additional remark:

Only one process can listen on port 80 at a time on the !!! same IP !!!.

You can define several IP's on one machine and thus can have several
services that listen on port 80. (One for each IP)

 -Original Message-
 From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
 Sent: Monday, January 19, 2004 5:42 PM
 To: Tomcat Users List
 Subject: RE: Running multiple JVMs

 Only one process can listen on port 80 at a time.


-
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]



RE: Redhat9 / mod_jk2 builds from source

2004-01-19 Thread Brennon Obst
Hi when using Redhat is mod_jk2 the latest bin and closest to the actual
JK2. I have a bug that is listed as fixed in jk2 but I don't know how to
get jk2 for redhat. I have looked here but only win32 and solaris
http://apache.mirrors.ilisys.com.au/jakarta/tomcat-connectors/jk2/binari
es


I am running tomcat-4.1.27-8.ent.1 with mod_jk2-4.1.27-8.ent.1 rpms
sourced from http://people.redhat.com/gbenson/naoko

Also running httpd-2.0.46-25.ent (Apache 2).

-Original Message-
From: George Shafik [mailto:[EMAIL PROTECTED] 
Sent: Sunday, 18 January 2004 12:40 PM
To: Tomcat Users List
Subject: Re: Redhat9 / mod_jk2 builds from source


Hi Mark, Oscar

Sorry I now realise you want the ssl feature in apache 2 build.

try the following

./configure --with-ssl=shared --enable-modules=all --enable-shared=max

remember I'm running things on Linux 9 by default OpenSSH running as a
daemon

But I'm having problems with getting httpd.conf ssl.conf files right -
can you e-mail any that work

Cheers,
George

- Original Message - 
From: George Shafik [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Thursday, January 15, 2004 8:39 PM
Subject: Re: Redhat9 / mod_jk2 builds from source


 Opps typo

  ./configure --enable-module=all --enabled-shared=max

 should be

  ./configure --enable-module=all --enable-shared=max


 - Original Message -
 From: George Shafik [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Sent: Thursday, January 15, 2004 8:35 PM
 Subject: Re: Redhat9 / mod_jk2 builds from source


  Hi Mark, Oscar, and anyone interested:
 
  I found the following always works:
 
 
  make
  make install
 
  I think I've could the eXtrem functionality - I call is Xapache 
  while drinking lots of Pepsi  :-)
 
  enjoy,
  George
 
  - Original Message -
  From: Mark Eggers [EMAIL PROTECTED]
  To: Tomcat Users List [EMAIL PROTECTED]
  Sent: Thursday, January 15, 2004 1:05 PM
  Subject: Re: Redhat9 / mod_jk2 builds from source
 
 
   Oscar - set $JAVA_HOME if you get configure errors
   with include-os-type=include/linux.  The configure
   script will tack on the $JAVA_HOME value.
  
   If you don't, then give the full path to the header files.
  
   I think I get all the extra info because I build
   Apache with:
  
   ./configure --with-ssl=shared --with-modules=all 
   --with-shared=most
  
   Basically, I have the kitchen sink version of Apache.
  
   Hope that clears things up.
  
   /mde/
   just my two cents . . . .
  
   __
   Do you Yahoo!?
   Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes 
   http://hotjobs.sweepstakes.yahoo.com/signingbonus
  
   --
   ---
   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]



RE: virtual hosting and tomcat wt Apache 2 and JK2

2004-01-19 Thread Brennon Obst
Thank you Charlie, I missed this email in my last response. I will
follow that tutorial and report back.

Cheers mate!

/Brennon

-Original Message-
From: Cox, Charlie [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 20 January 2004 3:30 AM
To: 'Tomcat Users List'
Subject: RE: virtual hosting and tomcat wt Apache 2 and JK2 


You probably have this bug(different than the other one posted)
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22045

The only solution I have found is to map each virtualhost/dir in your
workers2.properties that should go to tomcat. While a PITA(at least for
me), it does work.

See this link for an example.
http://www.aexx.net/arcane/article.jsp?article=tomcat4-apache2-jk2

These are the only 2 things that I have found about this issue. Charlie 

 -Original Message-
 From: Brennon Obst [mailto:[EMAIL PROTECTED]
 Sent: Monday, January 19, 2004 1:02 AM
 To: 'Tomcat Users List'
 Subject: RE: virtual hosting and tomcat wt Apache 2 and JK2
 
 Thank you Martina,
 
 I will check my version and report back =/
 
 /Brennon
 
 -Original Message-
 From: Frankl Martina [mailto:[EMAIL PROTECTED]
 Sent: Friday, 16 January 2004 10:23 PM
 To: Brennon Obst; 'Tomcat Users List'
 Subject: AW: virtual hosting and tomcat wt Apache 2 and JK2
 
 
 Maybe your jk2 version still has this bug: 
 http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18472
 
 hth
 Martina
 
 
  -Ursprüngliche Nachricht-
  Von: Brennon Obst [mailto:[EMAIL PROTECTED]
  Gesendet: Freitag, 16. Januar 2004 05:43
  An: 'Tomcat Users List'
  Betreff: virtual hosting and tomcat wt Apache 2 and JK2
 
 
 
  Dear usergroup,
 
  When I activated the following in my Apache 2 config within the 
  VirtualHost block for x.xxx.net: Location /
 
  JkUriSet worker ajp13:localhost:8009
 
  /Location
 
  ALL of my virtual hosts stopped working and started complaining of 
  not being able to find /index.jsp
 
  It is like the Location / wasn't confined to the VirtualHost but

  rather became a server wide configuration.
 
  When I activated the apache--tomcat connection it took over ALL of

  the virtual hosts and was routing them through Tomcat, does
  anyone know how to
  stop that?
 
  Is it my Apache 2 and JK2 connectors, where do I turn now? Thank you

  in advance,
 
  Brennon Obst
 
 
  Java Security Programmer
  iEnergy Main Branch
  39 Melbourne St. / Brisbane
  p. (617) 3846-
  [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]



jk2 for Apache 2.0.43 (and only 2.0.43)

2004-01-19 Thread Brennon Obst
Why does it say the following.
 
start

This is the 2.0.2 release of JK2


You'll find here binaries for Apache 1.3, 2.0 and IIS. 

Build under Windows XP, Apache 1.3.27 and 2.0.43, IIS 5.1 


*   isapi_redirector2.dll is for Microsoft's IIS web server 

*   mod_jk2-1.3.27.dll is for Apache 1.3.x 

*   mod_jk2-1.3.27-jni.dll is for Apache 1.3.x with JNI supported 

*   mod_jk2-2.0.43.dll is for Apache 2.0.43 (and only 2.0.43) 

end
 
 
 
When the main releases for Apache are 2.0.47 and .48 ?
 
Is this random or does that mean it wont work for my version of Apache ?

Brennon Obst 


Java Security Programmer
iEnergy Main Branch 
39 Melbourne St. / Brisbane 
p. (617) 3846- 
[EMAIL PROTECTED] 

 


RE: virtual hosting and tomcat wt Apache 2 and JK2

2004-01-18 Thread Brennon Obst
Thank you Martina,

I will check my version and report back =/

/Brennon

-Original Message-
From: Frankl Martina [mailto:[EMAIL PROTECTED] 
Sent: Friday, 16 January 2004 10:23 PM
To: Brennon Obst; 'Tomcat Users List'
Subject: AW: virtual hosting and tomcat wt Apache 2 and JK2 


Maybe your jk2 version still has this bug:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18472

hth
Martina


 -Ursprüngliche Nachricht-
 Von: Brennon Obst [mailto:[EMAIL PROTECTED]
 Gesendet: Freitag, 16. Januar 2004 05:43
 An: 'Tomcat Users List'
 Betreff: virtual hosting and tomcat wt Apache 2 and JK2
 
 
  
 Dear usergroup,
 
 When I activated the following in my Apache 2 config within
 the VirtualHost
 block for x.xxx.net: Location /
 
 JkUriSet worker ajp13:localhost:8009
 
 /Location
 
 ALL of my virtual hosts stopped working and started
 complaining of not being
 able to find /index.jsp
 
 It is like the Location / wasn't confined to the
 VirtualHost but rather
 became a server wide configuration.
 
 When I activated the apache--tomcat connection it took over
 ALL of the
 virtual hosts and was routing them through Tomcat, does 
 anyone know how to
 stop that?
  
 Is it my Apache 2 and JK2 connectors, where do I turn now? Thank you 
 in advance,
 
 Brennon Obst
 
 
 Java Security Programmer
 iEnergy Main Branch
 39 Melbourne St. / Brisbane 
 p. (617) 3846- 
 [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]



jk2

2004-01-15 Thread Brennon Obst
Just noticed this morning that when I activated the apache--tomcat
connection it took over ALL of the virtual hosts and was routing them

through Tomcat. ARGH!

Know anything about Apache 2 and JK2 connectors?

 

Brennon Obst 


Java Security Programmer
iEnergy Main Branch 
39 Melbourne St. / Brisbane 
p. (617) 3846- 
[EMAIL PROTECTED] 

 


virtual hosting and tomcat wt Apache 2 and JK2

2004-01-15 Thread Brennon Obst
 
Dear usergroup, 

When I activated the following in my Apache 2 config within the VirtualHost
block for x.xxx.net: Location /

JkUriSet worker ajp13:localhost:8009

/Location

ALL of my virtual hosts stopped working and started complaining of not being
able to find /index.jsp

It is like the Location / wasn't confined to the VirtualHost but rather
became a server wide configuration.

When I activated the apache--tomcat connection it took over ALL of the
virtual hosts and was routing them through Tomcat, does anyone know how to
stop that?
 
Is it my Apache 2 and JK2 connectors, where do I turn now?
Thank you in advance,

Brennon Obst 


Java Security Programmer
iEnergy Main Branch 
39 Melbourne St. / Brisbane 
p. (617) 3846- 
[EMAIL PROTECTED] 

 


[ERROR] Digester

2004-01-13 Thread Brennon Obst
 
I am seeing this in the tomcat.out log whenever I save the web.xml file

[ERROR] Digester - -Parse Error at line 143 column 11: The content of
element type web-app must match
(icon?,display-name?,description?,distributable?,context-param*,filter*,fil
ter-mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-mappin
g*,welcome-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*,se
curity-constraint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb-loca
l-ref*).

org.xml.sax.SAXParseException: The content of element type web-app must
match
(icon?,display-name?,description?,distributable?,context-param*,filter*,fil
ter-mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-mappin
g*,welcome-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*,se
curity-constraint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb-loca
l-ref*).

Line 143 column 11 is the end of the web.xml file.

I've tried saving the file in unix format but that didn't help.

I've removed sections of the web.xml file until all I am left with is the
welcome-file-list clause and it seemed happy after that. Adding in the
next section servlet and the above error returned.

Any ideas?

Could it be the JVM I am running? I have installed the IBMJava2-JRE-1.4.1-8
if that makes a difference.

 

Brennon Obst 


Java Security Programmer
iEnergy Main Branch 
39 Melbourne St. / Brisbane 
p. (617) 3846- 
[EMAIL PROTECTED] 

 


RE: [ERROR] Digester

2004-01-13 Thread Brennon Obst
Thank you very much for your help, I will look into that ordering.

Regards,

Brennon Obst



-Original Message-
From: Justin Ruthenbeck [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, 14 January 2004 12:16 PM
To: Tomcat Users List
Subject: Re: [ERROR] Digester



http://jakarta.apache.org/tomcat/faq/misc.html#baddtd

If you can't figure it out by following the instructions here, post your

web.xml and someone will point out the error (most commonly an element 
ordering error).

justin


At 06:02 PM 1/13/2004, you wrote:

I am seeing this in the tomcat.out log whenever I save the web.xml file

[ERROR] Digester - -Parse Error at line 143 column 11: The content of 
element type web-app must match 
(icon?,display-name?,description?,distributable?,context-param*,filter
*,fil
ter-mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-m
appin
g*,welcome-file-list?,error-page*,taglib*,resource-env-ref*,resource-re
f*,se
curity-constraint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb
-loca
l-ref*).

org.xml.sax.SAXParseException: The content of element type web-app 
must match 
(icon?,display-name?,description?,distributable?,context-param*,filter
*,fil
ter-mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-m
appin
g*,welcome-file-list?,error-page*,taglib*,resource-env-ref*,resource-re
f*,se
curity-constraint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb
-loca
l-ref*).

Line 143 column 11 is the end of the web.xml file.

I've tried saving the file in unix format but that didn't help.

I've removed sections of the web.xml file until all I am left with is 
the welcome-file-list clause and it seemed happy after that. Adding 
in the next section servlet and the above error returned.

Any ideas?

Could it be the JVM I am running? I have installed the
IBMJava2-JRE-1.4.1-8
if that makes a difference.



Brennon Obst


Java Security Programmer
iEnergy Main Branch
39 Melbourne St. / Brisbane
p. (617) 3846-
[EMAIL PROTECTED]




__
Justin Ruthenbeck
Software Engineer, NextEngine Inc.
justinr - AT - nextengine DOT com
Confidential. See: http://www.nextengine.com/confidentiality.php
__


-
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]