building jk2 failure - cant find coyote

2004-03-26 Thread Allan Bruce
I am trying to build the jk2 connector, and when I try I get an error saying it cant find coyote. Here is the exact output: BUILD FAILED /tmp/jakarta-tomcat-connectors-jk2-2.0.4-src/jk/build.xml:142: Warning: Could not find file

Re: building jk2 failure - cant find coyote

2004-03-26 Thread Allan Bruce
the link where you downloaded the tarball from? -Original Message- From: Allan Bruce [mailto:[EMAIL PROTECTED] Sent: Friday, March 26, 2004 11:44 AM To: [EMAIL PROTECTED] Subject: building jk2 failure - cant find coyote I am trying to build the jk2 connector, and when I try I get

Re: Tomcat Apache connector not working

2004-03-19 Thread Allan Bruce
Allan, the problem lies with the link-edit while building the mod_jk2.so module. The Makefile produced in the some_path/native2/server/apache2/ is buggy. There is some important libraries missing in the list. Also, I believe the configure is not checking everything properly. All prereqs

Re: jk2 problems

2004-03-19 Thread Allan Bruce
Allan, the problem is the mod_jk2.so shared library is not able to find the undefined symbol ap_server_root. I don't know in which library it resides, but I have a similar problem with a different library, since my connexion uses Unix sockets. You can look at the content of the shared

Re: Tomcat Apache connector not working

2004-03-19 Thread Allan Bruce
- Original Message - From: Daniel Savard [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, March 19, 2004 3:27 PM Subject: Re: Tomcat Apache connector not working Le ven 19/03/2004 à 05:11, Allan Bruce a écrit : I used an rpm to install the connector. Do

Tomcat Apache connector not working

2004-03-18 Thread Allan Bruce
I have apache and tomcat both up and running. Now I want to be able to set up a connector so that I can browse the 'examples' directory of the tomcat installation through apaches port. The below config doesnt seem to work, can somebody please tell me where I am going wrong? Thanks -

jk2 problems

2004-03-18 Thread Allan Bruce
I have apache and tomcat both up and running. I have mod_jk2 to connect the two but the requests are not being forwarded from apache to tomcat. I think tomcat is setup correctly and listening - my catalina.out is below. I have included my configs too. Could anyone suggest where I`m going

Stop displaying version info

2004-01-22 Thread Allan Bruce
Is there a way I can get tomcat to stop displaying so much info if somebody hits a 404 or other error? Its a good clue for hackers to start if they know what version of a popular software I am running. I have it so that apache displays no info, now just to get tomcat to do the same. Thanks Allan

default directory for files in tomcat

2004-01-22 Thread Allan Bruce
I have an applet which requires a .ini file to be loaded up. This file is only found if I am in the directory containing it when I startup tomcat. Is there a default location for files, or is there a config for this? I tried placing them in a few places but none worked unless I started tomcat

Re: Keeping servlet thread awake

2004-01-20 Thread Allan Bruce
Howdy, This is not a good design to start with. However, let's address your immediate issue first: how do you know that tomcat kills the thread? How do you start the thread? Yoav Shapira Millennium ChemInformatics I dont know that tomcat kills it as such, but I do know there is a

Re: Keeping servlet thread awake

2004-01-20 Thread Allan Bruce
- Original Message - From: Peter Guyatt [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, January 20, 2004 2:18 PM Subject: RE: Keeping servlet thread awake Hi There, It sounds to me like you have deadlock, not that tomcat is killing your thread Can your

Re: Linking tomcat with apache

2004-01-19 Thread Allan Bruce
Allan Bruce wrote: I have tomcat and apache both setup and running. At the moment, I am using a permanent redirect for urls to servlets to tomcat. But this is not correct. How do I get them set up correctly? I have jk2 installed. Thanks Allan

Re: Linking tomcat with apache

2004-01-19 Thread Allan Bruce
.properties. [shm] file=/tmp/shm.file size=100 Or whatever path takes your fancy. Yiannis. -Original Message- From: Allan Bruce [mailto:[EMAIL PROTECTED] Sent: 19 January 2004 14:52 To: Tomcat Users List Subject: Re: Linking tomcat with apache Thanks Tim, I am a step

Keeping servlet thread awake

2004-01-19 Thread Allan Bruce
I have a servlet running under tomcat4.1.24. I want the servlet to sleep for 30 minutes and sync with another servlet hosted by one of my friends, but it seems that tomcat kills the thread, and wont let it run every 30 mins. Is there something I can do to ensure tomcat doesnt kill the thread? It

Linking tomcat with apache

2004-01-18 Thread Allan Bruce
I have tomcat and apache both setup and running. At the moment, I am using a permanent redirect for urls to servlets to tomcat. But this is not correct. How do I get them set up correctly? I have jk2 installed. Thanks Allan -

Re: Linking tomcat with apache

2004-01-18 Thread Allan Bruce
] Sent: Sunday, January 18, 2004 7:23 PM Subject: Re: Linking tomcat with apache http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html http://nagoya.apache.org/wiki/apachewiki.cgi?Tomcat/Links -Tim Allan Bruce wrote: I have tomcat and apache both setup and running. At the moment

Re: web.xml config

2004-01-17 Thread Allan Bruce
I tried: http://kes:8080/WinGalagaHST?Op=GetScore and http://kes:8080/WinGalagaHST/WinGalagaHST?Op=GetScore but both just show HTTP 404 message. This servlet runs on my friends machine, with his own coded web-server, and to get a score, he calls ?Op=GetScore. Thanks Allan - Original

almost there with my servlet

2004-01-17 Thread Allan Bruce
I have added my servlet file (WinGalagaHST) to the examples/WEB-INF/classes folder and added the following to the web.xml file servlet servlet-nameWinGalagaHST/servlet-name servlet-classWinGalagaHST/servlet-class /servlet servlet-mapping

running a servlet .class file

2004-01-16 Thread Allan Bruce
Hi there, My friend has sent me a servlet to run on my server, it is in the form of 2 *.class files. I have installed tomcat (succesfully I think) and I now want to run my friends servlet. Can somebody give me a brief description of how to do this? Many Thanks Allan

Re: running a servlet .class file

2004-01-16 Thread Allan Bruce
friend's servlet in examples' web.xml, and browse to http://yourhost:8080/examples/yourservletmapping. Yoav Shapira Millennium ChemInformatics -Original Message- From: Allan Bruce [mailto:[EMAIL PROTECTED] Sent: Friday, January 16, 2004 7:40 AM To: [EMAIL PROTECTED] Subject

Re: running a servlet .class file

2004-01-16 Thread Allan Bruce
WEB-INF/classes directory, create a servlet and servlet-mapping for your friend's servlet in examples' web.xml, and browse to http://yourhost:8080/examples/yourservletmapping. Yoav Shapira Millennium ChemInformatics -Original Message- From: Allan Bruce [mailto:[EMAIL PROTECTED

Re: running a servlet .class file

2004-01-16 Thread Allan Bruce
I stopped apache and tomcat then started tomcat only. My catalina.out reads: StandardEngine[null]: setJvmRoute=tc1 Starting service Tomcat-Standalone Apache Tomcat/4.1.24-LE-jdk14 16-Jan-2004 14:09:11 org.apache.jk.common.ChannelSocket init INFO: JK2: ajp13 listening on /0.0.0.0:8009 16-Jan-2004

Re: running a servlet .class file

2004-01-16 Thread Allan Bruce
How do I test the examples if tomcat is running on its own? I tried http://kes:8009/examples/ but it doesnt work Thanks Allan - Original Message - From: Allan Bruce [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, January 16, 2004 2:17 PM Subject: Re: running

Re: running a servlet .class file

2004-01-16 Thread Allan Bruce
Ok, thanks - I dont think my tomcat can be running correctly then because when I try http://kes:8080 or http://kes:8080/examples/ I get nothing. - Original Message - From: Shapira, Yoav [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, January 16, 2004 3:32 PM

Re: running a servlet .class file

2004-01-16 Thread Allan Bruce
suggetsions as to what is wrong? Many Thanks Allan - Original Message - From: Allan Bruce [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, January 16, 2004 3:41 PM Subject: Re: running a servlet .class file Ok, thanks - I dont think my tomcat can be running correctly

Tomcat working with jsp but not servlets

2004-01-16 Thread Allan Bruce
I have got Tomcat running so that it is serving pages. The example jsp pages work fine, but the servlets dont. When clicking on the servlets, I get a list, and the sources. The sources can be viewed, the link is http://kes:8080/examples/servlets/*.html but the execute links dont work, they are

web.xml config

2004-01-16 Thread Allan Bruce
I have tomcat up and running fine - verified by running the example jsp pages and servlets. I have a servlet that I want to get working, called WinGalagaHST which is used for my game I have been developing. I have put it in my tomcats webapps directory, and the necessary subdirs like

Re: Does anyone have a working workers2.properties file?

2004-01-16 Thread Allan Bruce
this one works for me: --workers2.properties $ cd /etc/httpd2/conf Open the file workers2.properties in a text editor and modify the file to look like this: [logger] level=DEBUG [config:] file=/etc/httpd2/conf/workers2.properties debug=0 debugEnv=0 [uriMap:] info=Maps the requests. Options: