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]


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]


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]



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]



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]



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]




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]




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




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.




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