TOMCAT help needed

2005-08-24 Thread Pierre Faudon
Hello everyone ! I'm neewbie and i try to install groupwise
webmail. I folowed the procedure by copying the classes in
/webapps/ROOT/WEB-INF/classes and the jar in
/webapps/ROOT/WEB-INF/lib and I put my web.xml in the WEB-INF/
directory but it didn't work at all ... in the log the classes
wasnot found !
I try tu change the web.xml in conf directory and copy my
classes.jars in common directory and now I have an error 404 !

in the logs I have :

app.balancer.RuleChain:
[org.apache.webapp.balancer.rules.URLStringMatchRule: Target
string: News / Redirect URL: http://www.cnn.com],
[org.apache.webapp.balancer.rules.RequestParameterRule: Target
param name: paramName / Target param value: paramValue /
Redirect URL: http://www.yahoo.com],
[org.apache.webapp.balancer.rules.AcceptEverythingRule:
Redirect URL: http://jakarta.apache.org]]
2005-08-24 17:51:53
StandardContext[/jsp-examples]ContextListener:
contextInitialized()
2005-08-24 17:51:53
StandardContext[/jsp-examples]SessionListener:
contextInitialized()
2005-08-24 17:51:54
StandardContext[/servlets-examples]ContextListener:
contextInitialized()
2005-08-24 17:51:54
StandardContext[/servlets-examples]SessionListener:
contextInitialized()


my web.xml is in atachement ... thank you for your help








Accédez au courrier électronique de La Poste : www.laposte.net ; 
3615 LAPOSTENET (0,34€/mn) ; tél : 08 92 68 13 50 (0,34€/mn)




http://java.sun.com/dtd/web-app_2_3.dtd";>


	
		webacc
		com.novell.webaccess.WebAccessServlet
		
			Config
			/novell/webaccess/webacc.cfg
		
		 
	

	
		spellchk
		com.novell.collexion.spell.servlet.SpellServlet
		
			Config
			/novell/webaccess/spellchk.cfg
		
		 
	

	
		webpub
		com.novell.webpublisher.WebPublisherServlet
		
			Config
			/novell/webpublisher/webpub.cfg
		
		 
	

	
		webacc
		/webacc/*
	

	
		spellchk
		/spellchk/*
	

	
		webpub
		/webpub/*
	




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

RE: Installing tomcat (help)

2005-03-15 Thread Caldarale, Charles R
> From: Ben Souther [mailto:[EMAIL PROTECTED]
> Subject: Re: Installing tomcat (help)
> 
> the exe
> 
> On Tue, 2005-03-15 at 11:56, brian wrote:
> > One binary is an exe, one is tar.gz, one is a zip, another is
> > Deployer. Which one is the installation file for windows ?

Although the .exe is a true Windows installer, I much prefer using the .zip 
package, especially for the installation of a new level.  It provides the 
scripts to run from a command prompt, which I find to be much easier than 
running Tomcat as a service during the shakedown and tuning phase.  Once you're 
happy with your setup, you can use the service.bat script to create a service, 
if you wish.

 - Chuck


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

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



Re: Installing tomcat (help)

2005-03-15 Thread Ben Souther
the exe

On Tue, 2005-03-15 at 11:56, brian wrote:
> Below is the tomcat installation files for download and have
> pasted the contents of README packaging information.
> 
> One binary is an exe, one is tar.gz, one is a zip, another is
> Deployer. Which one is the installation file for windows ?
> 
> The .exe is the Tomcat Setup wizard. Is this the windows
> version ?
> 
> --
> 5.0.28 
>  Binary 
>   README (contains packaging information) 
>   5.0.28 exe 
>  [md5] [pgp] 
>   5.0.28 tar.gz 
>  [md5] [pgp] 
>   5.0.28 zip 
>  [md5] [pgp] 
>   5.0.28 Deployer tar.gz 
>  [md5] [pgp] 
>   5.0.28 Deployer zip 
>  [md5] [pgp] 
>   5.0.28 Embed tar.gz 
>  [md5] [pgp] 
>   5.0.28 Embed zip 
>  [md5] [pgp] 
> --
> Apache Tomcat 5.0.28
> 
> Useful references: 
> 
> Release notes, with important information about known issues 
> Changelog 
> Status 
> 
> NOTE: The tar files in this distribution use GNU tar
> extensions, and must be untarred with a GNU compatible
> version of tar. The version of tar on Solaris and Mac OS X
> will not work with these files.
> 
> Thank you for using Tomcat!. 
> -
> 
> 
> __
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


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



Installing tomcat (help)

2005-03-15 Thread brian
Below is the tomcat installation files for download and have
pasted the contents of README packaging information.

One binary is an exe, one is tar.gz, one is a zip, another is
Deployer. Which one is the installation file for windows ?

The .exe is the Tomcat Setup wizard. Is this the windows
version ?

--
5.0.28 
 Binary 
  README (contains packaging information) 
  5.0.28 exe 
 [md5] [pgp] 
  5.0.28 tar.gz 
 [md5] [pgp] 
  5.0.28 zip 
 [md5] [pgp] 
  5.0.28 Deployer tar.gz 
 [md5] [pgp] 
  5.0.28 Deployer zip 
 [md5] [pgp] 
  5.0.28 Embed tar.gz 
 [md5] [pgp] 
  5.0.28 Embed zip 
 [md5] [pgp] 
--
Apache Tomcat 5.0.28

Useful references: 

Release notes, with important information about known issues 
Changelog 
Status 

NOTE: The tar files in this distribution use GNU tar
extensions, and must be untarred with a GNU compatible
version of tar. The version of tar on Solaris and Mac OS X
will not work with these files.

Thank you for using Tomcat!. 
-


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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



Re[4]: [tomcat] Help with mod_jk2 and security on Win 2003

2004-08-14 Thread Eugene
Thank you for help. The location of my servlet is
this: C:\wpub\apache\www\myapp-folder\WEB-INF\classes\MyApp.class.
Weird thing - today I've tried to configure the same app at my home computer...
And all works! With mod_jk or mod_jk2. BTW, mod_jk 1.2 its mod_jk (sorry:))
Anyway, I've put my old config in 'workers2.properties' exactly like on my server:

[uri:/myapp-folder/*]
group=ajp13:site:8009

It looks like I have a problem with mapping to the servlet. I can't exactly tell you 
what's wrong
until Tuesday (its fin de semana largo), when I will try to experiment with configs.
But for now - all difference that I have it's a different version of servers.
My server runs on Windows 2003 Enterprise Server, Apache 2.0.50+Tomcat5.0.27, JDK 
1.4.2_05.
At my home computer I'm using Windows XP Pro SP1, Apache 2.0.48+Tomcat5.0.24, JDK 
1.4.2_03.
Almost forgot one more important thing - I have an additional conf for my servlet and 
it's configured like this:



 



The old version of this app required full URL to the applet like 
"url="http://site/myapp-flder/MyApp"";,
but new version must accept "url="MyApp"". I've configured it on both ways on the 
server.
I have doubts about it, but maybe I've lost something, I will check it at Tuesday.

Thank you very much for help!



> Well from your comments and for point #1, what's the name & location of the
> applet? It should be locatable within your mod_jk settings as well.
> 
> I recently had some problems with a particular configuration of mod_jk and
> the following tag worked fine for me (in the workers2.properties file):
> 
> [uri:$/jsp-examples/*]
> Worker=ajp13:site:8009
> 
> 
> The $ before the root context made the difference...
> 
> Regards!
> 
> PS. I've noticed you mention mod_jk2 but then mod_jk 1.2 in your text. Which
> one is it? If 1.2, have you considered upgrading to mod_jk2?
> 
> José Ernesto Echeverría
>  
> 
> -Original Message-
> From: Eugene [mailto:[EMAIL PROTECTED] 
> Sent: Sábado, 14 de Agosto de 2004 03:53 p.m.
> To: Tomcat Users List
> Subject: Re[2]: [tomcat] Help with mod_jk2 and security on Win 2003
> 
> Thank you for reply! Yes its working on 8080, and its working if I am
> running just Tomcat without Apache, I am deploying it in the "webapp/myapp"
> folder of TC. I've tryed to run this app on ports from 8009 to 8100 (just
> for fun:)) - it works fine on any of these ports (actually I dont see any
> difference). Thanks in advance!
> 
> 
>> Before going deeply into your config, I'd ask if your app runs well 
>> without the mod_jk2 using the (standard) 8080 port. At least that way 
>> we can figure out if the problem has to do with your tomcat 
>> configuration or with your
>> mod_jk2 configuration. 
>> 
>> 
>> José Ernesto Echeverría
>> [EMAIL PROTECTED]
>> Tel. (503)8859011
>>  
>> 
>>> -Original Message-
>>> From: Eugene [mailto:[EMAIL PROTECTED]
>>> Sent: Viernes, 13 de Agosto de 2004 09:47 p.m.
>>> To: Tomcat Users List
>>> Subject: [tomcat] Help with mod_jk2 and security on Win 2003
>>> 
>>> Hi to all! First of all - thank you for this list! It helps to 
>>> individuals like I am to keep their job:) I am newbie, so maybe my 
>>> questions too silly for you, but anyway I must to ask.
>>> 
>>> 
>>> I am running Apache 2.0.50+Tomcat 5.0.27-mod_jk 1.2 on Win 2003, JDK 
>>> 1.4.2_05.
>>> 
>>> 1) I dont have a problems to deploy and run it with mod_jk 1.2, but 
>>> when I am trying to configure mod_jk 2 it fails.
>>> It returns "java.io.FileNotFoundException" when I am trying to start app.
>>> my app is in the WEB-INF/classes/MyApp.class (as always:))
>>> 
>>> BTW, Tomcat starts and runs perfectly - stderr is clear, I am trying 
>>> to test it with standard jsp-examples - all works, but when I am 
>>> trying to open the same page which works with mod_jk 1.2 with applet 
>>> tag - it returns error with mod_jk 2. The error log of Apache sais 
>>> the same thing - applet not found. What am I doing wrong??? Help me 
>>> please to figure it out. My apps directory located in the same folder 
>>> that jsp-examples folder, in web.xml servlet mapping looks has the 
>>> same locations like for example, plugin servlet from examples:
>>>
>>> 
>>>  MyApp
>>> 
>>> 
>>> /MyApp
>>> 
>>> 
>>> 
>>> 
&

RE: Re[2]: [tomcat] Help with mod_jk2 and security on Win 2003

2004-08-14 Thread Ernesto Echeverría
 
Well from your comments and for point #1, what's the name & location of the
applet? It should be locatable within your mod_jk settings as well.

I recently had some problems with a particular configuration of mod_jk and
the following tag worked fine for me (in the workers2.properties file):

[uri:$/jsp-examples/*]
Worker=ajp13:site:8009


The $ before the root context made the difference...

Regards!

PS. I've noticed you mention mod_jk2 but then mod_jk 1.2 in your text. Which
one is it? If 1.2, have you considered upgrading to mod_jk2?

José Ernesto Echeverría
 

-Original Message-
From: Eugene [mailto:[EMAIL PROTECTED] 
Sent: Sábado, 14 de Agosto de 2004 03:53 p.m.
To: Tomcat Users List
Subject: Re[2]: [tomcat] Help with mod_jk2 and security on Win 2003

Thank you for reply! Yes its working on 8080, and its working if I am
running just Tomcat without Apache, I am deploying it in the "webapp/myapp"
folder of TC. I've tryed to run this app on ports from 8009 to 8100 (just
for fun:)) - it works fine on any of these ports (actually I dont see any
difference). Thanks in advance!


> Before going deeply into your config, I'd ask if your app runs well 
> without the mod_jk2 using the (standard) 8080 port. At least that way 
> we can figure out if the problem has to do with your tomcat 
> configuration or with your
> mod_jk2 configuration. 
> 
> 
> José Ernesto Echeverría
> [EMAIL PROTECTED]
> Tel. (503)8859011
>  
> 
>> -Original Message-
>> From: Eugene [mailto:[EMAIL PROTECTED]
>> Sent: Viernes, 13 de Agosto de 2004 09:47 p.m.
>> To: Tomcat Users List
>> Subject: [tomcat] Help with mod_jk2 and security on Win 2003
>> 
>> Hi to all! First of all - thank you for this list! It helps to 
>> individuals like I am to keep their job:) I am newbie, so maybe my 
>> questions too silly for you, but anyway I must to ask.
>> 
>> 
>> I am running Apache 2.0.50+Tomcat 5.0.27-mod_jk 1.2 on Win 2003, JDK 
>> 1.4.2_05.
>> 
>> 1) I dont have a problems to deploy and run it with mod_jk 1.2, but 
>> when I am trying to configure mod_jk 2 it fails.
>> It returns "java.io.FileNotFoundException" when I am trying to start app.
>> my app is in the WEB-INF/classes/MyApp.class (as always:))
>> 
>> BTW, Tomcat starts and runs perfectly - stderr is clear, I am trying 
>> to test it with standard jsp-examples - all works, but when I am 
>> trying to open the same page which works with mod_jk 1.2 with applet 
>> tag - it returns error with mod_jk 2. The error log of Apache sais 
>> the same thing - applet not found. What am I doing wrong??? Help me 
>> please to figure it out. My apps directory located in the same folder 
>> that jsp-examples folder, in web.xml servlet mapping looks has the 
>> same locations like for example, plugin servlet from examples:
>>
>> 
>>  MyApp
>> 
>> 
>> /MyApp
>> 
>> 
>> 
>> 
>> 2) The second question is about security - I am running my server 
>> under the second administrator account with reassigned rights (so its 
>> not administrator anymore but it has more power then advanced user 
>> which is not enough for me). So the question is - does anybody can 
>> give tips/instructions/links to documentaton HowTo exactly I must 
>> configure my Windows to run with Apache and Tomcat without give to 
>> user so much power like I have now??? I have experienced attacks on 
>> my server so I dont have so much money to repair it again. Please 
>> help me with this if you know how - ASAP.
>> 
>> These are my conofiguration key moments:) I am mounting my app 
>> directory in httpd.conf (in Virtual Host section) like
>> this:
>> ==Start
>> 
>>   JkUriSet group ajp13:site.com:8009
>> 
>> 
>> JkUriSet group ajp13:site.com:8009  
>> JkUriSet group ajp13:site.com:8009  
>> ===End=
>> 
>> My  in server.xml mounts apps base like this:
>> ==Start
>> appBase="C:\apache_home\apache-2\htdocs"
>> ===End=
>> 
>> my wokers2.properties contains this:
>> ==Start
>> [uri:/*.jsp]
>> group=ajp13:site.com:8009
>> [uri:/*.jspx]
>> group=ajp13:site.com:8009
>> [uri:/*.do]
>> group=ajp13:site.com:8009
>> [uri:/jsp-examples/*]
>> group=ajp13:site.com:8009
>> [uri:/myapp-folder/*]
>> group=ajp13:site.com:8009
>> ===End=
>> 
>

Re[2]: [tomcat] Help with mod_jk2 and security on Win 2003

2004-08-14 Thread Eugene
Thank you for reply! Yes its working on 8080, and its working if I am
running just Tomcat without Apache, I am deploying it in the
"webapp/myapp" folder of TC. I've tryed to run this app on ports from 8009 to 8100
(just for fun:)) - it works fine on any of these ports (actually I dont
see any difference). Thanks in advance!


> Before going deeply into your config, I'd ask if your app runs well without
> the mod_jk2 using the (standard) 8080 port. At least that way we can figure
> out if the problem has to do with your tomcat configuration or with your
> mod_jk2 configuration. 
> 
> 
> José Ernesto Echeverría
> [EMAIL PROTECTED]
> Tel. (503)8859011
>  
> 
>> -Original Message-
>> From: Eugene [mailto:[EMAIL PROTECTED] 
>> Sent: Viernes, 13 de Agosto de 2004 09:47 p.m.
>> To: Tomcat Users List
>> Subject: [tomcat] Help with mod_jk2 and security on Win 2003
>> 
>> Hi to all! First of all - thank you for this list! It helps to individuals
>> like I am to keep their job:) I am newbie, so maybe my questions too silly
>> for you, but anyway I must to ask.
>> 
>> 
>> I am running Apache 2.0.50+Tomcat 5.0.27-mod_jk 1.2 on Win 2003, JDK
>> 1.4.2_05.
>> 
>> 1) I dont have a problems to deploy and run it with mod_jk 1.2, but when I
>> am trying to configure mod_jk 2 it fails.
>> It returns "java.io.FileNotFoundException" when I am trying to start app.
>> my app is in the WEB-INF/classes/MyApp.class (as always:))
>> 
>> BTW, Tomcat starts and runs perfectly - stderr is clear, I am trying to test
>> it with standard jsp-examples - all works, but when I am trying to open the
>> same page which works with mod_jk 1.2 with applet tag - it returns error
>> with mod_jk 2. The error log of Apache sais the same thing - applet not
>> found. What am I doing wrong??? Help me please to figure it out. My apps
>> directory located in the same folder that jsp-examples folder, in web.xml
>> servlet mapping looks has the same locations like for example, plugin
>> servlet from examples:
>>
>> 
>>  MyApp
>> 
>> 
>> /MyApp
>> 
>> 
>> 
>> 
>> 2) The second question is about security - I am running my server under the
>> second administrator account with reassigned rights (so its not
>> administrator anymore but it has more power then advanced user which is not
>> enough for me). So the question is - does anybody can give
>> tips/instructions/links to documentaton HowTo exactly I must configure my
>> Windows to run with Apache and Tomcat without give to user so much power
>> like I have now??? I have experienced attacks on my server so I dont have so
>> much money to repair it again. Please help me with this if you know how -
>> ASAP.
>> 
>> These are my conofiguration key moments:) I am mounting my app directory in
>> httpd.conf (in Virtual Host section) like
>> this:
>> ==Start
>> 
>>   JkUriSet group ajp13:site.com:8009
>> 
>> 
>> JkUriSet group ajp13:site.com:8009
>> 
>> 
>> JkUriSet group ajp13:site.com:8009
>> 
>> ===End=
>> 
>> My  in server.xml mounts apps base like this:
>> ==Start
>> appBase="C:\apache_home\apache-2\htdocs"
>> ===End=
>> 
>> my wokers2.properties contains this:
>> ==Start
>> [uri:/*.jsp]
>> group=ajp13:site.com:8009
>> [uri:/*.jspx]
>> group=ajp13:site.com:8009
>> [uri:/*.do]
>> group=ajp13:site.com:8009
>> [uri:/jsp-examples/*]
>> group=ajp13:site.com:8009
>> [uri:/myapp-folder/*]
>> group=ajp13:site.com:8009
>> ===End=
>> 
>> Thank you very much in advance!!!
>> 
>> 
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>> 
>> 
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]



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



RE: [tomcat] Help with mod_jk2 and security on Win 2003

2004-08-14 Thread Ernesto Echeverría
Before going deeply into your config, I'd ask if your app runs well without
the mod_jk2 using the (standard) 8080 port. At least that way we can figure
out if the problem has to do with your tomcat configuration or with your
mod_jk2 configuration. 


José Ernesto Echeverría
[EMAIL PROTECTED]
Tel. (503)8859011
 

-Original Message-
From: Eugene [mailto:[EMAIL PROTECTED] 
Sent: Viernes, 13 de Agosto de 2004 09:47 p.m.
To: Tomcat Users List
Subject: [tomcat] Help with mod_jk2 and security on Win 2003

Hi to all! First of all - thank you for this list! It helps to individuals
like I am to keep their job:) I am newbie, so maybe my questions too silly
for you, but anyway I must to ask.


I am running Apache 2.0.50+Tomcat 5.0.27-mod_jk 1.2 on Win 2003, JDK
1.4.2_05.

1) I dont have a problems to deploy and run it with mod_jk 1.2, but when I
am trying to configure mod_jk 2 it fails.
It returns "java.io.FileNotFoundException" when I am trying to start app.
my app is in the WEB-INF/classes/MyApp.class (as always:))

BTW, Tomcat starts and runs perfectly - stderr is clear, I am trying to test
it with standard jsp-examples - all works, but when I am trying to open the
same page which works with mod_jk 1.2 with applet tag - it returns error
with mod_jk 2. The error log of Apache sais the same thing - applet not
found. What am I doing wrong??? Help me please to figure it out. My apps
directory located in the same folder that jsp-examples folder, in web.xml
servlet mapping looks has the same locations like for example, plugin
servlet from examples:
   

 MyApp


/MyApp




2) The second question is about security - I am running my server under the
second administrator account with reassigned rights (so its not
administrator anymore but it has more power then advanced user which is not
enough for me). So the question is - does anybody can give
tips/instructions/links to documentaton HowTo exactly I must configure my
Windows to run with Apache and Tomcat without give to user so much power
like I have now??? I have experienced attacks on my server so I dont have so
much money to repair it again. Please help me with this if you know how -
ASAP.

These are my conofiguration key moments:) I am mounting my app directory in
httpd.conf (in Virtual Host section) like
this:
==Start

  JkUriSet group ajp13:site.com:8009


JkUriSet group ajp13:site.com:8009


JkUriSet group ajp13:site.com:8009

===End=

My  in server.xml mounts apps base like this:
==Start
appBase="C:\apache_home\apache-2\htdocs"
===End=

my wokers2.properties contains this:
==Start
[uri:/*.jsp]
group=ajp13:site.com:8009
[uri:/*.jspx]
group=ajp13:site.com:8009
[uri:/*.do]
group=ajp13:site.com:8009
[uri:/jsp-examples/*]
group=ajp13:site.com:8009
[uri:/myapp-folder/*]
group=ajp13:site.com:8009
===End=

Thank you very much in advance!!!


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


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



Re: apache jk2 into tomcat help

2004-02-24 Thread pavan . k

available @ http://johnturner.com

 Pavan Kumar
Tata Consultancy Services
Mailto: [EMAIL PROTECTED]
Website: http://www.tcs.com





Steve <[EMAIL PROTECTED]>

02/24/2004 05:45 PM




Please respond to
"Tomcat Users List" <[EMAIL PROTECTED]>





To
Tomcat Users List <[EMAIL PROTECTED]>


cc



Subject
apache jk2 into tomcat help








Where might one look to obtain solid professional
assistance with the 
following:

tomcat-4.1.29
apache-2.0.xx
mod_jk2

running on solaris 8..

Someone who has prior knowledge & experience working hands on with
the 
setup to fine tuning of jk2 from apache into tomcat in a multi tier 
environment.

thanks

-steve





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


ForwardSourceID:NT70C2
   
DISCLAIMER: The information contained in this message is intended only and solely for 
the addressed individual or entity indicated in this message and for the exclusive use 
of the said addressed individual or entity indicated in this message (or responsible 
for delivery
of the message to such person) and may contain legally privileged and confidential 
information belonging to Tata Consultancy Services. It must not be printed, read, 
copied, disclosed, forwarded, distributed or used (in whatsoever manner) by any person 
other than the addressee. 
Unauthorized use, disclosure or copying is strictly prohibited and may constitute 
unlawful act and can possibly attract legal action, civil and/or criminal. The 
contents of this message need not necessarily reflect or endorse the views of Tata 
Consultancy Services on any subject matter.
Any action taken or omitted to be taken based on this message is entirely at your risk 
and neither the originator of this message nor Tata Consultancy Services takes any 
responsibility or liability towards the same. Opinions, conclusions and any other 
information contained in this message
that do not relate to the official business of Tata Consultancy Services shall be 
understood as neither given nor endorsed by Tata Consultancy Services or any affiliate 
of Tata Consultancy Services. If you have received this message in error, you should 
destroy this message and may please notify the sender by e-mail. Thank you.

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

apache jk2 into tomcat help

2004-02-24 Thread Steve
Where might one look to obtain solid professional assistance with the 
following:

tomcat-4.1.29
apache-2.0.xx
mod_jk2
running on solaris 8..

Someone who has prior knowledge & experience working hands on with the 
setup to fine tuning of jk2 from apache into tomcat in a multi tier 
environment.

thanks

-steve





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


IIS and Tomcat (help?)

2004-02-17 Thread Tom . Williams

Return Receipt
   
Your  IIS and Tomcat (help?)   
document   
:  
   
was   Tom Williams/HQ/dssi 
received   
by:
   
at:   02/17/2004 03:56:28 PM   
   





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



IIS and Tomcat (help?)

2004-02-17 Thread Rob McGrath \(Rite Aid Corp\)

Can IIS and Tomcat run together on port 443? By assigning 2 IP addresses in
the configuration which have 2 separate domains controlled by a DNS Server,
can they both run at the same time? I am looking for a way in Server.xml  to
tell Tomcat which IP it is assigned to. Currently, we are attempting w/ only
one Nic card. it could be done later with 2. 

 

If so, is there a simple way to do this? Or, am I over analyzing? Thanks!!!

 

Rob


__
Disclaimer: This e-mail message is intended only for the personal use of 
the recipient(s) named above.  If you are not an intended recipient, you 
may not review, copy or distribute this message. If you have received this
communication in error, please notify us immediately by e-mail and delete 
the original message.
This e-mail expresses views only of the sender, which are not to be 
attributed to Rite Aid Corporation and may not be copied or distributed 
without this statement.


RE: Tomcat help needed getting started !

2003-05-29 Thread Robert Priest
> However I did set the JAVA_HOME environment variable under Preferences in 
> "My
> 
> Computer" to j2sdk1.4.0_03

Is it not set to just : j2sdk1.4.0_03, is it?

You have to set it to the "path" to that directory (including the dir
name)...

it should be set to (for example if it was installed on your "C:\" drive):
c:\j2sdk1.4.0_03

Also remember that if you are defining this variable in the SYSTEM
environment (as opposed to the "USER" environment,  your machine would have
to be rebooted before picking it up.



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 28, 2003 1:21 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: Tomcat help needed getting started !


>>Let's take a step back...Tomcat 5 is not ready for regular use, and you 
seem to be a newbie to Tomcat.  I would highly recommend and strongly 
suggest that you try using Tomcat 4.1.24 instead.

John


   Can I download the Tomcat 4.1.24 or do I need to delete the Tomcat 5
first 
?
  Thank you in advance
   Stan 


> On Wed, 28 May 2003 12:45:34 EDT, <[EMAIL PROTECTED]> wrote:
> 
> After 4th step, you need to start Tomcat Server. (or) you can also start
> from bin directory .. use startup.bat
> 
> Dear Sir,
> I went to windows explorer and saw the directory structure
> C:
> Tomcat
> jakarta-tomcat-5
> dist
> bin
> 
> In the bin directory I clicked on run the startup file and the error 
> message
> said:
> "The JAVA_HOME environment variable is not defined correctly"
> 
> However I did set the JAVA_HOME environment variable under Preferences in 
> "My
> 
> Computer" to j2sdk1.4.0_03
> 
> and verified it at the command prompt with an  C:\>echo %JAVA_HOME%
> 
> Thank you for your assistance
> Stan
> 
> 
> 

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



Re: Tomcat help needed getting started !

2003-05-29 Thread DominskiS
On Thu, 29 May 2003 00:45, [EMAIL PROTECTED] wrote:
>However I did set the JAVA_HOME environment variable under Preferences in
>"My Computer" to j2sdk1.4.0_03

That should be C:\j2sdk1.4.0_03 assuming it is on C: drive.

  >. Thank you for the correction . I went back to
  My Computer
  preferences
   environment variable
  and edited it to
  C:\j2sdk14.0_03
  OK
 
  Thank you Jason
   Stan





> Regards,
> -- 
> Jason Bainbridge
> KDE Web Team - http://kde.org 
> [EMAIL PROTECTED] 



Re: Tomcat help needed getting started !

2003-05-29 Thread Jason Bainbridge
On Thu, 29 May 2003 01:21, [EMAIL PROTECTED] wrote:
> >>Let's take a step back...Tomcat 5 is not ready for regular use, and you
>
> seem to be a newbie to Tomcat.  I would highly recommend and strongly
> suggest that you try using Tomcat 4.1.24 instead.

Good idea. :)

>Can I download the Tomcat 4.1.24 or do I need to delete the Tomcat 5
> first ?

You can download Tomcat 4.1.24, make sure you get the .exe so the install is 
easier just make sure your CATALINA_HOME isn't set when running the .exe to 
install 4.1.24 and make sure your JAVA_HOME is set correctly as per a 
previous post.

I suggest you also check the box within the installation to install Tomcat as 
an NT Service, then you can stop/start it from Start/ Settings/Control 
Panel/Administrative Tools/Services.

Regards,
-- 
Jason Bainbridge
KDE Web Team - http://kde.org 
[EMAIL PROTECTED] 

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



Re: Tomcat help needed getting started !

2003-05-29 Thread DominskiS
>>Let's take a step back...Tomcat 5 is not ready for regular use, and you 
seem to be a newbie to Tomcat.  I would highly recommend and strongly 
suggest that you try using Tomcat 4.1.24 instead.

John


   Can I download the Tomcat 4.1.24 or do I need to delete the Tomcat 5 first 
?
  Thank you in advance
   Stan 


> On Wed, 28 May 2003 12:45:34 EDT, <[EMAIL PROTECTED]> wrote:
> 
> After 4th step, you need to start Tomcat Server. (or) you can also start
> from bin directory .. use startup.bat
> 
> Dear Sir,
> I went to windows explorer and saw the directory structure
> C:
> Tomcat
> jakarta-tomcat-5
> dist
> bin
> 
> In the bin directory I clicked on run the startup file and the error 
> message
> said:
> "The JAVA_HOME environment variable is not defined correctly"
> 
> However I did set the JAVA_HOME environment variable under Preferences in 
> "My
> 
> Computer" to j2sdk1.4.0_03
> 
> and verified it at the command prompt with an  C:\>echo %JAVA_HOME%
> 
> Thank you for your assistance
> Stan
> 
> 
> 

Re: Tomcat help needed getting started !

2003-05-29 Thread John Turner
Let's take a step back...Tomcat 5 is not ready for regular use, and you 
seem to be a newbie to Tomcat.  I would highly recommend and strongly 
suggest that you try using Tomcat 4.1.24 instead.

John

On Wed, 28 May 2003 12:45:34 EDT, <[EMAIL PROTECTED]> wrote:

After 4th step, you need to start Tomcat Server. (or) you can also start
from bin directory .. use startup.bat

Dear Sir,
I went to windows explorer and saw the directory structure
C:
Tomcat
jakarta-tomcat-5
dist
bin
In the bin directory I clicked on run the startup file and the error 
message
said:
"The JAVA_HOME environment variable is not defined correctly"

However I did set the JAVA_HOME environment variable under Preferences in 
"My

Computer" to j2sdk1.4.0_03

and verified it at the command prompt with an  C:\>echo %JAVA_HOME%

Thank you for your assitance
Stan

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 28, 2003 12:24 PM
To: [EMAIL PROTECTED]
Subject: Tomcat help needed getting started !


Dear Tomcat People

1)  I set the JAVA_HOME environment variable under Preferences in "My 
Computer"
2)Created a "Tomcat" directory
3) downloaded the Tomcat 5 to the newly created Tomcat directory
4) extracted the startup files under the bin folder
5) tried to verify the service is running by typing in 
HREF="http://localhost:8080/";>http://localhost:8080

I received an error message that said " web site not responding"

Thank you for your assistance
Stan




--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Tomcat help needed getting started !

2003-05-29 Thread Jason Bainbridge
On Thu, 29 May 2003 00:45, [EMAIL PROTECTED] wrote:
> However I did set the JAVA_HOME environment variable under Preferences in
> "My Computer" to j2sdk1.4.0_03

That should be C:\j2sdk1.4.0_03 assuming it is on C: drive.

Regards,
-- 
Jason Bainbridge
KDE Web Team - http://kde.org 
[EMAIL PROTECTED] 

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



Re: Tomcat help needed getting started !

2003-05-29 Thread DominskiS
>After 4th step, you need to start Tomcat Server. (or) you can also start
from bin directory .. use startup.bat

Dear Sir,
  I went to windows explorer and saw the directory structure
  C:
Tomcat
   jakarta-tomcat-5
  dist
bin

In the bin directory I clicked on run the startup file and the error message
said:
"The JAVA_HOME environment variable is not defined correctly"

However I did set the JAVA_HOME environment variable under Preferences in "My 

Computer" to j2sdk1.4.0_03

and verified it at the command prompt with an  C:\>echo %JAVA_HOME%

Thank you for your assitance
Stan


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, May 28, 2003 12:24 PM
> To: [EMAIL PROTECTED]
> Subject: Tomcat help needed getting started !
> 
> 
> 
> Dear Tomcat People
> 
> 1)  I set the JAVA_HOME environment variable under Preferences in "My 
> Computer"
> 2)Created a "Tomcat" directory
> 3) downloaded the Tomcat 5 to the newly created Tomcat directory
> 4) extracted the startup files under the bin folder
> 5) tried to verify the service is running by typing in 
> HREF="http://localhost:8080/";>http://localhost:8080
> 
> I received an error message that said " web site not responding"
> 
> Thank you for your assistance
> Stan
> 



RE: Tomcat help needed getting started !

2003-05-29 Thread Kannan Sundararajan
After 4th step, you need to start Tomcat Server. (or) you can also start
from bin directory .. use startup.bat


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 28, 2003 12:24 PM
To: [EMAIL PROTECTED]
Subject: Tomcat help needed getting started !



Dear Tomcat People

1)  I set the JAVA_HOME environment variable under Preferences in "My 
Computer"
2)Created a "Tomcat" directory
3) downloaded the Tomcat 5 to the newly created Tomcat directory
4) extracted the startup files under the bin folder
5) tried to verify the service is running by typing in http://localhost:8080/";>http://localhost:8080

I received an error message that said " web site not responding"

Thank you for your assistance
Stan



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



Tomcat help needed getting started !

2003-05-29 Thread DominskiS

Dear Tomcat People

1)  I set the JAVA_HOME environment variable under Preferences in "My 
Computer"
2)Created a "Tomcat" directory
3) downloaded the Tomcat 5 to the newly created Tomcat directory
4) extracted the startup files under the bin folder
5) tried to verify the service is running by typing in http://localhost:8080/";>http://localhost:8080

I received an error message that said " web site not responding"

Thank you for your assistance
Stan




Re: HPUX and tomcat help!

2003-03-25 Thread xyber
we have the same problem in the past , and the solution: just switch 
back to java1.3 and the problem is gone

xyb

Byington, Allen wrote:

I'm having a problem keeping tomcat running on my hpux11 systems.  The
server just stops responding and no log entries are made.  To get things
going again, I have to do a kill on the tomcat process and start it back up.
The configration of the server looks like this:
HP-UX 11/64 bit
java 1.4
tomcat 4.1.18 (standalone)
apache 2.0.43
Any help would be appreciated.

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



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


RE: HPUX and tomcat help!

2003-03-25 Thread PELOQUIN,JEFFREY (HP-Boise,ex1)
Allen,

I was referring to the HP patches found at
http://www.hp.com/products1/unix/java/patches/index.html

Also, make sure you are using the latest version of HP Java 1.4 found at
http://www.hp.com/products1/unix/java/java2/sdkrte14/infolibrary/index.html

I have not personally used 1.4 as I am still trying to migrate our apps to
1.3.


Jeff


-Original Message-
From: Byington, Allen [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 25, 2003 8:59 AM
To: 'Tomcat Users List'
Subject: RE: HPUX and tomcat help!


Thanks for the help!  I went ahead and added in the catalina opts (just one
more thing I didn't know about) and restarted the server.  I have my SA
looking into the kernel params for me.  I'll let you all know if that fixes
the problem.  As far as the patches are concerned, I'm using the 4.1.18
binary version from the jakarta download site.

Thanks Again!

Allen


-Original Message-
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 25, 2003 9:28 AM
To: 'Tomcat Users List'
Subject: RE: HPUX and tomcat help!


Allen,

What do you set for your memory parameters in catalina opts?

an example from out setup is


if [ -z "$CATALINA_OPTS" ] ; then
  CATALINA_OPTS="-XdoCloseWithReadPending -Xms256m -Xmn100m -Xmx256m
-Xverbosegc:file=/tomca t/logs/gc.out" export CATALINA_OPTS echo start:
CATALINA_OPTS set to $CATALINA_OPTS fi

I have seen tomcat stop because of garbage collection issues if -Xms256m and
-Xmx256m are not equal.  This usually occurs for webapps that very quickly
create large temporary objects.  The new generation heap just cannot expand
fast enough and tomcat will stop.

without -XdoCloseWithReadPending, tomcat will not shutdown.  As far as I can
tell it is due to a connector still binding to a port in some manner.

Also, are your patches up to date?

I list some recommended kernal paramters that we try to adhere to for our
servers, maxdsiz we have found is very important.  If set too small you will
get hotspot errors and the JVM will crash.


maxusers512
nproc   2068
max_thread_proc 3000
nkthread6000
nfile   3
maxfiles2048
maxfiles_lim2048
ncallout6000
maxdsiz 2063835136


Jeff


-Original Message-
From: Byington, Allen [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 25, 2003 7:43 AM
To: '[EMAIL PROTECTED]'
Subject: HPUX and tomcat help!


I'm having a problem keeping tomcat running on my hpux11 systems.  The
server just stops responding and no log entries are made.  To get things
going again, I have to do a kill on the tomcat process and start it back up.
The configration of the server looks like this: HP-UX 11/64 bit java 1.4
tomcat 4.1.18 (standalone) apache 2.0.43

Any help would be appreciated.

Thanks
Allen


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

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

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

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



RE: HPUX and tomcat help!

2003-03-25 Thread Byington, Allen
Thanks for the help!  I went ahead and added in the catalina opts (just one
more thing I didn't know about) and restarted the server.  I have my SA
looking into the kernel params for me.  I'll let you all know if that fixes
the problem.  As far as the patches are concerned, I'm using the 4.1.18
binary version from the jakarta download site.

Thanks Again!

Allen


-Original Message-
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 25, 2003 9:28 AM
To: 'Tomcat Users List'
Subject: RE: HPUX and tomcat help!


Allen,

What do you set for your memory parameters in catalina opts?

an example from out setup is


if [ -z "$CATALINA_OPTS" ] ; then
  CATALINA_OPTS="-XdoCloseWithReadPending -Xms256m -Xmn100m -Xmx256m
-Xverbosegc:file=/tomca t/logs/gc.out" export CATALINA_OPTS echo start:
CATALINA_OPTS set to $CATALINA_OPTS fi

I have seen tomcat stop because of garbage collection issues if -Xms256m and
-Xmx256m are not equal.  This usually occurs for webapps that very quickly
create large temporary objects.  The new generation heap just cannot expand
fast enough and tomcat will stop.

without -XdoCloseWithReadPending, tomcat will not shutdown.  As far as I can
tell it is due to a connector still binding to a port in some manner.

Also, are your patches up to date?

I list some recommended kernal paramters that we try to adhere to for our
servers, maxdsiz we have found is very important.  If set too small you will
get hotspot errors and the JVM will crash.


maxusers512
nproc   2068
max_thread_proc 3000
nkthread6000
nfile   3
maxfiles2048
maxfiles_lim2048
ncallout6000
maxdsiz 2063835136


Jeff


-Original Message-
From: Byington, Allen [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 25, 2003 7:43 AM
To: '[EMAIL PROTECTED]'
Subject: HPUX and tomcat help!


I'm having a problem keeping tomcat running on my hpux11 systems.  The
server just stops responding and no log entries are made.  To get things
going again, I have to do a kill on the tomcat process and start it back up.
The configration of the server looks like this: HP-UX 11/64 bit java 1.4
tomcat 4.1.18 (standalone) apache 2.0.43

Any help would be appreciated.

Thanks
Allen


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

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

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



Re: HPUX and tomcat help!

2003-03-25 Thread Tim Funk
Can you use a 1.3 JVM with all the latest OS patches? I'd be surprised 
if a 1.4 JVM was production worthy for HPUX. (YMMV)

OS patches are the most important part. Also make sure enableHost 
lookups are off.

And when tomcat freezes - perform a thread dump to look for anything 
potentially insightful. (Usually its just a mess of data but sometimes a 
nugget of gold there)

-Tim

Byington, Allen wrote:
I'm having a problem keeping tomcat running on my hpux11 systems.  The
server just stops responding and no log entries are made.  To get things
going again, I have to do a kill on the tomcat process and start it back up.
The configration of the server looks like this:
HP-UX 11/64 bit
java 1.4
tomcat 4.1.18 (standalone)
apache 2.0.43
Any help would be appreciated.

Thanks
Allen


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


RE: HPUX and tomcat help!

2003-03-25 Thread PELOQUIN,JEFFREY (HP-Boise,ex1)
Allen,

What do you set for your memory parameters in catalina opts?

an example from out setup is


if [ -z "$CATALINA_OPTS" ] ; then
  CATALINA_OPTS="-XdoCloseWithReadPending -Xms256m -Xmn100m -Xmx256m
-Xverbosegc:file=/tomca
t/logs/gc.out"
export CATALINA_OPTS
echo start: CATALINA_OPTS set to $CATALINA_OPTS
fi

I have seen tomcat stop because of garbage collection issues if -Xms256m and
-Xmx256m are not equal.  This usually occurs for webapps that very quickly
create large temporary objects.  The new generation heap just cannot expand
fast enough and tomcat will stop.

without -XdoCloseWithReadPending, tomcat will not shutdown.  As far as I can
tell it is due to a connector still binding to a port in some manner.

Also, are your patches up to date?

I list some recommended kernal paramters that we try to adhere to for our
servers, maxdsiz we have found is very important.  If set too small you will
get hotspot errors and the JVM will crash.


maxusers512
nproc   2068
max_thread_proc 3000
nkthread6000
nfile   3
maxfiles2048
maxfiles_lim2048
ncallout6000
maxdsiz 2063835136


Jeff


-Original Message-
From: Byington, Allen [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 25, 2003 7:43 AM
To: '[EMAIL PROTECTED]'
Subject: HPUX and tomcat help!


I'm having a problem keeping tomcat running on my hpux11 systems.  The
server just stops responding and no log entries are made.  To get things
going again, I have to do a kill on the tomcat process and start it back up.
The configration of the server looks like this:
HP-UX 11/64 bit
java 1.4
tomcat 4.1.18 (standalone)
apache 2.0.43

Any help would be appreciated.

Thanks
Allen


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

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



AW: HPUX and tomcat help!

2003-03-25 Thread Björn Clemens
Hi, 

I've the same problem on RedHat and Windows, but nobody can help ... :(
It occurs too with jdk 1.3 and different apache's, mod_jk and the internal 
http-listener and so on.

Now I try other containers. :((


Regards 

Björn

> 
> I'm having a problem keeping tomcat running on my hpux11 systems.  The
> server just stops responding and no log entries are made.  To 
> get things
> going again, I have to do a kill on the tomcat process and 
> start it back up.
> The configration of the server looks like this:
> HP-UX 11/64 bit
> java 1.4
> tomcat 4.1.18 (standalone)
> apache 2.0.43
> 
> Any help would be appreciated.
> 
> Thanks
> Allen
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

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



HPUX and tomcat help!

2003-03-25 Thread Byington, Allen
I'm having a problem keeping tomcat running on my hpux11 systems.  The
server just stops responding and no log entries are made.  To get things
going again, I have to do a kill on the tomcat process and start it back up.
The configration of the server looks like this:
HP-UX 11/64 bit
java 1.4
tomcat 4.1.18 (standalone)
apache 2.0.43

Any help would be appreciated.

Thanks
Allen


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



Perl CGI Problem W/Tomcat Help Needed

2003-01-13 Thread Scott Purcell
Hello,

I am trying to run some CGI scripts (perl cgi's) on my Tomcat 4.0.3 under Win 2000.

I followed the documentation showing:
Rename $CATALINA_BASE/server/lib/servlets-cgi.renametojar to 
$CATALINA_BASE/server/lib/servlets-cgi.jar.
and 
Remove the XML comments from around the CGI servlet and servlet-mapping configuration 
in $CATALINA_BASE/conf/web.xml.


I went to $CATALINA_BASE/webapps/ROOT/WEB-INF and created a folder "cgi"
I put in a simple hello.pl file there. I started the Tomcat up and went to the 
following url 
http://localhost/cgi/hello.pl, but it says 404 not there

So then I tried
http://localhost/servlet/cgi/hello.pl and it gives me a 503 servlet invoker is 
currently unavailable.

Does anyone know where I may be going wrong?

Thanks,
Scott


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




RE: ipchains - apache - tomcat - Help!!!

2001-09-05 Thread Navarro, Jose

David, Jean-Frederic,

Thanks to both for your help. Finally I solved it. A comment from David was
the final hint:

"your running ipchains on your system ***and denying access to the ports
Apache and Tomcat use to talk to each other***"

Well, I simply opened the corresponding ports on "lo" to authorize the
traffic between apache and tomcat and it worked immediately.

Well, I can forget six or seven days of nightmare!

Regards,

Jose



Re: ipchains - apache - tomcat - Help!!!

2001-09-04 Thread David Smith

Ok, your running ipchains on your system and denying access to the ports 
Apache and Tomcat use to talk to each other.  I've had iptables running on my 
development environment with no problem.  In my config, I specified the 
filters to work on interface eth0.  That way the internal traffic on lo still 
works without a problem and I'm just not accepting any outside traffic from 
the net.

Just my experience in the matter... indiviual mileage may very.

--David Smith

On Tuesday 04 September 2001 07:14 am, you wrote:
> Jean-Frederic,
>
> thanks alot for your answer (it's been fast as lightnin!). However, I do
> not understand your answer! Excuse me for being so stupid, but as I said in
> my previous message I'm rather far from being a linux guru!
>
> When you said "try to add it /etc/hosts", what were you talking about?
> About "localhost"? About port 8007? And (excuse me, I'm not trying to be
> rude) what is it for? To fix that apache-tomcat do not work even when
> accessed from behind ipchains?
>
> I'm sorry if my questions are too silly. I still do not know how it's me
> who has to take care of this problem!!!
>
> Merci beaucoup! (I'm sorry, I've almost forgotten my french... it was about
> 25 years ago when I stopped studying it!)
>
> Jose.
>
> BTW, let me know if you want me to CC you when I send a message to the
> mailing list. This time I did it, but perhaps you receive two copies of
> this message... Excuse me if it is so.
>
> Jose.
>
> > -Mensaje original-
> > De: jean-frederic clere [mailto:[EMAIL PROTECTED]]
> > Enviado el: martes, 04 de septiembre de 2001 12:54
> > Para: [EMAIL PROTECTED]
> > CC: [EMAIL PROTECTED]
> > Asunto: Re: ipchains - apache - tomcat - Help!!!
> >
> > "Navarro, Jose" wrote:
> > > Hi!
> > >
> > > I'm trying to make apache 1.3.14-3 and tomcat 3.2.1 work
> >
> > together in a
> >
> > > RedHat 7.0 box. I've just compiled my own mod_jk.so and run
> >
> > everyting
> >
> > > according the instructions.
> > >
> > > Well, as usually happens, tomcat works fine in standalone
> >
> > mode. But as is it
> >
> > > also usual, I have problems when I try to run the examples
> >
> > through apache.
> >
> > Probably telnet localhost 8007 does not work neither. Try to add it in
> > /etc/hosts.
> >
> > > After taking a look to mod_jk.log, I noticed that some
> >
> > errors concerning
> >
> > > sockets to be open were reported there. After that, I
> >
> > decided (don't ask
> >
> > > why, it was kind of a vision) to tail the "messages" log
> >
> > file created by
> >
> > > ipchains, the firewall we're using. Bingo! Every time I try
> >
> > to run a jsp, my
> >
> > > firewall begins to report unauthorized accesses. Curiously,
> >
> > it doesn't
> >
> > > matter whether I try to do it from the outside world or
> >
> > from behind the
> >
> > > firewall (?).
> > >
> > > This seems to lead to the conclusion (correct me if I'm
> >
> > wrong) that apache
> >
> > > mod_jk cannot work properly since the firewall is bloking
> >
> > its way to tomcat.
> >
> > > Well, I'm a real novice in everything related to linux, so
> >
> > I would like to
> >
> > > ask for some help. Could you please tell me which ports
> >
> > should I open (and
> >
> > > how according to the ipchains syntax) to allow mod_jk do its work?
> > >
> > > PLEASE, CC: me to [EMAIL PROTECTED], since I'm not
> >
> > subscribed to this
> >
> > > list. The number of messages you get per hour is simply
> >
> > overwhelming!
> >
> > > Thanks alot for your help and interest!
> > >
> > > Jose.




RE: ipchains - apache - tomcat - Help!!!

2001-09-04 Thread Navarro, Jose

Jean-Frederic,

thanks alot for your answer (it's been fast as lightnin!). However, I do not
understand your answer! Excuse me for being so stupid, but as I said in my
previous message I'm rather far from being a linux guru!

When you said "try to add it /etc/hosts", what were you talking about? About
"localhost"? About port 8007? And (excuse me, I'm not trying to be rude)
what is it for? To fix that apache-tomcat do not work even when accessed
from behind ipchains?

I'm sorry if my questions are too silly. I still do not know how it's me who
has to take care of this problem!!!

Merci beaucoup! (I'm sorry, I've almost forgotten my french... it was about
25 years ago when I stopped studying it!)

Jose.

BTW, let me know if you want me to CC you when I send a message to the
mailing list. This time I did it, but perhaps you receive two copies of this
message... Excuse me if it is so.

Jose.

> -Mensaje original-
> De: jean-frederic clere [mailto:[EMAIL PROTECTED]]
> Enviado el: martes, 04 de septiembre de 2001 12:54
> Para: [EMAIL PROTECTED]
> CC: [EMAIL PROTECTED]
> Asunto: Re: ipchains - apache - tomcat - Help!!!
> 
> 
> "Navarro, Jose" wrote:
> > 
> > Hi!
> > 
> > I'm trying to make apache 1.3.14-3 and tomcat 3.2.1 work 
> together in a
> > RedHat 7.0 box. I've just compiled my own mod_jk.so and run 
> everyting
> > according the instructions.
> > 
> > Well, as usually happens, tomcat works fine in standalone 
> mode. But as is it
> > also usual, I have problems when I try to run the examples 
> through apache.
> 
> Probably telnet localhost 8007 does not work neither. Try to add it in
> /etc/hosts.
> 
> > 
> > After taking a look to mod_jk.log, I noticed that some 
> errors concerning
> > sockets to be open were reported there. After that, I 
> decided (don't ask
> > why, it was kind of a vision) to tail the "messages" log 
> file created by
> > ipchains, the firewall we're using. Bingo! Every time I try 
> to run a jsp, my
> > firewall begins to report unauthorized accesses. Curiously, 
> it doesn't
> > matter whether I try to do it from the outside world or 
> from behind the
> > firewall (?).
> > 
> > This seems to lead to the conclusion (correct me if I'm 
> wrong) that apache
> > mod_jk cannot work properly since the firewall is bloking 
> its way to tomcat.
> > 
> > Well, I'm a real novice in everything related to linux, so 
> I would like to
> > ask for some help. Could you please tell me which ports 
> should I open (and
> > how according to the ipchains syntax) to allow mod_jk do its work?
> > 
> > PLEASE, CC: me to [EMAIL PROTECTED], since I'm not 
> subscribed to this
> > list. The number of messages you get per hour is simply 
> overwhelming!
> > 
> > Thanks alot for your help and interest!
> > 
> > Jose.
> 



Re: ipchains - apache - tomcat - Help!!!

2001-09-04 Thread jean-frederic clere

"Navarro, Jose" wrote:
> 
> Hi!
> 
> I'm trying to make apache 1.3.14-3 and tomcat 3.2.1 work together in a
> RedHat 7.0 box. I've just compiled my own mod_jk.so and run everyting
> according the instructions.
> 
> Well, as usually happens, tomcat works fine in standalone mode. But as is it
> also usual, I have problems when I try to run the examples through apache.

Probably telnet localhost 8007 does not work neither. Try to add it in
/etc/hosts.

> 
> After taking a look to mod_jk.log, I noticed that some errors concerning
> sockets to be open were reported there. After that, I decided (don't ask
> why, it was kind of a vision) to tail the "messages" log file created by
> ipchains, the firewall we're using. Bingo! Every time I try to run a jsp, my
> firewall begins to report unauthorized accesses. Curiously, it doesn't
> matter whether I try to do it from the outside world or from behind the
> firewall (?).
> 
> This seems to lead to the conclusion (correct me if I'm wrong) that apache
> mod_jk cannot work properly since the firewall is bloking its way to tomcat.
> 
> Well, I'm a real novice in everything related to linux, so I would like to
> ask for some help. Could you please tell me which ports should I open (and
> how according to the ipchains syntax) to allow mod_jk do its work?
> 
> PLEASE, CC: me to [EMAIL PROTECTED], since I'm not subscribed to this
> list. The number of messages you get per hour is simply overwhelming!
> 
> Thanks alot for your help and interest!
> 
> Jose.



ipchains - apache - tomcat - Help!!!

2001-09-04 Thread Navarro, Jose

Hi!

I'm trying to make apache 1.3.14-3 and tomcat 3.2.1 work together in a
RedHat 7.0 box. I've just compiled my own mod_jk.so and run everyting
according the instructions.

Well, as usually happens, tomcat works fine in standalone mode. But as is it
also usual, I have problems when I try to run the examples through apache.

After taking a look to mod_jk.log, I noticed that some errors concerning
sockets to be open were reported there. After that, I decided (don't ask
why, it was kind of a vision) to tail the "messages" log file created by
ipchains, the firewall we're using. Bingo! Every time I try to run a jsp, my
firewall begins to report unauthorized accesses. Curiously, it doesn't
matter whether I try to do it from the outside world or from behind the
firewall (?).

This seems to lead to the conclusion (correct me if I'm wrong) that apache
mod_jk cannot work properly since the firewall is bloking its way to tomcat.

Well, I'm a real novice in everything related to linux, so I would like to
ask for some help. Could you please tell me which ports should I open (and
how according to the ipchains syntax) to allow mod_jk do its work?

PLEASE, CC: me to [EMAIL PROTECTED], since I'm not subscribed to this
list. The number of messages you get per hour is simply overwhelming!

Thanks alot for your help and interest!

Jose.



Embeded Tomcat help

2001-07-12 Thread Dunnigan, Tom

Can anyone help me with EmbededTomcat.  I have tried to implement it
according to the comments in the source code to no avail.  I have scoured
the archives, but I di not find any solutions.

Your assistance would be appreciated.




Thanks,
Thomas Dunnigan
Leveraged Technology Inc.
Solutions Architect
[EMAIL PROTECTED]
(732)855-1955 Ext. 1513




Re: Embeded Tomcat help

2001-07-11 Thread Klaus Sonnenleiter

Tom,

I've tried the same with the 3.2.1 version with no luck. I think you're
better off using 4.0.

Klaus Sonnenleiter

-Original Message-
From: Dunnigan, Tom <[EMAIL PROTECTED]>
To: '[EMAIL PROTECTED]' <[EMAIL PROTECTED]>
Date: Wednesday, July 11, 2001 5:59 PM
Subject: Embeded Tomcat help


>Can anyone help me with EmbededTomcat.  I have tried to implement it
>according to the comments in the source code to no avail.  I have scoured
>the archives, but I di not find any solutions.
>
>Your assistance would be appreciated.
>
>
>
>
>Thanks,
>Thomas Dunnigan
>Leveraged Technology Inc.
>Solutions Architect
>[EMAIL PROTECTED]
>(732)855-1955 Ext. 1513
>




Re: Embeded Tomcat help

2001-07-11 Thread Dmitri Colebatch

Embedded in what?  JBoss?

On Thu, 12 Jul 2001 05:49, you wrote:
> Can anyone help me with EmbededTomcat.  I have tried to implement it
> according to the comments in the source code to no avail.  I have scoured
> the archives, but I di not find any solutions.
>
> Your assistance would be appreciated.
>
>
>
>
> Thanks,
> Thomas Dunnigan
> Leveraged Technology Inc.
> Solutions Architect
> [EMAIL PROTECTED]
> (732)855-1955 Ext. 1513



Embeded Tomcat help

2001-07-11 Thread Dunnigan, Tom

Can anyone help me with EmbededTomcat.  I have tried to implement it
according to the comments in the source code to no avail.  I have scoured
the archives, but I di not find any solutions.

Your assistance would be appreciated.




Thanks,
Thomas Dunnigan
Leveraged Technology Inc.
Solutions Architect
[EMAIL PROTECTED]
(732)855-1955 Ext. 1513




****** Post + multipart/form-data not working in Tomcat --- Help needed *****

2001-05-24 Thread Srinivas . Chebolu

Hi,

I'm getting the following error when my servlet uses
post+multipart/form-data request.

--

HTTP/1.1 200 OK Date: Fri, 25 May 2001 02:09:11 GMT Server: Apache/1.3.12
(Unix) mod_jk Connection: close Transfer-Encoding: chunked Content-Type:
text/html; charset=iso-8859-1
OK
The server encountered an internal error or misconfiguration and was unable
to complete your request.


Please contact the server administrator, root@pts and inform them of the
time the error occurred, and anything you might have done that may have
caused the error.


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



Please help me out.

Waiting for an early response.

Thanks and Regards
Srinivas Chebolu





Post + multipart/form-data not working in Tomcat --- Help neededimmediately.

2001-05-24 Thread Srinivas . Chebolu

Hi,

I'm getting the following error when my servlet uses
post+multipart/form-data request.

--

HTTP/1.1 200 OK Date: Fri, 25 May 2001 02:09:11 GMT Server: Apache/1.3.12
(Unix) mod_jk Connection: close Transfer-Encoding: chunked Content-Type:
text/html; charset=iso-8859-1
OK
The server encountered an internal error or misconfiguration and was unable
to complete your request.


Please contact the server administrator, root@pts and inform them of the
time the error occurred, and anything you might have done that may have
caused the error.


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



Please help me out.

Waiting for an early response.

Thanks and Regards
Srinivas Chebolu





Post + multipart/form-data not working in Tomcat --- Help neededimmediately.

2001-05-24 Thread Srinivas . Chebolu

Hi,

I'm getting the following error when my servlet uses
post+multipart/form-data request.

--

HTTP/1.1 200 OK Date: Fri, 25 May 2001 02:09:11 GMT Server: Apache/1.3.12
(Unix) mod_jk Connection: close Transfer-Encoding: chunked Content-Type:
text/html; charset=iso-8859-1
OK
The server encountered an internal error or misconfiguration and was unable
to complete your request.


Please contact the server administrator, root@pts and inform them of the
time the error occurred, and anything you might have done that may have
caused the error.


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



Please help me out.

Waiting for an early response.

Thanks and Regards
Srinivas Chebolu





Post + multipart/form-data not working in Tomcat --- Help neededimmediately.

2001-05-24 Thread Srinivas . Chebolu

Hi,

I'm getting the following error when my servlet uses
post+multipart/form-data request.

--

HTTP/1.1 200 OK Date: Fri, 25 May 2001 02:09:11 GMT Server: Apache/1.3.12
(Unix) mod_jk Connection: close Transfer-Encoding: chunked Content-Type:
text/html; charset=iso-8859-1
OK
The server encountered an internal error or misconfiguration and was unable
to complete your request.


Please contact the server administrator, root@pts and inform them of the
time the error occurred, and anything you might have done that may have
caused the error.


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



Please help me out.

Waiting for an early response.

Thanks and Regards
Srinivas Chebolu





Post + multipart/form-data not working in Tomcat --- Help neededimmediately.

2001-05-24 Thread Srinivas . Chebolu

Hi,

I'm getting the following error when my servlet uses
post+multipart/form-data request.

--
HTTP/1.1 200 OK Date: Fri, 25 May 2001 02:09:11 GMT Server: Apache/1.3.12
(Unix) mod_jk Connection: close Transfer-Encoding: chunked Content-Type:
text/html; charset=iso-8859-1
OK
The server encountered an internal error or misconfiguration and was unable
to complete your request.


Please contact the server administrator, root@pts and inform them of the
time the error occurred, and anything you might have done that may have
caused the error.


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



Please help me out.

Waiting for an early response.

Thanks and Regards
Srinivas Chebolu




migrating php to tomcat ?.. help

2001-04-11 Thread niraj

hi all

here is a site in php www.goodlookingindia.com
we would like to migrate to jsp/servlet  for better performance

please let  me know it wheter to migrate to tomcat or not

is tomcat is best for jsp/servlet adon engine or any other servlet engine in
market better then tomcat?

your help/reviews will be apriciated

thanks in advance




Tomcat Help?

2001-03-28 Thread Ben Sifuentes

All,

I've posted several times and have had no response to any of my questions.

Most of my questions are related to setup and about context and a Thread
Exception.

Could someone please give me some help?

If I'm posting to the wrong group please let me know and direct me to the
right place?
If for some reason you can't post to me. Please post directly to the User
group and let me know.

Thanks,
-Ben




RE: beginner of TOMCAT..help required

2001-02-20 Thread Mike Braden

In case you haven't see it yet, here is a good doc on developing with
Tomcat:

http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/appdev/index.html

--
Mike Braden
[EMAIL PROTECTED]


-Original Message-
From: Sami [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 20, 2001 12:44 AM
To: [EMAIL PROTECTED]
Subject: beginner of TOMCAT..help required


Hello All,
I have recently downloaded Tomcat3.1.2. I unzipped it and then started the
web server. Its up and running. Now i have written some sample servelts like
helloWorldServelt.java, firstServlet.java. I have compiled them, as
servlet.jar is in my CLASSPATH.
Now I want to I want to create a direcotry "/Sami" in  "webapp" directory"
and want to deploy my servlets over there, and want that I should be able to
execute those servlets by typing
http://localhost/Sami/..
so can anyone give me the sequence of steps  of how to manipulate all XML
files, how to add a new context and blah,blah,,,blah...
I have read the documentation on the site, but I guess that I am not ina
state of mind to pick up that kind of documentation.
I would be very much obliged to any person who helps me in doing this simple
task.
Thanx in advance
 Sami






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

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




Re: beginner of TOMCAT..help required

2001-02-19 Thread ola_pettersson


This is how I did it in Tomcat 3.2, not using .jar, just normal .class
files

Put a directory called "Sami" under webapps
Create a "WEB-INF" directory under Sami
Create a "classes" directory under WEB-INF and put the class files there

In the WEB-INF directory you should put a "web.xml" which in my case
roughly looks like this:


   
  Whatever
  yourpackage.yourclass
   

   
  Whatever
  /Whatever
   


Then you should be able to invoce the sevlet at:
http://localhost:8080/Sami/Whatever

Hope it helps and that I didn't make too many mistakes :)
/Ola





   

"Sami" 

  

r.com.au>cc:   

     Subject: beginner of TOMCAT..help 
required
20/02/2001 

03:44 PM   

Please 

respond to 

tomcat-user

   

   




Hello All,
I have recently downloaded Tomcat3.1.2. I unzipped it and then started the
web server. Its up and running. Now i have written some sample servelts
like
helloWorldServelt.java, firstServlet.java. I have compiled them, as
servlet.jar is in my CLASSPATH.
Now I want to I want to create a direcotry "/Sami" in  "webapp" directory"
and want to deploy my servlets over there, and want that I should be able
to
execute those servlets by typing
http://localhost/Sami/..
so can anyone give me the sequence of steps  of how to manipulate all XML
files, how to add a new context and blah,blah,,,blah...
I have read the documentation on the site, but I guess that I am not ina
state of mind to pick up that kind of documentation.
I would be very much obliged to any person who helps me in doing this
simple
task.
Thanx in advance
 Sami






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






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




beginner of TOMCAT..help required

2001-02-19 Thread Sami

Hello All,
I have recently downloaded Tomcat3.1.2. I unzipped it and then started the
web server. Its up and running. Now i have written some sample servelts like
helloWorldServelt.java, firstServlet.java. I have compiled them, as
servlet.jar is in my CLASSPATH.
Now I want to I want to create a direcotry "/Sami" in  "webapp" directory"
and want to deploy my servlets over there, and want that I should be able to
execute those servlets by typing
http://localhost/Sami/..
so can anyone give me the sequence of steps  of how to manipulate all XML
files, how to add a new context and blah,blah,,,blah...
I have read the documentation on the site, but I guess that I am not ina
state of mind to pick up that kind of documentation.
I would be very much obliged to any person who helps me in doing this simple
task.
Thanx in advance
 Sami






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




Apache + tomcat: help w/mod_alias

2001-02-12 Thread Mel Martinez

Hi,

First off, I'm using Apache 1.3.14 (win NT and linux)
and tomcat 3.2.1.  If I need to upgrade I will, if I
know that it will fix this.

I'm trying to setup tomcat with an existing apache web
server.  I'm having trouble figuring out the best way
to handle an otherwise simple Alias mapping.

The apache httpd.conf has the following:

Alias .*/foo/(.*)   /abs/path/to/foo/$1

which basically says:  treat all paths with '/foo/' in
them to be a link to the one great and powerful foo
directory.  So both of the following:

.../somepath/foo/splash.html
.../someotherpath/foo/splash.html

would both map to the same file,
/abs/path/to/foo/splash.html

This is very useful for having links to a common
directory of reusable resources from a variety of
locations.  In addition, this works on both Unix and
NT versions of Apache so you don't have to depend on
symbolic links.

On top of Apache, I've added the use of Tomcat to the
mix so as to (naturally) support servlets and *.jsp
applications.  I have done this through the use of
mod_jk.  So far, Tomcat works just fine for running
servlets and compiling JSP files. With the following
exception.

Problem:

Urls forwarded to tomcat seem to bypass the Alias
mechanism.  So a request for:

.../somepath/foo/myapp.jsp

gets sent to tomcat as the above, instead of as the
desired:

/abs/path/to/foo/myapp.jsp

Since there is no 'foo' directory inside /somepath/,
tomcat complains about not finding the file. 
Naturally, if I turn off mod_jk, so that Apache simply
returns the file, apache finds the myapp.jsp file just
fine.

Could someone offer me some helpful suggestions on the
best way to fix this?  Would this be fixed if I
replaced the alias with a mod_rewrite directive?  Does
Tomcat have a comparable 'alias' or 'rewrite'
mechanism?

Is this a matter of setting up things with the proper
precedence so that the Alias gets applied to the URL
before it gets sent to the mod_jk worker?  If so, how?

Thanks in advance for your help.

Mel


__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

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




Security issue with tomcat - Help requested!!!

2000-11-21 Thread Prathapan Nair

Hi
My enviornment - Tomcat release build 3.1 on Windows NT and JDK1.3

I am using Java Cryptography Extension (JCE)API within my servlets.
This API uses java.security and java.policy file. As an application my program works. 
But when I call in a servelt, it raises security exception as follows

java.lang.ExceptionInInitializerError: java.lang.SecurityException: Cannot set up 
certs for trusted CAs
at javax.crypto.b.([DashoPro-V1.2-120198])
at javax.crypto.KeyAgreement.getInstance([DashoPro-V1.2-120198])
.. and so on

I refered tomcat documentation for help. Documentation talks about editing 
tomcat.policy file in config dir. I could'nt find that policy file in my config dir 
and also the entry in server.xml for the ContextInterceptor which defines the class 
named PolicyInterceptor.
My env- Tomcat release build 3.1 on Windows NT and JDK 1.3

Can any one please help me  to overcome this situation.

Also can you suggest how to enter the following command in java.policy file in windows 
env

grant codeBase "file:${java.home}/lib/ext/*" {
permission java.security.AllPermission;
};
means if I have to give an absolue path like C:\jdk1.3\. Do I have to use forward 
slash(/) or
backwordslash(\). I am lost there


Prathapan




_
Chat with your friends as soon as they come online. Get Rediff Bol at
http://bol.rediff.com

Participate in crazy auctions at http://auctions.rediff.com/auctions/






Authentication with Tomcat (help!!)

2000-11-16 Thread Sean Batten

I have 2 servlets, SetValue (which stores a value in the session object) and
GetValue (which returns the value). I want the user to log in to access
them. My web.xml file looks like this:





Protected
Area

/servlet/GetValue
/servlet/SetValue
 
GET
POST

  

tomcat
role1




  BASIC
  Example Basic Authentication Area





When my SetValue servlet is called the parameter that I send (value) does
not appear. If I remove the security constraint everything works fine. Does
anybody know why this might be happening?

Sean Batten



TSI Software is now Mercator  -  find out more at http://www.mercator.com

The information in this email is confidential and is intended solely for the 
addressee(s). Access to this email by anyone else is unauthorised.  If you are not an  
intended recipient, you must not read, use or disseminate the information contained in 
the email.  
Any views expressed in this message are those of the individual sender, except where 
the sender specifically states them to be the views of Mercator Software Ltd.