www.curoo.com 征集logo活动

2006-07-13 Thread setspaec

   您有新鲜的构思么?您有创意的点子么?如果您有,请拿出您的智慧,参与到我们当中来。我们是一家专业的管理类博客网站,期待您给我们带来非凡的设计。详情请登陆http://www.curoo.com/logo/index.html  恭候您充满创意的作品!

__




---
只花一元就买了个新手机!忍不住给大家看看( http://ad4.sina.com.cn/sina/limeng3/mail_zhuiyu/2006/mail_zhuiyu_20060531.html )

===
注册新浪2G免费邮箱( http://mail.sina.com.cn/chooseMode.html )

DO NOT REPLY [Bug 37039] New: - Typo in the quick-howto for jk connector configuration

2005-10-12 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=37039.
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=37039

   Summary: Typo in the quick-howto for jk connector configuration
   Product: Tomcat 5
   Version: 5.0.28
  Platform: Other
   URL: http://jakarta.apache.org/tomcat/connectors-
doc/howto/quick.html
OS/Version: Linux
Status: NEW
  Severity: normal
  Priority: P2
 Component: Native:JK
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: [EMAIL PROTECTED]


The typo is in the Minimum workers.properties section:

# Define 1 real worker using ajp13
  worker.list=worker1
  # Set properties for worker1 (ajp13)
  worker.worker1.type=ajp13
  worker.worker1.host=localhost
  worker.worker1.port=8009
  worker.worker1.lbfactor=50
  worker.worker1.cachesize=10
  worker.worker1.cache_timeout=600
  worker.worker1.socket_keepalive=1
  worker.worker1.reclycle_timeout=300 --- TYPO HERE

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



dynamical class loading

2005-10-12 Thread dumbQuestionsAsker _

hi everybody,
I asked a question on the users mailing list about classloading and someone 
advised me to ask it to a tomcat's developper.


So this is my situation :
I got 2 interfaces that have to be loaded dynamically according a request 
made to a JSP.
I know the name of the interfaces and by default I have a wrong version of 
these interfaces in my WEB-INF/classes/ path.


I tried to load theses interfaces using a URLClassLoader unsuccessfully.
I also tried to replace the .class in WEB-INF/classes/, but the problem is 
that the webapp is reloading itself.


Any idea about how to do that?
Is Tomcat able to load classes without reloading the whole webapp or 
restarting ?


Thank you in advance and have a nice day.

_
Trouvez vos fichiers en un clin d’œil : Windows Desktop Search 
http://desktop.msn.fr/



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



DO NOT REPLY [Bug 37020] - antiJARLocking and antiResourceLocking with many lib jars causes performance degradation and reload failure.

2005-10-12 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=37020.
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=37020


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID




--- Additional Comments From [EMAIL PROTECTED]  2005-10-12 12:53 ---
This is not a bug. The webapp is indeed deployed over to another location, which
takes time.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 37020] - antiJARLocking and antiResourceLocking with many lib jars causes performance degradation and reload failure.

2005-10-12 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=37020.
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=37020


[EMAIL PROTECTED] changed:

   What|Removed |Added

   Severity|normal  |enhancement




--- Additional Comments From [EMAIL PROTECTED]  2005-10-12 12:58 ---
i thought it may not be a bug, i've changed the severity to enhancement to 
make that clear. 

there is clearly an issue with deployer on windows machines, and coupled with a 
large web application this kind of performance is not workable when the anti-
locking strategy is put in place.  

i suppose the answer will be to add anti locking for deployed applications only 
and keep dev setups without the anti locking off.

thanks anyway.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



Re: Site-SVN link

2005-10-12 Thread Jean-frederic Clere

Yoav Shapira wrote:


Hi,
I think it's OK now to have /www/jakarta.apache.org/tomcat be a checkout of the
SVN tomcat/site/trunk.  I just updated SVN tomcat/site/trunk to show 5.5.12 is
latest stable, and committed, but the SVN update is still looking at the old
version...
 


Looking in .svn/entries:
+++
  url=http://svn.apache.org/repos/asf/tomcat/site/branches/pre-tlp/docs;
+++
What is in /www/jakarta.apache.org/tomcat belongs to a branch pre-tlp.

Cheers

Jean-Frederic


Yoav

-
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]



[Fwd: cluster FAQ link?]

2005-10-12 Thread Tim Funk
I thought I recalled seeing faq/cluster.html at one time. But now I see no 
trace of it. Did it ever exist?


-Tim

 Original Message 
Subject: cluster FAQ link?
Date: Tue, 11 Oct 2005 16:00:52 -0500
From: Brian O'Rourke [EMAIL PROTECTED]
Reply-To: Tomcat Users List tomcat-user@jakarta.apache.org
To: tomcat-user@jakarta.apache.org

Hi,

Reading up on some of the Tomcat 5.5 documentation, and I noticed that the
cluster documentation links to a FAQ that doesn't appear to exist.

At the bottom of this page:
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/cluster-howto.html

The link refers to this page, which doesn't exist, nor is there a link to a
Cluster FAQ from the main FAQ page (that I can find):
http://jakarta.apache.org/tomcat/faq/cluster.html

Where is this document located?

--bpo


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



DO NOT REPLY [Bug 36995] - duplicate session ids

2005-10-12 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=36995.
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=36995





--- Additional Comments From [EMAIL PROTECTED]  2005-10-12 14:09 ---
(In reply to comment #4)
 We have Suse 8.2 with kernel 2.4.20-64GB-SMP on our servers. Java version is
 1.4.2_03 and Tomcat 4.1.29.
 
 As the chances for the described scenario are slim, I suggest to reduce the
 value of ManagerBase.SESSION_ID_BYTES from 16 to 2 or 3 for testing. This
 should increase the chances of duplicates returned by
 ManagerBase.generateSessionId() without affecting the behaviour of Tomcat.
 
 Additionally, I put a Thread.yield() below the end of the sychronized block
 in ManagerBase.createSession(), to provoke the racing time condition, further
 increasing the chances for the scenario.
 
 Then I started Tomcat with the JSP page session.jsp:
 
 %@ page language=java %%= request.getSession().getId() %
 
 The test application performs repeated request from different threads,
 recoding the returned session ids and checking for duplicates. Even with
 the reduced random range it might take several runs to stumble into a
 duplicate. I'm sure there are better ways to test it, it is just a simple
 test.
 
 I'm not saying this is an urgent problem, or that it happens all the time, I
 merely think that it can happen, because random numbers, however large the
 range might be, are not unique by themselves, are they? And if it can happen,
 it will happen, eventually. Or am I missing something here?

The whole idea of even checking for duplicates is a nonsense (beyond giving
people some sense of safety). If the id generation has conflicts, then it means
the system is completely insecure, so fixing a bug which will never actually
occur doesn't have any benefits.


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 37020] - antiJARLocking and antiResourceLocking with many lib jars causes performance degradation and reload failure.

2005-10-12 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=37020.
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=37020





--- Additional Comments From [EMAIL PROTECTED]  2005-10-12 14:23 ---
(In reply to comment #2)
 i thought it may not be a bug, i've changed the severity to enhancement to 
 make that clear. 
 
 there is clearly an issue with deployer on windows machines, and coupled with 
 a 
 large web application this kind of performance is not workable when the anti-
 locking strategy is put in place.  
 
 i suppose the answer will be to add anti locking for deployed applications 
 only 
 and keep dev setups without the anti locking off.
 

If you have zillions of JARs, then there's no solution. The MS stuff and the Sun
JVM seem to both be optimized so that JAR file locking (or even regular file
locking) will almost always occur. The workaround for all problems is to copy
the whole thing to the temp folder, and just run it from there. JBoss does the
same thing to allow hot deployment.

The other workaround is to consider using OSes with more flexible filesystems.

I told you already that antiJARLocking and antiResourceLocking don't do the same
thing, and using both is not very useful. BTW, your other bug report is bad.


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 36994] - httpsession.getId() throws ISE after invalidation

2005-10-12 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=36994.
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=36994





--- Additional Comments From [EMAIL PROTECTED]  2005-10-12 14:34 ---
Hi William, the servlet spec 2.4 doesn't throw the ISE. The new servlet spec 2.5
throws the ISE. So that's a change between 2.4 and 2.5. Strange on this is, that
this change isn't listed in der change list between 2.4 and 2.5.

I know that in the future the ISE will come, but the TC homepage says that the
current TC 5.5 is an impl for the final 2.4 spec - not for the non-final 2.5 
spec.


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 36994] - httpsession.getId() throws ISE after invalidation

2005-10-12 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=36994.
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=36994





--- Additional Comments From [EMAIL PROTECTED]  2005-10-12 14:41 ---
(In reply to comment #3)
 Hi William, the servlet spec 2.4 doesn't throw the ISE. The new servlet spec 
 2.5
 throws the ISE. So that's a change between 2.4 and 2.5. Strange on this is, 
 that
 this change isn't listed in der change list between 2.4 and 2.5.
 
 I know that in the future the ISE will come, but the TC homepage says that the
 current TC 5.5 is an impl for the final 2.4 spec - not for the non-final 2.5 
 spec.
 

No the spec didn't change. However, it turned out that getId should have thrown
an ISE, while in Tomcat it did not. If you want to work around it, you can
modify the Tomcat code easily.

http://jcp.org/aboutJava/communityprocess/maintenance/jsr154/errata204.txt


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 37020] - antiJARLocking and antiResourceLocking with many lib jars causes performance degradation and reload failure.

2005-10-12 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=37020.
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=37020





--- Additional Comments From [EMAIL PROTECTED]  2005-10-12 14:43 ---
 BTW, your other bug report is bad.

is it? or is it just that Tomcat does not offer any reasons for its failures 
and I am led to believe there is a problem because of the unexpected behaviour?

the bug report lists precise steps to a failure that should not be there or if 
there is a reason should be reported to the user.

consider it another enhancement than a bug if that is the case.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 37044] New: - JAASRealm / RealmBase role checking bug ?

2005-10-12 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=37044.
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=37044

   Summary: JAASRealm / RealmBase role checking bug ?
   Product: Tomcat 5
   Version: 5.5.12
  Platform: All
OS/Version: other
Status: NEW
  Severity: major
  Priority: P2
 Component: Catalina
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]


JAASRealm authenticates the user and creates a GenericPrincipal with 
  userPrincipal set to some principal returned by LoginModule.

  Later RealmBase.hasResourcePermission() calls request.getUserPrincipal()
  to recover authenticated user principal

  Request.getUserPrincipal() checks if the principal is instanceof 
  GenericPrincipal, and if it is, it returns its userPrincipal. 

  RealmBase.hasRole() checks if the principal is instanceof GenericPrincipal 
  and if not it fails immediately.

  Note: previous versions of JAASRealm had their own hasRole() implementation.

  Note: request.isUserInRole() is not getting userPrincipal from 
  GenericPrincipal when calling realm.hasRole() and this one seems to
  work.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



Re: dynamical class loading

2005-10-12 Thread Yoav Shapira
Hi,

 I know the name of the interfaces and by default I have a wrong version of 
 these interfaces in my WEB-INF/classes/ path.

Don't have a wrong version by default, that's a bad practice.

 I tried to load theses interfaces using a URLClassLoader unsuccessfully.
 I also tried to replace the .class in WEB-INF/classes/, but the problem is 
 that the webapp is reloading itself.

Turn off the reloadable property of your webapp by adding reloadable=false to
the context definition.  If you do want to dynamically load classes, just use
Class.forName(my.class.name).

 Any idea about how to do that?

See above.

 Is Tomcat able to load classes without reloading the whole webapp or 
 restarting ?

Yes, read the documentation on Class.forName and the context reloadable
property.  Once you've done that and/or tried the above, please post further
questions to the tomcat-user mailing list.  This list is for Tomcat's internal
development discussions.  (You're of course welcome to hang around and chat
here, but only about topics that related to Tomcat's own internal development)
Thank you ;)

Yoav

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



Re: [Fwd: cluster FAQ link?]

2005-10-12 Thread Yoav Shapira
Hi,
I created it and committed it (in CVS) before the move to SVN.  So it should
exist in CVS and SVN both.  We really need to move the site SVN link so it
stops pointing at pre-TLP and points at the trunk.  Maybe I'll go figure out
how to do it ;)

Yoav

--- Tim Funk [EMAIL PROTECTED] wrote:

 I thought I recalled seeing faq/cluster.html at one time. But now I see no 
 trace of it. Did it ever exist?
 
 -Tim
 
  Original Message 
 Subject: cluster FAQ link?
 Date: Tue, 11 Oct 2005 16:00:52 -0500
 From: Brian O'Rourke [EMAIL PROTECTED]
 Reply-To: Tomcat Users List tomcat-user@jakarta.apache.org
 To: tomcat-user@jakarta.apache.org
 
 Hi,
 
 Reading up on some of the Tomcat 5.5 documentation, and I noticed that the
 cluster documentation links to a FAQ that doesn't appear to exist.
 
 At the bottom of this page:
 http://jakarta.apache.org/tomcat/tomcat-5.5-doc/cluster-howto.html
 
 The link refers to this page, which doesn't exist, nor is there a link to a
 Cluster FAQ from the main FAQ page (that I can find):
 http://jakarta.apache.org/tomcat/faq/cluster.html
 
 Where is this document located?
 
 --bpo
 
 
 -
 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: Site-SVN link

2005-10-12 Thread Yoav Shapira
Hi,
OK, I've switched it over to tomcat/site/trunk/docs instead of
tomcat/site/branches/pre-tlp/docs.  It looks OK at the filesystem and .svn
level.  The update should reflect on the web site in ~1 hour (infra has reduced
the sync time from 4 to 1 hours or so, btw).

Yoav

--- Jean-frederic Clere [EMAIL PROTECTED] wrote:

 Yoav Shapira wrote:
 
 Hi,
 I think it's OK now to have /www/jakarta.apache.org/tomcat be a checkout of
 the
 SVN tomcat/site/trunk.  I just updated SVN tomcat/site/trunk to show 5.5.12
 is
 latest stable, and committed, but the SVN update is still looking at the old
 version...
   
 
 Looking in .svn/entries:
 +++
url=http://svn.apache.org/repos/asf/tomcat/site/branches/pre-tlp/docs;
 +++
 What is in /www/jakarta.apache.org/tomcat belongs to a branch pre-tlp.
 
 Cheers
 
 Jean-Frederic
 
 Yoav
 
 -
 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]
 
 


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



Re: Tomcat Snapshots

2005-10-12 Thread Yoav Shapira
Hi,
I'm curious about the importance of nightly snapshots: who uses them?  We have
a nightly source tarball already available at
http://cvs.apache.org/builds/jakarta-tomcat-5/nightly/, so this seems
redundant.   If neither you (Henri) nor I knew about it in the years we've been
involved, it's probably not being used by too many people ;)

 jakarta-tomcat jakarta-tomcat-4.0 jakarta-tomcat-5
 jakarta-tomcat-catalina jakarta-tomcat-jasper
 jakarta-tomcat-connectors jakarta-tools jakarta-watchdog
 jakarta-servletapi jakarta-servletapi-4 jakarta-servletapi-5
 jakarta-watchdog-4.0
 
 I need to identify the svn match to each one of those to continue the
 snapshots going. ie)
 
 jakarta-tomcat-tools  =  tomcat/archive/tools/trunk/
 
 Though I imagine something in archive/ isn't a candidate for snapshotting.
 
 Could you let me know which parts of the tomcat svn directory you'd
 like me to set snapshotting up for?

Right now I'd say none, as it seems unnecessary.  For the archived ones
(jakarta-tomcat-tools and jakarta-watchdog-*), we don't need any snapshots. 
But maybe I'm missing something.

Yoav

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



DO NOT REPLY [Bug 37054] New: - NoClassDefFoundError using ServletContextListener

2005-10-12 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=37054.
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=37054

   Summary: NoClassDefFoundError using ServletContextListener
   Product: Tomcat 5
   Version: 5.5.12
  Platform: PC
OS/Version: Windows XP
Status: NEW
  Severity: major
  Priority: P2
 Component: Unknown
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: [EMAIL PROTECTED]


Since 5.5.12 using a ServletContextListener leads to a NoClassDefFoundError.
5.5.11 instead worked as expected with exactly the same code.

The class ServletListener is part of the web application. The web application of
course has no servlet-api.jar included as this must be provided by the servlet
engine through the appropriate classloader.

o JVM is Sun 1.5.0_05, I got the same error with 1.5.0_04.

o My web.xml:
web-app
   ...
listener
listener-class
this.is.my.ServletListener
/listener-class
/listener   
/web-app

o My listener class:
public class ServletListener implements ServletContextListener {
public void contextInitialized(ServletContextEvent arg0) {...}
public void contextDestroyed(ServletContextEvent arg0) {…}
}

o This is the error during startup:
09:09:12,579 ERROR [/myApp]:3643 - Error configuring application listener of
class this.is.my.ServletListener
java.lang.NoClassDefFoundError: javax/servlet/ServletContextListener
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at 
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at
org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:870)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1305)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1187)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3640)
at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4127)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
at 
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
at 
org.apache.catalina.core.StandardService.start(StandardService.java:450)
at 
org.apache.catalina.core.StandardServer.start(StandardServer.java:680)
at org.apache.catalina.startup.Catalina.start(Catalina.java:536)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
09:09:12,594 ERROR [/myApp]:3650 - Skipped installing application listeners due
to previous error(s)

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



