Replace a token with in a text file with ANT

2005-08-10 Thread Asif Chowdhary
Hi,

I have a .bat file in which I want to replace the @ symbol with  a quotation 
mark .

How do you do that in ANT.

Thanks


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



RE: TC Apache integration

2005-07-28 Thread Asif Chowdhary
Hope this helps


http://www.johnturner.com/howto/winxp-howto.html

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/confighowto.html

-Original Message-
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 28, 2005 2:46 AM
To: Tomcat Users List
Subject: RE: TC  Apache integration 


 From: Paul Wallace [mailto:[EMAIL PROTECTED] 
 Subject: RE: TC  Apache integration 
 
 So, can someone point me towards Tomcat (5.5) and 
 Apache integration documentation

If you go to the main 5.5 doc page
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/index.html
you'll see a link to JK 1.2 Documentation in the left column under
Reference.  You probably also want to look at Apache Tomcat
Configuration.  And, of course, Google and the archives for this mailing
list are your friends.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

-
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: RE: mod_jk2.so load problem with apache2 (winxp)

2004-06-04 Thread Asif Chowdhary
Hi Jeffrey,

Where did u download the mod-jk2 binary for apache 2.0.49.

Thanks

-Original Message-
From: Jeffrey A. Worman [mailto:[EMAIL PROTECTED]
Sent: Friday, June 04, 2004 9:03 AM
To: Tomcat Users List
Subject: Re: RE: mod_jk2.so load problem with apache2 (winxp)


I forgot to mention that I did not recompile the mod_jk stuff. I'm 
still trying to use the binary that I downloaded for apache 2.0.49. 
Will this be a problem?

jw

- Original Message -
From: Jeffrey A. Worman [EMAIL PROTECTED]
Date: Friday, June 4, 2004 5:59 am
Subject: Re: RE: mod_jk2.so load problem with apache2 (winxp)

 Maybe I do need to recompile with the DSO option enabled. I did 
 not 
 have to enable the DSO option when I compiled the release version. 
 All 
 I had to do is drop the mod_jk2.so into the modules directory and 
 add a 
 few lines to httpd.conf file and it worked. Are there flags 
 enabled in 
 the compile scripts for the release version that aren't in a 
 developers 
 cvs checkout?
 
 jw
 
 - Original Message -
 From: Kommuru, Bhaskar [EMAIL PROTECTED]
 Date: Friday, June 4, 2004 0:04 am
 Subject: RE: mod_jk2.so load problem with apache2 (winxp)
 
  Did you compile apache2.0.49 with DSO enabled option? Hope you 
  have done it.
  Check spellings as well.
  Compile apache2.0.49 and Mod_jk2 with same compile
  
  
  -Original Message-
  From: Jeffrey A. Worman [mailto:[EMAIL PROTECTED]
  Sent: Friday, June 04, 2004 2:05 AM
  To: [EMAIL PROTECTED]
  Cc: [EMAIL PROTECTED]
  Subject: mod_jk2.so load problem with apache2 (winxp)
  
  
  This is my first post, so please excuse my ignorance about this 
  type of 
  mailing list.
  
  My issue:
  
  I successfully compiled the apache release version 2.0.49 and 
  openssl 
  release version 0.9.7d. 
  
  I then downloaded and installed the binaries for tomcat 4.1.30 
 and 
  mod_jk2 2.0.4 for apache2.0.49. Everything worked great!!
  
  The problem came in when I repeated the same process above, but 
  used 
  the current apache source from cvs on June 3, 2004. The mod_jk2 
  stuff 
  stopped working.
  
  When I start apache, it fails and prints out the error:
  
  ---
  apache: Syntax error on line 185 of 
  C:/InstalledApps/devtoolnf: Cannot load 
  C:/InstalledApps/devtoolk2.so into server: The specified module 
  could not be found.
  ---
  
  But the mod_jk2.so is there. Any ideas why I keep getting this 
 error?? 
  Thanks
  Jeff
  
  
  -
 --
  --
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  
  
 

 __
  
  For information about the Standard Bank group visit our web site 
  
 
www.standardbank.co.za
 

 __
 
  Disclaimer and confidentiality note 
  Everything in this e-mail and any attachments relating to the 
  official business of Standard Bank Group Limited  is proprietary 
  to the group. 
  It is confidential, legally privileged and protected by law. 
  Standard Bank does not own and endorse any other content. Views 
  and opinions are those of the sender unless clearly stated as 
  being that of the group. 
  The person addressed in the e-mail is the sole authorised 
  recipient. Please notify the sender immediately if it has 
  unintentionally reached you and do not read, 
  disclose or use the content in any way.
  Standard Bank can not assure that the integrity of this 
  communication has been maintained nor that it is free of errors, 
  virus, interception or interference.
  
 

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



Tomcat service.bat %SERVICE_NAME% variable length

2004-05-25 Thread Asif Chowdhary
Hi,

Can you tell me what is the maximum string length that
%SERVICE_NAME% variable can accept.

Does it allow spaces in the name?


I am creating a install nt service bat file and whenever I have the 
service name exceed beyond a certain length it gives me a error.

Thanks
AC




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



RE: RE : 2 Tomcat instances on the same server ?

2004-05-13 Thread Asif Chowdhary
This should ease your pain:
Change JAVA Home base on your JRE


::Starting Tomcat as an NT Service
echo off
set PATH=%PATH%;%CATALINA_HOME%
set SERVICENAME=mysecondtomcat
set CATALINA_BASE=C:\Program Files\mydirectory
set JAVACLASSPATH=%CLASSPATH%
set JAVACLASSPATH=%JAVACLASSPATH%;%CATALINA_HOME%\bin\bootstrap.jar
set JAVACLASSPATH=%JAVACLASSPATH%;%CATALINA_HOME%\common\lib\servlet.jar
set JAVACLASSPATH=%JAVACLASSPATH%;%JAVA_HOME%\lib\rt.jar

%CATALINA_HOME%\bin\tomcat.exe -install %SERVICENAME% 
%JAVA_HOME%\jre\bin\classic\jvm.dll -Djava.class.path=%JAVACLASSPATH% 
-Dcatalina.home=%CATALINA_HOME% -Dcatalina.base=%CATALINA_BASE% -Xrs -Xmx200m 
-Xms100m -start org.apache.catalina.startup.Bootstrap -params start -stop 
org.apache.catalina.startup.Bootstrap -params stop -out 
%CATALINA_BASE%\logs\stdout.log -err %CATALINA_BASE%\logs\stderr.log 

-Original Message-
From: Hertenstein Alain [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 13, 2004 11:01 AM
To: Tomcat Users List
Subject: RE : 2 Tomcat instances on the same server ?


Thanks Matt and Ralph,
Is there a documentation somewhere as to how to setup 2 (or more) Tomcat instances ? 
I've seen there were Workers on Tomcat 3.x, but cannot find more documentation for 
Tomcat 4.x (the Running.txt file doesn't explain much, I've created that CATALINA_BASE 
environment variable but cannot see any difference).
Also my 1st tomcat instance is already running as an NT service, and I'd like to keep 
it that way.

Another question : would these Tomcat instances be completely independent one from the 
other(s) ? I mean, could I completely restart one instance without affecting the 
others ?

Thanks again,
Alain

-Message d'origine-
De : Ralph Einfeldt [mailto:[EMAIL PROTECTED] 
Envoyé : jeudi, 13. mai 2004 14:55
À : Tomcat Users List
Objet : RE: 2 Tomcat instances on the same server ?


I would go for 2.

As I'm not using IIS, I'm not shure if there are specific 
hurdles in this environment. Tomcat stand alone and tomcat behind apache are quite 
easy to setup with multiple 
instances.

If all tomcate have the same versions, you just have to 
install tomcat once and setup two instances.

 -Original Message-
 From: Hertenstein Alain [mailto:[EMAIL PROTECTED]
 Sent: Thursday, May 13, 2004 2:47 PM
 To: [EMAIL PROTECTED]
 Subject: 2 Tomcat instances on the same server ?
 
 
 2- install a 2nd Tomcat instance on the server and have that 2nd web 
 apps running on that 2nd instance,
 3- have a 2nd server installed with its own configuration.
  

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



**
 This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
Eri Bancaire SA
**


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



Availability of mod-jk2 for Apache 2.0.49 on RHLinux

2004-05-13 Thread Asif Chowdhary
Hi,

Can anyone tell me when will the mod-jk2 connector will be available for Apache 2.0.49.

Thanks
Asif 

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



Mod-jk2 binaries availability for Apache 2.0.49

2004-05-06 Thread Asif Chowdhary
Hi,

Does anyone know when mod-jk2
binaries will be available for Apache 2.0.49 for Red Hat Linux 9.0 Kernel 2.4.20-8.

Thanks
Asif 


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



Mod-jk2 availability for Apache 2.0.49

2004-05-06 Thread Asif Chowdhary

Hi,

Does anyone know when mod-jk2
binaries will be available for Apache 2.0.49 for Red Hat Linux 9.0 Kernel 2.4.20-8.

Thanks
Asif 





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



Verification of Sun JRE1.4.2

2004-04-22 Thread Asif Chowdhary

Is there a specific file which I can check to verify if the client has 
JRE 1.4.2 installed on its machine?

Thanks



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



RE: [newbie] tomcat5+apache2 virtual hosting

2004-04-22 Thread Asif Chowdhary
You need to use mod-jk2 in order to enable apache and tomcat integration.
You can then create what ever virtual host you want in apache and server your
jsp's.

-Original Message-
From: Mark Page [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 22, 2004 1:24 PM
To: Tomcat Users List
Subject: Re: [newbie] tomcat5+apache2 virtual hosting


I've sorted it - thanks anyway :)

On Thu, 2004-04-22 at 17:59, Mark Page wrote:
 Hi all,
 
 I'm going nuts trying to do something pretty straight forward, namely
 getting TOMCAT to serve .jsp files via apache virtual hosts and still
 keep the default tomcat stuff at port 8080.
 
 I've read every howto I can find and can only get one or the other to
 work. My confusion seems to revolve around the context element in
 server.xml.
 
 What I want is to be able to do is point at http://localhost:8080 and
 see the tomcat welcome page. I then want to point to
 http://test.int/test.jsp and see the .jsp output.
 
 The test.jsp file resides in /var/www/html/beta but I keep getting
 tomcat 404 error, so I guess it's having problems locating the .jsp and
 therefore suspect my contexts are incorrect.
 
 I would be grateful is someone could have a look at my server.xml and
 hhtpd.conf snippets and enlighten me.
 
 Regards.
 
 
 
 this is how my server.xml is:
 
   Host name=localhost debug=0 appBase=webapps
unpackWARs=true autoDeploy=true
xmlValidation=false xmlNamespaceAware=false
 
Logger className=org.apache.catalina.logger.FileLogger
 directory=logs  prefix=localhost_log. suffix=.txt
 timestamp=true/
 
   Context path= docBase=ROOT debug=0/ !--welcome page--
   /Host
 
   host name=test.int debug=0 appBase=/var/www/html/beta
   unpackWARs=true autoDeploy=true
 
   Context path= docBase=/var/www/html/beta debug=9/ !-- where
 test.jsp resides --
 
   Logger className=org.apache.catalina.logger.FileLogger
 directory=logs  prefix=test_int_log. suffix=.txt
 timestamp=true /
   /host
 
 and the relevant bit of httpd.conf:
 
 VirtualHost *
 ServerName test.int
 ServerAdmin [EMAIL PROTECTED]
 DocumentRoot /var/www/html/beta
Location /*.jsp
 JkUriSet worker ajp13:localhost:8009
/Location
 /VirtualHost
 
 
 
 I have also tried using the workers2.properties file instead of the
 JkUriSet by entering
 
 [uri:test.int/*.jsp]
 worker=ajp13:localhost:8009
 
 but it dosen't seem to make much difference
 
 
 
 
 -
 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]



Tomcat on linux : IBM JDK 1.3.1 -

2004-03-10 Thread Asif Chowdhary
Hi,

I am installing tomcat on RH9. 
Tomcat version is 4.1.27 and the file is jakarta-tomcat-4.1.27.tar.gz

The installation works with JDK 1.4

but tomcat does not start when I try to use JDK 1.3.1
The browser returns the message Unable to connect to localhost with
http://localhost:8080/.


Any suggestions.


Asif 

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



RE: Tomcat on linux : IBM JDK 1.3.1 -

2004-03-10 Thread Asif Chowdhary
Nothing gets written to the log file.
Catalina.out is created and the process seems to start
when I issue the grep command.



-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 10, 2004 11:51 AM
To: Tomcat Users List
Subject: RE: Tomcat on linux : IBM JDK 1.3.1 - 



Hi,

but tomcat does not start when I try to use JDK 1.3.1
The browser returns the message Unable to connect to localhost with
http://localhost:8080/.

What do the logs say?

Yoav Shapira



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]



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



RE: Tomcat on linux : IBM JDK 1.3.1 -

2004-03-10 Thread Asif Chowdhary
Thank you.

setting the LD_ASSUME_KERNEL=2.2.5 in the user profile works.


-Original Message-
From: Lerias, Hugo [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 10, 2004 11:57 AM
To: Lerias, Hugo; Tomcat Users List
Subject: RE: Tomcat on linux : IBM JDK 1.3.1 - 


Take a look at this post:
http://www.linux-sxs.org/programming/ibm-java.html#APPENDIX_A

Cheers,
Hugo

-Original Message-
From: Lerias, Hugo 
Sent: Mittwoch, 10. März 2004 17:55
To: 'Tomcat Users List'
Subject: RE: Tomcat on linux : IBM JDK 1.3.1 - 


Are you trying to use IBM jdk 1.3 on red hat 9?

Hugo

-Original Message-
From: Asif Chowdhary [mailto:[EMAIL PROTECTED] 
Sent: Mittwoch, 10. März 2004 17:42
To: [EMAIL PROTECTED]
Subject: Tomcat on linux : IBM JDK 1.3.1 - 


Hi,

I am installing tomcat on RH9. 
Tomcat version is 4.1.27 and the file is jakarta-tomcat-4.1.27.tar.gz

The installation works with JDK 1.4

but tomcat does not start when I try to use JDK 1.3.1
The browser returns the message Unable to connect to localhost with 
http://localhost:8080/.


Any suggestions.


Asif 

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



Tomcat Version and Mod_jk2

2004-03-02 Thread Asif Chowdhary
Does Tomcat version 4.0.3 support mod_jk2?


Thanks
Asif 


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



RE: Proxy through apache not working correctly

2004-02-27 Thread Asif Chowdhary
Hi,

I put my application context
and it works fine.

ProxyPass /context http://mysite.net:8080
ProxyPassReverse /context http://mysite.net:8080

-Original Message-
From: Michael Forster [mailto:[EMAIL PROTECTED]
Sent: Friday, February 27, 2004 11:14 AM
To: [EMAIL PROTECTED]
Subject: Proxy through apache not working correctly




-Original Message-
I am having problems with Apache and Tomcat,
I am running Apache with many websites, one needs to use Tomcat.
I had the setting as such using Virtual name servers

VirtualHost www.mysite.net:80
ServerAdmin [EMAIL PROTECTED]
DocumentRoot /usr/local/httpd/htdocs/sites/mysite/
ServerName www.mysite.net
ProxyPass / http://mysite.net:8080
ProxyPassReverse / http://mysite.net:8080
/VirtualHost

This works to an extent

if you connect to www.mysite.net:8080 you get the tomcat home page in full
all graphics displaying.

if you connect to www.mysite.net you get the tomcat home page but no
graphics

If you try to ask for the graphic directly you get an error 400 Unrecognised
Response from Server...

if you change the ProxyPass to /webapps it works fully and serves the images
has anyone any idea why?

Mike.

-BEGIN GEEK CODE BLOCK-
Version: 3.12
GCM d- s:+ a C UL P+ L+++ E--- W+++ N+++ o+ K w
O-- M- V- PS+ PE+ Y+ PGP t+++ 5+++ X- R+++ tv++ h++ DI D++
G e+ h++ r+++ y+++
--END GEEK CODE BLOCK--
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.593 / Virus Database: 376 - Release Date: 20/02/2004

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.593 / Virus Database: 376 - Release Date: 20/02/2004


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



[INFO] ChannelSocket - -connection timeout reached

2004-02-02 Thread Asif Chowdhary
Hi

I am running the RH linux with apache and mod_jk2. On the window machine I have tomcat.
When I run the examples I see this message in the windows console where tomcat is 
running.

[INFO] ChannelSocket - -connection timeout reached

Do I need to increase the time in server.xml or jk2.properties

Thanks




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



RE: Apache + Tomcat

2003-12-18 Thread Asif Chowdhary
To compile mod_jk2 on linux you require:

Apache Portable Runtime (APR)   apr-0.9.4.tar.gzhttp://apr.apache.org/
Apache Portable Runtime Utility (APR)   apr-util-0.9.4.tar.gz   http://apr.apache.org/


During the build process if you see the error shown in Table 2?5:
Table 2?5:make Error
[so] stdErr[so] /usr/bin/ld: cannot fine -lapr  [so] collect2: ld returned 1 exit 
status

Create a symbolic link libapr-0.so in /usr/lib from /usr/local/apr/lib.
 ln -s /usr/local/apr/lib/libapr-0.so /usr/lib/libapr-0.so 




-Original Message-
From: Walter do Valle [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 18, 2003 1:41 PM
To: [EMAIL PROTECTED]
Subject: Apache + Tomcat


Is there anyone in the list using sucessfully Apache 2.0.40 or greater and Tomcat 
5.0.16 with mod_jk2 v 2.0.2 connector in a linux box?
Is so, then what's the secret to compile a functional version of mod_jk2?

I downloaded the sources and compiled them. 
When I try to use the generated files jkjni.so and mod_jk2.so two problems ocurr: 

- When tomcat starts: 
INFO: APR not loaded, disabling jni components: java.io.IOException: 
java.lang.UnsatisfiedLinkError: /usr/lib/httpd/modules/jkjni.so: 
/usr/lib/httpd/modules/jkjni.so: undefined symbol: apr_md5_final

-When apache starts:
[Thu Dec 18 14:27:42 2003] [notice] Digest: generating secret for digest 
authentication ...
[Thu Dec 18 14:27:42 2003] [notice] Digest: done
[Thu Dec 18 14:27:43 2003] [error] jk2_init() Can't find child 19850 in scoreboard
[Thu Dec 18 14:27:43 2003] [error] mod_jk child init 1 -2
[Thu Dec 18 14:27:43 2003] [error] jk2_init() Can't find child 19852 in scoreboard
[Thu Dec 18 14:27:43 2003] [error] mod_jk child init 1 -2
[Thu Dec 18 14:27:43 2003] [error] jk2_init() Can't find child 19853 in scoreboard
[Thu Dec 18 14:27:43 2003] [error] mod_jk child init 1 -2
[Thu Dec 18 14:27:43 2003] [error] jk2_init() Can't find child 19854 in scoreboard
[Thu Dec 18 14:27:43 2003] [error] mod_jk child init 1 -2
[Thu Dec 18 14:27:43 2003] [error] jk2_init() Can't find child 19856 in scoreboard
[Thu Dec 18 14:27:43 2003] [error] mod_jk child init 1 -2
[Thu Dec 18 14:27:43 2003] [error] jk2_init() Can't find child 19857 in scoreboard
[Thu Dec 18 14:27:43 2003] [error] mod_jk child init 1 -2
[Thu Dec 18 14:27:43 2003] [notice] Apache/2.0.40 (Red Hat Linux) configured -- 
resuming normal operations
[Thu Dec 18 14:27:43 2003] [error] jk2_init() Can't find child 19855 in scoreboard
[Thu Dec 18 14:27:43 2003] [error] mod_jk child init 1 -2

Any help is welcome.

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



RE: mod_jk Tomcat and Apache httpd two different machines?

2003-12-17 Thread Asif Chowdhary

Yes its possible.

I installed the mod_jk2-2.0.43.dll in apache/modules. Here is what I put 
into the diffrent config files:

httpd.conf: just one single row like this:
LoadModule jk2_module modules/mod_jk2-2.0.43.dll

Then I added a worker2.properties in Apache/conf/ like this:

[logger]
level=DEBUG
file=c:/programme/apache group/apache2/logs/jk2.log
[config]
file=c:/programme/apache group/apache2/conf/workers2.properties
debug=0
debugEnv=0
# Shared memory handling. Needs to be set.
[shm]
file=c:/programme/apache group/apache2/logs/shm.file
size=1048576
debug=0
#disabled=0

[channel.socket:localhost:8010]
port=8010
host=127.0.0.1
debug=0

# Example socket channel, explicitly set port and host.
# [channel.socket:localhost:8009]
# port=8009
# host=127.0.0.1
# Example UNIX domain socket
# [channel.un:/usr/local/tomcat/work/jk2.socket]
# tomcatId=localhost:8009
# debug=0
# define the worker
[ajp13:localhost:8010]
#channel=channel.un:/usr/local/pds/tomcat/work/jk2.socket
# To use the TCP/IP socket instead, just comment out the above
# line, and uncomment the one below
channel=channel.socket:localhost:8010

# define the worker
# Announce a status worker
# Uri mapping


[uri:/examples/*]
worker=ajp13:localhost:8010

[uri:/javaroom/*]
worker=ajp13:localhost:8010


[status:status]

[status:]
info=Status worker,displays run time informations

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

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

# end of workers2.properties

Finally, I configured this Connector in the Tomcat server.xml:
---
 Connector className=org.apache.coyote.tomcat4.CoyoteConnector
port=8010
minProcessors=5 maxProcessors=250
acceptCount=10 debug=0
protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler /


I hope this helps you get it running.



-Original Message-
From: James R. Marcus [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 17, 2003 3:17 PM
To: [EMAIL PROTECTED]
Subject: mod_jk Tomcat and Apache httpd two different machines?


I want to run tomcat on our build machine and apache with the Jk
connector on another is this possible?
Are there any good tutorial docs available to do this?

Thanks,
James

-
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: defining multiple tomcat server on one workers2.properties file

2003-12-17 Thread Asif Chowdhary
In the workers2.properties file specify the second instance of your tomcat
and the port number.

For example

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

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

In the first tomcat server.xml this will be jvmRoute=localhost:8009
in the engine directive.

In the server.xml in the specify JVM attribute to jvmRoute=localhost:8010 in the 
Engine directive.
in the connector directive and change the port number to 8010


-Original Message-
From: Peter Choe [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 17, 2003 3:30 PM
To: Tomcat Users List
Subject: defining multiple tomcat server on one workers2.properties file


i have an apache webserver that will handle request made to tomcat and 
hand off the request using jk2.  i have the workers2.properties to 
handle this with one tomcat server.  however, i have another tomcat 
server that i need the request to be sent to.  i have done this with jk 
by defining a separate worker and specifying the other server.

how is this done with jk2?  does anyone have an example i can use?

Peter Choe


-
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: Need help with connectors

2003-12-12 Thread Asif Chowdhary
This should solve your problem

httpd.conf: just one single row like this:
LoadModule jk2_module modules/mod_jk2-2.0.43.dll

Then I added a worker2.properties in Apache/conf/ like this:

[logger]
level=DEBUG
file=c:/programme/apache group/apache2/logs/jk2.log

[config]
file=c:/programme/apache group/apache2/conf/workers2.properties
debug=0
debugEnv=0

# Shared memory handling. Needs to be set.
[shm]
file=c:/programme/apache group/apache2/logs/shm.file
size=1048576
debug=0
#disabled=0


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

[status:]
info=Status worker,displays run time informations

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

[uri:/examples/*]
info=tomcat examples
context=/examples
worker=ajp13:localhost:8009
debug=0
# end of workers2.properties

Finally, I configured this Connector in the Tomcat server.xml:
---
 Connector className=org.apache.coyote.tomcat4.CoyoteConnector
port=8010
minProcessors=5 maxProcessors=250
acceptCount=10 debug=0
protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler /


-Original Message-
From: Yansheng Lin [mailto:[EMAIL PROTECTED]
Sent: Friday, December 12, 2003 5:33 PM
To: 'Tomcat Users List'
Subject: RE: Need help with connectors


I am assuming you downloaded apache, tomcat, and mod_jk_2.X.X.dll

Try:
1) rename mod_jk_2.X.X.dll to mod_jk2.dll, and place it under 
$APACHE_HOME/modules/
2) In apache httpd.conf
# Using mod_jk2.dll to redirect dynamic calls to Tomcat
LoadModule jk2_module modules/mod_jk2.dll

Does it work?

-Original Message-
From: Dola Woolfe [mailto:[EMAIL PROTECTED] 
Sent: Friday, December 12, 2003 11:28 AM
To: Tomcat Users List
Subject: Need help with connectors


Hi,


I'm beginning to think that I need to be a system
administrator to connect Apache 2.0 with Tomcat 5.0!
I've already spent 2 full days trying to get it to
work. I remember that for Tomcat 3.4 it took me about
5 minutes.

(I can't even tell whether there is too much
documentation or not enough. Under
/tomcat-4.1-doc/jk2/jk2/configtcex.html there are many
links and I don't know whether I need some of them or
all of them. I don't know whether 4.1 instruction
apply to 5.0. It is not clear how to modify Unix
instruction for Windows intructions. Ordinarily I'm a
Unix guy (I helped write the Gimp), but this is a
Windows project. How am I supposed to interpret the
sentence There is no need to use the jkjni logic to
use normal socket, so that just for Fun. What's just
for Fun? jkjni or normal socket? Also, on the menu,
the headers are instiguishable from live links so the
whole structure of the document is unclear.)

Anyway, I think you guys produce amazing products,
I've always used them and will stick by them in the
future. I'm just a little frustrated and a little bit
jealous of my time so I'm hoping that someone will
provide instructions for Apache2 + Tomcat5 + Win32.

Thanks.

Dola

__
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/

-
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: Need help with connectors

2003-12-12 Thread Asif Chowdhary
YES the default port is 8009. It should be 8009 in server.xml file as well

-Original Message-
From: Yansheng Lin [mailto:[EMAIL PROTECTED]
Sent: Friday, December 12, 2003 6:02 PM
To: 'Tomcat Users List'
Subject: RE: Need help with connectors


Just one quick question(I am just playing with this right now).  Don't pay me
too much attention if the answer is RTFM.

Shouldn't the port for jk2 connector be 8009 instead of 8010?  


-Original Message-
From: Asif Chowdhary [mailto:[EMAIL PROTECTED] 
Sent: Friday, December 12, 2003 3:56 PM
To: Tomcat Users List
Subject: RE: Need help with connectors


This should solve your problem

httpd.conf: just one single row like this:
LoadModule jk2_module modules/mod_jk2-2.0.43.dll

Then I added a worker2.properties in Apache/conf/ like this:

[logger]
level=DEBUG
file=c:/programme/apache group/apache2/logs/jk2.log

[config]
file=c:/programme/apache group/apache2/conf/workers2.properties
debug=0
debugEnv=0

# Shared memory handling. Needs to be set.
[shm]
file=c:/programme/apache group/apache2/logs/shm.file
size=1048576
debug=0
#disabled=0


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

[status:]
info=Status worker,displays run time informations

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

[uri:/examples/*]
info=tomcat examples
context=/examples
worker=ajp13:localhost:8009
debug=0
# end of workers2.properties

Finally, I configured this Connector in the Tomcat server.xml:
---
 Connector className=org.apache.coyote.tomcat4.CoyoteConnector
port=8010
minProcessors=5 maxProcessors=250
acceptCount=10 debug=0
protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler /


-Original Message-
From: Yansheng Lin [mailto:[EMAIL PROTECTED]
Sent: Friday, December 12, 2003 5:33 PM
To: 'Tomcat Users List'
Subject: RE: Need help with connectors


I am assuming you downloaded apache, tomcat, and mod_jk_2.X.X.dll

Try:
1) rename mod_jk_2.X.X.dll to mod_jk2.dll, and place it under 
$APACHE_HOME/modules/
2) In apache httpd.conf
# Using mod_jk2.dll to redirect dynamic calls to Tomcat
LoadModule jk2_module modules/mod_jk2.dll

Does it work?

-Original Message-
From: Dola Woolfe [mailto:[EMAIL PROTECTED] 
Sent: Friday, December 12, 2003 11:28 AM
To: Tomcat Users List
Subject: Need help with connectors


Hi,


I'm beginning to think that I need to be a system
administrator to connect Apache 2.0 with Tomcat 5.0!
I've already spent 2 full days trying to get it to
work. I remember that for Tomcat 3.4 it took me about
5 minutes.

(I can't even tell whether there is too much
documentation or not enough. Under
/tomcat-4.1-doc/jk2/jk2/configtcex.html there are many
links and I don't know whether I need some of them or
all of them. I don't know whether 4.1 instruction
apply to 5.0. It is not clear how to modify Unix
instruction for Windows intructions. Ordinarily I'm a
Unix guy (I helped write the Gimp), but this is a
Windows project. How am I supposed to interpret the
sentence There is no need to use the jkjni logic to
use normal socket, so that just for Fun. What's just
for Fun? jkjni or normal socket? Also, on the menu,
the headers are instiguishable from live links so the
whole structure of the document is unclear.)

Anyway, I think you guys produce amazing products,
I've always used them and will stick by them in the
future. I'm just a little frustrated and a little bit
jealous of my time so I'm hoping that someone will
provide instructions for Apache2 + Tomcat5 + Win32.

Thanks.

Dola

__
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/

-
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 and oracle

2003-12-10 Thread Asif Chowdhary
Deploy these two files in share/common/lib directory

oracle-8.1.7nls_charset12.jar
oracle-8.1.7classes12.jar

-Original Message-
From: John Sidney-Woollett [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 10, 2003 12:25 PM
To: Jonathan Drnek
Cc: [EMAIL PROTECTED]
Subject: Re: Tomcat 5 and oracle


Try using the thin driver - it's jar file is classes12.jar

Place it in [TOMCAT_HOME]/common/lib

John Sidney-Woollett

Jonathan Drnek said:
 I am having a problem setting up a data source in tomcat.  I seem to
 remember having this problem last time I played with it several moths
 ago but I don't remember what I did to fix it.

 I am running Tomcat 5.0.16 with JVM version 1.4.2_03-b02 on windows
 2000.

 I am trying to connect to an Oracle 8.1.7.1.0 database.

 I have placed the ojdbc14.jar file in common\lib

 The error I am getting is

 javax.servlet.ServletException: Cannot create JDBC driver of class ''
 for connect URL 'null', cause: No suitable driver

 I am using oracle.jdbc.driver.OracleDriver because that's what the docs
 said, but I seem to recall that was not correct.  I just can't find
 anything that tells me what other driver I should be using.


 My server.xml file has

 .
 .
 .
 Resource name=jdbc/ordt type=javax.sql.DataSource/
 .
 .
 .
 /ResourceParams
   ResourceParams name=jdbc/ordt
   parameter
 namevalidationQuery/name
 valueselect * from dual/value
   /parameter
   parameter
 nameurl/name
 valuejdbc:oracle:thin:@holl302h:1521:ORDT/value
   /parameter
   parameter
 namepassword/name
 valuepassword/value
   /parameter
   parameter
 namemaxActive/name
 value4/value
   /parameter
   parameter
 namemaxWait/name
 value5000/value
   /parameter
   parameter
 namedriverClassName/name
 valueoracle.jdbc.driver.OracleDriver/value
   /parameter
   parameter
 nameusername/name
 valueusername/value
   /parameter
   parameter
 namemaxIdle/name
 value2/value
   /parameter
 /ResourceParams
 .
 .
 .

 web.xml looks like

 ?xml version=1.0 encoding=ISO-8859-1?

 !DOCTYPE web-app
 PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN
 http://java.sun.com/dtd/web-app_2_3.dtd;

 web-app
   display-nameMetrology Lab/display-name
   description
  First Source Metrology Lab
   /description

  resource-ref
  descriptionOracle Datasource example/description
  res-ref-namejdbc/ordt/res-ref-name
  res-typejavax.sql.DataSource/res-type
  res-authContainer/res-auth
 /resource-ref

 /web-app

 my code looks like

 Context initContext = new InitialContext();
 Context envContext
 (Context)initContext.lookup(java:/comp/env);
 DataSource ds = (DataSource)envContext.lookup(jdbc/ordt);
 Connection conn = ds.getConnection();

 Thanks for any help,

 Jon Drnek




-
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: Two Tomcats and One Apache Web Server

2003-12-09 Thread Asif Chowdhary
Hi,

I have done that with Apache on Linux and multiple instances of tomcat on same NT 
machine.

It works. I think as  long as tomcat is started in its own JVM separately from the 
first one you should not have any problem.

-Original Message-
From: Galbayar [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 09, 2003 6:38 AM
To: Tomcat Users List; Walter do Valle
Subject: RE: Two Tomcats and One Apache Web Server


try google
Apache tomcat load balancing

-Original Message-
From: Walter do Valle [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 09, 2003 8:14 PM
To: [EMAIL PROTECTED]
Subject: Two Tomcats and One Apache Web Server


Hello all

Is it possible to install two Tomcats in the same linux server, put some web
applications in one tomcat, put some web applications in other tomcat and
both tomcats answer to the same Apache Web Server?
Anyone has made this?
Is there any tips and tricks about this matter?
What is the best way to do this (if possible)?

Thansks for any help


-
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: Two Tomcats and One Apache Web Server

2003-12-09 Thread Asif Chowdhary
Hi Greg,

Are u using Apache with SSL?
If yes, should all client requests show up in ssl access or request log. 
Should a windows application also put logs info in the same log files or do I need to 
configure something else.

Thanks


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 09, 2003 11:11 AM
To: [EMAIL PROTECTED]
Subject: RE: Two Tomcats and One Apache Web Server


We do this extensively  lots of tomcats (20 instances?) talking to lots
of apache's (20 instances?).

We use apache 1.3.x, 4.1.29 and mod_jk2

The config is a little complex, but we have scripted this so it is quite
easy.

No real pitfalls, just need to understand mod_jk2 well.

Greg

-
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: Apache 2.0.48 and Tomcat 4.1.29 and JK2

2003-12-05 Thread Asif Chowdhary
As far as I know. Tomcat has to be started first and then the apache web server. Also 
in server.xml you have to define coyote connector
listening on port 8009 or some other port. 8009 is the default.

-Original Message-
From: Tom Holmes Jr. [mailto:[EMAIL PROTECTED]
Sent: Friday, December 05, 2003 10:13 AM
To: [EMAIL PROTECTED]
Subject: Apache 2.0.48 and Tomcat 4.1.29 and JK2


Many months ago, I installed Apache 2.0.46, Tomcat 4.1.18, and JK2.   I got this all 
working fantastically.  I had it configured so that when I started Apache, it started 
Tomcat also.   I don't know how I did it, but I'd like to see if anyone knows the 
details I have forgotten.

On another machine, I am using the following projects listed above.  I installed 
Apache 4.0.28 on my Wiin2K system and it works great, so http://localhost on this 
machine works.  I also installed 4.1.29 by only unzipping it and moving to a new 
location on my system.  I put the mod_jk2 in the Apache2 modules directory and updated 
the httpd.conf file. 

I updated/created a workers2.properties file and updated the jk2.properties file.   I 
haven't made any changes to server.xml under Tomcat.   I don't plan on using 
Tomcat-Web-Server on 8080, I'd prefer to use Apache2 on port 80.

Even though http://localhost works for static HTML, I'd like to get 
http://localhost/examples to work with Tomcat.

Depending on the workers2.properties file, I get different results. Sometimes it says: 
channelSocket.open() connection failed to localhost 8009.   This probably means Tomcat 
is not running which is why I want Apache startup to startup Tomcat.

Thanks.

Tom



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



RE: Your configuration Files

2003-12-04 Thread Asif Chowdhary
did you see the jkstatus page
is the jk2.shm file created when you start apache.

-Original Message-
From: Asif Chowdhary 
Sent: Thursday, December 04, 2003 10:07 AM
To: [EMAIL PROTECTED]
Subject: RE: Your configuration Files


Try this
[shm]
info=Scoreboard. Required for reconfiguration and status with multi process servers
file=/var/log/httpd/jk2.shm
size=1

-Original Message-
From: Ingmars Rubenis [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 04, 2003 7:41 AM
To: Asif Chowdhary
Subject: Re: Your configuration Files
Importance: High


Thank You, but I have
the same errors  in error.log (apache dir)
[Thu Dec 04 14:40:08 2003] [error] jk2_init() Can't find child 3944 in scoreboard
[Thu Dec 04 14:40:08 2003] [error] mod_jk child init 1 -2
[Thu Dec 04 14:40:08 2003] [error] jk2_init() Can't find child 3945 in scoreboard
[Thu Dec 04 14:40:08 2003] [error] mod_jk child init 1 -2
[Thu Dec 04 14:40:08 2003] [error] jk2_init() Can't find child 3946 in scoreboard
[Thu Dec 04 14:40:08 2003] [error] mod_jk child init 1 -2
[Thu Dec 04 14:40:08 2003] [error] jk2_init() Can't find child 3947 in scoreboard
[Thu Dec 04 14:40:08 2003] [error] mod_jk child init 1 -2
[Thu Dec 04 14:40:08 2003] [error] jk2_init() Can't find child 3948 in scoreboard
[Thu Dec 04 14:40:08 2003] [error] mod_jk child init 1 -2
[Thu Dec 04 14:40:08 2003] [error] jk2_init() Can't find child 3949 in scoreboard
[Thu Dec 04 14:40:08 2003] [error] mod_jk child init 1 -2
[Thu Dec 04 14:40:08 2003] [error] jk2_init() Can't find child 3950 in scoreboard
[Thu Dec 04 14:40:08 2003] [error] mod_jk child init 1 -2
[Thu Dec 04 14:40:08 2003] [error] jk2_init() Can't find child 3951 in scoreboard
[Thu Dec 04 14:40:08 2003] [error] mod_jk child init 1 -2
[Thu Dec 04 14:40:08 2003] [notice] Apache/2.0.40 (Red Hat Linux) configured -- 
resuming normal operations


Asif Hi,

Asif I just felt like doing a good deed.

Asif Here are the modified files.

Asif  jk2.properties  workers2.properties 


Asif Once you have the mod_jk2 on your machine working.
Asif Type: http://localhost/jkstatus. This will display the page
Asif and will mean that mod_jk2 is working.

Asif Next. Ensure Tomcat is working by
Asif Type: http://localhost:8080/examples
Asif Try the servlets and Jsp there.

Asif Next: Type
Asif http://localhost:80/examples
Asif If you can access the Tomcat servlets and JSP page from here
Asif it means that your connections are working fine.

Asif Also, I have added the info in workers2.properties file that you
Asif should add to the server.xml file of your tomcat.

Asif The jvmRoute=localhost:8010 This is for load balancing.
Asif Also the connector should be in your server.xml file.

Asif Asif





Best wishes
Ingmars Rubenis
LU
University of Latvia
Developer
IT Department
(371) 9227133


-
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: Your configuration Files

2003-12-04 Thread Asif Chowdhary
Try this
[shm]
info=Scoreboard. Required for reconfiguration and status with multi process servers
file=/var/log/httpd/jk2.shm
size=1

-Original Message-
From: Ingmars Rubenis [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 04, 2003 7:41 AM
To: Asif Chowdhary
Subject: Re: Your configuration Files
Importance: High


Thank You, but I have
the same errors  in error.log (apache dir)
[Thu Dec 04 14:40:08 2003] [error] jk2_init() Can't find child 3944 in scoreboard
[Thu Dec 04 14:40:08 2003] [error] mod_jk child init 1 -2
[Thu Dec 04 14:40:08 2003] [error] jk2_init() Can't find child 3945 in scoreboard
[Thu Dec 04 14:40:08 2003] [error] mod_jk child init 1 -2
[Thu Dec 04 14:40:08 2003] [error] jk2_init() Can't find child 3946 in scoreboard
[Thu Dec 04 14:40:08 2003] [error] mod_jk child init 1 -2
[Thu Dec 04 14:40:08 2003] [error] jk2_init() Can't find child 3947 in scoreboard
[Thu Dec 04 14:40:08 2003] [error] mod_jk child init 1 -2
[Thu Dec 04 14:40:08 2003] [error] jk2_init() Can't find child 3948 in scoreboard
[Thu Dec 04 14:40:08 2003] [error] mod_jk child init 1 -2
[Thu Dec 04 14:40:08 2003] [error] jk2_init() Can't find child 3949 in scoreboard
[Thu Dec 04 14:40:08 2003] [error] mod_jk child init 1 -2
[Thu Dec 04 14:40:08 2003] [error] jk2_init() Can't find child 3950 in scoreboard
[Thu Dec 04 14:40:08 2003] [error] mod_jk child init 1 -2
[Thu Dec 04 14:40:08 2003] [error] jk2_init() Can't find child 3951 in scoreboard
[Thu Dec 04 14:40:08 2003] [error] mod_jk child init 1 -2
[Thu Dec 04 14:40:08 2003] [notice] Apache/2.0.40 (Red Hat Linux) configured -- 
resuming normal operations


Asif Hi,

Asif I just felt like doing a good deed.

Asif Here are the modified files.

Asif  jk2.properties  workers2.properties 


Asif Once you have the mod_jk2 on your machine working.
Asif Type: http://localhost/jkstatus. This will display the page
Asif and will mean that mod_jk2 is working.

Asif Next. Ensure Tomcat is working by
Asif Type: http://localhost:8080/examples
Asif Try the servlets and Jsp there.

Asif Next: Type
Asif http://localhost:80/examples
Asif If you can access the Tomcat servlets and JSP page from here
Asif it means that your connections are working fine.

Asif Also, I have added the info in workers2.properties file that you
Asif should add to the server.xml file of your tomcat.

Asif The jvmRoute=localhost:8010 This is for load balancing.
Asif Also the connector should be in your server.xml file.

Asif Asif





Best wishes
Ingmars Rubenis
LU
University of Latvia
Developer
IT Department
(371) 9227133


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



Monitoring Apache Traffic

2003-12-04 Thread Asif Chowdhary
Hi,

Is there any way to determine if the contents sent from the client to the server is 
encrypted or not? I am not using a browser as a client. I am using a windows 
application.
If I can see the contents then I will know if SSL is working. 
Any tools that will sniff the line to display the contents.

Thanks
Asif




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



RE: Re[2]: Your configuration Files

2003-12-04 Thread Asif Chowdhary
:8019
[Thu Dec 04 19:16:29 2003] [error] msgAjp.receive(): Bad signature 00
[Thu Dec 04 19:16:29 2003] [error] channelSocket.receive(): Bad header
[Thu Dec 04 19:16:29 2003] [error] workerEnv.processCallbacks() Error reading reply
[Thu Dec 04 19:16:29 2003] [error] ajp13.service() ajpGetReply recoverable error 21000
[Thu Dec 04 19:16:29 2003] [error] channelSocket.open() connect failed localhost:8019 
111 Connection refused 
[Thu Dec 04 19:16:29 2003] [error] ajp13.connect() failed ajp13:localhost:8019
[Thu Dec 04 19:16:29 2003] [error] ajp13.service() failed to connect endpoint 
errno=111 Connection refused
[Thu Dec 04 19:16:29 2003] [error] ajp13.service() Error  forwarding 
ajp13:localhost:8019 1 1
[Thu Dec 04 19:16:29 2003] [error] lb.service() worker failed 21000 for 
ajp13:localhost:8019
[Thu Dec 04 19:16:29 2003] [error] msgAjp.receive(): Bad signature 00
[Thu Dec 04 19:16:29 2003] [error] channelSocket.receive(): Bad header
[Thu Dec 04 19:16:29 2003] [error] workerEnv.processCallbacks() Error reading reply
[Thu Dec 04 19:16:29 2003] [error] ajp13.service() ajpGetReply recoverable error 21000
[Thu Dec 04 19:16:29 2003] [error] channelSocket.open() connect failed localhost:8019 
111 Connection refused 
[Thu Dec 04 19:16:29 2003] [error] ajp13.connect() failed ajp13:localhost:8019
[Thu Dec 04 19:16:29 2003] [error] ajp13.service() failed to connect endpoint 
errno=111 Connection refused
[Thu Dec 04 19:16:29 2003] [error] ajp13.service() Error  forwarding 
ajp13:localhost:8019 1 1
[Thu Dec 04 19:16:29 2003] [error] lb.service() worker failed 21000 for 
ajp13:localhost:8019
[Thu Dec 04 19:16:29 2003] [error] msgAjp.receive(): Bad signature 00
[Thu Dec 04 19:16:29 2003] [error] channelSocket.receive(): Bad header
[Thu Dec 04 19:16:29 2003] [error] workerEnv.processCallbacks() Error reading reply
[Thu Dec 04 19:16:29 2003] [error] ajp13.service() ajpGetReply recoverable error 21000
[Thu Dec 04 19:16:29 2003] [error] channelSocket.open() connect failed localhost:8019 
111 Connection refused 
[Thu Dec 04 19:16:29 2003] [error] ajp13.connect() failed ajp13:localhost:8019
[Thu Dec 04 19:16:29 2003] [error] ajp13.service() failed to connect endpoint 
errno=111 Connection refused
[Thu Dec 04 19:16:29 2003] [error] ajp13.service() Error  forwarding 
ajp13:localhost:8019 1 1
[Thu Dec 04 19:16:29 2003] [error] lb.service() worker failed 21000 for 
ajp13:localhost:8019
[Thu Dec 04 19:16:29 2003] [error] msgAjp.receive(): Bad signature 00
[Thu Dec 04 19:16:29 2003] [error] channelSocket.receive(): Bad header
[Thu Dec 04 19:16:29 2003] [error] workerEnv.processCallbacks() Error reading reply
[Thu Dec 04 19:16:29 2003] [error] ajp13.service() ajpGetReply recoverable error 21000
[Thu Dec 04 19:16:29 2003] [error] channelSocket.open() connect failed localhost:8019 
111 Connection refused 
[Thu Dec 04 19:16:29 2003] [error] ajp13.connect() failed ajp13:localhost:8019
[Thu Dec 04 19:16:29 2003] [error] ajp13.service() failed to connect endpoint 
errno=111 Connection refused
[Thu Dec 04 19:16:29 2003] [error] ajp13.service() Error  forwarding 
ajp13:localhost:8019 1 1
[Thu Dec 04 19:16:29 2003] [error] lb.service() worker failed 21000 for 
ajp13:localhost:8019
[Thu Dec 04 19:16:29 2003] [error] msgAjp.receive(): Bad signature 00

Asif -Original Message-
Asif From: Asif Chowdhary 
Asif Sent: Thursday, December 04, 2003 10:07 AM
Asif To: [EMAIL PROTECTED]
Asif Subject: RE: Your configuration Files


Asif Try this
Asif [shm]
Asif info=Scoreboard. Required for reconfiguration and status with multi process 
servers
Asif file=/var/log/httpd/jk2.shm
Asif size=1

Asif -Original Message-
Asif From: Ingmars Rubenis [mailto:[EMAIL PROTECTED]
Asif Sent: Thursday, December 04, 2003 7:41 AM
Asif To: Asif Chowdhary
Asif Subject: Re: Your configuration Files
Asif Importance: High


Asif Thank You, but I have
Asif the same errors  in error.log (apache dir)
Asif [Thu Dec 04 14:40:08 2003] [error] jk2_init() Can't find child 3944 in scoreboard
Asif [Thu Dec 04 14:40:08 2003] [error] mod_jk child init 1 -2
Asif [Thu Dec 04 14:40:08 2003] [error] jk2_init() Can't find child 3945 in scoreboard
Asif [Thu Dec 04 14:40:08 2003] [error] mod_jk child init 1 -2
Asif [Thu Dec 04 14:40:08 2003] [error] jk2_init() Can't find child 3946 in scoreboard
Asif [Thu Dec 04 14:40:08 2003] [error] mod_jk child init 1 -2
Asif [Thu Dec 04 14:40:08 2003] [error] jk2_init() Can't find child 3947 in scoreboard
Asif [Thu Dec 04 14:40:08 2003] [error] mod_jk child init 1 -2
Asif [Thu Dec 04 14:40:08 2003] [error] jk2_init() Can't find child 3948 in scoreboard
Asif [Thu Dec 04 14:40:08 2003] [error] mod_jk child init 1 -2
Asif [Thu Dec 04 14:40:08 2003] [error] jk2_init() Can't find child 3949 in scoreboard
Asif [Thu Dec 04 14:40:08 2003] [error] mod_jk child init 1 -2
Asif [Thu Dec 04 14:40:08 2003] [error] jk2_init() Can't find child 3950 in scoreboard
Asif [Thu Dec 04 14:40:08 2003] [error] mod_jk child init 1 -2
Asif [Thu Dec 04 14:40:08 2003] [error

RE: Re[4]: Your configuration Files

2003-12-04 Thread Asif Chowdhary
:localhost:8019
Asif [Thu Dec 04 19:16:29 2003] [error] msgAjp.receive(): Bad signature 00
Asif [Thu Dec 04 19:16:29 2003] [error]
Asif channelSocket.receive(): Bad header
Asif [Thu Dec 04 19:16:29 2003] [error]
Asif workerEnv.processCallbacks() Error reading reply
Asif [Thu Dec 04 19:16:29 2003] [error] ajp13.service()
Asif ajpGetReply recoverable error 21000
Asif [Thu Dec 04 19:16:29 2003] [error] channelSocket.open()
Asif connect failed localhost:8019 111 Connection refused 
Asif [Thu Dec 04 19:16:29 2003] [error] ajp13.connect() failed ajp13:localhost:8019
Asif [Thu Dec 04 19:16:29 2003] [error] ajp13.service() failed
Asif to connect endpoint errno=111 Connection refused
Asif [Thu Dec 04 19:16:29 2003] [error] ajp13.service() Error 
Asif forwarding ajp13:localhost:8019 1 1
Asif [Thu Dec 04 19:16:29 2003] [error] lb.service() worker
Asif failed 21000 for ajp13:localhost:8019
Asif [Thu Dec 04 19:16:29 2003] [error] msgAjp.receive(): Bad signature 00
Asif [Thu Dec 04 19:16:29 2003] [error]
Asif channelSocket.receive(): Bad header
Asif [Thu Dec 04 19:16:29 2003] [error]
Asif workerEnv.processCallbacks() Error reading reply
Asif [Thu Dec 04 19:16:29 2003] [error] ajp13.service()
Asif ajpGetReply recoverable error 21000
Asif [Thu Dec 04 19:16:29 2003] [error] channelSocket.open()
Asif connect failed localhost:8019 111 Connection refused 
Asif [Thu Dec 04 19:16:29 2003] [error] ajp13.connect() failed ajp13:localhost:8019
Asif [Thu Dec 04 19:16:29 2003] [error] ajp13.service() failed
Asif to connect endpoint errno=111 Connection refused
Asif [Thu Dec 04 19:16:29 2003] [error] ajp13.service() Error 
Asif forwarding ajp13:localhost:8019 1 1
Asif [Thu Dec 04 19:16:29 2003] [error] lb.service() worker
Asif failed 21000 for ajp13:localhost:8019
Asif [Thu Dec 04 19:16:29 2003] [error] msgAjp.receive(): Bad signature 00
Asif [Thu Dec 04 19:16:29 2003] [error]
Asif channelSocket.receive(): Bad header
Asif [Thu Dec 04 19:16:29 2003] [error]
Asif workerEnv.processCallbacks() Error reading reply
Asif [Thu Dec 04 19:16:29 2003] [error] ajp13.service()
Asif ajpGetReply recoverable error 21000
Asif [Thu Dec 04 19:16:29 2003] [error] channelSocket.open()
Asif connect failed localhost:8019 111 Connection refused 
Asif [Thu Dec 04 19:16:29 2003] [error] ajp13.connect() failed ajp13:localhost:8019
Asif [Thu Dec 04 19:16:29 2003] [error] ajp13.service() failed
Asif to connect endpoint errno=111 Connection refused
Asif [Thu Dec 04 19:16:29 2003] [error] ajp13.service() Error 
Asif forwarding ajp13:localhost:8019 1 1
Asif [Thu Dec 04 19:16:29 2003] [error] lb.service() worker
Asif failed 21000 for ajp13:localhost:8019
Asif [Thu Dec 04 19:16:29 2003] [error] msgAjp.receive(): Bad signature 00
Asif [Thu Dec 04 19:16:29 2003] [error]
Asif channelSocket.receive(): Bad header
Asif [Thu Dec 04 19:16:29 2003] [error]
Asif workerEnv.processCallbacks() Error reading reply
Asif [Thu Dec 04 19:16:29 2003] [error] ajp13.service()
Asif ajpGetReply recoverable error 21000
Asif [Thu Dec 04 19:16:29 2003] [error] channelSocket.open()
Asif connect failed localhost:8019 111 Connection refused 
Asif [Thu Dec 04 19:16:29 2003] [error] ajp13.connect() failed ajp13:localhost:8019
Asif [Thu Dec 04 19:16:29 2003] [error] ajp13.service() failed
Asif to connect endpoint errno=111 Connection refused
Asif [Thu Dec 04 19:16:29 2003] [error] ajp13.service() Error 
Asif forwarding ajp13:localhost:8019 1 1
Asif [Thu Dec 04 19:16:29 2003] [error] lb.service() worker
Asif failed 21000 for ajp13:localhost:8019
Asif [Thu Dec 04 19:16:29 2003] [error] msgAjp.receive(): Bad signature 00
Asif [Thu Dec 04 19:16:29 2003] [error]
Asif channelSocket.receive(): Bad header
Asif [Thu Dec 04 19:16:29 2003] [error]
Asif workerEnv.processCallbacks() Error reading reply
Asif [Thu Dec 04 19:16:29 2003] [error] ajp13.service()
Asif ajpGetReply recoverable error 21000
Asif [Thu Dec 04 19:16:29 2003] [error] channelSocket.open()
Asif connect failed localhost:8019 111 Connection refused 
Asif [Thu Dec 04 19:16:29 2003] [error] ajp13.connect() failed ajp13:localhost:8019
Asif [Thu Dec 04 19:16:29 2003] [error] ajp13.service() failed
Asif to connect endpoint errno=111 Connection refused
Asif [Thu Dec 04 19:16:29 2003] [error] ajp13.service() Error 
Asif forwarding ajp13:localhost:8019 1 1
Asif [Thu Dec 04 19:16:29 2003] [error] lb.service() worker
Asif failed 21000 for ajp13:localhost:8019
Asif [Thu Dec 04 19:16:29 2003] [error] msgAjp.receive(): Bad signature 00

Asif -Original Message-
Asif From: Asif Chowdhary 
Asif Sent: Thursday, December 04, 2003 10:07 AM
Asif To: [EMAIL PROTECTED]
Asif Subject: RE: Your configuration Files


Asif Try this
Asif [shm]
Asif info=Scoreboard. Required for reconfiguration and
Asif status with multi process servers
Asif file=/var/log/httpd/jk2.shm
Asif size=1

Asif -Original Message-
Asif From: Ingmars Rubenis [mailto:[EMAIL PROTECTED]
Asif Sent: Thursday, December 04, 2003 7:41 AM
Asif To: Asif Chowdhary
Asif Subject: Re: Your

RE: Please Help: Inconsistent Load Balancing info mod_jk2

2003-12-03 Thread Asif Chowdhary
Have not tested to that extent yet

-Original Message-
From: Marco Manini [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 03, 2003 5:27 AM
To: Tomcat Users List
Subject: Re: Please Help: Inconsistent Load Balancing info mod_jk2


Hi,
i'm using mod_jk2 for load balancing purpose and I have a problem in fail
over scenario.
I described this scenario in the bugs database:
http://issues.apache.org/bugzilla/show_bug.cgi?id=24882

Can you tell me if you have a similar behavior please?
Thanks!

Marco

- Original Message -
From: Asif Chowdhary [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, December 02, 2003 6:52 PM
Subject: RE: Please Help: Inconsistent Load Balancing info mod_jk2


Thank you

-Original Message-
From: David O'Brien [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 02, 2003 12:48 PM
To: Tomcat Users List
Cc: [EMAIL PROTECTED]
Subject: Re: Please Help: Inconsistent Load Balancing info mod_jk2


Higher the number ... More Hits

I have one worker at lb_factor=4 and one at lb_factor=8 and the
distribution if I have
150 sessions active the server with lb_factor=4 has 49 and the server with
lb_factor=8 has 101

This can be seen at @ http://www.nacrraware.net/cluster/

-Dave




At 10:32 AM 12/2/2003, Asif Chowdhary wrote:
The apache documentation say that higher the number
the greater the number of requests which tomcat will receive.

The tomcat definitive Guide from orielly says that the
lower the number the greater the number of requests
a tomcat instance will receive.

What is correct?

Which instance will get more requests?
First or Second


#First instance of tomcat in workers2.properties

lb_factor = 10

#Second instance of tomcat in workers2.properties

lb_factor = 20


Thanks






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


David G. O'Brien
Web Services Coordinator / Systems Administrator

NACCRRA
The Nation's Network of Child Care Resource  Referral
1319 F Street NW, Suite 500
Washington, DC 20004
(202) 393-5501 ext. 113
(202) 393-1109 fax

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



Please Help: Inconsistent Load Balancing info mod_jk2

2003-12-02 Thread Asif Chowdhary
The apache documentation say that higher the number
the greater the number of requests which tomcat will receive.

The tomcat definitive Guide from orielly says that the
lower the number the greater the number of requests 
a tomcat instance will receive.

What is correct?

Which instance will get more requests?
First or Second


#First instance of tomcat in workers2.properties

lb_factor = 10

#Second instance of tomcat in workers2.properties

lb_factor = 20


Thanks






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



RE: Please Help: Inconsistent Load Balancing info mod_jk2

2003-12-02 Thread Asif Chowdhary
Thank you

-Original Message-
From: David O'Brien [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 02, 2003 12:48 PM
To: Tomcat Users List
Cc: [EMAIL PROTECTED]
Subject: Re: Please Help: Inconsistent Load Balancing info mod_jk2


Higher the number ... More Hits

I have one worker at lb_factor=4 and one at lb_factor=8 and the 
distribution if I have
150 sessions active the server with lb_factor=4 has 49 and the server with 
lb_factor=8 has 101

This can be seen at @ http://www.nacrraware.net/cluster/

-Dave




At 10:32 AM 12/2/2003, Asif Chowdhary wrote:
The apache documentation say that higher the number
the greater the number of requests which tomcat will receive.

The tomcat definitive Guide from orielly says that the
lower the number the greater the number of requests
a tomcat instance will receive.

What is correct?

Which instance will get more requests?
First or Second


#First instance of tomcat in workers2.properties

lb_factor = 10

#Second instance of tomcat in workers2.properties

lb_factor = 20


Thanks






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


David G. O'Brien
Web Services Coordinator / Systems Administrator

NACCRRA
The Nation's Network of Child Care Resource  Referral
1319 F Street NW, Suite 500
Washington, DC 20004
(202) 393-5501 ext. 113
(202) 393-1109 fax

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



Load Balancing Factor Tomcat-mod-jk2

2003-12-01 Thread Asif Chowdhary
Which instance will get more requests?
First or Second


#First instance of tomcat in workers2.properties

lb_factor = 10

#Second instance of tomcat in workers2.properties

lb_factor = 20


Thanks


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



Internal Server Error 500

2003-11-28 Thread Asif Chowdhary
Hi,

I have apache running on linux with tomcat on NT.
Servlets work fine but when I try to load a JSP from the examples
It give Internal Server Error 500 Context not configured.

Linux 9.0
Apache 2.0
Tomcat 4.1.27

Any help is appreciated.

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



What is the minimum version of Tomcat that will work with JK2?

2003-11-28 Thread Asif Chowdhary

Hi,


What is the minimum version of Tomcat that will work with JK2?

4.0.3, 4.1.27etc

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



shm.file

2003-11-27 Thread Asif Chowdhary
Hi,

Apache running on linux with mod_jk2
Tomcat on windows. Running

Do I need to create a map to the shm file defined on the Linux server.

What is the purpose of this file and what is the recommended size?

Thanks





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



mod-jk2 on Linux. Tomcat on a NT server

2003-11-26 Thread Asif Chowdhary
Hi,

I have mod-jk2 working on Linux where I can see the JKstatus page.
My tomcat is running on an NT server.

Do I need to configure the jk2.properties file as well.

Thanks
Asif


mailto:[EMAIL PROTECTED]  
www.xeye.com  


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



RE: make error of mod-jk2 in Redhat Linux

2003-11-25 Thread Asif Chowdhary
The libapr.so does not exist on my system. It must not be installed with the RedHat 
linux.

Also in my case Tomcat is running on an NT machine. 

Thanks
Asif

-Original Message-
From: Sean Bruton [mailto:[EMAIL PROTECTED]
Sent: Friday, November 21, 2003 8:54 PM
To: Tomcat Users List
Subject: Re: make error of mod-jk2 in Redhat Linux


go to ${apache2.home}/lib and link libapr-0.so to libapr.so and try
again...

this hint shamelessly lifted from:

http://www.pubbitch.org/jboss/mod_jk2.html

On Fri, 2003-11-21 at 16:01, Asif Chowdhary wrote:
 After running the ./configure --with-apxs2=/usr/sbin/apxs
 I run the make command
 I get this error.
 
 Please Help
 
 /usr/bin/ld: cannot find -lapr-0
 collect2: ld returned 1 exit status
 make[1]: *** [../../../build/jk2/apache2/jkjni.la]
 Error 1
 make[1]: Leaving directory
 `/home/asifc/jakarta-tomcat-connectors-jk2-2.0.2-src/jk/native2/server/apache2'
 make: *** [jk2-build] Error 1
 
 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]



RE: JK2

2003-11-25 Thread Asif Chowdhary
Do you mean running multiple applications within their own virtual hosts.

Check Virtual Hosting.

-Original Message-
From: yuval [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 25, 2003 3:58 PM
To: [EMAIL PROTECTED]
Subject: JK2 


Hi,

I would like the tomcat to work with more than 1 IP address as host how can I 
configure it?


Thank you in advance,

Regards,

Yuval


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



make error of mod-jk2 in Redhat Linux

2003-11-21 Thread Asif Chowdhary
After running the ./configure --with-apxs2=/usr/sbin/apxs
I run the make command
I get this error.

Please Help

/usr/bin/ld: cannot find -lapr-0
collect2: ld returned 1 exit status
make[1]: *** [../../../build/jk2/apache2/jkjni.la]
Error 1
make[1]: Leaving directory
`/home/asifc/jakarta-tomcat-connectors-jk2-2.0.2-src/jk/native2/server/apache2'
make: *** [jk2-build] Error 1

mailto:[EMAIL PROTECTED]  
   


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



RE: mod_jk + apache 2.0.40 + redhat 9.0

2003-11-20 Thread Asif Chowdhary
Hi Peter,

where you able to find rpm for mod-jk2 for redhat 9.0.
I have not been able to find?

Thanks
Asif

-Original Message-
From: Peter Maas [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 20, 2003 11:24 AM
To: Tomcat Users List
Subject: mod_jk + apache 2.0.40 + redhat 9.0


Hi all,

googling for mod_jk solutions yielded far to much tutorials. what is the 
best one??

P


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



Where can I find mod-jk2 for RedHat 9.0?

2003-11-20 Thread Asif Chowdhary



Asif Chowdhary
System Analyst
x.eye incorporated
 
Phone: (905) 624-6608 ext. 280 
mailto:[EMAIL PROTECTED]  
www.xeye.com  


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



RE: mod_jk + apache 2.0.40 + redhat 9.0

2003-11-20 Thread Asif Chowdhary
Thanks for the help

-Original Message-
From: Oscar Carrillo [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 20, 2003 12:14 PM
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: Re: mod_jk + apache 2.0.40 + redhat 9.0


I would suggest using more than one as a reference in case something is 
misunderstood or vague. My tutorial is below:

http://daydream.stanford.edu/tomcat/install_web_services.html

I link to many other sites that are useful, and I believe John Turner's 
site (which I link to) links to an RPM based solution.

Oscar

On Thu, 20 Nov 2003, Peter Maas wrote:

 Hi all,
 
 googling for mod_jk solutions yielded far to much tutorials. what is the 
 best one??
 
 P
 
 
 -
 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]



Can someone recommend a hardware device to Load Balance Tomcat

2003-11-18 Thread Asif Chowdhary
Hi,

I would like to put an apache server which forwards the requests to LoadBalancer which 
then distributes the load to various instances of Tomcat.
I am looking for a hardware device which will do that?

Any recommendations.



Asif Chowdhary
System Analyst
x.eye incorporated
 
Phone: (905) 624-6608 ext. 280 
mailto:[EMAIL PROTECTED]  
www.xeye.com  


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



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

2003-11-18 Thread Asif Chowdhary
Hi Filip,

Will there IronServer load balance tomcat instances as well.

Is anybody using such a configuration.

Thanks
Again.
Asif

-Original Message-
From: Filip Hanik [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 18, 2003 4:43 PM
To: Tomcat Users List
Subject: Re: Can someone recommend a hardware device to Load Balance
Tomcat


foundry networks, good stuff

Filip

- Original Message -
From: Asif Chowdhary [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, November 18, 2003 1:37 PM
Subject: Can someone recommend a hardware device to Load Balance Tomcat


Hi,

I would like to put an apache server which forwards the requests to
LoadBalancer which then distributes the load to various instances of Tomcat.
I am looking for a hardware device which will do that?

Any recommendations.



Asif Chowdhary
System Analyst
x.eye incorporated

Phone: (905) 624-6608 ext. 280
mailto:[EMAIL PROTECTED]
www.xeye.com


-
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: Can someone recommend a hardware device to Load Balance Tomcat

2003-11-18 Thread Asif Chowdhary
Hi John,

Thank you very much.
Its a great help.

-Original Message-
From: John Moore [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 18, 2003 4:52 PM
To: 'Tomcat Users List'
Subject: RE: Can someone recommend a hardware device to Load Balance
Tomcat



We use Foundry ServerIron to LB apache servers but it could also be used for
Tomcat.   I assume you want a HW based solution so you can get more options
to distribute load than what the mod_jk's provide.   If not, we've used
mod_jk to balance multiple apache servers to multiple tomcat instances for a
long time and am very happy.  The changes to mod_jk to ease taking a server
off-line comes very close to the concept of unbinding a server that you get
with the foundry equipment.   

John Moore

-Original Message-
From: Asif Chowdhary [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 18, 2003 1:37 PM
To: [EMAIL PROTECTED]
Subject: Can someone recommend a hardware device to Load Balance Tomcat


Hi,

I would like to put an apache server which forwards the requests to
LoadBalancer which then distributes the load to various instances of Tomcat.
I am looking for a hardware device which will do that?

Any recommendations.



Asif Chowdhary
System Analyst
x.eye incorporated
 
Phone: (905) 624-6608 ext. 280 
mailto:[EMAIL PROTECTED]  
www.xeye.com  


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



Instead of mod_jk2 can you use a hardware solution for load balancing

2003-11-17 Thread Asif Chowdhary
Hi,

Has anyone on tried using a Cisco Load balancer or any other hardware device for load 
balancing instead of mod_jk2.

Any Pros and Cons.

Thanks



Asif Chowdhary
System Analyst
x.eye incorporated
 
Phone: (905) 624-6608 ext. 280 
mailto:[EMAIL PROTECTED]  
www.xeye.com  


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



RE: Apache+Tomcat+Windows, how?

2003-11-11 Thread Asif Chowdhary
This will solve your problems.
The internal module name is different with modjk2 and 
the commands are different.

Below you have the config file you need to make it work.



I installed the mod_jk2-2.0.43.dll in apache/modules. Here is what I put 
into the diffrent config files:

httpd.conf: just one single row like this:
LoadModule jk2_module modules/mod_jk2-2.0.43.dll

Then I added a worker2.properties in Apache/conf/ like this:

[logger]
level=DEBUG
file=c:/programme/apache group/apache2/logs/jk2.log
[config]
file=c:/programme/apache group/apache2/conf/workers2.properties
debug=0
debugEnv=0
# Shared memory handling. Needs to be set.
[shm]
file=c:/programme/apache group/apache2/logs/shm.file
size=1048576
debug=0
#disabled=0

[channel.socket:localhost:8010]
port=8010
host=127.0.0.1
debug=0

# Example socket channel, explicitly set port and host.
# [channel.socket:localhost:8009]
# port=8009
# host=127.0.0.1
# Example UNIX domain socket
# [channel.un:/usr/local/tomcat/work/jk2.socket]
# tomcatId=localhost:8009
# debug=0
# define the worker
[ajp13:localhost:8010]
#channel=channel.un:/usr/local/pds/tomcat/work/jk2.socket
# To use the TCP/IP socket instead, just comment out the above
# line, and uncomment the one below
channel=channel.socket:localhost:8010

# define the worker
# Announce a status worker
# Uri mapping


[uri:/examples/*]
worker=ajp13:localhost:8010

[uri:/javaroom/*]
worker=ajp13:localhost:8010


[status:status]

[status:]
info=Status worker,displays run time informations

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

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

# end of workers2.properties


-Original Message-
From: Yeray Santana Borges [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 11, 2003 8:21 AM
To: Tomcat Users List
Subject: RE: Apache+Tomcat+Windows, how?


ok, well, i can't use mod_jk2-2.0.43.dll with Apache Web Server 2.0.48.
After edit http.conf i get this sintax error:

Syntax error on line 971 of httpd.conf:
Can't locate API module structure `jk_module' in file
/modules/mod_jk-2.2.0.43.dll:
 No error

no exist the jk_module in mod_jk-2.2.0.43.dll, what is this?, must compile i
and make my owner mod_jk.dll for work with this environment?, has anybody
work with this version of dll with Apache 2.0.48?

note: When i use the mod_jk1.2.5_2.0.47.dll with apache 2.0.48, it return
sintax ok from http.conf test and i can start apache web server


-Mensaje original-
De: Nitschke Michael [mailto:[EMAIL PROTECTED]
Enviado el: martes, 11 de noviembre de 2003 12:32
Para: Tomcat Users List
Asunto: AW: Apache+Tomcat+Windows, how?


Did you tried it?
I think and i read it on this list, that this is a bug/mistake in the
description and it should mean 2.0.43 and above.
But read the archive before you try it.

Mike

-Ursprüngliche Nachricht-
Von: Yeray Santana Borges [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 11. November 2003 13:27
An: Tomcat Users List
Betreff: RE: Apache+Tomcat+Windows, how?

ok, thanks all

My problem is that i have apache web server 2.0.48 and the mod_jk.dll is
only for apache 2.0.43. I´m searching for other version of mod_jk.dll for
2.0.48 but i can´t find it. Other solution is download another version of
apache server that work with that dll.

Thanks for help me, at least i have could know what was my problem.

-Mensaje original-
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Enviado el: martes, 11 de noviembre de 2003 8:55
Para: Tomcat Users List
Asunto: Re: Apache+Tomcat+Windows, how?


The best how to:
www.gregoire.org/howto/Apache2_Jk2_TC4.1.x_JSDK1.4.x.html

or:
http://johnturner.com/howto/winxp-howto.html

Mike

Found in jakarta

Scrive Bill Barker [EMAIL PROTECTED]:

 Go to http://jakarta.apache.org/site/binindex.cgi, scroll down to Tomcat
 WebServer Connectors, click on JK 1.2 Binary Releases, click on
win32,
 and, what do you know ;-).

 Yeray Santana Borges [EMAIL PROTECTED] wrote in message
 news:[EMAIL PROTECTED]
  Hi all,
 
  I´m a spanish newbie using Tomcat. My enviroment: Apache HTTP Server
 2.0.48,
  Jakarta Tomcat 4.1 and w2000 Server.
 
  I can´t connected the Apache Server and Tomcat. I get the binary
  distribution and i can´t find the mod_jk.so that i must include in the
  Apache web with LoadModule directive.
  I get the mod_jk.dll bat after edit http.conf my server don´t start
 because
  can find API in mod_jk.dll. I know that i must use Loadmodule
something
   but i don´t know what.
 
  Anybody help me with this configuration? how can i do it?
 
  Thanks, sorry if my english is not correct, i´m a spanish student from
  Canary Island.




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






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

RE: JVM paramaters with Tomcat Windows service

2003-11-11 Thread Asif Chowdhary
For the tomcat service, select the properties option. At the bottom
of the General Tab Window you will see a place to specify'
start parameters. You can specify the parmaters there.

-Original Message-
From: Marcel Stor [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 11, 2003 2:37 AM
To: [EMAIL PROTECTED]
Subject: JVM paramaters with Tomcat Windows service


Hi,

How do I define JVM parameters when Tomcat is brought up by an existing!
Windows service?

Regards,
Marcel


-
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: JVM paramaters with Tomcat Windows service

2003-11-11 Thread Asif Chowdhary
This set the minimum to 100MB RAM and max to 200
Based on your server and apps requirement you can set these
parameters.

-Xms100m -Xmx200m 

-Original Message-
From: Ian Hunter [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 11, 2003 9:23 AM
To: Tomcat Users List
Subject: Re: JVM paramaters with Tomcat Windows service


Along these lines, what parameters would be recommend to increase the amount
of RAM taken by the JVM?

- Original Message - 
From: Asif Chowdhary [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Tuesday, November 11, 2003 9:15 AM
Subject: RE: JVM paramaters with Tomcat Windows service


For the tomcat service, select the properties option. At the bottom
of the General Tab Window you will see a place to specify'
start parameters. You can specify the parmaters there.

-Original Message-
From: Marcel Stor [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 11, 2003 2:37 AM
To: [EMAIL PROTECTED]
Subject: JVM paramaters with Tomcat Windows service


Hi,

How do I define JVM parameters when Tomcat is brought up by an existing!
Windows service?

Regards,
Marcel


-
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: I need stop one Service

2003-11-11 Thread Asif Chowdhary
The only other solution is that you run three separate instances of 
tomcat which refer to the same code base and each instance is installed as separate 
service.

Need to do alot of manual copying of files and creating batch files etc.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 11, 2003 11:23 AM
To: [EMAIL PROTECTED]
Subject: I need stop one Service


I have Tomcat 5.0.12 on Windows 2000 and i have configured 3 Services 
in server.xml:

Server port=8005 shutdown=SHUTDOWN debug=0
...
...
  Service name=Catalina1
  ...
  /Service
  Service name=Catalina2
  ...
  /Service
  Service name=Catalina3
  ...
  /Service
/Server

Can i stop only one Service (Catalina1 or Catalina2 or Catila3) 
whitout stop the all server? 
How do i stop the Service Catalina1?

Best Regards



-
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: Load balancing a standalone Tomcat 4.1

2003-11-11 Thread Asif Chowdhary
Yes you can cluster and load balance tomcat using mod-jk2 Connector

-Original Message-
From: Dean Searle [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 11, 2003 2:27 PM
To: Tomcat Users List
Subject: Load balancing a standalone Tomcat 4.1


I have searched around to find this and have found nothing, but is it possible to load 
balance a complete standalone Tomcat server or cluster standalone Tomcat's doing HTTP 
and Application requests?

Thank you everyone in advance

Dean






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



RE: Tomcat 4.1.26 on Win2000

2003-11-06 Thread Asif Chowdhary
This will install it as a service.
Create a batch file with the info below:
Will Work

::Starting Tomcat as an NT Service
echo off
set PATH=%PATH%;%CATALINA_HOME%
set SERVICENAME=Brenda-Tomcat Service
set CATALINA_BASE= The base directory for Tomcat
set JAVACLASSPATH=%CLASSPATH%
set JAVACLASSPATH=%JAVACLASSPATH%;%CATALINA_HOME%\bin\bootstrap.jar
set JAVACLASSPATH=%JAVACLASSPATH%;%CATALINA_HOME%\common\lib\servlet.jar
set JAVACLASSPATH=%JAVACLASSPATH%;%JAVA_HOME%\lib\rt.jar

%CATALINA_HOME%\bin\tomcat.exe -install %SERVICENAME% 
%JAVA_HOME%\jre\bin\classic\jvm.dll -Djava.class.path=%JAVACLASSPATH% 
-Dcatalina.home=%CATALINA_HOME% -Dcatalina.base=%CATALINA_BASE% -Xrs -Xmx200m 
-Xms100m -start org.apache.catalina.startup.Bootstrap -params start -stop 
org.apache.catalina.startup.Bootstrap -params stop -out 
%CATALINA_BASE%\logs\stdout.log -err %CATALINA_BASE%\logs\stderr.log 

-Original Message-
From: Hardee, Brenda G NAVSAFECEN [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 06, 2003 4:24 PM
To: Tomcat Users List
Subject: Tomcat 4.1.26 on Win2000


I am running Tomcat ver 4.1.27 on a Win2000 platform.  Is there an easy way to set up 
tomcat as a service without the whole wrapper thing?  I'm new at this and looking for 
the simplest solution.
I'm also not a great expert on the NT side!!

-Original Message-
From: Longley, Andrew [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 06, 2003 14:50
To: Tomcat Users List
Subject: RE: tomcat 3.3 on Win2k server/IIS 5.0


You can set up a scheduled task or install Tomcat as a service.  I'm
pretty sure the Tomcat 3.3 binary on Windows is a service wrapper, so
you can invoke Tomcat.exe and supply the parameters to create a service.
You may need to edit the registry manually to set up classpaths and
other variables your app needs.  Not sure what you mean about Microsoft
and server daemons...I have many Tomcats starting up automatically as
services on many Win2k machines.  Not under IIS, but I think that is
irrelevant, could be wrong.

Andrew Longley
Senior Software Developer
MindFlow Technologies, Inc.



 -Original Message-
 From: Dara Lambert [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, November 06, 2003 10:40 AM
 To: [EMAIL PROTECTED]
 Subject: tomcat 3.3 on Win2k server/IIS 5.0
 
 Hello,
 
 I hope it is ok to email for directions or clarification on 
 how to get Tomcat to start automatically after a Win2k 
 reboot? Is it true that the reason Tomcat doesn't launch is 
 because Microsoft created a server environment that actually 
 doesn't have any simple way of launching server daemons at startup? 
 
 I have been reseaching this issue for 2 days now, and have 
 found similar issues but nothing quite right. I have 
 installed the AutoexT exe that runs a batch file at startup, 
 but yet again I have to login to the server first so that 
 Tomcat will load. 
 
 Any help or guidance would be greatly appreciated, I 
 understand if you do not answer direct emails.
 
 Thank you,
 Dara Lambert
 System Administrator 
 
 __
 Do you Yahoo!?
 Protect your identity with Yahoo! Mail AddressGuard 
 http://antispam.yahoo.com/whatsnewfree
 
 -
 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: RE: RE: Connection Apache - Tomcat

2003-11-03 Thread Asif Chowdhary
Add this to your workers.properties file

[uri:/kDBServlet/*]
info=My kDB Servlet Mapping
context=/kDBServlet
debug=20

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, November 03, 2003 11:19 AM
To: [EMAIL PROTECTED]
Subject: RE: RE: RE: Connection Apache - Tomcat



This is my web.xml entry..

servlet
servlet-namekDBServlet/servlet-name
servlet-class
  org.apache.catalina.servlets.DBServlet
/servlet-class
init-param
param-namedebug/param-name
param-value0/param-value
/init-param
init-param
param-namelistings/param-name
param-valuetrue/param-value
/init-param
load-on-startup1/load-on-startup
/servlet


How can I determine what a servlets are loaded?


-Peter



-Original Message-
From: Lee, PaulNYC [EMAIL PROTECTED]
Sent: Mon, 3 Nov 2003 10:47:03 -0500
To:   'Tomcat Users List' [EMAIL PROTECTED]
Subject:  RE: RE: Connection Apache - Tomcat

Look in your apps web.xml and make sure your servlet is defined and mapped
to your url.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 03, 2003 10:42 AM
To: [EMAIL PROTECTED]
Subject: RE: RE: Connection Apache - Tomcat


This is the workers.properties,

worker.list=ajp13
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13

Where do I check the servlet mappings?

Thanks,
-Peter



-Original Message-
From: Asif Chowdhary [EMAIL PROTECTED]
Sent: Mon, 3 Nov 2003 10:18:01 -0500
To:   Tomcat Users List [EMAIL PROTECTED]
Subject:  RE: Connection Apache - Tomcat

Did you add the URI in workers2.properties.
You have to have this context in this file

Once you add it should solve your problem.
Also check the servlet mappings.



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, November 03, 2003 10:10 AM
To: [EMAIL PROTECTED]
Subject: Connection Apache - Tomcat


I followed this excellet HOWTO;
http://www.johnturner.com/howto/apache2-tomcat4127-jk-rh9-howto.html

Everything is tested correctly.  I can browse localhost port 80 and port
8080, and run the test servlets. (I can also browse www.ip.com port 80 and
port 8080, and run the test servlets.)

I can't get it working with my servlet and I'm not sure what else to try?

This is the error message.
The requested URL /servlet/DBServlet was not found on this server.

This is the web page html,

FORM NAME=sell_login METHOD=GET
ACTION=../servlet/BookDBServlet
ONSUBMIT=return runLogin(this)

This is the path on the server for the servlet...
/opt/tomcat/webapps/bd/WEB-INF/classes

Re-starting tomcat re-creates this file as expected, 
/opt/tomcat/conf/auto/mod_jk.conf

Workers.properties is located in ; /opt/tomcat/conf/jk/Workers.properties


Thanks,
-Peter

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


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



RE: JK2 and workers2.properties

2003-10-29 Thread Asif Chowdhary
Look into virtual hosts
to run multiple websites 

-Original Message-
From: jakarta [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 29, 2003 7:22 AM
To: [EMAIL PROTECTED]
Subject: JK2 and workers2.properties


I have two apps on the some pc with different domains one domain works
fine the other will not run jsp pages..

Here is a sample of my workers2.properties

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

[uri:localhost/*]
worker=ajp13:localhost:8009

[uri:intranet.???.com/*]
worker=ajp13:localhost:8009


Localhost will not run jsp pages (some pages it treats as html some
pages it give you the download popup)

Here is my server xml

 Host name=localhost debug=0 appBase=webapps unpackWARs=false
autoDeploy=true
   Context path= docBase=/var/www/html debug=0
 Logger className=org.apache.catalina.logger.FileLogger
prefix=shaolin_log. suffix=.txt
timestamp=true/
   /Context
 /Host
 Host name=intranet.???.com debug=0 appBase=webapps
unpackWARs=true   autoDeploy=true
   Context path= docBase=/var/www/intranet debug=0
  Logger className=org.apache.catalina.logger.FileLogger
 prefix=intranet. suffix=.txt
timestamp=true/
/Context
  /Host

Thanks,

John


-
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: Help needed with Apache 2.0.47 Tomcat 4.1.27 + mod_jk

2003-10-29 Thread Asif Chowdhary
Check yesterdays email from me or Florian

-Original Message-
From: Joaquin Corchero [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 29, 2003 10:13 AM
To: [EMAIL PROTECTED]
Subject: Help needed with Apache 2.0.47 Tomcat 4.1.27 + mod_jk


Hi!

I'm new in tomcat and I have a problem (very big for me) so I hope someone will be 
able to help me.

My problem is that after setting everything up following the instructions from 
http://www.johnturner.com/howto/apache2-tomcat4127-jk-rh9-howto.html, the apache 
server doesn't execute the jsp files.

I didn't get any error during the installations, so I think everything is working 
properly I don't understand what's the problem.


Thank you

Joaquin



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



RE: Connecting Apache 2.0.47 to Tomcat 4.0.6

2003-10-29 Thread Asif Chowdhary
I think Apache 2.0 works with mod_jk2. and the configuration is very different 
from mod_jk1.2. The directives such as JkWorkersFile JKMount dont work with mod_jk2.

-Original Message-
From: Ahmad, Kashif [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 29, 2003 10:42 AM
To: '[EMAIL PROTECTED]'
Subject: Connecting Apache 2.0.47 to Tomcat 4.0.6


Hi All:

 

I have a question and hope someone can answer it.  I have a client that is
trying to install Apache 2.0.47 with Tomcat 4.0.6.  The application he is
trying to run comes with instructions on how to configure Apache 2.0.43 with
Tomcat 4.0.4 with mod_jk_1.2.  Do the same instructions apply to with the
Apache 2.0.47 with Tomcat 4.0.6?  I've been able to get him so far to the
point where he can access the application on the Tomcat internal HTTP on the
default port 8080.  However, when he connects with Apache on port 80, he
gets a mis-configuration error.

 

Here are the instructions as provided for the application for configuring
Apache 2.0.43 and Tomcat 4.0.4

 

*Start Configuration Instruction*

 

4.2.2 Configure the Apache HTTP Server for Teams

Add the following lines at the end of httpd.conf in /opt/apache/conf:

#

# Configure mod_jk

#

LoadModule jk_module /opt/apache/modules/mod_jk.so

JkWorkersFile /opt/tomcat/conf/jk/workers.properties

JkLogFile /opt/tomcat/logs/mod_jk.log

JkLogLevel error

Alias /teams /opt/tomcat/webapps/teams

JkMount /teams/*.do ajp13

JkMount /teams/*.jsp ajp13

Alias /teamsadmin /opt/tomcat/webapps/teamsadmin

JkMount /teamsadmin/*.do ajp13

JkMount /teamsadmin/*.jsp ajp13

 

4.2.3 Configure Tomcat for TEAMS

 

4.2.3.1 Set Up Environment Variables

* Set JAVA_HOME to the JDK or JRE installation directory.

* Set TOMCAT_HOME to the Tomcat installation directory, e.g., /opt/tomcat.

 

4.2.3.2 Modify the Tomcat Startup Script

1. Add the following configuration information near the top of the file

$TOMCAT_HOME/bin/catalina.sh right after the comment section. Note that

it must be added as one line. Also, when copying from text editors, ensure
that

there are no hard returns in the entry between JAVA_OPTS= and

DORBagentPort settings.

 

# Define JAVA_OPTS

JAVA_OPTS=-Xbootclasspath/p:/opt/teams/jars/vbjapp.jar:/

opt/teams/jars/vbjorb.jar:/opt/teams/jars/swingall.jar -Xss2m -Xmx128m

-Dfile.encoding=ISO8859_1 -Djava.compiler=NONE -DSERVLET=true

-DTEAMS_HOME=/opt/teams -DLOG_FILE=/opt/tomcat/logs/teams.log

-DTEAMS_DEBUG_LEVEL=6 -DORBagentPort=15000

 

2. Also in the $TOMCAT_HOME/bin/catalina.sh file, append the following jar

files to the second CLASSPATH setting:

a. If you are using JRE 1.3, add:

b. If you are using JDK 1.3 (see following example), add:

CLASSPATH=$CLASSPATH:/opt/teams/jars/tools.jar:$ORACLE_HOME/jdbc/lib/

classes12.zip

CLASSPATH=$CLASSPATH:$ORACLE_HOME/jdbc/lib/classes12.zip

 

4.2.3.3 Create AJP Connecter Workers File

Create a file /opt/tomcat/conf/jk/workers.properties with the following

content (note that the value of worker.ajp13.port is an example):

The AJP Connector Port (5044) must also be put into the server.xml file,

located in the$TOMCAT_HOME/conf directory, in the section called Define an

AJP 1.3 Connector.

 

# Setup for Solaris system

#

workers.tomcat_home=/opt/tomcat/

workers.java_home=/opt/jdk1.3.1

ps=/

worker.list=ajp13

# Definition for Ajp13 worker

#

worker.ajp13.port=5044

worker.ajp13.host=localhost

worker.ajp13.type=ajp13

 

 

 

 


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



RE: Connecting Apache 2.0.47 to Tomcat 4.0.6

2003-10-29 Thread Asif Chowdhary
Yes, that's what I have read in the Tomcat Definitive Guide from OReilly.
You can give it a try but I think you will run into problems.
My email from yesterday has instructions on how to make it work with mod_jk2.

Bye

-Original Message-
From: Ahmad, Kashif [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 29, 2003 10:59 AM
To: 'Tomcat Users List'
Subject: RE: Connecting Apache 2.0.47 to Tomcat 4.0.6


Sorry, are you saying the Apache 2.0.47 works with mod_jk2 only?  Because I
know the instructions as provided work for Apache 2.0.43 and mod_jk1.2.
Seems like you are saying that 2.0.x doesn't work with 1.2 at all.  Just
clarifying.  Thanks ;-)

Kashif

-Original Message-
From: Asif Chowdhary [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 29, 2003 10:50 AM
To: Tomcat Users List
Subject: RE: Connecting Apache 2.0.47 to Tomcat 4.0.6

I think Apache 2.0 works with mod_jk2. and the configuration is very
different 
from mod_jk1.2. The directives such as JkWorkersFile JKMount dont work with
mod_jk2.

-Original Message-
From: Ahmad, Kashif [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 29, 2003 10:42 AM
To: '[EMAIL PROTECTED]'
Subject: Connecting Apache 2.0.47 to Tomcat 4.0.6


Hi All:

 

I have a question and hope someone can answer it.  I have a client that is
trying to install Apache 2.0.47 with Tomcat 4.0.6.  The application he is
trying to run comes with instructions on how to configure Apache 2.0.43 with
Tomcat 4.0.4 with mod_jk_1.2.  Do the same instructions apply to with the
Apache 2.0.47 with Tomcat 4.0.6?  I've been able to get him so far to the
point where he can access the application on the Tomcat internal HTTP on the
default port 8080.  However, when he connects with Apache on port 80, he
gets a mis-configuration error.

 

Here are the instructions as provided for the application for configuring
Apache 2.0.43 and Tomcat 4.0.4

 

*Start Configuration Instruction*

 

4.2.2 Configure the Apache HTTP Server for Teams

Add the following lines at the end of httpd.conf in /opt/apache/conf:

#

# Configure mod_jk

#

LoadModule jk_module /opt/apache/modules/mod_jk.so

JkWorkersFile /opt/tomcat/conf/jk/workers.properties

JkLogFile /opt/tomcat/logs/mod_jk.log

JkLogLevel error

Alias /teams /opt/tomcat/webapps/teams

JkMount /teams/*.do ajp13

JkMount /teams/*.jsp ajp13

Alias /teamsadmin /opt/tomcat/webapps/teamsadmin

JkMount /teamsadmin/*.do ajp13

JkMount /teamsadmin/*.jsp ajp13

 

4.2.3 Configure Tomcat for TEAMS

 

4.2.3.1 Set Up Environment Variables

* Set JAVA_HOME to the JDK or JRE installation directory.

* Set TOMCAT_HOME to the Tomcat installation directory, e.g., /opt/tomcat.

 

4.2.3.2 Modify the Tomcat Startup Script

1. Add the following configuration information near the top of the file

$TOMCAT_HOME/bin/catalina.sh right after the comment section. Note that

it must be added as one line. Also, when copying from text editors, ensure
that

there are no hard returns in the entry between JAVA_OPTS= and

DORBagentPort settings.

 

# Define JAVA_OPTS

JAVA_OPTS=-Xbootclasspath/p:/opt/teams/jars/vbjapp.jar:/

opt/teams/jars/vbjorb.jar:/opt/teams/jars/swingall.jar -Xss2m -Xmx128m

-Dfile.encoding=ISO8859_1 -Djava.compiler=NONE -DSERVLET=true

-DTEAMS_HOME=/opt/teams -DLOG_FILE=/opt/tomcat/logs/teams.log

-DTEAMS_DEBUG_LEVEL=6 -DORBagentPort=15000

 

2. Also in the $TOMCAT_HOME/bin/catalina.sh file, append the following jar

files to the second CLASSPATH setting:

a. If you are using JRE 1.3, add:

b. If you are using JDK 1.3 (see following example), add:

CLASSPATH=$CLASSPATH:/opt/teams/jars/tools.jar:$ORACLE_HOME/jdbc/lib/

classes12.zip

CLASSPATH=$CLASSPATH:$ORACLE_HOME/jdbc/lib/classes12.zip

 

4.2.3.3 Create AJP Connecter Workers File

Create a file /opt/tomcat/conf/jk/workers.properties with the following

content (note that the value of worker.ajp13.port is an example):

The AJP Connector Port (5044) must also be put into the server.xml file,

located in the$TOMCAT_HOME/conf directory, in the section called Define an

AJP 1.3 Connector.

 

# Setup for Solaris system

#

workers.tomcat_home=/opt/tomcat/

workers.java_home=/opt/jdk1.3.1

ps=/

worker.list=ajp13

# Definition for Ajp13 worker

#

worker.ajp13.port=5044

worker.ajp13.host=localhost

worker.ajp13.type=ajp13

 

 

 

 


-
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: Connecting Apache 2.0.47 to Tomcat 4.0.6

2003-10-29 Thread Asif Chowdhary
Here is the info:

I installed the mod_jk2-2.0.43.dll in apache/modules. Here is what I put 
into the different config files:

httpd.conf: just one single row like this:
LoadModule jk2_module modules/mod_jk2-2.0.43.dll

Then I added a worker2.properties in Apache/conf/ like this:

[logger]
level=DEBUG
file=c:/programme/apache group/apache2/logs/jk2.log
[config]
file=c:/programme/apache group/apache2/conf/workers2.properties
debug=0
debugEnv=0
# Shared memory handling. Needs to be set.
[shm]
file=c:/programme/apache group/apache2/logs/shm.file
size=1048576
debug=0
#disabled=0

[channel.socket:localhost:8010]
port=8010
host=127.0.0.1
debug=0

# Example socket channel, explicitly set port and host.
# [channel.socket:localhost:8009]
# port=8009
# host=127.0.0.1
# Example UNIX domain socket
# [channel.un:/usr/local/tomcat/work/jk2.socket]
# tomcatId=localhost:8009
# debug=0
# define the worker
[ajp13:localhost:8010]
#channel=channel.un:/usr/local/pds/tomcat/work/jk2.socket
# To use the TCP/IP socket instead, just comment out the above
# line, and uncomment the one below
channel=channel.socket:localhost:8010

# define the worker
# Announce a status worker
# Uri mapping


[uri:/examples/*]
worker=ajp13:localhost:8010

[uri:/javaroom/*]
worker=ajp13:localhost:8010


[status:status]

[status:]
info=Status worker,displays run time informations

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

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

# end of workers2.properties

Finally, I configured this Connector in the Tomcat server.xml:
---
 Connector className=org.apache.coyote.tomcat4.CoyoteConnector
port=8010
minProcessors=5 maxProcessors=250
acceptCount=10 debug=0
protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler /

-Original Message-
From: Joaquin Corchero [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 29, 2003 11:15 AM
To: Tomcat Users List
Subject: Re: Connecting Apache 2.0.47 to Tomcat 4.0.6


Can you send me the tittle of the message (I signed up today)

Thank you very much
- Original Message - 
From: Asif Chowdhary [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, October 29, 2003 3:49 PM
Subject: RE: Connecting Apache 2.0.47 to Tomcat 4.0.6


I think Apache 2.0 works with mod_jk2. and the configuration is very
different
from mod_jk1.2. The directives such as JkWorkersFile JKMount dont work with
mod_jk2.

-Original Message-
From: Ahmad, Kashif [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 29, 2003 10:42 AM
To: '[EMAIL PROTECTED]'
Subject: Connecting Apache 2.0.47 to Tomcat 4.0.6


Hi All:



I have a question and hope someone can answer it.  I have a client that is
trying to install Apache 2.0.47 with Tomcat 4.0.6.  The application he is
trying to run comes with instructions on how to configure Apache 2.0.43 with
Tomcat 4.0.4 with mod_jk_1.2.  Do the same instructions apply to with the
Apache 2.0.47 with Tomcat 4.0.6?  I've been able to get him so far to the
point where he can access the application on the Tomcat internal HTTP on the
default port 8080.  However, when he connects with Apache on port 80, he
gets a mis-configuration error.



Here are the instructions as provided for the application for configuring
Apache 2.0.43 and Tomcat 4.0.4



*Start Configuration Instruction*



4.2.2 Configure the Apache HTTP Server for Teams

Add the following lines at the end of httpd.conf in /opt/apache/conf:

#

# Configure mod_jk

#

LoadModule jk_module /opt/apache/modules/mod_jk.so

JkWorkersFile /opt/tomcat/conf/jk/workers.properties

JkLogFile /opt/tomcat/logs/mod_jk.log

JkLogLevel error

Alias /teams /opt/tomcat/webapps/teams

JkMount /teams/*.do ajp13

JkMount /teams/*.jsp ajp13

Alias /teamsadmin /opt/tomcat/webapps/teamsadmin

JkMount /teamsadmin/*.do ajp13

JkMount /teamsadmin/*.jsp ajp13



4.2.3 Configure Tomcat for TEAMS



4.2.3.1 Set Up Environment Variables

* Set JAVA_HOME to the JDK or JRE installation directory.

* Set TOMCAT_HOME to the Tomcat installation directory, e.g., /opt/tomcat.



4.2.3.2 Modify the Tomcat Startup Script

1. Add the following configuration information near the top of the file

$TOMCAT_HOME/bin/catalina.sh right after the comment section. Note that

it must be added as one line. Also, when copying from text editors, ensure
that

there are no hard returns in the entry between JAVA_OPTS= and

DORBagentPort settings.



# Define JAVA_OPTS

JAVA_OPTS=-Xbootclasspath/p:/opt/teams/jars/vbjapp.jar:/

opt/teams/jars/vbjorb.jar:/opt/teams/jars/swingall.jar -Xss2m -Xmx128m

-Dfile.encoding=ISO8859_1 -Djava.compiler=NONE -DSERVLET=true

-DTEAMS_HOME=/opt/teams -DLOG_FILE=/opt/tomcat/logs/teams.log

-DTEAMS_DEBUG_LEVEL=6 -DORBagentPort=15000



2. Also in the $TOMCAT_HOME/bin/catalina.sh file, append the following jar

files to the second CLASSPATH setting:

a. If you are using JRE 1.3

RE: Tomcat 5 clustering

2003-10-29 Thread Asif Chowdhary
You also have to think about load balancing along with clustering. Once you have 
clustered you have to distribute the load to different tomcat instances. You can use 
Apache + mod_jk2 connector (load balancing). In the workers2.properties file you can 
define how you want to assign weights to various instances of tomcat.

You will define the application context in workers2.properties file.

Asif

-Original Message-
From: Karthik Duddala [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 29, 2003 11:10 AM
To: Tomcat Users List
Subject: RE: Tomcat 5 clustering







I am new to the whole clustering concept and Tomcat as such, could any of
you be kind enough to tell me how I could go about replicating data in the
application context as well as replicate session data.

Thanks much. Really appreciate all your help.



Karthik Duddala
Developer - Web Team
Commerce Technologies
Ph. 518-886-0700 x. 3881


-
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: mod_jk2 binary for Apache 2.0.47/Win

2003-10-28 Thread Asif Chowdhary
Hi,

Apache 2.0.47 will work with mod_jk2 connector.
I have it working on my machine.

In apache httpd.conf

LoadModule jk2_module modules/mod_jk2.dll (I named it mod_jk2.dll)

workers2.properties file in your apache2/conf/ directory

#For the first tomcat listening on port 8009

First instance of Web Services listening on port 9000

[channel.socket:machine1:8009]
info=Ajp13 forwarding over socket
debug=20
tomcatId=tomcat1

#Load Balancing Tomcat on port 9000
lb_factor=20


#Second tomcat on machine 2 port 9300


#[channel.socket:machine2:8009]
#info=Ajp13 forwarding over socket
debug=20
#tomcatId=tomcat2

#Load Balancing tomcat port 9300
lb_factor=10

[status:]
info=Status worker,displays run time informations

[uri:/jkstatus/*]
info=Displaystatusinformationandcheckstheconfigfileforchanges.
group=status:


[uri:/examples/*]
info=Examplewebappinthedefaultcontext.
context=/examples
debug=20

#Configure the shared memory file
[shm]
file=C:/apache/apache2/logs/shm.file
size=1048576
debug=0

#End of Workers2.properties.

In server.xml

!-- 
 Define a Coyote/JK2 AJP 1.3 Connector on port 8009 
-- 


Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8009 
minProcessors=5 maxProcessors=75 enableLookups=true redirectPort=8443 
acceptCount=10 debug=0 connectionTimeout=2 useURIValidationHack=false 
protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler / 

Engine name=Standalone defaultHost=localhost debug=0 jvmRoute=tomcat1

This is all you need to configure

Asif


-Original Message-
From: Florian Ebeling [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 28, 2003 7:32 AM
To: Tomcat Users List
Subject: mod_jk2 binary for Apache 2.0.47/Win


Hi,

I am trying to integrate Tomcat with Apache2 via the mod_jk2 module and 
CoyoteConnector on the Java side. Nothing experimental here, so far.

Problem is
1) the module needs to be compiled against exactly the same Apache 
version into which it is to be deployed later
2) the only binary Apache2 is 2.0.47
3) the only binary mod_jk2 is against 2.0.43
4) I don't have a MSVC compiler suite
5) The jakarta-connector documents say that only MSVC is possible, so I 
conclude MinGW or Cygwin won't be helpful here

If anybody could point me to a solution to this it would be very helpful.

Thanks and regards,
-Florian



-
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: mod_jk2 binary for Apache 2.0.47/Win

2003-10-28 Thread Asif Chowdhary
No I dont have that file in the conf directory. The documentation is very confusing.

It works fine

-Original Message-
From: Florian Ebeling [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 28, 2003 10:56 AM
To: Tomcat Users List
Subject: Re: mod_jk2 binary for Apache 2.0.47/Win


Hi Asif,

thanks for your answere. I didn't try the module with the non-matching 
number. In fact, it does load. I read it several times, so I didn't 
question this. However, are you sure you do not have a jk2.properties 
file in your Tomcat /conf? The mod_jk2 documentation suggests there 
should be two file.

-Florian

Asif Chowdhary wrote:

 Hi,
 
 Apache 2.0.47 will work with mod_jk2 connector.
 I have it working on my machine.
 
 In apache httpd.conf
 
 LoadModule jk2_module modules/mod_jk2.dll (I named it mod_jk2.dll)
 
 workers2.properties file in your apache2/conf/ directory
 
 #For the first tomcat listening on port 8009
 
 First instance of Web Services listening on port 9000
 
 [channel.socket:machine1:8009]
 info=Ajp13 forwarding over socket
 debug=20
 tomcatId=tomcat1
 
 #Load Balancing Tomcat on port 9000
 lb_factor=20
 
 
 #Second tomcat on machine 2 port 9300
 
 
 #[channel.socket:machine2:8009]
 #info=Ajp13 forwarding over socket
 debug=20
 #tomcatId=tomcat2
 
 #Load Balancing tomcat port 9300
 lb_factor=10
 
 [status:]
 info=Status worker,displays run time informations
 
 [uri:/jkstatus/*]
 info=Displaystatusinformationandcheckstheconfigfileforchanges.
 group=status:
 
 
 [uri:/examples/*]
 info=Examplewebappinthedefaultcontext.
 context=/examples
 debug=20
 
 #Configure the shared memory file
 [shm]
 file=C:/apache/apache2/logs/shm.file
 size=1048576
 debug=0
 
 #End of Workers2.properties.
 
 In server.xml
 
 !-- 
  Define a Coyote/JK2 AJP 1.3 Connector on port 8009 
 -- 
 
 
 Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8009 
 minProcessors=5 maxProcessors=75 enableLookups=true redirectPort=8443 
 acceptCount=10 debug=0 connectionTimeout=2 useURIValidationHack=false 
 protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler / 
 
 Engine name=Standalone defaultHost=localhost debug=0 jvmRoute=tomcat1
 
 This is all you need to configure
 
 Asif
 
 
 -Original Message-
 From: Florian Ebeling [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, October 28, 2003 7:32 AM
 To: Tomcat Users List
 Subject: mod_jk2 binary for Apache 2.0.47/Win
 
 
 Hi,
 
 I am trying to integrate Tomcat with Apache2 via the mod_jk2 module and 
 CoyoteConnector on the Java side. Nothing experimental here, so far.
 
 Problem is
 1) the module needs to be compiled against exactly the same Apache 
 version into which it is to be deployed later
 2) the only binary Apache2 is 2.0.47
 3) the only binary mod_jk2 is against 2.0.43
 4) I don't have a MSVC compiler suite
 5) The jakarta-connector documents say that only MSVC is possible, so I 
 conclude MinGW or Cygwin won't be helpful here
 
 If anybody could point me to a solution to this it would be very helpful.
 
 Thanks and regards,
 -Florian
 
 
 
 -
 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: mod_jk2 binary for Apache 2.0.47/Win

2003-10-28 Thread Asif Chowdhary
There is tomcat book from Oreilly which is very helpful.
I am using that Tomcat the Definite guide.

Asif

-Original Message-
From: Florian Ebeling [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 28, 2003 11:59 AM
To: Tomcat Users List
Subject: Re: mod_jk2 binary for Apache 2.0.47/Win


Hi Asif,

I get it up and running, finally. Many thanks for your help. I wonder: 
you don't know of a resource on configuring this strange animal, 
workers2.properties, by any chance? I found my current configuration by 
rather poking in the fog, tweaking your file here and there. This is not 
the most predictable of all methods, perhaps.

Regards,
-Florian

Asif Chowdhary wrote:

 No I dont have that file in the conf directory. The documentation is very confusing.
 
 It works fine
 
 -Original Message-
 From: Florian Ebeling [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, October 28, 2003 10:56 AM
 To: Tomcat Users List
 Subject: Re: mod_jk2 binary for Apache 2.0.47/Win
 
 
 Hi Asif,
 
 thanks for your answere. I didn't try the module with the non-matching 
 number. In fact, it does load. I read it several times, so I didn't 
 question this. However, are you sure you do not have a jk2.properties 
 file in your Tomcat /conf? The mod_jk2 documentation suggests there 
 should be two file.
 
 -Florian
 
 Asif Chowdhary wrote:
 
 
Hi,

Apache 2.0.47 will work with mod_jk2 connector.
I have it working on my machine.

In apache httpd.conf

LoadModule jk2_module modules/mod_jk2.dll (I named it mod_jk2.dll)

workers2.properties file in your apache2/conf/ directory

#For the first tomcat listening on port 8009

First instance of Web Services listening on port 9000

[channel.socket:machine1:8009]
info=Ajp13 forwarding over socket
debug=20
tomcatId=tomcat1

#Load Balancing Tomcat on port 9000
lb_factor=20


#Second tomcat on machine 2 port 9300


#[channel.socket:machine2:8009]
#info=Ajp13 forwarding over socket
debug=20
#tomcatId=tomcat2

#Load Balancing tomcat port 9300
lb_factor=10

[status:]
info=Status worker,displays run time informations

[uri:/jkstatus/*]
info=Displaystatusinformationandcheckstheconfigfileforchanges.
group=status:


[uri:/examples/*]
info=Examplewebappinthedefaultcontext.
context=/examples
debug=20

#Configure the shared memory file
[shm]
file=C:/apache/apache2/logs/shm.file
size=1048576
debug=0

#End of Workers2.properties.

In server.xml

!-- 
 Define a Coyote/JK2 AJP 1.3 Connector on port 8009 
-- 


Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8009 
minProcessors=5 maxProcessors=75 enableLookups=true redirectPort=8443 
acceptCount=10 debug=0 connectionTimeout=2 useURIValidationHack=false 
protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler / 

Engine name=Standalone defaultHost=localhost debug=0 jvmRoute=tomcat1

This is all you need to configure

Asif


-Original Message-
From: Florian Ebeling [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 28, 2003 7:32 AM
To: Tomcat Users List
Subject: mod_jk2 binary for Apache 2.0.47/Win


Hi,

I am trying to integrate Tomcat with Apache2 via the mod_jk2 module and 
CoyoteConnector on the Java side. Nothing experimental here, so far.

Problem is
1) the module needs to be compiled against exactly the same Apache 
version into which it is to be deployed later
2) the only binary Apache2 is 2.0.47
3) the only binary mod_jk2 is against 2.0.43
4) I don't have a MSVC compiler suite
5) The jakarta-connector documents say that only MSVC is possible, so I 
conclude MinGW or Cygwin won't be helpful here

If anybody could point me to a solution to this it would be very helpful.

Thanks and regards,
-Florian



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


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



What should be the size of shm.file in workers2.properties

2003-10-27 Thread Asif Chowdhary
Hi,

When configuring apache + tomcat + mod-jk2 is there a recommended
size fo shm.file?




Asif Chowdhary
 
mailto:[EMAIL PROTECTED]  
www.xeye.com  


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



RE: shm.create(): error mmapping

2003-10-24 Thread Asif Chowdhary
[shm]
file=C:/apache/apache2/logs/shm.file
size=1048576
debug=0

I have this in my workers2.properties file and seems to work.

-Original Message-
From: Bruce Ashton [mailto:[EMAIL PROTECTED]
Sent: Friday, October 24, 2003 9:42 AM
To: '[EMAIL PROTECTED]'
Subject: shm.create(): error mmapping


Has anybody had mod_jk2 working with Apache 1.3.24 on Windows?  I keep
getting the following error:

[Fri Oct 24 13:40:05 2003]  (error) [jk_shm.c (358)]: shm.create(): error
mmapping C:\\Apache\\Apache\\logs\\jk2.shm

Apache 1.3.24 with SSL patch
mod_jk2-1.3.27.dll
Tomcat 4.1
ServerRoot is C:\Apache.

workers2.properties looks like:
...snip
# jk2_module configuration

[shm]
file=C:\\Apache\\Apache\\logs\\jk2.shm
size=100
[channel.socket:localhost:8009]
info=Ajp13 forwarding over socket
tomcatId=localhost:8009
[uri:/jmx-console/*]
snip...

I have also tried,

file=C:\Apache\Apache\logs\jk2.shm

and

file=C:/Apache/Apache/logs/jk2.shm

and the same variations with double quotes, i.e.

file=C:/Apache/Apache/logs/jk2.shm

etc.

Anybody know anything about mod_jk2 on Win32?


Bruce Ashton
Senior Developer
Ext. 8272
http://www.activis.com/ 


Please note that:
 
1. This e-mail may constitute privileged information. If you are not the intended 
recipient, you have received this confidential email and any attachments transmitted 
with it in error and you must not disclose, copy, circulate or in any other way use or 
rely on this information.
2. E-mails to and from the company are monitored for operational reasons and in 
accordance with lawful business practices.
3. The contents of this email are those of the individual and do not necessarily 
represent the views of the company.
4. The company does not conclude contracts by email and all negotiations are subject 
to contract.
5. The company accepts no responsibility once an e-mail and any attachments is sent.

http://www.activis.com


This annotation was added by the e-scan service.
http://www.activis.com
--
This message has been checked for all known viruses by e:)scan.
For further information please contact [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: shm.create(): error mmapping

2003-10-24 Thread Asif Chowdhary
Yes I am

-Original Message-
From: Bruce Ashton [mailto:[EMAIL PROTECTED]
Sent: Friday, October 24, 2003 10:43 AM
To: 'Tomcat Users List'
Subject: RE: shm.create(): error mmapping


Thanks.  This is interesting, my teammate has tried it out with Apache 2 on
Windows and it seems to work.  I thinnk it might be the Apache version that
makes the difference.
I'm assuming you are running Apache 2 given your file= line.

 -Original Message-
 From: Asif Chowdhary [mailto:[EMAIL PROTECTED]
 Sent: 24 October 2003 15:46
 To: Tomcat Users List
 Subject: RE: shm.create(): error mmapping
 
 
 [shm]
 file=C:/apache/apache2/logs/shm.file
 size=1048576
 debug=0
 
 I have this in my workers2.properties file and seems to work.
 
 -Original Message-
 From: Bruce Ashton [mailto:[EMAIL PROTECTED]
 Sent: Friday, October 24, 2003 9:42 AM
 To: '[EMAIL PROTECTED]'
 Subject: shm.create(): error mmapping
 
 
 Has anybody had mod_jk2 working with Apache 1.3.24 on Windows?  I keep
 getting the following error:
 
 [Fri Oct 24 13:40:05 2003]  (error) [jk_shm.c (358)]: 
 shm.create(): error
 mmapping C:\\Apache\\Apache\\logs\\jk2.shm
 
 Apache 1.3.24 with SSL patch
 mod_jk2-1.3.27.dll
 Tomcat 4.1
 ServerRoot is C:\Apache.
 
 workers2.properties looks like:
 ...snip
 # jk2_module configuration
 
 [shm]
 file=C:\\Apache\\Apache\\logs\\jk2.shm
 size=100
 [channel.socket:localhost:8009]
 info=Ajp13 forwarding over socket
 tomcatId=localhost:8009
 [uri:/jmx-console/*]
 snip...
 
 I have also tried,
 
 file=C:\Apache\Apache\logs\jk2.shm
 
 and
 
 file=C:/Apache/Apache/logs/jk2.shm
 
 and the same variations with double quotes, i.e.
 
 file=C:/Apache/Apache/logs/jk2.shm
 
 etc.
 
 Anybody know anything about mod_jk2 on Win32?
 
 
 Bruce Ashton
 Senior Developer
 Ext. 8272
 http://www.activis.com/ 
 
 
 Please note that:
  
 1. This e-mail may constitute privileged information. If you 
 are not the intended recipient, you have received this 
 confidential email and any attachments transmitted with it in 
 error and you must not disclose, copy, circulate or in any 
 other way use or rely on this information.
 2. E-mails to and from the company are monitored for 
 operational reasons and in accordance with lawful business practices.
 3. The contents of this email are those of the individual and 
 do not necessarily represent the views of the company.
 4. The company does not conclude contracts by email and all 
 negotiations are subject to contract.
 5. The company accepts no responsibility once an e-mail and 
 any attachments is sent.
 
 http://www.activis.com
 
 
 This annotation was added by the e-scan service.
 http://www.activis.com
 --
 
 This message has been checked for all known viruses by e:)scan.
 For further information please contact [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]
 
  
 

This annotation was added by the e-scan service.
http://www.activis.com
--
This message has been checked for all known viruses by e:)scan.
For further information please contact [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]



apache+tomcat+mod-jk2

2003-10-23 Thread Asif Chowdhary
Hi,

I am trying to setup apache with mod_jk2 and tomcat on Window.
Apache 2.0.43
and tomcat 4.1.18
and mod-jk2 2.0.43


If I use 
LoadModule jk2_module modules/mod_jk-2.0.43.dll


The module is loaded but does not recognize commands such as JkWorkersFile etc.

The log file says that the properties file is not set. I am attaching the log file 
from apache.

Your help is appreciated.

Thanks
Asif error.log 




Asif Chowdhary
System Analyst
x.eye incorporated
 
Phone: (905) 624-6608 ext. 280 
mailto:[EMAIL PROTECTED]  
www.xeye.com  


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

RE: redirect?

2003-10-23 Thread Asif Chowdhary
Hi Michael,

If you installed this on a windows environment
can you tell me how to set up or where can I find more info.

I have tested various builds etc. I get the localhost/jkstatus page but not the 
examples.

Your help is greatly appreciated.

Thanks
Asif

-Original Message-
From: Dean, Michael D. [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 23, 2003 2:46 PM
To: '[EMAIL PROTECTED]'
Subject: redirect?


I have Apache 2.0.47, Tomcat 5.0 and mod_jk2/2.0.2 running

http://127.0.0.1:8009/jsp-examples/

http://127.0.0.1:8009/servlets-examples/

So how/what do I modify such that:

http://127.0.0.1/jsp-examples/

http://127.0.0.1/servlet-examples

return the same pages when the port number isn't specified in the URL...

I'm trying to set it so the user doesn't have to remember the ports

Best Regards,

Michael Dean
Sun Certified Programmer for the Java 2 Platform
Washington State Department of Corrections
ph: 360-664-8802
fx:  360-664-3985
mailto:[EMAIL PROTECTED]

I'm a sailor, of the waters and the sun,
I can fight the waves but have no weapons for the calm... 
 - The Ship


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