How to deploy a web application under Tomcat 5

2004-03-24 Thread Bachler, Elisabeth (Elisabeth)
Hello,
I have installed Tomcat 5 under Solaris. Everything works fine. I now want
to create my own application (MyApp) with the WEB-INF directory and so on. I
do know there is a procedure to follow (you cannot just create the MyApp
directory under the webapps dir!). I have read what the Tomcat document says
but it is not clear to me. Could someone explain clearly the steps I am
supposed to follow to have the web structure?
Thanks


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



RE: How to deploy a web application under Tomcat 5

2004-03-24 Thread Shapira, Yoav

Hi,
Read the First Webapp guide:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/appdev/index.html,
especially the deployment organization.  You can simply create these
directories as you need.

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: Bachler, Elisabeth (Elisabeth) [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 24, 2004 10:41 AM
To: '[EMAIL PROTECTED]'
Subject: How to deploy a web application under Tomcat 5

Hello,
I have installed Tomcat 5 under Solaris. Everything works fine. I now
want
to create my own application (MyApp) with the WEB-INF directory and so
on.
I
do know there is a procedure to follow (you cannot just create the
MyApp
directory under the webapps dir!). I have read what the Tomcat document
says
but it is not clear to me. Could someone explain clearly the steps I am
supposed to follow to have the web structure?
Thanks


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




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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



Re: How to deploy a web application under Tomcat 5

2004-03-24 Thread Chong Yu Meng
I have a tutorial on my site that you can use : 
http://cymulacrum.net/writings/tomcat5/book1.html

Shapira, Yoav wrote:

Hi,
Read the First Webapp guide:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/appdev/index.html,
especially the deployment organization.  You can simply create these
directories as you need.
Yoav Shapira
Millennium Research Informatics
 

-Original Message-
From: Bachler, Elisabeth (Elisabeth) [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 24, 2004 10:41 AM
To: '[EMAIL PROTECTED]'
Subject: How to deploy a web application under Tomcat 5
Hello,
I have installed Tomcat 5 under Solaris. Everything works fine. I now
   

want
 

to create my own application (MyApp) with the WEB-INF directory and so
   

on.
 

I
do know there is a procedure to follow (you cannot just create the
   

MyApp
 

directory under the webapps dir!). I have read what the Tomcat document
says
but it is not clear to me. Could someone explain clearly the steps I am
supposed to follow to have the web structure?
Thanks
   



--
Men never do evil so completely and cheerfully as when they do it from
religious conviction. 
	-- Blaise Pascal
++
| Pascal Chong   |
| email: [EMAIL PROTECTED]  |
||
| Please visit my site at : http://cymulacrum.net|
| If you're using my documentation, please read the Terms and|
| and Conditions at http://cymulacrum.net/terms.html |
++



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


RE: How to deploy a web application under Tomcat 5

2004-03-24 Thread Bachler, Elisabeth (Elisabeth)
THanks for your response, the problem is that I don't have a clue about how
to create a WAR application. Mine is empty for the moment since I have no
files. I only need Tomcat to recognize the structure 
MyApp
  |
  --- WEB-INF
| 
 classes
 lib
   web.xml

DO you happen to know where to find this information. I could not find it
anywhere.
Thanks


-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: miercoles, 24 de marzo de 2004 18:01
To: Tomcat Users List
Subject: RE: How to deploy a web application under Tomcat 5



Hi,
Read the First Webapp guide:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/appdev/index.html,
especially the deployment organization.  You can simply create these
directories as you need.

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: Bachler, Elisabeth (Elisabeth) [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 24, 2004 10:41 AM
To: '[EMAIL PROTECTED]'
Subject: How to deploy a web application under Tomcat 5

Hello,
I have installed Tomcat 5 under Solaris. Everything works fine. I now
want
to create my own application (MyApp) with the WEB-INF directory and so
on.
I
do know there is a procedure to follow (you cannot just create the
MyApp
directory under the webapps dir!). I have read what the Tomcat document
says
but it is not clear to me. Could someone explain clearly the steps I am
supposed to follow to have the web structure?
Thanks


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




This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged.  This e-mail is intended only for the individual(s) to
whom it is addressed, and may not be saved, copied, printed, disclosed or
used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender.  Thank you.


-
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: How to deploy a web application under Tomcat 5

2004-03-24 Thread Mike Curwen
It seems to be a requirement of 4.x to have a web.xml file that contains
at *least*:

webapp
/webapp
 
Maybe the same is true with 5.x ?


 -Original Message-
 From: Bachler, Elisabeth (Elisabeth) [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, March 24, 2004 2:09 PM
 To: 'Tomcat Users List'
 Subject: RE: How to deploy a web application under Tomcat 5
 
 
 THanks for your response, the problem is that I don't have a 
 clue about how to create a WAR application. Mine is empty for 
 the moment since I have no files. I only need Tomcat to 
 recognize the structure 
 MyApp
   |
   --- WEB-INF
 | 
  classes
  lib
    web.xml
 
 DO you happen to know where to find this information. I could 
 not find it anywhere. Thanks
 
 
 -Original Message-
 From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
 Sent: miercoles, 24 de marzo de 2004 18:01
 To: Tomcat Users List
 Subject: RE: How to deploy a web application under Tomcat 5
 
 
 
 Hi,
 Read the First Webapp guide: 
 http://jakarta.apache.org/tomcat/tomcat-5.0-doc/appdev/index.html,
 especially the deployment organization.  You can simply 
 create these directories as you need.
 
 Yoav Shapira
 Millennium Research Informatics
 
 
 -Original Message-
 From: Bachler, Elisabeth (Elisabeth) [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, March 24, 2004 10:41 AM
 To: '[EMAIL PROTECTED]'
 Subject: How to deploy a web application under Tomcat 5
 
 Hello,
 I have installed Tomcat 5 under Solaris. Everything works fine. I now
 want
 to create my own application (MyApp) with the WEB-INF 
 directory and so
 on.
 I
 do know there is a procedure to follow (you cannot just create the
 MyApp
 directory under the webapps dir!). I have read what the 
 Tomcat document 
 says but it is not clear to me. Could someone explain 
 clearly the steps 
 I am supposed to follow to have the web structure?
 Thanks
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 This e-mail, including any attachments, is a confidential 
 business communication, and may contain information that is 
 confidential, proprietary and/or privileged.  This e-mail is 
 intended only for the individual(s) to whom it is addressed, 
 and may not be saved, copied, printed, disclosed or used by 
 anyone else.  If you are not the(an) intended recipient, 
 please immediately delete this e-mail from your computer 
 system and notify the sender.  Thank you.
 
 
 -
 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: How to deploy a web application under Tomcat 5

2004-03-24 Thread Shapira, Yoav

Hi,

THanks for your response, the problem is that I don't have a clue about
how
to create a WAR application.

A WAR file is a type of jar file (which in turn is a type of zip file).
You can create a WAR file using java's jar command or Ant's war task.

files. I only need Tomcat to recognize the structure
MyApp
  |
  --- WEB-INF
|
 classes
 lib
   web.xml

Tomcat will recognize this structure: create a directory called MyApp in
your webapps directory, and create the above directories/files under it.
Restart tomcat, and you'll be able to access
http://localhost:8080/MyApp.  There won't be anything there, of course.
Create a simple test.html page and try
http://localhost:8080/MyApp/test.html.

DO you happen to know where to find this information. I could not find
it
anywhere.

What information?  How to create directories?  How to create WAR files?
How to write web applications?  The things I've described above are
trivial, easily accessible via Google for example.  The specifics of the
WAR file format are in the Servlet Specification (http://java.sun.com).

Yoav Shapira



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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



RE: How to deploy a web application under Tomcat 5

2004-03-24 Thread Shapira, Yoav

Hi,

It seems to be a requirement of 4.x to have a web.xml file that
contains
at *least*:

webapp
/webapp

Maybe the same is true with 5.x ?

Yes.

Yoav Shapira



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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



RE: How to deploy a web application under Tomcat 5

2004-03-24 Thread Bachler, Elisabeth (Elisabeth)
THanks for the tutorial. I am not using LINUX though. I am on Solaris.
Nevertheless, in the conf/server.xml file I haven't found the line:
Context path= docBase=ROOT debug=0
Therefore I don't know if I have to go on or not.

 

-Original Message-
From: Chong Yu Meng [mailto:[EMAIL PROTECTED]
Sent: miercoles, 24 de marzo de 2004 18:10
To: Tomcat Users List
Subject: Re: How to deploy a web application under Tomcat 5



I have a tutorial on my site that you can use : 
http://cymulacrum.net/writings/tomcat5/book1.html

Shapira, Yoav wrote:

Hi,
Read the First Webapp guide:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/appdev/index.html,
especially the deployment organization.  You can simply create these
directories as you need.

Yoav Shapira
Millennium Research Informatics


  

-Original Message-
From: Bachler, Elisabeth (Elisabeth) [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 24, 2004 10:41 AM
To: '[EMAIL PROTECTED]'
Subject: How to deploy a web application under Tomcat 5

Hello,
I have installed Tomcat 5 under Solaris. Everything works fine. I now


want
  

to create my own application (MyApp) with the WEB-INF directory and so


on.
  

I
do know there is a procedure to follow (you cannot just create the


MyApp
  

directory under the webapps dir!). I have read what the Tomcat document
says
but it is not clear to me. Could someone explain clearly the steps I am
supposed to follow to have the web structure?
Thanks





-- 
Men never do evil so completely and cheerfully as when they do it from
religious conviction. 
-- Blaise Pascal
++
| Pascal Chong   |
| email: [EMAIL PROTECTED]  |
||
| Please visit my site at : http://cymulacrum.net|
| If you're using my documentation, please read the Terms and|
| and Conditions at http://cymulacrum.net/terms.html |
++



-
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: How to deploy a web application under Tomcat 5

2004-03-24 Thread Bachler, Elisabeth (Elisabeth)
I don't quite understand what you are saying. My problem is that I don't
know how to create a WAR file with the basic structure in it. I have to do
it manually but I don't know how.
COuld you tell me where to find the information?.
Once I have this WAR file, I suppose I only have to put it under webapps and
restart TOmcat, right?
THanks for your patience.


-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: miercoles, 24 de marzo de 2004 21:15
To: Tomcat Users List
Subject: RE: How to deploy a web application under Tomcat 5



Hi,

THanks for your response, the problem is that I don't have a clue about
how
to create a WAR application.

A WAR file is a type of jar file (which in turn is a type of zip file).
You can create a WAR file using java's jar command or Ant's war task.

files. I only need Tomcat to recognize the structure
MyApp
  |
  --- WEB-INF
|
 classes
 lib
   web.xml

Tomcat will recognize this structure: create a directory called MyApp in
your webapps directory, and create the above directories/files under it.
Restart tomcat, and you'll be able to access
http://localhost:8080/MyApp.  There won't be anything there, of course.
Create a simple test.html page and try
http://localhost:8080/MyApp/test.html.

DO you happen to know where to find this information. I could not find
it
anywhere.

What information?  How to create directories?  How to create WAR files?
How to write web applications?  The things I've described above are
trivial, easily accessible via Google for example.  The specifics of the
WAR file format are in the Servlet Specification (http://java.sun.com).

Yoav Shapira



This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged.  This e-mail is intended only for the individual(s) to
whom it is addressed, and may not be saved, copied, printed, disclosed or
used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender.  Thank you.


-
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: How to deploy a web application under Tomcat 5

2004-03-24 Thread Ben Souther
Go to www.google.com.

type creating a war file  (without the quotes)
Click on the Google Search Button.

The first link you see will be:
http://access1.sun.com/techarticles/simple.WAR.html





On Wednesday 24 March 2004 03:23 pm, Bachler, Elisabeth (Elisabeth) wrote:
 I don't quite understand what you are saying. My problem is that I don't
 know how to create a WAR file with the basic structure in it. I have to do
 it manually but I don't know how.
 COuld you tell me where to find the information?.
 Once I have this WAR file, I suppose I only have to put it under webapps
 and restart TOmcat, right?
 THanks for your patience.


 -Original Message-
 From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
 Sent: miercoles, 24 de marzo de 2004 21:15
 To: Tomcat Users List
 Subject: RE: How to deploy a web application under Tomcat 5



 Hi,

 THanks for your response, the problem is that I don't have a clue about

 how

 to create a WAR application.

 A WAR file is a type of jar file (which in turn is a type of zip file).
 You can create a WAR file using java's jar command or Ant's war task.

 files. I only need Tomcat to recognize the structure
 MyApp
 
   --- WEB-INF
 
  classes
  lib
    web.xml

 Tomcat will recognize this structure: create a directory called MyApp in
 your webapps directory, and create the above directories/files under it.
 Restart tomcat, and you'll be able to access
 http://localhost:8080/MyApp.  There won't be anything there, of course.
 Create a simple test.html page and try
 http://localhost:8080/MyApp/test.html.

 DO you happen to know where to find this information. I could not find

 it

 anywhere.

 What information?  How to create directories?  How to create WAR files?
 How to write web applications?  The things I've described above are
 trivial, easily accessible via Google for example.  The specifics of the
 WAR file format are in the Servlet Specification (http://java.sun.com).

 Yoav Shapira



 This e-mail, including any attachments, is a confidential business
 communication, and may contain information that is confidential,
 proprietary and/or privileged.  This e-mail is intended only for the
 individual(s) to whom it is addressed, and may not be saved, copied,
 printed, disclosed or used by anyone else.  If you are not the(an) intended
 recipient, please immediately delete this e-mail from your computer system
 and notify the sender.  Thank you.


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

-- 
Ben Souther
F.W. Davison  Company, Inc.


This e-mail message, and any accompanying documents, is for the sole use of
the intended recipient(s) and may contain confidential and privileged
information.  Any unauthorized review, use, disclosure, distribution or
copying is prohibited.  If you are not the intended recipient, please
contact our office by email or by telephone at (508) 747-7261 and
immediately destroy all copies of the original message.

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



Re: How to deploy a web application under Tomcat 5

2004-03-24 Thread James Black
Bachler, Elisabeth (Elisabeth) wrote:

I don't quite understand what you are saying. My problem is that I don't
know how to create a WAR file with the basic structure in it. I have to do
it manually but I don't know how.
COuld you tell me where to find the information?.
Once I have this WAR file, I suppose I only have to put it under webapps and
restart TOmcat, right?
THanks for your patience.
 

 You can create the war file two ways, basically. One is to use ant, 
which has a war tag, which makes life simple.
 The other approach is to just create the directory structure 
somewhere, put your files in there, then use:
jar -cf MyApp.war MyApp

--
Love is mutual self-giving that ends in self-recovery. Fulton Sheen
James Black[EMAIL PROTECTED]


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


RE: How to deploy a web application under Tomcat 5

2004-03-24 Thread Bachler, Elisabeth (Elisabeth)
Thank you very much. I think I have got it at last!.
Now, the only thing I have to do is put the war file under the webapps
directory and restart tomcat 5 Tomcat will expand the structure
automatically, right?


-Original Message-
From: James Black [mailto:[EMAIL PROTECTED]
Sent: miƩrcoles, 24 de marzo de 2004 21:27
To: Tomcat Users List
Subject: Re: How to deploy a web application under Tomcat 5


Bachler, Elisabeth (Elisabeth) wrote:

I don't quite understand what you are saying. My problem is that I don't
know how to create a WAR file with the basic structure in it. I have to do
it manually but I don't know how.
COuld you tell me where to find the information?.
Once I have this WAR file, I suppose I only have to put it under webapps
and
restart TOmcat, right?
THanks for your patience.
  

  You can create the war file two ways, basically. One is to use ant, 
which has a war tag, which makes life simple.
  The other approach is to just create the directory structure 
somewhere, put your files in there, then use:
jar -cf MyApp.war MyApp

-- 
Love is mutual self-giving that ends in self-recovery. Fulton Sheen
James Black[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: How to deploy a web application under Tomcat 5

2004-03-24 Thread Henry Martin
Use Ant to build it!!! I can't say that loudly enough. This tutorial is 
one that helped me get started.
http://www.developer.com/open/article.php/989631

I skipped the test section in the beginning, and didn't do everything 
as specified. I am leaving for an appointment right now and will pass 
along other helpful parts later.

Henry Martin
Little Planet Learning, Inc.
On Wednesday, March 24, 2004, at 02:23 PM, Bachler, Elisabeth 
(Elisabeth) wrote:

I don't quite understand what you are saying. My problem is that I 
don't
know how to create a WAR file with the basic structure in it. I have 
to do
it manually but I don't know how.
COuld you tell me where to find the information?.
Once I have this WAR file, I suppose I only have to put it under 
webapps and
restart TOmcat, right?
THanks for your patience.

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: miercoles, 24 de marzo de 2004 21:15
To: Tomcat Users List
Subject: RE: How to deploy a web application under Tomcat 5


Hi,

THanks for your response, the problem is that I don't have a clue 
about
how
to create a WAR application.
A WAR file is a type of jar file (which in turn is a type of zip file).
You can create a WAR file using java's jar command or Ant's war task.
files. I only need Tomcat to recognize the structure
MyApp
 |
 --- WEB-INF
   |
classes
lib
  web.xml
Tomcat will recognize this structure: create a directory called MyApp 
in
your webapps directory, and create the above directories/files under 
it.
Restart tomcat, and you'll be able to access
http://localhost:8080/MyApp.  There won't be anything there, of course.
Create a simple test.html page and try
http://localhost:8080/MyApp/test.html.

DO you happen to know where to find this information. I could not find
it
anywhere.
What information?  How to create directories?  How to create WAR files?
How to write web applications?  The things I've described above are
trivial, easily accessible via Google for example.  The specifics of 
the
WAR file format are in the Servlet Specification (http://java.sun.com).

Yoav Shapira



This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, 
proprietary
and/or privileged.  This e-mail is intended only for the individual(s) 
to
whom it is addressed, and may not be saved, copied, printed, disclosed 
or
used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender.  Thank you.

-
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: How to deploy a web application under Tomcat 5

2004-03-24 Thread Oswald Campesato
Hello, Elisabeth:
You can do something like this:
 
cd parent-of-WEB-INF-directory
jar cvf myFirstManualWarFile.war .
 
Incidentally, out of curiosity I searched Google with 
manually creating WAR files and the first entry is
a nice Sun Web page that will help you get up to
speed with some of this stuff. 
 
Regards,
 
Oswald
 


Bachler, Elisabeth (Elisabeth) [EMAIL PROTECTED] wrote:
I don't quite understand what you are saying. My problem is that I don't
know how to create a WAR file with the basic structure in it. I have to do
it manually but I don't know how.
COuld you tell me where to find the information?.
Once I have this WAR file, I suppose I only have to put it under webapps and
restart TOmcat, right?
THanks for your patience.


-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: miercoles, 24 de marzo de 2004 21:15
To: Tomcat Users List
Subject: RE: How to deploy a web application under Tomcat 5



Hi,

THanks for your response, the problem is that I don't have a clue about
how
to create a WAR application.

A WAR file is a type of jar file (which in turn is a type of zip file).
You can create a WAR file using java's jar command or Ant's war task.

files. I only need Tomcat to recognize the structure
MyApp
 |
 --- WEB-INF
 |
 classes
 lib
  web.xml

Tomcat will recognize this structure: create a directory called MyApp in
your webapps directory, and create the above directories/files under it.
Restart tomcat, and you'll be able to access
http://localhost:8080/MyApp. There won't be anything there, of course.
Create a simple test.html page and try
http://localhost:8080/MyApp/test.html.

DO you happen to know where to find this information. I could not find
it
anywhere.

What information? How to create directories? How to create WAR files?
How to write web applications? The things I've described above are
trivial, easily accessible via Google for example. The specifics of the
WAR file format are in the Servlet Specification (http://java.sun.com).

Yoav Shapira



This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged. This e-mail is intended only for the individual(s) to
whom it is addressed, and may not be saved, copied, printed, disclosed or
used by anyone else. If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender. Thank you.


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

Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.

RE: How to deploy a web application under Tomcat 5

2004-03-24 Thread Bachler, Elisabeth (Elisabeth)
Thanks!. I have never used Ant before but I will try.


-Original Message-
From: Henry Martin [mailto:[EMAIL PROTECTED]
Sent: miercoles, 24 de marzo de 2004 21:44
To: Tomcat Users List
Subject: Re: How to deploy a web application under Tomcat 5


Use Ant to build it!!! I can't say that loudly enough. This tutorial is 
one that helped me get started.
http://www.developer.com/open/article.php/989631

I skipped the test section in the beginning, and didn't do everything 
as specified. I am leaving for an appointment right now and will pass 
along other helpful parts later.

Henry Martin
Little Planet Learning, Inc.

On Wednesday, March 24, 2004, at 02:23 PM, Bachler, Elisabeth 
(Elisabeth) wrote:

 I don't quite understand what you are saying. My problem is that I 
 don't
 know how to create a WAR file with the basic structure in it. I have 
 to do
 it manually but I don't know how.
 COuld you tell me where to find the information?.
 Once I have this WAR file, I suppose I only have to put it under 
 webapps and
 restart TOmcat, right?
 THanks for your patience.


 -Original Message-
 From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
 Sent: miercoles, 24 de marzo de 2004 21:15
 To: Tomcat Users List
 Subject: RE: How to deploy a web application under Tomcat 5



 Hi,

 THanks for your response, the problem is that I don't have a clue 
 about
 how
 to create a WAR application.

 A WAR file is a type of jar file (which in turn is a type of zip file).
 You can create a WAR file using java's jar command or Ant's war task.

 files. I only need Tomcat to recognize the structure
 MyApp
  |
  --- WEB-INF
|
 classes
 lib
   web.xml

 Tomcat will recognize this structure: create a directory called MyApp 
 in
 your webapps directory, and create the above directories/files under 
 it.
 Restart tomcat, and you'll be able to access
 http://localhost:8080/MyApp.  There won't be anything there, of course.
 Create a simple test.html page and try
 http://localhost:8080/MyApp/test.html.

 DO you happen to know where to find this information. I could not find
 it
 anywhere.

 What information?  How to create directories?  How to create WAR files?
 How to write web applications?  The things I've described above are
 trivial, easily accessible via Google for example.  The specifics of 
 the
 WAR file format are in the Servlet Specification (http://java.sun.com).

 Yoav Shapira



 This e-mail, including any attachments, is a confidential business
 communication, and may contain information that is confidential, 
 proprietary
 and/or privileged.  This e-mail is intended only for the individual(s) 
 to
 whom it is addressed, and may not be saved, copied, printed, disclosed 
 or
 used by anyone else.  If you are not the(an) intended recipient, please
 immediately delete this e-mail from your computer system and notify the
 sender.  Thank you.


 -
 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: How to deploy a web application under Tomcat 5

2004-03-24 Thread Bachler, Elisabeth (Elisabeth)
I know!!! I was using WAR file building and the results were not what I
wanted 
THanks a lot

-Original Message-
From: Oswald Campesato [mailto:[EMAIL PROTECTED]
Sent: miercoles, 24 de marzo de 2004 21:47
To: Tomcat Users List
Subject: RE: How to deploy a web application under Tomcat 5


Hello, Elisabeth:
You can do something like this:
 
cd parent-of-WEB-INF-directory
jar cvf myFirstManualWarFile.war .
 
Incidentally, out of curiosity I searched Google with 
manually creating WAR files and the first entry is
a nice Sun Web page that will help you get up to
speed with some of this stuff. 
 
Regards,
 
Oswald
 


Bachler, Elisabeth (Elisabeth) [EMAIL PROTECTED] wrote:
I don't quite understand what you are saying. My problem is that I don't
know how to create a WAR file with the basic structure in it. I have to do
it manually but I don't know how.
COuld you tell me where to find the information?.
Once I have this WAR file, I suppose I only have to put it under webapps and
restart TOmcat, right?
THanks for your patience.


-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: miercoles, 24 de marzo de 2004 21:15
To: Tomcat Users List
Subject: RE: How to deploy a web application under Tomcat 5



Hi,

THanks for your response, the problem is that I don't have a clue about
how
to create a WAR application.

A WAR file is a type of jar file (which in turn is a type of zip file).
You can create a WAR file using java's jar command or Ant's war task.

files. I only need Tomcat to recognize the structure
MyApp
 |
 --- WEB-INF
 |
 classes
 lib
  web.xml

Tomcat will recognize this structure: create a directory called MyApp in
your webapps directory, and create the above directories/files under it.
Restart tomcat, and you'll be able to access
http://localhost:8080/MyApp. There won't be anything there, of course.
Create a simple test.html page and try
http://localhost:8080/MyApp/test.html.

DO you happen to know where to find this information. I could not find
it
anywhere.

What information? How to create directories? How to create WAR files?
How to write web applications? The things I've described above are
trivial, easily accessible via Google for example. The specifics of the
WAR file format are in the Servlet Specification (http://java.sun.com).

Yoav Shapira



This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged. This e-mail is intended only for the individual(s) to
whom it is addressed, and may not be saved, copied, printed, disclosed or
used by anyone else. If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender. Thank you.


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

Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.

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