new to tomcat 5.0.28-how i can add context in the server.xml

2005-03-15 Thread Ashutosh Sharma
Hi,
I m new to tomcat 5.0.28. Previously i worked with tomcat 4.1.x-where
i will create a context with a docBase and this way i will work with
my webApp.
Now the world has changed a lot-everyone just deploying a WAR file
under webapps.
But i still want to work in the old manner-i want my
C:\Dir\sub-Dir\java\src\a\b\c\
to be compiled using ant which goes under C:\Dir\sub-\java\classes\a\b\c\
so that as and when i make any changes in any jsp file, struts-action,
formbean it gets direclty reflected rather than creating an out of box
WAR file again and again and putting it all under the webApps dir of
tomcat.
Can someone help me out?
Even ur help to deploy using manager will do?but i want manual editing
server.xml and then adding the context for my webApp.
Please help me.

-- 
With best regards:
Ashutosh Sharma

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



Re: new to tomcat 5.0.28-how i can add context in the server.xml

2005-03-15 Thread David Causse
Ashutosh Sharma wrote:
Hi,
I m new to tomcat 5.0.28. Previously i worked with tomcat 4.1.x-where
i will create a context with a docBase and this way i will work with
my webApp.
Now the world has changed a lot-everyone just deploying a WAR file
under webapps.
But i still want to work in the old manner-i want my
C:\Dir\sub-Dir\java\src\a\b\c\
to be compiled using ant which goes under C:\Dir\sub-\java\classes\a\b\c\
so that as and when i make any changes in any jsp file, struts-action,
formbean it gets direclty reflected rather than creating an out of box
WAR file again and again and putting it all under the webApps dir of
tomcat.
Can someone help me out?
Even ur help to deploy using manager will do?but i want manual editing
server.xml and then adding the context for my webApp.
Please help me.
 

Edit the file $CATALINA_HOME/conf/Catalina/localhost/your_webapp.xml.
Regards.
David.

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


Re: new to tomcat 5.0.28-how i can add context in the server.xml

2005-03-15 Thread Ashutosh Sharma
Hi David,
Thanks for the reply.
But if i see the manager.xml under this location it's contents are like this:

Context path=/manager docBase=${catalina.home}/server/webapps/manager
debug=0 privileged=true

  !-- Link to the user database we will get roles from --
  ResourceLink name=users global=UserDatabase
type=org.apache.catalina.UserDatabase/

/Context

So for my webApp viz. reports if i put this kind of contents:

Context path=/reports docBase=C:\talkBack src\talkback\java\build\reports
debug=0 privileged=true
/Context
and then i restart the tomcat i see the directory listing.
Shud i giv refrence of build dir or src directory. Actually my
build.xml compiles everythign from my src to corresponding build Dir.


On Tue, 15 Mar 2005 14:34:22 +0100, David Causse [EMAIL PROTECTED] wrote:
 Ashutosh Sharma wrote:
 
 Hi,
 I m new to tomcat 5.0.28. Previously i worked with tomcat 4.1.x-where
 i will create a context with a docBase and this way i will work with
 my webApp.
 Now the world has changed a lot-everyone just deploying a WAR file
 under webapps.
 But i still want to work in the old manner-i want my
 C:\Dir\sub-Dir\java\src\a\b\c\
 to be compiled using ant which goes under 
 C:\Dir\sub-\java\classes\a\b\c\
 so that as and when i make any changes in any jsp file, struts-action,
 formbean it gets direclty reflected rather than creating an out of box
 WAR file again and again and putting it all under the webApps dir of
 tomcat.
 Can someone help me out?
 Even ur help to deploy using manager will do?but i want manual editing
 server.xml and then adding the context for my webApp.
 Please help me.
 
 
 Edit the file $CATALINA_HOME/conf/Catalina/localhost/your_webapp.xml.
 
 Regards.
 
 David.
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


-- 
With best regards:
Ashutosh Sharma

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



Re: new to tomcat 5.0.28-how i can add context in the server.xml

2005-03-15 Thread David Causse
Ashutosh Sharma wrote:
Hi David,
Thanks for the reply.
But if i see the manager.xml under this location it's contents are like this:
Context path=/manager docBase=${catalina.home}/server/webapps/manager
   debug=0 privileged=true
 !-- Link to the user database we will get roles from --
 ResourceLink name=users global=UserDatabase
   type=org.apache.catalina.UserDatabase/
/Context
So for my webApp viz. reports if i put this kind of contents:
Context path=/reports docBase=C:\talkBack src\talkback\java\build\reports
   debug=0 privileged=true
/Context
and then i restart the tomcat i see the directory listing.
Shud i giv refrence of build dir or src directory. Actually my
build.xml compiles everythign from my src to corresponding build Dir.
 

You have to give a docBase that points to your webapps, in your 
example you must have this directory :

C:\talkBack src\talkback\java\build\reports\WEB-INF
and I hope a web.xml inside.
and for java classes (your build dest must be something like this)
C:\talkBack src\talkback\java\build\reports\WEB-INF\classes\
Your JSPs can be everywhere inside (depends on you web.xml):
C:\talkBack src\talkback\java\build\reports\
Don't forget to specify welcome-file in your web.xml.
You removed the RessourceLink to user databases so why do you continue to
use privileged=true ? I don't know if it's correct...
You can add log info to your context that might help you later:
 Logger className=org.apache.catalina.logger.FileLogger
prefix=localhost_reports_log. suffix=.txt
   timestamp=true/
Good luck,
David.
PS. I don't know if the '\' is OK for file separator inside this file: 
you'd better use '/'
like this: c:/webapps/reports.

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


New to Tomcat

2005-03-09 Thread Amrish Bharatiya
Hi All, 

I am new to tomcat and want a nice tutorial for JSP Development. Can
anybody suggest me some links for the same.

-- 
Thanks in Advance,
Amrish

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



Re: New to Tomcat

2005-03-09 Thread Geertjan Wielenga
Amrish Bharatiya wrote:
Hi All, 

I am new to tomcat and want a nice tutorial for JSP Development. Can
anybody suggest me some links for the same.
 

Here's something: http://www.netbeans.org/kb/using-netbeans/40/dbconn.html
It tells you how to use Tomcat connection pooling (with the help of 
NetBeans IDE).

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


I am new to Tomcat can any one tell me the steps to configure it

2004-11-06 Thread inr
Hai all,
 I am new to Tomcat and i am. can anyone help me to configure it.


Thanks and Regards,
inr.

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



RE: new to Tomcat..

2004-10-07 Thread John Najarian
Did you use the admin or manager tool to check if it's available?

