DO NOT REPLY [Bug 39699] - simple deploy failed in cluster (distributable flag)

2006-06-09 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=39699.
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=39699





--- Additional Comments From [EMAIL PROTECTED]  2006-06-09 06:52 ---
(In reply to comment #30)
 Thanks for the hint Remy, entirely the clusters fault as it was not setting 
 the
 context class loader when loading the manager instances.
 
 I have attached a patched catalina-cluster.jar, can you please verify the fix.
 It will also be included in the next release of Tomcat
 
 Please let us know if this works for you.

If it works, I think backporting the change I did in the dev branch of Tomcat
would be a good idea. I don't think it's really the job of the manager
implementation to deal with context class loaders.


-- 
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 39699] - simple deploy failed in cluster (distributable flag)

2006-06-09 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=39699.
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=39699





--- Additional Comments From [EMAIL PROTECTED]  2006-06-09 09:06 ---
No more problem with the new jar !

Thank you very much for your very quick fix...


-- 
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 39699] - simple deploy failed in cluster (distributable flag)

2006-06-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=39699.
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=39699





--- Additional Comments From [EMAIL PROTECTED]  2006-06-08 12:35 ---
The issue is fairly obvious: the class uses a static logger (initialized with a
random context class loader set) which is never reset, while it should be
logging to the log field inherited from ManagerBase.

- the solution is to remove:
public static org.apache.commons.logging.Log log =
org.apache.commons.logging.LogFactory
.getLog(DeltaManager.class);


-- 
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 39699] - simple deploy failed in cluster (distributable flag)

2006-06-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=39699.
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=39699





--- Additional Comments From [EMAIL PROTECTED]  2006-06-08 14:14 ---
(In reply to comment #23)
 The issue is fairly obvious: the class uses a static logger (initialized with 
 a
 random context class loader set) which is never reset, while it should be
 logging to the log field inherited from ManagerBase.
 
 - the solution is to remove:
 public static org.apache.commons.logging.Log log =
 org.apache.commons.logging.LogFactory
 .getLog(DeltaManager.class);
 

I tried that. The problem did not go away. Same as before:

log4j:ERROR Error occured while converting date.
java.lang.NullPointerException
at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:488)
at java.lang.StringBuffer.append(StringBuffer.java:302)
at 
org.apache.log4j.helpers.ISO8601DateFormat.format(ISO8601DateFormat.java:132)
at java.text.DateFormat.format(DateFormat.java:314)
at
org.apache.log4j.helpers.PatternParser$DatePatternConverter.convert(PatternParser.java:444)
at 
org.apache.log4j.helpers.PatternConverter.format(PatternConverter.java:64)
at org.apache.log4j.PatternLayout.format(PatternLayout.java:503)
at org.apache.log4j.WriterAppender.subAppend(WriterAppender.java:301)
at org.apache.log4j.WriterAppender.append(WriterAppender.java:159)
at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:230)
at
org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:65)
at org.apache.log4j.Category.callAppenders(Category.java:203)
at org.apache.log4j.Category.forcedLog(Category.java:388)
at org.apache.log4j.Category.log(Category.java:853)
at org.apache.commons.logging.impl.Log4JLogger.info(Log4JLogger.java:133)
at 
org.apache.catalina.cluster.session.DeltaManager.start(DeltaManager.java:975)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4137)
at 
org.apache.catalina.core.StandardContext.reload(StandardContext.java:2990)
at 
org.apache.catalina.manager.ManagerServlet.reload(ManagerServlet.java:906)
at
org.apache.catalina.manager.HTMLManagerServlet.reload(HTMLManagerServlet.java:473)
at
org.apache.catalina.manager.HTMLManagerServlet.doGet(HTMLManagerServlet.java:98)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at
org.apache.catalina.cluster.tcp.ReplicationValve.invoke(ReplicationValve.java:346)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:833)
at
org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:639)
at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1285)
at java.lang.Thread.run(Thread.java:595)
Jun 8, 2006 9:55:08 AM org.apache.catalina.loader.WebappClassLoader loadClass
INFO: Illegal access: this web application instance has been stopped already. 
Could not load org.apache.log4j.spi.VectorWriter.  The eventual following stack
trace is caused by an error thrown for debugging purposes as well as to attempt
to terminate the thread which caused the illegal access, and has no functional
impact.
java.lang.IllegalStateException
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1238)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1198)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at org.apache.log4j.spi.LoggingEvent.init(LoggingEvent.java:154)
at org.apache.log4j.Category.forcedLog(Category.java:388)
at org.apache.log4j.Category.log(Category.java:853)
at org.apache.commons.logging.impl.Log4JLogger.error(Log4JLogger.java:193)
at 
org.apache.catalina.cluster.session.DeltaManager.start(DeltaManager.java:989)
at 

