users@grizzly.java.net

Re: SEVERE: selectorThread.stopException

From: Alan Williamson <alan_at_blog-city.com>
Date: Thu, 19 Jun 2008 16:19:21 +0100

Thanks Jeanfrancois, tried that. :(

no difference.

now here is something; i went back to Grizzly1.6, all is well. No problems.

So something is definitely up with either the way i am handling 1.8.

i am running JDK1.6


SEVERE: selectorThread.stopException
java.lang.InternalError
         at
sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:752)
         at sun.misc.URLClassPath.getResource(URLClassPath.java:168)
         at java.net.URLClassLoader$1.run(URLClassLoader.java:192)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         at
java.util.ResourceBundle$RBClassLoader.loadClass(ResourceBundle.java:445)
         at
java.util.ResourceBundle$Control.newBundle(ResourceBundle.java:2383)
         at java.util.ResourceBundle.loadBundle(ResourceBundle.java:1406)
         at java.util.ResourceBundle.findBundle(ResourceBundle.java:1365)
         at java.util.ResourceBundle.findBundle(ResourceBundle.java:1292)
         at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1234)
         at java.util.ResourceBundle.getBundle(ResourceBundle.java:715)
         at java.util.logging.Level.getLocalizedName(Level.java:223)
         at
java.util.logging.SimpleFormatter.format(SimpleFormatter.java:64)
         at java.util.logging.StreamHandler.publish(StreamHandler.java:179)
         at java.util.logging.ConsoleHandler.publish(ConsoleHandler.java:88)
         at java.util.logging.Logger.log(Logger.java:472)
         at java.util.logging.Logger.doLog(Logger.java:494)
         at java.util.logging.Logger.log(Logger.java:583)
         at com.sun.grizzly.Controller.doSelect(Controller.java:498)
         at
com.sun.grizzly.SelectorHandlerRunner.run(SelectorHandlerRunner.java:82)
         at
com.sun.grizzly.Controller.startSelectorHandlerRunner(Controller.java:1117)
         at com.sun.grizzly.Controller.start(Controller.java:924)
         at
com.sun.grizzly.http.SelectorThread.startListener(SelectorThread.java:1196)
         at
com.sun.grizzly.http.SelectorThread.run(SelectorThread.java:1063)
         at
com.sun.grizzly.http.SelectorThread.startEndpoint(SelectorThread.java:1128)
         at com.mediafed.net.HttpServer.<init>(HttpServer.java:109)
         at com.mediafed.HttpGateway.<init>(HttpGateway.java:55)
         at com.mediafed.HttpGateway.main(HttpGateway.java:47)
Caused by: java.util.zip.ZipException: error in opening zip file
         at java.util.zip.ZipFile.open(Native Method)
         at java.util.zip.ZipFile.<init>(ZipFile.java:114)
         at java.util.jar.JarFile.<init>(JarFile.java:133)
         at java.util.jar.JarFile.<init>(JarFile.java:70)
         at
sun.misc.URLClassPath$JarLoader.getJarFile(URLClassPath.java:643)
         at
sun.misc.URLClassPath$JarLoader.access$600(URLClassPath.java:538)
         at sun.misc.URLClassPath$JarLoader$1.run(URLClassPath.java:605)
         at java.security.AccessController.doPrivileged(Native Method)
         at
sun.misc.URLClassPath$JarLoader.ensureOpen(URLClassPath.java:597)
         at
sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:750)




Jeanfrancois Arcand wrote:
> Salut,
>
> Alan Williamson wrote:
>> I am still getting this exception and its very confusing. But i think
>> i may have spotted what changed when i upgraded the production
>> machines to 1.8
>>
>> In the 1.6 i was including the following JAR files in my java startup
>>
>> Old:
>> CP=$CP:lib/framework-1.6.1.jar
>> CP=$CP:lib/portunif-1.6.1.jar
>> CP=$CP:lib/rcm-1.6.1.jar
>> CP=$CP:lib/http-utils-1.6.1.jar
>> CP=$CP:lib/http-1.6-SNAPSHOT.jar
>>
>>
>>
>> Now i am only using:
>>
>> New:
>> CP=$CP:lib/grizzly-framework-1.8.0.jar
>> CP=$CP:lib/grizzly-http-webserver-1.8.0.jar
>>
>>
>> Am i missing something?
>
> Can you remove the grizzly-framework jar to see if that makes a
> difference? That jar is not needed as its contents are included with the
> latter one. Those bundles (grizzly-XXX-webserver) have been added only
> since 1.7.x
>
>
> Thanks
>
> -- Jeanfrancois
>
>
>>
>> thanks
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
>> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>

-- 
Alan Williamson
  Try our free registrationless email/sms reminder
    http://yourli.st/
  b: http://alan.blog-city.com/