java.lang.NullPointerException at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:272) while accessing JAX-WS services

前端 未结 1 1819
醉酒成梦
醉酒成梦 2021-01-13 12:29

I\'m getting the following exception while implementing JAX-WS services in a Java EE 7 application.

Warning:   Internal Server error: /Test-war/Test.xhtml
ja         


        
1条回答
  •  离开以前
    2021-01-13 13:11

    This is a bug in GlassFish 4.1 affecting the grizzly-kernel component in the server - the GlassFish Grizzly Embedded Server serving HTTP requests. This requires replacing the nucleus-grizzly-all.jar jar file in GlassFish server (4.1) as suggested here under ${glassfishHome}/glassfish/modules (do not forget to clear osgi-cache under #{glassfishHome}/glassfish/domains/yourDomain before starting/restarting the server).

    I visited that link prior to this post but its status was "resolved" according to GlassFish Server 4.1 that made me think something different.

    Please note : Someone already posted the same answer a few hours ago but the answer was deleted perhaps by trusted users considering a link-only answer. Despite the fact that it is a link-only answer but in this case, there is no way to get around the issue other than replacing the new jar in the server and even the jar was provided after this question was asked on November 19, 2014. I hope this answer will not be deleted.

    0 讨论(0)
提交回复
热议问题