-Original Message-
From: Vivek Behal [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 06, 2004 10:39 PM
To: [EMAIL PROTECTED]
Subject: new to Tomcat..

Hi,
 I am new to tomcat. I've installed tomcat 5.0.28 on my machine. I
developed a servlet and put it in the webapps\ROOT\WEB-INF\classes folder.
Then I modified the web.xml file according to that. it is working very fine.
but if I put a .html file, a simple static hello.html in the webapps\ROOT
then I use  the explorer http://localhost:8080/hello.html
http://localhost:8080/hello.html 
I get page not found error. Could you suggest me what is the problem?
 
Regards,
Vivek Behal.
 
 


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



RE: new to Tomcat..

2004-10-07 Thread Vivek Behal
No. but the .html is avaialable there and tomcat is not able to get it.

Regards,
Vivek Behal.
 



-Original Message-
From: John Najarian [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 07, 2004 12:32 PM
To: 'Tomcat Users List'
Subject: RE: new to Tomcat..


Did you use the admin or manager tool to check if it's available?

-Original Message-
From: Vivek Behal [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 06, 2004 10:39 PM
To: [EMAIL PROTECTED]
Subject: new to Tomcat..

Hi,
 I am new to tomcat. I've installed tomcat 5.0.28 on my machine. I
developed a servlet and put it in the webapps\ROOT\WEB-INF\classes folder.
Then I modified the web.xml file according to that. it is working very fine.
but if I put a .html file, a simple static hello.html in the webapps\ROOT
then I use  the explorer http://localhost:8080/hello.html
http://localhost:8080/hello.html 
I get page not found error. Could you suggest me what is the problem?
 
Regards,
Vivek Behal.
 
 


-
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: new to Tomcat..

2004-10-07 Thread John Najarian
Have you restarted tomcat?

-Original Message-
From: Vivek Behal [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 06, 2004 11:58 PM
To: Tomcat Users List
Subject: RE: new to Tomcat..

No. but the .html is avaialable there and tomcat is not able to get it.

Regards,
Vivek Behal.
 



-Original Message-
From: John Najarian [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 07, 2004 12:32 PM
To: 'Tomcat Users List'
Subject: RE: new to Tomcat..


Did you use the admin or manager tool to check if it's available?

-Original Message-
From: Vivek Behal [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 06, 2004 10:39 PM
To: [EMAIL PROTECTED]
Subject: new to Tomcat..

Hi,
 I am new to tomcat. I've installed tomcat 5.0.28 on my machine. I
developed a servlet and put it in the webapps\ROOT\WEB-INF\classes folder.
Then I modified the web.xml file according to that. it is working very fine.
but if I put a .html file, a simple static hello.html in the webapps\ROOT
then I use  the explorer http://localhost:8080/hello.html
http://localhost:8080/hello.html 
I get page not found error. Could you suggest me what is the problem?
 
Regards,
Vivek Behal.
 
 


-
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: new to Tomcat..

2004-10-07 Thread Vivek Behal
when I put the .html file there, the tomcat was not running.after putting
the .html file i started tomcat.

Regards,
Vivek Behal.
 



-Original Message-
From: John Najarian [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 07, 2004 12:45 PM
To: 'Tomcat Users List'
Subject: RE: new to Tomcat..


Have you restarted tomcat?

-Original Message-
From: Vivek Behal [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 06, 2004 11:58 PM
To: Tomcat Users List
Subject: RE: new to Tomcat..

No. but the .html is avaialable there and tomcat is not able to get it.

Regards,
Vivek Behal.
 



-Original Message-
From: John Najarian [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 07, 2004 12:32 PM
To: 'Tomcat Users List'
Subject: RE: new to Tomcat..


Did you use the admin or manager tool to check if it's available?

-Original Message-
From: Vivek Behal [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 06, 2004 10:39 PM
To: [EMAIL PROTECTED]
Subject: new to Tomcat..

Hi,
 I am new to tomcat. I've installed tomcat 5.0.28 on my machine. I
developed a servlet and put it in the webapps\ROOT\WEB-INF\classes folder.
Then I modified the web.xml file according to that. it is working very fine.
but if I put a .html file, a simple static hello.html in the webapps\ROOT
then I use  the explorer http://localhost:8080/hello.html
http://localhost:8080/hello.html 
I get page not found error. Could you suggest me what is the problem?
 
Regards,
Vivek Behal.
 
 


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



new to Tomcat..

2004-10-06 Thread Vivek Behal
Hi,
 I am new to tomcat. I've installed tomcat 5.0.28 on my machine. I
developed a servlet and put it in the webapps\ROOT\WEB-INF\classes folder.
Then I modified the web.xml file according to that. it is working very fine.
but if I put a .html file, a simple static hello.html in the webapps\ROOT
then I use  the explorer http://localhost:8080/hello.html
http://localhost:8080/hello.html 
I get page not found error. Could you suggest me what is the problem?
 
Regards,
Vivek Behal.
 
 


New to tomcat

2004-01-14 Thread Tea, Justin
Hi,
I'm new to Tomcat, Apache and JDK world (three things I noticed are
loaded on our server).  Our custom apps broke around the time Verisign
cert expired.  How can I tell whether this is indeed the case?  

Keytool?  If so, what's the exact parameter?


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



RE: New to tomcat

2004-01-14 Thread Mark Thomas
Try this in your {JAVA_HOME}\jre\lib\security directory
keytool -list -v -keystore cacerts 

You'll need to enter your keystore password. This is changeit by default unless
someone had the good sense to do the obvious.

This will give a long list of the certificates including the validity dates.

Mark

-Original Message-
From: Tea, Justin [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 14, 2004 10:56 PM
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: New to tomcat

Hi,
I'm new to Tomcat, Apache and JDK world (three things I noticed are
loaded on our server).  Our custom apps broke around the time Verisign
cert expired.  How can I tell whether this is indeed the case?  

Keytool?  If so, what's the exact parameter?


-
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: New to tomcat

2004-01-14 Thread Tea, Justin
Thanks!  That works.  Sure enough, it expired 1/7.

Now, how do I get the Verisign intermediate cert in there?

-Original Message-
From: Mark Thomas [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 14, 2004 3:12 PM
To: 'Tomcat Users List'
Subject: RE: New to tomcat

Try this in your {JAVA_HOME}\jre\lib\security directory
keytool -list -v -keystore cacerts 

You'll need to enter your keystore password. This is changeit by default
unless
someone had the good sense to do the obvious.

This will give a long list of the certificates including the validity
dates.

Mark

-Original Message-
From: Tea, Justin [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 14, 2004 10:56 PM
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: New to tomcat

Hi,
I'm new to Tomcat, Apache and JDK world (three things I noticed are
loaded on our server).  Our custom apps broke around the time Verisign
cert expired.  How can I tell whether this is indeed the case?  

Keytool?  If so, what's the exact parameter?


-
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: New to tomcat

2004-01-14 Thread Mark Thomas
Should be something like this to remove expired certs
keytool -delete -alias verisignclass2ca -keystore -cacerts -storepass changeit
keytool -delete -alias verisignclass3ca -keystore -cacerts -storepass changeit
keytool -delete -alias verisignclass4ca -keystore -cacerts -storepass changeit

Verisign appear to recommend that you remove the class1 cert too.
keytool -delete -alias verisignclass1ca -keystore -cacerts -storepass changeit

Download new certs to {JAVA_HOME}\jre\lib\security directory from
http://www.verisign.com/support/roots.html

Extract PCA1ss_v4.509,PCA2ss_v4.509,PCA3ss_v4.509 to the same directory
Then import them using
keytool -import -alias verisignclass1ca -keystore -cacerts -storepass changeit
-file PCA1ss_v4.509
keytool -import -alias verisignclass2ca -keystore -cacerts -storepass changeit
-file PCA2ss_v4.509
keytool -import -alias verisignclass3ca -keystore -cacerts -storepass changeit
-file PCA3ss_v4.509

Verisgn also recommend importing the G2 and G3 certs.
Extract releveant files from zip. Use import as above, remembering to give each
cert a unique (sensible) alias.

There is also at least on other thread on tomcat-user about this. Might be worth
a look in the archives.

Mark

-Original Message-
From: Tea, Justin [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 14, 2004 11:47 PM
To: Tomcat Users List
Subject: RE: New to tomcat

Thanks!  That works.  Sure enough, it expired 1/7.

Now, how do I get the Verisign intermediate cert in there?

snip

Try this in your {JAVA_HOME}\jre\lib\security directory
keytool -list -v -keystore cacerts 

You'll need to enter your keystore password. This is changeit by default
unless
someone had the good sense to do the obvious.

This will give a long list of the certificates including the validity
dates.

Mark

-Original Message-
From: Tea, Justin [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 14, 2004 10:56 PM
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: New to tomcat

Hi,
I'm new to Tomcat, Apache and JDK world (three things I noticed are
loaded on our server).  Our custom apps broke around the time Verisign
cert expired.  How can I tell whether this is indeed the case?  

Keytool?  If so, what's the exact parameter?


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



New to Tomcat

2003-10-08 Thread Khairuddin Md Saad
Hi,
 
I'm very new here. I have 1 question.
 
I have downloaded Tomcat 4.1.27 from 
http://mirror.leafbug.org/apache-dist/jakarta/tomcat-4/binaries/jakarta-tomcat-4.1.27.exe.
 I have downloaded and installed j2sdk1.4.2. I have tried to start Tomcat and 
successfully get the http://localhost:8080/index.jsp. 
Unfortunately I cannot find any class folder in my TOMCAT_HOME\webapps\ROOT\WEB-INF\ 
directory. Is it normal?? Can I simply create my own 'classes' folder under this 
directory or do I need to configure something else when I create the 'classes'?
For your information, I have set the environment variable for 
PATH=C:\j2sdk1.4.2\bin;C:\j2sdk1.4.2 TOMCAT_HOME, JAVA_HOME and CATALINA HOME


-
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search

RE: New to Tomcat

2003-10-08 Thread Arnaud HERITIER
you should read this :
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/index.html
It explains how to create your own web app with Tomcat.

Arnaud.

 -Message d'origine-
 De : Khairuddin Md Saad [mailto:[EMAIL PROTECTED]
 Envoye : mercredi 8 octobre 2003 12:17
 A : [EMAIL PROTECTED]
 Objet : New to Tomcat


 Hi,

 I'm very new here. I have 1 question.

 I have downloaded Tomcat 4.1.27 from
 http://mirror.leafbug.org/apache-dist/jakarta/tomcat-4/binarie
 s/jakarta-tomcat-4.1.27.exe. I have downloaded and installed
 j2sdk1.4.2. I have tried to start Tomcat and successfully get
 the http://localhost:8080/index.jsp.
 Unfortunately I cannot find any class folder in my
 TOMCAT_HOME\webapps\ROOT\WEB-INF\ directory. Is it normal??
 Can I simply create my own 'classes' folder under this
 directory or do I need to configure something else when I
 create the 'classes'?
 For your information, I have set the environment variable for
 PATH=C:\j2sdk1.4.2\bin;C:\j2sdk1.4.2 TOMCAT_HOME, JAVA_HOME
 and CATALINA HOME


 -
 Do you Yahoo!?
 The New Yahoo! Shopping - with improved product search


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



Running JSP....new to Tomcat 5.0

2003-09-07 Thread Amy Cheung
Hi,

How can I setup the server configuration using TOMCAT
Ver5.0? I follow the same method for TOMCAT Ver3.0 but
it give error as below: 
SEVERE: Cannot find msg asso. with key
stdContext.resourcesStart Document base does not
exit or is not a readable directory 

What is the correct to initialize the docBase? My
folder is stored in C:\SLF_proj. Where to put the code
in server.xml?

Thks!!! 

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

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



Re: Running JSP....new to Tomcat 5.0

2003-09-07 Thread Bill Barker
Urm, there is almost nothing in common between setting up Tomcat 3.x and
setting up Tomcat 5.x (except that the name of the 'server.xml' file has
stayed the same ;-).  Almost all of the directories have changed (with the
exceptions of 'conf' and 'webapps'), the syntax of 'server.xml' is
completely different, if you are using app-context.xml files the location
has changed as well as the content.

My advice is to go to
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/index.html and re-learn how
to setup Tomcat as though you never knew how to setup Tomcat 3.x.

Amy Cheung [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 Hi,

 How can I setup the server configuration using TOMCAT
 Ver5.0? I follow the same method for TOMCAT Ver3.0 but
 it give error as below:
 SEVERE: Cannot find msg asso. with key
 stdContext.resourcesStart Document base does not
 exit or is not a readable directory

 What is the correct to initialize the docBase? My
 folder is stored in C:\SLF_proj. Where to put the code
 in server.xml?

 Thks!!!

 __
 Do you Yahoo!?
 Yahoo! SiteBuilder - Free, easy-to-use web site design software
 http://sitebuilder.yahoo.com




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



[Announce] New book Tomcat Security Handbook

2003-03-03 Thread Vivek Chopra
Announcing the release of a new book- Tomcat Security
Handbook (Wrox Press)

http://www.wrox.com/books/1861008309.htm

What does this book cover?

This book is targeted at production deployments of
Tomcat, and is a good complement to the Professional
Apache Tomcat book (also Wrox Press). It covers:

* Understanding Tomcat Security
Tomcat vulnerability overview and common security
problems.
 
* Tightening File System Screws
Planning security permissions for Tomcat's files and
directories.

* Java Security Manager
Discusses the Java Security Manager and its role in
Tomcat, and explains the Tomcat security policy file
in
detail.

* Security Realms
Discusses how Realms are used to add security to web
applications. Covers Memory, UserDatabase, JDBC,
JNDI and JAAS realms.
  
* Secure sockets and Tomcat
Covers PKI and SSL; using Tomcat standalone with SSL,
as well as with an Apache front end. 

* Application Security
A guide to building secure web applications and
safeguarding against exploits such as code injection
attacks, SQL injection attacks, source exposure, among
others.


__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

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



New to Tomcat 4.1.10

2002-09-19 Thread Jean-Baptiste Onofré

Hello all,

yesterday i have Apache 1.3.26 + mod_jk1 + Tomcat 4.0.3

All works fine.

I would like to update to Tomcat 4.1.10 with mod_jk2.
Someone can help me (send me url, documentation and config file) ?

Thanks,
Best regards
-- 
Jean-Baptiste Onofré (Nanthrax)
Membre fondateur de phpFR.org
http://www.phpfr.org
[EMAIL PROTECTED]
Membre fondateur du LUG Béziers
http://lug-beziers.org
[EMAIL PROTECTED]

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




Re: New to Tomcat 4.1.10

2002-09-19 Thread Robert L Sowders

There are some problems with TC 4.1.10 right now.  If you intend to 
install precompiled binaries you might want to wait for 4.1.11.  If yo 
intend to build then get your sources from CVS as some of the fixes are 
already there.

It really depends on your OS but here's a list that should get you 
started.

First try the search at http://www.mail-archive.com/tomcat-user@jakarta.apache.org/ or 
Google.

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

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

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

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

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

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

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

rls





Jean-Baptiste Onofré [EMAIL PROTECTED]
Sent by: Jean-Baptiste Onofré (Nanthrax) [EMAIL PROTECTED]
09/19/2002 12:31 AM
Please respond to Tomcat Users List

 
To: [EMAIL PROTECTED]
cc: 
Subject:New to Tomcat 4.1.10

Hello all,

yesterday i have Apache 1.3.26 + mod_jk1 + Tomcat 4.0.3

All works fine.

I would like to update to Tomcat 4.1.10 with mod_jk2.
Someone can help me (send me url, documentation and config file) ?

Thanks,
Best regards
-- 
Jean-Baptiste Onofré (Nanthrax)
Membre fondateur de phpFR.org
http://www.phpfr.org
[EMAIL PROTECTED]
Membre fondateur du LUG Béziers
http://lug-beziers.org
[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: New to Tomcat 4.1.10

2002-09-19 Thread Jean-Baptiste Onofré

Thanks for your answer, wait for new binaries :)
-- 
Jean-Baptiste Onofré (Nanthrax)
Membre fondateur de phpFR.org
http://www.phpfr.org
[EMAIL PROTECTED]
Membre fondateur du LUG Béziers
http://lug-beziers.org
[EMAIL PROTECTED]

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




Re: new to tomcat

2002-08-12 Thread Michael E. Locasto

Amit,

 But when i create  TESTJSP directory under
 Tomcat4.0
 - webapps
 --- TESTJSP
 ---  HelloWorld.jsp

did you restart Tomcat after you created that directory and put the jsp in
it?

You don't need a Context entry in server.xml for directories under webapps/
...
they will get loaded automagically at startup.

Regards,
Michael



  try to view in browser ..
 http://localhost:8080/TESTJSP/HelloWorld.jsp

 it gives error saying HTTP 404 error .. requested resources are not
 available..
 Can u tell me what type of error is it?

 regards

 Amit Luktuke



 - Original Message -
 From: Ben Walding [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Sent: Saturday, August 10, 2002 1:40 PM
 Subject: Re: new to tomcat


  Possibly :
  You should have called the dir webapps
 
  not webaaps
 
  Although this is probably just a typo in your email :)
 
  Amit Luktuke wrote:
 
  hello
  
  I am very new to Tomcat4.0.
  I have successfully installed tomcat4.0 on my machine but can not able
to
 run simple HelloWorld.jsp file.
  
  I have put it in folder
  C:\Tomcat4.0\webaaps\TestJSP\Helloworld.jsp
  
 webapps
 
  
  On brower ..
  http://localhost:8080/TestJSP/Helloworld.jsp
  
  My O.S is windows 2000 professional  i have JDK1.3 installed.
  
  Can anyone help me
  
  
  Regards
  
  Amit Luktuke
  
  
  
  
 
 
 
 
  --
  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: new to tomcat

2002-08-12 Thread Vishal Mukherjee

hi
Is it necessary to deploy the application under webapps directory only.
Regards
Vishal

- Original Message -
From: Michael E. Locasto [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, August 12, 2002 6:04 PM
Subject: Re: new to tomcat


Amit,

 But when i create  TESTJSP directory under
 Tomcat4.0
 - webapps
 --- TESTJSP
 ---  HelloWorld.jsp

did you restart Tomcat after you created that directory and put the jsp in
it?

You don't need a Context entry in server.xml for directories under webapps/
...
they will get loaded automagically at startup.

Regards,
Michael



  try to view in browser ..
 http://localhost:8080/TESTJSP/HelloWorld.jsp

 it gives error saying HTTP 404 error .. requested resources are not
 available..
 Can u tell me what type of error is it?

 regards

 Amit Luktuke



 - Original Message -
 From: Ben Walding [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Sent: Saturday, August 10, 2002 1:40 PM
 Subject: Re: new to tomcat


  Possibly :
  You should have called the dir webapps
 
  not webaaps
 
  Although this is probably just a typo in your email :)
 
  Amit Luktuke wrote:
 
  hello
  
  I am very new to Tomcat4.0.
  I have successfully installed tomcat4.0 on my machine but can not able
to
 run simple HelloWorld.jsp file.
  
  I have put it in folder
  C:\Tomcat4.0\webaaps\TestJSP\Helloworld.jsp
  
 webapps
 
  
  On brower ..
  http://localhost:8080/TestJSP/Helloworld.jsp
  
  My O.S is windows 2000 professional  i have JDK1.3 installed.
  
  Can anyone help me
  
  
  Regards
  
  Amit Luktuke
  
  
  
  
 
 
 
 
  --
  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: new to tomcat

2002-08-12 Thread Michael E. Locasto

No sir, you can pretty much put the directory any place you want, as long as
you then specify a Context entry telling Tomcat where to find it.

Regards,
Michael


- Original Message -
From: Vishal Mukherjee [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, August 12, 2002 8:25 AM
Subject: Re: new to tomcat


 hi
 Is it necessary to deploy the application under webapps directory only.
 Regards
 Vishal

 - Original Message -
 From: Michael E. Locasto [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Sent: Monday, August 12, 2002 6:04 PM
 Subject: Re: new to tomcat


 Amit,

  But when i create  TESTJSP directory under
  Tomcat4.0
  - webapps
  --- TESTJSP
  ---  HelloWorld.jsp

 did you restart Tomcat after you created that directory and put the jsp in
 it?

 You don't need a Context entry in server.xml for directories under
webapps/
 ...
 they will get loaded automagically at startup.

 Regards,
 Michael


 
   try to view in browser ..
  http://localhost:8080/TESTJSP/HelloWorld.jsp
 
  it gives error saying HTTP 404 error .. requested resources are not
  available..
  Can u tell me what type of error is it?
 
  regards
 
  Amit Luktuke
 
 
 
  - Original Message -
  From: Ben Walding [EMAIL PROTECTED]
  To: Tomcat Users List [EMAIL PROTECTED]
  Sent: Saturday, August 10, 2002 1:40 PM
  Subject: Re: new to tomcat
 
 
   Possibly :
   You should have called the dir webapps
  
   not webaaps
  
   Although this is probably just a typo in your email :)
  
   Amit Luktuke wrote:
  
   hello
   
   I am very new to Tomcat4.0.
   I have successfully installed tomcat4.0 on my machine but can not
able
 to
  run simple HelloWorld.jsp file.
   
   I have put it in folder
   C:\Tomcat4.0\webaaps\TestJSP\Helloworld.jsp
   
  webapps
  
   
   On brower ..
   http://localhost:8080/TestJSP/Helloworld.jsp
   
   My O.S is windows 2000 professional  i have JDK1.3 installed.
   
   Can anyone help me
   
   
   Regards
   
   Amit Luktuke
   
   
   
   
  
  
  
  
   --
   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: new to tomcat

2002-08-12 Thread Cédric Viaud

No,

you can deploy it everywhere, but if you do so, you have to declare your
application in the %TOMCAT_COME%/conf/server.xml

At the end, of the file INSIDE the HOST/HOST element, add something like
the following :
context path=/applicallname docBase=d:/applidir/everywhereyouwant
debug=0 reloadable=true crossContext=false/

So you can next call your appli by http://localhost:8080/applicallname; and
have your sources in d:/applidir/everywhereyouwant.

Beware of NT and slashes / may become \

Regards,

Cédric

- Original Message -
From: Vishal Mukherjee [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, August 12, 2002 2:25 PM
Subject: Re: new to tomcat


 hi
 Is it necessary to deploy the application under webapps directory only.
 Regards
 Vishal

 - Original Message -
 From: Michael E. Locasto [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Sent: Monday, August 12, 2002 6:04 PM
 Subject: Re: new to tomcat


 Amit,

  But when i create  TESTJSP directory under
  Tomcat4.0
  - webapps
  --- TESTJSP
  ---  HelloWorld.jsp

 did you restart Tomcat after you created that directory and put the jsp in
 it?

 You don't need a Context entry in server.xml for directories under
webapps/
 ...
 they will get loaded automagically at startup.

 Regards,
 Michael


 
   try to view in browser ..
  http://localhost:8080/TESTJSP/HelloWorld.jsp
 
  it gives error saying HTTP 404 error .. requested resources are not
  available..
  Can u tell me what type of error is it?
 
  regards
 
  Amit Luktuke
 
 
 
  - Original Message -
  From: Ben Walding [EMAIL PROTECTED]
  To: Tomcat Users List [EMAIL PROTECTED]
  Sent: Saturday, August 10, 2002 1:40 PM
  Subject: Re: new to tomcat
 
 
   Possibly :
   You should have called the dir webapps
  
   not webaaps
  
   Although this is probably just a typo in your email :)
  
   Amit Luktuke wrote:
  
   hello
   
   I am very new to Tomcat4.0.
   I have successfully installed tomcat4.0 on my machine but can not
able
 to
  run simple HelloWorld.jsp file.
   
   I have put it in folder
   C:\Tomcat4.0\webaaps\TestJSP\Helloworld.jsp
   
  webapps
  
   
   On brower ..
   http://localhost:8080/TestJSP/Helloworld.jsp
   
   My O.S is windows 2000 professional  i have JDK1.3 installed.
   
   Can anyone help me
   
   
   Regards
   
   Amit Luktuke
   
   
   
   
  
  
  
  
   --
   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]




new to tomcat

2002-08-10 Thread Amit Luktuke

hello 

I am very new to Tomcat4.0.
I have successfully installed tomcat4.0 on my machine but can not able to run simple 
HelloWorld.jsp file.

I have put it in folder 
C:\Tomcat4.0\webaaps\TestJSP\Helloworld.jsp

On brower ..
http://localhost:8080/TestJSP/Helloworld.jsp

My O.S is windows 2000 professional  i have JDK1.3 installed.

Can anyone help me


Regards

Amit Luktuke




Re: new to tomcat

2002-08-10 Thread Ben Walding

Possibly :
You should have called the dir webapps

not webaaps

Although this is probably just a typo in your email :)

Amit Luktuke wrote:

hello 

I am very new to Tomcat4.0.
I have successfully installed tomcat4.0 on my machine but can not able to run simple 
HelloWorld.jsp file.

I have put it in folder 
C:\Tomcat4.0\webaaps\TestJSP\Helloworld.jsp

   webapps


On brower ..
http://localhost:8080/TestJSP/Helloworld.jsp

My O.S is windows 2000 professional  i have JDK1.3 installed.

Can anyone help me


Regards

Amit Luktuke


  





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




Re: new to tomcat

2002-08-10 Thread Amit Luktuke

Hello Ben..
That was my type error only..
I have created HelloWorld.jsp  compile it
When i put it in ROOT folder of Tomcat4.0 
view in browse ..
http://localhost:8080/HelloWorld.jsp
it works.

But when i create  TESTJSP directory under
Tomcat4.0
- webapps
--- TESTJSP
---  HelloWorld.jsp

 try to view in browser ..
http://localhost:8080/TESTJSP/HelloWorld.jsp

it gives error saying HTTP 404 error .. requested resources are not
available..
Can u tell me what type of error is it?

regards

Amit Luktuke



- Original Message -
From: Ben Walding [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Saturday, August 10, 2002 1:40 PM
Subject: Re: new to tomcat


 Possibly :
 You should have called the dir webapps

 not webaaps

 Although this is probably just a typo in your email :)

 Amit Luktuke wrote:

 hello
 
 I am very new to Tomcat4.0.
 I have successfully installed tomcat4.0 on my machine but can not able to
run simple HelloWorld.jsp file.
 
 I have put it in folder
 C:\Tomcat4.0\webaaps\TestJSP\Helloworld.jsp
 
webapps

 
 On brower ..
 http://localhost:8080/TestJSP/Helloworld.jsp
 
 My O.S is windows 2000 professional  i have JDK1.3 installed.
 
 Can anyone help me
 
 
 Regards
 
 Amit Luktuke
 
 
 
 




 --
 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: new to tomcat

2002-08-10 Thread Marius Urbietis

Amit Luktuke wrote:
 hello 
 
 I am very new to Tomcat4.0.
 I have successfully installed tomcat4.0 on my machine but can not able to run simple 
HelloWorld.jsp file.
 
 I have put it in folder 
 C:\Tomcat4.0\webaaps\TestJSP\Helloworld.jsp
You must register your application in file c:\Tomcat4.0\conf\server.xml 
by adding such line:

Context path=/TestJSP docBase=TestJSP debug=0 reloadable=true /

or read this manual: 
http://www.onjava.com/pub/a/onjava/2001/04/19/tomcat.html

 
 On brower ..
 http://localhost:8080/TestJSP/Helloworld.jsp
 
 My O.S is windows 2000 professional  i have JDK1.3 installed.
 
 Can anyone help me
 
 
 Regards
 
 Amit Luktuke
 
 




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




Re: new to tomcat

2002-08-10 Thread Amit Luktuke

Hello Marius

Thank u very much..

I am developing web application from scratch using tomcat/stuts... will
need ur help from time to time..

regards
Amit

- Original Message -
From: Marius Urbietis [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Saturday, August 10, 2002 4:51 PM
Subject: Re: new to tomcat


 Amit Luktuke wrote:
  hello
 
  I am very new to Tomcat4.0.
  I have successfully installed tomcat4.0 on my machine but can not able
to run simple HelloWorld.jsp file.
 
  I have put it in folder
  C:\Tomcat4.0\webaaps\TestJSP\Helloworld.jsp
 You must register your application in file c:\Tomcat4.0\conf\server.xml
 by adding such line:

 Context path=/TestJSP docBase=TestJSP debug=0 reloadable=true /

 or read this manual:
 http://www.onjava.com/pub/a/onjava/2001/04/19/tomcat.html

 
  On brower ..
  http://localhost:8080/TestJSP/Helloworld.jsp
 
  My O.S is windows 2000 professional  i have JDK1.3 installed.
 
  Can anyone help me
 
 
  Regards
 
  Amit Luktuke
 
 




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




some new probs (tomcat with IIS).. service() failed

2002-07-10 Thread Anoop Kumar V
Title: some new probs (tomcat with IIS).. service() failed





Hi,


i am configuring tomcat with IIS. i was successful on my local machine.
I was nect trying out the same thing on serevr machine, but for some reason it
is bombing.. i hv attched isapi.log file. and i am getting
HttpExtensionProc error, service() failed error.
Also i hv tomcat installed under program files, a space in betn. i hv tried to edit the
workers.properties using progra~1 but i still get the same errors.


thanx,
anoop







isapi.log
Description: Binary data

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


New to Tomcat/Mac OS 9

2002-07-08 Thread Aldo Bergamini

Hi all,

since the past weekend I am almost a Tomcat 3.x user. 'Almost' means that
as I am starting just now to study Tomcat 3.x (I am Mac user still
running Mac OS9 = JDK 1.1.8) I have had mixed results so far.

Some servlet examples run on T 3.2.4; I could not make 3.3.1 run in any way.

Is anybody else on this list having experience setting it up? The
translation process of installation instructions from command line/shell
environments is -to me- somewhat complex...

TIA
 

Rgds
-- 
Aldo



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




Re: New to Tomcat/Mac OS 9

2002-07-08 Thread Peter Werno

Hello Aldo,

this is more guessing than knowing, but the Apple MRJ / JDK isn't Java 
2. If tomcat 3.3.x uses some Java 2 commands then you'd need to 
upgrade to OS X (which runs any kind of Tomcat just fine)
You should probably post this on the Developer-List, maybe someone 
there is able to tell you if there are Java 2 elements in 3.3.x

Regards,

Peter

On Mon, 8 Jul 2002 14:58:08 +0200
  Aldo Bergamini [EMAIL PROTECTED] wrote:
 Hi all,
 
 since the past weekend I am almost a Tomcat 3.x user. 'Almost' means 
 that
 as I am starting just now to study Tomcat 3.x (I am Mac user still
 running Mac OS9 = JDK 1.1.8) I have had mixed results so far.
 
 Some servlet examples run on T 3.2.4; I could not make 3.3.1 run in 
 any way.
 
 Is anybody else on this list having experience setting it up? The
 translation process of installation instructions from command 
 line/shell
 environments is -to me- somewhat complex...
 
 TIA
   
 
 Rgds
 -- 
 Aldo
 
 
 
 --
 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: New to Tomcat/Mac OS 9

2002-07-08 Thread Aldo Bergamini

Peter Werno is believed to have said: 

Hello Aldo,

this is more guessing than knowing, but the Apple MRJ / JDK isn't Java 
2. If tomcat 3.3.x uses some Java 2 commands then you'd need to 
upgrade to OS X (which runs any kind of Tomcat just fine)
You should probably post this on the Developer-List, maybe someone 
there is able to tell you if there are Java 2 elements in 3.3.x

Regards,

Peter

Thanks Peter,

I'll ask the Developer-List.

It seems that OS X is getting more and more unavoidable...


Rgds
-- 
Aldo



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




Re: New to Tomcat/Mac OS 9

2002-07-08 Thread Martin Jacobson

Aldo Bergamini wrote:

 Peter Werno is believed to have said: 
 
 
Hello Aldo,

this is more guessing than knowing, but the Apple MRJ / JDK isn't Java 
2. If tomcat 3.3.x uses some Java 2 commands then you'd need to 
upgrade to OS X (which runs any kind of Tomcat just fine)
You should probably post this on the Developer-List, maybe someone 
there is able to tell you if there are Java 2 elements in 3.3.x

Regards,

Peter

 
 Thanks Peter,
 
 I'll ask the Developer-List.
 
 It seems that OS X is getting more and more unavoidable...
 
 
 Rgds
 

Don't avoid OS X! Developing Java Apps on OS9 and before was terrible, 
to say the least! On Mac OS X it's much, much better! I recommend that 
you get GNU tar as the standard tar doesn't handle long paths, and I 
don't like the standard tcsh, so downloaded bash. BBEdit as the text 
editor, and you're away!
And why use Tomcat 3, when Tomcat 4 is so good?

I love OS X!
Martin


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




Re: New to Tomcat/Mac OS 9

2002-07-08 Thread Aldo Bergamini

Martin Jacobson is believed to have said: 

Don't avoid OS X! Developing Java Apps on OS9 and before was terrible, 
to say the least! On Mac OS X it's much, much better! I recommend that 

Martin,

OS X is in my plans. BUT: for somebody like myself with no Unix
experience it's a big jump.

So I need to have a little bit of time for that: it was scheduled for a
period like August were biz is resting (a least here in Italy: the best
time for an invasion plan, as everybody is at some beach or sleeping
anywhere else).

Still there are now some more urgent needs than I thought, and I finally
settled about starting a few experiments right away on the OS I know.

Results are very bad: it's difficult to translate the configs and
settings from a language I do not know (any shell script in the standard
download is like it were form Mars).

you get GNU tar as the standard tar doesn't handle long paths, and I 
don't like the standard tcsh, so downloaded bash. BBEdit as the text 
editor, and you're away!

BBEdit is one of the first upgrades that go with OS X. GNU stuff in the
same round...

And why use Tomcat 3, when Tomcat 4 is so good?

BTW: it's so difficult to find ANY hint or tutorial on how Tomcat 3 needs
to be configured. At times I hate living in a fast moving profession...

I love OS X!
Martin

As as long, LONG time Mac user, it's a mixed feeling. I know that there
are a ton of improvements and advantages, but somehow I managed to wait
until now. Go figure...

Rgds
-- 
Aldo



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




Re: New to Tomcat/Mac OS 9

2002-07-08 Thread Bill Barker


- Original Message -
From: Aldo Bergamini [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, July 08, 2002 10:40 AM
Subject: Re: New to Tomcat/Mac OS 9


 Martin Jacobson is believed to have said:

 Don't avoid OS X! Developing Java Apps on OS9 and before was terrible,
 to say the least! On Mac OS X it's much, much better! I recommend that

 Martin,

 OS X is in my plans. BUT: for somebody like myself with no Unix
 experience it's a big jump.

 So I need to have a little bit of time for that: it was scheduled for a
 period like August were biz is resting (a least here in Italy: the best
 time for an invasion plan, as everybody is at some beach or sleeping
 anywhere else).

 Still there are now some more urgent needs than I thought, and I finally
 settled about starting a few experiments right away on the OS I know.

 Results are very bad: it's difficult to translate the configs and
 settings from a language I do not know (any shell script in the standard
 download is like it were form Mars).

I don't actually have access to an OS/9 machine, but I've gotten 3.3.1 to
run under Java 1.1.x.

Most of the shell scripts are trying to guess your setup.  However, what you
actually need to do is fairly simple:
1) set the CLASSPATH envronment variable to /path/to/tomcat/lib/tomcat.jar
2) java -Dtomcat.home=/path/to/tomcat -Dtomcat.install=/path/to/tomcat
org.apache.tomcat.startup.Main start

You have to replace the '/' with whatever File.Separator is on OS/9.  You
have to specify the tomcat.install value to get past a bug that didn't get
caught for 3.3.1 (but is fixed in the nightly) where some 1.1.x JVMs can't
guess the value correctly.



 you get GNU tar as the standard tar doesn't handle long paths, and I
 don't like the standard tcsh, so downloaded bash. BBEdit as the text
 editor, and you're away!

 BBEdit is one of the first upgrades that go with OS X. GNU stuff in the
 same round...

 And why use Tomcat 3, when Tomcat 4 is so good?

 BTW: it's so difficult to find ANY hint or tutorial on how Tomcat 3 needs
 to be configured. At times I hate living in a fast moving profession...

The user's guide at
http://jakarta.apache.org/tomcat/tomcat-3.3-doc/tomcat-ug.html is a good
place to start.


 I love OS X!
 Martin

 As as long, LONG time Mac user, it's a mixed feeling. I know that there
 are a ton of improvements and advantages, but somehow I managed to wait
 until now. Go figure...

 Rgds
 --
 Aldo





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




Re: New to Tomcat/Mac OS 9

2002-07-08 Thread Joel Rees

Bill Barker [EMAIL PROTECTED] contributed
 
 Aldo Bergamini replied
 
  Martin Jacobson is believed to have said:
 
  Don't avoid OS X! Developing Java Apps on OS9 and before was terrible,
  to say the least! On Mac OS X it's much, much better! I recommend that
 
  Martin,
 
  OS X is in my plans. BUT: for somebody like myself with no Unix
  experience it's a big jump.

...

  Results are very bad: it's difficult to translate the configs and
  settings from a language I do not know (any shell script in the standard
  download is like it were form Mars).
 
 I don't actually have access to an OS/9 machine, but I've gotten 3.3.1 to
 run under Java 1.1.x.
 
 Most of the shell scripts are trying to guess your setup. 

And I started rambling:

The closest thing to a shell script on Mac OS 9 and below is
AppleScript*. Imagine trying to program in natural language. It's a fun
language, and very perverse. Do not expect to convert shell scripts to
AppleScript, unless you know both rather well.

 However, what you
 actually need to do is fairly simple:
 1) set the CLASSPATH envronment variable to /path/to/tomcat/lib/tomcat.jar

What CLASSPATH? Or, I should say, Mac OS 9 and below essentially have no
system concept of persistent paths*. (See above about shell scripts.)

 2) java -Dtomcat.home=/path/to/tomcat -Dtomcat.install=/path/to/tomcat
 org.apache.tomcat.startup.Main start

No command line* to enter that on, either. (I wonder if you could pass
the parameters to MRJ from AppleScript and get a meaningful result. I
never did find out.)

 You have to replace the '/' with whatever File.Separator is on OS/9. 

That's a colon, and the rules there are a little perverse, as well.
Let me see if I can recall this right:

:localdoc
:localFolder:doc
::docInParent
::folderInParent:doc
Volume:folder:doc

and it gets even weirder from there. And, just to confuse things, many
programming environments tend to allow things like

localDoc
localFolder:doc

as well. Like I said, a little perverse.

Okay, by now my little white lie might be showing through:

[*] I said no shell. I should rather have said that, in classic
Macintosh programming, you, or your tool provider, supplied the
libraries that gave you any access to things like persistent paths,
command lines, and shell programming. When AppleScript became available,
it was the closest thing to a programmable shell that you could (almost)
expect to be on every system.

There was/is Apple's Macintosh Programmer's Workbench, a sort of
shell-on-steriods-hobbled-by-lack-of-true-task-separation that had a
unique syntax and set of delimiters, but otherwise was very similar to
UNIX shells. You basically did _not_ expect your end user to have this.
But it did provide paths and such. I don't remember if they ever did
really get Java to work with MPW. I seem to recall command line
parameter and environment access within programs called from MPW to have
been really bizarre. You had to compile the programs with special
libraries, and even then the access was not as easy as argc, argv, etc.

(MPW would be fun to re-implement as a UNIX shell, now, if one had a
spare year or two to throw at it.)

Think, Metrowerks and other compiler manufacturers provided virtual
console windows and other library stuff for emulating the standard
functions for C. These were useful, but were by no means programmable
shells.

MacPerl also provides a really interesting pseudo-command-line
environment. Interfaces quite well to BBEdit (and Alpha, as well, from
what I hear). I don't think anyone has thought to try to use that
combination as the command line for a Java environment, however. Wait. I
recall somebody mentioned the idea on a MacPerl mailing list, but the
thread seemed to stop rather quickly.

Hopefully, the above should make it clear that trying to develop Tomcat
on Mac OS 9 is not what you want to do if you have deadlines. Might be
fun if you have no deadlines and are really motivated to learn the old
classic programming environment as well as the BSD/Darwin environment.
But it is not a way to escape from Mac OS X.

Hmm. If you have the money to put your Tomcat server on a separate Mac
OS X box, set up a small local network, and then edit, upload, etc.,
from your friendly Mac OS 9 environment, that may help ease the
transition a bit.

 You
 have to specify the tomcat.install value to get past a bug that didn't get
 caught for 3.3.1 (but is fixed in the nightly) where some 1.1.x JVMs can't
 guess the value correctly.
 
 
 
  you get GNU tar as the standard tar doesn't handle long paths, and I
  don't like the standard tcsh, so downloaded bash. BBEdit as the text
  editor, and you're away!

I like BBEdit. I especially like how it handles UNICODE. The syntax
coloring may also be rather helpful with the XML stuff. And it runs on
Mac OS X, of course. You won't notice the difference. (Not much any way.)

  BBEdit is one of the first upgrades that go with OS X. GNU stuff in the
  

Re: New to Tomcat/Mac OS 9

2002-07-08 Thread Aldo Bergamini

Bill Barker is believed to have said: 

I don't actually have access to an OS/9 machine, but I've gotten 3.3.1 to
run under Java 1.1.x.

Most of the shell scripts are trying to guess your setup.  However, what you
actually need to do is fairly simple:
1) set the CLASSPATH envronment variable to /path/to/tomcat/lib/tomcat.jar
2) java -Dtomcat.home=/path/to/tomcat -Dtomcat.install=/path/to/tomcat
org.apache.tomcat.startup.Main start

You have to replace the '/' with whatever File.Separator is on OS/9.  You
have to specify the tomcat.install value to get past a bug that didn't get
caught for 3.3.1 (but is fixed in the nightly) where some 1.1.x JVMs can't
guess the value correctly.

Thanks Bill,

I will try to see if I can manage to have it running, too.


Rgds
-- 
Aldo



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




Re: Xtags and Tomcat I am pretty dang new to Tomcat and

2002-06-27 Thread Jeff Turner

On Thu, Jun 27, 2002 at 07:03:51AM -0700, Tim Ringwood wrote:
 I am pretty dang new to Tomcat (using 4.0.3) and have
 a few times tried to get Xtags to work. I need to
 translate XML to HTML using XSL. That's the only
 functionality I need. Xtags looked like the answer.
 
 No matter what I do I get the message:
 
 javax.servlet.ServletException:
 javax/xml/transform/URIResolver
   at
 org.apache.jasper.servlet.JspServlet.service(JspServlet.java:481)
   at
 javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
   at
 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247

I think Tomcat 4.0.3 had some horrible bugs stopping javax.* classes
from being visible inside the webapp. I'd try 4.0.4 (or 4.0.1) first.
Also, does the sample xtags webapp work?

FYI, I think xtags is 'deprecated' in favour of JSTL
(http://java.sun.com/products/jsp/jstl/), which has equivalent features.
You'd probably also get a better response to queries like this on the
taglibs-user list.


--Jeff


 I have the xtags jar file in WEB_INFlib as well as
 tomcat's common lib. I have the xtags.tld in placed
 and define in my web.xml.
 
 I can get my own custom tags to work.
 
 So what is up with Xtags.  
 
 I am sure I am just doing something silly which being
 a newbie I am just am overlooking. But if I can't this
 to work (XML/XSL and Tomcat) they'll make me use ASP!
 Help!
 
 
 thanks for any help,
 
 tim
 

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




Help me (new with tomcat)(puneet)

2002-05-05 Thread puneet sachar

Hey ..hi to everyone

I'm new to tomcat

plz tell me in detail what all i have to do .to
install with oracle.

and what all i have to do so that i have jsp running
on it

Plz i tried..to do what all written in .xml file..but
..not able to do

the problem i'm facing with oracle was that with
oracle, i install its do certain changes with
autoexec.bat and then my tocat don't work

i 'm really confused and not able to work whole
day..and ...

Plz if u able to help me...plz send me detail and step
by step ..solutions so that i don't stuck any more

Regards
Puneet

__
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com

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




New Apache/Tomcat How-To

2002-04-17 Thread Joseph Molnar

Hi folks. I had mentioned earlier about putting this together, and I have
finally posted an article to aid folks out there on how to get Apache
1.3/Tomcat 4/WARP all working together. It demonstrates:

a) multiple tomcat instances
b) multiple virtual hosts
c) SSL and non-SSL

(and extra tid-bits of information)

There URL is:

http://www.codesta.com/knowledge/technical/tomcat_warp_apache/

Feel free to have a look and send feedback! I tried to be fairly detailed,
so I hope it helps out!

Joe

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




New to Tomcat - Need Help!

2002-03-27 Thread Korakaki Stella


 Hi! I was looking for a way to have a web server running serlvets so I
tried Tomcat4. I know few about xml and the configurations are written
in xml. I have a lot of questions:
- How can I add a directory /icons just like in apache ?
- What shall I write at the web.xml of each WEB-INF directory in order
to make my classes executable and available?
- How can I make my own .jar files available not globaly but on certain
servlets?
- How can I change my directory index file from index.html to index.wml ?
- How can I prevent certain paths to be available through the browser ?
- How secure is Tomcat or how can I make it secure?

Please help me to get started with Tomcat :-)

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




Re: New to Tomcat - Need Help!

2002-03-27 Thread rsequeira


First Tomcat has some excellent documentation to get started and running. I
would advise you to have a look at it.
Next see answers intermixed...




Korakaki Stella [EMAIL PROTECTED] on 03/27/2002 07:04:58 AM

Please respond to Tomcat Users List [EMAIL PROTECTED]

To:   Tomcat Users List [EMAIL PROTECTED]
cc:

Subject:  New to Tomcat - Need Help!


 Hi! I was looking for a way to have a web server running serlvets so I
tried Tomcat4. I know few about xml and the configurations are written
in xml. I have a lot of questions:
- How can I add a directory /icons just like in apache ?
In Tomcat you define a Context element. See $CATALINA_HOME/conf/server.xml.

- What shall I write at the web.xml of each WEB-INF directory in order
to make my classes executable and available?
A web.xml helps you define servlet mappings, init parameters, security
constraints, etc. You could do without a web.xml if you have a pretty basic
application. But when your application grows, a web.xml becomes very
useful.

- How can I make my own .jar files available not globaly but on certain
servlets?
jar files you wish to make visible to a specific application should go in
the WEB-INF/lib directory of that application

- How can I change my directory index file from index.html to index.wml ?
See welcome-file-list tag in web.xml. Add an entry for index.wml before the
index.html (or just remove the index.html entry)

- How can I prevent certain paths to be available through the browser ?
I'm not sure what you mean by this. If you are talking about restricting
access see security constraints in your web.xml,

- How secure is Tomcat or how can I make it secure?
See security constraints. Also read up on SSL. There is a Connector that
listens on port 8443. See server.xml.

Please help me to get started with Tomcat :-)

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









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




New to Tomcat -- Logging

2001-09-04 Thread Amit Anand

Hey everyone,

Was wondering if there was a way within Tomcat to keep a track of all IP's
coming into the site. There is a product called WebTrends which I wanted to
run against the Tomcat logs to give me some reports. I cant seem to figure
out how to get better loggin from Tomcat though. Anyone have any
ideas/suggestions? I figure I gotta do something with web.xml but the point
is I have no clue. Any input would be greatly appreciated. Thanks!!

Amit Anand



Re: New to Tomcat -- Logging

2001-09-04 Thread Craig R. McClanahan

Tomcat 4 (when run in standalone mode) already produces access log files
compatible with analysis tools like Webtrends.  Alternatively, you can run
Tomcat behind a web server, and let the web server provide the log files
for you.

Craig McClanahan


On Tue, 4 Sep 2001, Amit Anand wrote:

 Date: Tue, 4 Sep 2001 14:33:51 -0400
 From: Amit Anand [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]
 To: '[EMAIL PROTECTED]' [EMAIL PROTECTED]
 Subject: New to Tomcat -- Logging

 Hey everyone,

 Was wondering if there was a way within Tomcat to keep a track of all IP's
 coming into the site. There is a product called WebTrends which I wanted to
 run against the Tomcat logs to give me some reports. I cant seem to figure
 out how to get better loggin from Tomcat though. Anyone have any
 ideas/suggestions? I figure I gotta do something with web.xml but the point
 is I have no clue. Any input would be greatly appreciated. Thanks!!

 Amit Anand





Re: New to Tomcat -- Logging

2001-09-04 Thread Tim O'Neil

At 02:54 PM 9/4/2001, Craig wrote:
Tomcat 4 (when run in standalone mode) already produces access log files
compatible with analysis tools like Webtrends.  Alternatively, you can run
Tomcat behind a web server, and let the web server provide the log files
for you.

You can also run a servlet that records the
ips of all requesters and redirects them to
your index page real easily.




New to Tomcat: Installation

2001-05-20 Thread James C. Bell Jr.

Hello, im new to tomcat.  I am installing Tomcat 3.1 on a windows 98 
machine.  I created a directory called tomcat with the bin, conf and the 
rest of the directories.  

Can anyone tell me how would I set my environment 
variables  and how I would set my class path.


James Bell





Re: New to Tomcat: Installation

2001-05-20 Thread Sujith

You can set environment variables by typing these commands in the command
prompt mannually or can include them in your autoexec.bat file.

SET TOMCAT_HOME = E:\Tomcat\;
SET JAVA_HOME = E:\JDK1.2.2\;

Where E:\Tomcat\ is the installation path of  tomcat files.
and e:\jdk1.2.2\ is the path where java is installed.

Thats all
enjoy


- Original Message -
From: James C. Bell Jr. [EMAIL PROTECTED]
To: Tomcat User Group (E-mail) [EMAIL PROTECTED]
Sent: Sunday, May 20, 2001 12:11 PM
Subject: New to Tomcat: Installation


 Hello, im new to tomcat.  I am installing Tomcat 3.1 on a windows 98
 machine.  I created a directory called tomcat with the bin, conf and the
 rest of the directories.

 Can anyone tell me how would I set my environment
 variables  and how I would set my class path.


 James Bell






Re: I'm New User - Tomcat HTTPS Help expecting

2001-03-05 Thread David Crooke

SSL is entirely orthogonal to Tomcat - just put the tomcat directives in
your SSL virtual host and use https URLs - look at
http://www.modssl.org/ for SSL info




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




Re: I'm New User - Tomcat HTTPS Help expecting

2001-03-05 Thread Sunil Chandurkar


But Mr. David

Is there any need to make any association between apache and tomcat. If yes how can i 
make it?
how can i get SSL Virtual Host?

/sunil

--- David Crooke [EMAIL PROTECTED]
 wrote:
SSL is entirely orthogonal to Tomcat - just put the tomcat directives in
your SSL virtual host and use https URLs - look at
http://www.modssl.org/ for SSL info




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

_
Get LifeTime Free email Visit  --- http://www.nagpurcity.net

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




new to tomcat/apache IRIX

2001-01-04 Thread Dave Salisbury


Hope someone can clue me in on the basics here?
Yep, I'm a newbie to servlets.

I'm hoping to set up a servlet and jsp enabled Apache server on
IRIX 6.5, but am having some trouble figuring out 
what to do.

It seems mod_jserv has been superceded by mod_jk.
Fair enough, but where can I get mod_jk.c?  It's not
in the jakarta-tomcat-3.2.1 or 3.1.1 distributions as
the docs seem to indicate, nor in any of the apache
distributions.  Also apxs seems to be only in the
Apache 1.3.9 distribution.  Is this the best/only  Apache version
to use?  I take it I'll also have to compile into Apache mod_so 
to be able to bring in mod_jk, but I'd sure like to forget
about dynamic linking if I can.  Can it all be compiled into
one big footprint?

Any advice out there on Tomcat/Apache setups
that are not loaded on an NT or Linux box will
be greatly appreciated, even if it's just "don't even try it"!

Thanx for any suggestions or info!

Dave


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




New with tomcat. Error with standard tomcat-apache.conf

2000-11-09 Thread Stefan Lang

Tomcat is working fine (http, Servlets and JSP).
Apache with mod_jserv is working fine (Servlets).

Switching to the automatic generated tomcat-apache.conf and starting apache as service 
causes an abort (Error 1067) and no log of any error.

System

NT 4.0 (sorry)
JDK 1.2 (Jbuilder 3)
Apache 1.3.12

---
Dipl. Inform. Univ.  E-mail: [EMAIL PROTECTED]
Stefan Lang  Vadersstr. 44 47800 Krefeld