RE: Site-SVN link

2005-10-12 Thread Yoav Shapira
Hi,

 I guess now is the time to move over the mailing lists. The TLP web site
 (tomcat.apache.org) is ready to go and just waiting for a svn co. Once this
 is
 done, we will need to redirect http://jakarta.apache.org/tomcat to
 http://tomcat.apache.org and delete the old content from
 http://jakarta.apache.org/tomcat

I'm moving the site to tomcat.apache.org right now.  I can handle everything, I
think, except moving the mailing lists.  I'll put in a JIRA request for that
right now.

Yoav

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



RE: Site-SVN link

2005-10-12 Thread Yoav Shapira
Hi,
Mailing list migration issue created:
http://issues.apache.org/jira/browse/INFRA-574.

I've also copied everything to tomcat.apache.org, so that site should be
working just fine in about an hour.  After I test it, I'll ask infra to do the
redirect thing.

Yoav

--- Yoav Shapira [EMAIL PROTECTED] wrote:

 Hi,
 
  I guess now is the time to move over the mailing lists. The TLP web site
  (tomcat.apache.org) is ready to go and just waiting for a svn co. Once this
  is
  done, we will need to redirect http://jakarta.apache.org/tomcat to
  http://tomcat.apache.org and delete the old content from
  http://jakarta.apache.org/tomcat
 
 I'm moving the site to tomcat.apache.org right now.  I can handle everything,
 I
 think, except moving the mailing lists.  I'll put in a JIRA request for that
 right now.
 
 Yoav
 
 -
 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]



svn commit: r314973 - in /tomcat/site/trunk: docs/ xdocs/ xdocs/stylesheets/

2005-10-12 Thread yoavs
Author: yoavs
Date: Wed Oct 12 10:24:11 2005
New Revision: 314973

URL: http://svn.apache.org/viewcvs?rev=314973view=rev
Log:
Misc fixes, updated, etc.

Modified:
tomcat/site/trunk/docs/bugreport.html
tomcat/site/trunk/docs/contact.html
tomcat/site/trunk/docs/download-33.html
tomcat/site/trunk/docs/download-41.html
tomcat/site/trunk/docs/download-55.html
tomcat/site/trunk/docs/download-connectors.html
tomcat/site/trunk/docs/findhelp.html
tomcat/site/trunk/docs/getinvolved.html
tomcat/site/trunk/docs/heritage.html
tomcat/site/trunk/docs/index.html
tomcat/site/trunk/docs/irc.html
tomcat/site/trunk/docs/legal.html
tomcat/site/trunk/docs/lists.html
tomcat/site/trunk/docs/resources.html
tomcat/site/trunk/docs/svn.html
tomcat/site/trunk/docs/whichversion.html
tomcat/site/trunk/docs/whoweare.html
tomcat/site/trunk/xdocs/findhelp.xml
tomcat/site/trunk/xdocs/getinvolved.xml
tomcat/site/trunk/xdocs/heritage.xml
tomcat/site/trunk/xdocs/legal.xml
tomcat/site/trunk/xdocs/lists.xml
tomcat/site/trunk/xdocs/resources.xml
tomcat/site/trunk/xdocs/stylesheets/project.xml
tomcat/site/trunk/xdocs/stylesheets/tomcat-site.xsl
tomcat/site/trunk/xdocs/whoweare.xml

Modified: tomcat/site/trunk/docs/bugreport.html
URL: 
http://svn.apache.org/viewcvs/tomcat/site/trunk/docs/bugreport.html?rev=314973r1=314972r2=314973view=diff
==
--- tomcat/site/trunk/docs/bugreport.html (original)
+++ tomcat/site/trunk/docs/bugreport.html Wed Oct 12 10:24:11 2005
@@ -55,16 +55,16 @@
 a href=./whichversion.htmlWhich version?/a
 /li
 li
-a href=./download-55.cgiApache Tomcat 5.5/a
+a href=./download-55.cgiTomcat 5.5/a
 /li
 li
-a href=./download-41.cgiApache Tomcat 4.1/a
+a href=./download-41.cgiTomcat 4.1/a
 /li
 li
-a href=./download-33.cgiApache Tomcat 3.3/a
+a href=./download-33.cgiTomcat 3.3/a
 /li
 li
-a href=./download-connectors.cgiApache Tomcat Connectors/a
+a href=./download-connectors.cgiTomcat Connectors/a
 /li
 li
 a href=http://archive.apache.org/dist/;Archives/a
@@ -95,13 +95,16 @@
 /p
 ul
 li
-a href=./tomcat-5.5-doc/index.htmlApache Tomcat 5.5/a
+a href=./tomcat-5.5-doc/index.htmlTomcat 5.5/a
 /li
 li
-a href=./tomcat-4.1-doc/index.htmlApache Tomcat 4.1/a
+a href=./tomcat-5.0-doc/index.htmlTomcat 5.0/a
 /li
 li
-a href=./tomcat-3.3-doc/index.htmlApache Tomcat 3.3/a
+a href=./tomcat-4.1-doc/index.htmlTomcat 4.1/a
+/li
+li
+a href=./tomcat-3.3-doc/index.htmlTomcat 3.3/a
 /li
 /ul
 p

Modified: tomcat/site/trunk/docs/contact.html
URL: 
http://svn.apache.org/viewcvs/tomcat/site/trunk/docs/contact.html?rev=314973r1=314972r2=314973view=diff
==
--- tomcat/site/trunk/docs/contact.html (original)
+++ tomcat/site/trunk/docs/contact.html Wed Oct 12 10:24:11 2005
@@ -53,16 +53,16 @@
 a href=./whichversion.htmlWhich version?/a
 /li
 li
-a href=./download-55.cgiApache Tomcat 5.5/a
+a href=./download-55.cgiTomcat 5.5/a
 /li
 li
-a href=./download-41.cgiApache Tomcat 4.1/a
+a href=./download-41.cgiTomcat 4.1/a
 /li
 li
-a href=./download-33.cgiApache Tomcat 3.3/a
+a href=./download-33.cgiTomcat 3.3/a
 /li
 li
-a href=./download-connectors.cgiApache Tomcat Connectors/a
+a href=./download-connectors.cgiTomcat Connectors/a
 /li
 li
 a href=http://archive.apache.org/dist/;Archives/a
@@ -93,13 +93,16 @@
 /p
 ul
 li
-a href=./tomcat-5.5-doc/index.htmlApache Tomcat 5.5/a
+a href=./tomcat-5.5-doc/index.htmlTomcat 5.5/a
 /li
 li
-a href=./tomcat-4.1-doc/index.htmlApache Tomcat 4.1/a
+a href=./tomcat-5.0-doc/index.htmlTomcat 5.0/a
 /li
 li
-a href=./tomcat-3.3-doc/index.htmlApache Tomcat 3.3/a
+a href=./tomcat-4.1-doc/index.htmlTomcat 4.1/a
+/li
+li
+a href=./tomcat-3.3-doc/index.htmlTomcat 3.3/a
 /li
 /ul
 p

Modified: tomcat/site/trunk/docs/download-33.html
URL: 
http://svn.apache.org/viewcvs/tomcat/site/trunk/docs/download-33.html?rev=314973r1=314972r2=314973view=diff
==
--- tomcat/site/trunk/docs/download-33.html (original)
+++ tomcat/site/trunk/docs/download-33.html Wed Oct 12 10:24:11 2005
@@ -53,16 +53,16 @@
 a href=./whichversion.htmlWhich version?/a
 /li
 li
-a href=./download-55.cgiApache Tomcat 5.5/a
+a href=./download-55.cgiTomcat 5.5/a
 /li
 li
-a href=./download-41.cgiApache Tomcat 4.1/a
+a href=./download-41.cgiTomcat 4.1/a
 /li
 li
-a href=./download-33.cgiApache Tomcat 3.3/a
+a href=./download-33.cgiTomcat 3.3/a
 /li
 li
-a href=./download-connectors.cgiApache Tomcat Connectors/a
+a href=./download-connectors.cgiTomcat Connectors/a
 /li
 li
 a href=http://archive.apache.org/dist/;Archives/a
@@ -93,13 +93,16 @@
 /p
 ul
 li
-a href=./tomcat-5.5-doc/index.htmlApache Tomcat 5.5/a
+a href=./tomcat-5.5-doc/index.htmlTomcat 5.5/a
 /li
 li
-a href=./tomcat-4.1-doc/index.htmlApache Tomcat 4.1/a
+a 

[PATCH] Catalina CGIServlet broken redirects

2005-10-12 Thread May, Patrick
Title: [PATCH] Catalina CGIServlet broken redirects





Hello,


The Catalina CGIServlet (as of tomcat 5.0.28) does not have a special case for handling Status headers set by a cgi script. When a script tries to issue a redirect, tomcat returns inconsistent headers:

 HTTP/1.x 200 OK
 Status: 300 Moved


This behaviour breaks the redirect. Attached is a patch which adds a special case for Status headers to


 catalina/src/share/org/apache/catalina/servlets/CGIServlet.java


The patch was written against the tomcat 5.0.28 sources.


Cheers,


Patrick May



~~
Patrick May
Software Engineer
SourceMedia
1 State St Plaza 25th Floor
New York, NY 10004
Tel: (212) 803-6589
Email: [EMAIL PROTECTED]
URL: www.sourcemedia.com






This communication is intended solely for the addressee and is confidential and not for third party unauthorized distribution-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

svn commit: r315007 - in /tomcat/site/trunk: docs/download-55.html xdocs/download-55.xml

2005-10-12 Thread yoavs
Author: yoavs
Date: Wed Oct 12 12:17:58 2005
New Revision: 315007

URL: http://svn.apache.org/viewcvs?rev=315007view=rev
Log:
Sorry for the multiple commits, I keep seeing new details.

Updated 5.5.12 distro names from jakarta-* to apache-*, updated download path 
to use newly createds /www/www.apache.org/dist/tomcat root.

Modified:
tomcat/site/trunk/docs/download-55.html
tomcat/site/trunk/xdocs/download-55.xml

Modified: tomcat/site/trunk/docs/download-55.html
URL: 
http://svn.apache.org/viewcvs/tomcat/site/trunk/docs/download-55.html?rev=315007r1=315006r2=315007view=diff
==
--- tomcat/site/trunk/docs/download-55.html (original)
+++ tomcat/site/trunk/docs/download-55.html Wed Oct 12 12:17:58 2005
@@ -308,7 +308,7 @@
 blockquote
   p
   a name=5.5.12Please/a see the 
-  a href=[preferred]/jakarta/tomcat-5/v5.5.12/README.htmlREADME/a
+  a href=[preferred]/tomcat/tomcat-5/v5.5.12/README.htmlREADME/a
   file for packaging information.  It explains what every distribution 
contains.
   /p
 
@@ -329,19 +329,19 @@
 liCore:
   ul
   li
-  a 
href=[preferred]/jakarta/tomcat-5/v5.5.12/bin/jakarta-tomcat-5.5.12.zipzip/a
 
-  (a 
href=http://www.apache.org/dist/jakarta/tomcat-5/v5.5.12/bin/jakarta-tomcat-5.5.12.zip.asc;pgp/a,
 
-  a 
href=http://www.apache.org/dist/jakarta/tomcat-5/v5.5.12/bin/jakarta-tomcat-5.5.12.zip.md5;md5/a)
+  a 
href=[preferred]/tomcat/tomcat-5/v5.5.12/bin/apache-tomcat-5.5.12.zipzip/a 
+  (a 
href=http://www.apache.org/dist/tomcat/tomcat-5/v5.5.12/bin/apache-tomcat-5.5.12.zip.asc;pgp/a,
 
+  a 
href=http://www.apache.org/dist/tomcat/tomcat-5/v5.5.12/bin/apache-tomcat-5.5.12.zip.md5;md5/a)
   /li
   li
-  a 
href=[preferred]/jakarta/tomcat-5/v5.5.12/bin/jakarta-tomcat-5.5.12.tar.gztar.gz/a
 
-  (a 
href=http://www.apache.org/dist/jakarta/tomcat-5/v5.5.12/bin/jakarta-tomcat-5.5.12.tar.gz.asc;pgp/a,
 
-  a 
href=http://www.apache.org/dist/jakarta/tomcat-5/v5.5.12/bin/jakarta-tomcat-5.5.12.tar.gz.md5;md5/a)
+  a 
href=[preferred]/tomcat/tomcat-5/v5.5.12/bin/apache-tomcat-5.5.12.tar.gztar.gz/a
 
+  (a 
href=http://www.apache.org/dist/tomcat/tomcat-5/v5.5.12/bin/apache-tomcat-5.5.12.tar.gz.asc;pgp/a,
 
+  a 
href=http://www.apache.org/dist/tomcat/tomcat-5/v5.5.12/bin/apache-tomcat-5.5.12.tar.gz.md5;md5/a)
   /li
   li
-  a 
href=[preferred]/jakarta/tomcat-5/v5.5.12/bin/jakarta-tomcat-5.5.12.exeWindows
 Executable/a 
-  (a 
href=http://www.apache.org/dist/jakarta/tomcat-5/v5.5.12/bin/jakarta-tomcat-5.5.12.exe.asc;pgp/a,
 
-  a 
href=http://www.apache.org/dist/jakarta/tomcat-5/v5.5.12/bin/jakarta-tomcat-5.5.12.exe.md5;md5/a)
+  a 
href=[preferred]/tomcat/tomcat-5/v5.5.12/bin/apache-tomcat-5.5.12.exeWindows 
Executable/a 
+  (a 
href=http://www.apache.org/dist/tomcat/tomcat-5/v5.5.12/bin/apache-tomcat-5.5.12.exe.asc;pgp/a,
 
+  a 
href=http://www.apache.org/dist/tomcat/tomcat-5/v5.5.12/bin/apache-tomcat-5.5.12.exe.md5;md5/a)
   /li
   /ul
 /li
@@ -349,28 +349,28 @@
 liDeployer: 
   ul
   li
-  a 
href=[preferred]/jakarta/tomcat-5/v5.5.12/bin/jakarta-tomcat-5.5.12-deployer.zipzip/a
 
-  (a 
href=http://www.apache.org/dist/jakarta/tomcat-5/v5.5.12/bin/jakarta-tomcat-5.5.12-deployer.zip.asc;pgp/a,
 
-   a 
href=http://www.apache.org/dist/jakarta/tomcat-5/v5.5.12/bin/jakarta-tomcat-5.5.12-deployer.zip.md5;md5/a)
+  a 
href=[preferred]/tomcat/tomcat-5/v5.5.12/bin/apache-tomcat-5.5.12-deployer.zipzip/a
 
+  (a 
href=http://www.apache.org/dist/tomcat/tomcat-5/v5.5.12/bin/apache-tomcat-5.5.12-deployer.zip.asc;pgp/a,
 
+   a 
href=http://www.apache.org/dist/tomcat/tomcat-5/v5.5.12/bin/apache-tomcat-5.5.12-deployer.zip.md5;md5/a)
   /li
   li
-  a 
href=[preferred]/jakarta/tomcat-5/v5.5.12/bin/jakarta-tomcat-5.5.12-deployer.tar.gztar.gz/a
 
-  (a 
href=http://www.apache.org/dist/jakarta/tomcat-5/v5.5.12/bin/jakarta-tomcat-5.5.12-deployer.tar.gz.asc;pgp/a,
 
-  a 
href=http://www.apache.org/dist/jakarta/tomcat-5/v5.5.12/bin/jakarta-tomcat-5.5.12-deployer.tar.gz.md5;md5/a)
+  a 
href=[preferred]/tomcat/tomcat-5/v5.5.12/bin/apache-tomcat-5.5.12-deployer.tar.gztar.gz/a
 
+  (a 
href=http://www.apache.org/dist/tomcat/tomcat-5/v5.5.12/bin/apache-tomcat-5.5.12-deployer.tar.gz.asc;pgp/a,
 
+  a 
href=http://www.apache.org/dist/tomcat/tomcat-5/v5.5.12/bin/apache-tomcat-5.5.12-deployer.tar.gz.md5;md5/a)
   /li
   /ul
 /li
 liEmbedded:
   ul
   li
-  a 
href=[preferred]/jakarta/tomcat-5/v5.5.12/bin/jakarta-tomcat-5.5.12-embed.zipzip/a
 
-  (a 

DO NOT REPLY [Bug 37060] New: - user-agent header is null immediately after CMA login

2005-10-12 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=37060.
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=37060

   Summary: user-agent header is null immediately after CMA login
   Product: Tomcat 5
   Version: 5.5.12
  Platform: PC
OS/Version: Windows XP
Status: NEW
  Severity: normal
  Priority: P3
 Component: Connector:HTTP
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: [EMAIL PROTECTED]


When processing the page immedately after a successful container managed
authentication login, the user-agent header is NULL. If I refresh the page or
go to other pages, the user-agent header is rendered properly.

I have discussed this issue on the tomcat-user list for a number of days,
thinking it must be something I had done wrong,

Here are the steps:

1) Request a protected page from my application.
2) My CMA login page pops up, I enter userid and password.
3) This POST is issued when I submit it:
 POST /stars/auth/ j_username=user1j_password=password1login=Login
4) HTTPLiveHeaders show all of the GET requests have a user-agent set
   (I've included all 90 lines of them below).
5) My page that appears has the following code:
  %
  String _userAgent = request.getHeader(user-agent);
  out.write(USER-AGENT=+_userAgent);
  ...
6) And displays the following on my page:
  USER-AGENT=null

START OF HTTPLiveHeaders capture from the above POST:

http://smartfish:8080/stars/auth/

POST /stars/auth/ HTTP/1.1
Host: smartfish:8080
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.7.12)
Gecko/20050915 Firefox/1.0.7
Accept:
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://smartfish:8080/stars/HomePage.do
Cookie: JSESSIONID=3F6575A5957AC84BCC60FA878ED092A5.srv1; username=user1
Content-Type: application/x-www-form-urlencoded
Content-Length: 45
j_username=user1j_password=password1login=Login
HTTP/1.x 302 Moved Temporarily
Server: Apache-Coyote/1.1
Location:
http://smartfish:8080/stars/j_security_check?j_username=user1j_password=fbce66f99c809283638f344ecb3d50674ea64189
Content-Length: 0
Date: Wed, 12 Oct 2005 16:33:46 GMT
--
http://smartfish:8080/stars/j_security_check?j_username=user1j_password=fbce66f99c809283638f344ecb3d50674ea64189

GET
/stars/j_security_check?j_username=user1j_password=fbce66f99c809283638f344ecb3d50674ea64189
HTTP/1.1
Host: smartfish:8080
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.7.12)
Gecko/20050915 Firefox/1.0.7
Accept:
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://smartfish:8080/stars/HomePage.do
Cookie: JSESSIONID=3F6575A5957AC84BCC60FA878ED092A5.srv1; username=user1

HTTP/1.x 302 Moved Temporarily
Server: Apache-Coyote/1.1
Location: http://smartfish:8080/stars/HomePage.do
Content-Length: 0
Date: Wed, 12 Oct 2005 16:33:46 GMT
--
http://smartfish:8080/stars/HomePage.do

GET /stars/HomePage.do HTTP/1.1
Host: smartfish:8080
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.7.12)
Gecko/20050915 Firefox/1.0.7
Accept:
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://smartfish:8080/stars/HomePage.do
Cookie: JSESSIONID=3F6575A5957AC84BCC60FA878ED092A5.srv1; username=user1

HTTP/1.x 200 OK
Server: Apache-Coyote/1.1
Pragma: No-cache
Cache-Control: no-cache,no-store,max-age=0
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Content-Type: text/html;charset=UTF-8
Content-Language: en
Content-Length: 2989
Date: Wed, 12 Oct 2005 16:33:52 GMT
--
http://smartfish:8080/stars/WEB-INF/pages/%3C%=request.getContextPath()%%3E/images/cm_fill.gif

GET /stars/WEB-INF/pages/%3C%=request.getContextPath()%%3E/images/cm_fill.gif
HTTP/1.1
Host: smartfish:8080
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.7.12)
Gecko/20050915 Firefox/1.0.7
Accept: image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://smartfish:8080/stars/HomePage.do
Cookie: 

DO NOT REPLY [Bug 36995] - duplicate session ids

2005-10-11 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=36995.
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=36995


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||INVALID




--- Additional Comments From [EMAIL PROTECTED]  2005-10-11 09:09 ---
(In reply to comment #1)
 I hava look inside also inside 5.5.x code (ManagerBase.generateSessionId()) 
 and
 think the duplication risk is there. But the risk is small, as random 
 generator
 works really good. I have test with Linux Suse 9.3 and have no chance to
 reproduce your test result. Can you please send your testscripts and os
information?
 

This does not make any sense. The risk does not exist, and the uniqueness check
is just there to make insecure people more secure. I am actually tired of it,
and would want it removed.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 37018] New: - Document how to use tomcat-SSL with a pkcs11 token

2005-10-11 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=37018.
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=37018

   Summary: Document how to use tomcat-SSL with a pkcs11 token
   Product: Tomcat 5
   Version: 5.5.9
  Platform: Other
   URL: http://java.sun.com/j2se/1.5.0/docs/guide/security/p11gu
ide.html
OS/Version: other
Status: NEW
  Severity: enhancement
  Priority: P2
 Component: Connector:Coyote
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: [EMAIL PROTECTED]


Since jdk1.5 has a sun.security.pkcs11.SunPKCS11 implementing
java.security.Provider, it should be possible to no longer store private keys on
the server computer's harddisk, but on a USB token or alike (being willing to
accept that SSL may become very slow...)
Others appear to have asked for this 
http://marc.theaimsgroup.com/?l=tomcat-userm=111471470228516w=2

more also in 
http://forum.java.sun.com/thread.jspa?threadID=256018messageID=3838346

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 36905] - Tomcat WebDAV characters bug

