Re: Recipe for installng Tomcat on (Debian) Linux?

2000-12-14 Thread Gregory Guthrie

At 11:58 PM 12/12/2000 +0100, Stefan Gybas wrote:
If you find any more problems please mail me.
If I receive no more
bug repports I'll upload this version to the official archive soon
(to contrib - but that's better than not in the archive at
all).
I did a clean new install of your 3.2 tomcat, and mod_jk; thanks.

I find that I still have some problems;
1) I don't have the ..tomcat/bin/startup.sh

2) I had a 0 length mod_jk.conf_auto

-rw-r--r-- 1
root
root 0
Dec 12 16:41 mod_jk.conf-auto

So, I copied one from another machine.

3) I had no files in /var/lib/tomcat/conf, which is where several
/usr/share/tomcat/conf links point to, specifically I am missing:
 iis_redirect.reg-auto
 obj.conf-auto
 tomcat-apache.conf
 uriworkermap.properties-auto
 web.xml

So, I copied these from another machine.

3) I have no logs in /var/log/tomcat.

4) I have another machine with an updated 3.1 - 3.2, and it has logs,
but reports:

omega:/var/log/tomcat# zcat stdout.log.1.gz
Starting tomcat. Check logs/tomcat.log for error messages
Error generating automatic apache configuration
java.io.FileNotFoundException: /
usr/share/tomcat/conf/tomcat-apache.conf
java.io.FileNotFoundException:
/usr/share/tomcat/conf/tomcat-apache.conf
 at
java.io.FileOutputStream.init(FileOutputStream.java)
 at
java.io.FileWriter.init(FileWriter.java)
 at
org.apache.tomcat.task.ApacheConfig.execute(ApacheConfig.java)
 at
org.apache.tomcat.startup.Tomcat.generateServerConfig(Tomcat.java)
 at
org.apache.tomcat.startup.Tomcat.execute(Tomcat.java)
 at
org.apache.tomcat.startup.Tomcat.main(Tomcat.java)
Error generating automatic IIS configuration
java.io.FileNotFoundException: /usr
/share/tomcat/conf/iis_redirect.reg-auto
java.io.FileNotFoundException:
/usr/share/tomcat/conf/iis_redirect.reg-auto
 . etc

Any hints?

I completely started clean with a new install on my first machine above,
so hoped it would all work easily!

Thanks for any pointers.

Gregory

Dr. Gregory Guthrie
[EMAIL PROTECTED]
(641)472-1125 Fax: -1103
 Computer Science
Department
 School of Computing and
Information Science
 Maharishi University of
Management
 (Maharishi International University
1971-1995)

http://www.mum.edu/cs_dept




Re: Recipe for installng Tomcat on (Debian) Linux?

2000-12-12 Thread Gregory Guthrie

At 08:15 PM 12/07/2000 +0100, Stefan Gybas wrote:


I'll upload 3.2 final (together with mod_jk as a package) to my
directory on master tomorrow. Please test the new version and send me
feedback so I can upload the packages to the official archive soon.

I did an install of 3.2 over 3.1 on a Woody box, and get the error message:

(Reading database ... 30471 files and directories currently installed.)
Preparing to replace tomcat 3.2-3 (using tomcat_3.2-3_all.deb) ...
Stopping Tomcat servlet engine: tomcat.
Unpacking replacement tomcat ...
Setting up tomcat (3.2-3) ...
Starting Tomcat servlet engine: touch: creating 
`/etc/apache/mod_jk/tomcat-auto': No such file or directory

dpkg: error processing tomcat (--install):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 tomcat


Hints?

Gregory Guthrie
[EMAIL PROTECTED] (641)472-1125Fax: -1103




Re: Recipe for installng Tomcat on (Debian) Linux?

2000-12-12 Thread Stefan Gybas
Gregory Guthrie wrote:

 Starting Tomcat servlet engine: touch: creating
 `/etc/apache/mod_jk/tomcat-auto': No such file or directory

