Koozali.org: home of the SME Server

Problems installing Tomcat

Olsen

Problems installing Tomcat
« on: May 04, 2004, 01:27:44 AM »
I have been trying to install Tomcat on SME 6.0.1

I have tried using David Helmuth's How To, but the address he has posted for the download of tomcat is not correct.  I keep getting errors.  

I tried downloading Tomcat 5.0 from Jakarta website and put it on a cd.  Tried to unzip the .gz file on the server, and it gave me a multitude of Cannot Mkdir: No such file or directory.

I am a novice and do not know where to go from here.

I am getting the same errors when I try to install phpmyadmin as well.  

Can anyone help?  I need tomcat to execute JSP that I develop for my company.  I need phpmyadmin to Administer the database.

Offline dmac

  • ****
  • 143
  • +0/-0
    • http://www.rylar.ca
Problems installing Tomcat
« Reply #1 on: May 04, 2004, 06:10:44 AM »
How are you installing the PHPmyadmin?  Have you downloaded the RPM from http://mirror.contribs.org/smeserver/contribs/nightspirit/e-smith-phpmyadmin/

Once you download the RPM, you can use the Update system option in the server manager web page, or run the commands at the command line as outlined in the readme.  This should work as I updated my SME 6.0.1 system yesterday and it works fine.

Don't know much about Tomcat though.
"In a world without Fences, why do we need Gates and Windows"

Offline Reinhold

  • *
  • 517
  • +0/-0
    • http://127.0.0.1
Problems installing Tomcat
« Reply #2 on: May 04, 2004, 09:39:28 AM »
Olsen,

Just want to let you know that for me:
http://www.helmuth.net/
http://computer1.dyndns.org/mitel-sme/Tomcat/tomcat-v4.0_Apache-howto.htm
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/webapp.html
...all work fine :-D

Note: He's on dial-in (dyndns) so may not be online all the time.

Regards
Reinhold
............

Olsen

Problems installing Tomcat
« Reply #3 on: May 04, 2004, 06:10:04 PM »
I have tried several times to use the update system tool on the server manager, but everytime I do.  The content frame on the page just shows an "Action Cancelled" page and does not appear to have worked.  Dont know why though.

In response to Reinhold The tomcat Apache how to is what I was following.  The command that I type in to download the file from jakarta will not work, I keep getting an error "Transfer terminated"  and it errors out.  I dont know what could cause this problem since I have installed other rpm's from websites in the past couple of days.  

Thanks for both of the responses, but I dont seem to be any further along.  I have tried updating the server from the command, and from the online server manager.

I found that I have an older version of phpmyadmin installed, but when I type http://xxxxxxxxx.com/phpmyadmin  I get a page that says I am not autorized to view the page.....why would that come up?

Offline Reinhold

  • *
  • 517
  • +0/-0
    • http://127.0.0.1
Problems installing Tomcat
« Reply #4 on: May 04, 2004, 06:31:27 PM »
Olsen,

use wget
...right from your SME prompt
...or use a downloader programm
IE6 has too short a timeout all too often :-o
RECOMMENDATION: Use Firefox-Browser
It's built-in downloader made me dump getright on Windows machines.

Regards
Reinhold
............

Offline Reinhold

  • *
  • 517
  • +0/-0
    • http://127.0.0.1
Problems installing Tomcat
« Reply #5 on: May 04, 2004, 06:35:08 PM »
oops forget your new question :-o

its:
https://yourdomain.com/phpmyadmin
using the admin login/password

Got it?

Regards
Reinhold
............

Olsen

Problems installing Tomcat
« Reply #6 on: May 04, 2004, 06:36:25 PM »
Forgive me for my lack of knowledge about linux, but what would I type in at the command to use the wget feature?

thanks for your help.

Olsen

Problems installing Tomcat
« Reply #7 on: May 04, 2004, 06:42:48 PM »
Reinhold!
That url worked. Thanks for the tidbit however I get an error that says "Cannot connect to MySQL database"

What would cause that.  

**Making headway**
thanks!

Offline teranic

  • **
  • 21
  • +0/-0
Problems installing Tomcat
« Reply #8 on: May 04, 2004, 06:43:08 PM »
access phpmyadmin via https://yourdomain.com/phpmyadmin using the admin login/password
.........