2005-10-11 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=36905.
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=36905





--- Additional Comments From [EMAIL PROTECTED]  2005-10-11 13:07 ---
Created an attachment (id=16655)
 -- (http://issues.apache.org/bugzilla/attachment.cgi?id=16655action=view)
Screen dump of directorylisting with filename containing semi-colon.


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 36905] - Tomcat WebDAV characters bug

2005-10-11 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=36905.
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=36905





--- Additional Comments From [EMAIL PROTECTED]  2005-10-11 13:07 ---
Created an attachment (id=16656)
 -- (http://issues.apache.org/bugzilla/attachment.cgi?id=16656action=view)
Screen-dump of error-msg when I click the filename with semi-colon.


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 36905] - Tomcat WebDAV characters bug

2005-10-11 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=36905.
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=36905





--- Additional Comments From [EMAIL PROTECTED]  2005-10-11 13:10 ---
I have discovered a simular problem that seems to be related to this bug.

I place a file with semi-colon in the filename under the Tomcat http server. 
When I am linking to that file (test;01.png) i get the requested resource is 
not available.

Take a look at the attached screendumps.

Screen1 shows a directory listing of the file in question.
Screen2 shows the error-msg when i click the filename.

This is not a problem in Apache 2.0.53
I tested and found this problem using IE 6.0 and Firefox 1.0.7 against Tomcat 
5.5.12

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 36995] - duplicate session ids

2005-10-11 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=36995.
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=36995





--- Additional Comments From [EMAIL PROTECTED]  2005-10-11 14:01 ---
Created an attachment (id=16657)
 -- (http://issues.apache.org/bugzilla/attachment.cgi?id=16657action=view)
A simple test case to check for duplicate session ids.


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 36995] - duplicate session ids

2005-10-11 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=36995.
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=36995





--- Additional Comments From [EMAIL PROTECTED]  2005-10-11 14:02 ---
We have Suse 8.2 with kernel 2.4.20-64GB-SMP on our servers. Java version is
1.4.2_03 and Tomcat 4.1.29.

As the chances for the described scenario are slim, I suggest to reduce the
value of ManagerBase.SESSION_ID_BYTES from 16 to 2 or 3 for testing. This
should increase the chances of duplicates returned by
ManagerBase.generateSessionId() without affecting the behaviour of Tomcat.

Additionally, I put a Thread.yield() below the end of the sychronized block
in ManagerBase.createSession(), to provoke the racing time condition, further
increasing the chances for the scenario.

Then I started Tomcat with the JSP page session.jsp:

%@ page language=java %%= request.getSession().getId() %

The test application performs repeated request from different threads,
recoding the returned session ids and checking for duplicates. Even with
the reduced random range it might take several runs to stumble into a
duplicate. I'm sure there are better ways to test it, it is just a simple
test.

I'm not saying this is an urgent problem, or that it happens all the time, I
merely think that it can happen, because random numbers, however large the
range might be, are not unique by themselves, are they? And if it can happen,
it will happen, eventually. Or am I missing something here?


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



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

2005-10-11 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=29526.
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=29526


[EMAIL PROTECTED] changed:

   What|Removed |Added

 CC||[EMAIL PROTECTED]




-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 37020] New: - antiJARLocking and antiResourceLocking with many lib jars causes performance degradation and reload failure.

2005-10-11 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=37020.
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=37020

   Summary: antiJARLocking and antiResourceLocking with many lib
jars causes performance degradation and reload failure.
   Product: Tomcat 5
   Version: 5.5.9
  Platform: Other
OS/Version: other
Status: NEW
  Severity: normal
  Priority: P2
 Component: Catalina
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: [EMAIL PROTECTED]


Here is a catch-22. 

We want to use deployer to deploy web applications to target servers. It 
formalises the process of build a little more. However, deployer does not work 
well on Windows as JARs get left behind. Furthermore another bug I submitted 
yesterday shows that deploying, restarting the Windows service and then 
undeploying breaks.

That restart bug aside, in order to even get deploy and undeploy to work we 
have to use antiJARLocking=true antiResourceLocking=true on our context.

I added this just the other day and I noticed that starting Tomcat took a whole 
lot longer than usual (nearly 1 minute), and that compiling class changes to my 
development Tomcat did not cause the usual web application reload (as indicated 
by reloadable=true on the context).

I decided that the only thing I changed was the antiJARLocking=true 
antiResourceLocking=true attributes. I took them off today and Tomcat starts 
up in 20s. Furthermore, compiling class changes works again.

I thought about why this might be and we have 18M of lib JARs. In order for the 
anti locking to work I notice that copies are made to a temp folder. I can only 
assume therefore that having so many JARs in a web application lib combined 
with using the anti locking features causes this huge degradation in ability to 
develop and test. 

I've made sure this is definately the problem by adding and removing the 
antiJARLocking=true antiResourceLocking=true attributes a few times, and it 
always varies from 58s and no reloading with them set to true and 20s and 
reloading ok with them false.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 36994] - httpsession.getId() throws ISE after invalidation

2005-10-11 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=36994.
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=36994





--- Additional Comments From [EMAIL PROTECTED]  2005-10-11 17:15 ---
I agree with Lars.
I use a Map (stored as an attribute of the ServletContext) to keep track of the
active http sessions.
Using Tomcat 5.5.9 I didn't have any problem logging-out, but with Tomcat 5.5.12
when I try to invalidate a session I get an ISE (getId: Session already
invalidated).

(In reply to comment #0)
 After a http session is invalidated a call to getId() throws an
 IllegalStateException(already invalidated).
 
 I think this doesn't conform to the servlet spec that doesn't say anything 
 about
 an ISE in the api doc. All ISEs that can be thrown by the session-methods are
 explicit listed.
 
 Beside this it is very essential to have the sessionId at least during
 HttpSessionBindingListener.valueUnbound() if this method is called during the
 invalidation.
 The api doc of valueUnbound() says:
 Notifies the object that it is being unbound from a session and identifies 
 the
 session.
 The session is identified by its Id, but if the Id is not accessible 
 anymore...
 
 The ISE was inserted in Version 5.5.10: excerpt from the changelog:
 Re-add patch causing Session.getId to throw an ISE, and make all internal
 components use a safe getIdInternal
 
 
 Thanks
 Lars



-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



Re: [RESULT][VOTE] Tomcat 5.5.12 is stable

2005-10-11 Thread Leon Rosenberg
Probably a late answer, but when you're saying that have been no
changes to the sourcecode since alpha, you mean, that
http://issues.apache.org/bugzilla/show_bug.cgi?id=36541 is still open
for 5.5.12?

So the bug is resolved/fixed but actually unfixed for next 6 month?

Leon

On 10/9/05, Yoav Shapira [EMAIL PROTECTED] wrote:
 Hi,
 The 5.5.12 stability vote is now over, and the release is stable.  The
 following votes were cast for stable:
 Jeanfrancois Arcand
 Allistair Crossley
 Henri Gomez
 Jim Jagielski (not sure if this one is binding in the strictest sense of the
 word)
 Remy Maucherat
 Peter Rossbach
 Yoav Shapira
 Mladen Turk

 There were no beta or alpha votes.  I'll go update the web site.

 There have been no code changes since the alpha release, so if you already 
 have
 the 5.5.12-alpha distribution you don't have to go download a new distro.

 Thank you,

 Yoav Shapira
 System Design and Management Fellow
 MIT Sloan School of Management
 Cambridge, MA, USA
 [EMAIL PROTECTED] / www.yoavshapira.com

 -
 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: [RESULT][VOTE] Tomcat 5.5.12 is stable

2005-10-11 Thread Yoav Shapira
Hi,

--- Leon Rosenberg [EMAIL PROTECTED] wrote:

 Probably a late answer, but when you're saying that have been no
 changes to the sourcecode since alpha, you mean, that
 http://issues.apache.org/bugzilla/show_bug.cgi?id=36541 is still open
 for 5.5.12?

No, that's not what I mean.  As the 5.5.12 changelog indicates, issue 36541 is
fixed in that release.  It was included in the 5.5.12-alpha distro, and so it's
in the stable release as well.

 So the bug is resolved/fixed but actually unfixed for next 6 month?

No, you misunderstood.  As an aside, even if the 36541 fix were not included in
5.5.12, I would disagree with actually unfixed and next 6 month as neither
would be accurate.  But these are separate issues for a separate thread if you
want to rant about how Bugzilla is used or about how frequently we cut
releases.

Yoav

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



Tomcat ApplicationDispatcher forward handling

2005-10-11 Thread Stevenson, Bob
We have a question about QueryString handling in tomcat.  We have a
simple question; we noticed that tomcat carries querystring forward on
forward requests if the current forward querystring is NULL only.  Is
this the correct behavior and if so; were is this documented?  We've
been through the Servlet 2.4 spec and can't find a definition of this
behavior.

The specification indicates that javax.servlet.forward.query_string
should reflect the initial client requested query string; however the
specification seems quiet about request.getQueryString's behavior.  Any
insight would be helpful.

Thanks!
 

-Original Message-
From: Yoav Shapira [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 11, 2005 11:05 AM
To: Tomcat Developers List
Subject: Re: [RESULT][VOTE] Tomcat 5.5.12 is stable

Hi,

--- Leon Rosenberg [EMAIL PROTECTED] wrote:

 Probably a late answer, but when you're saying that have been no
 changes to the sourcecode since alpha, you mean, that
 http://issues.apache.org/bugzilla/show_bug.cgi?id=36541 is still open
 for 5.5.12?

No, that's not what I mean.  As the 5.5.12 changelog indicates, issue
36541 is
fixed in that release.  It was included in the 5.5.12-alpha distro, and
so it's
in the stable release as well.

 So the bug is resolved/fixed but actually unfixed for next 6 month?

No, you misunderstood.  As an aside, even if the 36541 fix were not
included in
5.5.12, I would disagree with actually unfixed and next 6 month as
neither
would be accurate.  But these are separate issues for a separate thread
if you
want to rant about how Bugzilla is used or about how frequently we cut
releases.

Yoav

-
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: [RESULT][VOTE] Tomcat 5.5.12 is stable

2005-10-11 Thread Leon Rosenberg
On 10/11/05, Yoav Shapira [EMAIL PROTECTED] wrote:
 Hi,

 --- Leon Rosenberg [EMAIL PROTECTED] wrote:

  Probably a late answer, but when you're saying that have been no
  changes to the sourcecode since alpha, you mean, that
  http://issues.apache.org/bugzilla/show_bug.cgi?id=36541 is still open
  for 5.5.12?

 No, that's not what I mean.  As the 5.5.12 changelog indicates, issue 36541 is
 fixed in that release.  It was included in the 5.5.12-alpha distro, and so 
 it's
 in the stable release as well.

Superb :-) Sorry, I should have looked into the changelog first.


  So the bug is resolved/fixed but actually unfixed for next 6 month?

 No, you misunderstood.  As an aside, even if the 36541 fix were not included 
 in
 5.5.12, I would disagree with actually unfixed and next 6 month as neither
 would be accurate.  But these are separate issues for a separate thread if you
 want to rant about how Bugzilla is used or about how frequently we cut
 releases.

Mea culpa


 Yoav

Leon

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



DO NOT REPLY [Bug 36994] - httpsession.getId() throws ISE after invalidation

2005-10-11 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=36994.
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=36994


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WONTFIX




--- Additional Comments From [EMAIL PROTECTED]  2005-10-11 19:19 ---
This is now required by the servlet spec, so it can't be changed by Tomcat. 
See:
http://jcp.org/aboutJava/communityprocess/maintenance/jsr154/154errata.txt

If the Servlet Expert Group decides to change this at some future point, then 
Tomcat can consider removing the ISE.  Until then, the only place to complain 
about this is:  [EMAIL PROTECTED]

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 37035] New: - Prevent temp\ directory disappearing when tar.gz is used on Windows

2005-10-11 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=37035.
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=37035

   Summary: Prevent temp\ directory disappearing when tar.gz is used
on Windows
   Product: Tomcat 5
   Version: 5.5.12
  Platform: Other
OS/Version: Windows XP
Status: NEW
  Severity: enhancement
  Priority: P2
 Component: Unknown
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: [EMAIL PROTECTED]


If a user:

 - is on Windows
 - downloads the tar.gz distribution
 - unpacks with WinZIP

then Tomcat breaks in odd ways. This is because the temp\ directory is empty in
the distribution, and WinZIP's default behaviour is not to create directories if
they are empty.

I know this is a combination of WinZIP stupidity and odd user behaviour, but
there is an easy way to avoid the problem: add a temp\README.txt file so the
directory is non-empty.

There was a temp\README.txt in 4.1 days, which read:


This temp directory is used by the JVM for temporary file storage.
The JVM is configured to use this as its java.io.tmpdir in the
catalina.sh and catalina.bat scripts.  Tomcat is configured to use
this temporary directory rather than its default for security reasons.
The temp directory must exist for Tomcat to work correctly.


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



RE: More helpful reporting of exceptions in JSPs

2005-10-11 Thread Mark Thomas
The 'correct' way to do this is to create an enhancement request in bugzilla and
attach your patch to it.

Mark 

 -Original Message-
 From: Tim Fennell [mailto:[EMAIL PROTECTED] 
 Sent: Sunday, October 09, 2005 10:50 PM
 To: tomcat-dev@jakarta.apache.org
 Subject: More helpful reporting of exceptions in JSPs
 
 Hi,
 
 I'll apologize in advance if this is the wrong place to post 
 this, or  
 if this has been covered before.  I had a good read through the  
 Tomcat docs and faqs, searched the bug database, and googled around  
 on the topic, but could not really find anything.
 
 I've been using Tomcat for a while, and in general have found it as  
 good a servlet/JSP container as any I've used.  With one exception  
 (no pun intended).  A long time ago I started out using 
 WebLogic, and  
 the one thing that I loved about WebLogic, that is missing from  
 Tomcat, is that when an Exception occurred in a JSP it would 
 tell you  
 what line number *in the JSP* generated the exception, and 
 show you a  
 snippet of code around the offending line.
 
 For quite a while I'd figured that the way Tomcat was built 
 prevented  
 this from being easy/possible, but I didn't look.  Well, I finally  
 got around to looking, and it only took me a couple of hours to  
 implement it.  Which makes me wonder if there is some other reason  
 that this isn't done in Tomcat/Jasper?
 
 At any rate, I have code that will do this now, and I think 
 it'd be a  
 great productivity boost for anyone else developing JSPs on Tomcat.   
 It amounts to small patches to two files.  The first is  
 org.apache.jasper.compiler.Compiler to make it hang on to the parse  
 tree (pageNodes) if in development mode, and a getter to make this  
 accessible.  The second is to  
 org.apache.jasper.servlet.JspServletWrapper to do the grunt work of  
 mapping a stack frame from the exception back to the line in the JSP  
 that it came from.
 
 It's all coded up to function only when in development mode, and is  
 reasonably well commented.  Would any of the committers be 
 interested  
 in taking a look at this if I put together a patch and posted it  
 here?  Cheers,
 
 -Tim Fennell
 http://stripes.mc4j.org
 
 -
 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]



DO NOT REPLY [Bug 36983] New: - session problems with cross context webapps

2005-10-10 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=36983.
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=36983

   Summary: session problems with cross context webapps
   Product: Tomcat 5
   Version: 5.5.12
  Platform: Other
OS/Version: other
Status: NEW
  Severity: normal
  Priority: P2
 Component: Catalina
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: [EMAIL PROTECTED]


I encountered a problem with sessions and cross context calls. Here is a 
scenario:

We have to webapps (webapp1 and webapp2). 
webapp1 is configured with cross contex set to true so it is able to dispatch to
webapp2. 
Now user access webapp1 and webapp2. Two sessions are created for both webapps. 

request.getSession in webapp1 returns session1 
request.getSession in webapp2 returns session2

Problem is during dispatching request from webapp1 to webapp2, because 
request.getSession in webapp2 does not return session2, but only for request
which is dispatched from webapp1. all the following request which are not cross
context again return session2, so session is not lost. 

Tomcat 5.0.x works fine when dispatching cross context requests (two separate
sessions are maintained for each webapp).

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



svn commit: r312627 - /tomcat/build/tc5.5.x/build.xml

2005-10-10 Thread funkman
Author: funkman
Date: Mon Oct 10 04:53:41 2005
New Revision: 312627

URL: http://svn.apache.org/viewcvs?rev=312627view=rev
Log:
Remove all cvs dependencies/


Modified:
tomcat/build/tc5.5.x/build.xml

Modified: tomcat/build/tc5.5.x/build.xml
URL: 
http://svn.apache.org/viewcvs/tomcat/build/tc5.5.x/build.xml?rev=312627r1=312626r2=312627view=diff
==
--- tomcat/build/tc5.5.x/build.xml (original)
+++ tomcat/build/tc5.5.x/build.xml Mon Oct 10 04:53:41 2005
@@ -7,7 +7,7 @@
   !-- property values you must customize for successful building!!!--
   property file=${user.home}/build.properties/
   property file=build.properties/
-  
+
   property file=build.properties.default/
 
   !-- Project Properties --
@@ -16,7 +16,7 @@
   property name=version.major value=5 /
   property name=version.minor value=5 /
   property name=version.build value=0 /
-  property name=version.patch value=0 /  
+  property name=version.patch value=0 /
   property name=version   value=5.5.0-dev /
   property name=version.number
value=${version.major}.${version.minor}.${version.build}.${version.patch} /
 
@@ -32,14 +32,11 @@
   property name=jasper.projectvalue=jasper /
   property name=ant.jar   value=${ant.home}/lib/ant.jar/
   property name=ant-launcher.jar  
value=${ant.home}/lib/ant-launcher.jar/
-  property name=cvstagvalue= /
-  property name=cvs.base
-   value=${basedir}/../
 
   !-- Source dependencies --
   property name=api.home
value=${basedir}/../${api.project}/
-  property name=catalina.home 
+  property name=catalina.home
value=${basedir}/../${catalina.project}/
   property name=jasper.home
value=${basedir}/../${jasper.project}/jasper2/
@@ -62,13 +59,13 @@
   property name=webapps.buildvalue=${catalina.home}/webapps/build/
   property name=webapps.dist value=${catalina.home}/webapps/dist/
   property name=tomcat-dbcp.home value=${base.path}/tomcat-deps /
-  property name=tomcat-dbcp.jar 
+  property name=tomcat-dbcp.jar
value=${tomcat-dbcp.home}/naming-factory-dbcp.jar/
   property name=jasper-compiler-jdt.home value=${base.path}/tomcat-deps /
-  property name=jasper-compiler-jdt.jar 
+  property name=jasper-compiler-jdt.jar
value=${jasper-compiler-jdt.home}/jasper-compiler-jdt.jar/
-  
-  !-- Some compilers will disable debugging if true. And it doesn't do 
anything 
+
+  !-- Some compilers will disable debugging if true. And it doesn't do 
anything
in most cases --
   property name=compile.optimize value=false/
   property name=compile.debugvalue=true /
@@ -127,17 +124,11 @@
   srcfiles dir=${jtc.home}/http11/src includes=** /
 /uptodate
 
-uptodate property=admin.build.notrequired 
+uptodate property=admin.build.notrequired
   
targetfile=${tomcat.build}/server/webapps/admin/WEB-INF/web.xml
   srcfiles dir=${catalina.home}/webapps/admin includes=** /
 /uptodate
 
-!--
-uptodate property=commons-daemon.build.notrequired
-  targetfile=${commons-daemon.jar}
-  srcfiles dir=${cvs.base}/jakarta-commons/daemon includes=** /
-/uptodate
---
   /target
 
 
@@ -146,24 +137,24 @@
 copy file=${jsp-api.jar}  todir=${tomcat.build}/common/lib/
 copy file=${servlet-api.jar} todir=${tomcat.build}/common/lib/
 
-copy file=${commons-el.jar} 
+copy file=${commons-el.jar}
   todir=${tomcat.build}/common/lib/
 
-copy todir=${tomcat.build}/bin 
+copy todir=${tomcat.build}/bin
file=${commons-logging-api.jar} /
 
 copy todir=${tomcat.build}/server/lib file=${commons-modeler.jar} /
 
 copy todir=${tomcat.build}/bin file=${commons-daemon.jar} /
-copy todir=${tomcat.build}/bin file=${commons-daemon.jsvc.tar.gz} 
+copy todir=${tomcat.build}/bin file=${commons-daemon.jsvc.tar.gz}
 failonerror=false /
 
 copy tofile=${tomcat.build}/bin/tomcat-native.tar.gz
-   file=${tomcat-native.tar.gz} /
-   
+file=${tomcat-native.tar.gz} /
+
 !-- copy todir=${tomcat.build}/common/lib file=${ant.jar}/
 copy todir=${tomcat.build}/common/lib file=${ant-launcher.jar}/ --
-   copy todir=${tomcat.build}/common/lib 
file=${jasper-compiler-jdt.jar}/
+copy todir=${tomcat.build}/common/lib 
file=${jasper-compiler-jdt.jar}/
   /target
 
   !-- == Build all components === --
@@ -195,7 +186,7 @@
 
   /target
 
-  target name=build-tomcatjk unless=tomcatjk.build.notrequired 
+  target name=build-tomcatjk unless=tomcatjk.build.notrequired
   description=build j-t-c/jk 
 echo== Building: tomcat-jk ${catalina.build} /echo
 
@@ -220,13 +211,13 @@
 
 /ant
 
-   !--
-copy file=${jtc.home}/jk/conf/jk2.properties 
+!--
+copy 

DO NOT REPLY [Bug 36994] New: - httpsession.getId() throws ISE after invalidation

2005-10-10 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=36994.
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=36994

   Summary: httpsession.getId() throws ISE after invalidation
   Product: Tomcat 5
   Version: 5.0.12
  Platform: Other
OS/Version: other
Status: NEW
  Severity: normal
  Priority: P2
 Component: Catalina
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: [EMAIL PROTECTED]


After a http session is invalidated a call to getId() throws an
IllegalStateException(already invalidated).

I think this doesn't conform to the servlet spec that doesn't say anything about
an ISE in the api doc. All ISEs that can be thrown by the session-methods are
explicit listed.

Beside this it is very essential to have the sessionId at least during
HttpSessionBindingListener.valueUnbound() if this method is called during the
invalidation.
The api doc of valueUnbound() says:
Notifies the object that it is being unbound from a session and identifies the
session.
The session is identified by its Id, but if the Id is not accessible anymore...

The ISE was inserted in Version 5.5.10: excerpt from the changelog:
Re-add patch causing Session.getId to throw an ISE, and make all internal
components use a safe getIdInternal


Thanks
Lars

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 36995] - duplicate session ids

2005-10-10 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=36995.
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=36995


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |ASSIGNED




--- Additional Comments From [EMAIL PROTECTED]  2005-10-10 19:58 ---
I hava look inside also inside 5.5.x code (ManagerBase.generateSessionId()) and
think the duplication risk is there. But the risk is small, as random generator
works really good. I have test with Linux Suse 9.3 and have no chance to
reproduce your test result. Can you please send your testscripts and os 
information?

Thanks
Peter 

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 35853] - Make JkMount compatible with servlet-mapping/url-pattern in web.xml

2005-10-10 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=35853.
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=35853


[EMAIL PROTECTED] changed:

   What|Removed |Added

  Component|Connector:JK/AJP|Native:JK
Product|Tomcat 4|Tomcat 5




-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



Tomcat Snapshots

2005-10-10 Thread Henri Yandell
Currently the following CVS modules are snapshotted to
http://cvs.apache.org/snapshots/

jakarta-tomcat jakarta-tomcat-4.0 jakarta-tomcat-5
jakarta-tomcat-catalina jakarta-tomcat-jasper
jakarta-tomcat-connectors jakarta-tools jakarta-watchdog
jakarta-servletapi jakarta-servletapi-4 jakarta-servletapi-5
jakarta-watchdog-4.0

I need to identify the svn match to each one of those to continue the
snapshots going. ie)

jakarta-tomcat-tools  =  tomcat/archive/tools/trunk/

Though I imagine something in archive/ isn't a candidate for snapshotting.

Could you let me know which parts of the tomcat svn directory you'd
like me to set snapshotting up for?

(knowing about the snapshots is a pretty recent thing for me, so it's
still somewhat of an afterthought to a migration)

Hen

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



[RESULT][VOTE] Tomcat 5.5.12 is stable

2005-10-09 Thread Yoav Shapira
Hi,
The 5.5.12 stability vote is now over, and the release is stable.  The
following votes were cast for stable:
Jeanfrancois Arcand
Allistair Crossley
Henri Gomez
Jim Jagielski (not sure if this one is binding in the strictest sense of the
word)
Remy Maucherat
Peter Rossbach
Yoav Shapira
Mladen Turk

There were no beta or alpha votes.  I'll go update the web site.  

There have been no code changes since the alpha release, so if you already have
the 5.5.12-alpha distribution you don't have to go download a new distro.

Thank you,

Yoav Shapira
System Design and Management Fellow
MIT Sloan School of Management
Cambridge, MA, USA
[EMAIL PROTECTED] / www.yoavshapira.com

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



svn commit: r307444 - in /tomcat/site/trunk: docs/index.html xdocs/index.xml

2005-10-09 Thread yoavs
Author: yoavs
Date: Sun Oct  9 08:11:14 2005
New Revision: 307444

URL: http://svn.apache.org/viewcvs?rev=307444view=rev
Log:
5.5.12 is latest stable.

Modified:
tomcat/site/trunk/docs/index.html
tomcat/site/trunk/xdocs/index.xml

Modified: tomcat/site/trunk/docs/index.html
URL: 
http://svn.apache.org/viewcvs/tomcat/site/trunk/docs/index.html?rev=307444r1=307443r2=307444view=diff
==
--- tomcat/site/trunk/docs/index.html (original)
+++ tomcat/site/trunk/docs/index.html Sun Oct  9 08:11:14 2005
@@ -222,7 +222,7 @@
 font face=arial,helvetica,sanserif size=-1 color=#002.4/2.0/font
 /td
   td align=left valign=top bgcolor=#a0ddf0
-font face=arial,helvetica,sanserif size=-1 color=#005.5.9/font
+font face=arial,helvetica,sanserif size=-1 color=#005.5.12/font
 /td
 /tr
 

Modified: tomcat/site/trunk/xdocs/index.xml
URL: 
http://svn.apache.org/viewcvs/tomcat/site/trunk/xdocs/index.xml?rev=307444r1=307443r2=307444view=diff
==
--- tomcat/site/trunk/xdocs/index.xml (original)
+++ tomcat/site/trunk/xdocs/index.xml Sun Oct  9 08:11:14 2005
@@ -41,7 +41,7 @@
 
 tr
   td2.4/2.0/td
-  td5.5.9/td
+  td5.5.12/td
 /tr
 
 tr



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



Site-SVN link

2005-10-09 Thread Yoav Shapira
Hi,
I think it's OK now to have /www/jakarta.apache.org/tomcat be a checkout of the
SVN tomcat/site/trunk.  I just updated SVN tomcat/site/trunk to show 5.5.12 is
latest stable, and committed, but the SVN update is still looking at the old
version...

Yoav

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



Bug report for Tomcat 3 [2005/10/09]

