Koozali.org: home of the SME Server

Tomcat configuration

Offline tdbsoft

  • *
  • 83
  • +0/-0
    • http://www.tdb.com.au
Tomcat configuration
« on: May 26, 2006, 06:49:29 PM »
I have installed Java Tomcat V5 and all seems to be working of a fashion.

If I enter http://servername
and press enter I can see and run html pages in the primary ibay but if I click on a .jsp file I get error 500

If I enter http://servername:8085 I get the default tomcat page and can run jsp files but they are run from under the tomcat home directory not the primary ibay.

What I need to be able to setup is so that both work from the default webpage
http://servername

Can anyone help, I have already checked most howto's available but most are for other systems or dont help.

Offline gzartman

  • *
  • 306
  • +0/-0
    • LEI Engineering & Surveying
Re: Tomcat configuration
« Reply #1 on: May 26, 2006, 07:32:51 PM »
Quote from: "tdbsoft"
I have installed Java Tomcat V5 and all seems to be working of a fashion.

What I need to be able to setup is so that both work from the default webpage
http://servername



You need to be really careful when installing new software on SME because it would be really easy make a mess of things if you aren't careful.  SME is a complex set of mechanisms sitting on top of a stripped down Centos.  Installing software not in core Centos could quite easily break something in the connection between Centos and the SME mechanisms.  I'd read the developers guide on this site before going any further.

While I'm not familar with Tomcat, it appears to me to add functionality to Apache.  Usually when you add functionality to Apache, changes need to occur in httpd.conf.  Don't modify this file directly as it is generated by configuration templates.  Instead, create custom templates or possibly modify existing templates to generate the changes you are after.  The standard templates for httpd are located at /etc/e-smith/templates/etc/httpd/conf/httpd.  You'll want to override any of these templates or create new onces in /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf.

Good luck.
----
Greg J. Zartman
LEI Engineering & Surveying

SME user and community member since 2000.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Tomcat configuration
« Reply #2 on: May 26, 2006, 08:08:10 PM »
Quote from: "tdbsoft"

Can anyone help,


The 7.x Contribs forum is the appropriate place to ask. This forum is for:

  Discussion of the use of *ONLY* the components and features included on
  the SME Server 7.x CD.

Offline tdbsoft

  • *
  • 83
  • +0/-0
    • http://www.tdb.com.au
Re: Tomcat configuration
« Reply #3 on: May 27, 2006, 03:02:22 AM »
Quote
You need to be really careful when installing new software on SME because it would be really easy make a mess of things if you aren't careful.  SME is a complex set of mechanisms sitting on top of a stripped down Centos.  Installing software not in core Centos could quite easily break something in the connection between Centos and the SME mechanisms.  I'd read the developers guide on this site before going any further.


Thanks for the help.

But I have been using SME for 5+ years so not a novice.

However installation of Tomcat seem very (overly complex) as all I need it to do is to allow java to be run from an Ibay.

Offline tdbsoft

  • *
  • 83
  • +0/-0
    • http://www.tdb.com.au
Re: Tomcat configuration
« Reply #4 on: May 27, 2006, 03:04:18 AM »
Quote from: "CharlieBrady"
Quote from: "tdbsoft"

Can anyone help,


The 7.x Contribs forum is the appropriate place to ask. This forum is for:

  Discussion of the use of *ONLY* the components and features included on
  the SME Server 7.x CD.


Thanks Charilie,

I will repost in the 7.x contribs forum.