Offline Reinhold

  • *
  • 517
  • +0/-0
    • http://127.0.0.1
Problems installing Tomcat
« Reply #9 on: May 04, 2004, 07:00:50 PM »
Olsen,

since you are making headway  :-)

"man wget"
or
"wget --help"

stuff like this (almost) always works on the linux commandline.

And the short version for your install (logged into your test-sme, in a new dir):
"wget http://jakarta.apache.org/builds/jakarta-tomcat-4.0/archives/v4.0.2-b2/rpms/mod_webapp-1.0.2-1.i386.rpm"
and you will get the stuff... then
"rpm -Uvh mod_webapp* "

Got it?

Reinhold

note: do not use "
............

Olsen

Problems installing Tomcat
« Reply #10 on: May 04, 2004, 07:14:52 PM »
All I am getting is a "binindex.cgi" file

Did jakarta move the file to another directory?

Olsen

Problems installing Tomcat
« Reply #11 on: May 04, 2004, 08:28:24 PM »
Ok. I have tomcat jakarta-tomcat-5.0.19 downloaded.

When I did a "wget" I was logged in as [root@server root] Where do I need to put this file and where do I go from here?

Olsen

Error messages
« Reply #12 on: May 05, 2004, 02:17:21 AM »
Ok,
I installed j2sdk-1.4.1_07

but when I try to install tomcat I get these errors.

Retrieving http://mandrake.binarycompass.org/Mandrake-devel/contrib/jpackage/RPMS/tomcat4-4.1.29-3jpp.noarch.rpm
error: failed dependencies:
        ant >= 0:1.5 is needed by tomcat4-4.1.29-3jpp
        jaas is needed by tomcat4-4.1.29-3jpp
        jaf >= 0:1.0.1 is needed by tomcat4-4.1.29-3jpp
        jakarta-commons-beanutils >= 0:1.4.1 is needed by tomcat4-4.1.29-3jpp
        jakarta-commons-collections >= 0:2.0 is needed by tomcat4-4.1.29-3jpp
        jakarta-commons-daemon is needed by tomcat4-4.1.29-3jpp
        jakarta-commons-dbcp >= 0:1.1 is needed by tomcat4-4.1.29-3jpp
        jakarta-commons-digester >= 0:1.3 is needed by tomcat4-4.1.29-3jpp
        jakarta-commons-fileupload >= 0:1.0-1jpp is needed by tomcat4-4.1.29-3jpp
        jakarta-commons-logging >= 0:1.0.1 is needed by tomcat4-4.1.29-3jpp
        jakarta-commons-modeler is needed by tomcat4-4.1.29-3jpp
        jakarta-commons-pool >= 0:1.0.1 is needed by tomcat4-4.1.29-3jpp
        jasper4 >= 0:4.1.29 is needed by tomcat4-4.1.29-3jpp
        javamail >= 0:1.3 is needed by tomcat4-4.1.29-3jpp
        jaxp_parser_impl is needed by tomcat4-4.1.29-3jpp
        jdbc-stdext is needed by tomcat4-4.1.29-3jpp
        jmxri is needed by tomcat4-4.1.29-3jpp
        jndi is needed by tomcat4-4.1.29-3jpp
        jndi-ldap is needed by tomcat4-4.1.29-3jpp
        jpackage-utils >= 0:1.5.24 is needed by tomcat4-4.1.29-3jpp
        jta >= 0:1.0.1-0.a.1 is needed by tomcat4-4.1.29-3jpp
        regexp >= 0:1.2 is needed by tomcat4-4.1.29-3jpp
        servletapi4 >= 0:4.0.4 is needed by tomcat4-4.1.29-3jpp
        tyrex >= 0:1.0 is needed by tomcat4-4.1.29-3jpp
        xml-commons-apis is needed by tomcat4-4.1.29-3jpp


HELP.  Cant figure this out.

Betty

Where to find webapp-1.0.2-1.i386.rpm
« Reply #13 on: May 12, 2004, 09:43:08 AM »
I can't find mod_webapp-1.0.2-1.i386.rpm anywhere.  Please help...  :-(