2005-10-09 Thread bugzilla
+---+
| Bugzilla Bug ID   |
| +-+
| | Status: UNC=Unconfirmed NEW=New ASS=Assigned|
| | OPN=ReopenedVER=Verified(Skipped Closed/Resolved)   |
| |   +-+
| |   | Severity: BLK=Blocker CRI=CriticalMAJ=Major |
| |   |   MIN=Minor   NOR=Normal  ENH=Enhancement   |
| |   |   +-+
| |   |   | Date Posted |
| |   |   |  +--+
| |   |   |  | Description  |
| |   |   |  |  |
| 2350|Ver|Nor|2001-06-27|ServletConfig.getInitParameter() requires url-patt|
| 2478|Opn|Cri|2001-07-06|Passing Session variables between JSP's and Servle|
| 4551|Opn|Nor|2001-10-31|Ctx( /tt01 ): IOException in: R( /tt01 + /com/abc/|
| 4980|New|Min|2001-11-20|Startup message indicates incorrect log file  |
| 4994|New|Nor|2001-11-21|Tomcat needs a mechanism for clean and certain shu|
| 5064|New|Cri|2001-11-25|Socket write error when include files is more than|
| 5108|New|Maj|2001-11-26|Docs for Tomcat 3.2.x appear to be for Tomcat 3.3 |
| 5137|New|Nor|2001-11-27|Null pointer in class loader after attempting to r|
| 5160|Unc|Maj|2001-11-28|'IllegalStateException'   |
| 5331|New|Nor|2001-12-09|getPathInfo vs URL normalization  |
| 5510|New|Blk|2001-12-19|How to call ejb deployed in JBoss from Tomcat serv|
| 5756|New|Nor|2002-01-08|jspc.bat exits with wrong ERRORLEVEL  |
| 5797|New|Nor|2002-01-10|UnCatched ? StringIndexOutOfBoundsException: Strin|
| 6027|New|Maj|2002-01-25|Tomcat  Automatically shuts down as service   |
| 6168|New|Blk|2002-02-01|IllegalStateException |
| 6451|New|Cri|2002-02-14|Stackoverflow |
| 6478|New|Enh|2002-02-14|Default Tomcat Encoding   |
| 6488|Ver|Maj|2002-02-15|Error: 304. Apparent bug in default ErrorHandler c|
| 6648|New|Nor|2002-02-25|jakarta-servletapi build with java 1.4 javadoc err|
| 6702|New|Cri|2002-02-27|win 2k services not working   |
| 6796|New|Cri|2002-03-01|Tomcat dies periodically  |
| 6989|New|Maj|2002-03-08|Unable to read tld file during parallel JSP compil|
| 7013|New|Cri|2002-03-10|Entering a servlet path with non-ISO8859-1 charact|
| 7227|New|Nor|2002-03-19|error-code directive don't work |
| 7626|New|Nor|2002-03-29|classloader not working properly  |
| 7652|New|Cri|2002-04-01|Tomcat stalls periodically|
| 7785|New|Blk|2002-04-06|tomcat bug in context reloading   |
| 7863|New|Maj|2002-04-09|I have a problem when running Tomcat with IIS |
| 8187|New|Cri|2002-04-17|Errors when Tomcat used with MS Access database   |
| 8239|New|Cri|2002-04-18|Resource temporary unavailable|
| 8263|New|Cri|2002-04-18|url-pattern easy to circumvent|
| 9250|New|Maj|2002-05-20|outOfMemoryError  |
| 9367|New|Maj|2002-05-23|HttpSessionBindingEvent not thrown for HttpSession|
| 9390|New|Nor|2002-05-24|jasper compilation error in tomcat|
| 9480|New|Nor|2002-05-29|Data connection pooling   |
| 9607|New|Maj|2002-06-04|precompile JSP|
| 9737|Ver|Nor|2002-06-10|ArrayIndexOutOfBoundsException when sending just p|
|10047|New|Cri|2002-06-20|IllegalStateException |
|10202|New|Maj|2002-06-25|Tomcat is not responding in time  |
|10357|Unc|Blk|2002-06-30|java.lang.IllegalArgumentException: Short Read|
|10406|New|Cri|2002-07-02|IllegalStateException |
|11087|New|Blk|2002-07-23|IllegalStateException |
|11286|New|Maj|2002-07-30|Tomcat threads not respond if increase JVM size   |
|11466|New|Nor|2002-08-05|ContextManager: SocketException reading request   |
|12156|New|Cri|2002-08-29|Apache and Tomcat 3.3.1 Interworking problem  |
|12194|New|Maj|2002-08-30|Tomcat does not send WWW-Authenticate header  |
|12852|New|Nor|2002-09-20|May be error in _jspService() - out.flushBuffers(|
|14386|New|Maj|2002-11-08|Date headers corrupted using setDateHeader|
|15632|New|Nor|2002-12-23|Problem with the Tomcat Sessions Parameter on URL |
|16363|New|Cri|2003-01-23|Stack Overflow accessing compiled JSP - Tomcat 3.2|
|17081|New|Min|2003-02-14|Some javadoc comment fixes|

Bug report for Tomcat 4 [2005/10/09]

2005-10-09 Thread bugzilla
+---+
| Bugzilla Bug ID   |
| +-+
| | Status: UNC=Unconfirmed NEW=New ASS=Assigned|
| | OPN=ReopenedVER=Verified(Skipped Closed/Resolved)   |
| |   +-+
| |   | Severity: BLK=Blocker CRI=CriticalMAJ=Major |
| |   |   MIN=Minor   NOR=Normal  ENH=Enhancement   |
| |   |   +-+
| |   |   | Date Posted |
| |   |   |  +--+
| |   |   |  | Description  |
| |   |   |  |  |
| 3839|Opn|Enh|2001-09-26|Problem bookmarking login page|
| 4227|Opn|Enh|2001-10-17|Invalid CGI path  |
| 5329|New|Enh|2001-12-08|NT Service exits startup before Tomcat is finished|
| 5795|New|Enh|2002-01-10|Catalina Shutdown relies on localhost causing prob|
| 5829|New|Enh|2002-01-13|StandardManager needs to cope with sessions throwi|
| 5985|New|Enh|2002-01-23|Tomcat should perform a more restrictive validatio|
| 6600|Opn|Enh|2002-02-20|enodeURL adds 'jsession' when 'isRequestedSessionI|
| 6614|New|Enh|2002-02-21|Have Bootstrap and StandardClassLoader use the sam|
| 6671|New|Enh|2002-02-25|Simple custom tag example uses old declaration sty|
| 7043|New|Enh|2002-03-12|database user and password for JDBC Based Store   |
| 7374|New|Enh|2002-03-22|Apache Tomcat/4.0.1 message on standard output|
| 7676|New|Enh|2002-04-02|Allow name property to use match experssions in h|
| 7723|New|Enh|2002-04-03|[patch] additional factory for org.apache.naming.f|
| 7831|New|Nor|2002-04-08|[PATCH] JNDIRealm does not work with CLIENT-CERT a|
| 8026|New|Enh|2002-04-12|Exceptions in StandardHostDeployer.addChild are lo|
| 8323|New|Enh|2002-04-20|No support for running the 64 bit JVM |
| 8343|New|Enh|2002-04-21|adding a absorber logger class to org.apache.ca|
| 8441|New|Enh|2002-04-23|Command line files for NetWare|
| 8705|New|Enh|2002-05-01|SessionListener should extend EventListener   |
| 8744|New|Enh|2002-05-02|No way to configure/extend runtime classloaders.  |
| 8776|New|Enh|2002-05-03|The session url encoding under somce circumstances|
| 9027|New|Cri|2002-05-13|The Tomcat Servlet Container use the identity spec|
| 9227|New|Enh|2002-05-19|Allow an empty value of a pathname in the Standard|
| 9456|New|Enh|2002-05-28|Problem saving server.xml file: invalid XML markup|
| 9511|New|Enh|2002-05-30|Object instantiation optimization in StandardSessi|
| 9629|New|Enh|2002-06-05|Fix ServletContext.getResourcePaths to match spec |
| 9745|New|Enh|2002-06-10|extern cache mgt bug for conditionally dynamic pag|
| 9852|New|Enh|2002-06-13|Odd Digest and Realm Behaviour|
|10021|New|Enh|2002-06-19|Include upgrade option in installer   |
|10060|New|Enh|2002-06-20|Make the common and shared class loaders look in c|
|10120|New|Enh|2002-06-21|Custom realm and shared instalation.  |
|10225|New|Enh|2002-06-25|ANT Tasks Error Situation |
|10335|New|Enh|2002-06-28|[RFE,patch] Make JAASRealm more flexible  |
|10457|New|Enh|2002-07-03|Patch submission for DefaultServlet/WebdavServlet |
|10526|New|Enh|2002-07-06|Authenticators do not always cache the Principal  |
|10541|New|Nor|2002-07-08|Content-length header should be automatically set |
|10565|Opn|Enh|2002-07-08|shutdown hook problem:  java.lang.NoClassDefFoundE|
|10691|New|Enh|2002-07-11|staring tomcat gives indication that tomcat is sta|
|10699|New|Enh|2002-07-11|Apache SOAP 2.3 will not operate properly |
|10972|New|Enh|2002-07-19|Realm without className in server.xml produces N|
|11069|Opn|Enh|2002-07-23|Tomcat not flag error if tld is outside of /WEB-IN|
|11129|New|Enh|2002-07-24|New valve for putting the sessionIDs in the reques|
|11248|New|Enh|2002-07-29|DefaultServlet doesn't send expires header|
|11754|Opn|Enh|2002-08-15|Synchronous shutdown script - shutdown.sh should w|
|12069|New|Enh|2002-08-27|Creation of more HttpSession objects for one previ|
|12658|New|Enh|2002-09-15|a proxy host and port at the Host element level |
|12766|New|Enh|2002-09-18|Tomcat should use tld files in /WEB-INF/ over vers|
|13040|New|Nor|2002-09-26|can't retrieve external context who's uri is a sub|
|13309|Opn|Enh|2002-10-04|Catalina calls System.exit()  |
|13634|New|Enh|2002-10-15|Allowing system properties to be substituted in co|
|13689|Opn|Enh|2002-10-16|Classloader paths for 'Common' classes and librari|

Bug report for Tomcat 5 [2005/10/09]

2005-10-09 Thread bugzilla
+---+
| Bugzilla Bug ID   |
| +-+
| | Status: UNC=Unconfirmed NEW=New ASS=Assigned|
| | OPN=ReopenedVER=Verified(Skipped Closed/Resolved)   |
| |   +-+
| |   | Severity: BLK=Blocker CRI=CriticalMAJ=Major |
| |   |   MIN=Minor   NOR=Normal  ENH=Enhancement   |
| |   |   +-+
| |   |   | Date Posted |
| |   |   |  +--+
| |   |   |  | Description  |
| |   |   |  |  |
|17310|Ver|Nor|2003-02-22|;jsessionid confuses StandardHostcan't find Co|
|19803|Ver|Maj|2003-05-09|manager reload fails and disables app - Incompatib|
|19958|Ver|Maj|2003-05-15|Problems reading ServletInputStream   |
|21045|Ver|Nor|2003-06-24|Manager app does find resources   |
|21600|Ver|Nor|2003-07-15|Parameter's lost after manager stop/start or rel|
|22679|Ver|Enh|2003-08-24|how to access ssl session ID out of tomcat to prev|
|22986|Ver|Nor|2003-09-08|Web apps with context XML file don't start if CATA|
|24413|Ver|Nor|2003-11-04|bundled JMX implementation not compliant to specif|
|24942|Opn|Nor|2003-11-24|Tomcat 5.0.16 / Windows 2000 Service does not star|
|24943|Ver|Nor|2003-11-24|Tomcat 5.0.14 / Windows 2000 Service does not star|
|25078|Ver|Nor|2003-11-29|Catalina Ant Serverinfo task always fails |
|26979|New|Enh|2004-02-16|StandardServer don't save cluster config  |
|27104|Opn|Nor|2004-02-20|got an exception when testing a simple cluster app|
|27259|Opn|Nor|2004-02-26|org.apache.catalina.cluster.tcp.ReplicationListene|
|27338|Ver|Maj|2004-03-01|Wrong mappings for JSP Documents (.jspx)  |
|28039|New|Enh|2004-03-30|Cluster Support for SingleSignOn  |
|28633|New|Nor|2004-04-27|Add JMX Support to ClusterManager |
|28634|New|Nor|2004-04-27|Extend StandardManager/StandardSession for DeltaMa|
|28709|Ver|Nor|2004-04-30|javax.servlet.http.HttpServletRequest.isRequestedS|
|28875|Ver|Nor|2004-05-10|Multi-byte characters in default error page aren't|
|29091|Opn|Nor|2004-05-19|Non-ascii characters are not handled correctly... |
|29160|Ver|Enh|2004-05-23|precompile problem: _jspx_meth_* (javax.servlet.js|
|29497|Unc|Nor|2004-06-10|Connection pool, redeployment |
|29521|Ver|Cri|2004-06-11|No destroy methods called on service shutdown |
|29780|New|Min|2004-06-24|Why we need a jkMain static attibute? |
|30241|Ver|Enh|2004-07-21|Enhance build script to use branch argument when c|
|30833|Ver|Nor|2004-08-24|request.getServerPort() returns wrong port (WAS: r|
|31125|Opn|Nor|2004-09-08|conf/web.xml not valid|
|31804|Opn|Maj|2004-10-20|setParent() is not called on nested tags in a tag |
|32081|New|   |2004-11-05|Wrapper scripts require a JDK to be present.  |
|32141|New|Nor|2004-11-10|Memory leak in Jk connector, ChannelSocket.registe|
|32180|New|Nor|2004-11-11|EL functions are executed in privileged context   |
|32280|Ver|Cri|2004-11-17|Problem clustering tomcat when a failed server is |
|32569|Ass|Nor|2004-12-07|ServletContextListener will not die   |
|32593|Inf|Maj|2004-12-09|Server (Apache 2.0.48) reached MaxClients setting |
|32754|Inf|Nor|2004-12-17|Can't modify thread configuration attributes of AJ|
|32832|Ver|Maj|2004-12-23|request.getSession(false) fails to return null.   |
|32888|Inf|Nor|2004-12-30|Each cluster slave creates duplicated session on t|
|33180|Ver|Nor|2005-01-20|JSTL automatic type conversion gives unexpected re|
|33262|Inf|Nor|2005-01-27|Service Manager autostart should check for adminis|
|33356|Inf|Maj|2005-02-02|Incorrect parsing of tag attributes   |
|33407|Inf|Nor|2005-02-05|\$ is quoted even with el-ignored=true|
|33453|Opn|Enh|2005-02-08|Jasper should recompile JSP files whose datestamps|
|33494|New|Enh|2005-02-10|jscv configure script fails on x86_64 |
|33650|Inf|Enh|2005-02-19|Jasper performance for multiple files processing  |
|33671|Opn|Enh|2005-02-21|Manual Windows service installation with custom na|
|33782|New|Nor|2005-03-01|notifyListenerOnReplication has no effect when sta|
|33831|Ver|Nor|2005-03-03|RequestDispatcher.forward and resource missing|
|33911|New|Enh|2005-03-08|Request for security role mapping (role-to-group/u|
|34006|Ver|Nor|2005-03-14|Undeploy of webapps with antiResourceLocking in ME|
|34016|Ver|Nor|2005-03-15|antiResourceLocking webapp fails to deploy on Tomc|

Bug report for Watchdog [2005/10/09]

2005-10-09 Thread bugzilla
+---+
| Bugzilla Bug ID   |
| +-+
| | Status: UNC=Unconfirmed NEW=New ASS=Assigned|
| | OPN=ReopenedVER=Verified(Skipped Closed/Resolved)   |
| |   +-+
| |   | Severity: BLK=Blocker CRI=CriticalMAJ=Major |
| |   |   MIN=Minor   NOR=Normal  ENH=Enhancement   |
| |   |   +-+
| |   |   | Date Posted |
| |   |   |  +--+
| |   |   |  | Description  |
| |   |   |  |  |
|  278|Unc|Nor|2000-12-04|Bug in GetParameterValuesTestServlet.java file Bug|
|  279|Unc|Nor|2000-12-04|Logical Error in GetParameterValuesTestServlet Bug|
|  469|Unc|Nor|2001-01-17|in example-taglib.tld urn should be uri BugRat|
|  470|Unc|Nor|2001-01-17|FAIL positiveForward.jsp and positiveInclude.jsp B|
| 9634|New|Enh|2002-06-05|No tests exist for ServletContext.getResourcePaths|
|10703|New|Enh|2002-07-11|Need to test getRequestURI after RequestDispatcher|
|11336|New|Enh|2002-07-31|Test wrapped path methods with RD.foward()|
|11663|New|Maj|2002-08-13|JSP precompile tests rely on Jasper specific behav|
|11664|New|Maj|2002-08-13|A sweep is needed of all Watchdog 4.0 tag librarie|
|11665|New|Maj|2002-08-13|ServletToJSPErrorPageTest and ServletToServletErro|
|11666|New|Maj|2002-08-13|SetBufferSize_1TestServlet is invalid.|
|14004|New|Maj|2002-10-28|Incorrent behaviour of all attribute-related lifec|
|15504|New|Nor|2002-12-18|JSP positiveGetValues test relies on order preserv|
|24649|New|Nor|2003-11-12|getRemoteHost fails when agent has uppercase chara|
|29398|New|Nor|2004-06-04|Update site and note current status   |
+-+---+---+--+--+
| Total   15 bugs   |
+---+

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



More helpful reporting of exceptions in JSPs

2005-10-09 Thread Tim Fennell

Hi,

I'll apologize in advance if this is the wrong place to post this, or  
if this has been covered before.  I had a good read through the  
Tomcat docs and faqs, searched the bug database, and googled around  
on the topic, but could not really find anything.


I've been using Tomcat for a while, and in general have found it as  
good a servlet/JSP container as any I've used.  With one exception  
(no pun intended).  A long time ago I started out using WebLogic, and  
the one thing that I loved about WebLogic, that is missing from  
Tomcat, is that when an Exception occurred in a JSP it would tell you  
what line number *in the JSP* generated the exception, and show you a  
snippet of code around the offending line.


For quite a while I'd figured that the way Tomcat was built prevented  
this from being easy/possible, but I didn't look.  Well, I finally  
got around to looking, and it only took me a couple of hours to  
implement it.  Which makes me wonder if there is some other reason  
that this isn't done in Tomcat/Jasper?


At any rate, I have code that will do this now, and I think it'd be a  
great productivity boost for anyone else developing JSPs on Tomcat.   
It amounts to small patches to two files.  The first is  
org.apache.jasper.compiler.Compiler to make it hang on to the parse  
tree (pageNodes) if in development mode, and a getter to make this  
accessible.  The second is to  
org.apache.jasper.servlet.JspServletWrapper to do the grunt work of  
mapping a stack frame from the exception back to the line in the JSP  
that it came from.


It's all coded up to function only when in development mode, and is  
reasonably well commented.  Would any of the committers be interested  
in taking a look at this if I put together a patch and posted it  
here?  Cheers,


-Tim Fennell
http://stripes.mc4j.org

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



DO NOT REPLY [Bug 36976] New: - Tomcat VM does not shutdown with remote jmx enabled

2005-10-08 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=36976.
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=36976

   Summary: Tomcat VM does not shutdown with remote jmx enabled
   Product: Tomcat 5
   Version: 5.5.9
  Platform: PC
OS/Version: Windows XP
Status: NEW
  Severity: normal
  Priority: P2
 Component: Unknown
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: [EMAIL PROTECTED]


When using tomcat with remote jmx it does not shutdown. Using it with local jmx
works perfectly.

jmx parameters set in catalina.bat as JAVA_OPTS
-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.port=

Calling shutdown.bat I get the following error:

Error: Exception thrown by the agent : java.rmi.server.ExportException : Port
already in use: ;nested exception is:
java.net.BindException: Address already in use: JVM_Bind

Tomcat keeps running instead of performing a clean shutdown.

JVM is a 1.5.0_04
Tomcat installation is a default from 5.5.9.zip without configuration changes

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



svn commit: r307285 - in /tomcat/container/branches/tc4.1.x: build.properties.default build.xml

2005-10-08 Thread markt
Author: markt
Date: Sat Oct  8 04:14:26 2005
New Revision: 307285

URL: http://svn.apache.org/viewcvs?rev=307285view=rev
Log:
Change names (Jakarta-Apache) and use new directory names

Modified:
tomcat/container/branches/tc4.1.x/build.properties.default
tomcat/container/branches/tc4.1.x/build.xml

Modified: tomcat/container/branches/tc4.1.x/build.properties.default
URL: 
http://svn.apache.org/viewcvs/tomcat/container/branches/tc4.1.x/build.properties.default?rev=307285r1=307284r2=307285view=diff
==
--- tomcat/container/branches/tc4.1.x/build.properties.default (original)
+++ tomcat/container/branches/tc4.1.x/build.properties.default Sat Oct  8 
04:14:26 2005
@@ -119,7 +119,7 @@
 
 
 # - Jakarta Servlet API Classes (Servlet 2.3 / JSP 1.2) -
-servlet.home=${base.path}/jakarta-servletapi-4/dist
+servlet.home=${basedir}/../servletapi/dist
 servlet.lib=${servlet.home}/lib
 servlet.jar=${servlet.lib}/servlet.jar
 servlet.loc=jakarta-servletapi-4

Modified: tomcat/container/branches/tc4.1.x/build.xml
URL: 
http://svn.apache.org/viewcvs/tomcat/container/branches/tc4.1.x/build.xml?rev=307285r1=307284r2=307285view=diff
==
--- tomcat/container/branches/tc4.1.x/build.xml (original)
+++ tomcat/container/branches/tc4.1.x/build.xml Sat Oct  8 04:14:26 2005
@@ -11,12 +11,12 @@
 
   !-- Project Properties --
   property name=name  value=Apache Tomcat /
-  property name=year  value=2001 /
+  property name=year  value=2005 /
   property name=version   value=4.1 /
-  property name=project   value=jakarta-tomcat /
+  property name=project   value=apache-tomcat /
   property name=final.namevalue=${project}-${version} /
   property name=final-src.namevalue=${project}-${version}-src /
-  property name=jtc.project   value=jakarta-tomcat-connectors /
+  property name=jtc.project   value=apache-tomcat-connectors /
   property name=jtc.final.namevalue=${jtc.project}-${version} /
   property name=jtc.final-src.namevalue=${jtc.project}-${version}-src 
/
   property name=servlet.doc   value=${servlet.home}/docs/api /
@@ -26,7 +26,7 @@
   property name=jasper.build value=${basedir}/jasper/build/
   property name=javaservice.home value=../javaservice/
   property name=nsis.homevalue=c:\program files\nsis/
-  property name=servlet.home value=../jakarta-servletapi-4/dist/
+  property name=servlet.home value=${basedir}/../servletapi/dist/
   property name=tomcat.build value=${basedir}/build/
   property name=tomcat.dist  value=${basedir}/dist/
   property name=webapps.buildvalue=${basedir}/webapps/build/
@@ -34,10 +34,8 @@
 
 
   !-- Source dependencies --
-  property name=jasper.home
-   value=${basedir}/../jakarta-tomcat-jasper/jasper2/
-  property name=jtc.home
-   value=${basedir}/../jakarta-tomcat-connectors/
+  property name=jasper.home  value=${basedir}/../jasper/jasper2/
+  property name=jtc.home value=${basedir}/../connectors/
 
 
   !-- === DETECT: Display configuration == --



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



svn commit: r307303 - /tomcat/container/branches/tc4.1.x/build.properties.default

2005-10-08 Thread markt
Author: markt
Date: Sat Oct  8 08:35:05 2005
New Revision: 307303

URL: http://svn.apache.org/viewcvs?rev=307303view=rev
Log:
Update default libraries

Modified:
tomcat/container/branches/tc4.1.x/build.properties.default

Modified: tomcat/container/branches/tc4.1.x/build.properties.default
URL: 
http://svn.apache.org/viewcvs/tomcat/container/branches/tc4.1.x/build.properties.default?rev=307303r1=307302r2=307303view=diff
==
--- tomcat/container/branches/tc4.1.x/build.properties.default (original)
+++ tomcat/container/branches/tc4.1.x/build.properties.default Sat Oct  8 
08:35:05 2005
@@ -60,27 +60,27 @@
 
 
 # - Commons Beanutils, version 1.1 or later -
-commons-beanutils.home=${base.path}/commons-beanutils-1.6.1
+commons-beanutils.home=${base.path}/commons-beanutils-1.7.0
 commons-beanutils.lib=${commons-beanutils.home}
 commons-beanutils.jar=${commons-beanutils.lib}/commons-beanutils.jar
-commons-beanutils.loc=${base-jakarta.loc}/commons/beanutils/binaries/commons-beanutils-1.6.1.tar.gz
+commons-beanutils.loc=${base-jakarta.loc}/commons/beanutils/binaries/commons-beanutils-1.7.0.tar.gz
 
 
 # - Commons Collections, version 1.0 or later -
-commons-collections.home=${base.path}/commons-collections-2.1
+commons-collections.home=${base.path}/commons-collections-3.1
 commons-collections.lib=${commons-collections.home}
-commons-collections.jar=${commons-collections.lib}/commons-collections.jar
-commons-collections.loc=${base-jakarta.loc}/commons/collections/binaries/collections-2.1.tar.gz
+commons-collections.jar=${commons-collections.lib}/commons-collections-3.1.jar
+commons-collections.loc=${base-jakarta.loc}/commons/collections/binaries/collections-3.1.tar.gz
 
 
 # - Commons Digester, version 1.1.1 or later -
-commons-digester.home=${base.path}/commons-digester-1.5
+commons-digester.home=${base.path}/commons-digester-1.7
 commons-digester.lib=${commons-digester.home}
-commons-digester.jar=${commons-digester.lib}/commons-digester.jar
-commons-digester.loc=${base-jakarta.loc}/commons/digester/binaries/commons-digester-1.5.tar.gz
+commons-digester.jar=${commons-digester.lib}/commons-digester-1.7.jar
+commons-digester.loc=${base-jakarta.loc}/commons/digester/binaries/commons-digester-1.7.tar.gz
 
 
-# - Commons FileUpload, nightly build -
+# - Commons FileUpload, version 1.0 or later -
 commons-fileupload.home=${base.path}/commons-fileupload-1.0
 commons-fileupload.lib=${commons-fileupload.home}
 commons-fileupload.jar=${commons-fileupload.lib}/commons-fileupload-1.0.jar
@@ -88,11 +88,11 @@
 
 
 # - Commons Logging, version 1.0.1 or later -
-commons-logging.home=${base.path}/commons-logging-1.0.3
+commons-logging.home=${base.path}/commons-logging-1.0.4
 commons-logging.lib=${commons-logging.home}
 commons-logging-api.jar=${commons-logging.lib}/commons-logging-api.jar
 commons-logging.jar=${commons-logging.lib}/commons-logging.jar
-commons-logging.loc=${base-jakarta.loc}/commons/logging/binaries/commons-logging-1.0.3.tar.gz
+commons-logging.loc=${base-jakarta.loc}/commons/logging/binaries/commons-logging-1.0.4.tar.gz
 
 
 # - Java Naming and Directory Interface (JNDI), version 1.2 or later -
@@ -112,10 +112,10 @@
 
 
 # - Jakarta Regular Expressions Library, version 1.2 -
-regexp.home=${base.path}/jakarta-regexp-1.3
+regexp.home=${base.path}/jakarta-regexp-1.4
 regexp.lib=${regexp.home}
-regexp.jar=${regexp.lib}/jakarta-regexp-1.3.jar
-regexp.loc=${base-jakarta.loc}/regexp/binaries/jakarta-regexp-1.3.tar.gz
+regexp.jar=${regexp.lib}/jakarta-regexp-1.4.jar
+regexp.loc=${base-jakarta.loc}/regexp/binaries/jakarta-regexp-1.4.tar.gz
 
 
 # - Jakarta Servlet API Classes (Servlet 2.3 / JSP 1.2) -
@@ -134,9 +134,9 @@
 
 # - Xerces XML Parser, version 2.0.0 or later -
 # Note: Optional with JDK 1.4+, or if Xerces 1.x is present
-xerces.home=${base.path}/xerces-2_5_0
+xerces.home=${base.path}/xerces-2_7_1
 xerces.lib=${xerces.home}
-xerces.loc=http://xml.apache.org/dist/xerces-j/Xerces-J-bin.2.5.0.tar.gz
+xerces.loc=http://xml.apache.org/dist/xerces-j/Xerces-J-bin.2.7.1.tar.gz
 xercesImpl.jar=${xerces.lib}/xercesImpl.jar
 xmlParserAPIs.jar=${xerces.lib}/xmlParserAPIs.jar
 
@@ -153,25 +153,25 @@
 
 
 # - Commons Daemon, version 1.0 or later -
-commons-daemon.home=${base.path}/commons-daemon-1.0
+commons-daemon.home=${base.path}/commons-daemon-1.0.1
 commons-daemon.lib=${commons-daemon.home}
 commons-daemon.jar=${commons-daemon.lib}/commons-daemon.jar
-#commons-daemon.loc=${base-jakarta.loc}/commons/daemon/binaries/daemon-1.0.tar.gz
-commons-daemon.loc=http://www.apache.org/dist/jakarta/commons/daemon/binaries/commons-daemon-1.0.tar.gz
+#commons-daemon.loc=${base-jakarta.loc}/commons/daemon/binaries/daemon-1.0.1.tar.gz
+commons-daemon.loc=http://www.apache.org/dist/jakarta/commons/daemon/binaries/commons-daemon-1.0.1.tar.gz
 
 
 # - Commons DBCP, version 

Re: New repository org

2005-10-08 Thread Costin Manolache

Mark Thomas wrote:



Using externals wasn't something I had thought of but if offers a nice 
way to provide all the source for one version in a single chekcout. We 
now have tomcat/current/5.5.x that uses externals to link in all the 
various modules.



That's actually what I was thinking about, looks great.

Now, the big question - where can I add a sandbox/experimental directory?

Costin






Mark


Like:

tomcat/
tomcat/catalina
tomcat/connectors
tomcat/jasper
tomcat/build ( or something else - jakarta-tomcat-5 is just the top
level build and utils )

There is little benefit those days in having 4 separate repos.

Costin



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



RE: New repository org

2005-10-08 Thread Mark Thomas
 From: news [mailto:[EMAIL PROTECTED] On Behalf Of Costin Manolache
 Mark Thomas wrote:
  Using externals wasn't something I had thought of but if 
 offers a nice 
  way to provide all the source for one version in a single 
 checkout. We 
  now have tomcat/current/5.5.x that uses externals to link 
 in all the 
  various modules.
 
 That's actually what I was thinking about, looks great.
 
 Now, the big question - where can I add a 
 sandbox/experimental directory?

Directly under tomcat. And I would suggest that each project/experiment should
have its own subdirectory under /tomcat/sandbox/

Mark


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



Re: New repository org

2005-10-07 Thread Mark Thomas

Costin Manolache wrote:
Could we just move all in tomcat5.5 ( and HEAD ) into one repository ( 
say, tomcat ) ?


The ASF has only one SVN repo and we have a top level directory within 
that. We need to have all our code, including the history, under this 
directory as CVS will be turned off.


The directory strcuture may not be the nicest in the world but I spent 
some time thinking about it and it is the best I could come up with. 
There is a better, but longer, explanation on the svn page I put 
together for the TLP. Take a look at 
http://people.apache.org/~markt/tomcattlp/svn.html


Using externals wasn't something I had thought of but if offers a nice 
way to provide all the source for one version in a single chekcout. We 
now have tomcat/current/5.5.x that uses externals to link in all the 
various modules.


Mark


Like:

tomcat/
tomcat/catalina
tomcat/connectors
tomcat/jasper
tomcat/build ( or something else - jakarta-tomcat-5 is just the top
level build and utils )

There is little benefit those days in having 4 separate repos.

Costin




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



Re: Re: New repository org

2005-10-07 Thread geoff
The person you are trying to contact is no longer available at this email 
address.
Please update your contact info to reflect this.

For all things Chopping Block business please contact:

Dan Schutzsmith dan at choppingblock.com
New Business Manager

or for all technical/project questions including Web Photo Gallery or flash 
embed questions:

Matthew Richmond matthew at choppingblock.com
Principal/Designer

thank you,
/choppingblock

---
   The Chopping Block, Inc.
 http://www.choppingblock.com

World Domination Through Graphic Design
   mailto:[EMAIL PROTECTED]
---



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



svn commit: r307071 - /tomcat/build/tc5.5.x/build.properties.default

2005-10-07 Thread remm
Author: remm
Date: Fri Oct  7 03:13:20 2005
New Revision: 307071

URL: http://svn.apache.org/viewcvs?rev=307071view=rev
Log:
- Update to Eclipse JDT 3.1.1 (ok, it's a test commit).

Modified:
tomcat/build/tc5.5.x/build.properties.default

Modified: tomcat/build/tc5.5.x/build.properties.default
URL: 
http://svn.apache.org/viewcvs/tomcat/build/tc5.5.x/build.properties.default?rev=307071r1=307070r2=307071view=diff
==
--- tomcat/build/tc5.5.x/build.properties.default (original)
+++ tomcat/build/tc5.5.x/build.properties.default Fri Oct  7 03:13:20 2005
@@ -142,11 +142,11 @@
 xerces.loc=${base-xml.loc}/xerces-j/binaries/Xerces-J-bin.2.7.1.tar.gz
 
 
-# - Eclipse JDT, version 3.1.0 or later -
+# - Eclipse JDT, version 3.1.1 or later -
 jdt.home=${base.path}/eclipse/plugins
 jdt.lib=${jdt.home}
-jdt.jar=${jdt.lib}/org.eclipse.jdt.core_3.1.0.jar
-jdt.loc=http://sunsite.informatik.rwth-aachen.de/eclipse/downloads/drops/R-3.1-200506271435/eclipse-JDT-3.1.zip
+jdt.jar=${jdt.lib}/org.eclipse.jdt.core_3.1.1.jar
+jdt.loc=http://sunsite.informatik.rwth-aachen.de/eclipse/downloads/drops/R-3.1.1-200509290840/eclipse-JDT-3.1.1.zip
 
 
 # - Tomcat native library -



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



Re: svn commit: r307071 - /tomcat/build/tc5.5.x/build.properties.default

2005-10-07 Thread geoff
The person you are trying to contact is no longer available at this email 
address.
Please update your contact info to reflect this.

For all things Chopping Block business please contact:

Dan Schutzsmith dan at choppingblock.com
New Business Manager

or for all technical/project questions including Web Photo Gallery or flash 
embed questions:

Matthew Richmond matthew at choppingblock.com
Principal/Designer

thank you,
/choppingblock

---
   The Chopping Block, Inc.
 http://www.choppingblock.com

World Domination Through Graphic Design
   mailto:[EMAIL PROTECTED]
---



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



svn commit: r307085 - /tomcat/build/tc5.5.x/build.xml

2005-10-07 Thread remm
Author: remm
Date: Fri Oct  7 03:59:01 2005
New Revision: 307085

URL: http://svn.apache.org/viewcvs?rev=307085view=rev
Log:
- Update source locations.

Modified:
tomcat/build/tc5.5.x/build.xml

Modified: tomcat/build/tc5.5.x/build.xml
URL: 
http://svn.apache.org/viewcvs/tomcat/build/tc5.5.x/build.xml?rev=307085r1=307084r2=307085view=diff
==
--- tomcat/build/tc5.5.x/build.xml (original)
+++ tomcat/build/tc5.5.x/build.xml Fri Oct  7 03:59:01 2005
@@ -25,11 +25,11 @@
   property name=final-src.namevalue=${project}-${version}-src /
 
   !-- Subprojects --
-  property name=api.project   value=jakarta-servletapi-5 /
-  property name=tomcat.projectvalue=jakarta-tomcat-5 /
-  property name=catalina.project  value=jakarta-tomcat-catalina /
-  property name=jtc.project   value=jakarta-tomcat-connectors /
-  property name=jasper.projectvalue=jakarta-tomcat-jasper /
+  property name=api.project   value=servletapi /
+  property name=tomcat.projectvalue=build /
+  property name=catalina.project  value=container /
+  property name=jtc.project   value=connectors /
+  property name=jasper.projectvalue=jasper /
   property name=ant.jar   value=${ant.home}/lib/ant.jar/
   property name=ant-launcher.jar  
value=${ant.home}/lib/ant-launcher.jar/
   property name=cvstagvalue= /



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



Helper script to build source from scratch

2005-10-07 Thread Tim Funk
For anyone still getting up to speed using svn and making a new build -  here 
 is script which works for me via cygwin. It should work fine in any unix 
environment too.


Steps
- Place the script in an empty directory.
- Make sure ANT_HOME and JAVA_HOME are set
- Make sure svn is in your path
- Run the script and the svn checkout  as well as the download and full build 
will be done.


Since there is a /current/ alias - is the 'ant update' task needed anymore?

-Tim



#!/bin/sh
#
# This is a quickie helper script to  easily build tomcat 5 from source.
# This will create a subdirectory called tc5build and build
# tomcat 5 into it.
#
# Here are the requirements to get this to run
# 1) Set JAVA_HOME to a 1.4 compliant JDK
# ex: /opt/java1.4
# 2) Set ANT_HOME to your ant installation (You need ant 1.6 or better)
# ex: /opt/jakarta/jakarta-ant-1.6
# 3) Make sure svn is in your path
# 4) Make sure NetComponents.jar is installed in $ANT_HOME/lib
#which can be found at http://www.savarese.org/oro/index.html
#[Not sure if this step is still required for Ant to download things.]
#

#
# Some help functions
#
TC_ECHO() {
  echo INFO: `date '+%H:%M:%S'` - $1
}

TC_DOH() {
  echo ERROR: `date '+%H:%M:%S'` - $1
}


#
# cygwin - The UI of unix and the stability of windows.
#
cygwin=false
case `uname` in
CYGWIN*) cygwin=true;;
esac


#
# Check for JAVA_HOME
#
if [ Z = Z$JAVA_HOME ] ;
then
   TC_DOH Where is JAVA_HOME!
   exit 1
fi



#
# Check for ANT_HOME
#
if [ Z = Z$ANT_HOME ] ;
then
  TC_DOH Where is ANT_HOME! Please set it.
  exit 1
fi




# It seems like the environment is set

TC_ECHO  Using ANT_HOME=$ANT_HOME
TC_ECHO  Using JAVA_HOME=$JAVA_HOME
TC_ECHO  Putting everything in `pwd`/tc5build
TC_ECHO  Downloaded dependencies go into `pwd`/tc5build/includes


mkdir -p tc5build/includes
if [ 0 != $? ];
then
  TC_DOH Making subdir tc5build/includes failed!
  exit 1
fi

BASE_PATH=`pwd`/tc5build/includes
if $cygwin; then
  BASE_PATH=`cygpath --path --mixed $BASE_PATH`
fi


cd tc5build
TC_ECHO Getting http://svn.apache.org/repos/asf/tomcat/current/tc5.5.x/;


svn co http://svn.apache.org/repos/asf/tomcat/current/tc5.5.x/
if [ 0 != $? ];
then
  TC_DOH Checkout failed. Hopefully there is a reason above.
  exit 1
fi

cd tc5.5.x/build
echo base.path=$BASE_PATH  build.properties


# Now do the build

TC_ECHO Now performing the build
$ANT_HOME/bin/ant download deploy

TC_ECHO All done!


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



Re: DO NOT REPLY [Bug 36883] - mod_proxy_ajp and tomcat issues

2005-10-07 Thread Diana_L_Greeninger

Please quite sending me these emails. I have nothing to do with your
business. Please take this e-mail off your list.

Thanks
Diana

Diana Greeninger
Graco Customer Service
1-800-690-2894 Option 9 x6221
Fax 1-800-334-6955
[EMAIL PROTECTED]

The happiest  people in the world take what they have been dealt and make
it a winning hand.


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



DO NOT REPLY [Bug 36883] - mod_proxy_ajp and tomcat issues

2005-10-07 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=36883.
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=36883





--- Additional Comments From [EMAIL PROTECTED]  2005-10-07 15:22 ---
Created an attachment (id=16617)
 -- (http://issues.apache.org/bugzilla/attachment.cgi?id=16617action=view)
Patch against trunk

Thanks to all for the analysis data. The attached patch against trunk should
fix this. Can you please give it a try and give feedback.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.

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



DO NOT REPLY [Bug 36883] - mod_proxy_ajp and tomcat issues

2005-10-07 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=36883.
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=36883


[EMAIL PROTECTED] changed:

   What|Removed |Added

  Attachment #16617|0   |1
is obsolete||




-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.

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



DO NOT REPLY [Bug 36883] - mod_proxy_ajp and tomcat issues

2005-10-07 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=36883.
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=36883





--- Additional Comments From [EMAIL PROTECTED]  2005-10-07 16:05 ---
Created an attachment (id=16619)
 -- (http://issues.apache.org/bugzilla/attachment.cgi?id=16619action=view)
Patch against Tomcat 5.5.9

After doing some further tests and further analysis I must revert my earlier
assumption that this is a httpd bug. It rather seems that
org.apache.ajp.RequestHandler does not honour the isSSL bit inside an ajp
message correctly. Attached is a patch against Tomcat 5.5.9 that should fix
this.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.

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



DO NOT REPLY [Bug 36883] - mod_proxy_ajp and tomcat issues

2005-10-07 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=36883.
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=36883


[EMAIL PROTECTED] changed:

   What|Removed |Added

  Component|mod_proxy   |Connector:AJP
Product|Apache httpd-2.0|Tomcat 5
Version|2.1.8   |5.5.9




-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.

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



DO NOT REPLY [Bug 36883] - mod_proxy_ajp and tomcat issues

2005-10-07 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=36883.
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=36883


[EMAIL PROTECTED] changed:

   What|Removed |Added

 AssignedTo|bugs@httpd.apache.org   |tomcat-
   ||[EMAIL PROTECTED]




-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.
You are on the CC list for the bug, or are watching someone who is.

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



DO NOT REPLY [Bug 36883] - mod_proxy_ajp and tomcat issues

2005-10-07 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=36883.
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=36883





--- Additional Comments From [EMAIL PROTECTED]  2005-10-07 16:21 ---
Hi,

I must dissagree with you.
The bug has nothing to do with Tomcat.
Tomcat works pretty well with mod_jk w or w/o SSL.

The error is obviously in mod_proxy_ajp.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.
You are on the CC list for the bug, or are watching someone who is.

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



DO NOT REPLY [Bug 36883] - mod_proxy_ajp and tomcat issues

2005-10-07 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=36883.
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=36883





--- Additional Comments From [EMAIL PROTECTED]  2005-10-07 16:23 ---
Mladen is insisting that the problem is with mod_proxy_ajp, so he'll veto the
patch. Unfortunately, he's quite busy right now, so more comments later.

It also seems to me that it is a mod_proxy_ajp bug if it sends bogus HTTPS
related headers if this isn't actually using HTTPS.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.
You are on the CC list for the bug, or are watching someone who is.

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



DO NOT REPLY [Bug 36883] - mod_proxy_ajp and tomcat issues

2005-10-07 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=36883.
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=36883





--- Additional Comments From [EMAIL PROTECTED]  2005-10-07 16:40 ---
(In reply to comment #7)
 Created an attachment (id=16619)
 -- (http://issues.apache.org/bugzilla/attachment.cgi?id=16619action=view) 
[edit]
 Patch against Tomcat 5.5.9
 After doing some further tests and further analysis I must revert my earlier
 assumption that this is a httpd bug. It rather seems that
 org.apache.ajp.RequestHandler does not honour the isSSL bit inside an ajp
 message correctly. Attached is a patch against Tomcat 5.5.9 that should fix
 this.

The first patch of mod_proxy_ajp is sub-optimal, but will work.  It would be 
better if mod_proxy_ajp honored the is_ssl flag and didn't bother to check the 
SSL attributes unless it was set.

Your patch of Tomcat isn't even worth vetoing, since the patched class doesn't 
exist in 5.5.x, and is deprecated in 4.1.x.


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.
You are on the CC list for the bug, or are watching someone who is.

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



DO NOT REPLY [Bug 36883] - mod_proxy_ajp and tomcat issues

2005-10-07 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=36883.
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=36883


[EMAIL PROTECTED] changed:

   What|Removed |Added

 CC||bugs@httpd.apache.org
 AssignedTo|tomcat- |bugs@httpd.apache.org
   |[EMAIL PROTECTED]  |
  Component|Connector:AJP   |mod_proxy
Product|Tomcat 5|Apache httpd-2.0
Version|5.5.9   |2.0-HEAD




--- Additional Comments From [EMAIL PROTECTED]  2005-10-07 16:58 ---
Play watch the bouncing bug ;-).

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.
You are on the CC list for the bug, or are watching someone who is.

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



DO NOT REPLY [Bug 36883] - mod_proxy_ajp and tomcat issues

2005-10-07 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=36883.
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=36883


[EMAIL PROTECTED] changed:

   What|Removed |Added

  Attachment #16619|0   |1
is obsolete||




--- Additional Comments From [EMAIL PROTECTED]  2005-10-07 17:02 ---
Created an attachment (id=16620)
 -- (http://issues.apache.org/bugzilla/attachment.cgi?id=16620action=view)
Fix for mod_proxy_ajp's SSL attributes

This fixes mod_proxy_ajp handling of SSL attributes.  Not only does it stop it
from sending garbage to Tomcat, but it doesn't even bother with the lookup
unless the request came in on SSL.  And, as a bonus feature, it even gets the
key-size working again.

Someday, mod_proxy_ajp may be almost as good as mod_jk ;-).

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.

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



DO NOT REPLY [Bug 36968] New: - jasper2 Ant task fails when executed more than once

2005-10-07 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=36968.
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=36968

   Summary: jasper2 Ant task fails when executed more than once
   Product: Tomcat 5
   Version: Unknown
  Platform: PC
OS/Version: Windows XP
Status: NEW
  Severity: normal
  Priority: P2
 Component: Jasper
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: [EMAIL PROTECTED]


I have a build script that precompiles JSPs in web applications.  There are 
several different web applications that I precompile.  When I compile a single 
web application with my Ant script, it works fine.  If I try to compile 
multiple (it fails on the second web app) web apps, it fails with the 
exception at the end of this message.  I am using a version of Jasper that is 
bundled with Jetty 5 so, I am not 100% sure what Jasper version it is.

Here is my Ant target:
target name=jspc
taskdef classname=org.apache.jasper.JspC name=jasper2
classpath refid=all.class.path/
/taskdef

jasper2
package=com.stoneware.${webapp.target}
validateXml=false
uriroot=${basedir}/webapps/${webapp.target}
outputDir=${basedir}/webapps/${webapp.target}/WEB-INF/src/
/target


java.lang.ExceptionInInitializerError
at org.apache.tools.ant.ProjectHelper.addLocationToBuildException
(ProjectHelper.java:539)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:388)
at org.apache.tools.ant.taskdefs.CallTarget.execute
(CallTarget.java:106)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
at org.apache.tools.ant.Main.runBuild(Main.java:673)
at org.apache.tools.ant.Main.startAnt(Main.java:188)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)
Caused by: D:\webNetwork\build.xml:170: The following error occurred while 
executing this line:
java.lang.ExceptionInInitializerError
at org.apache.tools.ant.ProjectHelper.addLocationToBuildException
(ProjectHelper.java:539)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:388)
at org.apache.tools.ant.taskdefs.CallTarget.execute
(CallTarget.java:106)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:386)
... 11 more
Caused by: java.lang.ExceptionInInitializerError
at org.apache.tools.ant.Project.executeTarget(Project.java:1223)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:386)
... 18 more
Caused by: java.lang.ExceptionInInitializerError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:219)
at org.apache.tools.ant.taskdefs.Definer.addDefinition
(Definer.java:457)
at org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:183)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
... 19 more
Caused by: org.apache.commons.logging.LogConfigurationException: 
org.apache.commons.logging.LogConfigurationException: org.apache.
commons.logging.LogConfigurationException: Invalid class loader hierarchy.  
You have more than one version of 'org.apache.commons.
logging.Log' visible, which is not allowed. (Caused by 
org.apache.commons.logging.LogConfigurationException: Invalid class loader
hierarchy.  You have more than one version of 'org.apache.commons.logging.Log' 
visible, which is not allowed.) (Caused by org.apac
he.commons.logging.LogConfigurationException: 
org.apache.commons.logging.LogConfigurationException: Invalid class loader 
hierarchy
.  You have more than one version of 'org.apache.commons.logging.Log' visible, 
which is not allowed. (Caused by 

DO NOT REPLY [Bug 36969] New: - OutOfMemory exceptions when used with Deployer package

2005-10-07 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=36969.
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=36969

   Summary: OutOfMemory exceptions when used with Deployer package
   Product: Tomcat 5
   Version: 5.5.9
  Platform: All
OS/Version: Linux
Status: NEW
  Severity: critical
  Priority: P1
 Component: Catalina
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: [EMAIL PROTECTED]


We are experiencing OutOfMemory exceptions from Tomcat 5.5

If we repeatedly deploy/undeploy a webapp using the Deployer/Ant package, we 
will be able to reproduce it. We need not access the webapp at all.

Can you please provide a fix for this ?

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 36969] - OutOfMemory exceptions when used with Deployer package

2005-10-07 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=36969.
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=36969





--- Additional Comments From [EMAIL PROTECTED]  2005-10-07 18:28 ---
your web application will probably be holding onto resources so that when 
tomcat tries to reload your web appliation, a bit of memory is lost each time. 
this OOME does not just occur with deployer but also with reloadable=true 
class changes where the webapp is forced to reload. 

you should get hold of a profiler and consider also using a context listener to 
kill all references.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 36969] - OutOfMemory exceptions when used with Deployer package

2005-10-07 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=36969.
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=36969





--- Additional Comments From [EMAIL PROTECTED]  2005-10-07 18:39 ---
I will agree with you are saying. But the point is - I did not even access the 
web app. I can easily simulate this with a logic similar to this in a shell 
script. What I am saying is - it is not my application. For argument sake, I 
will take a standard application - or any app developed by anybody

For count 1 to 40
Run deploy any app
Run undeploy any app
End for

You can see I did not even access my web app.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 36969] - OutOfMemory exceptions when used with Deployer package

