intranet application

2002-12-27 Thread # Lalit Nagpal #
hi guys ...

somebody please tell me how to write a intranet
application using tomcat ... how to configure tomcat
for an intranet application 

thanx in advance

Lalit Nagpal

=
# Lalit Nagpal #

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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





How to config mod_jk2 jni with JVM ?

2002-12-27 Thread Gery Kahn
I have linux redhat 7.3, tomcat 4.1.17, apache 1.3.27 with mod_jk2
and jdk 1.4.1_01

How am i configure jni with JVM?
My apache refuses to startup JVM ?



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




Re: How to config mod_jk2 jni with JVM ?

2002-12-27 Thread Anthony Marlowe
Hi Gery,

I using Apache 2.0.43 with mod_jk2 and tomcat 4.1.18

You need to set the following in your workers2.properties:

[vm:]
info=Parameters used to load a JVM in the server process
JVM=this has to point to your JVM. you will probably need the complete  
patch and not $JAVA_HOME...
OPT=-Djava.class.path=/Volumes/Java_Development/jakarta-tomcat-4.1.18/ 
bin/tomcat-jni.jar:/Volumes/Java_Development/jakarta-tomcat-4.1.18/bin/ 
bootstrap.jar:/Volumes/Java_Development/jakarta-tomcat-4.1.18/server/ 
lib/commons-logging.jar
OPT=-Dtomcat.home=/Volumes/Java_Development/jakarta-tomcat-4.1.18
OPT=-Dcatalina.home=/Volumes/Java_Development/jakarta-tomcat-4.1.18
OPT=-Xmx256M
#OPT=-Djava.compiler=NONE
disabled=0

Regards,

Tony

On Friday, Dec 27, 2002, at 13:39 Europe/Berlin, Gery Kahn wrote:

I have linux redhat 7.3, tomcat 4.1.17, apache 1.3.27 with mod_jk2
and jdk 1.4.1_01

How am i configure jni with JVM?
My apache refuses to startup JVM ?



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



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




Help setting permissions

2002-12-27 Thread Nome real
Hi all,

I have the following piece of code:

snip

 properties = new Properties();
 properties.putAll( System.getProperties() );

/snip

I'm running Tomcat 4.1.12 with security manager. 

I have the java.util.PropertyPermission *, read  permission granted, but I have 
the exception:

Exception: access denied (java.util.PropertyPermission * read,write)

If I set the 'write' permission, it works, but I think I'm missing something... Is it 
this security permission to protect 
the System.Properties for being overwritten and not for a simple local variable ?

Thanks
Renato.



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




Tomcat 4.1.18 jspc problem.

2002-12-27 Thread Alexey Kozadaev
Hello everyone,

I'm experiencing a problem with jspc. It always returns
NullPointerException, no matter what .jsp file I compile. Although it works
thru ?jsp_precompile, unfortunately we have a very big web site where plenty
of jsp files and they are have certain, complex structured layout in
filesystem, so I think writing a script, that would connect to tomcat with
?jsp_precompile would not be a good idea.

I am using FreeBSD 4.6, Tomcat 4.1.18, j2sdk_1.4.1_01 on linux base.

Does anyone know is there still a way to work with jspc or jasper jspc on my
system???


==
UNIX is like a wighwam - No Gates, No Windows and Apache inside



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




Re: How to config mod_jk2 jni with JVM ?

2002-12-27 Thread Gery Kahn
Anthony Marlowe wrote:

Hi Gery,

I using Apache 2.0.43 with mod_jk2 and tomcat 4.1.18

You need to set the following in your workers2.properties:

[vm:]
info=Parameters used to load a JVM in the server process
JVM=this has to point to your JVM. you will probably need the complete  
patch and not $JAVA_HOME...
OPT=-Djava.class.path=/Volumes/Java_Development/jakarta-tomcat-4.1.18/ 
bin/tomcat-jni.jar:/Volumes/Java_Development/jakarta-tomcat-4.1.18/bin/ 
bootstrap.jar:/Volumes/Java_Development/jakarta-tomcat-4.1.18/server/ 
lib/commons-logging.jar
OPT=-Dtomcat.home=/Volumes/Java_Development/jakarta-tomcat-4.1.18
OPT=-Dcatalina.home=/Volumes/Java_Development/jakarta-tomcat-4.1.18
OPT=-Xmx256M
#OPT=-Djava.compiler=NONE
disabled=0

Regards,

Tony

On Friday, Dec 27, 2002, at 13:39 Europe/Berlin, Gery Kahn wrote:

I have linux redhat 7.3, tomcat 4.1.17, apache 1.3.27 with mod_jk2
and jdk 1.4.1_01

How am i configure jni with JVM?
My apache refuses to startup JVM ?



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



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


i did like you said and got jk2.log with follows :

[Fri Dec 27 16:17:53 2002] ( info ) [jk_vm_default.c (500)]  vm.init(): 
Jni lib: /usr/java/j2sdk1.4.1_01/jre/lib/i386/client/libjvm.so
[Fri Dec 27 16:17:53 2002] (emerg ) [jk_vm_default.c (600)]  Fail- 
could not create JVM, code: -1



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



RE: Yes!!! It works!!! (was: Re: mod_jk---still trying, getting closer)

2002-12-27 Thread Denise Mangano
Congrats!! You sound as excited as I was when my setup finally started to
work :)

I do find it strange though how my config works with the Listener directives
uncommented, and yours did not...  

Denise Mangano
Help Desk Analyst
Complus Data Innovations, Inc.


