Where to obtain mod_jk

2002-08-30 Thread Michael Timpe

Hi,

I need a mod_jk binary for a SuSE Linux 7.3.

All the folders in the download area of the jakarta project are empty 
(release, nightly, ...)

Where can I download a stable version of mod_jk for use with Apache2.



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Internal Server Error

2002-09-12 Thread Michael Timpe

Hi,

I get an "Internal Server Error" very often after an idle time of some 
minutes. What can I do?

Platform:

- Win NT / Win 2000
- Apache 1.3.26
- mod_jk
- Tomcat 4.0.3

(P.S.: on a linux system it is stable and we have no problems! This 
error occurs only on Windows machines).

Greetings

Michael




-- 
-------
Michael Timpe
eMail: [EMAIL PROTECTED]
---


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




Re: Is CLASSPATH ignored ?

2002-10-30 Thread Michael Timpe

There is a way to use the classpath. In the script 
catalina.bat/catalina.sh the variable CLASSPATH is overwritten and all 
previous content is skipped. You can fix this by including the content 
of the CLASSPATH variable. There is also a script called 
setclasspath.sh/setclasspath.bat. You can change this also. I did not 
find a solution if you're using the Tomcat service under Win NT/2000/XP. 
If you need JARS outside the Tomcat installation you have to go this way 
and to start Tomcat using the scripts instead of using the service.

Change the line

set CLASSPATH=...

to (according to your plattform)

set CLASSPATH=%CLASSPATH%;... or
set CLASSPATH=${CLASSPATH};...

Greetings

Michael


Craig R. McClanahan wrote:

On Tue, 29 Oct 2002, Sinclair, Alan  (CORP, GEAccess) wrote:

 

Date: Tue, 29 Oct 2002 13:01:06 -0700
From: "Sinclair, Alan  (CORP, GEAccess)" <[EMAIL PROTECTED]>
Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
To: "Tomcat Users List (E-mail)" <[EMAIL PROTECTED]>
Subject: Is CLASSPATH ignored ?

All,

Does the UNIX Tomcat implementation ignore the CLASSPATH environment
variable ?

   


Yes.

 

For example, in order to make DBCP pooling work, I placed the Oracle JAR
file in $CATALINA_HOME/common/lib  Does this mean that all application JAR
files must be installed in ../common/lib ?

   


http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html

 

Thanks
   


Craig


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 


 




--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Caching-Problem Tomcat 4.0.x (Tomcat 3.3.1 works)

2002-06-18 Thread Michael Timpe

Hi,

I have the following problem:

I have a servlet that creates as a result a (plain) html file on the server and saves 
it on the server. The browser than requests the html page to display it.

The html page created by the servlet is updated very fast (each second). To indicate 
this, the html page contains a time stamp to track the correct update of the page.

It seems that Tomcat4.0.x does not recognize that the html file has been changed and 
delivers the old version of the html page. Only if the browser is waiting about 5s 
until it requests the new created html page, it works.

With Tomcat 3.3.1 the servlet can update the html file as often as needed. Tomcat 
3.3.1 always delivers the newest version.

(In the html file there are the needed meta tags to avoid caching the page on the 
client side and to avoid caching in a proxy!)

So, my question is:

1) Does Tomcat 4.0.x have a problem that a static html page to be delivered has been 
updated within the last second?

2) Does Tomcat 4.0.x have any internal caching mechanisms (to avoid loading the html 
file from the disk for each request)? 

3) If so: Is there any possibility to configure this caching?

Greetings

Michael






Michael Timpe
Melchiorstr. 24
50670 Köln
eMail: [EMAIL PROTECTED]



Re: mod_jk with Apache 2.0.36/TC 4.0.4-b3 on NT

2002-06-18 Thread Michael Timpe

Hi,

I have a problem in the same area:

1) I put mod_jk2.dll to the modules dir of apache.

2) I added LoadModule jk2_module modules/mod_jk2.dll to my httpd.conf file