2005-10-07 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=36969.
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=36969





--- Additional Comments From [EMAIL PROTECTED]  2005-10-07 18:42 ---
I also searched on Google and many people reported OutOfMemory errors in 5.5.9 
or in general with 5.5. This also included some comments from one of the 
developers of Hibernate. This leads me to believe that this is a genuine 
problem.


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 36969] - OutOfMemory exceptions when used with Deployer package

2005-10-07 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=36969.
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=36969


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID




--- Additional Comments From [EMAIL PROTECTED]  2005-10-07 18:46 ---
Please provide conclusive informations about references which would be leaked by
Tomcat.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



Building isapi_redirect on Win 2003

2005-10-07 Thread Lyndon Tiu
Hello,

I read the instructions on how to build isapi_redirect.dll on:

http://jakarta.apache.org/tomcat/connectors-doc-archive/jk2/jk/iishowto.html

But I am getting these errors:

C:\tmp\jakarta-tomcat-connectors-1.2.14.1-src\jk\native\iismsdev isapi.dsp 
/make all
Configuration: isapi - Win32 Release
Compiling...
jk_isapi_plugin.c
C:\tmp\jakarta-tomcat-connectors-1.2.14.1-src\jk\native\iis\jk_isapi_plugin.c(658)
 : error C2065: 'S
