users@glassfish.java.net

Re: Glassfish crash

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Mon, 20 Apr 2009 18:12:02 -0400

Salut,

glassfish_at_javadesktop.org wrote:
> Hi,
>
> I'm using glassfish v2. Is it normal for glassfish to stop working when it encounters jsp error, nullpointer, numberformat and other errors for a couple of times? Thanks for any help!
>
>
> [#|2009-04-18T10:44:50.102-0700|WARNING|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=16;_ThreadName=SelectorThread-80;_RequestID=8f6c67eb-814f-4a7f-bf87-19d1dce2420c;|setReuseAddress exception
> java.net.SocketException: Invalid argument
> at sun.nio.ch.Net.setIntOption0(Native Method)
> at sun.nio.ch.Net.setIntOption(Net.java:154)
> at sun.nio.ch.SocketChannelImpl$1.setInt(SocketChannelImpl.java:406)
> at sun.nio.ch.SocketOptsImpl.setBoolean(SocketOptsImpl.java:38)
> at sun.nio.ch.SocketOptsImpl.reuseAddress(SocketOptsImpl.java:156)
> at sun.nio.ch.SocketOptsImpl$IP$TCP.reuseAddress(SocketOptsImpl.java:268)
> at sun.nio.ch.OptionAdaptor.setReuseAddress(OptionAdaptor.java:177)
> at sun.nio.ch.SocketAdaptor.setReuseAddress(SocketAdaptor.java:343)
> at com.sun.enterprise.web.connector.grizzly.SelectorThread.setSocketOptions(SelectorThread.java:1910)
> at com.sun.enterprise.web.connector.grizzly.SelectorThread.handleAccept(SelectorThread.java:1475)
> at com.sun.enterprise.web.connector.grizzly.SelectorThread.handleConnection(SelectorThread.java:1439)
> at com.sun.enterprise.web.connector.grizzly.SelectorThread.doSelect(SelectorThread.java:1350)
> at com.sun.enterprise.web.connector.grizzly.SelectorThread.startListener(SelectorThread.java:1284)
> at com.sun.enterprise.web.connector.grizzly.SelectorThread.startEndpoint(SelectorThread.java:1247)
> at com.sun.enterprise.web.connector.grizzly.SelectorThread.run(SelectorThread.java:1223)

The setReuseAddress issue is caused by the JDK:

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6799574

which version of the JDK are you using?

Thanks

-- Jeanfrancois


> |#]
>
> [#|2009-04-18T08:50:07.232-0700|INFO|sun-appserver9.1|javax.enterprise.system.stream.out|_ThreadID=70;_ThreadName=httpSSLWorkerThread-80-16;|java.lang.NullPointerException|#]
>
> [#|2009-04-18T08:50:14.488-0700|SEVERE|sun-appserver9.1|org.apache.jasper.compiler.Compiler|_ThreadID=59;_ThreadName=httpSSLWorkerThread-80-59;_RequestID=3eb0ab84-c276-43f3-ac9a-f7cdebc1e351;|Error compiling file: /app/appserver9.1/domains/domain1/generated/jsp/j2ee-modules/Portal_Web_Files/org/apache/jsp/sun/error_jsp.java|#]
>
> [#|2009-04-18T08:50:14.488-0700|SEVERE|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=59;_ThreadName=httpSSLWorkerThread-80-59;_RequestID=3eb0ab84-c276-43f3-ac9a-f7cdebc1e351;|StandardWrapperValve[jsp]: PWC1406: Servlet.service() for servlet jsp threw exception
> org.apache.jasper.JasperException: PWC6033: Unable to compile class for JSP
>
> PWC6199: Generated servlet error:
> string:///error_jsp.java:18: package org.json does not exist
>
> PWC6199: Generated servlet error:
> Note: string:///error_jsp.java from uses or overrides a deprecated API.
>
> PWC6199: Generated servlet error:
> Note: Recompile with -Xlint:deprecation for details.
>
> PWC6199: Generated servlet error:
> Note: string:///error_jsp.java from uses unchecked or unsafe operations.
>
> PWC6199: Generated servlet error:
> Note: Recompile with -Xlint:unchecked for details.
>
>
> [#|2009-04-18T08:51:53.102-0700|INFO|sun-appserver9.1|javax.enterprise.system.stream.out|_ThreadID=71;_ThreadName=httpSSLWorkerThread-80-1;|java.lang.NumberFormatException: null|#]
> [Message sent by forum member 'tanww888' (tanww888)]
>
> http://forums.java.net/jive/thread.jspa?messageID=342958
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>