Sorry, I was assuming that mopd_jk was installed in the init script.
This should be fixed in 3.2-4 (available as usual at
http://master.debian.org/~sgybas/tomcat/).

If you find any more problems please mail me. If I receive no more
bug repports I'll upload this version to the official archive soon
(to contrib - but that's better than not in the archive at all).

-- 
Stefan Gybas



Recipe for installng Tomcat on (Debian) Linux?

2000-12-07 Thread Gregory Guthrie
1) Is there a simple recipe for installing Tomcat and all required Java 
components for Debian?
Last time I did it I got caught in various version incompatibilities w/ 
JDKs, JVM, etc.


Debian did not have current versions at that time.
The only JDK in dselect was from IBM, and incompatible with Tomcat.

2) When will tomcat 3.2 (current version) be available for Debian?
Any recommendations of waiting, or just doing a straight D.I.Y. Tomcat 
install? I like to stay in sync with the Debian packages, because they are 
so intertwined (tangled!).


Thanks,
Gregory Guthrie


Gregory Guthrie
[EMAIL PROTECTED] (641)472-1125Fax: -1103




Re: Recipe for installng Tomcat on (Debian) Linux?

2000-12-07 Thread Ray Percival
Have you checked Woody? With many,but not all, packages it is really easy to 
just add unstable line to your apt sources run apt-get update and then grab the 
package take the line out run update again and you should be on your way. It 
has worked for me for a couple of packages that I just could not wait for.

-- Original Message --
From: Gregory Guthrie [EMAIL PROTECTED]
Date: Thu, 07 Dec 2000 07:44:47 -0600

1) Is there a simple recipe for installing Tomcat and all required Java 
components for Debian?
Last time I did it I got caught in various version incompatibilities w/ 
JDKs, JVM, etc.

Debian did not have current versions at that time.
The only JDK in dselect was from IBM, and incompatible with Tomcat.

2) When will tomcat 3.2 (current version) be available for Debian?
Any recommendations of waiting, or just doing a straight D.I.Y. Tomcat 
install? I like to stay in sync with the Debian packages, because they are 
so intertwined (tangled!).

Thanks,
Gregory Guthrie


Gregory Guthrie
[EMAIL PROTECTED] (641)472-1125Fax: -1103



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





Re: Recipe for installng Tomcat on (Debian) Linux?

2000-12-07 Thread Gregory Guthrie

At 07:38 AM 12/07/2000 -0700, Ray Percival wrote:
Have you checked Woody? With many,but not all, packages it is really easy 
to just add unstable line to your apt sources run apt-get update and then 
grab the package take the line out run update again and you should be on 
your way. It has worked for me for a couple of packages that I just could 
not wait for.

-yes; not there.

There is one at:
 http://master.debian.org/~sgybas/tomcat

But it is 3.1, and I have had trouble getting it to run.
It had a dependency on IBM Java, but is incompatible with IBM JVM.

I may re-try it from a clean install, but after 4 iterations with it I 
still had problems..


Greg


Dr. Gregory Guthrie
[EMAIL PROTECTED] (641)472-1125Fax: -1103
   Computer Science Department
   School of Computing and Information Science
   Maharishi University of Management
  (Maharishi International University 1971-1995)
http://www.mum.edu/cs_dept




Re: Recipe for installng Tomcat on (Debian) Linux?

2000-12-07 Thread Aaron Brashears
On Thu, Dec 07, 2000 at 12:10:02PM -0600, Gregory Guthrie wrote:
 There is one at:
   http://master.debian.org/~sgybas/tomcat
 
 But it is 3.1, and I have had trouble getting it to run.
 It had a dependency on IBM Java, but is incompatible with IBM JVM.
 
 I may re-try it from a clean install, but after 4 iterations with it I 
 still had problems..

I use the Blackdown JDK and Stefan Gybas' tomcat Deb, and they work
fine together. It's actually the 3.2 beta, but numbered 3.1 so that
it's easier to upgrade when the real 3.2 comes out.

The debian-java list may have more people with more information on the
subject.



Re: Recipe for installng Tomcat on (Debian) Linux?

2000-12-07 Thread Stefan Gybas
Aaron Brashears wrote:

 I use the Blackdown JDK and Stefan Gybas' tomcat Deb, and they work
 fine together. It's actually the 3.2 beta, but numbered 3.1 so that
 it's easier to upgrade when the real 3.2 comes out.

I'll upload 3.2 final (together with mod_jk as a package) to my
directory on master tomorrow. Please test the new version and send me
feedback so I can upload the packages to the official archive soon.

-- 
Stefan Gybas