Re: Apache Tomcat 6.0 loads blank page

2009-02-01 Thread André Warnier
zia mohades wrote: On Sun, Feb 1, 2009 at 6:41 PM, André Warnier wrote: zia mohades wrote: [...] but again, I can successfully access http://localhost:8080 and blank for http://localhost:8080/mms_test. so the log files are not very informative. 2) I have downloaded LiveHttpHeaders plugin

AW: NoClassDefFoundError: HttpServlet

2009-02-01 Thread Ladislav Gaspar
Sorry for the misinformation. The the servlet-api.jar is in $catalina_home/lib. The %CLASSPATH% is not adjusted I start tomcat with the bat file and when tomcat tries to load the first servlet I get the following error (see below). It's from the catalina..log file Thanks Laci SCHWERWIEGEND: Err

using windows authentication through JDTS on BIRT on TOMCAT

2009-02-01 Thread hendrik susanto
Hi, I'm newbie with tomcat, Can somebody help me solving my problem? I really apprciate it, cause it has made me frustated Currently I'm working with BIRT, tomcat and MSSQL I use BIRT to create report as an add-on to our ERP. We tried to using windows authentication as SSO in all the report, so

Re: running tomcat with root user

2009-02-01 Thread Rusty Wright
Are you sure about the group write permissions? I glanced at the jailkit web page and it looks like it's sugar coating and chrome around a chroot. So I would think that using unix groups would work. And on the flip side, if unix groups don't work, it seems to me that ACLs wouldn't either.

RE: Apache Tomcat 6.0 loads blank page

2009-02-01 Thread Caldarale, Charles R
> From: zia mohades [mailto:zia.si...@gmail.com] > Subject: Re: Apache Tomcat 6.0 loads blank page > > perfect! thank you martin, I have just created a JSP file, > index.jsp and copied the content of index.html into it. and > then made this modification as you said: None of which you should have

RE: how to uninstall apache-tomcat 5.5.16 for windows

2009-02-01 Thread SrD Online
// you should be running it from a command prompt, with the currend directory set to Tomcat's bin directory.// --> Same results // I would double check using Control Panel -> Administrative Tools -> Services to make sure there's no Apache Tomcat service installed. --> negative I'll delete the f

RE: how to uninstall apache-tomcat 5.5.16 for windows

2009-02-01 Thread Caldarale, Charles R
> From: SrD Online [mailto:srdonl...@gmail.com] > Subject: RE: how to uninstall apache-tomcat 5.5.16 for windows > I tried "service.bat remove" and got this: > The tomcat.exe was not found... > The CATALINA_HOME environment variable is not defined correctly. That's odd; you should be running it f

Re: how to uninstall apache-tomcat 5.5.16 for windows

2009-02-01 Thread Jiansen Niu
Yes, in your case, delete the apache-tomcat5.5.16 folder will uninstall tomcat from your computer. Make sure backup files you need before your delete the folder. Jiansen On Mon, Feb 2, 2009 at 12:00 AM, SrD Online wrote: > Chuck, > I installed it fr a zip file for jsp and servelet class, so don

RE: how to uninstall apache-tomcat 5.5.16 for windows

2009-02-01 Thread SrD Online
Chuck, I installed it fr a zip file for jsp and servelet class, so don't see it listed in the add/remove programs under control panel I tried "service.bat remove" and got this: // The tomcat.exe was not found... The CATALINA_HOME environment variable is not defined correctly. This environment var

RE: how to uninstall apache-tomcat 5.5.16 for windows

2009-02-01 Thread Caldarale, Charles R
> From: Andrew Pham [mailto:srdonl...@gmail.com] > Subject: how to uninstall apache-tomcat 5.5.16 for windows > > If you would, please advice how to uninstall apache-tomcat > 5.5.16 for windows XP. If you installed Tomcat from the .exe download, it will be listed in Add or Remove Programs under C

RE: UnsatisfiedLinkError in Windows Service (tomcat6w/5w.exe)

