Fwd: SSL response

2001-02-11 Thread Dave Oxley

I am using Flash to make a https request to a servlet. Flash seems to send 
the request and it gets to the servlet, but it hangs when reading/getting 
the response. It works fine when getting a text file containing the same 
info over https. Therefore two questions:

1. This is how I create the response:
resp.setContentType("text/plain");
resp.setHeader("Cache-Control", "no-cache");
out = resp.getWriter();
Is this correct? Am I missing something? Should the mime type be different? 
Do I need to set the response size? etc.
2. Is there a program to snoop on the http response so I can tell the 
difference between the reponse from the servet and from the text file?

Thanks.
Dave.
[EMAIL PROTECTED]
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


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




Re: mod_jk for Apache 1.3.17

2001-02-24 Thread Dave Oxley


http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.2.1/bin/win32/i386/mod_jk.dll

>From: Pilho Kim <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: mod_jk for Apache 1.3.17
>Date: Sat, 24 Feb 2001 21:39:09 +0900 (KST)
>
>Hi,
>
>I need mod_jk for Apache 1.3.17 & Tomcat 3.2.1
>on NT 4.0.
>
>Where can I get it?
>
>Thanks in advance,
>Kim
>
>
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, email: [EMAIL PROTECTED]
>

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


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




Re: Tomcat 3.2.2 beta 1 Release Native components

2001-02-26 Thread Dave Oxley

I've build mod_jk.dll for Windows. Where should I EMail it.

Just tested 3.2.2 with my servlet, and the first request seems to be 
substantially faster (Creating HttpSession??). There used to be about a 1 
second delayish. Nice one.

Couple of bugs:

1. jaxp.jar and parser.jar aren't distributed with the binary release.

2. The virtual hosting section of tomcat-apache-howto.html contains a 
section from httpd.conf where it should contain the  part of 
server.xml.

Dave.
[EMAIL PROTECTED]


>From: "Marc Saegesser" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: <[EMAIL PROTECTED]>
>Subject: Tomcat 3.2.2 beta 1 Release Native components
>Date: Mon, 26 Feb 2001 15:16:18 -0600
>
>The Tomcat 3.2.2 beta 1 release is ready to go with the exception of some 
>of
>the native components.  Volunteers to build the following items (plus any
>others) would appreciated.  You can send the binaries to me and I'll add
>them to the binary distribution site.  Thanks.
>
>Win32
>nsapi_redirect.dll
>ApacheModuleJServ.dll
>mod_jk.dll
>Linux
>mod_jk.so
>mod_jserv_tomcat.so
>netware
>jni_conn.nlm
>mod_jk.nlm
>nsapi_rd.nlm
>
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, email: [EMAIL PROTECTED]
>

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


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




Re: Tomcat 3.2.2 beta 1 Release Native components

2001-02-26 Thread Dave Oxley

Stupid question. Sorry!

>From: "Dave Oxley" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: Re: Tomcat 3.2.2 beta 1 Release Native components
>Date: Mon, 26 Feb 2001 22:46:03 -
>
>I've build mod_jk.dll for Windows. Where should I EMail it.
>
>Just tested 3.2.2 with my servlet, and the first request seems to be
>substantially faster (Creating HttpSession??). There used to be about a 1
>second delayish. Nice one.
>
>Couple of bugs:
>
>1. jaxp.jar and parser.jar aren't distributed with the binary release.
>
>2. The virtual hosting section of tomcat-apache-howto.html contains a
>section from httpd.conf where it should contain the  part of
>server.xml.
>
>Dave.
>[EMAIL PROTECTED]
>
>
>>From: "Marc Saegesser" <[EMAIL PROTECTED]>
>>Reply-To: [EMAIL PROTECTED]
>>To: <[EMAIL PROTECTED]>
>>Subject: Tomcat 3.2.2 beta 1 Release Native components
>>Date: Mon, 26 Feb 2001 15:16:18 -0600
>>
>>The Tomcat 3.2.2 beta 1 release is ready to go with the exception of some
>>of
>>the native components.  Volunteers to build the following items (plus any
>>others) would appreciated.  You can send the binaries to me and I'll add
>>them to the binary distribution site.  Thanks.
>>
>>Win32
>>nsapi_redirect.dll
>>ApacheModuleJServ.dll
>>mod_jk.dll
>>Linux
>>mod_jk.so
>>mod_jserv_tomcat.so
>>netware
>>jni_conn.nlm
>>mod_jk.nlm
>>nsapi_rd.nlm
>>
>>
>>
>>-
>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>For additional commands, email: [EMAIL PROTECTED]
>>
>
>_
>Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, email: [EMAIL PROTECTED]
>

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


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




Re: mod_webapp status?

2001-03-21 Thread Dave Oxley

Correct me if I'm wrong, but APR is meant as a library of API's that are 
separate from Apache2 and should therefore be able to be used with 
Apache1.3. What I would be concerned about is that there hasn't been a final 
(let alone beta) of APR/Apache2 and is therefore subject to change. If 
APR/Apache2 was to be made final before Tomcat4 becomes final then I don't 
see a problem, but

Dave ...under a bit less snow in England :)
[EMAIL PROTECTED]

> >
> > I'm rewriting it using APR... As we speak...
> >
> > Pier (under the snow in Dublin)
>
>APR is for Apache 2.0, correct?  What about Apache 1.3?
>
>Glenn
>

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.




Re: mod_webapp status?

2001-03-22 Thread Dave Oxley

Don't get me wrong. I think using APR is a great idea and I'm pretty sure 
it's in a more stable state than mod_jk ;), but if Tomcat4 goes final and 
then an API changes and mod_webapp no longer compiles (for instance). We 
will have to say that Tomcat4.0 is for use with APR Alpha version ?? and 
produce a Tomcat4.0.1 that works with APR final. It could just get messy and 
produce lots of problems onto the tomcat-user list. And if Tomcat4.1 comes 
out beore APR is final I think you see where I'm going with this!!

Dave.
[EMAIL PROTECTED]

>From: "Pier P. Fumagalli" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: <[EMAIL PROTECTED]>
>Subject: Re: mod_webapp status?
>Date: Thu, 22 Mar 2001 15:09:41 +
>
>Dave Oxley <[EMAIL PROTECTED]> wrote:
>
> > Correct me if I'm wrong, but APR is meant as a library of API's that are
> > separate from Apache2 and should therefore be able to be used with
> > Apache1.3. What I would be concerned about is that there hasn't been a 
>final
> > (let alone beta) of APR/Apache2 and is therefore subject to change. If
> > APR/Apache2 was to be made final before Tomcat4 becomes final then I 
>don't
> > see a problem, but
>
>Let's say, webapp needs to use 10% of APR, but that 10% represents 90% of
>its complexity (shmem, mutexes, I/O)... Even if it's not final when Tomcat 
>4
>goes final, that shouldn't prevent us from using it... It's a good library,
>and why doing ourselves what others are already doing (and are far more
>knowledgeable than whoever is on this list, I might add!)
>
>I trust the HTTPd and APR teams 100%
>
> > Dave ...under a bit less snow in England :)
>
>It was just snowing this morning.. Thank god it ended..
>
> Pier (under the snow in Dublin)
>
>--
>
>Pier Fumagalli  <http://www.betaversion.org/>  
><mailto:[EMAIL PROTECTED]>
>

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.




SessionUtils.java

2001-04-28 Thread Dave Oxley

The change to SessionUtil.java 1.5.2.2 to 1.5.2.3 (3.2.1->3.2.2b1) has 
caused the Microsoft Virtual Machine to fall over when running Tomcat. The 
M$ VM does not like internal classes defined within methods (I think this is 
the problem) and throws a NoClassDefFoundException.

I am running Windows2000 with IE5.5(a vm update came with 5.5) although it 
is probably the same on all M$ VMs.

This means that I cannot debug servlets in Visual J++ and neither will 
anyone else.

Dave
[EMAIL PROTECTED]
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.




RE: Tomcat 3.2.2 beta 4

2001-05-01 Thread Dave Oxley

I posted this before but got no response.

The change to SessionUtil.java 1.5.2.2 to 1.5.2.3 (3.2.1->3.2.2b1) has 
caused the Microsoft Virtual Machine to fall over when running Tomcat. The 
M$ VM does not like internal classes defined within methods (I think this is 
the problem) and throws a NoClassDefFoundException.

I am running Windows2000 with IE5.5(a vm update came with 5.5) although it 
is probably the same on all M$ VMs.

This means that I cannot debug servlets in Visual J++ which is a real 
problem for us. (Until we find an IDE as stable and fast as VJ++!)

Dave
[EMAIL PROTECTED]

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.




RE: Tomcat 3.2.2 beta 4

2001-05-01 Thread Dave Oxley

I wish I got this sort of help from IBM. I complained about the 
performance of our servlet under WebSphere 3.0.2 last April and they 
responded saying it was our application and we spent months trying to track 
it down(with IBM's help), yet in November(ish) they released a patch and our 
application suddenly improved in performance by 4 times. It is still slower 
than under Tomcat.

Dave.
[EMAIL PROTECTED]

>From: "Marc Saegesser" <[EMAIL PROTECTED]>
>
>Tomcat 3.2.x, because it implements the Servlet 1.1 specification must
>maintain compatibility with JDK1.1 so this is a real Tomcat bug and it will
>need to be fixed before releasing Tomcat 3.2.2.
>

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.




RE: Tomcat 3.2.2 beta 4

2001-05-01 Thread Dave Oxley

Glad I mentioned it now. I didn't think about the fact it might be a 1.1 
thing. We've had so many problems with the M$ VM that I just jumped to 
conclusions!! The sooner we dump it the better. :)

Dave
[EMAIL PROTECTED]