3) I added the directive JkMount /*.jsp ajp13 to my httpd.conf file

Testing the conf file using apache.exe -t httpd.conf, the following report
will be written:

"Invalid command 'JkMount', perhaps mis-spelled or defined by a module not
included in the server configuration"

I did not found any installation instructions for mod_jk2. The old
documentation for mod_jk seems not to be valid (JkMount definitely worked
with mod_jk).

Any ideas?

Greetings

Michael

- Original Message -
From: "Charles Sanders" <[EMAIL PROTECTED]>
To: "Tomcat Users List (E-mail)" <[EMAIL PROTECTED]>
Sent: Tuesday, June 18, 2002 7:36 PM
Subject: mod_jk with Apache 2.0.36/TC 4.0.4-b3 on NT


> I am having problems getting mod_jk to work with apache 2.0.36 and tomcat
> 4.0.4-b3. I have created the workers.properties file (inserted below). I
> have added in the listener and connector for AJP in server.xml file. If I
> try to have TC auto create the mod_jk.conf file it does not start TC and
> does not auto create the mod_jk.conf file for apache. One I am not sure
> about is the worker.inprocess.class_path. If anyone could please help it
> would be greatly appreciated.
>
> Thanks,
> Charles
>
> #>>> workers.properties file content <<<#
> workers.tomcat_home=c:/jakarta-tomcat-4.0.4-b3
> workers.java_home=$(JAVA_HOME)
> ps=\
>
> worker.list=ajp13, ajp14
> worker.ajp13.port=8009
> worker.ajp13.host=localhost
> worker.ajp13.type=ajp13
> worker.ajp13.lbfactor=1
>
> worker.ajp14.port=8010
> worker.ajp14.host=localhost
> worker.ajp14.type=ajp14
> worker.ajp14.secretkey=secret
> worker.ajp14.credentials=myveryrandomentropy
> worker.ajp14.lbfactor=1
>
> worker.loadbalancer.type=lb
> worker.loadbalancer.balanced_workers=ajp13
> worker.inprocess.type=jni
>
worker.inprocess.class_path=$(workers.tomcat_home)$(ps)server$(ps)lib$(ps)ca
> talina.jar
> worker.inprocess.cmd_line=start
>
worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)bin$(ps)classic$(p
> s)jvm.dll
>
worker.inprocess.stdout=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stdout
>
worker.inprocess.stderr=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stderr
>






> --
> To unsubscribe, e-mail:

> For additional commands, e-mail:



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: mod_jk with Apache 2.0.36/TC 4.0.4-b3 on NT

2002-06-18 Thread Michael Timpe

Sorry, but a similiar result

"Invalid command 'AddModule', perhaps mis-spelled or defined by a module not
included in the server configuration"


- Original Message -
From: "Turner, John" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Tuesday, June 18, 2002 10:16 PM
Subject: RE: mod_jk with Apache 2.0.36/TC 4.0.4-b3 on NT


>
> Off the top of my head you need the "AddModule" directive in addition to
> "LoadModule":
>
> AddModule mod_jk2.c
>
> John Turner
> [EMAIL PROTECTED]
> http://www.aas.com
>
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 18, 2002 3:59 PM
> To: Tomcat Users List; [EMAIL PROTECTED]
> Subject: Re: mod_jk with Apache 2.0.36/TC 4.0.4-b3 on NT
>
>
> Hi,
>
> I have a problem in the same area:
>
> 1) I put mod_jk2.dll to the modules dir of apache.
>
> 2) I added LoadModule jk2_module modules/mod_jk2.dll to my httpd.conf file
>
> 3) I added the directive JkMount /*.jsp ajp13 to my httpd.conf file
>
> Testing the conf file using apache.exe -t httpd.conf, the following report
> will be written:
>
> "Invalid command 'JkMount', perhaps mis-spelled or defined by a module not
> included in the server configuration"
>
> I did not found any installation instructions for mod_jk2. The old
> documentation for mod_jk seems not to be valid (JkMount definitely worked
> with mod_jk).
>
> Any ideas?
>
> Greetings
>
> Michael
>
> - Original Message -
> From: "Charles Sanders" <[EMAIL PROTECTED]>
> To: "Tomcat Users List (E-mail)" <[EMAIL PROTECTED]>
> Sent: Tuesday, June 18, 2002 7:36 PM
> Subject: mod_jk with Apache 2.0.36/TC 4.0.4-b3 on NT
>
>
> > I am having problems getting mod_jk to work with apache 2.0.36 and
tomcat
> > 4.0.4-b3. I have created the workers.properties file (inserted below). I
> > have added in the listener and connector for AJP in server.xml file. If
I
> > try to have TC auto create the mod_jk.conf file it does not start TC and
> > does not auto create the mod_jk.conf file for apache. One I am not sure
> > about is the worker.inprocess.class_path. If anyone could please help it
> > would be greatly appreciated.
> >
> > Thanks,
> > Charles
> >
> > #>>> workers.properties file content <<<#
> > workers.tomcat_home=c:/jakarta-tomcat-4.0.4-b3
> > workers.java_home=$(JAVA_HOME)
> > ps=\
> >
> > worker.list=ajp13, ajp14
> > worker.ajp13.port=8009
> > worker.ajp13.host=localhost
> > worker.ajp13.type=ajp13
> > worker.ajp13.lbfactor=1
> >
> > worker.ajp14.port=8010
> > worker.ajp14.host=localhost
> > worker.ajp14.type=ajp14
> > worker.ajp14.secretkey=secret
> > worker.ajp14.credentials=myveryrandomentropy
> > worker.ajp14.lbfactor=1
> >
> > worker.loadbalancer.type=lb
> > worker.loadbalancer.balanced_workers=ajp13
> > worker.inprocess.type=jni
> >
>
worker.inprocess.class_path=$(workers.tomcat_home)$(ps)server$(ps)lib$(ps)ca
> > talina.jar
> > worker.inprocess.cmd_line=start
> >
>
worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)bin$(ps)classic$(p
> > s)jvm.dll
> >
>
worker.inprocess.stdout=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stdout
> >
>
worker.inprocess.stderr=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stderr
> >
>
>
> --
--
> 
>
>
> > --
> > To unsubscribe, e-mail:
> 
> > For additional commands, e-mail:
> 
>
>
> --
> To unsubscribe, e-mail:
> 
> For additional commands, e-mail:
> 
>


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: mod_jk with Apache 2.0.36/TC 4.0.4-b3 on NT

2002-06-20 Thread Michael Timpe

I gave up. I am using Apache 1.3.x with mod_jk and TC4.0.3 and it works
really fine. I will wait a little bit until the new versions are more
stable.

Greetings

Michael



- Original Message -
From: "Charles Sanders" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Tuesday, June 18, 2002 11:54 PM
Subject: RE: mod_jk with Apache 2.0.36/TC 4.0.4-b3 on NT


> Per NT event viewer log this is the details: The Apache2 service
terminated
> with service-specific error 1.
>
> Not much.
>
>
> -Original Message-
> From: Stimac, Chris [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 18, 2002 4:43 PM
> To: Tomcat Users List
> Subject: RE: mod_jk with Apache 2.0.36/TC 4.0.4-b3 on NT
>
>
> I have tried (unsuccessfully) to get Apache 2.0.36 to work with TC 3.3 on
> Win2k,
> with roughly the same problem.  I am curious, though, have you checked the
> (Windows) application event log?
> I found that Apache was tripping over the LoadModule statement and it was
> reporting to Windows that it could not find the module.  It would also
> screwup the path statement (combining /'s and \'s) and I wonder if that
was
> the real problem.
>
> Anyhow, sorry I can't offer any help, but if more than one of us is having
> the same problem w/Apache 2.0.36 and the mod_jk.dll connector, we might be
> looking at a bug somewhere.
>
> On another note, I have been able to get Apache 1.3.24 to work
successfully.
>
> -CRS
>
> > -Original Message-
> > From: Charles Sanders [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, June 18, 2002 5:40 PM
> > To: 'Tomcat Users List'
> > Subject: RE: mod_jk with Apache 2.0.36/TC 4.0.4-b3 on NT
> >
> >
> > That is one of the sources among others that I have used.
> > Still not working
> > with the LoadModule and after adding in this it does not
> > allow apache to
> > start(yes the mod_jk.dll file is in the modules dir).
> >
> > Any further information or sources would be great.
> >
> > thanks
> >
> > -Original Message-
> > From: Turner, John [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, June 18, 2002 3:52 PM
> > To: 'Tomcat Users List'
> > Subject: RE: mod_jk with Apache 2.0.36/TC 4.0.4-b3 on NT
> >
> >
> >
> > According to this guide:
> > http://www.galatea.com/flashguides/apache-tomcat-24-win32.xml
> >
> > for apache 2, it should be:
> >
> > 
> >   LoadModule jk_module modules/mod_jk.dll
> > 
> >
> > Granted, this is for mod_jk and not mod_jk2, but I believe the two are
> > similar.  I missed the "apache 2" on the first time around, I am using
> > apache 1.3 on Windows and the AddModule directive is required.
> >
> >
> > -Original Message-
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, June 18, 2002 4:34 PM
> > To: Tomcat Users List
> > Subject: Re: mod_jk with Apache 2.0.36/TC 4.0.4-b3 on NT
> >
> >
> > Sorry, but a similiar result
> >
> > "Invalid command 'AddModule', perhaps mis-spelled or defined
> > by a module not
> > included in the server configuration"
> >
> >
> > - Original Message -
> > From: "Turner, John" <[EMAIL PROTECTED]>
> > To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
> > Sent: Tuesday, June 18, 2002 10:16 PM
> > Subject: RE: mod_jk with Apache 2.0.36/TC 4.0.4-b3 on NT
> >
> >
> > >
> > > Off the top of my head you need the "AddModule" directive
> > in addition to
> > > "LoadModule":
> > >
> > > AddModule mod_jk2.c
> > >
> > > John Turner
> > > [EMAIL PROTECTED]
> > > http://www.aas.com
> > >
> > >
> >
> >
> > --
> > To unsubscribe, e-mail:
> > 
> > For additional commands, e-mail:
> > 
> >
> >
>
> --
> To unsubscribe, e-mail:
> 
> For additional commands, e-mail:
> 
>






> --
> To unsubscribe, e-mail:

> For additional commands, e-mail:



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Problems Apache 1.3 <-> Tomcat 4.0 and Security Constraints

2002-03-12 Thread Michael Timpe

Hi,

I have the following problem:

I wrote a web application using a security constraint with auth-method set to 'FORM'. 
Everything works fine.

I now will use Tomcat as the JSP container under Apache. If I access the application 
through Apache, the FORM-based
auth-method of tomcat seems not to work. ("not found error").

Does Apache supports Form-based login in a manner like Tomcat does?

Any ideas?

Greetings

Michael


--------
Michael Timpe
Melchiorstr. 24
50670 Köln
eMail: [EMAIL PROTECTED]



Mime Mapping Problem

2002-05-25 Thread Michael Timpe

Hi,

I am working with Tomcat 4.x on a windows machine. In the wepapp-defaults a mime type 
mapping für jnlp file ist set correctly. But tomcat alwasy sends text/html as content 
type not application/x-java-jnlp-file. I tried always defining the mime type in the 
web xml file. But it didn't work.

What went wrong?


Michael Timpe
Melchiorstr. 24
50670 Köln
eMail: [EMAIL PROTECTED]



Re: How to create dynamic graphs on web pages?

2002-05-26 Thread Michael Timpe

Try KavaChart from VW. See www.ve.com. It provides nice features generating
charts through servlets, applets or in Swing Java Programs. No Royalties.
300$ per developer seat.

- Original Message -
From: "Alvin Wang" <[EMAIL PROTECTED]>
To: "SERVLET-INTEREST" <[EMAIL PROTECTED]>
Cc: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Monday, May 06, 2002 8:23 PM
Subject: How to create dynamic graphs on web pages?


> We need to display graphs on our web pages based on our data reports. We
> guess we need a set of API to create the GIF/JPEG files dynamically in
> servlets. I read
> http://www.javaworld.com/javaworld/jw-05-2000/jw-0505-servlets.html
already.
> But I feel it is not sophisticate enough. Does anyone know how to create
> complex dynamic graphs on web? for example, 3D graph, XML->graph, curve,
> pie. Any good vendor APIs?
>
>
> Thanks!
>
> Alvin
>
>
> --
> To unsubscribe, e-mail:

> For additional commands, e-mail:

>


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Caching of JSPs within Tomcat

2002-01-13 Thread Michael Timpe

Hi,

I have some trouble with the reload of JSPs.

Basic data is

- Win XP, Apache 1.3.xx, Tomcat 4.01, IE 6.0 (IE6 with the option to reload the page 
at each access)

Suppose You have an JSP page "prj_.jsp" that includes another JSP page by using a 
tag like this: <%@ include file="prj_0007.inc" %>

If I have changed the file prj_0007.inc and I press "Reload" in the browser. The 
changes will have no effect (are not loaded into the browser). I have to change
also the file "prj_.jsp" (by adding a blank line to the file to change the files 
modification date). 

How can I disable the "caching" of the JSPs within tomcat so that changes in included 
files have their effect?

Greetings and thank you for your help



--------
Michael Timpe
Melchiorstr. 24
50670 Köln
eMail: [EMAIL PROTECTED]





Reload of JSP Pages

2002-01-14 Thread Michael Timpe

Hi Tom-Catties,

I have some trouble with the reload of JSPs.

Basic data is

- Win XP, Apache 1.3.xx, Tomcat 4.01, IE 6.0 (IE6 with the option to reload the page 
at each access)

Suppose You have an JSP page "prj_.jsp" that includes another JSP page by using a 
tag like this: <%@ include file="prj_0007.inc" %>

If I have changed the file prj_0007.inc and I press "Reload" in the browser. The 
changes will have no effect (are not loaded into the browser). I have to change
also the file "prj_.jsp" (by adding a blank line to the file to change the files 
modification date). 

How can I disable the "caching" of the JSPs within tomcat so that changes in included 
files have their effect?

Greetings and thank you for your help



--------
Michael Timpe
Melchiorstr. 24
50670 Köln
eMail: [EMAIL PROTECTED]