2009-02-01 Thread Caldarale, Charles R
> From: Michael Ludwig [mailto:mil...@gmx.de] > Subject: Re: UnsatisfiedLinkError in Windows Service (tomcat6w/5w.exe) > > The Java bridge DLLs (or whatever they're called) can be moved to a > directory only contained in java.library.path, but not in PATH. The > other libraries must be in a PATH di

how to uninstall apache-tomcat 5.5.16 for windows

2009-02-01 Thread Andrew Pham
I could not understand this, but i searched for hours and couldnt find any link as to how to uninstall apache. If you would, please advice how to uninstall apache-tomcat 5.5.16 for windows XP. and should there b an uninstall section as there is one for install? thanks!-- Andrew -- Andrew

RE: UnsatisfiedLinkError in Windows Service (tomcat6w/5w.exe)

2009-02-01 Thread Martin Gainty
saw this in the 2.2.69 readme.txt did you use cscript to config the environment? 1.2 Configuring The Source -- The configuration script accepts numerous options. Some of these affect features which will be available in the compiled software, others affect the way the soft

RE: Apache Tomcat 6.0 loads blank page

2009-02-01 Thread Martin Gainty
ah..this is an Apache HTTP Server question not Tomcat but the common gateway interface file should be located in %APACHE_HOME%/bin/test.cgi unless mapped differently.. Martin __ Disclaimer and confidentiality note Everything in this e-mail and any

Re: UnsatisfiedLinkError in Windows Service (tomcat6w/5w.exe)

2009-02-01 Thread Michael Ludwig
Caldarale, Charles R schrieb am 29.01.2009 um 22:45:40 (-0600): > > From: Michael Ludwig [mailto:mil...@gmx.de] > > Subject: Re: UnsatisfiedLinkError in Windows Service (tomcat6w/5w.exe) > > > > -Djava.library.path=C:\Server;C:\src\BerkeleyDbXml\dbxml-2.4.1 > > 6\bin\debug;... > > Is *src* really

Re: Apache Tomcat 6.0 loads blank page

2009-02-01 Thread zia mohades
Guys!!! index.html works now! yesss!!! Thank you again for all your help guys. However I am having an issue with accessing the cgi file from my html page which looks as follow: ( which is a button to calls the file test.cgi) and the test.cgi is located in /usr/local/tomcat/bin and the hesea

Re: Apache Tomcat 6.0 loads blank page

2009-02-01 Thread zia mohades
Hi everyone , Dear andre: I have just included the index.html in the web.xml , but still doesn't work. However I will continue using index.jsp until i find a solution. However I have a new problem. I have another file called hesearch.html which calls a .cgi file called test.cgi here is what it lo

Re: Apache Tomcat 6.0 loads blank page

2009-02-01 Thread zia mohades
On Sun, Feb 1, 2009 at 6:41 PM, André Warnier wrote: > zia mohades wrote: > [...] > >> but again, I can successfully access http://localhost:8080 and blank >> for >> http://localhost:8080/mms_test. so the log files are not very >> informative. >> >> 2) I have downloaded LiveHttpHeaders plugin a

Re: Apache Tomcat 6.0 loads blank page

2009-02-01 Thread André Warnier
zia mohades wrote: Hi all, perfect! thank you martin, I have just created a JSP file, index.jsp and copied the content of index.html into it. and then made this modification as you said: hen configure ./WEB-INF/web.xml to load initial display index.jsp welcome-file> and when i ac

Re: Apache Tomcat 6.0 loads blank page

2009-02-01 Thread zia mohades
Hi all, perfect! thank you martin, I have just created a JSP file, index.jsp and copied the content of index.html into it. and then made this modification as you said: hen configure ./WEB-INF/web.xml to load initial display index.jsp > welcome-file> > and when i access http://localh

Re: Apache Tomcat 6.0 loads blank page

2009-02-01 Thread André Warnier
zia mohades wrote: [...] but again, I can successfully access http://localhost:8080 and blank for http://localhost:8080/mms_test. so the log files are not very informative. 2) I have downloaded LiveHttpHeaders plugin and followed your instructions. Believe it or not when I access http://local

RE: Apache Tomcat 6.0 loads blank page

2009-02-01 Thread Martin Gainty
you'll need to create a startup index page called index.jsp which will be located in webapps/YourWebAppName then configure ./WEB-INF/web.xml to load initial display index.jsp HTH Martin __ Disclaimer and confidentiality note

Re: Apache Tomcat 6.0 loads blank page

2009-02-01 Thread Stephen Souness
Hi. I believe the error will be preventing Tomcat from starting - which is why the restart attempt is failing when it attempts to connect to the shutdown port - according to the log posted. Find and fix the XML issue, then you should be good to get Tomcat started. -- Stephen Souness André

Re: Apache Tomcat 6.0 loads blank page

2009-02-01 Thread zia mohades
hello again, Andre, I just went back to the server.xml file in conf directory and fixed the error and now when I restart the server with: sudo /etc/init.d/tomcat restart, and I then i check the logs , I don't see any errors , just the normal output: 1-Feb-2009 6:01:03 PM org.apache.catalina.start

Tomcat 6 on Linux - session - DB connections and other shared resources

2009-02-01 Thread Ray Holme
I have a few web applications being moved to tomcat. They all share some commonality - I use Firebird not MySQL; I built my own ConnectionManager long ago; and all three have an Application wide bean for shared resources. Each user has a "UserInfo" bean (whether or not they log in is important and

Re: Apache Tomcat 6.0 loads blank page

2009-02-01 Thread André Warnier
What do you mean the logs are not informative ? I am no Tomcat expert to interpret the log exactly, but my guess is that you have an XML error right into your conf/server.xml file, which is the main Tomcat configuration file. I am quite surprised that Tomcat is starting at all. SEVERE: Parse

Re: Apache Tomcat 6.0 loads blank page

2009-02-01 Thread zia mohades
Hi again: Andre thank you for your email: 1) when I check the logs I see the follwoing for localhost logs :1-Feb-2009 4:16:04 PM org.apache.catalina.core.ApplicationContext log INFO: SessionListener: contextInitialized() for catalina logs: I have this: 1-Feb-2009 5:01:42 PM org.apache.to

Re: Apache Tomcat 6.0 loads blank page

2009-02-01 Thread André Warnier
zia mohades wrote: Hello again, Qiao thank you for your help. I tried copying the WEB-INF(which includes web.xml) to mms_test but the problem is still there( blank page). I tried copying the mms_test somewhere else like to ROOT, but the problem still remains. Just to let you know I can successf

Re: Apache Tomcat 6.0 loads blank page

2009-02-01 Thread zia mohades
Hello again, Qiao thank you for your help. I tried copying the WEB-INF(which includes web.xml) to mms_test but the problem is still there( blank page). I tried copying the mms_test somewhere else like to ROOT, but the problem still remains. Just to let you know I can successfull view the page htt

RE: Apache Tomcat 6.0 loads blank page

2009-02-01 Thread Qiao Jin
I am new to Tomcat as well... But, does mms_test contain WEB-INF with web.xml, like other directories under webapps do? Try copy it from "docs" and see what happens. Also, if you pull mms_test out of webapps and restart tomcat, does the problem go away? Did you change server.xml from the default?

Re: failed ActiveMQ hangs tomcat

2009-02-01 Thread AD
Thanks. I thought it was interesting that ALL the tomcat applications went down when JMS was down, even if the apps that dont rely on it. Must be some blocking going on that is affecting all threads in the app server. On Sun, Feb 1, 2009 at 12:12 AM, Kirk True wrote: > Hi Adam, > > AD wrote: >>

Re: running tomcat with root user

2009-02-01 Thread André Warnier
epicwin...@hotmail.com wrote: Thanks for the reply and suggestion , i am doing some heavy reading right now on ACLs. Very interesting, looks like a possible solution. I am doing this on a remote server with one drive so I am a little nervous about making these changes and seeing if it comes

RE: running tomcat with root user

2009-02-01 Thread epicwin...@hotmail.com
> From: peter.crowt...@melandra.com > To: users@tomcat.apache.org > Date: Sun, 1 Feb 2009 12:59:33 + > Subject: RE: running tomcat with root user > > > From: epicwin...@hotmail.com [mailto:epicwin...@hotmail.com] > > I have the latest tomcat 6 installed under centos 5.2. The > > problem I

RE: running tomcat with root user

2009-02-01 Thread epicwin...@hotmail.com
> Date: Sun, 1 Feb 2009 11:04:10 +0100 > From: a...@ice-sa.com > To: users@tomcat.apache.org > Subject: Re: running tomcat with root user > > epicwin...@hotmail.com wrote: > > I have the latest tomcat 6 installed under centos 5.2. The problem I am > > having is that it appears that I have to

Re: Apache Tomcat 6.0 loads blank page

2009-02-01 Thread zia mohades
Hello all, Thank you keshave for your answer. In fact my folder mms_test is already in teh webapps directory and when I try accessing it using http://localhost:8080/mms_test/index.html or just http://localhost:8080/mms_test/. I get the same thing "blank page" nothing is displayed. I am not sure wh

RE: jsvc problem with PID

2009-02-01 Thread Qiao Jin
Could it be that you are running the start-up script (the one using jsvc) as a normal user and thus does not have the permission to write to /var/run? In my system, CentOS 5, /var/run can only be written by root. I run my jsvc script as root and use the "-user" option to switch to a normal user

Re: Problem in listener

2009-02-01 Thread ahmet temiz
I am using tomcat 6, sun java 6, eclipse ganymede in linux ubuntu 8. regards 2009/2/1 Caldarale, Charles R : >> From: ahmet temiz [mailto:ahmettemi...@gmail.com] >> Subject: Problem in listener >> >> how can I solve this ? > > You can start by providing useful information: Tomcat version, JRE/J

RE: running tomcat with root user

2009-02-01 Thread Peter Crowther
> From: Brian Millett [mailto:bmill...@gmail.com] > On Sat, 2009-01-31 at 19:25 -0800, epicwin...@hotmail.com wrote: > > I have the latest tomcat 6 installed under centos 5.2. The > problem I am having is that it appears that I have to run > tomcat as root user, because the spring app that tomcat

Re: jsvc problem with PID

2009-02-01 Thread Dave Pawson
2009/2/1 André Warnier : >> No. I installed it as a 'normal' user. >> >> Workaround: >> which is nice to know :-) >> > > Yes, but now you are cheating with respect to your first post. > You are not using jsvc anymore. No, but it lets me move on a little. > And, you are running Tomcat as root,