>From: "Marc Saegesser" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: <[EMAIL PROTECTED]>
>CC: <[EMAIL PROTECTED]>
>Subject: RE: Tomcat 3.2.2 beta 4
>Date: Tue, 1 May 2001 14:17:13 -0500
>
>Bloody hell.  I was just about to launch into a wonderful tirade about why
>we shouldn't have change Tomcat just to work around some buggy compiler 
>from
>Microsoft when I realized the real problem isn't what you think it is.
>
>The problem isn't the definition of the inner class, but the use of the
>PrivilegedAction interface.  This interface didn't appear until JDK1.2 and
>my guess is that your using JDK1.1.
>
>Tomcat 3.2.x, because it implements the Servlet 1.1 specification must
>maintain compatibility with JDK1.1 so this is a real Tomcat bug and it will
>need to be fixed before releasing Tomcat 3.2.2.
>
>Glenn, can you take a look at this?
>
> > -Original Message-
> > From: Dave Oxley [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, May 01, 2001 12:32 PM
> > To: [EMAIL PROTECTED]
> > Subject: RE: Tomcat 3.2.2 beta 4
> >
> >
> > I posted this before but got no response.
> >
> > The change to SessionUtil.java 1.5.2.2 to 1.5.2.3 (3.2.1->3.2.2b1) has
> > caused the Microsoft Virtual Machine to fall over when running
> > Tomcat. The
> > M$ VM does not like internal classes defined within methods (I
> > think this is
> > the problem) and throws a NoClassDefFoundException.
> >
> > I am running Windows2000 with IE5.5(a vm update came with 5.5)
> > although it
> > is probably the same on all M$ VMs.
> >
> > This means that I cannot debug servlets in Visual J++ which is a real
> > problem for us. (Until we find an IDE as stable and fast as VJ++!)
> >
> > Dave
> > [EMAIL PROTECTED]
> >
> > 
>_
> > Get Your Private, Free E-mail from MSN Hotmail at 
>http://www.hotmail.com.
>

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.




Tomcat 4 native compnents

2001-05-02 Thread Dave Oxley

I have been trying to get mod_webapp compiling under Win32. I have failed 
because of the following problems:
1. wa_general.h is missing!
2. apr_main.h is not part of the standard apr distribution available from 
http://apr.apache.org.

Because of these 2 problems I didn't get too far, but a few patches and a 
.dsp file are supplied. (The patches rename boolean to wa_boolean as boolean 
is already defined)

As Tomcat 4 is looking fairly stable and feature complete these days, the 
native components are probably the bits that most people are worried about. 
When TC4 is released it shouldn't have less features than TC3.3!

So a couple of suggestions/points:

1. Could Pier possibly submit a weekly status to the dev list on the status 
of mod_webapp.
2. There are many people on this list that would like to help with 
mod_webapp. Could Pier make sure the version in CVS compiles and is updated 
more often if possible.
3. The sooner mod_webapp is beta, the sooner people can write modules for 
other web server and begin testing this important part of Tomcat.

Another point:
What happended to all the service code in Tomcat4.0. I couldn't use TC4 on 
Win32 if it couldn't be run as a service.

Dave.
[EMAIL PROTECTED]

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


Index: wa.h
===
RCS file: /home/cvspublic/jakarta-tomcat-4.0/connectors/include/wa.h,v
retrieving revision 1.3
diff -r1.3 wa.h
77c77
< typedef int boolean;
---
>typedef int wa_boolean;



Index: wa_main.h
===
RCS file: /home/cvspublic/jakarta-tomcat-4.0/connectors/include/wa_main.h,v
retrieving revision 1.1
diff -r1.1 wa_main.h
164c164
< boolean WA_Match(const char *u, wa_application *a);
---
>wa_boolean WA_Match(const char *u, wa_application *a);



Index: wa_webserver.h
===
RCS file: 
/home/cvspublic/jakarta-tomcat-4.0/connectors/include/wa_webserver.h,v
retrieving revision 1.1
diff -r1.1 wa_webserver.h
101c101
< boolean (*status)(void *d, int status);
---
> wa_boolean (*status)(void *d, int status);
111c111
< boolean (*ctype)(void *d, char *type);
---
> wa_boolean (*ctype)(void *d, char *type);
122c122
< boolean (*header)(void *d, char *name, char *value);
---
> wa_boolean (*header)(void *d, char *name, char *value);
131c131
< boolean (*commit)(void *d);
---
> wa_boolean (*commit)(void *d);
151c151
< boolean (*flush)(void *d);
---
> wa_boolean (*flush)(void *d);
181c181
< boolean wa_status(wa_request *req, int status);
---
>wa_boolean wa_status(wa_request *req, int status);
190c190
< boolean wa_ctype(wa_request *req, char *type);
---
>wa_boolean wa_ctype(wa_request *req, char *type);
200c200
< boolean wa_header(wa_request *req, char *name, char *value);
---
>wa_boolean wa_header(wa_request *req, char *name, char *value);
208c208
< boolean wa_commit(wa_request *req);
---
>wa_boolean wa_commit(wa_request *req);
226c226
< boolean wa_flush(wa_request *req);
---
>wa_boolean wa_flush(wa_request *req);



# Microsoft Developer Studio Project File - Name="mod_webapp" - Package 
Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **

# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102

CFG=mod_webapp - Win32 Debug
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
!MESSAGE use the Export Makefile command and run
!MESSAGE
!MESSAGE NMAKE /f "mod_webapp.mak".
!MESSAGE
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "mod_webapp.mak" CFG="mod_webapp - Win32 Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "mod_webapp - Win32 Release" (based on "Win32 (x86) Dynamic-Link 
Library")
!MESSAGE "mod_webapp - Win32 Debug" (based on "Win32 (x86) Dynamic-Link 
Library")
!MESSAGE

# Begin Project
# PROP AllowPerConfigDependencies 0
# PROP Scc_ProjName ""
# PROP Scc_LocalPath ""
CPP=cl.exe
MTL=midl.exe
RSC=rc.exe

!IF  "$(CFG)" == "mod_webapp - Win32 Release"

# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "Release"
# PROP BASE Intermediate_Dir "Release"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "Release"
# PROP Intermediate_Dir "Release"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" 
/D "_MBCS" /D "_USRDLL" /D "MOD_WEBAPP_EXPORTS" /YX /FD /c
# ADD CPP /nologo /MT /W3 /GX /O2 /I "..\include" /I "$(APR_HOME)\include" 
/I "$(APACHE1_HOME)\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" 
/D "_USRDLL" /D "MOD_WEBAPP_EXPORTS" /YX /FD /c
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
# ADD MTL /nologo 

RE: Tomcat 3.2.2 beta 4

2001-05-08 Thread Dave Oxley

That has fixed that problem. I can now run under Wjview (the M$ VM).

I have just found another problem though. This is not a new problem with 
3.2.2. We have just started using the O'Reily HttpMessage code to send a 
Post message to a servlet from another servlet (in the same virtual 
machine). The Stream within the POST contains a Vector of Serializable 
objects. The POST works as expected, no problems, but when shutting down 
Tomcat we get the following stack trace and the process never finishes. This 
is using TC3.2.2b4 with Apache 1.3.17 (I will try 1.3.19).

java.lang.NullPointerException
at 
org.apache.tomcat.core.ContextManager.handleError(ContextManager.java:1160)
at 
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:800)
at 
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
at 
org.apache.tomcat.service.connector.Ajp13ConnectionHandler.processConnection(Ajp13ConnectionHandler.java:160)
at 
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at 
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
at java.lang.Thread.run(Thread.java:484)
2001-03-08 11:17:32 - Ctx(  ): 404 R( /spweb/servlet/StaffPlannerServlet) 
null
2001-03-08 11:17:32 - Ctx(  ): Exception in: R( 
/spweb/servlet/StaffPlannerServlet) - java.lang.NullPointerException
at 
org.apache.tomcat.core.ContextManager.handleStatus(ContextManager.java:1058)
at 
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:775)
at 
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
at 
org.apache.tomcat.service.connector.Ajp13ConnectionHandler.processConnection(Ajp13ConnectionHandler.java:160)
at 
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at 
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
at java.lang.Thread.run(Thread.java:484)

I will write a little sample program if you think it is worthwhile and post 
it to the group.

Dave.
[EMAIL PROTECTED]

>From: "Marc Saegesser" <[EMAIL PROTECTED]>
>To: "Dave Oxley" <[EMAIL PROTECTED]>
>Subject: RE: Tomcat 3.2.2 beta 4
>Date: Mon, 7 May 2001 08:37:20 -0500
>
>Dave,
>
>Thanks, let me know how it works.  This is the final show stopper for the
>Tomcat 3.2.2 release so once I know its been fixed I can start the final
>release process.
>
>
> > -Original Message-
> > From: Dave Oxley [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, May 04, 2001 12:54 PM
> > To: [EMAIL PROTECTED]
> > Subject: RE: Tomcat 3.2.2 beta 4
> >
> >
> > Will test it on Saturday.
> >
> > Dave.
> >
> >
> > >From: "Marc Saegesser" <[EMAIL PROTECTED]>
> > >To: <[EMAIL PROTECTED]>
> > >Subject: RE: Tomcat 3.2.2 beta 4
> > >Date: Thu, 3 May 2001 16:39:35 -0500
> > >
> > >Dave,
> > >
> > >A fix for this has been committed.  If you can build from source to 
>test
> > >this that's great.  I've also attached a JAR file with the latest 
>Tomcat
> > >build.  Just drop the webserver.jar file into your $TOMCAT_HOME/lib
> > >directory and start Tomcat.
> > >
> > >Thanks.
> > >
> > > > -Original Message-
> > > > From: Dave Oxley [mailto:[EMAIL PROTECTED]]
> > > > Sent: Tuesday, May 01, 2001 3:14 PM
> > > > To: [EMAIL PROTECTED]
> > > > Subject: RE: Tomcat 3.2.2 beta 4
> > > >
> > > >
> > > > Glad I mentioned it now. I didn't think about the fact it
> > might be a 1.1
> > > > thing. We've had so many problems with the M$ VM that I just jumped 
>to
> > > > conclusions!! The sooner we dump it the better. :)
> > > >
> > > > Dave
> > > > [EMAIL PROTECTED]
> > > >
> > > > >From: "Marc Saegesser" <[EMAIL PROTECTED]>
> > > > >Reply-To: [EMAIL PROTECTED]
> > > > >To: <[EMAIL PROTECTED]>
> > > > >CC: <[EMAIL PROTECTED]>
> > > > >Subject: RE: Tomcat 3.2.2 beta 4
> > > > >Date: Tue, 1 May 2001 14:17:13 -0500
> > > > >
> > > > >Bloody hell.  I was just about to launch into a wonderful tirade
> > > > about why
> > > > >we shouldn't have change Tomcat just to work around some
> > buggy compiler
> > > > >from
> > > > >Microsoft when I realized the real problem isn't what you
> > think it is.
> > > > >
> > > 

