hi al,
i am new to Glassfish application server and trying to access a resource.
"
http://localhost:8081/hossconfigserver/agentserver"
I am gettign following exception in server.log file.
[#|2011-07-18T17:37:06.463+0530|INFO|sun-appserver9.1|javax.enterprise.system.stream.out|_ThreadID=23;_ThreadName=Notification
Event Thread;|17:37:06,463 INFO InitConfigurationRule:52 - Can not get
initial configuration, will retry later. |#]
[#|2011-07-18T17:37:06.478+0530|INFO|sun-appserver9.1|javax.enterprise.system.stream.out|_ThreadID=23;_ThreadName=Notification
Event Thread;|17:37:06,463 INFO EventHistoryManager:33 - Recorded historical
event InitConfiguration - null - null |#]
[#|2011-07-18T17:37:10.588+0530|SEVERE|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=15;_ThreadName=httpSSLWorkerThread-8081-1;_RequestID=cabd7412-6719-4c0c-945b-530a5e17b877;|StandardWrapperValve[AgentServerServlet]:
PWC1406: Servlet.service() for servlet AgentServerServlet threw exception
java.lang.NullPointerException at
org.hosscollab.pipeline.configserver.model.Waypoint.toAgentServerXML(Waypoint.java:177)
at
org.hosscollab.pipeline.configserver.model.AgentServer.toAgentServerXML(AgentServer.java:178)
at
org.hosscollab.pipeline.configserver.servlet.AgentServerServlet.processRequest(AgentServerServlet.java:53)
at
org.hosscollab.pipeline.configserver.servlet.AgentServerServlet.doGet(AgentServerServlet.java:78)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:718) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:831) at
org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:290)
at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:271)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:202)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94) at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:206)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080) at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:150)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080) at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:272) at
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:637)
at
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:568)
at
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:813)
at
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
at
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
at
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
at
com.sun.enterprise.web.portunif.PortUnificationPipeline$PUTask.doTask(PortUnificationPipeline.java:380)
at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
at
com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
|#]
The version of glassfish server is "Version = Sun Java System Application
Server 9.1_02"
I have attached the "web.xml" file to message.
When i am trying other paths it is working . for example for
"
http://localhost:8081/hossconfigserver/configurationserver" it is returning
proper results.
I have doubt that, i am missing some configuration for glassfish server.
Please help.
Thanks
--
[Message sent by forum member 'gunwantw']
View Post: http://forums.java.net/node/823364