Re: Tomcat installation blues

2007-05-29 Thread Joachim Smit

Have you read the documentation in /usr/share/doc/libapache2-mod-jk ?
What about on the apache tomcat website?


I didn't find much documentation on the Apache-Tomcat website.

I found this:

http://www.switch.ch/aai/docs/shibboleth/SWITCH/1.3/idp/run-tomcat-unprivileged.html

I'll be gong to Amsterdam this afternoon to buy me the Tomcat Bible.

Thank you all for your help.

Regards,

Joachim


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Tomcat installation blues

2007-05-27 Thread Joachim Smit

To install Tomcat together with Apache2 properly I need the file mod_jk.so.

It is not included in the Tomcat-package so I have to compile it
manualy. Tot be able to do so I need the JDK. When I try to install
sun-java5-jdk with apt-get I got the message that the package doesn't
exist and when I try to install the deb-file with dpkg I get all kinds
of problems with dependies.

What should I do?

Regards,

Joachim


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Tomcat installation blues

2007-05-27 Thread Roberto C . Sánchez
On Sun, May 27, 2007 at 08:43:23AM +0200, Joachim Smit wrote:
 To install Tomcat together with Apache2 properly I need the file mod_jk.so.
 
 It is not included in the Tomcat-package so I have to compile it
 manualy. Tot be able to do so I need the JDK. When I try to install
 sun-java5-jdk with apt-get I got the message that the package doesn't
 exist and when I try to install the deb-file with dpkg I get all kinds
 of problems with dependies.
 
 What should I do?
 
Provide the actual commands and error messages.

Alternatively, you could try one of these:

$ apt-cache search tomcat
jspwiki - WikiWikiWeb clone written in Java
libapache-mod-jk - Apache 1.3 connector for the Tomcat Java servlet engine
libapache-mod-jk-doc - Documentation of libapache-mod-jk/libapache2-mod-jk 
packages
libapache2-mod-jk - Apache 2 connector for the Tomcat Java servlet engine
libservlet2.3-java - Servlet 2.3 and JSP 1.2 Java classes and documentation
libservlet2.4-java - Servlet 2.4 and JSP 2.0 Java classes and documentation
libtomcat5-java - Java Servlet engine -- core libraries
libtomcat5.5-java - Java Servlet engine -- core libraries
tomcat5 - Java Servlet 2.4 engine with JSP 2.0 support
tomcat5-admin - Java Servlet engine -- admin web interfaces
tomcat5-webapps - Java Servlet engine -- documentation and example web 
applications
tomcat5.5 - Java Servlet 2.4 engine with JSP 2.0 support
tomcat5.5-admin - Java Servlet engine -- admin  manager web interfaces
tomcat5.5-webapps - Java Servlet engine -- documentation and example web 
applications
webxml - Simple form-based generator/editor of Tomcat's web.xml files


Regards,

-Roberto

-- 
Roberto C. Sánchez
http://people.connexer.com/~roberto
http://www.connexer.com


signature.asc
Description: Digital signature


Re: Tomcat installation blues

2007-05-27 Thread Jeff D

On Sun, 27 May 2007, Joachim Smit wrote:


To install Tomcat together with Apache2 properly I need the file mod_jk.so.

It is not included in the Tomcat-package so I have to compile it
manualy. Tot be able to do so I need the JDK. When I try to install
sun-java5-jdk with apt-get I got the message that the package doesn't
exist and when I try to install the deb-file with dpkg I get all kinds
of problems with dependies.

What should I do?

Regards,

Joachim



for mod_jk.so install the libapache2-mod-jk package for sun-java5-jdk make 
sure you have non-free in your sources list , run apt-get update and you 
should be able to install it.


hth,
jeff

-+-
8 out of 10 Owners who Expressed a Preference said Their Cats Preferred Techno.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Tomcat installation blues

2007-05-27 Thread Joachim Smit

OK

I installed mod_jk.so and JDK now. Thanks!

But now a JSP-file in /var/www is not recognized as a JSP-file. My
browser shows me the plain java-code.

What is the next step?

Regards,

Joachim


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Tomcat installation blues

2007-05-27 Thread Roberto C . Sánchez
On Sun, May 27, 2007 at 11:53:31AM +0200, Joachim Smit wrote:
 OK
 
 I installed mod_jk.so and JDK now. Thanks!
 
 But now a JSP-file in /var/www is not recognized as a JSP-file. My
 browser shows me the plain java-code.
 
 What is the next step?
 

Have you read the documentation in /usr/share/doc/libapache2-mod-jk ?
What about on the apache tomcat website?

Regards,

-Roberto
-- 
Roberto C. Sánchez
http://people.connexer.com/~roberto
http://www.connexer.com


signature.asc
Description: Digital signature


Re: Tomcat installation blues

2007-05-27 Thread Marko Randjelovic
Joachim Smit wrote:
 OK
 
 I installed mod_jk.so and JDK now. Thanks!
 
 But now a JSP-file in /var/www is not recognized as a JSP-file. My
 browser shows me the plain java-code.
 
 What is the next step?
 
 Regards,
 
 Joachim
 
 

You said in your first post you could not install jre. Tomcat cannot
work without jre.

sun-java5 packages are in non-free repository, which is not included by
default in /etc/apt/sources.list. Did you enabled it? If not, edit this
file and add non-free at the end of web repository line. For example

deb http://ftp2.de.debian.org/debian/ etch contrib main non-free


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Tomcat installation blues

2007-05-27 Thread Nyizsnyik Ferenc
On Sun, 27 May 2007 11:53:31 +0200
Joachim Smit [EMAIL PROTECTED] wrote:

 OK
 
 I installed mod_jk.so and JDK now. Thanks!
 
 But now a JSP-file in /var/www is not recognized as a JSP-file. My
 browser shows me the plain java-code.
 
 What is the next step?
 
 Regards,
 
 Joachim
 
 

You have to make a web.xml file in $APP_DIR/WEB-INF. If you don't plan
to use servlets (only jsp and static html), it may be as simple as:

?xml version=1.0?
web-app
/web-app

Just for info, I also have installed both Apache and Tomcat, but I did
the trick without mod_jk. I simply put a .htaccess file in my jsp
directory which redirects all requests to Tomcat. If your installation
is non-productive (e.g. for learning purposes), I recommend this simple
and easy solution.

-- 
Szia:
Nyizsa.

--
Get a free email address with REAL anti-spam protection.
http://www.bluebottle.com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]