RE: 2 VirtualHosts now work, mod_jk not

2003-08-26 Thread David Wynter
/webappname JkMount /*.vm ajp13 The * in this case means /webappname/servlet/webappname/templates. I don't know anything about Turbine, so I can't help with specifics. You might just be better off using Tomcat alone. John David Wynter wrote: I have long URLs because I am using the Apache

RE: 2 VirtualHosts now work, mod_jk not

2003-08-26 Thread David Wynter
with Tomcat alone first, then worrying about Apache. John David Wynter wrote: Hi, Thanks for the example. One final thing is puzzling me. I have 2 webapps under my domain so if I use this DocumentRoot /some/path/to/tomcat/webappname1 How do I then reach the second webappname2? Ideally I want

RE: 2 VirtualHosts now work, mod_jk not

2003-08-26 Thread David Wynter
domain and have a virtualhost just for that so, webapp2.stpenable.com is handled by a separate VirtualHost. Thanks David -Original Message- From: David Wynter [mailto:[EMAIL PROTECTED] Sent: 26 August 2003 15:13 To: Tomcat Users List Subject: RE: 2 VirtualHosts now work, mod_jk

RE: 2 VirtualHosts same IP address and port on Tomcat not working

2003-08-22 Thread David Wynter
Hi, I have read dozens of archived posts on virtualhost. I have distilled my httpd.conf and server.xml back to what seems to be the recommended approach, see below. But now I can see no sites on any URL. I have a suspicous End event threw exception in the catalina.out log, which suggests a

RE: 2 VirtualHosts now work, mod_jk not

2003-08-22 Thread David Wynter
Now I am getting somewhere. I had left out the Directory directives in httpd.conf in my previous post because I had editted it from the Tomcat site vhost example, one that had a global directive, not for each VirtualHost. I found that the web.xml file for the rwsite ahd a different servlet name

RE: 2 VirtualHosts now work, mod_jk not

2003-08-22 Thread David Wynter
I have long URLs because I am using the Apache Turbine project to develop my webapps. Here is an article on how to shorten them, which gives me the impression that i am stuck with these long URLs http://jakarta.apache.org/turbine/turbine-2.2.1/howto/url-rewriting-howto.ht ml unless I follow this

RE: 2 VirtualHosts working other stuff not

2003-08-22 Thread David Wynter
Hi, I don't quite get what is being instructed here. I have got the first 5 points sorted out but for my Turbine apps rather than the example jsp. Sixth: create a VirtualHost in httpd.conf. Set the DocumentRoot to be equal to the Context in server.xml. So if I have a Context path=

2 VirtualHosts same IP address and port on Tomcat not working

2003-08-21 Thread David Wynter
/rwsite/servlet/* worker1 JkMount /rwsite/*.vm worker1 /VirtualHost David Wynter roamware Ltd. (+44) (0) 208 922 7539 B. (+44) (0) 7879 605 706 M. www.roamware.co.uk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

RE: 2 VirtualHosts same IP address and port on Tomcat not working

2003-08-21 Thread David Wynter
Hi John, Thanks for the reply. I have fixed the workers.properties and related stuff in the httpd.conf you pointed out below. What I want is to see what i see at www.stpenable.com/se/servlet/se/templates/index.vm to be what I see when I hit www.stpenable.com Ditto for www.roamware.co.uk to see

RE: 2 VirtualHosts same IP address and port on Tomcat not working

2003-08-21 Thread David Wynter
Actually I should qualify what I said. I have stpenable as the default Host so you can see www.stpenable.com/se/servlet/se/templates/index.vm but for some reason you cannot see www.roamware.co.uk/rwsite/servlet/rwsite/templates/index.vm which is the second of the VirtualHosts in my conf file.

RE: 2 VirtualHosts same IP address and port on Tomcat not working

2003-08-21 Thread David Wynter
be hundreds of people doing it? Thanks David -Original Message- From: David Wynter [mailto:[EMAIL PROTECTED] Sent: 21 August 2003 15:39 To: Tomcat Users List Subject: RE: 2 VirtualHosts same IP address and port on Tomcat not working Actually I should qualify what I said. I have

RE: 2 VirtualHosts same IP address and port on Tomcat not working

2003-08-21 Thread David Wynter
Hi John, Thanks for the pointers. I found a good tutorial on vhosts but using jk2 in the Tomcat 4.1 docs. So it helped a little. I have change to using DocumentRoot, less confusing. I also tried full paths instead of relative. I had removed the Context entries because it meant I could at least

problems with paths using mod_jk 1.2

2002-10-03 Thread David Wynter
Hi, I had been redirecting from Apache 2.0.42 index page to Tomcat 4.1.12 successfully. Then I had a corrupt filesystem and have had to do a complete installation. This time I am using Apache 1.3.23 with Tomcat 4.1.12 and for some reason my Turbine based servlet did not like th eredicrect and

RE: problems with paths using mod_jk 1.2

2002-10-03 Thread David Wynter
HOWTOs available...none of them say anything about setting things up the way you've got them set up. Don't wing it, you'll only spin your wheels as a result. John -Original Message- From: David Wynter [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 03, 2002 12:17 PM To: [EMAIL

RE: 4th day offline, getting desperate, please help

2002-09-30 Thread David Wynter
Hi Raj, I can get www.roamware.com:8080/index.jsp which is the standard Tomcat installation. I had accidently removed the connector for port 8080. But I cannot get my WAR file to deploy, I get a 404 error when I hit www.roamware.com:8080/rwsite/servlet/rwsite/template/index.vm So I add a

RE: 4th day offline, getting desperate, please help

2002-09-30 Thread David Wynter
for the IllegalStateException? There are no anomolies in the error.log for Apache2. I will post to the Turbine list. While i am here how do I disable the example servlet etc. I don't want folk to be able ot see thi son my site. David -Original Message- From: David Wynter [mailto:[EMAIL PROTECTED

RE: 4th day offline, getting desperate, please help

2002-09-30 Thread David Wynter
with your own file in the ROOT context. Raj David Wynter wrote: Hi, With a standatrd install and the changes to setup my domain name plus an extra context for my rwsite webapp I get the following in roamware_log.2002-09-30.txt 2002-09-30 11:33:52 WebappLoader[/rwsite]: Deploying class

4th day offline, getting desperate, please help

2002-09-29 Thread David Wynter
] #DocumentRoot /www/docs/dummy-host.example.com #ServerName dummy-host.example.com #ErrorLog logs/dummy-host.example.com-error_log #CustomLog logs/dummy-host.example.com-access_log common #/VirtualHost David Wynter roamware Ltd. (+44) (0) 208 922 7539 B. (+44) (0) 7879 605 706 M. [EMAIL

RE: 4th day offline, getting desperate, please help

2002-09-29 Thread David Wynter
a redirect from Apache index page to my servlet and let Tomcat handle it. David -Original Message- From: Remy Maucherat [mailto:[EMAIL PROTECTED]] Sent: 29 September 2002 16:01 To: Tomcat Users List Subject: Re: 4th day offline, getting desperate, please help David Wynter wrote: To fix

Correctly configuring server.xml?

2002-09-28 Thread David Wynter
/ /Engine /Service -- /Server David Wynter roamware Ltd. (+44) (0) 208 922 7539 B. (+44) (0) 7879 605 706 M. [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: Urgent, no website until Apache 2.0.42 works with Tomcat 4.1.12

2002-09-27 Thread David Wynter
in it, Apache isn't even involved. John -Original Message- From: David Wynter [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 26, 2002 3:52 PM To: Tomcat Users List Subject: RE: Urgent, no website until Apache 2.0.42 works with Tomcat 4.1.12 The error below was caused

Setup Tomcat 4.1.12 Apache 2.0.42 with mod_jk but still errors?

2002-09-27 Thread David Wynter
prefix=apache_log. suffix=.txt timestamp=true/ !-- Because this Realm is here, an instance will be shared globally -- Realm className=org.apache.catalina.realm.MemoryRealm / /Engine /Service /Server David Wynter roamware Ltd. (+44) (0) 208 922 7539 B

New Release JK 1.2.0 not installing

2002-09-27 Thread David Wynter
status it tells me I DO have 2.0.42. So how do I get PAckage Manager to detect that it is 2.0.42? What mechanism does it use to determine what version is installed? Mandrake 8.2 distro Thanks David Wynter Director roamware Ltd. (+44) (0) 208 922 7539 B. (+44) (0) 7879 605 706 M. [EMAIL PROTECTED

RE: New Release JK 1.2.0 not installing

2002-09-27 Thread David Wynter
above have Tomcat running as root, and that adding start-on-boot scripts to /etc/init.d has to be done manually. John -Original Message- From: David Wynter [mailto:[EMAIL PROTECTED]] Sent: Friday, September 27, 2002 11:27 AM To: 'Tomcat Users List' Subject: New Release JK 1.2.0

RE: How many people are using 4.1.12 successfully?

2002-09-27 Thread David Wynter
Hi, Well your observation about 4.1.12 worries me. I had a working application using a Turbine app on apache 1.3.23 and Tomcat 4.0.4, but it had a 1 minute time to load the first page because of a IllegalStateException. No one had an explanation and suggested a Tomcat upgrade so I went for the

RE: New Release JK 1.2.0 not installing

2002-09-27 Thread David Wynter
prefix=apache_log. suffix=.txt timestamp=true/ !-- Because this Realm is here, an instance will be shared globally -- Realm className=org.apache.catalina.realm.MemoryRealm / /Engine /Service /Server David Wynter roamware Ltd. (+44) (0) 208 922 7539 B. (+44) (0

RE: New Release JK 1.2.0 not installing

2002-09-27 Thread David Wynter
workers.properties and server.xml files. -Mike -Original Message- From: David Wynter [mailto:[EMAIL PROTECTED]] Sent: Friday, September 27, 2002 12:06 PM To: Tomcat Users List Subject: RE: New Release JK 1.2.0 not installing OK, they are all reproduced here, I have not tried to change them because

RE: New Release JK 1.2.0 not installing

2002-09-27 Thread David Wynter
-Original Message- From: David Wynter [mailto:[EMAIL PROTECTED]] Sent: Friday, September 27, 2002 2:00 PM To: Tomcat Users List Subject: RE: New Release JK 1.2.0 not installing OK, I made the changes you and John suggested. I had put in a connector for port 8007 because I had it before

RE: New Release JK 1.2.0 not installing

2002-09-27 Thread David Wynter
, at this point I can only assume it is an issue with Mandrake. I don't see anyone else posting about it from other operating systems, and I have never seen it on RedHat. John -Original Message- From: David Wynter [mailto:[EMAIL PROTECTED]] Sent: Friday, September 27, 2002 2:31 PM To: Tomcat Users

RE: New Release JK 1.2.0 not installing

2002-09-27 Thread David Wynter
have never seen it on RedHat. John -Original Message- From: David Wynter [mailto:[EMAIL PROTECTED]] Sent: Friday, September 27, 2002 2:31 PM To: Tomcat Users List Subject: RE: New Release JK 1.2.0 not installing Hi John, I get identical results using startup.sh as root followed

RE: New Release JK 1.2.0 not installing

2002-09-27 Thread David Wynter
-Original Message- From: David Wynter [mailto:[EMAIL PROTECTED]] Sent: Friday, September 27, 2002 4:00 PM To: Tomcat Users List Subject: RE: New Release JK 1.2.0 not installing Hi John, I now have a fresh install of Tomcat 4.1.12 and I can see localhost:8080. If I understand

RE: New Release JK 1.2.0 not installing

2002-09-27 Thread David Wynter
the Context back to ROOT the problem goes away? How do you set the default Context to be a particular servlet application under webapps? In my case it is webapps/rwsite/servlet/rwsite/templates/index.vm David -Original Message- From: David Wynter [mailto:[EMAIL PROTECTED]] Sent: 27 September 2002

RE: New Release JK 1.2.0 not installing

2002-09-27 Thread David Wynter
get connection refused when I hit the site and a Connection refused exception when I shutdown Tomcat. It seems straightforward according to the documents but does not work Ideas? David -Original Message- From: David Wynter [mailto:[EMAIL PROTECTED]] Sent: 27 September 2002 23:33

Urgent, no website until Apache 2.0.42 works with Tomcat 4.1.12

2002-09-26 Thread David Wynter
ideas? Thanks David Wynter roamware Ltd. (+44) (0) 208 922 7539 B. (+44) (0) 7879 605 706 M. [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: Urgent, no website until Apache 2.0.42 works with Tomcat 4.1.12

2002-09-26 Thread David Wynter
be something like /usr/local/apache/bin/apxs. If it's not there, your install of Apache is screwed up. John -Original Message- From: David Wynter [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 26, 2002 9:40 AM To: 'Tomcat Users List' Subject: Urgent, no website until Apache 2.0.42

RE: Urgent, no website until Apache 2.0.42 works with Tomcat 4.1.12

2002-09-26 Thread David Wynter
/packages/jakarta-tomcat-connectors-4.1.10-src/jk/native/apache-1. 3/mod_jk.so Hope this helps. John -Original Message- From: David Wynter [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 26, 2002 10:20 AM To: Tomcat Users List Subject: RE: Urgent, no website until Apache 2.0.42

RE: Urgent, no website until Apache 2.0.42 works with Tomcat 4.1.12

2002-09-26 Thread David Wynter
=@APACHE2_LIBDIR@ apache13.lib=@APACHE_LIBDIR@ iis.lib= iplanet.lib= # Compile-time options for native code so.debug=true so.optimize=false so.profile=false John -Original Message- From: David Wynter [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 26, 2002 11:16 AM To: Tomcat Users

service tomcat4 start script still valid with 4.1.12?

2002-09-26 Thread David Wynter
for it to stop before Apache does, what is the best way to achieve this? Thanks David Wynter roamware Ltd. (+44) (0) 208 922 7539 B. (+44) (0) 7879 605 706 M. [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: Urgent, no website until Apache 2.0.42 works with Tomcat 4.1.12

2002-09-26 Thread David Wynter
to taste. John -Original Message- From: David Wynter [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 26, 2002 12:16 PM To: Tomcat Users List Subject: RE: Urgent, no website until Apache 2.0.42 works with Tomcat 4.1.12 Hi John, Once I worked out I should be looking

RE: Urgent, no website until Apache 2.0.42 works with Tomcat 4.1.12

2002-09-26 Thread David Wynter
-Original Message- From: David Wynter [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 26, 2002 1:06 PM To: Tomcat Users List Subject: RE: Urgent, no website until Apache 2.0.42 works with Tomcat 4.1.12 Hi, I am running as root when I run apachectl start. I thought this was new

RE: Urgent, no website until Apache 2.0.42 works with Tomcat 4.1.12

2002-09-26 Thread David Wynter
the particular servlet the default page? David -Original Message- From: David Wynter [mailto:[EMAIL PROTECTED]] Sent: 26 September 2002 19:08 To: Tomcat Users List Subject: RE: Urgent, no website until Apache 2.0.42 works with Tomcat 4.1.12 Hi, I had run that and for /native2 and it all

RE: Urgent, no website until Apache 2.0.42 works with Tomcat 4.1.12

2002-09-26 Thread David Wynter
Message- From: David Wynter [mailto:[EMAIL PROTECTED]] Sent: 26 September 2002 19:19 To: Tomcat Users List Subject: RE: Urgent, no website until Apache 2.0.42 works with Tomcat 4.1.12 Ok, getting there. Now I have Tomcat running and deploying the jars in my servlet, a very good sign. I used

RE: Urgent, no website until Apache 2.0.42 works with Tomcat 4.1.12

2002-09-26 Thread David Wynter
in there when it is on port 8080? Shouldn't it be forwarding this to Tomcat? I am now getting ConnectException: connection refused when I use service tomcat4 stop These had disappeared, but now they are back. I am lost David -Original Message- From: David Wynter [mailto:[EMAIL PROTECTED]] Sent

Error switching to 4.1.12 from 4.0.4

2002-09-25 Thread David Wynter
this out. Thanks David Wynter roamware Ltd. (+44) (0) 208 922 7539 B. (+44) (0) 7879 605 706 M. [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

REPOST: addChild exception

2002-02-24 Thread David Wynter
No response on query below. Still stuck, web.xml is OK and server.xml is OK? I have just copied a Turbine project I was working on onto my notebook computer so I can work on it while travelling. I set up CATALINA_HOME and JAVA_HOME correctly. I have copied the whole thing to exactly the same

addChild invalid argument

2002-02-22 Thread David Wynter
I have just copied a Turbine project i was working on onto my notebook computer so I can work on it while travelling. I set up CATALINA_HOME and JAVA_HOME correctly. I have copied the whole thing to exactly the same directory (c:\tdk is CATALINA_HOME). This is the exception I get. 2002-02-23

Tomcat and getting it to run under JDeveloper

2002-01-24 Thread David Wynter
Since Oracle are now giving away their nice JDeveloper I thought I'd try to run my Apache Turbine applications and debug them with JDeveloper. Turbine 2.1 includes Tomcat 4.0b6. I picked up the following source from the Netbeans mailing list ( I never got it to work with NetBeans 3.3 and Tomcat