F_NOTIFY_AUTH_COMPLETE' : undeclared identifier
C:\tmp\jakarta-tomcat-connectors-1.2.14.1-src\jk\native\iis\jk_isapi_plugin.c(706)
 : warning C4018:
'==' : signed/unsigned mismatch
C:\tmp\jakarta-tomcat-connectors-1.2.14.1-src\jk\native\iis\jk_isapi_plugin.c(731)
 : error C2065: 'P
HTTP_FILTER_AUTH_COMPLETE_INFO' : undeclared identifier
C:\tmp\jakarta-tomcat-connectors-1.2.14.1-src\jk\native\iis\jk_isapi_plugin.c(731)
 : error C2146: sy
ntax error : missing ')' before identifier 'pvNotification'
C:\tmp\jakarta-tomcat-connectors-1.2.14.1-src\jk\native\iis\jk_isapi_plugin.c(731)
 : warning C4047:
'=' : 'int (__stdcall *)(struct _HTTP_FILTER_CONTEXT *,char *,void *,unsigned 
long *)' differs in le
vels of indirection from 'int '
C:\tmp\jakarta-tomcat-connectors-1.2.14.1-src\jk\native\iis\jk_isapi_plugin.c(731)
 : error C2059: sy
ntax error : ')'
C:\tmp\jakarta-tomcat-connectors-1.2.14.1-src\jk\native\iis\jk_isapi_plugin.c(733)
 : error C2146: sy
ntax error : missing ')' before identifier 'pvNotification'
C:\tmp\jakarta-tomcat-connectors-1.2.14.1-src\jk\native\iis\jk_isapi_plugin.c(733)
 : warning C4047:
'=' : 'int (__stdcall *)(struct _HTTP_FILTER_CONTEXT *,char *,char *)' differs 
in levels of indirect
ion from 'int '
C:\tmp\jakarta-tomcat-connectors-1.2.14.1-src\jk\native\iis\jk_isapi_plugin.c(733)
 : error C2059: sy
ntax error : ')'
C:\tmp\jakarta-tomcat-connectors-1.2.14.1-src\jk\native\iis\jk_isapi_plugin.c(735)
 : error C2146: sy
ntax error : missing ')' before identifier 'pvNotification'
C:\tmp\jakarta-tomcat-connectors-1.2.14.1-src\jk\native\iis\jk_isapi_plugin.c(735)
 : warning C4047:
