RE: Debian + Apache 2.2 + Tomcat 5.5

2008-11-17 Thread Alexander Diedler
Ok, It could be a good advice and a better choice to begin from the beginning 
*G*

-Original Message-
From: Kees Jan Koster [mailto:[EMAIL PROTECTED]
Sent: Friday, November 14, 2008 7:40 PM
To: Tomcat Users List
Subject: Re: Debian + Apache 2.2 + Tomcat 5.5

Dear Alex,

The debian Tomcat package is notoriously hard to use. In your shoes I
would switch to a normal Tomcat server from apache.org.

 In /usr/share/tomcat5.5-webapps/ I move the folder ROOT to ROOT_BACK
 and move my App folder shop_v1 to ROOT
 After that and a restart of Tomcat... nothing will be browseable..
 not index.jsp nor test.jsp within ROOT with simple hello...
 The message HTTP 404
 The requested resource (/) is not available.

Try /index.jsp and see if that works. If it does, check the welcome
file list in your web.xml.

--
Kees Jan

http://java-monitor.com/forum/
[EMAIL PROTECTED]
06-51838192

Human beings make life so interesting. Do you know that in a universe
so full of wonders,
they have managed to invent boredom. Quite astonishing... -- Terry
Partchett


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Debian + Apache 2.2 + Tomcat 5.5

2008-11-16 Thread Gregor Schneider
I'm giving you a piece of advice:

- copy debian's tomcat-startup-script - since it is not too bad

- after that, remove  purge debian's tomcat-package

- get the tar fro tomcat.apache.org and untar it in a directory of
your choice (i.e. /var/lib)

- copy debian's startup-script back to the original location

- adapt the contents of the tomcat startup-script so that it points to
your new installation

we've done it like that and it works like charm.

the debian-tomcat-package is good for exactly one thing: apt-get --purge

actually i'm a great fan of debian, but their tomcat-packaging makes
things wy more complicated than they have to be.

besides, when you're asking for support from this list, it always
helps running the original distribution

hth

gregor
-- 
what's puzzlin' you, is the nature of my game
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available @ http://pgpkeys.pca.dfn.de:11371

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Debian + Apache 2.2 + Tomcat 5.5

2008-11-16 Thread Caldarale, Charles R
 From: Gregor Schneider [mailto:[EMAIL PROTECTED]
 Subject: Re: Debian + Apache 2.2 + Tomcat 5.5

 - copy debian's tomcat-startup-script - since it is not too bad

Be careful with that - some versions of Debian's Tomcat script throw in changes 
in an attempt to accommodate running Tomcat on gcj, which is utterly pointless.

 - after that, remove  purge debian's tomcat-package

Excellent advice.

 - Chuck


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

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Debian + Apache 2.2 + Tomcat 5.5

2008-11-15 Thread Marcus Better
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello,

Alexander Diedler wrote:
 Where I have to place my webapp and where I have to change some
 files to make my Application available onto the server? I have a Debian
 4.05 with Apache 2.2.5 and Tomcat 5.5.20 from Debian .deb packages

Drop the WAR file in /var/lib/tomcat5.5/webapps. It should deploy automatically.

See /usr/share/doc/tomcat5.5/README.Debian for additional information. Also you 
may want/need to update to the Tomcat from Debian lenny (5.5.26-5 currently) 
since the packaging has improved a lot.

Cheers,

Marcus
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkkfI7gACgkQXjXn6TzcAQnBDgCfX6k/0y15IAX8BEGtjlC0NF3z
sAgAoMpz6SaXCA1s6iFQKakYpe7wNBQZ
=1vKg
-END PGP SIGNATURE-



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Debian + Apache 2.2 + Tomcat 5.5

2008-11-14 Thread Serge Fonville
When deploying an application you can either place a war in the webapps
directory, copy the files to a directory in the webapps directory of if you
are hosting a simple website use the ROOT directory in you webapps
directory.It is advisable to change the appBase attribute in the host
element inside your server.xml

Regards,

Serge Fonville

On Fri, Nov 14, 2008 at 11:14 AM, Alexander Diedler [EMAIL PROTECTED]wrote:

 Hello,
 I have a problem to integrate my own Application into the Tomcat Server.
 The mod_jk works fine. If I open http://127.0.0.1 I see the Tomcat Start
 Page.
 Where I have to place my webapp and where I have to change some files to
 make my Application available onto the server?
 I have a Debian 4.05 with Apache 2.2.5 and Tomcat 5.5.20 from Debian .deb
 packages installed per default.


 Greetings
 Alexander Diedler




RE: Debian + Apache 2.2 + Tomcat 5.5

2008-11-14 Thread Alexander Diedler
Hello,
Hmm..
In /usr/share/tomcat5.5-webapps/ I move the folder ROOT to ROOT_BACK and move 
my App folder shop_v1 to ROOT
After that and a restart of Tomcat... nothing will be browseable.. not 
index.jsp nor test.jsp within ROOT with simple hello...
The message HTTP 404
The requested resource (/) is not available.

Alex


-Original Message-
From: Serge Fonville [mailto:[EMAIL PROTECTED]
Sent: Friday, November 14, 2008 11:22 AM
To: Tomcat Users List
Subject: Re: Debian + Apache 2.2 + Tomcat 5.5

When deploying an application you can either place a war in the webapps
directory, copy the files to a directory in the webapps directory of if you
are hosting a simple website use the ROOT directory in you webapps
directory.It is advisable to change the appBase attribute in the host
element inside your server.xml

Regards,

Serge Fonville

On Fri, Nov 14, 2008 at 11:14 AM, Alexander Diedler [EMAIL PROTECTED]wrote:

 Hello,
 I have a problem to integrate my own Application into the Tomcat Server.
 The mod_jk works fine. If I open http://127.0.0.1 I see the Tomcat Start
 Page.
 Where I have to place my webapp and where I have to change some files to
 make my Application available onto the server?
 I have a Debian 4.05 with Apache 2.2.5 and Tomcat 5.5.20 from Debian .deb
 packages installed per default.


 Greetings
 Alexander Diedler



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Debian + Apache 2.2 + Tomcat 5.5

2008-11-14 Thread Mark Thomas
Alexander Diedler wrote:
 Hello,
 Hmm..
 In /usr/share/tomcat5.5-webapps/ I move the folder ROOT to ROOT_BACK and move 
 my App folder shop_v1 to ROOT
 After that and a restart of Tomcat... nothing will be browseable.. not 
 index.jsp nor test.jsp within ROOT with simple hello...
 The message HTTP 404
 The requested resource (/) is not available.

That would be a question for the Debian packagers who have changed the
default Tomcat file structure. They should be able to tell you where to put
stuff so it works.

Mark



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Debian + Apache 2.2 + Tomcat 5.5

2008-11-14 Thread Kees Jan Koster

Dear Alex,

The debian Tomcat package is notoriously hard to use. In your shoes I  
would switch to a normal Tomcat server from apache.org.


In /usr/share/tomcat5.5-webapps/ I move the folder ROOT to ROOT_BACK  
and move my App folder shop_v1 to ROOT
After that and a restart of Tomcat... nothing will be browseable..  
not index.jsp nor test.jsp within ROOT with simple hello...

The message HTTP 404
The requested resource (/) is not available.


Try /index.jsp and see if that works. If it does, check the welcome  
file list in your web.xml.


--
Kees Jan

http://java-monitor.com/forum/
[EMAIL PROTECTED]
06-51838192

Human beings make life so interesting. Do you know that in a universe  
so full of wonders,
they have managed to invent boredom. Quite astonishing... -- Terry  
Partchett



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]