RE: Tomcat 3.2.2 beta 4

2001-05-08 Thread Dave Oxley

Some further info on this problem.

It works fine with TC3.2.1 with AJP12.
TC3.2.1 goes into an infinite loop using 100% processor with AJP13.
TC3.2.2b4 gives the stack trace with AJP13 but does not infinite loop like 
TC3.2.1.

I have tried with Apache 1.3.19, but it made no difference.
I have tried this with Java 1.3.0_01 and 1.3.0_02 with the same results.
I am running Windows 2000.

I will write a test servlet a bit later on.

Dave.
[EMAIL PROTECTED]


>From: "Dave Oxley" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED], [EMAIL PROTECTED]
>Subject: RE: Tomcat 3.2.2 beta 4
>Date: Tue, 08 May 2001 12:07:44 +0100
>
>I have just found another problem though. This is not a new problem with
>3.2.2. We have just started using the O'Reily HttpMessage code to send a
>Post message to a servlet from another servlet (in the same virtual
>machine). The Stream within the POST contains a Vector of Serializable
>objects. The POST works as expected, no problems, but when shutting down
>Tomcat we get the following stack trace and the process never finishes. 
>This
>is using TC3.2.2b4 with Apache 1.3.17 (I will try 1.3.19).
>
>java.lang.NullPointerException
>at
>org.apache.tomcat.core.ContextManager.handleError(ContextManager.java:1160)
>at
>org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:800)
>at
>org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
>at
>org.apache.tomcat.service.connector.Ajp13ConnectionHandler.processConnection(Ajp13ConnectionHandler.java:160)
>at
>org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
>at
>org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
>at java.lang.Thread.run(Thread.java:484)
>2001-03-08 11:17:32 - Ctx(  ): 404 R( /spweb/servlet/StaffPlannerServlet)
>null
>2001-03-08 11:17:32 - Ctx(  ): Exception in: R(
>/spweb/servlet/StaffPlannerServlet) - java.lang.NullPointerException
>at
>org.apache.tomcat.core.ContextManager.handleStatus(ContextManager.java:1058)
>at
>org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:775)
>at
>org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
>at
>org.apache.tomcat.service.connector.Ajp13ConnectionHandler.processConnection(Ajp13ConnectionHandler.java:160)
>at
>org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
>at
>org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
>at java.lang.Thread.run(Thread.java:484)
>
>I will write a little sample program if you think it is worthwhile and post
>it to the group.
>
>Dave.
>[EMAIL PROTECTED]
>

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.




RE: Tomcat 3.2.2 beta 4

2001-05-08 Thread Dave Oxley

Just tried it and yes:
TC3.2.2b4 with AJP12 does work.

Dave.
[EMAIL PROTECTED]

>From: "Marc Saegesser" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: <[EMAIL PROTECTED]>
>Subject: RE: Tomcat 3.2.2 beta 4
>Date: Tue, 8 May 2001 08:44:03 -0500
>
>Dave,
>
>Does it work OK with 3.2.2b4 and AJP12?
>
> > -Original Message-
> > From: Dave Oxley [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, May 08, 2001 7:15 AM
> > To: [EMAIL PROTECTED]
> > Subject: RE: Tomcat 3.2.2 beta 4
> >
> >
> > Some further info on this problem.
> >
> > It works fine with TC3.2.1 with AJP12.
> > TC3.2.1 goes into an infinite loop using 100% processor with AJP13.
> > TC3.2.2b4 gives the stack trace with AJP13 but does not infinite
> > loop like
> > TC3.2.1.
> >
> > I have tried with Apache 1.3.19, but it made no difference.
> > I have tried this with Java 1.3.0_01 and 1.3.0_02 with the same results.
> > I am running Windows 2000.
> >
> > I will write a test servlet a bit later on.
> >
> > Dave.
> > [EMAIL PROTECTED]
> >
> >
> > >From: "Dave Oxley" <[EMAIL PROTECTED]>
> > >Reply-To: [EMAIL PROTECTED]
> > >To: [EMAIL PROTECTED], [EMAIL PROTECTED]
> > >Subject: RE: Tomcat 3.2.2 beta 4
> > >Date: Tue, 08 May 2001 12:07:44 +0100
> > >
> > >I have just found another problem though. This is not a new problem 
>with
> > >3.2.2. We have just started using the O'Reily HttpMessage code to send 
>a
> > >Post message to a servlet from another servlet (in the same virtual
> > >machine). The Stream within the POST contains a Vector of Serializable
> > >objects. The POST works as expected, no problems, but when shutting 
>down
> > >Tomcat we get the following stack trace and the process never finishes.
> > >This
> > >is using TC3.2.2b4 with Apache 1.3.17 (I will try 1.3.19).
> > >
> > >java.lang.NullPointerException
> > >at
> > >org.apache.tomcat.core.ContextManager.handleError(ContextManager.
>java:1160)
> > >at
> > >org.apache.tomcat.core.ContextManager.internalService(ContextMana
>ger.java:800)
> > >at
> > >org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
> > >at
> > >org.apache.tomcat.service.connector.Ajp13ConnectionHandler.proces
>sConnection(Ajp13ConnectionHandler.java:160)
> > >at
> > 
> >org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
> > >at
> > >org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.
>java:501)
> > >at java.lang.Thread.run(Thread.java:484)
> > >2001-03-08 11:17:32 - Ctx(  ): 404 R( 
>/spweb/servlet/StaffPlannerServlet)
> > >null
> > >2001-03-08 11:17:32 - Ctx(  ): Exception in: R(
> > >/spweb/servlet/StaffPlannerServlet) - java.lang.NullPointerException
> > >at
> > >org.apache.tomcat.core.ContextManager.handleStatus(ContextManager
>.java:1058)
> > >at
> > >org.apache.tomcat.core.ContextManager.internalService(ContextMana
>ger.java:775)
> > >at
> > >org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
> > >at
> > >org.apache.tomcat.service.connector.Ajp13ConnectionHandler.proces
>sConnection(Ajp13ConnectionHandler.java:160)
> > >at
> > 
> >org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
> > >at
> > >org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.
>java:501)
> > >at java.lang.Thread.run(Thread.java:484)
> > >
> > >I will write a little sample program if you think it is
> > worthwhile and post
> > >it to the group.
> > >
> > >Dave.
> > >[EMAIL PROTECTED]
> > >
> >
> > 
>_
> > Get Your Private, Free E-mail from MSN Hotmail at 
>http://www.hotmail.com.
>

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.




RE: Tomcat 3.2.2 beta 4

2001-05-08 Thread Dave Oxley

Spent all day investigating this, and I can't track down the problem. I've 
written an example class that does servlet to serlvet POST's but I can't 
make it error with the same problem. I think there must be something more 
complicated going on.

I don't think this should hold up the release of TC3.2.2(if it was) as it is 
not a new bug introduced since TC3.2.1. I will continue to investigate.

Dave
[EMAIL PROTECTED]

>From: "Dave Oxley" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: RE: Tomcat 3.2.2 beta 4
>Date: Tue, 08 May 2001 15:27:04 +0100
>
>Just tried it and yes:
>TC3.2.2b4 with AJP12 does work.
>
>Dave.
>[EMAIL PROTECTED]
>
>>From: "Marc Saegesser" <[EMAIL PROTECTED]>
>>Reply-To: [EMAIL PROTECTED]
>>To: <[EMAIL PROTECTED]>
>>Subject: RE: Tomcat 3.2.2 beta 4
>>Date: Tue, 8 May 2001 08:44:03 -0500
>>
>>Dave,
>>
>>Does it work OK with 3.2.2b4 and AJP12?
>>
>> > -Original Message-
>> > From: Dave Oxley [mailto:[EMAIL PROTECTED]]
>> > Sent: Tuesday, May 08, 2001 7:15 AM
>> > To: [EMAIL PROTECTED]
>> > Subject: RE: Tomcat 3.2.2 beta 4
>> >
>> >
>> > Some further info on this problem.
>> >
>> > It works fine with TC3.2.1 with AJP12.
>> > TC3.2.1 goes into an infinite loop using 100% processor with AJP13.
>> > TC3.2.2b4 gives the stack trace with AJP13 but does not infinite
>> > loop like
>> > TC3.2.1.
>> >
>> > I have tried with Apache 1.3.19, but it made no difference.
>> > I have tried this with Java 1.3.0_01 and 1.3.0_02 with the same 
>>results.
>> > I am running Windows 2000.
>> >
>> > I will write a test servlet a bit later on.
>> >
>> > Dave.
>> > [EMAIL PROTECTED]
>> >
>> >
>> > >From: "Dave Oxley" <[EMAIL PROTECTED]>
>> > >Reply-To: [EMAIL PROTECTED]
>> > >To: [EMAIL PROTECTED], [EMAIL PROTECTED]
>> > >Subject: RE: Tomcat 3.2.2 beta 4
>> > >Date: Tue, 08 May 2001 12:07:44 +0100
>> > >
>> > >I have just found another problem though. This is not a new problem
>>with
>> > >3.2.2. We have just started using the O'Reily HttpMessage code to send
>>a
>> > >Post message to a servlet from another servlet (in the same virtual
>> > >machine). The Stream within the POST contains a Vector of Serializable
>> > >objects. The POST works as expected, no problems, but when shutting
>>down
>> > >Tomcat we get the following stack trace and the process never 
>>finishes.
>> > >This
>> > >is using TC3.2.2b4 with Apache 1.3.17 (I will try 1.3.19).
>> > >
>> > >java.lang.NullPointerException
>> > >at
>> > >org.apache.tomcat.core.ContextManager.handleError(ContextManager.
>>java:1160)
>> > >at
>> > >org.apache.tomcat.core.ContextManager.internalService(ContextMana
>>ger.java:800)
>> > >at
>> > >org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
>> > >at
>> > >org.apache.tomcat.service.connector.Ajp13ConnectionHandler.proces
>>sConnection(Ajp13ConnectionHandler.java:160)
>> > >at
>> >
>> >org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
>> > >at
>> > >org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.
>>java:501)
>> > >at java.lang.Thread.run(Thread.java:484)
>> > >2001-03-08 11:17:32 - Ctx(  ): 404 R(
>>/spweb/servlet/StaffPlannerServlet)
>> > >null
>> > >2001-03-08 11:17:32 - Ctx(  ): Exception in: R(
>> > >/spweb/servlet/StaffPlannerServlet) - java.lang.NullPointerException
>> > >at
>> > >org.apache.tomcat.core.ContextManager.handleStatus(ContextManager
>>.java:1058)
>> > >at
>> > >org.apache.tomcat.core.ContextManager.internalService(ContextMana
>>ger.java:775)
>> > >at
>> > >org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
>> > >at
>> > >org.apache.tomcat.service.connector.Ajp13ConnectionHandler.proces
>>sConnection(Ajp13ConnectionHandler.java:160)
>> > >at
>> >
>> >org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
>> > >at
>> > >org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.
>>java:501)
>> > >at java.lang.Thread.run(Thread.java:484)
>> > >
>> > >I will write a little sample program if you think it is
>> > worthwhile and post
>> > >it to the group.
>> > >
>> > >Dave.
>> > >[EMAIL PROTECTED]
>> > >
>> >
>> >
>>_
>> > Get Your Private, Free E-mail from MSN Hotmail at
>>http://www.hotmail.com.
>>
>
>_
>Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.