DO NOT REPLY [Bug 39699] - simple deploy failed in cluster (distributable flag)

2006-06-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=39699.
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=39699





--- Additional Comments From [EMAIL PROTECTED]  2006-06-08 14:16 ---
(In reply to comment #24)
 
 I tried that. The problem did not go away. Same as before:
 

Please also remember that the first error talks about Error occured while
converting date and my log4j.appender.stdout.layout.ConversionPattern does have
%d{ISO8601}. Is that date not available or null?

-- 
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 39699] - simple deploy failed in cluster (distributable flag)

2006-06-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=39699.
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=39699





--- Additional Comments From [EMAIL PROTECTED]  2006-06-08 14:38 ---
Ok, I just told that to help, and beyond that I don't care at all. My workaround
may not work for a simple reload, though.

-- 
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 39699] - simple deploy failed in cluster (distributable flag)

2006-06-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=39699.
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=39699





--- Additional Comments From [EMAIL PROTECTED]  2006-06-08 14:59 ---
I'll look into it today

-- 
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 39699] - simple deploy failed in cluster (distributable flag)

2006-06-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=39699.
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=39699





--- Additional Comments From [EMAIL PROTECTED]  2006-06-08 15:00 ---
Ok, so my most likely better but still very similar workaround is to instantiate
the manager earlier.

-- 
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 39699] - simple deploy failed in cluster (distributable flag)

2006-06-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=39699.
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=39699


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Additional Comments From [EMAIL PROTECTED]  2006-06-08 16:55 ---
Thanks for the hint Remy, entirely the clusters fault as it was not setting the
context class loader when loading the manager instances.

I have attached a patched catalina-cluster.jar, can you please verify the fix.
It will also be included in the next release of Tomcat

Please let us know if this works for you.

-- 
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 39699] - simple deploy failed in cluster (distributable flag)

2006-06-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=39699.
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=39699





--- Additional Comments From [EMAIL PROTECTED]  2006-06-08 17:01 ---
(In reply to comment #30)
 
 Please let us know if this works for you.

Yes, it works for me with my sample testcase. Kudos to you guys for the quick
fix. I will try it with my regular webapp and hopefully it will not have any
problems.

Christophe, is your problem fixed?

-- 
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 39699] - simple deploy failed in cluster (distributable flag)

2006-06-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=39699.
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=39699





--- Additional Comments From [EMAIL PROTECTED]  2006-06-08 17:40 ---
i will test tomorrow...



-- 
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 39699] - simple deploy failed in cluster (distributable flag)

2006-06-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=39699.
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=39699





--- Additional Comments From [EMAIL PROTECTED]  2006-06-08 21:25 ---
(In reply to comment #31)
 
 Yes, it works for me with my sample testcase. Kudos to you guys for the quick
 fix. I will try it with my regular webapp and hopefully it will not have any
 problems.
 

Pleased to report that my production webapp encountered no problems either with
the new jar.


-- 
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 39699] - simple deploy failed in cluster (distributable flag)

2006-06-05 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=39699.
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=39699