Re: jsvc problem with PID

2009-02-01 Thread André Warnier
Dave Pawson wrote: 2009/2/1 Gregor : are you rumning the startup-script as root? can u post your startup-script? rgds gregor No. I installed it as a 'normal' user. Workaround: case "$1" in start) # # Start Tomcat # sh $CATALINA_HOME/bin/startup.sh ;; stop) #

Re: jsvc problem with PID

2009-02-01 Thread Jose Vicente Nunez Zuleta
Hi, not an expert, but if the PID variable is empty or the pid file is not there then you will have problems (like when the daemon was killed before). Try this: stop) PIDFILE="/var/run/jsvc.pid" if [ -f "$PIDFILE" ]; then PID=`cat $PIDFILE` if [ $? == 0 && ! -z $P

Re: jsvc problem with PID

2009-02-01 Thread Dave Pawson
2009/2/1 Brian Millett : > Well, I use the jsvc daemon to start my tomcat on fedora 10. Tomcat 6 > > your mileage will vary, but here is my start stript. > stop) ># ># Stop Tomcat ># >PID=`cat /var/run/jsvc.pid` >kill $PID >;; > > *) >echo "Usage tomcat.sh start/st

Re: jsvc problem with PID

2009-02-01 Thread Brian Millett
On Sun, 2009-02-01 at 08:20 +, Dave Pawson wrote: > Fedora 10, Tomcat 6 > > Looking to set up a startup/shutdown script > based on > http://www.mythic-beasts.com/support/tomcat-initscript > with paths corrected. > > Adding debug I'm seeing, in the logs > > INFO: Jk running ID=0 time=0/27 co