'=' : 'int (__stdcall *)(struct _HTTP_FILTER_CONTEXT *,char *,char *)' differs 
in levels of indirect
ion from 'int '
C:\tmp\jakarta-tomcat-connectors-1.2.14.1-src\jk\native\iis\jk_isapi_plugin.c(735)
 : error C2059: sy
ntax error : ')'
Error executing cl.exe.

isapi_redirect.dll - 8 error(s), 4 warning(s)
Configuration: isapi - Win32 Debug
Compiling...
jk_isapi_plugin.c
C:\tmp\jakarta-tomcat-connectors-1.2.14.1-src\jk\native\iis\jk_isapi_plugin.c(658)
 : error C2065: 'S
F_NOTIFY_AUTH_COMPLETE' : undeclared identifier
C:\tmp\jakarta-tomcat-connectors-1.2.14.1-src\jk\native\iis\jk_isapi_plugin.c(706)
 : warning C4018:
'==' : signed/unsigned mismatch
C:\tmp\jakarta-tomcat-connectors-1.2.14.1-src\jk\native\iis\jk_isapi_plugin.c(731)
 : error C2065: 'P
HTTP_FILTER_AUTH_COMPLETE_INFO' : undeclared identifier
C:\tmp\jakarta-tomcat-connectors-1.2.14.1-src\jk\native\iis\jk_isapi_plugin.c(731)
 : error C2146: sy
ntax error : missing ')' before identifier 'pvNotification'
C:\tmp\jakarta-tomcat-connectors-1.2.14.1-src\jk\native\iis\jk_isapi_plugin.c(731)
 : warning C4047:
'=' : 'int (__stdcall *)(struct _HTTP_FILTER_CONTEXT *,char *,void *,unsigned 
long *)' differs in le
vels of indirection from 'int '
C:\tmp\jakarta-tomcat-connectors-1.2.14.1-src\jk\native\iis\jk_isapi_plugin.c(731)
 : error C2059: sy
ntax error : ')'
C:\tmp\jakarta-tomcat-connectors-1.2.14.1-src\jk\native\iis\jk_isapi_plugin.c(733)
 : error C2146: sy
ntax error : missing ')' before identifier 'pvNotification'
C:\tmp\jakarta-tomcat-connectors-1.2.14.1-src\jk\native\iis\jk_isapi_plugin.c(733)
 : warning C4047:
'=' : 'int (__stdcall *)(struct _HTTP_FILTER_CONTEXT *,char *,char *)' differs 
in levels of indirect
ion from 'int '
C:\tmp\jakarta-tomcat-connectors-1.2.14.1-src\jk\native\iis\jk_isapi_plugin.c(733)
 : error C2059: sy
ntax error : ')'
C:\tmp\jakarta-tomcat-connectors-1.2.14.1-src\jk\native\iis\jk_isapi_plugin.c(735)
 : error C2146: sy
ntax error : missing ')' before identifier 'pvNotification'
C:\tmp\jakarta-tomcat-connectors-1.2.14.1-src\jk\native\iis\jk_isapi_plugin.c(735)
 : warning C4047:
'=' : 'int (__stdcall *)(struct _HTTP_FILTER_CONTEXT *,char *,char *)' differs 
in levels of indirect
ion from 'int '
C:\tmp\jakarta-tomcat-connectors-1.2.14.1-src\jk\native\iis\jk_isapi_plugin.c(735)
 : error C2059: sy
ntax error : ')'
Error executing cl.exe.

isapi_redirect.dll - 8 error(s), 4 warning(s)

C:\tmp\jakarta-tomcat-connectors-1.2.14.1-src\jk\native\iis




Any tips appreciated.


--
Lyndon Tiu

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



Re: Building isapi_redirect on Win 2003

2005-10-07 Thread Mladen Turk

Lyndon Tiu wrote:

Hello,

I read the instructions on how to build isapi_redirect.dll on:

http://jakarta.apache.org/tomcat/connectors-doc-archive/jk2/jk/iishowto.html

But I am getting these errors:

C:\tmp\jakarta-tomcat-connectors-1.2.14.1-src\jk\native\iismsdev isapi.dsp 
/make all
Configuration: isapi - Win32 Release
Compiling...
jk_isapi_plugin.c
C:\tmp\jakarta-tomcat-connectors-1.2.14.1-src\jk\native\iis\jk_isapi_plugin.c(658)
 : error C2065: 'S
F_NOTIFY_AUTH_COMPLETE' : undeclared identifier


You will need the Platform SDK at least from March 2003.

Regards,
Mladen.

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



DO NOT REPLY [Bug 36883] - mod_proxy_ajp and tomcat issues

2005-10-07 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=36883.
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=36883





--- Additional Comments From [EMAIL PROTECTED]  2005-10-07 20:38 ---
Apart from a few minor style issues the patch looks good to me. Thanks. It
removes the problem I saw with my first version of the patch which did not fix
it correctly. What still worries me a little bit is the comment above the
key_size block, which says added support only in ajp14 mode. Maybe I am just
misreading this comment, but could someone of the AJP gurus confirm that this
attribute is also valid in AJP13?

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.

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



DO NOT REPLY [Bug 36883] - mod_proxy_ajp and tomcat issues

2005-10-07 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=36883.
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=36883





--- Additional Comments From [EMAIL PROTECTED]  2005-10-07 21:27 ---
(In reply to comment #13)
 misreading this comment, but could someone of the AJP gurus confirm that this
 attribute is also valid in AJP13?

All current release versions of Tomcat support it, and any older ones will 
ignore an attribute that they don't recognize.





-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.

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



Re: Building isapi_redirect on Win 2003

2005-10-07 Thread Lyndon Tiu
On Fri, 07 Oct 2005 19:07:11  0200 tomcat-dev@jakarta.apache.org wrote:
 You will need the Platform SDK at least from March 2003.

I installed the IIS SDK in the package found here:

http://www.microsoft.com/msdownload/platformsdk/sdkupdate/psdk-full.htm

I am still getting the exact same errors.

Any other tips?

Thank you.

--
Lyndon Tiu

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



DO NOT REPLY [Bug 36883] - mod_proxy_ajp and tomcat issues

2005-10-07 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=36883.
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=36883





--- Additional Comments From [EMAIL PROTECTED]  2005-10-07 23:13 ---
Committed a style adjusted variant to trunk (r307195)
http://svn.apache.org/viewcvs.cgi/httpd/httpd/trunk/modules/proxy/ajp_header.c?rev=307195r1=232247r2=307195

and to 2.2.x branch (r307196)
http://svn.apache.org/viewcvs.cgi/httpd/httpd/branches/2.2.x/modules/proxy/ajp_header.c?rev=307196r1=234103r2=307196


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.

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



DO NOT REPLY [Bug 36883] - mod_proxy_ajp and tomcat issues

2005-10-07 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=36883.
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=36883


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Additional Comments From [EMAIL PROTECTED]  2005-10-07 23:17 ---
(In reply to comment #8)
 Hi,
 
 I must dissagree with you.
 The bug has nothing to do with Tomcat.
 Tomcat works pretty well with mod_jk w or w/o SSL.
 
 The error is obviously in mod_proxy_ajp.

Agreed, but I am not sure if the AJP connector on Tomcat side should set isSSL
to true once it finds some of the SSL variables in the AJP message. From my
point of view it should also ignore all SSL variables in the message if isSSL is
set to false in the message.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.

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



Re: Building isapi_redirect on Win 2003

2005-10-07 Thread Lyndon Tiu
Hello,

A few questions hopefully you guys can help:

1) The instructions here:

http://jakarta.apache.org/tomcat/connectors-doc/install/iis.html

mentions about using VS 6.0 and IIS developers SDK but what OS version I should 
be using to compile isapi_redirect? Windows 2000 or 2003 server?

2) I compiled a Release(not Debug) of isapi_redirect.dll version 1.2.14 
successfully on Windows 2003 Std Server using VS .Net but the resulting 
isapi_redirect file size is 160kb. The isapi_redirect version 1.2.14 we can 
download from:

http://apache.towardex.com/jakarta/tomcat-connectors/jk/binaries/win32/jk-1.2.14/

has filesize = 240kb. I wonder how the downloaded version was compiled to make 
it a different size. I am sure it is not the debug version cause I compiled a 
Debug isapi_redirect.dll on Windows 2003 std server using VS .Net and it's 
filesize came out to be 268kb.


Any help appreciated.


Thank you.



On Fri, 07 Oct 2005 19:07:11  0200 tomcat-dev@jakarta.apache.org wrote:
 Lyndon Tiu wrote:
  Hello,
  
  I read the instructions on how to build isapi_redirect.dll on:
  
 
 http://jakarta.apache.org/tomcat/connectors-doc-archive/jk2/jk/iishowto
 .html
  
  But I am getting these errors:
  
  C:\tmp\jakarta-tomcat-connectors-1.2.14.1-src\jk\native\iismsdev
 isapi.dsp /make all
  Configuration: isapi - Win32
 Release
  Compiling...
  jk_isapi_plugin.c
 
 C:\tmp\jakarta-tomcat-connectors-1.2.14.1-src\jk\native\iis\jk_isapi_pl
 ugin.c(658) : error C2065: 'S
  F_NOTIFY_AUTH_COMPLETE' : undeclared identifier
 
 You will need the Platform SDK at least from March 2003.
 
 Regards,
 Mladen.
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


--
Lyndon Tiu

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



Michael Bünermann/HBF/Minden/kampa/DE ist außer Haus .

2005-10-07 Thread Michael . Buenermann

Ich werde ab  08.10.2005 nicht im Büro sein. Ich kehre zurück am
12.10.2005.

Ich werde Ihre Nachricht nach meiner Rückkehr beantworten. In dringenden
Fällen wenden Sie sich bitte Herrn Jäkel ([EMAIL PROTECTED]).
Herr Jäkelhat die Rufnummer 0571/93425-12) In ganz eiligen Angelegenheiten
hinterlassen Sie bitte eine Nachricht auf meiner Mobilbox unter der
Funk-Rufnummer: 0171/99 33 525.

svn commit: r307246 - /tomcat/container/branches/tc3.3.x/build.xml

2005-10-07 Thread billbarker
Author: billbarker
Date: Fri Oct  7 20:11:35 2005
New Revision: 307246

URL: http://svn.apache.org/viewcvs?rev=307246view=rev
Log:
Update for new structure

Modified:
tomcat/container/branches/tc3.3.x/build.xml

Modified: tomcat/container/branches/tc3.3.x/build.xml
URL: 
http://svn.apache.org/viewcvs/tomcat/container/branches/tc3.3.x/build.xml?rev=307246r1=307245r2=307246view=diff
==
--- tomcat/container/branches/tc3.3.x/build.xml (original)
+++ tomcat/container/branches/tc3.3.x/build.xml Fri Oct  7 20:11:35 2005
@@ -60,7 +60,7 @@
 
   !-- External repositories --
   property name=jakarta-tomcat-connectors
-location=${ws}/jakarta-tomcat-connectors /
+location=../connectors /
   property name=jakarta-commons
 location=${ws}/jakarta-commons /
 



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



DO NOT REPLY [Bug 36663] - setclasspath.bat requires that JAVA_HOME points to a JDK

2005-10-06 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=36663.
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=36663





--- Additional Comments From [EMAIL PROTECTED]  2005-10-06 09:04 ---
I think this bug is critical, because Tomcat 5.5.9 can`t run on JRE. If someone
need help now, it is possible comment affected lines in setclasspath.bat.

My patched setclasspath.bat

rem ---
rem Set CLASSPATH and Java options
rem
rem $Id: setclasspath.bat,v 1.7 2004/07/26 15:34:31 yoavs Exp $
rem ---

rem Make sure prerequisite environment variables are set
if not %JAVA_HOME% ==  goto gotJavaHome
echo The JAVA_HOME environment variable is not defined
echo This environment variable is needed to run this program
goto exit
:gotJavaHome
if not exist %JAVA_HOME%\bin\java.exe goto noJavaHome
if not exist %JAVA_HOME%\bin\javaw.exe goto noJavaHome
rem if not exist %JAVA_HOME%\bin\jdb.exe goto noJavaHome
rem if not exist %JAVA_HOME%\bin\javac.exe goto noJavaHome
goto okJavaHome
:noJavaHome
echo The JAVA_HOME environment variable is not defined correctly
echo This environment variable is needed to run this program
echo NB: JAVA_HOME should point to a JDK not a JRE
goto exit
:okJavaHome

if not %BASEDIR% ==  goto gotBasedir
echo The BASEDIR environment variable is not defined
echo This environment variable is needed to run this program
goto exit
:gotBasedir
if exist %BASEDIR%\bin\setclasspath.bat goto okBasedir
echo The BASEDIR environment variable is not defined correctly
echo This environment variable is needed to run this program
goto exit
:okBasedir

rem Set the default -Djava.endorsed.dirs argument
set JAVA_ENDORSED_DIRS=%BASEDIR%\common\endorsed

rem Set standard CLASSPATH
rem Note that there are no quotes as we do not want to introduce random
rem quotes into the CLASSPATH
rem set CLASSPATH=%JAVA_HOME%\lib\tools.jar

rem Set standard command for invoking Java.
rem Note that NT requires a window name argument when using start.
rem Also note the quoting as JAVA_HOME may contain spaces.
set _RUNJAVA=%JAVA_HOME%\bin\java
set _RUNJAVAW=%JAVA_HOME%\bin\javaw
rem set _RUNJDB=%JAVA_HOME%\bin\jdb
rem set _RUNJAVAC=%JAVA_HOME%\bin\javac

goto end

:exit
exit /b 1

:end



-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



Re: [VOTE] 5.5.12 Stability

2005-10-06 Thread Peter Rossbach

Tested with Mac OS (10.4) , Win32 and Suse 9.3 prof.


Tomcat 5.5.12 is:
[x] Stable - no major issues,
[ ] Beta - at least one major issue: what is it?
[ ] Alpha - multiple things or a real showstopper: please provide details..

 




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



Re: [VOTE] 5.5.12 Stability

2005-10-06 Thread Henri Gomez
Should we post-pone to 5.5.13 the fixes to Jasper2 ?

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



Re: CVS-SVN Schedule

2005-10-06 Thread Remy Maucherat

Henri Yandell wrote:

http://svn.apache.org/repos/asf/tomcat/container/catalina/
http://svn.apache.org/repos/asf/tomcat/container/tc5/


There seems to be a problem with those two.
http://svn.apache.org/repos/asf/tomcat/container/tc5.5.x/ contains what 
was in jakarta-tomcat-catalina, and jakarta-tomcat-5 appears to be gone.


Great job anyway ;)

Rémy

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



Re: [VOTE] 5.5.12 Stability

2005-10-06 Thread Remy Maucherat

Henri Gomez wrote:

Should we post-pone to 5.5.13 the fixes to Jasper2 ?


Yes, it seems like it. I don't even know if they are fixable at this point.

Rémy

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



RE: [VOTE] 5.5.12 Stability

2005-10-06 Thread Allistair Crossley
I have one of my weired bugs Remy and it affects 5.5.9+. 

I've mentioned it before about auto deployment of WARs. This time I am working 
out as best I can the critical failure point, but essentially a valid WAR is 
not being deployed and it appears to be linked to the number of JARs in the lib 
folder (in this case 20MB) and a web.xml that contains custom context 
listeners. On auto deploy the error yields web.xml cannot be found which is 
false. Depending on how many JARs I delete from the LIB folder, the WAR 
explodes or does not with the error.

I will have a bug report that explains in more detail the process I have gone 
through.

Allistair.

 -Original Message-
 From: Remy Maucherat [mailto:[EMAIL PROTECTED]
 Sent: 06 October 2005 10:49
 To: Tomcat Developers List
 Subject: Re: [VOTE] 5.5.12 Stability
 
 
 Henri Gomez wrote:
  Should we post-pone to 5.5.13 the fixes to Jasper2 ?
 
 Yes, it seems like it. I don't even know if they are fixable 
 at this point.
 
 Rémy
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE 
---
QAS Ltd.
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---
/FONT FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLACK 
Disclaimer:  The information contained within this e-mail is confidential and 
may be privileged. This email is intended solely for the named recipient only; 
if you are not authorised you must not disclose, copy, distribute, or retain 
this message or any part of it. If you have received this message in error 
please contact the sender at once so that we may take the appropriate action 
and avoid troubling you further.  Any views expressed in this message are those 
of the individual sender.  QAS Limited has the right lawfully to record, 
monitor and inspect messages between its employees and any third party.  Your 
messages shall be subject to such lawful supervision as QAS Limited deems to be 
necessary in order to protect its information, its interests and its 
reputation.  

Whilst all efforts are made to safeguard Inbound and Outbound emails, QAS 
Limited cannot guarantee that attachments are virus free or compatible with 
your systems and does not accept any liability in respect of viruses or 
computer problems experienced.
/FONT


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



Re: [VOTE] 5.5.12 Stability

2005-10-06 Thread Leon Rosenberg
Sorry for jumping in this thread, but should 5.5.12 considered stable
(as it seems) are there plans to release a stable version of 5.0.x?
5.0.31 or something?

regards
Leon

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



  1   2   3   4   5   6   7   8   9   10   >