RE: Tomcat 3.2.2 beta 4

2001-05-08 Thread Dave Oxley

I will try with that mod_jk and will send the test servlet as soon as I can 
write a simple one that breaks. :)

Dave
[EMAIL PROTECTED]

>From: GOMEZ Henri <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: RE: Tomcat 3.2.2 beta 4
>Date: Wed, 9 May 2001 00:21:30 +0200
>
>Could you try with the mod_jk from TC 3.3 cvs ?
>
>Could you also send a small servlet for test purpose ?
>
>-
>Henri Gomez ___[_]
>EMAIL : [EMAIL PROTECTED](. .)
>PGP KEY : 697ECEDD...oOOo..(_)..oOOo...
>PGP Fingerprint : 9DF8 1EA8 ED53 2F39 DC9B 904A 364F 80E6

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.




mod_webapp and Win32

2001-05-11 Thread Dave Oxley

Please find attached the following:

1. Patches to enable mod_webapp to compile and work(ish) under Windows. 
(mod_webapp.c.diff, pr_warp.c.diff, wa.h.diff)
2. A Visual C++ project file to be put in the connectors\apache-1.3 
directory. (mod_webapp.dsp)
3. A howto compile type document. (win32.txt)
4. The pre-compiled binaries. (mod_webapp.dll, libapr.dll)

The patches are required so that mod_webapp would compile and load into 
Apache. Once up and running it does talk to the Java but will not respond to 
requests. I will hopefully track down the problem soon.
For the moment if someone could review these patches etc. and check them in 
I would be most grateful.

Dave.
[EMAIL PROTECTED]
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

 win32.zip


Re: cvs commit: jakarta-tomcat-4.0/connectors/lib pr_warp.c

2001-05-12 Thread Dave Oxley

Thanks Jon,

The binaries weren't meant for cvs anyway. They're just for anyone who can't 
be bothered to build them.

Could you/somebody move the mod_webapp.dsp to the apache-1.3 directory. It 
doesn't work from where it is.

Thanks.
Dave.
[EMAIL PROTECTED]


>From: [EMAIL PROTECTED]
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: cvs commit: jakarta-tomcat-4.0/connectors/lib pr_warp.c
>Date: 12 May 2001 02:31:49 -
>
>jon 01/05/11 19:31:49
>
>   Modified:connectors/apache-1.3 mod_webapp.c
>connectors/include wa.h
>connectors/lib pr_warp.c
>   Added:   connectors WIN32.txt mod_webapp.dsp
>   Log:
>   added patches and files for win32 support thanks to:
>
>   Dave Oxley <[EMAIL PROTECTED]>
>
>   Note: I didn't add the binary files in what he sent to CVS...
>
>   Revision  ChangesPath
>   1.1  jakarta-tomcat-4.0/connectors/WIN32.txt
>

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.




3.2.2. When's it shipping?

2001-05-17 Thread Dave Oxley

What is the current state of 3.2.2 development? Is it going to ship any time 
soon?

Dave.
[EMAIL PROTECTED]
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.




RE: Slow session creating Tomcat 3.2.1

2001-05-25 Thread Dave Oxley

I think you'll find that this has been fixed in 3.2.2 which is due to be 
released very shortly (hopefully!!).

Dave
[EMAIL PROTECTED]

>From: "Martin van den Bemt" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: <[EMAIL PROTECTED]>
>Subject: RE: Slow session creating Tomcat 3.2.1
>Date: Fri, 25 May 2001 03:51:33 +0200
>
>As far as I know it is because tomcat needs to init classes on first use.
>
>Mvgr,
>Martin van den Bemt
>
> > -Original Message-
> > From: Strubinski,Waldemar W [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, May 24, 2001 10:46 PM
> > To: '[EMAIL PROTECTED]'
> > Subject: Slow session creating Tomcat 3.2.1
> >
> >
> > > I've noticed that Tomcat  3.2.1  takes a long time to create
> > > a session for the first time.
> > >
> > > I think it only takes  a long time the very first time it's asked to
> > > create
> > > a session (when the first person logs in after restarting Tomcat).
> > >
> > Do you have any suggestions how to fix it or where I
> > > can find any documentation on  that?
> > >
> >  Thanks,
> > Waldemar
> >
> >
> >

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.




Re: connector status in tomcat 4

2001-05-28 Thread Dave Oxley

I thought the idea of warp/webapp was that it was to support servlet api 2.3 
and ajp/jk couldn't eaily be modified to support the new specs.

Dave
[EMAIL PROTECTED]


>From: kevin seguin <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: Re: connector status in tomcat  4
>Date: Mon, 28 May 2001 09:52:43 -0500
>
> >
> > Ok, so which one would you say should has highest priority?
> >
>
>that probably depends on who you ask ;-)
>
> > Having a quick look at the CVS repository I see 
>jakarta-tomcat-connectors,
> > which contains the jk-park, and in jakarta-tomcat I see the warp/webapp. 
>Is
> > this right? Won't ajp13/jk be included in tc4? Is it going to be 
>replaced by
> > warp/webapp?
> >
>
>jakarta-tomcat-connectors (jtc) is a new module where connectors like
>ajp, warp/webapp, etc. should live.  the idea is that the core parts of
>connectors should be container-agnostic.  only the request/response
>adapters should know about containers.
>
>ajp/jk will not be "included" in tc4, but it will support tc4 -- there
>will be (is) an ajp13 connector for tc 4 (it's is a work in progress).
>going forward, ajp connectors for tc 3, tc 4, and maybe other containers
>will live in jtc.
>
>warp/webapp will not replace ajp/jk, but it will give you another
>choice.  you'll be free to make the decision yourself as to what
>connector you want to use.
>
> > // Erik
> >
> > > -Original Message-
> > > From: kevin seguin [mailto:[EMAIL PROTECTED]]
> > > Sent: Monday, May 28, 2001 3:05 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: Re: connector status in tomcat 4
> > >
> > >
> > > GOMEZ Henri wrote:
> > > >
> > > > >My question is what the status is on the apache connector in
> > > > >tomcat 4. I've
> > > > >been testing Jakarta 4 in standalone mode and is very pleased
> > > > >with it, but
> > > > >we can't run it like that once we release the system for all
> > > > >our students..
> > > > >;)
> > > >
> > > > There is actually 2 connectors for Apache Tomcat 4.0 :
> > > >
> > > > - warp/webapp : Developped specifically for TC 4.0 have
> > > >   autoconfig stuff but lack load-balancing or IIS/NES support
> > > >
> > > > - ajp13/jk : Available since TC 3.2, works with TC 3.3 and
> > > >   now with 4.0 (thanks to Kevin). Miss the autoconfig stuff
> > > >   (will came in ajp14) but have load-balancing and IIS/NES
> > > >   support.
> > > >
> > >
> > > er...  the load-balancing doesn't work yet for tc 4 -- the java side 
>of
> > > it hasn't been done yet.  it shouldn't be too hard to do though :)  i
> > > think it's just a matter of figuring out what to do with jvmRoute on 
>the
> > > java side (set a cookie??).
> > >
> > > > Your contribution must match your need !)

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.




RE: connector status in tomcat 4

2001-05-28 Thread Dave Oxley

In that case, what is the point of warp. Is it going to be faster, more 
scalable or something? If not why was it created?

Dave
[EMAIL PROTECTED]