Re: running tomcat with root user

2009-02-01 Thread Brian Millett
On Sat, 2009-01-31 at 19:25 -0800, epicwin...@hotmail.com wrote: > I have the latest tomcat 6 installed under centos 5.2. The problem I am > having is that it appears that I have to run tomcat as root user, because the > spring app that tomcat starts needs to write files to other users' home >

Re: jsvc problem with PID

2009-02-01 Thread Dave Pawson
2009/2/1 Gregor : > are you rumning the startup-script as root? > > can u post your startup-script? > > rgds > > gregor No. I installed it as a 'normal' user. Workaround: case "$1" in start) # # Start Tomcat # sh $CATALINA_HOME/bin/startup.sh ;; stop) # # Stop To

Re: jsvc problem with PID

2009-02-01 Thread Gregor
are you rumning the startup-script as root? can u post your startup-script? rgds gregor Am 01.02.2009 um 12:00 schrieb Dave Pawson : 2009/2/1 André Warnier : I.e. the PID isn't being written to /var/run/jsvc.pid Any suggestions please? 10..9..8..7.. (just the countdown before someone e

RE: running tomcat with root user

2009-02-01 Thread Peter Crowther
> From: epicwin...@hotmail.com [mailto:epicwin...@hotmail.com] > I have the latest tomcat 6 installed under centos 5.2. The > problem I am having is that it appears that I have to run > tomcat as root user, because the spring app that tomcat > starts needs to write files to other users' home direc