-Original Message-
From: Jerry Ford [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, December 26, 2002 5:31 PM
To: [EMAIL PROTECTED]
Cc: 'Tomcat Users List'; [EMAIL PROTECTED]
Subject: Yes!!! It works!!! (was: Re: mod_jk---still trying, getting closer)


Justin, I owe you a beer...

I removed the two listener statements that you commented out in my  
server.xml file and now servlets work from Apache without a port setting.  

Thank you thank you thank you.  

(And thanks to everyone else who put up with my whining over the past 
few days and offered help---especially Denise, John, and Jeff :)

(BTW, it's academic now, but, yes, on my box tomcat is a symbolic link 
to jakarta-tomcat-4.1.12-LE-jdk14.)

Jerry

Justin L. Spies wrote:

Jerry,
I've updated and simplified the configuration files that you supplied 
previously.  Any changes I made are denoted by the following:
  NOTE NOTE NOTE NOTE

These changes cause your system to have the same config that I first 
used to get my system working.  I'm not sure about your directory 
structure and whether or not you have symlinks setup, however I did 
notice that in some of the configuration files you were using two 
different directories that should point to the same directories.  Here 
is an example from httpd.conf:

You had the following for the JkWorkersFile:
JkWorkersFile 
/usr/local/webserver/jakarta-tomcat-4.1.12-LE-jdk14/conf/jk/workers.pr
o
perties

But just below that you had the following apache directive:
Directory /usr/local/webserver/tomcat/webapps/examples

These should be the same directory above the /conf directory and above 
the /webapps directory.  On my system, I have tomcat installed in 
/var/tomcat4, so I have the following directives:

JkWorkersFile /var/tomcat4/conf/jk/workers.properties
  --  and  --
Directory /var/tomcat4/webapps/examples


See how they are the same first two?  /conf and /webapps should be a 
subdirectory of /tomcat4 (in my case) or /tomcat (in your case), unless 
you have a symlink (in your case) from 
/usr/local/webserver/jakarta-tomcat-4.1.12-LE-jdk14 to 
/usr/local/webserver/tomcat.  Does that make sense, or did I just 
completely confuse everyone?

Jerry, when you restart Apache and Tomcat, could you send us copies of 
the apache error log and the tomcat catalina.out files?  Also, if you 
could confirm the directory structure, that would be a big help.

Sincerely,
Pantek Incorporated
Justin L. Spies

URI: http://www.pantek.com
Ph   440.519.1802
Fax  440.248.5274
Cell 440.336.3317




-Original Message-
From: Jerry Ford [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 2:00 PM
To: Tomcat Users List
Subject: Re: mod_jk---still trying, getting closer


I use the mod_jk binary obtained from John Turner's how-to page, and 
the

httpd.conf and server.xml statements are the same as the statements in
the configurations several other people here have provided as examples, 
I think.  I have also tried to follow John Turner's suggested 
confuguration statements.  

I've tried just about every combination of configurations that have 
been

suggested. It's possible that by now I have mixed up different people's
advice, but I don't know what needs to be changed.  

I don't know why JK2 is in there, other than the coyote packages that
are referenced in sever.xml.  But if I don't use those, what do I use?

I'm beginning to think mod_webapp.so is looking like my only hope of
getting Tomcat and Apache to work together.

Jerry

Jerry

Milt Epstein wrote:

  

On Wed, 25 Dec 2002, Jerry Ford wrote:

 



John:

Sorry, I had changed ajp13 to worker1 in trying to emulate Denise's
working setup, but that didn't do any good so I changed it back and 
inadvertently put the dot in. But it doesn't matter, it doesn't work 
either way.
   

  

One things I don't understand, it seems like you have JK2 running on
the Tomcat side, but you refer to workers.properties, which is a JK 
file, JK2 doesn't use it, I don't believe.  Could that be related to 
the problem?


 



As noted in earlier e-mails, I can get the Tomcat example servlets to
work, as well as my own j_tools HelloWorld, when I specify port 8080, 
but not through Apache:

http://localhost opens Apache's index page http://localhost:8080 
opens
  


  

Tomcat's index page, and servlets work
http://localhost/examples/servlets opens the servlets index page, but 
servlets don't work

Catalina.out in Tomcat's logs directory says mod_jk is running:

Dec 25, 2002 8:50:51 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
Starting service Tomcat-Standalone
Apache Tomcat/4.1.12-LE-jdk14
Dec 25, 2002 8:50:57 PM org.apache.coyote.http11.Http11Protocol 

Re: intranet application

2002-12-27 Thread Hanasaki JiJi
Tomcat doesnt care if its intranet or internet.  It is all TCP/IP to 
Tomcat.  Some comibination of the following separates a internet from 
intranet: firewall, NAT(Network Address Translation), Proxies ...

Tomcat supports CGI and Servlet based applications.  I would highly 
suggest going the servlet approach.  CGI's often spawn at least one OS 
process for each HTTP request.  This reduces performance alot.  How do 
write servlets?  Check the below references and learn OO (Object 
Oriented) don't just start coding.  Its a sure way to find trouble later.
http://java.sun.com/
http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/Servlets.html
http://java.sun.com/j2ee/tutorial/1_3-fcs/
	read the web technology tutorials

# Lalit Nagpal # wrote:
hi guys ...

somebody please tell me how to write a intranet
application using tomcat ... how to configure tomcat
for an intranet application 

thanx in advance

Lalit Nagpal

=
# Lalit Nagpal #

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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



--
=
= Management is doing things right; leadership is doing the =
=   right things.- Peter Drucker=
=___=
= http://www.sun.com/service/sunps/jdc/javacenter.pdf   =
=  www.sun.com | www.javasoft.com | http://wwws.sun.com/sunone  =
=


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




Question - Form Validation

2002-12-27 Thread Denise Mangano
Hi all :)

I'm not sure if these types of questions belong is this list??  I've seen
people post JSP and/or servlet questions, so I am assuming they do... ?

I am trying to figure the best way to do form validation with JSP.  I have a
JSP with a form that calls another JSP to process that form and display the
result.  I would like to add an intermediary page that displays all the user
input before the information is processed.  Before I get to this
intermediary page I want to make sure all fields are filled out and each
field fits the format it should be.  If a field is missing or incorrect, I
would like the same page to be reloaded, with red text next to the field
that needs to be corrected.

Just wondering if anyone had any suggestions of the best way to handle this.

Denise Mangano

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




RE: Yes!!! It works!!! (was: Re: mod_jk---still trying, getting closer)

2002-12-27 Thread Justin L. Spies
This was a message I thought I had sent to the list, but I somehow
managed to send it to Jerry directly...



Congratulations Jerry!  Glad to hear that you've got a working system
now!

Just for the benefit of the other list members out there, the pieces we
commented out were the following:
  !-- This listener was immediately 
 after the Server port=... directive. --
  !-- Listener className=org.apache.ajp.tomcat4.config.ApacheConfig 
  modJk=/usr/local/webserver/apache/libexec/mod_jk.so 
  jkDebug=debug 
 
workersConfig=/usr/local/webserver/tomcat/conf/jk/workers.properties 
  jkLog=/usr/local/webserver/tomcat/logs/mod_jk.log/ --

  ---   AND   ---
!-- This listener was immediately after the Host name=... 
 directive inside of the Server port=... directive.
--
!-- Listener
className=org.apache.ajp.tomcat4.config.ApacheConfig append=true 
  forwardAll=false/ --


Has anyone else out there had good experience setting up the Apache auto
configuration?


Sincerely,
Pantek Incorporated
Justin L. Spies

URI: http://www.pantek.com
Ph   440.519.1802
Fax  440.248.5274
Cell 440.336.3317 

-Original Message-
From: Jerry Ford [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, December 26, 2002 5:31 PM
To: Justin L. Spies
Cc: 'Tomcat Users List'; [EMAIL PROTECTED]
Subject: Yes!!! It works!!! (was: Re: mod_jk---still trying, getting
closer)


Justin, I owe you a beer...

I removed the two listener statements that you commented out in my  
server.xml file and now servlets work from Apache without a port
setting.  

Thank you thank you thank you.  

(And thanks to everyone else who put up with my whining over the past 
few days and offered help---especially Denise, John, and Jeff :)

(BTW, it's academic now, but, yes, on my box tomcat is a symbolic link 
to jakarta-tomcat-4.1.12-LE-jdk14.)

Jerry

Justin L. Spies wrote:

Jerry,
I've updated and simplified the configuration files that you supplied 
previously.  Any changes I made are denoted by the following:
  NOTE NOTE NOTE NOTE

These changes cause your system to have the same config that I first 
used to get my system working.  I'm not sure about your directory 
structure and whether or not you have symlinks setup, however I did 
notice that in some of the configuration files you were using two 
different directories that should point to the same directories.  Here 
is an example from httpd.conf:

You had the following for the JkWorkersFile:
JkWorkersFile 
/usr/local/webserver/jakarta-tomcat-4.1.12-LE-jdk14/conf/jk/workers.pr
o
perties

But just below that you had the following apache directive:
Directory /usr/local/webserver/tomcat/webapps/examples

These should be the same directory above the /conf directory and above 
the /webapps directory.  On my system, I have tomcat installed in 
/var/tomcat4, so I have the following directives:

JkWorkersFile /var/tomcat4/conf/jk/workers.properties
  --  and  --
Directory /var/tomcat4/webapps/examples


See how they are the same first two?  /conf and /webapps should be a 
subdirectory of /tomcat4 (in my case) or /tomcat (in your case), unless

you have a symlink (in your case) from 
/usr/local/webserver/jakarta-tomcat-4.1.12-LE-jdk14 to 
/usr/local/webserver/tomcat.  Does that make sense, or did I just 
completely confuse everyone?

Jerry, when you restart Apache and Tomcat, could you send us copies of 
the apache error log and the tomcat catalina.out files?  Also, if you 
could confirm the directory structure, that would be a big help.

Sincerely,
Pantek Incorporated
Justin L. Spies

URI: http://www.pantek.com
Ph   440.519.1802
Fax  440.248.5274
Cell 440.336.3317




-Original Message-
From: Jerry Ford [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 2:00 PM
To: Tomcat Users List
Subject: Re: mod_jk---still trying, getting closer


I use the mod_jk binary obtained from John Turner's how-to page, and 
the

httpd.conf and server.xml statements are the same as the statements in
the configurations several other people here have provided as examples,

I think.  I have also tried to follow John Turner's suggested 
confuguration statements.  

I've tried just about every combination of configurations that have 
been

suggested. It's possible that by now I have mixed up different people's
advice, but I don't know what needs to be changed.  

I don't know why JK2 is in there, other than the coyote packages that
are referenced in sever.xml.  But if I don't use those, what do I use?

I'm beginning to think mod_webapp.so is looking like my only hope of
getting Tomcat and Apache to work together.

Jerry

Jerry

Milt Epstein wrote:

  

On Wed, 25 Dec 2002, Jerry Ford wrote:

 



John:

Sorry, I had changed ajp13 to worker1 in trying to emulate Denise's
working setup, but that didn't do any good so I changed it back and 
inadvertently put the dot in. But it doesn't matter, it doesn't work 
either way.
   

  

One 

RE: Yes!!! It works!!! (was: Re: mod_jk---still trying, getting closer)

2002-12-27 Thread Denise Mangano
Justin - 

Any thoughts on why that did the trick?  As I mentioned, those directives
are not commented out on my config, but it works?? Just curious is all...

Thanks!

Denise 


-Original Message-
From: Justin L. Spies [mailto:[EMAIL PROTECTED]] 
Sent: Friday, December 27, 2002 10:01 AM
To: 'Tomcat Users List'
Subject: RE: Yes!!! It works!!! (was: Re: mod_jk---still trying, getting
closer)


This was a message I thought I had sent to the list, but I somehow managed
to send it to Jerry directly...



Congratulations Jerry!  Glad to hear that you've got a working system now!

Just for the benefit of the other list members out there, the pieces we
commented out were the following:
  !-- This listener was immediately 
 after the Server port=... directive. --
  !-- Listener className=org.apache.ajp.tomcat4.config.ApacheConfig 
  modJk=/usr/local/webserver/apache/libexec/mod_jk.so 
  jkDebug=debug 
 
workersConfig=/usr/local/webserver/tomcat/conf/jk/workers.properties 
  jkLog=/usr/local/webserver/tomcat/logs/mod_jk.log/ --

  ---   AND   ---
!-- This listener was immediately after the Host name=... 
 directive inside of the Server port=... directive.
--
!-- Listener className=org.apache.ajp.tomcat4.config.ApacheConfig
append=true 
  forwardAll=false/ --


Has anyone else out there had good experience setting up the Apache auto
configuration?


Sincerely,
Pantek Incorporated
Justin L. Spies

URI: http://www.pantek.com
Ph   440.519.1802
Fax  440.248.5274
Cell 440.336.3317 

-Original Message-
From: Jerry Ford [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, December 26, 2002 5:31 PM
To: Justin L. Spies
Cc: 'Tomcat Users List'; [EMAIL PROTECTED]
Subject: Yes!!! It works!!! (was: Re: mod_jk---still trying, getting
closer)


Justin, I owe you a beer...

I removed the two listener statements that you commented out in my  
server.xml file and now servlets work from Apache without a port setting.  

Thank you thank you thank you.  

(And thanks to everyone else who put up with my whining over the past 
few days and offered help---especially Denise, John, and Jeff :)

(BTW, it's academic now, but, yes, on my box tomcat is a symbolic link 
to jakarta-tomcat-4.1.12-LE-jdk14.)

Jerry

Justin L. Spies wrote:

Jerry,
I've updated and simplified the configuration files that you supplied
previously.  Any changes I made are denoted by the following:
  NOTE NOTE NOTE NOTE

These changes cause your system to have the same config that I first
used to get my system working.  I'm not sure about your directory 
structure and whether or not you have symlinks setup, however I did 
notice that in some of the configuration files you were using two 
different directories that should point to the same directories.  Here 
is an example from httpd.conf:

You had the following for the JkWorkersFile:
JkWorkersFile
/usr/local/webserver/jakarta-tomcat-4.1.12-LE-jdk14/conf/jk/workers.pr
o
perties

But just below that you had the following apache directive:
Directory /usr/local/webserver/tomcat/webapps/examples

These should be the same directory above the /conf directory and above
the /webapps directory.  On my system, I have tomcat installed in 
/var/tomcat4, so I have the following directives:

JkWorkersFile /var/tomcat4/conf/jk/workers.properties
  --  and  --
Directory /var/tomcat4/webapps/examples


See how they are the same first two?  /conf and /webapps should be a
subdirectory of /tomcat4 (in my case) or /tomcat (in your case), unless

you have a symlink (in your case) from
/usr/local/webserver/jakarta-tomcat-4.1.12-LE-jdk14 to 
/usr/local/webserver/tomcat.  Does that make sense, or did I just 
completely confuse everyone?

Jerry, when you restart Apache and Tomcat, could you send us copies of
the apache error log and the tomcat catalina.out files?  Also, if you 
could confirm the directory structure, that would be a big help.

Sincerely,
Pantek Incorporated
Justin L. Spies

URI: http://www.pantek.com
Ph   440.519.1802
Fax  440.248.5274
Cell 440.336.3317




-Original Message-
From: Jerry Ford [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 2:00 PM
To: Tomcat Users List
Subject: Re: mod_jk---still trying, getting closer


I use the mod_jk binary obtained from John Turner's how-to page, and
the

httpd.conf and server.xml statements are the same as the statements in 
the configurations several other people here have provided as examples,

I think.  I have also tried to follow John Turner's suggested
confuguration statements.  

I've tried just about every combination of configurations that have
been

suggested. It's possible that by now I have mixed up different people's 
advice, but I don't know what needs to be changed.

I don't know why JK2 is in there, other than the coyote packages that 
are referenced in sever.xml.  But if I don't use those, what do I use?

I'm beginning to think mod_webapp.so is looking 

RE: Yes!!! It works!!! (was: Re: mod_jk---still trying, getting closer)

2002-12-27 Thread Justin L. Spies
Denise,
I'm not sure what the difference is between the two systems.  I'm going
to try this again at home and see what I can come up with.  I'll let you
know.

Sincerely,
Pantek Incorporated
Justin L. Spies

URI: http://www.pantek.com
Ph   440.519.1802
Fax  440.248.5274
Cell 440.336.3317



-Original Message-
From: Denise Mangano [mailto:[EMAIL PROTECTED]] 
Sent: Friday, December 27, 2002 10:09 AM
To: 'Tomcat Users List'
Subject: RE: Yes!!! It works!!! (was: Re: mod_jk---still trying, getting
closer)


Justin - 

Any thoughts on why that did the trick?  As I mentioned, those
directives are not commented out on my config, but it works?? Just
curious is all...

Thanks!

Denise 


-Original Message-
From: Justin L. Spies [mailto:[EMAIL PROTECTED]] 
Sent: Friday, December 27, 2002 10:01 AM
To: 'Tomcat Users List'
Subject: RE: Yes!!! It works!!! (was: Re: mod_jk---still trying, getting
closer)


This was a message I thought I had sent to the list, but I somehow
managed to send it to Jerry directly...



Congratulations Jerry!  Glad to hear that you've got a working system
now!

Just for the benefit of the other list members out there, the pieces we
commented out were the following:
  !-- This listener was immediately 
 after the Server port=... directive. --
  !-- Listener className=org.apache.ajp.tomcat4.config.ApacheConfig 
  modJk=/usr/local/webserver/apache/libexec/mod_jk.so 
  jkDebug=debug 
 
workersConfig=/usr/local/webserver/tomcat/conf/jk/workers.properties 
  jkLog=/usr/local/webserver/tomcat/logs/mod_jk.log/ --

  ---   AND   ---
!-- This listener was immediately after the Host name=... 
 directive inside of the Server port=... directive.
--
!-- Listener
className=org.apache.ajp.tomcat4.config.ApacheConfig
append=true 
  forwardAll=false/ --


Has anyone else out there had good experience setting up the Apache auto
configuration?


Sincerely,
Pantek Incorporated
Justin L. Spies

URI: http://www.pantek.com
Ph   440.519.1802
Fax  440.248.5274
Cell 440.336.3317 

-Original Message-
From: Jerry Ford [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, December 26, 2002 5:31 PM
To: Justin L. Spies
Cc: 'Tomcat Users List'; [EMAIL PROTECTED]
Subject: Yes!!! It works!!! (was: Re: mod_jk---still trying, getting
closer)


Justin, I owe you a beer...

I removed the two listener statements that you commented out in my  
server.xml file and now servlets work from Apache without a port
setting.  

Thank you thank you thank you.  

(And thanks to everyone else who put up with my whining over the past 
few days and offered help---especially Denise, John, and Jeff :)

(BTW, it's academic now, but, yes, on my box tomcat is a symbolic link 
to jakarta-tomcat-4.1.12-LE-jdk14.)

Jerry

Justin L. Spies wrote:

Jerry,
I've updated and simplified the configuration files that you supplied 
previously.  Any changes I made are denoted by the following:
  NOTE NOTE NOTE NOTE

These changes cause your system to have the same config that I first 
used to get my system working.  I'm not sure about your directory 
structure and whether or not you have symlinks setup, however I did 
notice that in some of the configuration files you were using two 
different directories that should point to the same directories.  Here 
is an example from httpd.conf:

You had the following for the JkWorkersFile:
JkWorkersFile 
/usr/local/webserver/jakarta-tomcat-4.1.12-LE-jdk14/conf/jk/workers.pr
o
perties

But just below that you had the following apache directive:
Directory /usr/local/webserver/tomcat/webapps/examples

These should be the same directory above the /conf directory and above 
the /webapps directory.  On my system, I have tomcat installed in 
/var/tomcat4, so I have the following directives:

JkWorkersFile /var/tomcat4/conf/jk/workers.properties
  --  and  --
Directory /var/tomcat4/webapps/examples


See how they are the same first two?  /conf and /webapps should be a 
subdirectory of /tomcat4 (in my case) or /tomcat (in your case), unless

you have a symlink (in your case) from 
/usr/local/webserver/jakarta-tomcat-4.1.12-LE-jdk14 to 
/usr/local/webserver/tomcat.  Does that make sense, or did I just 
completely confuse everyone?

Jerry, when you restart Apache and Tomcat, could you send us copies of 
the apache error log and the tomcat catalina.out files?  Also, if you 
could confirm the directory structure, that would be a big help.

Sincerely,
Pantek Incorporated
Justin L. Spies

URI: http://www.pantek.com
Ph   440.519.1802
Fax  440.248.5274
Cell 440.336.3317




-Original Message-
From: Jerry Ford [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 2:00 PM
To: Tomcat Users List
Subject: Re: mod_jk---still trying, getting closer


I use the mod_jk binary obtained from John Turner's how-to page, and 
the

httpd.conf and server.xml statements are the same as the statements in
the configurations several other 

Re: Security Configuration in WEB.XML

2002-12-27 Thread Lior Shliechkorn

Thank you Gary, I will check these links out. Have a happy new year.
 Gary Gwin [EMAIL PROTECTED] wrote:Lior,

It looks like you have short-circuited Tomcat's security model and 
created your own. We have a Tomcat Security Overview and Analysis that 
might be of help at:

http://www.cafesoft.com/products/cams/tomcat-security.html

You might also reference the security section of the the servlet JSR:

http://www.jcp.org/aboutJava/communityprocess/first/jsr053/

Gary

Lior Shliechkorn wrote:

Hello,

I'm a bit confused about the whole security implementation in Tomcat. I'm using a 
webapp that has a Login.html page that posts information to a servlet that queries a 
database to authenticate the user. The values are then set into a bean, and each page 
checks the existance of the bean in order to enter that page.

If I want to add additional security, what would I do in the WEB.XML page in order to 
have it secured by tomcat? 

Thanks,

Lior



-
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now
 


-- 

Gary Gwin
http://www.cafesoft.com

*
* *
* The Cafesoft Access Management System, Cams, is security *
* software that provides single sign-on authentication and *
* centralized access control for Apache, Tomcat, and custom *
* resources. *
* *
*



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



-
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now


SSL and Non-SSL Pages

2002-12-27 Thread afterz
Hello, I'm starting to use SSL in tomcat and I want to know
 if there is a way to tell wich pages (html, jsp, servlet,
 ...) can be accessed only through http, or https, or both.

Thanks.
Ricardo Costa.

Don't E-Mail, ZipMail! http://www.zipmail.com/

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




Configuring context docPaths

2002-12-27 Thread Myles M
I am trying to get Tomcat configured to allow access to pages stored in a 
location other than the webapps directory path. I am running tomcat 
4.0.1-227 under suse 8.0. The location that I am trying to access is 
/common/webs. Files in this location are displayable from Apache, but, not 
Tomcat. I added the following context directive within the host directive for 
local host and directly below the TOMCAT ROOT CONTEXT  directive.

  Context path=/pages docBase=pages debug=0
   reloadable=true
Logger className=org.apache.catalina.logger.FileLogger
prefix=pages_log. suffix=.txt
timestamp=true/
  /Context

I created a symbolic link to the directory within /opt/jakarta/webapps. I have 
checked the permissions to the directory and all its children, world has 
read, write and execute. By the way, I didn't really intend on using a link, 
but, thought that this way would be easier than maybe (???) having to create 
a new virtual host which I really don't want to do. I am a DB developer not 
an infrastructure expert. All I want to do is get a working environment with 
Apache and Tomcat.

Please help, I am really frustrated with this stuff. I have been fighting it 
for months.

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




RE: Configuring context docPaths

2002-12-27 Thread PELOQUIN,JEFFREY (HP-Boise,ex1)
make docBase=/common/webs  

-Original Message-
From: Myles M [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 27, 2002 10:27 AM
To: [EMAIL PROTECTED]
Subject: Configuring context docPaths


I am trying to get Tomcat configured to allow access to pages stored in a 
location other than the webapps directory path. I am running tomcat 
4.0.1-227 under suse 8.0. The location that I am trying to access is 
/common/webs. Files in this location are displayable from Apache, but, not

Tomcat. I added the following context directive within the host directive
for 
local host and directly below the TOMCAT ROOT CONTEXT  directive.

  Context path=/pages docBase=pages debug=0
   reloadable=true
Logger className=org.apache.catalina.logger.FileLogger
prefix=pages_log. suffix=.txt
timestamp=true/
  /Context

I created a symbolic link to the directory within /opt/jakarta/webapps. I
have 
checked the permissions to the directory and all its children, world has 
read, write and execute. By the way, I didn't really intend on using a link,

but, thought that this way would be easier than maybe (???) having to create

a new virtual host which I really don't want to do. I am a DB developer not 
an infrastructure expert. All I want to do is get a working environment with

Apache and Tomcat.

Please help, I am really frustrated with this stuff. I have been fighting it

for months.

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

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




Re: Configuring context docPaths

2002-12-27 Thread Myles M
Thank you that solved it. Now I feel really stupid because that is the way I 
had it before I created the symbolic link.

 make docBase=/common/webs

 -Original Message-
 From: Myles M [mailto:[EMAIL PROTECTED]]
 Sent: Friday, December 27, 2002 10:27 AM
 To: [EMAIL PROTECTED]
 Subject: Configuring context docPaths


 I am trying to get Tomcat configured to allow access to pages stored in a
 location other than the webapps directory path. I am running tomcat
 4.0.1-227 under suse 8.0. The location that I am trying to access is
 /common/webs. Files in this location are displayable from Apache, but,
 not

 Tomcat. I added the following context directive within the host directive
 for
 local host and directly below the TOMCAT ROOT CONTEXT  directive.

   Context path=/pages docBase=pages debug=0
reloadable=true
 Logger className=org.apache.catalina.logger.FileLogger
 prefix=pages_log. suffix=.txt
 timestamp=true/
   /Context

 I created a symbolic link to the directory within /opt/jakarta/webapps. I
 have
 checked the permissions to the directory and all its children, world has
 read, write and execute. By the way, I didn't really intend on using a
 link,

 but, thought that this way would be easier than maybe (???) having to
 create

 a new virtual host which I really don't want to do. I am a DB developer not
 an infrastructure expert. All I want to do is get a working environment
 with

 Apache and Tomcat.

 Please help, I am really frustrated with this stuff. I have been fighting
 it

 for months.


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




JK warning in Application Log

2002-12-27 Thread Tuan H. Le
Hi,

We see many of this warning (below) in W2K Application Log. Does anyone know the cause 
of generating this warning?

Type: Warning
Event ID: 2
Description:
Error: [jk_worker_ajp13.c (407)]: ajp13.service() ajpGetReply recoverable error 12


We are using IIS 5 with Tomcat 4.1.17 and isapi_redirector2.dll (160KB dated 
10/14/2002). IIS Web server and Tomcat are on two seperate hosts.


 workers2.properties

# Example socket channel, override port and host.
[channel.socket:adcapppro1:8009]
port=8009
host=adcapppro1


# define the worker
[ajp13:adcapppro1:8009]
channel=channel.socket:adcapppro1:8009


# Uri mapping. This says that any incoming connection to any file
# under /jetty/ should be handled the worker defined above

[uri:/examples/*]
worker=ajp13:adcapppro1:8009

[uri:/focaltool/*]
worker=ajp13:adcapppro1:8009

 end worker2.properties

 



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




Tomcat stability problem

2002-12-27 Thread Ben Glorie
We're running Tomcat 4.1.12 on a dual-proc PIII with 512MB RAM. The
application consists of 100,000+ HTML pages and approx. 100 jsp pages. We
get approx. 60,000 page views per day. Performance is fine, but occasionally
the system runs into the following problem:

- when you request a jsp page in the browser, there is a delay of 5-10
seconds, then the page is loaded into the browser
- even though the HTML code is complete and all images are visible, the
browser still appears to be loading something (load bar is creeping)
- then after approx. 30 seconds the loading stops (because of a page
timeout?)
- static HTML pages are not affected, they load as quickly as usual

Although the problem seems to happen more frequently on busy days, it does
not seem to be related to peak traffic: it has also happened at quiet times,
and sometimes within an hour after a Tomcat restart (up to 4 days after a
restart). Does anybody have any ideas on what is happening and how we can
solve it? Some configuration details:

- catalina.sh:
CATALINA_OPTS=-Xmx128M
(we've ordered more RAM, as soon as it has arrived we're planning to change
this to -Xmx512M

- server.xml:
Connector className=org.apache.coyote.tomcat4.CoyoteConnector
   port=80 minProcessors=10 maxProcessors=110
   enableLookups=true redirectPort=8443
   acceptCount=10 debug=0 connectionTimeout=1
   useURIValidationHack=false /

- web.xml (on public site):
session-config
 session-timeout10/session-timeout
/session-config

Thanks a lot for your help.


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




Re: Question - Form Validation

2002-12-27 Thread Gary Gwin
Denise,

Consider using the Jakarta Struts project. It is very popular and 
provides a framework for form validation and error handling.

   http://jakarta.apache.org/struts/

Gary

Denise Mangano wrote:

Hi all :)

I'm not sure if these types of questions belong is this list??  I've seen
people post JSP and/or servlet questions, so I am assuming they do... ?

I am trying to figure the best way to do form validation with JSP.  I have a
JSP with a form that calls another JSP to process that form and display the
result.  I would like to add an intermediary page that displays all the user
input before the information is processed.  Before I get to this
intermediary page I want to make sure all fields are filled out and each
field fits the format it should be.  If a field is missing or incorrect, I
would like the same page to be reloaded, with red text next to the field
that needs to be corrected.

Just wondering if anyone had any suggestions of the best way to handle this.

Denise Mangano

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

 


--

Gary Gwin
http://www.cafesoft.com

*
*   *
*   The Cafesoft Access Management System, Cams, is security*
*   software that provides single sign-on authentication and*
*   centralized access control for Apache, Tomcat, and custom   *
*   resources.  *
*   *
*



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




Hey Jeffrey

2002-12-27 Thread Gman

I still can't get Apache to run when I add the following lines.

# Configure mod_jk
#
#JkWorkersFile C:/Apache/conf/workers.properties--path to where I
placed the workers.properties file. 
#JkLogFile C:/Apache/apache/logs/mod_jk.log--path to where the log
files will and should be created. 
#JkLogLevel info--?

#JkMount /examples/* ajp13--?

George Flatman


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




RE: Hey Jeffrey

2002-12-27 Thread PELOQUIN,JEFFREY (HP-Boise,ex1)
You can try one of two things

place the workers and log files in C:\ as maybe there is some path problem.

or  

change the /'s to \'s.  usual apache does not care but maybe mod_jk does


were you able to run the apachectl configtest from the apache bin directory
or see any errors in the error log?

-Original Message-
From: Gman [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 27, 2002 11:22 AM
To: 'Tomcat Users List'
Subject: Hey Jeffrey



I still can't get Apache to run when I add the following lines.

# Configure mod_jk
#
#JkWorkersFile C:/Apache/conf/workers.properties--path to where I
placed the workers.properties file. 
#JkLogFile C:/Apache/apache/logs/mod_jk.log--path to where the log
files will and should be created. 
#JkLogLevel info--?

#JkMount /examples/* ajp13--?

George Flatman


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

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




Re: Tomcat stability problem

2002-12-27 Thread Torsten Fohrer

a simply performance switche for tomcat/jsp pages is the 
development init-param of jasper.

cu Torsten Fohrer

On Friday 27 December 2002 18:59, you wrote:
 We're running Tomcat 4.1.12 on a dual-proc PIII with 512MB RAM. The
 application consists of 100,000+ HTML pages and approx. 100 jsp pages. We
 get approx. 60,000 page views per day. Performance is fine, but
 occasionally the system runs into the following problem:

 - when you request a jsp page in the browser, there is a delay of 5-10
 seconds, then the page is loaded into the browser
 - even though the HTML code is complete and all images are visible, the
 browser still appears to be loading something (load bar is creeping)
 - then after approx. 30 seconds the loading stops (because of a page
 timeout?)
 - static HTML pages are not affected, they load as quickly as usual

 Although the problem seems to happen more frequently on busy days, it does
 not seem to be related to peak traffic: it has also happened at quiet
 times, and sometimes within an hour after a Tomcat restart (up to 4 days
 after a restart). Does anybody have any ideas on what is happening and how
 we can solve it? Some configuration details:

 - catalina.sh:
 CATALINA_OPTS=-Xmx128M
 (we've ordered more RAM, as soon as it has arrived we're planning to change
 this to -Xmx512M

 - server.xml:
 Connector className=org.apache.coyote.tomcat4.CoyoteConnector
port=80 minProcessors=10 maxProcessors=110
enableLookups=true redirectPort=8443
acceptCount=10 debug=0 connectionTimeout=1
useURIValidationHack=false /

 - web.xml (on public site):
 session-config
  session-timeout10/session-timeout
 /session-config

 Thanks a lot for your help.


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


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




RE: Hey Jeffrey

2002-12-27 Thread Gman
I was unable to get any of the apachectl configtest from the apache bin
directory, There were not any errors in the Apache error log, just the
normal startup and shutdown entries.

George Flatman

-Original Message-
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] 
Sent: Friday, December 27, 2002 10:38 AM
To: 'Tomcat Users List'
Subject: RE: Hey Jeffrey


You can try one of two things

place the workers and log files in C:\ as maybe there is some path
problem.

or  

change the /'s to \'s.  usual apache does not care but maybe mod_jk does


were you able to run the apachectl configtest from the apache bin
directory or see any errors in the error log?

-Original Message-
From: Gman [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 27, 2002 11:22 AM
To: 'Tomcat Users List'
Subject: Hey Jeffrey



I still can't get Apache to run when I add the following lines.

# Configure mod_jk
#
#JkWorkersFile C:/Apache/conf/workers.properties--path to where I
placed the workers.properties file. 
#JkLogFile C:/Apache/apache/logs/mod_jk.log--path to where the log
files will and should be created. 
#JkLogLevel info--?

#JkMount /examples/* ajp13--?

George Flatman


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

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


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




RE: Hey Jeffrey

2002-12-27 Thread PELOQUIN,JEFFREY (HP-Boise,ex1)
I went and stared at a computer that had an old version of apache on it.
there used to be a config test drop down you could access from the start
button on windows

Start -- Programs -- Apache Http Server -- Configure Apache Server --
Test Configuration

That should run a check of your http conf file for you.

Without some sort of error message it will be difficult to determine what is
wrong with the setup.  

-Original Message-
From: Gman [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 27, 2002 12:20 PM
To: 'Tomcat Users List'
Subject: RE: Hey Jeffrey


I was unable to get any of the apachectl configtest from the apache bin
directory, There were not any errors in the Apache error log, just the
normal startup and shutdown entries.

George Flatman

-Original Message-
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] 
Sent: Friday, December 27, 2002 10:38 AM
To: 'Tomcat Users List'
Subject: RE: Hey Jeffrey


You can try one of two things

place the workers and log files in C:\ as maybe there is some path
problem.

or  

change the /'s to \'s.  usual apache does not care but maybe mod_jk does


were you able to run the apachectl configtest from the apache bin
directory or see any errors in the error log?

-Original Message-
From: Gman [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 27, 2002 11:22 AM
To: 'Tomcat Users List'
Subject: Hey Jeffrey



I still can't get Apache to run when I add the following lines.

# Configure mod_jk
#
#JkWorkersFile C:/Apache/conf/workers.properties--path to where I
placed the workers.properties file. 
#JkLogFile C:/Apache/apache/logs/mod_jk.log--path to where the log
files will and should be created. 
#JkLogLevel info--?

#JkMount /examples/* ajp13--?

George Flatman


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

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


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

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




RE: FW: Incomplete shutdown of the java processes in Linux

2002-12-27 Thread John McNeill
Thank you, Jeff.  I added that line to our log writer Thread and it did
the job.

-Original Message-
From: Jeff Tulley [mailto:[EMAIL PROTECTED]] 
Sent: Monday, December 23, 2002 6:06 PM
To: [EMAIL PROTECTED]
Subject: Re: FW: Incomplete shutdown of the java processes in Linux

So, I've seen this with some of our(Novell's) web applications.  What
happened with us is that a web application spawned off some sort of
utility thread, or daemon thread, without calling 
(thread).setDaemon(true);

From the javadoc for java.lang.Thread.setDaemon:
Marks this thread as either a daemon thread or a user thread. The Java
Virtual Machine exits when the only threads running are all daemon
threads

With this one line fix everywhere such a thread existed, Tomcat shut
down completely with the stop command.

Jeff Tulley  ([EMAIL PROTECTED])
(801)861-5322
Novell, Inc., the leading provider of Net business solutions
http://www.novell.com

 [EMAIL PROTECTED] 12/23/02 3:49:36 PM 
On the Linux box we use for testing, we have a Tomcat 4.1.12 instance
that
controls two custom webapps and a manager app.  The Tomcat process
starts up
fine when I use startup.sh, generating some 35 java ... start
processes in
my ps list.  However, when I attempt to stop the Tomcat process with
shutdown.sh, about 10 of the java processes do not die, particularly
the
parent process.  I must find the parent process and kill it
specifically to
completely stop the Tomcat.

 

The 10 processes are identified as running when I look for them with ps
-r.
I can run startup.sh again while they remain on the ps list and a new
Tomcat
instance is started.  Unhappily, if I do this too often, I use up all
the
processes on the box.

 

We have a second Tomcat 4.1.12 instance on the same Linux box that
responds
to shutdown.sh perfectly.

 

Has anybody an idea of why this is happening and how I can fix it
before we
move the application into production?

 

Thanks.

Athens Group
Experience. Technology. Results.
---

John McNeill
Athens Group Inc.
5608 Parkcrest Dr., Ste. 200
Austin, TX 78731

Voice: 512.345.0600, ext. 135
Fax: 512.345.4088
Email: [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] 
Web:  http://www.athensgroup.com/ http://www.athensgroup.com 

 


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


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




Struts - XML/XSL

2002-12-27 Thread Puneet Agarwal
I know that this topic has been dicsussed in this forum a number 
of times.
I came to know this from mail archives, but my question still 
remains unanswered.

In our application we have to generate some XML documents apart 
from HTML screens.
The intent here is to send these XML documents to a Swing client 
through a socket.

there is also a possibility that some of the screens may be 
required in both HTML and Swing.

I have been searching for information on this for past few days.

one of the nice option that I cam acorss is described on URL

http://www.javaworld.com/javaworld/jw-02-2002/jw-0201-strutsxslt.html

while going through the struts mail archives, I came acorss a mail 
written by Craig on 06/12/2000

the mail can be accessed on link

http://www.servlets.com/archive/servlet/ReadMsg?msgId=18247listName=struts-dev

Here Craig talks about developing some facility within struts 
which could do the same.

Does struts have such a facility.

Would be grateful if someone cuold give some tips/links, which 
could help me in deciding as what is the best option.


Regards
Puneet Agarwal

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



Remote access to Tomcat's naming service

2002-12-27 Thread John Paliwoda
Does anyone know how to get an InitialContext to Tomcat's naming service from outside 
of Tomcat's JVM? The documentation only describes how to get it from within Tomcat. I 
imagine it will look something like the following:

Hashtable env = new Hashtable(); 
env.put(java.naming.factory.initial, com.sun.jndi.cosnaming.CNCtxFactory); 
env.put(java.naming.provider.url, iiop://localhost:1091); 
Context ic = new InitialContext(env);

Also, is there a way to use Tomcat's naming service to hold references to remote 
objects? That is, can I have a class that inherits UnicastRemoteObject or 
PortableRemoteObject with a stub (created with rmic) in a Tomcat JVM and have it 
executed from outside of Tomcat?
Thanks,
John

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




Re: How to config mod_jk2 jni with JVM ?

2002-12-27 Thread Anthony Marlowe
Hi Gery,

How is your workers2.properties and jk2.properties setup?

Here is a excerpt from my Apache2 error_log:

[Fri Dec 27 13:47:31 2002] [notice] workerEnv.init() ok  
/Library/Apache2/conf/workers2.properties
[Fri Dec 27 13:47:31 2002] [error] mod_jk child init 1 -2 can be ignored
[Fri Dec 27 13:47:31 2002] [notice] Loaded  
org/apache/jk/apr/TomcatStarter
[Fri Dec 27 13:47:31 2002] [notice] jni.init() setting  
stdout=/Library/Apache2/logs/stdout.log...
[Fri Dec 27 13:47:31 2002] [notice] jni.init() setting  
stderr=/Library/Apache2/logs/stderr.log...
[Fri Dec 27 13:47:31 2002] [notice] jni.init() ARG start
[Fri Dec 27 13:47:31 2002] [notice] jni.init() calling main()...
[Fri Dec 27 13:47:31 2002] [notice] jni.validate() class=  
org/apache/jk/apr/TomcatStarter
[Fri Dec 27 13:47:31 2002] [notice] Loaded  
org/apache/jk/apr/TomcatStarter

Apache2  stderr.log and stdout.log

TomcatStarter: main()
Try  org.apache.tomcat.startup.Main
Try  org.apache.catalina.startup.BootstrapService
Starting org.apache.catalina.startup.BootstrapService
Created catalinaLoader in:  
/Volumes/Java_Development/jakarta-tomcat-4.1.18/server/lib
[INFO] Registry - -Loading registry information
[INFO] Registry - -Creating new Registry instance
[INFO] Registry - -Creating MBeanServer
[INFO] AprImpl - -JK2: Initialized apr
[INFO] ChannelJni - -JK2: listening on channel.jni:jni
[INFO] ChannelSocket - -JK2: ajp13 listening on 0.0.0.0/0.0.0.0:8009
[INFO] JkMain - -Jk running ID=0 time=4/111   
config=/Volumes/Java_Development/jakarta-tomcat-4.1.18/conf/ 
jk2.properties

Bootstrap: Create Catalina server
StandardEngine[Tomcat-Apache]: setJvmRoute=jvm1
Bootstrap: Starting service
Starting service Tomcat-Apache
Apache Tomcat/4.1.18
Bootstrap: Service started
TomcatStarter: Done
Server 1.6 is running
Press [Ctrl]+[C] to abort
Bootstrap: Stopping service
Stopping service Tomcat-Apache
Bootstrap: Service stopped
TomcatStarter: Done

Regards,

Tony






On Friday, Dec 27, 2002, at 15:19 Europe/Berlin, Gery Kahn wrote:

Anthony Marlowe wrote:

Hi Gery,[Fri Dec 27 13:47:31 2002] [notice] workerEnv.init() ok  
/Library/Apache2/conf/workers2.properties



I using Apache 2.0.43 with mod_jk2 and tomcat 4.1.18
You need to set the following in your workers2.properties:
[vm:]
info=Parameters used to load a JVM in the server process
JVM=this has to point to your JVM. you will probably need the  
complete  patch and not $JAVA_HOME...
OPT=-Djava.class.path=/Volumes/Java_Development/jakarta-tomcat- 
4.1.18/  
bin/tomcat-jni.jar:/Volumes/Java_Development/jakarta-tomcat-4.1.18/ 
bin/  
bootstrap.jar:/Volumes/Java_Development/jakarta-tomcat-4.1.18/server/  
lib/commons-logging.jar
OPT=-Dtomcat.home=/Volumes/Java_Development/jakarta-tomcat-4.1.18
OPT=-Dcatalina.home=/Volumes/Java_Development/jakarta-tomcat-4.1.18
OPT=-Xmx256M
#OPT=-Djava.compiler=NONE
disabled=0
Regards,
Tony
On Friday, Dec 27, 2002, at 13:39 Europe/Berlin, Gery Kahn wrote:
I have linux redhat 7.3, tomcat 4.1.17, apache 1.3.27 with mod_jk2
and jdk 1.4.1_01

How am i configure jni with JVM?
My apache refuses to startup JVM ?



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

--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:  
mailto:[EMAIL PROTECTED]
i did like you said and got jk2.log with follows :

[Fri Dec 27 16:17:53 2002] ( info ) [jk_vm_default.c (500)]   
vm.init(): Jni lib:  
/usr/java/j2sdk1.4.1_01/jre/lib/i386/client/libjvm.so
[Fri Dec 27 16:17:53 2002] (emerg ) [jk_vm_default.c (600)]  Fail-  
could not create JVM, code: -1



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



RE: Building jakarta-tomcat-connectors-jk-1.2.2-src

2002-12-27 Thread Turner, John

Actually, there are numerous fixes to Apache from .40 to .43.  The solution
isn't Red Hat packaging Tomcat, but packaging an appropriate version of
Apache.  

If you're building a production server, I wouldn't run .40.

John

-Original Message-
From: Hans Deragon [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, December 26, 2002 6:12 PM
To: [EMAIL PROTECTED]
Subject: Building jakarta-tomcat-connectors-jk-1.2.2-src

Greetings.


  I get the following error when I try to build 
jakarta-tomcat-connectors-jk-1.2.2-src

--
Buildfile: build.xml

BUILD FAILED

/perm/web/jakarta-tomcat-connectors-jk-1.2.2-src/jk/build.xml:383: Class 
org.apache.tools.ant.taskdefs.condition.Not doesn't support the nested 
isset element.

Total time: 3 seconds
--

BTW, the configuration file asks where apache is installed... What 
should I provide, when it is the official RPM from RedHat I use? The bin 
directory?

Anybody has mod_jk binary for RedHat' s Apache 2.0.40?  When I try the 
binary for 2.0.42 I downloaded (could not find the binary for 2.0.40), I 
get the message:

--
Starting httpd: httpd: module mod_jk.c is not compatible with this 
version of Apache.
Please contact the vendor for the correct version.
--



Sigh... it would be so much simpler if RedHat would package Tomcat with 
their distribution...


Sincerely,
Hans Deragon

P.S.  Thanks to Jeffrey Peloquin for some pointers.
||


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

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.419 / Virus Database: 235 - Release Date: 11/13/2002
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.419 / Virus Database: 235 - Release Date: 11/13/2002
 

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




RE: Yes!!! It works!!! (was: Re: mod_jk---still trying, getting closer)

2002-12-27 Thread Turner, John

That tells me that your virtual hosting configuration was messed up.

That is, the URL you were trying (http://localhost) wasn't the URL that
Apache was using to find JkMount statements, or vice versa, or the virtual
host that Apache was using didn't match the virtual host that Tomcat was
expecting.

John


-Original Message-
From: Jerry Ford [mailto:[EMAIL PROTECTED]] 
Sent: Friday, December 27, 2002 12:07 PM
To: Tomcat Users List
Subject: Re: Yes!!! It works!!! (was: Re: mod_jk---still trying, getting
closer)

Just to clarify one point for the benefit of the list:

Justin L. Spies wrote:

This was a message I thought I had sent to the list, but I somehow
managed to send it to Jerry directly...



Congratulations Jerry!  Glad to hear that you've got a working system
now!

Just for the benefit of the other list members out there, the pieces we
commented out were the following:
  !-- This listener was immediately 
after the Server port=... directive. --
  !-- Listener className=org.apache.ajp.tomcat4.config.ApacheConfig 
  modJk=/usr/local/webserver/apache/libexec/mod_jk.so 
  jkDebug=debug 
 
workersConfig=/usr/local/webserver/tomcat/conf/jk/workers.properties 
  jkLog=/usr/local/webserver/tomcat/logs/mod_jk.log/ --

  ---   AND   ---
!-- This listener was immediately after the Host name=... 
directive inside of the Server port=... directive.
--
!-- Listener
className=org.apache.ajp.tomcat4.config.ApacheConfig append=true 
  forwardAll=false/ --


Has anyone else out there had good experience setting up the Apache auto
configuration?

  

The changes (commenting out the listener directives) make my system work 
when mod_jk directives are manually added to httpd.conf, *not* through 
auto conf.  There is no include .../conf/auto/mod_jk.conf statement in 
my httpd.conf, all mod_jk references are inline.

Sincerely,
Pantek Incorporated
Justin L. Spies

URI: http://www.pantek.com
Ph   440.519.1802
Fax  440.248.5274
Cell 440.336.3317 

-Original Message-
From: Jerry Ford [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, December 26, 2002 5:31 PM
To: Justin L. Spies
Cc: 'Tomcat Users List'; [EMAIL PROTECTED]
Subject: Yes!!! It works!!! (was: Re: mod_jk---still trying, getting
closer)


Justin, I owe you a beer...

I removed the two listener statements that you commented out in my  
server.xml file and now servlets work from Apache without a port
setting.  

Thank you thank you thank you.  

(And thanks to everyone else who put up with my whining over the past 
few days and offered help---especially Denise, John, and Jeff :)

(BTW, it's academic now, but, yes, on my box tomcat is a symbolic link 
to jakarta-tomcat-4.1.12-LE-jdk14.)

Jerry

Justin L. Spies wrote:

  

Jerry,
I've updated and simplified the configuration files that you supplied 
previously.  Any changes I made are denoted by the following:
 NOTE NOTE NOTE NOTE

These changes cause your system to have the same config that I first 
used to get my system working.  I'm not sure about your directory 
structure and whether or not you have symlinks setup, however I did 
notice that in some of the configuration files you were using two 
different directories that should point to the same directories.  Here 
is an example from httpd.conf:

You had the following for the JkWorkersFile:
JkWorkersFile 
/usr/local/webserver/jakarta-tomcat-4.1.12-LE-jdk14/conf/jk/workers.pr
o
perties

But just below that you had the following apache directive:
   Directory /usr/local/webserver/tomcat/webapps/examples

These should be the same directory above the /conf directory and above 
the /webapps directory.  On my system, I have tomcat installed in 
/var/tomcat4, so I have the following directives:

JkWorkersFile /var/tomcat4/conf/jk/workers.properties
 --  and  --
   Directory /var/tomcat4/webapps/examples


See how they are the same first two?  /conf and /webapps should be a 
subdirectory of /tomcat4 (in my case) or /tomcat (in your case), unless



  

you have a symlink (in your case) from 
/usr/local/webserver/jakarta-tomcat-4.1.12-LE-jdk14 to 
/usr/local/webserver/tomcat.  Does that make sense, or did I just 
completely confuse everyone?

Jerry, when you restart Apache and Tomcat, could you send us copies of 
the apache error log and the tomcat catalina.out files?  Also, if you 
could confirm the directory structure, that would be a big help.

Sincerely,
Pantek Incorporated
Justin L. Spies

URI: http://www.pantek.com
Ph   440.519.1802
Fax  440.248.5274
Cell 440.336.3317




-Original Message-
From: Jerry Ford [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 2:00 PM
To: Tomcat Users List
Subject: Re: mod_jk---still trying, getting closer


I use the mod_jk binary obtained from John Turner's how-to page, and 
the

httpd.conf and server.xml statements are the same as the statements in
the configurations several other people here have provided as 

RE: Yes!!! It works!!! (was: Re: mod_jk---still trying, getting closer)

2002-12-27 Thread Turner, John

That's the only way I run it.  I can't imagine that the auto-generation was
the culprit.  If it was, it was due to another problem that compounded the
issue.

John


-Original Message-
From: Justin L. Spies [mailto:[EMAIL PROTECTED]] 
Sent: Friday, December 27, 2002 10:01 AM
To: 'Tomcat Users List'
Subject: RE: Yes!!! It works!!! (was: Re: mod_jk---still trying, getting
closer)

This was a message I thought I had sent to the list, but I somehow
managed to send it to Jerry directly...



Congratulations Jerry!  Glad to hear that you've got a working system
now!

Just for the benefit of the other list members out there, the pieces we
commented out were the following:
  !-- This listener was immediately 
 after the Server port=... directive. --
  !-- Listener className=org.apache.ajp.tomcat4.config.ApacheConfig 
  modJk=/usr/local/webserver/apache/libexec/mod_jk.so 
  jkDebug=debug 
 
workersConfig=/usr/local/webserver/tomcat/conf/jk/workers.properties 
  jkLog=/usr/local/webserver/tomcat/logs/mod_jk.log/ --

  ---   AND   ---
!-- This listener was immediately after the Host name=... 
 directive inside of the Server port=... directive.
--
!-- Listener
className=org.apache.ajp.tomcat4.config.ApacheConfig append=true 
  forwardAll=false/ --


Has anyone else out there had good experience setting up the Apache auto
configuration?


Sincerely,
Pantek Incorporated
Justin L. Spies

URI: http://www.pantek.com
Ph   440.519.1802
Fax  440.248.5274
Cell 440.336.3317 

-Original Message-
From: Jerry Ford [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, December 26, 2002 5:31 PM
To: Justin L. Spies
Cc: 'Tomcat Users List'; [EMAIL PROTECTED]
Subject: Yes!!! It works!!! (was: Re: mod_jk---still trying, getting
closer)


Justin, I owe you a beer...

I removed the two listener statements that you commented out in my  
server.xml file and now servlets work from Apache without a port
setting.  

Thank you thank you thank you.  

(And thanks to everyone else who put up with my whining over the past 
few days and offered help---especially Denise, John, and Jeff :)

(BTW, it's academic now, but, yes, on my box tomcat is a symbolic link 
to jakarta-tomcat-4.1.12-LE-jdk14.)

Jerry

Justin L. Spies wrote:

Jerry,
I've updated and simplified the configuration files that you supplied 
previously.  Any changes I made are denoted by the following:
  NOTE NOTE NOTE NOTE

These changes cause your system to have the same config that I first 
used to get my system working.  I'm not sure about your directory 
structure and whether or not you have symlinks setup, however I did 
notice that in some of the configuration files you were using two 
different directories that should point to the same directories.  Here 
is an example from httpd.conf:

You had the following for the JkWorkersFile:
JkWorkersFile 
/usr/local/webserver/jakarta-tomcat-4.1.12-LE-jdk14/conf/jk/workers.pr
o
perties

But just below that you had the following apache directive:
Directory /usr/local/webserver/tomcat/webapps/examples

These should be the same directory above the /conf directory and above 
the /webapps directory.  On my system, I have tomcat installed in 
/var/tomcat4, so I have the following directives:

JkWorkersFile /var/tomcat4/conf/jk/workers.properties
  --  and  --
Directory /var/tomcat4/webapps/examples


See how they are the same first two?  /conf and /webapps should be a 
subdirectory of /tomcat4 (in my case) or /tomcat (in your case), unless

you have a symlink (in your case) from 
/usr/local/webserver/jakarta-tomcat-4.1.12-LE-jdk14 to 
/usr/local/webserver/tomcat.  Does that make sense, or did I just 
completely confuse everyone?

Jerry, when you restart Apache and Tomcat, could you send us copies of 
the apache error log and the tomcat catalina.out files?  Also, if you 
could confirm the directory structure, that would be a big help.

Sincerely,
Pantek Incorporated
Justin L. Spies

URI: http://www.pantek.com
Ph   440.519.1802
Fax  440.248.5274
Cell 440.336.3317




-Original Message-
From: Jerry Ford [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 2:00 PM
To: Tomcat Users List
Subject: Re: mod_jk---still trying, getting closer


I use the mod_jk binary obtained from John Turner's how-to page, and 
the

httpd.conf and server.xml statements are the same as the statements in
the configurations several other people here have provided as examples,

I think.  I have also tried to follow John Turner's suggested 
confuguration statements.  

I've tried just about every combination of configurations that have 
been

suggested. It's possible that by now I have mixed up different people's
advice, but I don't know what needs to be changed.  

I don't know why JK2 is in there, other than the coyote packages that
are referenced in sever.xml.  But if I don't use those, what do I use?

I'm beginning to think mod_webapp.so is looking like 

RE: Yes!!! It works!!! (was: Re: mod_jk---still trying, getting c loser)

2002-12-27 Thread Turner, John

My guess is the virtual hosting configuration was messed up somehow.
Couldn't say more without trying the problem config files on one of my
systems, but I don't have the time right now to do it.

The auto-generation works like a charm, I can attest to that as can others.

AFAIK, the only way using auto-gen would cause JK NOT to work is if the
auto-gen was generating Apache VirtualHost containers and JkMount statements
that didn't apply, weren't used, or were overridden somehow with other
configuration directives in httpd.conf.

John


-Original Message-
From: Denise Mangano [mailto:[EMAIL PROTECTED]] 
Sent: Friday, December 27, 2002 10:09 AM
To: 'Tomcat Users List'
Subject: RE: Yes!!! It works!!! (was: Re: mod_jk---still trying, getting c
loser)

Justin - 

Any thoughts on why that did the trick?  As I mentioned, those directives
are not commented out on my config, but it works?? Just curious is all...

Thanks!

Denise 


-Original Message-
From: Justin L. Spies [mailto:[EMAIL PROTECTED]] 
Sent: Friday, December 27, 2002 10:01 AM
To: 'Tomcat Users List'
Subject: RE: Yes!!! It works!!! (was: Re: mod_jk---still trying, getting
closer)


This was a message I thought I had sent to the list, but I somehow managed
to send it to Jerry directly...



Congratulations Jerry!  Glad to hear that you've got a working system now!

Just for the benefit of the other list members out there, the pieces we
commented out were the following:
  !-- This listener was immediately 
 after the Server port=... directive. --
  !-- Listener className=org.apache.ajp.tomcat4.config.ApacheConfig 
  modJk=/usr/local/webserver/apache/libexec/mod_jk.so 
  jkDebug=debug 
 
workersConfig=/usr/local/webserver/tomcat/conf/jk/workers.properties 
  jkLog=/usr/local/webserver/tomcat/logs/mod_jk.log/ --

  ---   AND   ---
!-- This listener was immediately after the Host name=... 
 directive inside of the Server port=... directive.
--
!-- Listener className=org.apache.ajp.tomcat4.config.ApacheConfig
append=true 
  forwardAll=false/ --


Has anyone else out there had good experience setting up the Apache auto
configuration?


Sincerely,
Pantek Incorporated
Justin L. Spies

URI: http://www.pantek.com
Ph   440.519.1802
Fax  440.248.5274
Cell 440.336.3317 

-Original Message-
From: Jerry Ford [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, December 26, 2002 5:31 PM
To: Justin L. Spies
Cc: 'Tomcat Users List'; [EMAIL PROTECTED]
Subject: Yes!!! It works!!! (was: Re: mod_jk---still trying, getting
closer)


Justin, I owe you a beer...

I removed the two listener statements that you commented out in my  
server.xml file and now servlets work from Apache without a port setting.  

Thank you thank you thank you.  

(And thanks to everyone else who put up with my whining over the past 
few days and offered help---especially Denise, John, and Jeff :)

(BTW, it's academic now, but, yes, on my box tomcat is a symbolic link 
to jakarta-tomcat-4.1.12-LE-jdk14.)

Jerry

Justin L. Spies wrote:

Jerry,
I've updated and simplified the configuration files that you supplied
previously.  Any changes I made are denoted by the following:
  NOTE NOTE NOTE NOTE

These changes cause your system to have the same config that I first
used to get my system working.  I'm not sure about your directory 
structure and whether or not you have symlinks setup, however I did 
notice that in some of the configuration files you were using two 
different directories that should point to the same directories.  Here 
is an example from httpd.conf:

You had the following for the JkWorkersFile:
JkWorkersFile
/usr/local/webserver/jakarta-tomcat-4.1.12-LE-jdk14/conf/jk/workers.pr
o
perties

But just below that you had the following apache directive:
Directory /usr/local/webserver/tomcat/webapps/examples

These should be the same directory above the /conf directory and above
the /webapps directory.  On my system, I have tomcat installed in 
/var/tomcat4, so I have the following directives:

JkWorkersFile /var/tomcat4/conf/jk/workers.properties
  --  and  --
Directory /var/tomcat4/webapps/examples


See how they are the same first two?  /conf and /webapps should be a
subdirectory of /tomcat4 (in my case) or /tomcat (in your case), unless

you have a symlink (in your case) from
/usr/local/webserver/jakarta-tomcat-4.1.12-LE-jdk14 to 
/usr/local/webserver/tomcat.  Does that make sense, or did I just 
completely confuse everyone?

Jerry, when you restart Apache and Tomcat, could you send us copies of
the apache error log and the tomcat catalina.out files?  Also, if you 
could confirm the directory structure, that would be a big help.

Sincerely,
Pantek Incorporated
Justin L. Spies

URI: http://www.pantek.com
Ph   440.519.1802
Fax  440.248.5274
Cell 440.336.3317




-Original Message-
From: Jerry Ford [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 2:00 PM
To: Tomcat 

RE: Building jakarta-tomcat-connectors-jk-1.2.2-src

2002-12-27 Thread joe_d_williams
Now you tell me, after I got mine working.

 Actually, there are numerous fixes to Apache
 from .40 to .43.  The solution
 isn't Red Hat packaging Tomcat, but packaging
 an appropriate version of
 Apache.  
 
 If you're building a production server, I
 wouldn't run .40.
 
 John

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




RE: Apache Tomcat configuration Issue

2002-12-27 Thread Turner, John

Actually, I have read discussions on a PHP servlet for Tomcat...that is, a
servlet that will accept PHP files instead of JSP files (or whatever the
terminology is).  If memory serves, it's barely beta, probably alpha, if
ready to use at all.

Searching Google or the archives would probably help.

John


-Original Message-
From: Justin L. Spies [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, December 26, 2002 3:03 PM
To: 'Tomcat Users List'
Subject: RE: Apache Tomcat configuration Issue

Myles,
Sorry to say, but Jeffrey is correct--Tomcat will not service the PHP
requests.  That is link asking Micros...  ASP to service Tomcat
requests, it just doesn't work.  I haven't configured Apache 2.0.x yet
so I can't help with that other than to say this--don't try to get
everything running all at the same time.  Just work on getting the
examples going in a most minimalist way.  I know when I tried to first
setup Apache / Tomcat / mod_jk, I tried to setup all the bells and
whistles, but I ended up just spinning my wheels.  It wasn't until I
tried a piece at a time that I got it working.

Hope that this helps.

Sincerely,
Pantek Incorporated
Justin L. Spies

URI: http://www.pantek.com
Ph   440.519.1802
Fax  440.248.5274
Cell 440.336.3317 

-Original Message-
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, December 26, 2002 2:52 PM
To: 'Tomcat Users List'
Subject: RE: Apache Tomcat configuration Issue


I do not know about tomcat and php, I would guess no.
 
however the www.apache.org http://www.apache.org  site lists this as
the link for php http://www.php.net/ http://www.php.net/ 
 
you might want to try the apache list group as well as any list group
list listed on the php site
 
good luck
Jeff
 
 
-Original Message-
From: Moutoux, Myles [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 12:49 PM
To: Tomcat Users List
Subject: RE: Apache Tomcat configuration Issue


I've tried everything that I can, based on the references that you sent.
All without success. Perhaps there is another way. The only reason that
I wanted to have Apache on this particular machine is so that I could
use some of the functionality of PHP. Is there a way that I could have
Tomcat service PHP requests?
 

-Original Message- 
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] 
Sent: Thu 12/26/2002 12:27 PM 
To: 'Tomcat Users List' 
Cc: 
Subject: RE: Apache Tomcat configuration Issue



List o' links

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/connectors.html
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/connectors.html

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html 
http://www.johnturner.com/howto/apache-tomcat-howto.html
http://www.johnturner.com/howto/apache-tomcat-howto.html  (this is
mainly jk not jk2 if I recall)

the dll should go into APACHE_ROOT/libexec

the ApacheConfig directive if I recall is for jk in Tomcat 3 and there
is a different tag for tomcat 4, see links above.  I prefer to hard code
the directives.

I would suggest trying mod_jk instead of mod_jk2 as there is more
documentation available and a larger experience base. John Turner has a
collection of downloads.

While the online documentation does lag behind the actual code
development the information is out there and I have found the info on
the jakarta site to be quite helpful for mod_jk in the latest 4.1
release

Jeff



-Original Message-
From: Moutoux, Myles [ mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] ]
Sent: Thursday, December 26, 2002 10:14 AM
To: [EMAIL PROTECTED]
Subject: Apache Tomcat configuration Issue


This seems to be a very common issue, however, I have to submit is again
because I am unable to get things to work properly. I have read all the
documentation that I can find, but, end up more confused than when I
started. So, here goes.

Everything is running on a Win2K machine with plenty of memory and disk
and most of the latest patches. I have successfully installed Apache
2.0.43 and it is running OK. I services my static web pages successfully
and also services PHP requests. I have installed Tomcat 4.1.17 with JDK
1.4.0.03. This works fine for serving my JSP pages and JavaBeans. Now, I
need to integrate the two so that whenever Apache, listening on port 80,
receives a request for a JSP it forwards the request to Tomcat,
currently listening in port 8081. I have downloaded the
MOD_JK2-2.0.43.dll, but, have no idea where to put it other than in the
\winnt\system32 directory.

Some of the documentation suggest turning on the Apache auto-config
option in Tomcat. It suggest putting the ApacheConfig / directive in
the server.xml file directly below the AutoWebApp ... / directive. In
my file there is no such place, so, that's a dead end. I tried putting
the directive in anyway, to no avail. I tried creating a
WORKER2.PROPERTIES file from scratch and also modified the

RE: Apache and Tomcat.

2002-12-27 Thread Turner, John

1) You add Listener elements to Tomcat's server.xml.  See Using
ApacheConfig here:

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/jk.html

2) WARP (mod_webapp) is dead.  Don't use it.  JK or JK2 are the choices
going forward.  If you decide you must use WARP, understand that it is a) no
longer actively developed, b) has serious problems that make it unusable for
anything but the most basic configurations, and c) will cause you problems
in the future when JK or JK2 are the only supported protocols.

Also, if you use WARP, you don't do anything with ApacheConfig (question
#1).  ApacheConfig is for JK only, not JK2 and not WARP.

John


-Original Message-
From: Hans Deragon [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, December 26, 2002 3:08 PM
To: [EMAIL PROTECTED]
Subject: Apache and Tomcat.

Greetings.


   I want to connect Apache to Tomcat.  However, I am stumbling on a 
few problems:

   1) How can I configure Tomcat to generate the mod_jk.conf-auto 
file? I cannot find any documentation on how to do this, and looking 
at the CATALINA_HOME/conf/* files did not gave any clue.  I want to 
use the mod_jk but with the auto configuration file if possible.

   2) According to the documentation, webapp is better than mod_jk. 
But I searched the web and www.apache.org, jakarta.apache.org, 
modules.apache.org but could not find the module!  Can someone provide 
me the link to the home page of this module?


Sincerely,
Hans Deragon


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

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.419 / Virus Database: 235 - Release Date: 11/13/2002
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.419 / Virus Database: 235 - Release Date: 11/13/2002
 

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




Tomcat and Actuate e.Report Server

2002-12-27 Thread mmartinez

Is anyone running Tomcat 4.1.x and Actuate e.Report server Active Portal 6.0


Mariano Martinez
Systems Analyst
mailto:[EMAIL PROTECTED]
Fax: (847) 267-8625
Ph: (847) 572-5435

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




Re: Tomcat stability problem

2002-12-27 Thread Remy Maucherat
Ben Glorie wrote:

We're running Tomcat 4.1.12 on a dual-proc PIII with 512MB RAM. The
application consists of 100,000+ HTML pages and approx. 100 jsp pages. We
get approx. 60,000 page views per day. Performance is fine, but occasionally
the system runs into the following problem:

- when you request a jsp page in the browser, there is a delay of 5-10
seconds, then the page is loaded into the browser
- even though the HTML code is complete and all images are visible, the
browser still appears to be loading something (load bar is creeping)
- then after approx. 30 seconds the loading stops (because of a page
timeout?)
- static HTML pages are not affected, they load as quickly as usual


Before trying to look into this further, I would upgrade to Tomcat 
4.1.18, and see if there are still problems.

Remy


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



Re: Remote access to Tomcat's naming service

2002-12-27 Thread Craig R. McClanahan


On Fri, 27 Dec 2002, John Paliwoda wrote:

 Date: Fri, 27 Dec 2002 14:35:59 -0600
 From: John Paliwoda [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Remote access to Tomcat's naming service

 Does anyone know how to get an InitialContext to Tomcat's naming service
 from outside of Tomcat's JVM? The documentation only describes how to
 get it from within Tomcat. I imagine it will look something like the
 following:

 Hashtable env = new Hashtable();
 env.put(java.naming.factory.initial, com.sun.jndi.cosnaming.CNCtxFactory);
 env.put(java.naming.provider.url, iiop://localhost:1091);
 Context ic = new InitialContext(env);


Remote access to the InitialContext supplied to Tomcat-based webapps is
not supported.  Even if it were, the usefulness would pretty small since
many objects (such as javax.sql.DataSources) stored there are not
Serializable and therefore not accessible from remote JVMs anyway.

 Also, is there a way to use Tomcat's naming service to hold references
 to remote objects? That is, can I have a class that inherits
 UnicastRemoteObject or PortableRemoteObject with a stub (created with
 rmic) in a Tomcat JVM and have it executed from outside of Tomcat?

This would be feasible, if you build your own JNDI ObjectFactory.  See the
docs for more info -- there's a section on providing your own custom
resources:

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-resources-howto.html


 Thanks,
 John

Craig



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




How I got mod_jk running (Was: Re: Yes!!! It works!!!)

2002-12-27 Thread Jerry Ford
Well, I could not make auto-conf work, and the system does work without 
it.  

If anybody is interested in my experience, go here:

http://www.katzenjammer.us/~jford/apache/tomcat/connectors/mod_jk_setup.shtml

And, again, thanks to everybody for helping me out.

Jerry

Turner, John wrote:

My guess is the virtual hosting configuration was messed up somehow.
Couldn't say more without trying the problem config files on one of my
systems, but I don't have the time right now to do it.

The auto-generation works like a charm, I can attest to that as can others.

AFAIK, the only way using auto-gen would cause JK NOT to work is if the
auto-gen was generating Apache VirtualHost containers and JkMount statements
that didn't apply, weren't used, or were overridden somehow with other
configuration directives in httpd.conf.

John


-Original Message-
From: Denise Mangano [mailto:[EMAIL PROTECTED]] 
Sent: Friday, December 27, 2002 10:09 AM
To: 'Tomcat Users List'
Subject: RE: Yes!!! It works!!! (was: Re: mod_jk---still trying, getting c
loser)

Justin - 

Any thoughts on why that did the trick?  As I mentioned, those directives
are not commented out on my config, but it works?? Just curious is all...

Thanks!

Denise 


-Original Message-
From: Justin L. Spies [mailto:[EMAIL PROTECTED]] 
Sent: Friday, December 27, 2002 10:01 AM
To: 'Tomcat Users List'
Subject: RE: Yes!!! It works!!! (was: Re: mod_jk---still trying, getting
closer)


This was a message I thought I had sent to the list, but I somehow managed
to send it to Jerry directly...



Congratulations Jerry!  Glad to hear that you've got a working system now!

Just for the benefit of the other list members out there, the pieces we
commented out were the following:
 !-- This listener was immediately 
	 after the Server port=... directive. --
 !-- Listener className=org.apache.ajp.tomcat4.config.ApacheConfig 
 modJk=/usr/local/webserver/apache/libexec/mod_jk.so 
 jkDebug=debug 

workersConfig=/usr/local/webserver/tomcat/conf/jk/workers.properties 
 jkLog=/usr/local/webserver/tomcat/logs/mod_jk.log/ --

 ---   AND   ---
   !-- This listener was immediately after the Host name=... 
		 directive inside of the Server port=... directive.
--
   !-- Listener className=org.apache.ajp.tomcat4.config.ApacheConfig
append=true 
 forwardAll=false/ --


Has anyone else out there had good experience setting up the Apache auto
configuration?


Sincerely,
Pantek Incorporated
Justin L. Spies

URI: http://www.pantek.com
Ph   440.519.1802
Fax  440.248.5274
Cell 440.336.3317 

-Original Message-
From: Jerry Ford [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, December 26, 2002 5:31 PM
To: Justin L. Spies
Cc: 'Tomcat Users List'; [EMAIL PROTECTED]
Subject: Yes!!! It works!!! (was: Re: mod_jk---still trying, getting
closer)


Justin, I owe you a beer...

I removed the two listener statements that you commented out in my  
server.xml file and now servlets work from Apache without a port setting.  

Thank you thank you thank you.  

(And thanks to everyone else who put up with my whining over the past 
few days and offered help---especially Denise, John, and Jeff :)

(BTW, it's academic now, but, yes, on my box tomcat is a symbolic link 
to jakarta-tomcat-4.1.12-LE-jdk14.)

Jerry

Justin L. Spies wrote:

 

Jerry,
I've updated and simplified the configuration files that you supplied
previously.  Any changes I made are denoted by the following:
NOTE NOTE NOTE NOTE

These changes cause your system to have the same config that I first
used to get my system working.  I'm not sure about your directory 
structure and whether or not you have symlinks setup, however I did 
notice that in some of the configuration files you were using two 
different directories that should point to the same directories.  Here 
is an example from httpd.conf:

You had the following for the JkWorkersFile:
JkWorkersFile
/usr/local/webserver/jakarta-tomcat-4.1.12-LE-jdk14/conf/jk/workers.pr
o
perties

But just below that you had the following apache directive:
  Directory /usr/local/webserver/tomcat/webapps/examples

These should be the same directory above the /conf directory and above
the /webapps directory.  On my system, I have tomcat installed in 
/var/tomcat4, so I have the following directives:

JkWorkersFile /var/tomcat4/conf/jk/workers.properties
--  and  --
  Directory /var/tomcat4/webapps/examples


See how they are the same first two?  /conf and /webapps should be a
subdirectory of /tomcat4 (in my case) or /tomcat (in your case), unless
   


 

you have a symlink (in your case) from
/usr/local/webserver/jakarta-tomcat-4.1.12-LE-jdk14 to 
/usr/local/webserver/tomcat.  Does that make sense, or did I just 
completely confuse everyone?

Jerry, when you restart Apache and Tomcat, could you send us copies of
the apache error log and the tomcat catalina.out files?  Also, if you 
could confirm the directory structure, that would be a big 

RE: Hey Jeffrey

2002-12-27 Thread Gman
Hey Jeffrey , Here is the only error i got.

Syntax Error on line 985 of C:/Apache/conf/httpd.conf:
Invalid command 'JkWorkersFile' Perhaps it is mis-spelled or defined by
a module not included in the server configuration.

Obvisouly the worker file is not where it is supposed to be hehehe.
George Flatman

-Original Message-
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] 
Sent: Friday, December 27, 2002 11:41 AM
To: 'Tomcat Users List'
Subject: RE: Hey Jeffrey


I went and stared at a computer that had an old version of apache on it.
there used to be a config test drop down you could access from the start
button on windows

Start -- Programs -- Apache Http Server -- Configure Apache Server
-- Test Configuration

That should run a check of your http conf file for you.

Without some sort of error message it will be difficult to determine
what is wrong with the setup.  

-Original Message-
From: Gman [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 27, 2002 12:20 PM
To: 'Tomcat Users List'
Subject: RE: Hey Jeffrey


I was unable to get any of the apachectl configtest from the apache bin
directory, There were not any errors in the Apache error log, just the
normal startup and shutdown entries.

George Flatman

-Original Message-
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] 
Sent: Friday, December 27, 2002 10:38 AM
To: 'Tomcat Users List'
Subject: RE: Hey Jeffrey


You can try one of two things

place the workers and log files in C:\ as maybe there is some path
problem.

or  

change the /'s to \'s.  usual apache does not care but maybe mod_jk does


were you able to run the apachectl configtest from the apache bin
directory or see any errors in the error log?

-Original Message-
From: Gman [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 27, 2002 11:22 AM
To: 'Tomcat Users List'
Subject: Hey Jeffrey



I still can't get Apache to run when I add the following lines.

# Configure mod_jk
#
#JkWorkersFile C:/Apache/conf/workers.properties--path to where I
placed the workers.properties file. 
#JkLogFile C:/Apache/apache/logs/mod_jk.log--path to where the log
files will and should be created. 
#JkLogLevel info--?

#JkMount /examples/* ajp13--?

George Flatman


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

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


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

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


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




RE: How I got mod_jk running (Was: Re: Yes!!! It works!!!)

2002-12-27 Thread Turner, John

FYI -

My binaries are fairly outdated, and I will be taking them down very soon.
Current binaries, from the connector developers, are here:

http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1.2.1
/bin/linux/i386/

John

-Original Message-
From: Jerry Ford [mailto:[EMAIL PROTECTED]] 
Sent: Friday, December 27, 2002 4:57 PM
To: Tomcat Users List
Subject: How I got mod_jk running (Was: Re: Yes!!! It works!!!)

Well, I could not make auto-conf work, and the system does work without 
it.  

If anybody is interested in my experience, go here:

http://www.katzenjammer.us/~jford/apache/tomcat/connectors/mod_jk_setup.shtm
l

And, again, thanks to everybody for helping me out.

Jerry

 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.419 / Virus Database: 235 - Release Date: 11/13/2002
 

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




New HOWTO - Windows XP

2002-12-27 Thread Turner, John

Greetings -

I've been sitting on this HOWTO for awhile, just never got around to posting
it until tonight.

It covers setting up Apache 2.0.43, Tomcat 4.1.18, and mod_jk with JDK 1.4.1
on Windows XP Professional.  I took some time just now to verify that all of
the versions are as recent as I could make them, and that everything was a
binary.  There is no need to compile from source whatsoever, including the
connector.  If I get some time next week after the holiday, I will do the
same thing for JK2, though I am still new to JK2.

Win XP Pro + Apache 2.0.43 + Tomcat 4.1.18 + JK HOWTO:

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

Other HOWTOs:

http://www.johnturner.com/howto

As far as I know, the XP HOWTO will work just fine with Windows 2000...I
don't see any reason why it wouldn't.  There might be some issues in the
HOWTO with where to find the Services control panel, etc. that are different
between 2000 and XP, but as far as the Apache and Tomcat parts of it go,
everything should be identical.  If you're an adept Win 2K user, I'm sure
you will be able to adapt accordingly.  I don't have access to a Win2K box
that I can use for messing around, so Win XP Pro it is.

I just didn't have the energy to deal with trying to make JK and Tomcat work
with IIS...maybe someday, but I doubt it.  I am also considering revamping
the WinXP HOWTO to include screenshots of the different windows during all
of the installation steps, but that's a lot of work.  If I get enough people
asking for that I will consider it, but for now it's just text.

As always, comments and suggestions are welcome, though if you go through
the HOWTO and have problems, the best place for help is right here.  I'm
getting more and more email each day from people asking for individual help,
and I just can't do it, as much as I would like to.  If you notice a glaring
error or mistake in the HOWTO, or have a suggestion, that's different.
Folks sending email consisting of I followed your HOWTO and it doesn't work
help me right now and similar will be directed politely to this list, so
you might as well post here first.  When posting, please be as specific as
possible.  At least that way, the solution will be in the archives for
others to use.

Happy New Year to everyone!

John


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.419 / Virus Database: 235 - Release Date: 11/13/2002
 

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




RE: Question - Form Validation

2002-12-27 Thread Noel J. Bergman
Denise,

There are a number of ways to do it.  One is to build a Struts application.
Another is to have the form post back to itself.  If it likes the form data
(validates), then it can forward to the target page.  There are various
other solutions.

--- Noel


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




RE: Tomcat stability problem

2002-12-27 Thread Noel J. Bergman
 We're running Tomcat 4.1.12 on a dual-proc PIII with 512MB RAM.

Which JVM and OS?  You are running an SMP box.  Sun JVM 1.4.0, for example,
was notorious for SMP issues on linux.

--- Noel


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




RE: New HOWTO - Windows XP

2002-12-27 Thread Jacob Hookom
Your howto's are greatly appreciated.  I used your site the first time I
setup my redhat server.  I'm sure it would be of great benefit to the
list as a whole if your site was linked in the footer of the mailing
list ;-)

Highest Regards,
Jacob Hookom

-Original Message-
From: Turner, John [mailto:[EMAIL PROTECTED]] 
Sent: Friday, December 27, 2002 8:37 PM
To: '[EMAIL PROTECTED]'
Subject: New HOWTO - Windows XP


Greetings -

I've been sitting on this HOWTO for awhile, just never got around to
posting
it until tonight.

It covers setting up Apache 2.0.43, Tomcat 4.1.18, and mod_jk with JDK
1.4.1
on Windows XP Professional.  I took some time just now to verify that
all of
the versions are as recent as I could make them, and that everything was
a
binary.  There is no need to compile from source whatsoever, including
the
connector.  If I get some time next week after the holiday, I will do
the
same thing for JK2, though I am still new to JK2.

Win XP Pro + Apache 2.0.43 + Tomcat 4.1.18 + JK HOWTO:

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

Other HOWTOs:

http://www.johnturner.com/howto

As far as I know, the XP HOWTO will work just fine with Windows 2000...I
don't see any reason why it wouldn't.  There might be some issues in the
HOWTO with where to find the Services control panel, etc. that are
different
between 2000 and XP, but as far as the Apache and Tomcat parts of it go,
everything should be identical.  If you're an adept Win 2K user, I'm
sure
you will be able to adapt accordingly.  I don't have access to a Win2K
box
that I can use for messing around, so Win XP Pro it is.

I just didn't have the energy to deal with trying to make JK and Tomcat
work
with IIS...maybe someday, but I doubt it.  I am also considering
revamping
the WinXP HOWTO to include screenshots of the different windows during
all
of the installation steps, but that's a lot of work.  If I get enough
people
asking for that I will consider it, but for now it's just text.

As always, comments and suggestions are welcome, though if you go
through
the HOWTO and have problems, the best place for help is right here.  I'm
getting more and more email each day from people asking for individual
help,
and I just can't do it, as much as I would like to.  If you notice a
glaring
error or mistake in the HOWTO, or have a suggestion, that's different.
Folks sending email consisting of I followed your HOWTO and it doesn't
work
help me right now and similar will be directed politely to this list,
so
you might as well post here first.  When posting, please be as specific
as
possible.  At least that way, the solution will be in the archives for
others to use.

Happy New Year to everyone!

John


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.419 / Virus Database: 235 - Release Date: 11/13/2002
 

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


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




disabling the directory listing in tomcat

2002-12-27 Thread Rahul Torvi
Hello 

I have a requirement that the tomcat server should not show
the directory listing when anybody writes URL which ends in 
a folder name.


One option that is available is putting a index.html or any other 
welcome-page, but this would be a crude method to say the 
least. 

I would want to strictly disable from the tomcat server...Is it possible

Regds

Rahul

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