admin@glassfish.java.net

problem in glassfish admin console on windows 2003

From: lendle <lendle_tseng_at_seed.net.tw>
Date: Tue, 28 Aug 2007 00:19:12 +0800

Hello, I've faced difficulties with the glassfish admin console.
The operating system is windows 2003 sp2
The JDK version is 1.6.0 update 1
no jar is installed in endorsed directory
no additional jar is put in ext directory

the result server.log is put in attachment

The problem seems weired, since it claimed a NoSuchMethodError on
javax.servlet.ServletContext.getContextPath()Ljava/lang/String!!

please give me some suggestion, thank you!

Sincerely, Lendle Tseng


[#|2007-08-23T11:06:18.640+0800|WARNING|sun-appserver9.1|org.apache.catalina.authenticator.FormAuthenticator|_ThreadID=14;_ThreadName=httpWorkerThread-4848-0;_RequestID=7126d9d0-5c17-4a0e-95b6-c6bc0dd999e6;|Unexpected error forwarding or redirecting to login page
java.lang.NoSuchMethodError: javax.servlet.ServletContext.getContextPath()Ljava/lang/String;
  at org.apache.catalina.authenticator.FormAuthenticator.forwardToLoginPage(FormAuthenticator.java:423)
  at org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:240)
  at com.sun.web.security.RealmAdapter.invokeAuthenticateDelegate(RealmAdapter.java:1146)
  at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:627)
  at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:609)
  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:270)
  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:339)
  at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:261)
  at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:212)
  at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
  at com.sun.enterprise.web.connector.grizzly.WorkerThreadImpl.run(WorkerThreadImpl.java:116)