RE: Configuration of tomcat

2003-03-14 Thread Gustavo Cebrian
I do not know exactly what you mean. 

Your webapps must be under webapps. Build a new directory called for example. myapp.

tomcat\webapps\myapp, myjsp.


By accessing the server e.g  http://localhost:8080/myapp/myjsp it should work.

Hope this helps. Otherwise give me more details.

Gustavo.





***
Gustavo Cebrian
Analyst/Programmer

Want to improve the ROI on your EAI project?
Download RV Tester and reduce your development 
and testing timescales by as much as 50%. 
http://www.greenhatconsulting.com/rvtester 

Green Hat Consulting Ltd.
107 Fleet Street, London EC4A 2AB
DDI +44 (0)20 7936 9495
Mobile +44 (0)7788 922291
http://www.greenhatconsulting.com
[EMAIL PROTECTED]
***




-Original Message-
From: Eamonn Walsh [mailto:[EMAIL PROTECTED]
Sent: 14 March 2003 18:53
To: [EMAIL PROTECTED]
Subject: Configuration of tomcat


Could you please help me with the following problem.
I have installed the JDK and tomcat successfully on my PC. I am now
ready to develop my own web application using JSP. I have admin rights
on the PC.
How do I set the context so that when I sdave my JSP files on my hard
dsik, tomcat will know where they are?
Regards,
Eamonn



---Legal  Disclaimer---

The above electronic mail transmission is confidential and intended only for the 
person to whom it is addressed. Its contents may be protected by legal and/or 
professional privilege. Should it be received by you in error please contact the 
sender at the above quoted email address. Any unauthorised form of reproduction of 
this message is strictly prohibited. The Institute does not guarantee the security of 
any information electronically transmitted and is not liable if the information 
contained in this communication is not a proper and complete record of the message as 
transmitted by the sender nor for any delay in its receipt.




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



Re: Configuration of tomcat

2003-03-14 Thread Paul Yunusov
On Friday 14 March 2003 01:53 pm, Eamonn Walsh wrote:
 Could you please help me with the following problem.
 I have installed the JDK and tomcat successfully on my PC. I am now
 ready to develop my own web application using JSP. I have admin rights
 on the PC.
 How do I set the context so that when I sdave my JSP files on my hard
 dsik, tomcat will know where they are?
 Regards,
 Eamonn

I understand you want to save your webapp files in a non-default location. You 
can set your own docBase for any context in server.xml or a separate 
context conf file.

Go to the Tomcat doc page at http://jakarta.apache.org/tomcat/tomcat-4.1-doc/ 
and find the Server Configuration Reference link. After following it, go to 
the Context page (the link is under Containers on the left hand side) and 
find the docBase paragraph under Attributes. It won't hurt reading the whole 
page though.

Paul

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



RE: Configuration Queston - Tomcat Server- Servlet Reloading

2003-02-07 Thread Nicole Hibbard

Hello:

I am also a newbie, but I will give it a shot.  Try turning on servlet
reloading which checks the modification date of the class files and reloads
ones that have changed.  This degrade performance in deployment, but is very
useful in developement.  If you fail to do it on your development server
then you have to restart each time.  I got this information from
http://www.moreservlets.com/Using-Tomcat-4.html.

edit install_dir/conf/server.xml and add a DefaultContext subelement to the
main Service element and supple true for the reloadable attribute.  The
easiest way to do this is find the following comment

!--Define properties for each web application.  This is only if you want to
set

and inser the following below it.

DefaultContext reloadable=true/


-Original Message-
From: Art Beaudry [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 07, 2003 8:54 AM
To: [EMAIL PROTECTED]
Subject: Configuration Queston - Tomcat Server



Ladies/Gentlemen,
  I have Apache's Tomcat Server running on my Windows Home XP system. I
am learning JSP using Sams Teach Yourself JavaServer Pages in 21 days.
The question is:
Why do I have to cold-boot every time I use Windows Explorer to create a
new folder while using the Tomcat Server? I should be able to point my
browser to that .jsp file and the browser should execute
that .jsp from that folder just after I put my .jsp file in that folder
or a compiled JAVA class in that folderno? Is there something in
Windows Home XP which does not put the correct attributes on the new
folder just created??
This is becoming a pain.

Thanks for your help
Art


-
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: Configuration of Tomcat

2001-11-23 Thread Christian Endres

Hi Jenny!

Many thanks for your help!!
Its working now

Christian

Ming Xinghui-w12393 wrote:

 Hi,Christian 
 
 put your own servlets into the 'www'/WEB_INF/classes,
 move the html-files to 'www' and its subdirectory.
 
 
 Jenny
 
 -Original Message-
 From: Christian Endres [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, November 21, 2001 4:33 PM
 To: Tomcat Users List
 Subject: Configuration of Tomcat
 
 
 Hi,
 
 I'm using SuSE Linux 7.2 with Apache 1.3.19 and Tomcat 3.2.3.
 It works perfect.
 Now I have to do a project which includes to prgram servlets. If i add
 my own servlets into the tomcat_home/webapps/examples/WEB_INF/classes,
 I can
 execute the servlets.
 So far everything works fine.
 Now my problem is, that I have to put all files of the project (HTML and
 servlets) into its own directory. I created a directory named 'www'. In
 this directory I put the html-files and I also want to save the servlets
 there.
 
 My questions is, how I have to configure tomcat to run the servlets from
 this directory.
 
 Thanks for your help!
 
 Best regeads
 Christian
 
 --
 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]
 
 
 



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




RE: Configuration of Tomcat

2001-11-21 Thread Ming Xinghui-w12393

Hi,Christian 

put your own servlets into the 'www'/WEB_INF/classes,
move the html-files to 'www' and its subdirectory.


Jenny

-Original Message-
From: Christian Endres [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 21, 2001 4:33 PM
To: Tomcat Users List
Subject: Configuration of Tomcat


Hi,

I'm using SuSE Linux 7.2 with Apache 1.3.19 and Tomcat 3.2.3.
It works perfect.
Now I have to do a project which includes to prgram servlets. If i add
my own servlets into the tomcat_home/webapps/examples/WEB_INF/classes,
I can
execute the servlets.
So far everything works fine.
Now my problem is, that I have to put all files of the project (HTML and
servlets) into its own directory. I created a directory named 'www'. In
this directory I put the html-files and I also want to save the servlets
there.

My questions is, how I have to configure tomcat to run the servlets from
this directory.

Thanks for your help!

Best regeads
Christian

--
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: Configuration of Tomcat

2001-02-10 Thread CPC Livelink Admin




This 
means that the tools.jar file was not put in your classpath. Ensure that 
the JAVA_HOME environment variable is set or modify your batch files to specify 
it directly. Tools.jar contains the javac compiler which Jasper uses to 
compile the code it generates from the JSP file.

Regards,
Paul


  -Original Message-From: wkc 
  [mailto:[EMAIL PROTECTED]]Sent: Saturday, February 10, 2001 10:54 
  AMTo: [EMAIL PROTECTED]Subject: 
  Configuration of Tomcat
  
  I've followed the instructions regarding updating the 
  tomcat.bat file to accomodate for the jdk home directory. 
  However when trying to access a JSP example whilst having 
  the tomcat server running the following error message appears in the DOS 
  prompt:
  
  unhandled error! You might want to consider having an error 
  page to report such errors more gracefully
  java.lang.NoClassDefFoundError: 
  sun/tools/javac/Main
   at 
  org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaCompiler.java:128)
  
  please help, since I cannot proceed with my dissertation is 
  this problem is not overcome.
  
  Thanks
  WKC