--- Additional Comments From [EMAIL PROTECTED]  2006-06-05 20:57 ---
(In reply to comment #18)
 test case, meaning maybe a zip containing your config files, any modifications
 that you have made two tomcat, ie, added in log4j etc.
 
 ie, can you get us detailed instructions on how to exactly reproduce your
 problem. just saying that deploy an app and it breaks, it simply not 
 sufficient,
 as our apps are deploying.

I have made some progress with a simple test case. Here are the steps:

1) download vanilla tomcat .tar.gz (5.5.17)
2) tar xzvf /home/haroon/src/dist/apache-tomcat-5.5.17.tar.gz
3) cd apache-tomcat-5.5.17/conf/
4) edit server.xml to uncomment the Cluster config (leave everything else as 
is)
5) edit tomcat-users.xml so that you have a username/password with role 
manager
6) cd ../bin
7) ./startup.sh
8) After tomcat starts up, deploy testcase by copying
servlets-examples-cluster-node1.war to ../webapps (I will attach .war file in
next comment)
9) context deploys fine
10) go to http://localhost:8080/manager/html/list in your browser
11) Watch your catalina.out as you click on Reload for
servlets-examples-cluster-node1 and get the error.

Questions?


-- 
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 39699] - simple deploy failed in cluster (distributable flag)

2006-06-05 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=39699.
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=39699





--- Additional Comments From [EMAIL PROTECTED]  2006-06-05 20:58 ---
Created an attachment (id=18406)
 -- (http://issues.apache.org/bugzilla/attachment.cgi?id=18406action=view)
testcase describing cluster related reload of distributable webapps which
contain log4j


-- 
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 39699] - simple deploy failed in cluster (distributable flag)

2006-06-05 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=39699.
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=39699





--- Additional Comments From [EMAIL PROTECTED]  2006-06-05 21:04 ---
(In reply to comment #21)
 
 That is the exact jar that you see in the attachment in the previous comment.

oops... meant to say war file (instead of jar)

-- 
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 39699] - simple deploy failed in cluster (distributable flag)

2006-06-03 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=39699.
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=39699





--- Additional Comments From [EMAIL PROTECTED]  2006-06-03 07:39 ---
(In reply to comment #16)
 please attach a test case, that way we can get the facts and fix it more 
 promptly.

sorry, but what do you mean with a 'test case'?

You can reproduce the problem with the server.xml in my first post (a simple
cluster configuration is sufficient (SimpleTcpCluster line only is sufficient)
and try to deploy with html manager or copy a war to your webapps (with
autodeploy enabled of course). 



-- 
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 39699] - simple deploy failed in cluster (distributable flag)

2006-06-03 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=39699.
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=39699





--- Additional Comments From [EMAIL PROTECTED]  2006-06-03 15:42 ---
test case, meaning maybe a zip containing your config files, any modifications
that you have made two tomcat, ie, added in log4j etc.

ie, can you get us detailed instructions on how to exactly reproduce your
problem. just saying that deploy an app and it breaks, it simply not sufficient,
as our apps are deploying.

-- 
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 39699] - simple deploy failed in cluster (distributable flag)

2006-06-02 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=39699.
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=39699





--- Additional Comments From [EMAIL PROTECTED]  2006-06-02 06:12 ---
It seems that you have a log4j classloader issuse.

I hope you only have a log4j jar and commons-logging inside you app and not at 
common/lib.

Test it with 5.5.17 again.

-- 
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 39699] - simple deploy failed in cluster (distributable flag)

2006-06-02 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=39699.
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=39699





