DO NOT REPLY [Bug 46373] tomcat6 cpu100%

2008-12-17 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=46373





--- Comment #3 from Filip Hanik   2008-12-17 08:49:38 PST ---
This looks like it is still a JDK bug

Grizzly  seem to have the same issue on linux
http://www.nabble.com/Comet-handler-starts-terminating-TCP-connections-with-RST--td20337445.html

Filip


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

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Re: Tomcat errors

2008-12-17 Thread Mark Thomas
dalilama wrote:
> I'm trying to get to know tomcat 6. I am experimenting with editing one of
> the java classes in apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes
> 
> I have replaced the contents of HelloWorldExample.java with my own code
> which server a web page . One of the lines of code is:
> public void doGet(HttpServletRequest req, HttpServletResponse res) 
> 
> The code compiles fine and runs fine.
> Now I want to add some code which might throw an exception so I modify the
> above line to read :
> public void doGet(HttpServletRequest req, HttpServletResponse res) throws
> IOException, ServletException
> 
> The file again compiles without problem. But now when I start the tomcat
> instance I see the following errors in the logs : 
> 
> Dec 17, 2008 1:23:02 PM org.apache.catalina.core.StandardContext
> listenerStart
> SEVERE: Error configuring application listener of class
> listeners.ContextListener
> java.lang.NoClassDefFoundError:
> javax/servlet/ServletContextAttributeListener
> at java.lang.ClassLoader.defineClass1(Native Method)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
> 
> The "javax/servlet/ServletContextAttributeListener" is definately there and
> the location is included in the environmental variable "CLASSPATH"
> 
> Now the tomcat server is totally disfunctional and gives me HTTP STatus 404
> when I do to the servlet demo page.

That is a question for the users list, not the dev list.

Mark

> 
> 
> George


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Tomcat errors

2008-12-17 Thread dalilama

I'm trying to get to know tomcat 6. I am experimenting with editing one of
the java classes in apache-tomcat-6.0.18/webapps/examples/WEB-INF/classes

I have replaced the contents of HelloWorldExample.java with my own code
which server a web page . One of the lines of code is:
public void doGet(HttpServletRequest req, HttpServletResponse res) 

The code compiles fine and runs fine.
Now I want to add some code which might throw an exception so I modify the
above line to read :
public void doGet(HttpServletRequest req, HttpServletResponse res) throws
IOException, ServletException

The file again compiles without problem. But now when I start the tomcat
instance I see the following errors in the logs : 

Dec 17, 2008 1:23:02 PM org.apache.catalina.core.StandardContext
listenerStart
SEVERE: Error configuring application listener of class
listeners.ContextListener
java.lang.NoClassDefFoundError:
javax/servlet/ServletContextAttributeListener
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)

The "javax/servlet/ServletContextAttributeListener" is definately there and
the location is included in the environmental variable "CLASSPATH"

Now the tomcat server is totally disfunctional and gives me HTTP STatus 404
when I do to the servlet demo page.


George
-- 
View this message in context: 
http://www.nabble.com/Tomcat-errors-tp21053265p21053265.html
Sent from the Tomcat - Dev mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



DO NOT REPLY [Bug 46249] "stream closed" problem

2008-12-17 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=46249


Mark Thomas  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Comment #1 from Mark Thomas   2008-12-17 14:34:52 PST ---
Tag instances can be re-used. The JspWriter will only be valid for the first
use, not for any subsequent re-use.


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

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



DO NOT REPLY [Bug 46249] "stream closed" problem

2008-12-17 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=46249


Mark Thomas  changed:

   What|Removed |Added

 Resolution|FIXED   |INVALID




--- Comment #2 from Mark Thomas   2008-12-17 14:35:17 PST ---
Correct resolution - sorry for the noise.


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

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



DO NOT REPLY [Bug 46352] Apache 1.3 crashes inside mod_jk.so with selfsigned SSL cert

2008-12-17 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=46352





--- Comment #10 from Rainer Jung   2008-12-17 16:33:45 
PST ---
Could you please try the patch available at:

http://people.apache.org/~rjung/mod_jk-dev/patches/extension_crash.patch

It came up for a related issue reported today and it could well fix your
problem.


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

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



DO NOT REPLY [Bug 46373] tomcat6 cpu100%

2008-12-17 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=46373





--- Comment #4 from huangjunjie   2008-12-17 18:24:28 PST 
---
Will it be fixed in jdk 7 ? NIO's performance is very good.


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

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



DO NOT REPLY [Bug 46373] tomcat6 cpu100%

2008-12-17 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=46373





--- Comment #5 from Filip Hanik   2008-12-17 20:44:37 PST ---
Well, the JDK folks thought it was already fixed, but apparently not.
We could try to implement a workaround for it (namely cancelling the selector
and starting a new one) but that can get real messy real fast.

one key factor would be to have a scenario that we can reproduce, so as of now,
I can't give you any certain dates when this will be fixed


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

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



DO NOT REPLY [Bug 46373] tomcat6 cpu100%

2008-12-17 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=46373





--- Comment #6 from huangjunjie   2008-12-17 21:13:27 PST 
---
All right, if there's some good news, let me know please. 
Thank you anyway.


Best
Water.DH



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

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org