Re: jsvc problem with PID

2009-02-01 Thread André Warnier
Dave Pawson wrote: 2009/2/1 André Warnier : I.e. the PID isn't being written to /var/run/jsvc.pid Any suggestions please? 10..9..8..7.. (just the countdown before someone else here tells you to go ask your question in a Fedora forum) A word of explanation, before someone else puts it more

Re: Apache Tomcat 6.0 loads blank page

2009-02-01 Thread Pid
zia mohades wrote: > Hi there, > > I am currently having issue loading my own page using tomcat apache 6.0 on > ubuntu, here are the details; > > 1) when I start the server using sudo /etc/init.d/tomcat restart and then > try to access the server via http://localhost:8080, i sucessfully > get the

Re: jsvc problem with PID

2009-02-01 Thread Dave Pawson
2009/2/1 André Warnier : >> I.e. the PID isn't being written to /var/run/jsvc.pid >> >> Any suggestions please? >> >> > 10..9..8..7.. > (just the countdown before someone else here tells you to go ask your > question in a Fedora forum) > > A word of explanation, before someone else puts it more ru

Re: jsvc problem with PID

2009-02-01 Thread André Warnier
Dave Pawson wrote: Fedora 10, Tomcat 6 Looking to set up a startup/shutdown script based on http://www.mythic-beasts.com/support/tomcat-initscript with paths corrected. Adding debug I'm seeing, in the logs INFO: Jk running ID=0 time=0/27 config=null Feb 1, 2009 7:18:44 AM org.apache.catalina.

Re: running tomcat with root user

2009-02-01 Thread André Warnier
epicwin...@hotmail.com wrote: I have the latest tomcat 6 installed under centos 5.2. The problem I am having is that it appears that I have to run tomcat as root user, because the spring app that tomcat starts needs to write files to other users' home directories. The tomcat user doesn't hav

jsvc problem with PID

2009-02-01 Thread Dave Pawson
Fedora 10, Tomcat 6 Looking to set up a startup/shutdown script based on http://www.mythic-beasts.com/support/tomcat-initscript with paths corrected. Adding debug I'm seeing, in the logs INFO: Jk running ID=0 time=0/27 config=null Feb 1, 2009 7:18:44 AM org.apache.catalina.startup.Catalina star