[Logo] smithproject.org
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
Messages posted by: n.zivkovic  XML
Profile for n.zivkovic -> Messages posted by n.zivkovic [12]
Author Message
Please post mod_jk.log and mod_jk settings from apache configuration.
Also check if ajp13 port in tomcat server.xml is enabled and listening on same port as in worker.properties file.
can you post 'cat /etc/init.d/tomcat5'
first verify that tomcat5 user really have permissions on app files

ls -l -h /var/lib/tomcat5/webapps/smith-1.3b4/WEB-INF/_smithwork/

this should be owned by tomcat5 user

second verify that tomcat is running under tomcat5 user

ps aux | grep java

if not try

chown tomcat5:<valid group> /var/lib/tomcat5 -R

after that login as tomcat5 and start server

su - tomcat5
/var/lib/tomcat5/bin/startup.sh

Regards,
Nikola
you have a few options,
if using apache and tomcat together best way is to do that in apache ssl.conf

other way if you using tomcat as standalone server just enable ssl port in server.xml

cu,
Nikola
Hi buisman,

try to set JAVA_HOME and JRE_HOME inside catalina.sh

all documentation concerning Tomcat can be fount on http://tomcat.apache.org/

and about installation:

1. download core package from tomcat site and extract it
2. setup JAVA_HOME and JRE_HOME inside catalina.sh
3. configure server.xml if there is need
4. start tomcat and call http://yourip:8080
you certainly need tomcat to run java app,
check pre-installation steps page, it contains helpful information how to configure apache + tomcat + apache-tomcat connector http://www.smithproject.org/doc_preinstall.cfm

but yes general steps are more or less the same
Yes it's possible, in case of tomcat:
1. unpack WAR
2. configure virtual hosts
3. copy smith WEB-INF in docBase of each vhost instance.
4. run it

I think this will feet your needs


It's fixed now please download updated bundle.

Seems like some application is listening on same port as jetty.

When you stop jetty process try 'netstat -a | grep 8081' to see if something is listening.

After PreInstallation you need to add web.xml to WEB-INF directory

http://www.smithproject.org//doc_install.cfm

Restart Tomcat and try to access smith admin panel via

http://yourhost/IDE/admin.html

or you can add URL rewrite in apache virtual.conf to go directly to admin panel

Code:
     <VirtualHost *:80>
         ServerName dummy-host.example.com
         RewriteEngine On
         RewriteRule ^/$ /IDE/admin.html [R]
         <Location />
               JKMount /* worker1
         </Location>
     </VirtualHost> 
 


Code:
 export JAVA_HOME="/usr/local/jdk1.5.0_11"
 export JAVA_PATH="$JAVA_HOME/bin"
 export PATH="$PATH:$JAVA_PATH"
 


try this, it should work i think
I think this will solve the problem

Code:
 export JAVA_HOME="/usr/java/jre1.5.0_11"
 export JAVA_PATH="$JAVA_HOME"
 export PATH="$PATH:$JAVA_HOME:$JAVA_HOME/bin"
 

if you still have problems please post output of "env $PATH"
 
Profile for n.zivkovic -> Messages posted by n.zivkovic [12]
Go to:   
Powered by JForum 2.1.6 © JForum Team