Re: I'm officially lost with mod_jk

2003-07-17 Thread Werner van Mook
Hi Astrid,

I got the source code for mod_jk and build it myself.
I did build it myself because I was having problems that could be  
related to the native
parts inside mod_jk. (At leas that's what I came to think).

I got the source code from the apache site.
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/ 
v1.2.4/src/

I got my hints and tips from :
http://list.cobalt.com/pipermail/cobalt-developers/2003-March/ 
038938.html
http://www.zeffie.com/cobalt/developers/0208/162839.html
http://www.mail-archive.com/[EMAIL PROTECTED]/msg97705.html
http://www.spaceprogram.com/knowledge/tomcat4_on_cobalt_setup.html

I know this is all for my own platform but maybe you can do something  
with it.

Kind regards
werner van mook




On Thursday, July 17, 2003, at 03:08 PM, Astrid Wagner wrote:

Hi Werner,
Sorry to link into your conversation:
It seems that you went through the problems I am about to have  
(connecting tomcat 4 to Apache 1.3: Solaris 8).
Since I haven't gotten a response to a previous email:
Where did you get mod_jk ? Why did you have to compile it and
can you give more info on what steps you took to do so.
Thanks.
Astrid

Werner van Mook wrote:

Gute Morgen Simon,

I've compiled the mod_jk myself. it was easy.
 But I still have problems.
I will so you what I have.

In httpd.conf :

LoadModule jk_module modules/mod_jk.so

# MY OWN STUFF HERE

 AddModule mod_jk.c
 JkWorkersFile /etc/httpd/conf/workers.properties
 JkLogFile /etc/httpd/logs/mod_jk.log
 JkLogLevelinfo
 JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
 JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
 JkRequestLogFormat "%w %V %T"

In workers.properties :

#Define 1 real worker using ajp13

worker.list=ajp13

#Set properties for worker1(ajp13)

worker.ajp13.type=ajp13
worker.ajp13.host=www.connecties.com
worker.ajp13.port=8009
In server.xml  :

on a line after 



on a line just after 



And the last part of my server.xml is :

 

Re: I'm officially lost with mod_jk

2003-07-17 Thread John Turner
http://jakarta.apache.org/builds/jakarta-tomcat- 
connectors/jk/release/v1.2.1/bin/solaris8/

John

On Thu, 17 Jul 2003 15:08:24 +0200, Astrid Wagner 
<[EMAIL PROTECTED]> wrote:

Hi Werner,
Sorry to link into your conversation:
It seems that you went through the problems I am about to have 
(connecting tomcat 4 to Apache 1.3: Solaris 8).
Since I haven't gotten a response to a previous email:
Where did you get mod_jk ? Why did you have to compile it and
can you give more info on what steps you took to do so.
Thanks.
Astrid

Werner van Mook wrote:

Gute Morgen Simon,

I've compiled the mod_jk myself. it was easy.
But I still have problems.
I will so you what I have.

In httpd.conf :

LoadModule jk_module modules/mod_jk.so

# MY OWN STUFF HERE

AddModule mod_jk.c
JkWorkersFile /etc/httpd/conf/workers.properties
JkLogFile /etc/httpd/logs/mod_jk.log
JkLogLevelinfo
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
JkRequestLogFormat "%w %V %T"

In workers.properties :

#Define 1 real worker using ajp13

worker.list=ajp13

#Set properties for worker1(ajp13)

worker.ajp13.type=ajp13
worker.ajp13.host=www.connecties.com
worker.ajp13.port=8009
In server.xml  :

on a line after 



on a line just after 



And the last part of my server.xml is :



Re: I'm officially lost with mod_jk

2003-07-17 Thread Astrid Wagner
Hi Werner,
Sorry to link into your conversation:
It seems that you went through the problems I am about to have 
(connecting tomcat 4 to Apache 1.3: Solaris 8).
Since I haven't gotten a response to a previous email:
Where did you get mod_jk ? Why did you have to compile it and
can you give more info on what steps you took to do so.
Thanks.
Astrid

Werner van Mook wrote:

Gute Morgen Simon,

I've compiled the mod_jk myself. it was easy.
 But I still have problems.
I will so you what I have.

In httpd.conf :

LoadModule jk_module modules/mod_jk.so

# MY OWN STUFF HERE

 AddModule mod_jk.c
 JkWorkersFile /etc/httpd/conf/workers.properties
 JkLogFile /etc/httpd/logs/mod_jk.log
 JkLogLevelinfo
 JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
 JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
 JkRequestLogFormat "%w %V %T"

In workers.properties :

#Define 1 real worker using ajp13

worker.list=ajp13

#Set properties for worker1(ajp13)

worker.ajp13.type=ajp13
worker.ajp13.host=www.connecties.com
worker.ajp13.port=8009
In server.xml  :

on a line after 



on a line just after 



And the last part of my server.xml is :

 

RE: I'm officially lost with mod_jk

2003-07-16 Thread Kannan Sundararajan
change the port number from 8080 to 80

-Original Message-
From: Werner van Mook [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 16, 2003 8:54 AM
To: Tomcat Users List
Cc: [EMAIL PROTECTED]
Subject: Re: I'm officially lost with mod_jk


Aha,

A typo on my side.

changed  into 
Now my error log file displays :

[Wed Jul 16 14:43:40 2003] [notice] Apache/1.3.20 Sun Cobalt (Unix) 
mod_ssl/2.8.4 OpenSSL/0.9.6b PHP/4.0.3pl1 mod_jk/1.2.2 
mod_auth_pam_external/0.1 FrontPage/4.0.4.3 mod_perl/1.25 configured -- 
resuming normal operations

This looks good. At least to me.

Now I only can't access the requested pages.
If I do www.connecties.com:8080/Friss/ I get the correct index.html 
page.
If I do www.connecties.com/Friss/ I get a 404 doc. not found.

this is what it says in the error logfile:

[Wed Jul 16 14:44:02 2003] [error] [client 213.17.78.218] File does not 
exist: /home/sites/home/web/Friss/index.html

that's right because it's not there. It is located in my webapps dir 
inside tomcat.

Any idea's ?

Kind regards
Werner




On Wednesday, July 16, 2003, at 02:26 PM, Simon Pabst wrote:

> Your JK Stuff in httpd.conf looks a bit wrong to me,
> and the error means that workers.properties is either not found or not 
> loaded,
> try this:
>
>
> httpd.conf:
>
> #For Apache 1.x additional modules should be normally in 
> apache/libexec dir, not in modules as in your config (unless you got 
> Apache 2 now?)
>
> 
>   LoadModule jk_module /etc/httpd/modules/mod_jk.so
>   #On recent Apache you don't need the following line, but on yours 
> you do propably
>   AddModule mod_jk.c
> 
>
> # Dont' think IfModule works with mod_jk.so like in your config, you 
> need mod_jk.c there
> 
> JkWorkersFile /etc/httpd/conf/workers.properties
> JkLogFile /etc/httpd/logs/mod_jk.log
> JkLogLevel info
> ...
> 
>
>
> workers.properties:
>
> workers.java_home=/path/to/java
> ps=/
>
> worker.list=ajp13
> # Use localhost or IP-Address (if Tomcat is on remote machine) for the 
> ajp13 connection host
> worker.ajp13.port=8009
> worker.ajp13.host=localhost
> worker.ajp13.type=ajp13
>
>
>
> Also check your httpd.conf with
> /path/to/httpd -t /path/to/httpd.conf
> (you need the binary httpd for this, not the directory)
> (does same as apachectl configtest)
>
> That ioctl error looks bad, if it still persists then,
> i would try to build Apache from source too, then mod_jk again
>
>
> "Tomcat Users List" <[EMAIL PROTECTED]> schrieb am 
> 16.07.03 09:30:29:
>>
>> Gute Morgen Simon,
>>
>> I've compiled the mod_jk myself. it was easy.
>>   But I still have problems.
>>
>> I will so you what I have.
>>
>> In httpd.conf :
>>
>> LoadModule jk_module modules/mod_jk.so
>>
>> # MY OWN STUFF HERE
>> 
>>   AddModule mod_jk.c
>>   JkWorkersFile /etc/httpd/conf/workers.properties
>>   JkLogFile /etc/httpd/logs/mod_jk.log
>>   JkLogLevelinfo
>>   JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
>>   JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
>>   JkRequestLogFormat "%w %V %T"
>> 
>>
>> In workers.properties :
>>
>> #Define 1 real worker using ajp13
>>
>> worker.list=ajp13
>>
>> #Set properties for worker1(ajp13)
>>
>> worker.ajp13.type=ajp13
>> worker.ajp13.host=www.connecties.com
>> worker.ajp13.port=8009
>>
>>
>> In server.xml  :
>>
>> on a line after 
>>
>> > modJk="/etc/httpd/modules/mod_jk.so" />
>>
>>
>> on a line just after 
>>
>> > append="true" forwardAll="false"  modJk="/etc/httpd/modules/mod_jk.so"
>> />
>>
>> And the last part of my server.xml is :
>>
>>   
>> 

[SOLVED] I'm officially lost with mod_jk

2003-07-16 Thread Werner van Mook
I would like to thank all who helped me with solving my problems.
it finally works.
I think that the biggest problem was me making a STUPID typo in the 
 tag.

Kind Regards

Werner van Mook
Java Lead Developer / Trainer
Connecties Voor Internet
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: I'm officially lost with mod_jk

2003-07-16 Thread Werner van Mook
I realized after sending my previous mail that I didn't have any 
JkMount directives.
I'm currently in the process of creating them.

when I have any problems again I will let you know.

Regards
werner


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Re: I'm officially lost with mod_jk

2003-07-16 Thread Simon Pabst
If Apache says 404 not found, your JkMount config is wrong propably,
What does your JkMount stuff look like?
Are the JkMount directives in global httpd.conf or just in one VirtualHost?
Any errors in mod_jk.log?

"Tomcat Users List" <[EMAIL PROTECTED]> schrieb am 16.07.03 14:54:06:
> 
> Aha,
> 
> A typo on my side.
> 
> changed  into 
> Now my error log file displays :
> 
> [Wed Jul 16 14:43:40 2003] [notice] Apache/1.3.20 Sun Cobalt (Unix) 
> mod_ssl/2.8.4 OpenSSL/0.9.6b PHP/4.0.3pl1 mod_jk/1.2.2 
> mod_auth_pam_external/0.1 FrontPage/4.0.4.3 mod_perl/1.25 configured -- 
> resuming normal operations
> 
> This looks good. At least to me.
> 
> Now I only can't access the requested pages.
> If I do www.connecties.com:8080/Friss/ I get the correct index.html 
> page.
> If I do www.connecties.com/Friss/ I get a 404 doc. not found.
> 
> this is what it says in the error logfile:
> 
> [Wed Jul 16 14:44:02 2003] [error] [client 213.17.78.218] File does not 
> exist: /home/sites/home/web/Friss/index.html
> 
> that's right because it's not there. It is located in my webapps dir 
> inside tomcat.
> 
> Any idea's ?
> 
> Kind regards
> Werner
> 
> 
> 
> 
> On Wednesday, July 16, 2003, at 02:26 PM, Simon Pabst wrote:
> 
> > Your JK Stuff in httpd.conf looks a bit wrong to me,
> > and the error means that workers.properties is either not found or not 
> > loaded,
> > try this:
> >
> >
> > httpd.conf:
> >
> > #For Apache 1.x additional modules should be normally in 
> > apache/libexec dir, not in modules as in your config (unless you got 
> > Apache 2 now?)
> >
> > 
> >   LoadModule jk_module /etc/httpd/modules/mod_jk.so
> >   #On recent Apache you don't need the following line, but on yours 
> > you do propably
> >   AddModule mod_jk.c
> > 
> >
> > # Dont' think IfModule works with mod_jk.so like in your config, you 
> > need mod_jk.c there
> > 
> > JkWorkersFile /etc/httpd/conf/workers.properties
> > JkLogFile /etc/httpd/logs/mod_jk.log
> > JkLogLevel info
> > ...
> > 
> >
> >
> > workers.properties:
> >
> > workers.java_home=/path/to/java
> > ps=/
> >
> > worker.list=ajp13
> > # Use localhost or IP-Address (if Tomcat is on remote machine) for the 
> > ajp13 connection host
> > worker.ajp13.port=8009
> > worker.ajp13.host=localhost
> > worker.ajp13.type=ajp13
> >
> >
> >
> > Also check your httpd.conf with
> > /path/to/httpd -t /path/to/httpd.conf
> > (you need the binary httpd for this, not the directory)
> > (does same as apachectl configtest)
> >
> > That ioctl error looks bad, if it still persists then,
> > i would try to build Apache from source too, then mod_jk again
> >
> >
> > "Tomcat Users List" <[EMAIL PROTECTED]> schrieb am 
> > 16.07.03 09:30:29:
> >>
> >> Gute Morgen Simon,
> >>
> >> I've compiled the mod_jk myself. it was easy.
> >>   But I still have problems.
> >>
> >> I will so you what I have.
> >>
> >> In httpd.conf :
> >>
> >> LoadModule jk_module modules/mod_jk.so
> >>
> >> # MY OWN STUFF HERE
> >> 
> >>   AddModule mod_jk.c
> >>   JkWorkersFile /etc/httpd/conf/workers.properties
> >>   JkLogFile /etc/httpd/logs/mod_jk.log
> >>   JkLogLevelinfo
> >>   JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
> >>   JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
> >>   JkRequestLogFormat "%w %V %T"
> >> 
> >>
> >> In workers.properties :
> >>
> >> #Define 1 real worker using ajp13
> >>
> >> worker.list=ajp13
> >>
> >> #Set properties for worker1(ajp13)
> >>
> >> worker.ajp13.type=ajp13
> >> worker.ajp13.host=www.connecties.com
> >> worker.ajp13.port=8009
> >>
> >>
> >> In server.xml  :
> >>
> >> on a line after 
> >>
> >>  >> modJk="/etc/httpd/modules/mod_jk.so" />
> >>
> >>
> >> on a line just after 
> >>
> >>  >> append="true" forwardAll="false"  modJk="/etc/httpd/modules/mod_jk.so"
> >> />
> >>
> >> And the last part of my server.xml is :
> >>
> >>   
> >>  To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

-- 
Simon Pabst

E-Mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: I'm officially lost with mod_jk

2003-07-16 Thread Werner van Mook
Aha,

A typo on my side.

changed  into 
Now my error log file displays :
[Wed Jul 16 14:43:40 2003] [notice] Apache/1.3.20 Sun Cobalt (Unix) 
mod_ssl/2.8.4 OpenSSL/0.9.6b PHP/4.0.3pl1 mod_jk/1.2.2 
mod_auth_pam_external/0.1 FrontPage/4.0.4.3 mod_perl/1.25 configured -- 
resuming normal operations

This looks good. At least to me.

Now I only can't access the requested pages.
If I do www.connecties.com:8080/Friss/ I get the correct index.html 
page.
If I do www.connecties.com/Friss/ I get a 404 doc. not found.

this is what it says in the error logfile:

[Wed Jul 16 14:44:02 2003] [error] [client 213.17.78.218] File does not 
exist: /home/sites/home/web/Friss/index.html

that's right because it's not there. It is located in my webapps dir 
inside tomcat.

Any idea's ?

Kind regards
Werner


On Wednesday, July 16, 2003, at 02:26 PM, Simon Pabst wrote:

Your JK Stuff in httpd.conf looks a bit wrong to me,
and the error means that workers.properties is either not found or not 
loaded,
try this:

httpd.conf:

#For Apache 1.x additional modules should be normally in 
apache/libexec dir, not in modules as in your config (unless you got 
Apache 2 now?)


  LoadModule jk_module /etc/httpd/modules/mod_jk.so
  #On recent Apache you don't need the following line, but on yours 
you do propably
  AddModule mod_jk.c


# Dont' think IfModule works with mod_jk.so like in your config, you 
need mod_jk.c there

JkWorkersFile /etc/httpd/conf/workers.properties
JkLogFile /etc/httpd/logs/mod_jk.log
JkLogLevel info
...


workers.properties:

workers.java_home=/path/to/java
ps=/
worker.list=ajp13
# Use localhost or IP-Address (if Tomcat is on remote machine) for the 
ajp13 connection host
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13



Also check your httpd.conf with
/path/to/httpd -t /path/to/httpd.conf
(you need the binary httpd for this, not the directory)
(does same as apachectl configtest)
That ioctl error looks bad, if it still persists then,
i would try to build Apache from source too, then mod_jk again
"Tomcat Users List" <[EMAIL PROTECTED]> schrieb am 
16.07.03 09:30:29:
Gute Morgen Simon,

I've compiled the mod_jk myself. it was easy.
  But I still have problems.
I will so you what I have.

In httpd.conf :

LoadModule jk_module modules/mod_jk.so

# MY OWN STUFF HERE

  AddModule mod_jk.c
  JkWorkersFile /etc/httpd/conf/workers.properties
  JkLogFile /etc/httpd/logs/mod_jk.log
  JkLogLevelinfo
  JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
  JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
  JkRequestLogFormat "%w %V %T"

In workers.properties :

#Define 1 real worker using ajp13

worker.list=ajp13

#Set properties for worker1(ajp13)

worker.ajp13.type=ajp13
worker.ajp13.host=www.connecties.com
worker.ajp13.port=8009
In server.xml  :

on a line after 


on a line just after 


And the last part of my server.xml is :

  

Re: Re: I'm officially lost with mod_jk

2003-07-16 Thread Simon Pabst
Your JK Stuff in httpd.conf looks a bit wrong to me,
and the error means that workers.properties is either not found or not loaded,
try this:


httpd.conf:

#For Apache 1.x additional modules should be normally in apache/libexec dir, not in 
modules as in your config (unless you got Apache 2 now?)


  LoadModule jk_module /etc/httpd/modules/mod_jk.so
  #On recent Apache you don't need the following line, but on yours you do propably
  AddModule mod_jk.c


# Dont' think IfModule works with mod_jk.so like in your config, you need mod_jk.c 
there

JkWorkersFile /etc/httpd/conf/workers.properties
JkLogFile /etc/httpd/logs/mod_jk.log
JkLogLevel info
...



workers.properties:

workers.java_home=/path/to/java
ps=/

worker.list=ajp13
# Use localhost or IP-Address (if Tomcat is on remote machine) for the ajp13 
connection host
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13



Also check your httpd.conf with
/path/to/httpd -t /path/to/httpd.conf
(you need the binary httpd for this, not the directory)
(does same as apachectl configtest)

That ioctl error looks bad, if it still persists then,
i would try to build Apache from source too, then mod_jk again


"Tomcat Users List" <[EMAIL PROTECTED]> schrieb am 16.07.03 09:30:29:
> 
> Gute Morgen Simon,
> 
> I've compiled the mod_jk myself. it was easy.
>   But I still have problems.
> 
> I will so you what I have.
> 
> In httpd.conf :
> 
> LoadModule jk_module modules/mod_jk.so
> 
> # MY OWN STUFF HERE
> 
>   AddModule mod_jk.c
>   JkWorkersFile /etc/httpd/conf/workers.properties
>   JkLogFile /etc/httpd/logs/mod_jk.log
>   JkLogLevelinfo
>   JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
>   JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
>   JkRequestLogFormat "%w %V %T"
> 
> 
> In workers.properties :
> 
> #Define 1 real worker using ajp13
> 
> worker.list=ajp13
> 
> #Set properties for worker1(ajp13)
> 
> worker.ajp13.type=ajp13
> worker.ajp13.host=www.connecties.com
> worker.ajp13.port=8009
> 
> 
> In server.xml  :
> 
> on a line after 
> 
>  modJk="/etc/httpd/modules/mod_jk.so" />
> 
> 
> on a line just after 
> 
>  append="true" forwardAll="false"  modJk="/etc/httpd/modules/mod_jk.so"  
> />
> 
> And the last part of my server.xml is :
> 
>   
>  To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

-- 
Simon Pabst

E-Mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: I'm officially lost with mod_jk

2003-07-16 Thread Werner van Mook
Gute Morgen Simon,

I've compiled the mod_jk myself. it was easy.
 But I still have problems.
I will so you what I have.

In httpd.conf :

LoadModule jk_module modules/mod_jk.so

# MY OWN STUFF HERE

 AddModule mod_jk.c
 JkWorkersFile /etc/httpd/conf/workers.properties
 JkLogFile /etc/httpd/logs/mod_jk.log
 JkLogLevelinfo
 JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
 JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
 JkRequestLogFormat "%w %V %T"

In workers.properties :

#Define 1 real worker using ajp13

worker.list=ajp13

#Set properties for worker1(ajp13)

worker.ajp13.type=ajp13
worker.ajp13.host=www.connecties.com
worker.ajp13.port=8009
In server.xml  :

on a line after 



on a line just after 



And the last part of my server.xml is :

 

Re: I'm officially lost with mod_jk

2003-07-14 Thread Simon Pabst
That looks like a trailing slash problem,
you requested /Friss, but mounted only /Friss/
Either use the following JkMount additionally:
JkMount /Friss worker1
Or use Apache's mod_rewrite to put a trailing slash to URL if it there is none.
http://httpd.apache.org/docs/misc/rewriteguide.html
Also make sure to have index.html in your Tomcat web.xml welcome file list.
http://jakarta.apache.org/tomcat/faq/misc.html#welcome
At 18:35 14.07.2003 +0200, you wrote:
Hi all,

Here is another user of mod_jk who's now officially lost.

I have apache 1.3.x with tomcat 4.1.24
I installed mod_jk
in httpd.conf I put :

LoadModule jk_module modules/mod_jk.so

.
.
.
# MY OWN STUFF HERE

 AddModule mod_jk.c
 JkWorkersFile /etc/httpd/conf/workers.properties
 JkLogFile /var/log/httpd/mod_jk.log
 JkLogLevelinfo
 JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
 JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
 JkRequestLogFormat "%w %V %T"
 JkMount  /Friss/* worker1

In workers.properties I have :

#Define 1 real worker using ajp13

worker.list=worker1

#Set properties for worker1(ajp13)

worker.worker1.type=ajp13
worker.worker1.host=localhost
worker.worker1.port=8009
worker.worker1.lbfactor=50
worker.worker1.cahcesize=10
worker.worker1.cache_timeout=600
worker.worker1.socket_keepalive=1
worker.worker1.socket_timeout=300
In the webapps dir I created a dir called Friss wich contains a WEB_INF 
dir and a index.html file.

When I restart tomcat and apache I want to request : www.connecties.com/Friss.

I suspected to get the index.html file from the Friss webapp. Instead I 
got a 404 document not found.

I think I'm missing something but I don't know what.
Anybody out there had the same experience and want to share it with me?
Kind regards
Werner
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: I'm officially lost with mod_jk

2003-07-14 Thread John Turner
A couple of things...

- remove JkMount from global configuration.  JkMount directives are 
VirtualHost-specific.

- verify the ServerName in httpd.conf matches the name in your Host 
container in server.xml

- change your worker name to ajp13 (worker1 is probably OK but since it 
doesn't matter, there's no reason not to use ajp13 and in some cases the 
name "ajp13" makes a difference)

- remove the extra stuff from workers.properties...you only need .list, 
.host, .type, and .port.

- check contents of your JK log file...it is typically pretty specific, 
telling you exactly what is wrong.

John

On Mon, 14 Jul 2003 18:35:21 +0200, Werner van Mook <[EMAIL PROTECTED]> 
wrote:

Hi all,

Here is another user of mod_jk who's now officially lost.

I have apache 1.3.x with tomcat 4.1.24
I installed mod_jk
in httpd.conf I put :

LoadModule jk_module modules/mod_jk.so

.
.
.
# MY OWN STUFF HERE

AddModule mod_jk.c
JkWorkersFile /etc/httpd/conf/workers.properties
JkLogFile /var/log/httpd/mod_jk.log
JkLogLevelinfo
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
JkRequestLogFormat "%w %V %T"
JkMount  /Friss/* worker1

In workers.properties I have :

#Define 1 real worker using ajp13

worker.list=worker1

#Set properties for worker1(ajp13)

worker.worker1.type=ajp13
worker.worker1.host=localhost
worker.worker1.port=8009
worker.worker1.lbfactor=50
worker.worker1.cahcesize=10
worker.worker1.cache_timeout=600
worker.worker1.socket_keepalive=1
worker.worker1.socket_timeout=300
In the webapps dir I created a dir called Friss wich contains a WEB_INF 
dir and a index.html file.

When I restart tomcat and apache I want to request : 
www.connecties.com/Friss.

I suspected to get the index.html file from the Friss webapp. Instead I 
got a 404 document not found.

I think I'm missing something but I don't know what.
Anybody out there had the same experience and want to share it with me?
Kind regards
Werner
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: I'm officially lost with mod_jk

2003-07-14 Thread Jeff Tulley
Crazy question:  Did you type the url literally like the one below
(minus the period at the end of the sentence of course)??  
When you go though the mod_jk you need to have a traling slash, so 
http://www.connecties.com/Friss/

This is due to the matching functionality of the mod, and the way in
which you wrote your JkMount statement.

See if that helps.

Jeff Tulley  ([EMAIL PROTECTED])
(801)861-5322
Novell, Inc., The Leading Provider of Net Business Solutions
http://www.novell.com

>>> [EMAIL PROTECTED] 7/14/03 10:35:21 AM >>>
Hi all,

Here is another user of mod_jk who's now officially lost.


When I restart tomcat and apache I want to request : 
www.connecties.com/Friss.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: I'm officially lost with mod_jk

2003-07-14 Thread Javier Ayllon
at first sight you can see 
chcesize=10 instead of cachesize=10

in your workers.properties
you can start there. :-)


On Mon, 2003-07-14 at 18:35, Werner van Mook wrote:
> Hi all,
> 
> Here is another user of mod_jk who's now officially lost.
> 
> I have apache 1.3.x with tomcat 4.1.24
> I installed mod_jk
> 
> in httpd.conf I put :
> 
> LoadModule jk_module modules/mod_jk.so
> 
> .
> .
> .
> 
> # MY OWN STUFF HERE
> 
>   AddModule mod_jk.c
>   JkWorkersFile /etc/httpd/conf/workers.properties
>   JkLogFile /var/log/httpd/mod_jk.log
>   JkLogLevelinfo
>   JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
>   JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
>   JkRequestLogFormat "%w %V %T"
>   JkMount  /Friss/* worker1
> 
> 
> 
> In workers.properties I have :
> 
> #Define 1 real worker using ajp13
> 
> worker.list=worker1
> 
> #Set properties for worker1(ajp13)
> 
> worker.worker1.type=ajp13
> worker.worker1.host=localhost
> worker.worker1.port=8009
> worker.worker1.lbfactor=50
> worker.worker1.cahcesize=10
> worker.worker1.cache_timeout=600
> worker.worker1.socket_keepalive=1
> worker.worker1.socket_timeout=300
> 
> In the webapps dir I created a dir called Friss wich contains a WEB_INF 
> dir and a index.html file.
> 
> When I restart tomcat and apache I want to request : 
> www.connecties.com/Friss.
> 
> I suspected to get the index.html file from the Friss webapp. Instead I 
> got a 404 document not found.
> 
> 
> I think I'm missing something but I don't know what.
> Anybody out there had the same experience and want to share it with me?
> 
> Kind regards
> Werner
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
-- 
Javier Ayllon <[EMAIL PROTECTED]>
Universidad de Castilla La Mancha



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



I'm officially lost with mod_jk

2003-07-14 Thread Werner van Mook
Hi all,

Here is another user of mod_jk who's now officially lost.

I have apache 1.3.x with tomcat 4.1.24
I installed mod_jk
in httpd.conf I put :

LoadModule jk_module modules/mod_jk.so

.
.
.
# MY OWN STUFF HERE

 AddModule mod_jk.c
 JkWorkersFile /etc/httpd/conf/workers.properties
 JkLogFile /var/log/httpd/mod_jk.log
 JkLogLevelinfo
 JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
 JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
 JkRequestLogFormat "%w %V %T"
 JkMount  /Friss/* worker1

In workers.properties I have :

#Define 1 real worker using ajp13

worker.list=worker1

#Set properties for worker1(ajp13)

worker.worker1.type=ajp13
worker.worker1.host=localhost
worker.worker1.port=8009
worker.worker1.lbfactor=50
worker.worker1.cahcesize=10
worker.worker1.cache_timeout=600
worker.worker1.socket_keepalive=1
worker.worker1.socket_timeout=300
In the webapps dir I created a dir called Friss wich contains a WEB_INF 
dir and a index.html file.

When I restart tomcat and apache I want to request : 
www.connecties.com/Friss.

I suspected to get the index.html file from the Friss webapp. Instead I 
got a 404 document not found.

I think I'm missing something but I don't know what.
Anybody out there had the same experience and want to share it with me?
Kind regards
Werner
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]