>From: GOMEZ Henri <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: RE: connector status in tomcat 4
>Date: Mon, 28 May 2001 17:43:41 +0200
>
> >I thought the idea of warp/webapp was that it was to support
> >servlet api 2.3
> >and ajp/jk couldn't eaily be modified to support the new specs.
>
>What's the supposed features in 2.3 that ajp/jk couldn't support ?
>At least there will be in ajp14/jk the autoconfig (ie list of
>URL/URI handled ) =>
>
>/examples/servlet/*
>/examples/*.jsp
>/examples/*.xml
>
> >
> >Dave
> >[EMAIL PROTECTED]
> >
> >
> >>From: kevin seguin <[EMAIL PROTECTED]>
> >>Reply-To: [EMAIL PROTECTED]
> >>To: [EMAIL PROTECTED]
> >>Subject: Re: connector status in tomcat  4
> >>Date: Mon, 28 May 2001 09:52:43 -0500
> >>
> >> >
> >> > Ok, so which one would you say should has highest priority?
> >> >
> >>
> >>that probably depends on who you ask ;-)
> >>
> >> > Having a quick look at the CVS repository I see
> >>jakarta-tomcat-connectors,
> >> > which contains the jk-park, and in jakarta-tomcat I see
> >the warp/webapp.
> >>Is
> >> > this right? Won't ajp13/jk be included in tc4? Is it going to be
> >>replaced by
> >> > warp/webapp?
> >> >
> >>
> >>jakarta-tomcat-connectors (jtc) is a new module where connectors like
> >>ajp, warp/webapp, etc. should live.  the idea is that the
> >core parts of
> >>connectors should be container-agnostic.  only the request/response
> >>adapters should know about containers.
> >>
> >>ajp/jk will not be "included" in tc4, but it will support tc4 -- there
> >>will be (is) an ajp13 connector for tc 4 (it's is a work in progress).
> >>going forward, ajp connectors for tc 3, tc 4, and maybe other
> >containers
> >>will live in jtc.
> >>
> >>warp/webapp will not replace ajp/jk, but it will give you another
> >>choice.  you'll be free to make the decision yourself as to what
> >>connector you want to use.
> >>
> >> > // Erik
> >> >
> >> > > -Original Message-
> >> > > From: kevin seguin [mailto:[EMAIL PROTECTED]]
> >> > > Sent: Monday, May 28, 2001 3:05 PM
> >> > > To: [EMAIL PROTECTED]
> >> > > Subject: Re: connector status in tomcat 4
> >> > >
> >> > >
> >> > > GOMEZ Henri wrote:
> >> > > >
> >> > > > >My question is what the status is on the apache connector in
> >> > > > >tomcat 4. I've
> >> > > > >been testing Jakarta 4 in standalone mode and is very pleased
> >> > > > >with it, but
> >> > > > >we can't run it like that once we release the system for all
> >> > > > >our students..
> >> > > > >;)
> >> > > >
> >> > > > There is actually 2 connectors for Apache Tomcat 4.0 :
> >> > > >
> >> > > > - warp/webapp : Developped specifically for TC 4.0 have
> >> > > >   autoconfig stuff but lack load-balancing or IIS/NES support
> >> > > >
> >> > > > - ajp13/jk : Available since TC 3.2, works with TC 3.3 and
> >> > > >   now with 4.0 (thanks to Kevin). Miss the autoconfig stuff
> >> > > >   (will came in ajp14) but have load-balancing and IIS/NES
> >> > > >   support.
> >> > > >
> >> > >
> >> > > er...  the load-balancing doesn't work yet for tc 4 --
> >the java side
> >>of
> >> > > it hasn't been done yet.  it shouldn't be too hard to do
> >though :)  i
> >> > > think it's just a matter of figuring out what to do with
> >jvmRoute on
> >>the
> >> > > java side (set a cookie??).
> >> > >
> >> > > > Your contribution must match your need !)
> >
> >___
> >__
> >Get Your Private, Free E-mail from MSN Hotmail at
>http://www.hotmail.com.

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.




Re: [ANNOUNCEMENT] Tomcat 3.2.2 released

2001-05-29 Thread Dave Oxley

Nice one Marc.

Dave.
[EMAIL PROTECTED]

>From: "Marc Saegesser" <[EMAIL PROTECTED]>
>Reply-To: 
><[EMAIL PROTECTED]>,<[EMAIL PROTECTED]>,<[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>CC: <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>, 
><[EMAIL PROTECTED]>
>Subject: [ANNOUNCEMENT] Tomcat 3.2.2 released
>Date: Mon, 28 May 2001 22:58:11 -0500
>
>I am pleased to announce that the Tomcat 3.2.2 release is now
>available for download at
>
>http://jakarta.apache.org/builds/tomcat/release/v3.2.2
>
>Tomcat 3.2.2 is a maintenance release that fixes several bugs from version
>3.2.1 and corrects all known specification compliance issues.  The release
>notes file in src/doc/readme covers the details of the Tomcat 3.2.2 
>release.
>
>Tomcat 3.2.2 is now the latest production quality Tomcat release.  Users of
>version 3.2.1 and earlier release are encouraged to update to this release.
>
>Marc A. Saegesser
>

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.




mod_webapp under Linux

2001-05-29 Thread Dave Oxley

I'm running RH7.1 with kernel 2.4.5 and I have statically compiled and 
installed apr dated 28/5/2001. mod_webapp compiles but apache doesn't start 
with the following output:

Syntax error on line 1 of /usr/local/tomcat4-CVS/conf/mod_webapp.conf:
Cannot load /usr/local/tomcat4-CVS/bin/connector/mod_webapp.so into server: 
/usr/local/tomcat4-CVS/bin/connector/mod_webapp.so: undefined symbol: 
pthread_sigmask
/usr/local/apache/bin/apachectl start: httpd could not be started

Anyone got an idea about the undefined symbol?

Dave.
[EMAIL PROTECTED]
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.




Re: mod_webapp under Linux

2001-05-30 Thread Dave Oxley

Pier,

Is there anywhere I can download an archive of apr that works! On the other 
hand if you fix it could you Email me or the list.

Thanks.
Dave.
[EMAIL PROTECTED]


>From: "Pier P. Fumagalli" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: <[EMAIL PROTECTED]>
>Subject: Re: mod_webapp under Linux
>Date: Wed, 30 May 2001 02:50:49 +0100
>
>kevin seguin at [EMAIL PROTECTED] wrote:
>
> > it looks like the problem is you're using apache 1.3 (not multi-thread
> > on non-win32 systems) with a multi-threaded build of apr
> > (pthread_sigmask is an export from libpthread.so).  i'm just guessing,
> > but i imagine you can build apr in single-thread mode...
>
>Yes, it's a bug in the current APR release with Linux... (Digging into it)
>
> Pier
>

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.




Re: [ANNOUNCEMENT] Tomcat 3.2 Beta 8

2000-11-21 Thread Dave Oxley

What are the bugs with ajp13. I could do with this being stable. I will take 
a look at them but no guarantees 'cos I don't know much about writing Apache 
modules.

Dave.
[EMAIL PROTECTED]


>From: "Craig R. McClanahan" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>CC: [EMAIL PROTECTED], [EMAIL PROTECTED],
>[EMAIL PROTECTED]
>Subject: [ANNOUNCEMENT] Tomcat 3.2 Beta 8
>Date: Mon, 20 Nov 2000 19:51:39 -0800
>
>Thanks to everyone for the bug reports (and patches)!  You can now download
>"beta 8" of the Tomcat 3.2 servlet container from:
>
> http://jakarta.apache.org/builds/tomcat/release/v3.2-beta-8
>
>Relative to "beta 7", a number of critical bugs have been fixed, and 
>several
>configuration options available under Tomcat 3.1 have been restored 
>(although
>they are done in "conf/server.xml" rather than "conf/web.xml").
>
>Please download this release and check it out.  If we've squashed all the
>critical bugs, we can proceed to a final release!  Non-critical bugs will 
>be
>noted in the release notes and can be fixed in a later maintenance cycle.
>
>NOTE:  No changes were made in any of the native code modules since version
>"beta 7".  There are a number of outstanding bug reports against MOD_JK and
>AJP13 that will remain open in the final release unless someone volunteers 
>to
>find and fix them.
>
>Craig McClanahan
>
>

_
Get more from the Web.  FREE MSN Explorer download : http://explorer.msn.com




mod_jk.so for linux (3.2.1)

2000-12-24 Thread Dave Oxley

Hi,

You don't seem to be posting built versions of mod_jk.so for linux anymore. 
I could do with this. Could somebody EMail it to me or tell me where I could 
get it.

I'm not currently subscribed to the list so please send to 
[EMAIL PROTECTED]

Thanks.
Dave

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.




Re: Catalina + Apache

2001-01-21 Thread Dave Oxley

Where can I find the design goals/spec of what mod_webapp is suppossed to 
achieve and by when. Is load balancing a goal for 4.0/4.1 or > 4.1.
If load balancing is going to be put into mod_webapp what about 
adding/removing tomcat instances to the pool without having to restart 
apache?

Dave.
[EMAIL PROTECTED]


>From: James Duncan Davidson <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: <[EMAIL PROTECTED]>
>Subject: Re: Catalina + Apache
>Date: Sat, 20 Jan 2001 13:13:45 -0800
>
>On 1/19/01 2:03 PM, "Jon Stevens" <[EMAIL PROTECTED]> wrote:
>
> > on 1/19/01 12:21 PM, "Craig R. McClanahan" 
><[EMAIL PROTECTED]>
> > wrote:
> >
> >> I know Pier has a bunch of bugfixes currently in his local CVS tree, so
> >> hopefully we will be much closer to the "reality" end of the scale 
>soon.
> >>
> > Why isn't development happening in public? Having local CVS tree does 
>not
> > encourage community development.
>
>Before anybody gets freaked out :) there's not an "internal to Sun" CVS
>tree. I'm sure that Craig meant that they were in Pier's checked out
>sandbox. As to why Pier hasn't been checking in code more often, that's a
>different story.
>
>--
>James Duncan Davidson
>[EMAIL PROTECTED]
>   !try; 
>do()
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, email: [EMAIL PROTECTED]
>

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


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




mod_webapp and Win32

2001-01-26 Thread Dave Oxley

I've managed to get mod_webapp compiling under Windows but when I plug it 
into Apache I get the following error:

Syntax error on line 1 of /Tomcat-4.0/conf/mod_webapp.conf:
Can't locate API module structure `webapp_module' in file c:/program 
files/apache group/apache/modules/mod_webapp.dll: cified procedure could not 
be found:

Note the errors or messages above, and press the  key to exit.  27...

Any ideas?

Dave
[EMAIL PROTECTED]
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


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




Re: [j-t-c] OS poll => [j-t-c] webserver poll

2001-06-13 Thread Dave Oxley

I missed the OS poll, so here goes for both.

I/We currently use:
Apache1.3,Tomcat3.2.2 - WinNT/2000, Solaris6/7
Websphere3.02 - WinNT, AIX
IIS4/5,Tomcat3.2.2 - WinNT/2000

And are about to use:
Apache1.3,Tomcat3.2.2 - AIX/RH7.1

Dave
[EMAIL PROTECTED]

>From: GOMEZ Henri <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: [j-t-c] OS poll => [j-t-c] webserver poll
>Date: Wed, 13 Jun 2001 10:57:16 +0200
>
>Here is the result of the j-t-c OS poll :
>
>- OPERATING SYSTEM -   - USERS -   - REF -
>
>
>- AS/400 -
>
>AS/400 V4R51   => 1
>
>- BS2000 -
>
>BS2000 / 390   1   => 1
>
>- FreeBSD -
>
>FreeBSD 4.0 STABLE / x86   1
>FreeBSD 4.2 / x86  2   => 3
>
>- HP -
>
>HP-UX 10.0 1   => 1
>
>- Linux -
>
>Gnu Linux  1
>Linux 2.2.15 / SPARC   1
>Redhat 6.2 / x86   3
>Redhat 7.0 / x86   3
>Redhat 7.1 / x86   6
>Slackware 7.1 / x861
>Suse 7.0 / x86 1
>Suse 7.1 / x86 1   => 17
>
>- Mac -
>
>MacOS/X 10.0.3 1
>MacOS/9 9.11   => 2
>
>- Reliant -
>
>ReliantUnix 5.45/5.43 / Mips   1   => 1
>
>- Sun/Solaris -
>
>Solaris 2.61
>Solaris 2.71
>Solaris 2.82
>Solaris 7 / x861
>Solaris 7 / SPARC  2
>Solaris 8 / x862
>Solaris 8 / SPARC  2
>SunOS 5.8 / Sparc641   => 12
>
>- Windows -
>
>Window NT  3
>Window 2000 Pro5
>Window 2000 Pro+Cygwin / x86   1
>Windows 98 SE  1
>Windows Millenium  1   => 11
>
>
>Conclusion:
>
>Linux is clearly the most referenced, with Solaris / Windows
>immediate followers.
>
>FreeBSD (no OpenBSD ?) is the next one (apache.org prefs OS).
>MacOS appears (thks Pier), HPUX, ReliantUnix.
>
>Some exotics systems (AS/400 - BS2000).
>
>On the AS/400, you could allready use an Apache HTTP Server.
>IBM announced that this port will soon accept externals modules.
>May be even an APR port. I'll track this OS :)
>
>Surprizingly, no vote for AIX.
>
>Now which webservers are you using :
>
>- Apache 1.3   (Apache, Apache/SSL or Apache-mod_ssl)
>- Apache 2.0
>- Domino
>- IIS 4/5/2000
>- JNI
>- Netscape/IPlanet
>
>This quick poll will help us know on which direction must be put
>the most effort. I bet for Apache 1.3 on Unix boxes
>
>-
>Henri Gomez ___[_]
>EMAIL : [EMAIL PROTECTED](. .)
>PGP KEY : 697ECEDD...oOOo..(_)..oOOo...
>PGP Fingerprint : 9DF8 1EA8 ED53 2F39 DC9B 904A 364F 80E6

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.




Re: Different approach to TC as a service (was: Separating Service code from Tom

2001-07-26 Thread Dave Oxley

>BTW, jk already has the feature if JNI connector is used - but it would be
>great to be able to do the same for ajp connectors. Probably using the
>same config file ( most of the information to start tomcat is similar -
>the jni configuration file allows you to specify env variables,
>classpaths, etc ).
>
>One question - is anyone using the jk_service ( the NT service starter
>that is included with tomcat3.x ) ?
>

Our company has many different customers that we recommend to use Tomcat 
(some go with others, mainly WebSphere. But its 80:20 to Tomcat :). We use 
the jk_nt_service.exe all the time. We also use the JNI connector when using 
IIS because when rebooting it mainly didn't work as a service because Tomcat 
started before IIS. Plus its easy and very fast for our sales team to use on 
laptops. We don't use ajp12 anymore. It is a pain in the arse to have to 
start TC and Webserver in the correct order, especially as its a different 
order on Windows with IIS than on Unix with Apache!!!

With TC4 we could do with a JNI connector in mod_webapp (even though Pier 
probably doesn't want to do this). We will use mod_webapp in preference to 
mod_jk for simplicity of setting up.

Hope this info is useful.

Dave
[EMAIL PROTECTED]

_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp




RE: Different approach to TC as a service (was: Separating Servic e code from To

2001-07-26 Thread Dave Oxley

Oh and by the way. We never use Tomcat in standalone mode, even on 
Developers machines!

Dave
[EMAIL PROTECTED]


_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp




In process worker and IIS

2001-08-05 Thread Dave Oxley

I've been trying out the 'in process' worker with TC3.2.3 and IIS. When 
using a servlet that does a reasonable amount in its init() method, IIS 
complains that the service did not respond in a timely fashion!

This obviously isn't a bug as such, but shouldn't the webapps be initialised 
in a different thread so that TC can return without M$ throwing a wobbly!

Dave.
[EMAIL PROTECTED]

_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp




CVs question.

2001-08-30 Thread Dave Oxley

Hello all,

Sorry for the off-topic question :) but...

I'm trying to update my TC4 sources each morning with a cron job. How can I 
get CVS to not prompt for a password (i.e. pick the password up from a 
file). I've looked on the cvshome.org website but found nothing that told me 
how to do this.

Thanks.
Dave.

_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp




Patch for mod_webapp Java

2001-08-31 Thread Dave Oxley

WarpConnector.java in jakarta-tomcat-connectors/webapp/java does not 
compile. I have fixed it and a patch is supplied. Can someone check it over 
and check it in.

Thanks.
Dave.



_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

 patch


PATCH: jk_nt_service enhancements - TC3.3

2001-09-01 Thread Dave Oxley

I've made a couple of enhancements to jk_nt_service. Attached is a patch for 
jk_nt_service.c and the documentation. This change was made against HEAD of 
jakarta-tomcat. Can someone check it over for possible check in.

Dave
[EMAIL PROTECTED]

_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


Index: jakarta-tomcat/src/doc/NT-Service-howto.html
===
RCS file: /home/cvspublic/jakarta-tomcat/src/doc/NT-Service-howto.html,v
retrieving revision 1.5
diff -r1.5 NT-Service-howto.html
0a1
>
3,4c4,6
<   
<   
---
>   
>   
5a8
>
7a11
>
9,11c13
<
< 
<
---
>   
13,22c15,22
<
< By Gal Shachor
< <mailto:[EMAIL PROTECTED]";>[EMAIL PROTECTED]>
< 
<
<
< The Jakarta NT service is an executable that wraps the
< Tomcat servlet container and executes it in the background as an NT 
service. To
< install it you will need to:
<
---
>By Gal Shachor <href="mailto:[EMAIL PROTECTED]";>[EMAIL PROTECTED]
>>
>Modified by Dave Oxley <href="mailto:[EMAIL PROTECTED]";>[EMAIL PROTECTED]
>>
>
>The Jakarta NT service is an executable that wraps the Tomcat servlet 
>container
>and executes it in the background as an NT service. To install it you will
>need to:
24,79c24,102
<  Get a
<  hold on the NT executable (jk_nt_service.exe)
<  
<   Download
<   the executable from the win32/i386 directory  found where you 
downloaded the
<   http://jakarta.apache.org/site/binindex.html";> Tomcat 
binary
<   distribution. For those using Netscape as your browser, try 
downloading
<   a zip version of the file, if available. There can be problems using 
Netscape
<   to download DLL files.
<  
<  Customize
<  a properties file that provides the service with Tomcat information
<  (wrapper.properties).
<  
<   Locate the wrapper.properties template file in your Tomcat conf/jk 
directory.
<   Update
<   the wrapper.tomcat_home property to point at your tomcat home.
<   Update
<   the wrapper.java_home property to point at your Java home.
<  
<  Install
<  jk_nt_service by running it with the -i flag.
<  
<   Execute
<   jk_nt_service -I <name of service> <path to updated wrapper
<   properties>
<   <name
<   of service> should be a single word (without and spaces) such as
<   Jakarta
<   <path
<   to updated wrapper properties> should point to your 
wrapper.properties
<   file (and the service will check it's existence.)
<   For
<   example, a valid command line can be jk_nt_service -I Jakarta 
wrapper.properties
<  
<  Start
<  tomcat as a service.
<  
<   From
<   the command line, execute net start <name of service> (e.g. 
net
<   start Jakarta)
<   From
<   the NT services applet, highlight your service and press start.
<  
<  Note: If the log file location in your wrapper.properties file 
points to
<  the logs directory, and the logs directory doesn't yet 
exist,
<  manually create it before starting the service.
<  Stop
<  Tomcat as a service.
<  
<   From
<   the command line, execute net stop <name of service> (e.g. net
<   stop Jakarta)
<   From
<   the NT services applet, highlight your service and press stop.
<  
---
>   Get a  hold on the NT executable (jk_nt_service.exe)
>   
> Download   the executable from the win32/i386 directory  found 
>  where you downloaded the   href="http://jakarta.apache.org/site/binindex.html";>
> Tomcat binary   distribution.
> For those using Netscape as your browser, try downloading   a zip 
>version  of the file, if available. There can be problems using Netscape
>   to download DLL files.
>   
>   Customize  a properties file that provides the service with 
>Tomcat  information  (wrapper.properties).
>   
> Locate the wrapper.properties template file in your Tomcat conf/jk 
>  directory.   
> Update   the wrapper.tomcat_home property to point at your 
>tomcat  home.
> Update   the wrapper.java_home property to point at your Java  
>home.
>   
>   Install  jk_nt_service by running it with the -i flag.
>   
> Execute   jk_nt_service -I <name of service> 
><optional  params> <path to updated wrapper   
>properties>
> <name   of service> should be a single word (without and 
>  spaces) such as   Jakarta
> <optional params> are any of the following:
> 
> 

PATCH: Service fix in TC4

2001-09-01 Thread Dave Oxley

Just a tiny patch to get the service area in TC4 compiling.

Dave
[EMAIL PROTECTED]

_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

 service.diff


RE: PATCH: jk_nt_service enhancements - TC3.3

2001-09-01 Thread Dave Oxley

Hope this is better.

By the way the new features are:
Allow adding of service dependancies
Allow adding of service with different user name
Allow adding of service as Automatic startup
New functions to start and stop services on remote machines

Going to add a Bugzilla entry now...

Dave
[EMAIL PROTECTED]


>From: "Ignacio J. Ortega" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>, 
>"'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
>Subject: RE: PATCH: jk_nt_service enhancements - TC3.3
>Date: Sat, 1 Sep 2001 20:16:58 +0200
>
>Hola David:
>
>Could you send the patch as a diff -u?
>
>Better if you fill a bug report as a request for enhancements, and
>attaches the patch to it, so we can follow the issue more closely..
>
>Thanks for the feedback and the patch..
>
>Saludos ,
>Ignacio J. Ortega
>
>
> > -Mensaje original-
> > De: Dave Oxley [mailto:[EMAIL PROTECTED]]
> > Enviado el: sábado 1 de septiembre de 2001 14:15
> > Para: [EMAIL PROTECTED]
> > Asunto: PATCH: jk_nt_service enhancements - TC3.3
> >
> >
> > I've made a couple of enhancements to jk_nt_service. Attached
> > is a patch for
> > jk_nt_service.c and the documentation. This change was made
> > against HEAD of
> > jakarta-tomcat. Can someone check it over for possible check in.
> >
> > Dave
> > [EMAIL PROTECTED]
> >
> > _
> > Get your FREE download of MSN Explorer at
> > http://explorer.msn.com/intl.asp
> >


_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


Index: jakarta-tomcat/src/doc/NT-Service-howto.html
===
RCS file: /home/cvspublic/jakarta-tomcat/src/doc/NT-Service-howto.html,v
retrieving revision 1.5
diff -u -r1.5 NT-Service-howto.html
--- jakarta-tomcat/src/doc/NT-Service-howto.html2001/07/17 03:53:41 1.5
+++ jakarta-tomcat/src/doc/NT-Service-howto.html2001/09/01 23:28:51
@@ -1,148 +1,157 @@
+


-  
-  
+  
+  
+
   
+
   
   Working with the Jakarta NT Service
+

-
-
-
+  
Working with the Jakarta NT Service
-
-By Gal Shachor
-<mailto:[EMAIL PROTECTED]";>[EMAIL PROTECTED]>
-
-
-
-The Jakarta NT service is an executable that wraps the
-Tomcat servlet container and executes it in the background as an NT 
service. To
-install it you will need to:
-
+By Gal Shachor <mailto:[EMAIL PROTECTED]";>[EMAIL PROTECTED]
+   >
+   Modified by Dave Oxley <mailto:[EMAIL PROTECTED]";>[EMAIL PROTECTED]
+   >
+
+The Jakarta NT service is an executable that wraps the Tomcat servlet 
container
+and executes it in the background as an NT service. To install it you will
+need to:

- Get a
- hold on the NT executable (jk_nt_service.exe)
- 
-  Download
-  the executable from the win32/i386 directory  found where you 
downloaded the
-  http://jakarta.apache.org/site/binindex.html";> Tomcat binary
-  distribution. For those using Netscape as your browser, try 
downloading
-  a zip version of the file, if available. There can be problems using 
Netscape
-  to download DLL files.
- 
- Customize
- a properties file that provides the service with Tomcat information
- (wrapper.properties).
- 
-  Locate the wrapper.properties template file in your Tomcat conf/jk 
directory.
-  Update
-  the wrapper.tomcat_home property to point at your tomcat home.
-  Update
-  the wrapper.java_home property to point at your Java home.
- 
- Install
- jk_nt_service by running it with the -i flag.
- 
-  Execute
-  jk_nt_service -I <name of service> <path to updated wrapper
-  properties>
-  <name
-  of service> should be a single word (without and spaces) such as
-  Jakarta
-  <path
-  to updated wrapper properties> should point to your 
wrapper.properties
-  file (and the service will check it's existence.)
-  For
-  example, a valid command line can be jk_nt_service -I Jakarta 
wrapper.properties
- 
- Start
- tomcat as a service.
- 
-  From
-  the command line, execute net start <name of service> (e.g. net
-  start Jakarta)
-  From
-  the NT services applet, highlight your service and press start.
- 
- Note: If the log file location in your wrapper.properties file 
points to
- the logs directory, and the logs directory doesn't yet 
exist,
- manually create it before starting the service.
- Stop
- Tomcat as a service.
- 
-  From
-  the command line, execute net stop <name of service> (e.g. net
-  stop Jakarta)
-  From
-  the NT services applet,

Service code for TC4

2001-09-03 Thread Dave Oxley

I want to have a look at doing some service code for TC4 under Win32. Are 
there any design documents for the service code that is already there for 
Unix or does anyone (Pier?) have any ideas about how they want it to work 
under Win32? or is anyone working on this already?

Dave.
[EMAIL PROTECTED]

_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp




Re: Service code for TC4

2001-09-03 Thread Dave Oxley

Pier,

I can't find the module jakarta-tomcat-service. Where do I look??

Dave
[EMAIL PROTECTED]

>From: Pier Fumagalli <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: <[EMAIL PROTECTED]>
>Subject: Re: Service code for TC4
>Date: Mon, 03 Sep 2001 18:32:12 +0100
>
>"Dave Oxley" <[EMAIL PROTECTED]> wrote:
>
> > I want to have a look at doing some service code for TC4 under Win32. 
>Are
> > there any design documents for the service code that is already there 
>for
> > Unix or does anyone (Pier?) have any ideas about how they want it to 
>work
> > under Win32? or is anyone working on this already?
>
>I'm writing the specification of the final Java APIs from a bunch of
>discussions I had off this list with others interested in a more generic
>invocation framework... All the new code should reside in
>jakarta-tomcat-service (for now), jakarta-tomcat-4.0/service is
>deprecated...
>
>(The initial spec draft is in jakarta-tomcat-service)
>
> Pier
>


_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp




Re: Service code for TC4

2001-09-03 Thread Dave Oxley

I have searched the archives and found a check in to jakarta-tomcat-service 
but using anoncvs I can't checkout or even see if the module exists. Is this 
some sort of permissions problem.

Dave.
[EMAIL PROTECTED]


>From: "Dave Oxley" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: Re: Service code for TC4
>Date: Mon, 03 Sep 2001 19:08:26 +0100
>
>Pier,
>
>I can't find the module jakarta-tomcat-service. Where do I look??
>
>Dave
>[EMAIL PROTECTED]
>
>>From: Pier Fumagalli <[EMAIL PROTECTED]>
>>Reply-To: [EMAIL PROTECTED]
>>To: <[EMAIL PROTECTED]>
>>Subject: Re: Service code for TC4
>>Date: Mon, 03 Sep 2001 18:32:12 +0100
>>
>>"Dave Oxley" <[EMAIL PROTECTED]> wrote:
>>
>> > I want to have a look at doing some service code for TC4 under Win32.
>>Are
>> > there any design documents for the service code that is already there
>>for
>> > Unix or does anyone (Pier?) have any ideas about how they want it to
>>work
>> > under Win32? or is anyone working on this already?
>>
>>I'm writing the specification of the final Java APIs from a bunch of
>>discussions I had off this list with others interested in a more generic
>>invocation framework... All the new code should reside in
>>jakarta-tomcat-service (for now), jakarta-tomcat-4.0/service is
>>deprecated...
>>
>>(The initial spec draft is in jakarta-tomcat-service)
>>
>> Pier
>>
>
>
>_
>Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
>


_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp




Re: Service code for TC4

2001-09-03 Thread Dave Oxley

I have searched the archives and found a check in to jakarta-tomcat-service 
but using anoncvs I can't checkout or even see if the module exists. Is this 
some sort of permissions problem.

Dave.
[EMAIL PROTECTED]


>From: "Dave Oxley" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: Re: Service code for TC4
>Date: Mon, 03 Sep 2001 19:08:26 +0100
>
>Pier,
>
>I can't find the module jakarta-tomcat-service. Where do I look??
>
>Dave
>[EMAIL PROTECTED]
>
>>From: Pier Fumagalli <[EMAIL PROTECTED]>
>>Reply-To: [EMAIL PROTECTED]
>>To: <[EMAIL PROTECTED]>
>>Subject: Re: Service code for TC4
>>Date: Mon, 03 Sep 2001 18:32:12 +0100
>>
>>"Dave Oxley" <[EMAIL PROTECTED]> wrote:
>>
>> > I want to have a look at doing some service code for TC4 under Win32.
>>Are
>> > there any design documents for the service code that is already there
>>for
>> > Unix or does anyone (Pier?) have any ideas about how they want it to
>>work
>> > under Win32? or is anyone working on this already?
>>
>>I'm writing the specification of the final Java APIs from a bunch of
>>discussions I had off this list with others interested in a more generic
>>invocation framework... All the new code should reside in
>>jakarta-tomcat-service (for now), jakarta-tomcat-4.0/service is
>>deprecated...
>>
>>(The initial spec draft is in jakarta-tomcat-service)
>>
>> Pier
>>
>
>
>_
>Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
>


_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp




RE: NT Service Manager

2001-09-10 Thread Dave Oxley

Costin,

I think thats a good idea. I want it to work with all versions of TC (3.2.4, 
3.3 and 4.0) and I will supply patches to their respective Service 
implementations.

Dave
[EMAIL PROTECTED]


>From: <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
>Subject: RE: NT Service Manager
>Date: Mon, 10 Sep 2001 10:35:32 -0700 (PDT)
>
>Hi David,
>
>I have another point I would like to add to the list: "do we have to
>include it in the 'official' 3.3, or would it be better for it to be a
>module ?"
>
>Keep in mind that we have a relatively slow release cycle, and any feature
>is adding more overhead for each release, and impose constraints on the
>development of that feature itself ( because you have to sync with the
>whole thing ).
>
>I really want to keep each 'feature' in a separate module, if possible.
>IMHO the whole nt-service should be packaged as a separate module and
>released as such.
>
>Of course, we never did that - and I'm sure your fix will have a good
>impact on usability, so I'm +1 on including it in 3.3, but I would like
>to start thinking in terms of modules...
>
>Costin
>


_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp




Re: Tomcat Service Manager

2001-09-14 Thread Dave Oxley

Pier,

Yeah, it's all in C++. Sorry about that :( It's very much for Windows only 
and it doesn't talk to Tomcat directly, only the Windows Service API. In 
fact it's hardly Tomcat specific at all.
I have been using it this week at work and find it really useful to monitor 
the state of my Tomcats on the servers. ...but see what you think.

Good luck with your webapp bugs! I really want to start using TC4 in 
production.

Dave
[EMAIL PROTECTED]

>From: Pier Fumagalli <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: <[EMAIL PROTECTED]>
>Subject: Re: Tomcat Service Manager
>Date: Fri, 14 Sep 2001 22:16:53 +0100
>
>"Dave Oxley" <[EMAIL PROTECTED]> wrote:
>
> > Hi all,
> >
> > Here is the code for the TC Service Manager. Would anyone like to check 
>it
> > into jakarta-tomcat-service? ...or even just take a look at it.
> >
> > Dave
> > [EMAIL PROTECTED]
>
>Dave, I'm going to check it out after I finish tackling my WebApp bugs
>headaches, and definitely before the 21st... I checked it out really brief,
>and I noticed it's all C++... :( But thanks for the code, really 
>appreciated
>it...
>
> Pier
>


_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp




Tomcat next

2001-09-26 Thread Dave Oxley

Hi all,

A couple of questions on future Tomcat releases:

1. Will there be a TC3.4 release or is 3.x obsolete after 3.3?
2. Has TC4.0 been branched (i.e. has development started on TC4.1 or are you 
waiting for TC4.0.1 to branch?)
3. Is there a list of planned features for TC4.1?

Dave
[EMAIL PROTECTED]

_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp




Re: [5.0] Schedule change

2003-10-01 Thread Dave Oxley
Why don't you keep TC5.0 in beta and branch and start work on TC5.1?

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


Tomcat 5.0.14 and JK loadbalancing

2003-11-13 Thread Dave Oxley
I have 4 load balanced JK (1.2.5) workers. When I select to stop Tomcat 
(5.0.14), which takes a while to shut down (because of some daemon 
threads in our app) a 400 bad request is returned to the browser even 
though there are other JK workers that could be used.

A couple of causes spring to mind, but I don't know which one is true.
Does it take a while for mod_jk to learn about the stopped status of the 
JK worker?
Is it a bug with JK or Tomcat 5?
JK load balancing was not designed for fault tolerance?

I would appreciate some advice/explanation as this is about to become 
our standard setup.

Cheers.
Dave.

This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk

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


Re: Tomcat 5.0.14 and JK loadbalancing

2003-11-14 Thread Dave Oxley
Didn't get a reply on this. Does anyone have an idea?

Dave Oxley wrote:

I have 4 load balanced JK (1.2.5) workers. When I select to stop 
Tomcat (5.0.14), which takes a while to shut down (because of some 
daemon threads in our app) a 400 bad request is returned to the 
browser even though there are other JK workers that could be used.

A couple of causes spring to mind, but I don't know which one is true.
Does it take a while for mod_jk to learn about the stopped status of 
the JK worker?
Is it a bug with JK or Tomcat 5?
JK load balancing was not designed for fault tolerance?

I would appreciate some advice/explanation as this is about to become 
our standard setup.

Cheers.
Dave.

This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk

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


--

* Dave Oxley *

* +44 (0)7966 249 344
* * * * [EMAIL PROTECTED] * * <mailto:[EMAIL PROTECTED]>
* * * * http://www.daveoxley.co.uk * * <http://www.daveoxley.co.uk> *
* "Linux: Because reboots are for hardware upgrades!" * * *   * *

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


Re: JK Todo List

2004-10-11 Thread Dave Oxley
So is JK2 dead because of proxy_ajp? Why doesn't JK2 just replace JK?
Dave.

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


Re: DO NOT REPLY [Bug 31677] - Cannot undeploy and deploy war file with on the same context

2004-10-12 Thread Dave Oxley
Remy,
I'm sorry that you feel my comments were not constructive. My app uses 
Log4j and mail.jar to send an email when the server starts up.
With antiJARLocking set:
An undeploy leaves mail.jar and I am unable to delete it without 
stopping Tomcat.
With antiResourceLocking set:
Stopping Tomcat (I didn't do an undeploy), the webapp is deleted except 
for ALL jars which are left in the lib directory. Also the 
server/webapps/admin and server/webapps/manager folders are deleted but 
this maybe because I manually added the Contexts to server.xml. Please 
note I didn't do an undeploy.

I've attached the server.xml I'm using. When did you last test the 
deploy/undeploy on Windows? Maybe it broke recently. Also I have had no 
such problems with TC5.5 under Linux but I do not have either 
antiJARLocking or antiResourceLocking set as I have never required them 
under Linux. I think the bug should be reopened.


 
 
   debug="0"/>

 
   
 
 
   
   
   
   
   
 
 
  unpackWARs="true" autoDeploy="false"
  xmlValidation="false" xmlNamespaceAware="false">

   www.staffplanner.com
   
 
   
   
   debug="0" privileged="true">

 
   
   
 
   
   
   debug="0" privileged="true">

 
   
 
   
 

Dave
[EMAIL PROTECTED] wrote:
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31677
Cannot undeploy and deploy war file with on the same context
[EMAIL PROTECTED] changed:
  What|Removed |Added

Status|NEW |RESOLVED
Resolution||INVALID

--- Additional Comments From [EMAIL PROTECTED]  2004-10-12 22:02 ---
I did test it, and I think you are not being very constructive in your comments.
Tested with Struts' example webapp, precompiled, deployed and undeployed using
the Tomcat deployer (which uses the Ant tasks), with both antiJARLocking and
antiResourceLocking (which both do deployment where expected). Without one of
these two options, some JARs remain, which is to be expected.
Please don't reopen this report.
-
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: DO NOT REPLY [Bug 31677] - Cannot undeploy and deploy war file with on the same context

2004-10-12 Thread Dave Oxley
Remy,
Maybe this is me just misunderstanding how the new anti locking code 
works. I've seen comments on another issue that it works the same way as 
JBoss. If thats the case the jars must be copied and loaded from 
elsewhere (a temporary directory with a temporary name) and only deleted 
when Tomcat is next started. Is this correct or does it work differently?

Dave.
Remy Maucherat wrote:
Dave Oxley wrote:
Remy,
I'm sorry that you feel my comments were not constructive. My app 
uses Log4j and mail.jar to send an email when the server starts up.
With antiJARLocking set:
An undeploy leaves mail.jar and I am unable to delete it without 
stopping Tomcat.
With antiResourceLocking set:
Stopping Tomcat (I didn't do an undeploy), the webapp is deleted 
except for ALL jars which are left in the lib directory. Also the 
server/webapps/admin and server/webapps/manager folders are deleted 
but this maybe because I manually added the Contexts to server.xml. 
Please note I didn't do an undeploy.

I've attached the server.xml I'm using. When did you last test the 
deploy/undeploy on Windows? Maybe it broke recently. Also I have had 
no such problems with TC5.5 under Linux but I do not have either 
antiJARLocking or antiResourceLocking set as I have never required 
them under Linux. I think the bug should be reopened. 

Don't bother reopening your "bug", or I'll mark it as INVALID again.
I am not interested in debugging either your setup or your webapp, 
since what you describe cannot possibly occur if you have set the 
parameters that you mention you have set. I have mentioned what I used 
for testing. How about trying that on a clean environment, and see if 
it works ?

Rémy
-
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: jk2 2.0.4 release plan

2004-02-03 Thread Dave Oxley
Henri,

What is the current state of JK2. Is it alpha, beta or GA. If this is 
going to be an alpha release, what is the plan for a GA release. I would 
like to migrate from JK when it is stable.

Cheers.
Dave.
Henri Gomez wrote:

Hi to all,

Since many people ask for a jk2 release, 2.0.4, I'll act as
release manager if nobody else want to take the job before
Friday.
I'd like to know what are showstoppers (blocking bugs) which
should be fixed in the current release.
Planning :

Up to Friday 6 Feb, determine all bugs which should (could be fixed)
and try to fix the blocking bugs.
On Thursday 12 Feb, tag the CVS with jk2_2_0_4_rc1,
make build and tests.
If everything goes fine, on 13 Feb, tag the CVS with jk2_2_0_4,
make tarball, and binaries (need help here for windows, netware,
macosx, ...).
Comments welcome

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


--

* Dave Oxley *

* +44 (0)7966 249 344
* * * * [EMAIL PROTECTED] * * <mailto:[EMAIL PROTECTED]>
* * * * http://www.daveoxley.co.uk * * <http://www.daveoxley.co.uk> *
* "Linux: Because reboots are for hardware upgrades!" * * *   * *

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


Load balancer broken in JK2 with IIS

2004-04-21 Thread Dave Oxley
Using the load balancer in JK2 with IIS produces the following errors in 
the event viewer and appears to hang for each request:
Error: [jk_isapi_plugin.c (496)]: HttpExtensionProc worker is NULL

Anyone have any ideas?

Dave.


This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk

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


Re: Load balancer broken in JK2 with IIS

2004-04-22 Thread Dave Oxley
ping..

Dave Oxley wrote:

Using the load balancer in JK2 with IIS produces the following errors 
in the event viewer and appears to hang for each request:
Error: [jk_isapi_plugin.c (496)]: HttpExtensionProc worker is NULL

Anyone have any ideas?

Dave.


This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk

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

This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk




This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk

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