--- Additional Comments From [EMAIL PROTECTED]  2006-06-02 08:20 ---
(In reply to comment #3)
 It seems that you have a log4j classloader issuse.
 
 I hope you only have a log4j jar and commons-logging inside you app and not at
common/lib.
 
 Test it with 5.5.17 again.

same isusue after removing commons-logging and log4j (renamed log4j.jar -
log4j.jar.not and the same for commons-logging.jar) in common/lib (i use log4j
to log tomcat message, not only in webapps...

any idea ?

-- 
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 39699] - simple deploy failed in cluster (distributable flag)

2006-06-02 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=39699.
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=39699





--- Additional Comments From [EMAIL PROTECTED]  2006-06-02 11:27 ---
(In reply to comment #4)

 
 i use log4j to log tomcat message, not only in webapps...
 

I use log4j for the same purpose.


-- 
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 39699] - simple deploy failed in cluster (distributable flag)

2006-06-02 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=39699.
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=39699





--- Additional Comments From [EMAIL PROTECTED]  2006-06-02 12:07 ---
(In reply to comment #7)
 (In reply to comment #4)
 
  
  i use log4j to log tomcat message, not only in webapps...
  
 
 I use log4j for the same purpose.
 

got the same in 5.5.16...
do you know where can i found 5.5.12 ?

thanks in advance.

-- 
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 39699] - simple deploy failed in cluster (distributable flag)

2006-06-02 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=39699.
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=39699





--- Additional Comments From [EMAIL PROTECTED]  2006-06-02 13:48 ---
(In reply to comment #10)
 
 Ok, i just tried with 5.5.12 it's ok, no issue...
 i have also tried with others versions :
 
 5.5.12 : ok
 5.5.13 : BUG
 5.5.16 : BUG
 5.5.17 : BUG 
 
 it appears that there was a change from 5.5.13 ...
 

I have 5.5.12 in production with no problems. And yes, 5.5.13 causes the bug to
appear for me as well. So, something changed from 5.5.12 - 5.5.13. Time to look
at the changelog for 5.5.13.

-- 
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 39699] - simple deploy failed in cluster (distributable flag)

2006-06-02 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=39699.
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=39699





--- Additional Comments From [EMAIL PROTECTED]  2006-06-02 14:15 ---
(In reply to comment #11)
 
 I have 5.5.12 in production with no problems. And yes, 5.5.13 causes the bug 
 to
 appear for me as well. So, something changed from 5.5.12 - 5.5.13. Time to 
 look
 at the changelog for 5.5.13.

I didn't see anything in the 5.5.13 changelog (with my untrained eye). However,
this discussion seems to be similar.

http://www.nabble.com/RE%3A-Tomcat-5.5.15-Context-Reloading-issue-t1123634.html#a3010048

Rémy?

In that thread Rémy says:

I added some code to null out certain instances, and your shared log4j
setup doesn't like it (at least it's a likely possibility). Try to use
a JNDI based log4j setup (or similar, using one logging namespace for
all webapps is not clean), or don't share it. 

Would it be possible to see where is the code which nulls out certain 
instances??

The precursor the above thread is at:
http://www.nabble.com/Tomcat-5.5.15-Context-Reloading-issue-t1076386.html#a2955863

Be aware that in comment 4 and comment 6, both Christophe and I have reported
that even with nothing in common/lib (no log4j.jar, no commons-logging.jar), we
still get the bug. The only log4j.jar and commons-logging.jar is the one present
in WEB-INF/lib of the webapp. So, more than likely the shared log4j setup is
not the culprit.

-- 
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 39699] - simple deploy failed in cluster (distributable flag)

2006-06-02 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=39699.
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=39699





--- Additional Comments From [EMAIL PROTECTED]  2006-06-02 14:25 ---
(In reply to comment #12)
 (In reply to comment #11)
  
  I have 5.5.12 in production with no problems. And yes, 5.5.13 causes the 
  bug to
  appear for me as well. So, something changed from 5.5.12 - 5.5.13. Time to 
  look
  at the changelog for 5.5.13.
 
 I didn't see anything in the 5.5.13 changelog (with my untrained eye). 
 However,
 this discussion seems to be similar.
 

http://www.nabble.com/RE%3A-Tomcat-5.5.15-Context-Reloading-issue-t1123634.html#a3010048
 
 Rémy?
 
 In that thread Rémy says:
 
 I added some code to null out certain instances, and your shared log4j
 setup doesn't like it (at least it's a likely possibility). Try to use
 a JNDI based log4j setup (or similar, using one logging namespace for
 all webapps is not clean), or don't share it. 
 
 Would it be possible to see where is the code which nulls out certain 
 instances??
 
 The precursor the above thread is at:
 http://www.nabble.com/Tomcat-5.5.15-Context-Reloading-issue-t1076386.html#a2955863
 
 Be aware that in comment 4 and comment 6, both Christophe and I have reported
 that even with nothing in common/lib (no log4j.jar, no commons-logging.jar), 
 we
 still get the bug. The only log4j.jar and commons-logging.jar is the one 
 present
 in WEB-INF/lib of the webapp. So, more than likely the shared log4j setup is
 not the culprit.



in 5.5.12, deploy is ok, but i get this recurrent error in log :
--
 ERROR org.apache.catalina.cluster.tcp.TcpReplicationThread[3]
org.apache.catalina.cluster.tcp.TcpReplicationThread -
 TCP Worker thread in cluster caught 'java.io.IOException: Connection reset by
peer' closing channel
 java.io.IOException: Connection reset by peer
at sun.nio.ch.FileDispatcher.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(Unknown Source)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(Unknown Source)
at sun.nio.ch.IOUtil.read(Unknown Source)
at sun.nio.ch.SocketChannelImpl.read(Unknown Source)
at
org.apache.catalina.cluster.tcp.TcpReplicationThread.drainChannel(TcpReplicationThread.java:125)
at
org.apache.catalina.cluster.tcp.TcpReplicationThread.run(TcpReplicationThread.java:69)
ERROR org.apache.catalina.cluster.tcp.TcpReplicationThread[3]
org.apache.catalina.cluster.tcp.TcpReplicationThread -
TCP Worker thread in cluster caught 'java.io.IOException: Connection reset by
peer' closing channel
 java.io.IOException: Connection reset by peer
at sun.nio.ch.FileDispatcher.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(Unknown Source)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(Unknown Source)
at sun.nio.ch.IOUtil.read(Unknown Source)
at sun.nio.ch.SocketChannelImpl.read(Unknown Source)
at
org.apache.catalina.cluster.tcp.TcpReplicationThread.drainChannel(TcpReplicationThread.java:125)
at
org.apache.catalina.cluster.tcp.TcpReplicationThread.run(TcpReplicationThread.java:69)


-- 
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 39699] - simple deploy failed in cluster (distributable flag)

2006-06-02 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=39699.
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=39699





--- Additional Comments From [EMAIL PROTECTED]  2006-06-02 14:42 ---
(In reply to comment #13)
 
 
 in 5.5.12, deploy is ok, but i get this recurrent error in log :


That looks like bug 38788, so its a separate issue.

-- 
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 39699] - simple deploy failed in cluster (distributable flag)

2006-06-02 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=39699.
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=39699





--- Additional Comments From [EMAIL PROTECTED]  2006-06-02 18:24 ---
(In reply to comment #14)
 (In reply to comment #13)
  
  
  in 5.5.12, deploy is ok, but i get this recurrent error in log :
 
 
 That looks like bug 38788, so its a separate issue.

ok...
i didn't know...

-- 
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 39699] - simple deploy failed in cluster (distributable flag)

2006-06-02 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=39699.
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=39699





--- Additional Comments From [EMAIL PROTECTED]  2006-06-02 21:55 ---
please attach a test case, that way we can get the facts and fix it more 
promptly.

-- 
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 39699] - simple deploy failed in cluster (distributable flag)

2006-06-01 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=39699.
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=39699


[EMAIL PROTECTED] changed:

   What|Removed |Added

 CC||[EMAIL PROTECTED]




--- Additional Comments From [EMAIL PROTECTED]  2006-06-01 19:30 ---
same here for me with 5.5.17 on Linux. Same setup on the webapp side used to
work find in 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 39699] - simple deploy failed in cluster (distributable flag)

2006-06-01 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=39699.
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=39699





--- Additional Comments From [EMAIL PROTECTED]  2006-06-02 05:48 ---
(In reply to comment #1)
 same here for me with 5.5.17 on Linux. Same setup on the webapp side used to
 work find in 5.5.12.

did you tried with 5.5.16 ?

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