You should not be getting these error messages. This appears to be a
classloader problem. I ran into something like this a few days ago but
my environment was very odd at the time, so I ignored it. I wonder if
this is a problem w/ the validator code in JSF... there have been a lot
of exceptions from the validator code recently that have been hard to
track down.
If you can jar up your directory and send it to me? I would be very
interested in trying this to see if I can figure out what's wrong. To
do that:
cd ...\glassfish\admin-gui\src
jar cf frommike.jar docroot
Also can you do: java -version
And also make sure the <glassfish-root>\config\asenv.conf file points to
the same version of Java?
Also what build of GlassFish you have.
And tell me what you have in your: <glassfish-root>\lib\addons directory?
Hopefully we can figure this out quickly for you.
Ken
Michael Phoenix wrote:
> Ken,
>
> I'm aware of the common http status codes. I did find some error
> messages in the server log, but don't have a clue as to what they
> mean. Except maybe that you haven't given me everything I need to make
> "docroot" a deployable, executable application. Here's the error
> messages from the server log in response to my launching docroot. I'm
> really not sure how to determine what is missing here. It looks like a
> class definition is missing for ShemaType. Any idea how to resolve that?
>
> Mike
> [#|2007-06-04T17:56:34.843-0700|INFO|sun-appserver9.1|com.sun.jbi.framework|_ThreadID=15;_ThreadName=httpWorkerThread-4848-1;|JBIFW0012:
> JBI framework startup complete.|#]
>
> [#|2007-06-04T17:56:44.000-0700|INFO|sun-appserver9.1|javax.enterprise.system.stream.out|_ThreadID=14
> ;_ThreadName=httpWorkerThread-4848-0;|
> RMIClient.getRMIClient: server|#]
>
> [#|2007-06-04T17:56:54.171-0700|INFO|sun-appserver9.1|javax.enterprise.resource.webcontainer.jsf.config|_ThreadID=18;_ThreadName=httpSSLWorkerThread-8080-1;/docroot;|Initializing
> Sun's JavaServer Faces implementation ( 1.2_04-b10-p01) for context
> '/docroot'|#]
>
> [#|2007-06-04T17:56:54.890-0700|SEVERE|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=18;_ThreadName=httpSSLWorkerThread-8080-1;_RequestID=d9fa02bd-80a7-4afa-bae6-5c859d95d1b0;|WebModule[/docroot]StandardWrapper.Throwable
>
> java.lang.NoClassDefFoundError: org/apache/xmlbeans/SchemaType
> at java.lang.Class.getDeclaredMethods0(Native Method)
> at java.lang.Class.privateGetDeclaredMethods(Class.java:2365)
> at java.lang.Class.getDeclaredMethods (Class.java:1763)
> at
> com.sun.faces.config.ManagedBeanFactoryImpl.scanForAnnotations(ManagedBeanFactoryImpl.java:1140)
> at
> com.sun.faces.config.ManagedBeanFactoryImpl.<init>(ManagedBeanFactoryImpl.java:156)
>
> at
> com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:926)
> at
> com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:507)
> at com.sun.faces.config.ConfigureListener.contextInitialized
> (ConfigureListener.java:402)
> at
> com.sun.enterprise.tools.admingui.servlet.DelayedInitFacesServlet.init(DelayedInitFacesServlet.java:57)
> at
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java
> :1165)
> at
> org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:819)
> at
> org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:781)
> at org.apache.catalina.core.ApplicationDispatcher.invoke
> (ApplicationDispatcher.java:690)
> at
> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:529)
> at
> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java
> :461)
> at
> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:353)
> at
> org.apache.catalina.authenticator.FormAuthenticator.forwardToLoginPage(FormAuthenticator.java:405)
> at
> org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:226)
> at
> com.sun.web.security.RealmAdapter.invokeAuthenticateDelegate(RealmAdapter.java:1133)
> at org.apache.catalina.authenticator.AuthenticatorBase.invoke
> (AuthenticatorBase.java:614)
> at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:596)
> at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:564)
> at com.sun.enterprise.web.WebPipeline.invoke (WebPipeline.java:81)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:193)
> at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:611)
> at org.apache.catalina.core.StandardPipeline.doInvoke
> (StandardPipeline.java:564)
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:558)
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1067)
> at org.apache.catalina.core.StandardEngineValve.invoke
> (StandardEngineValve.java:137)
> at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:611)
> at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:564)
> at org.apache.catalina.core.StandardPipeline.invoke
> (StandardPipeline.java:558)
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1067)
> at
> org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:255)
> at
> com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter
> (DefaultProcessorTask.java:618)
> at
> com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:549)
> at
> com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process
> (DefaultProcessorTask.java:790)
> at
> com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:326)
> at
> com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java
> :248)
> at
> com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:199)
> at
> com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
> at
> com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run
> (SSLWorkerThread.java:93)
> |#]
>
> [#|2007-06-04T17:56:54.906-0700|SEVERE|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=18;_ThreadName=httpSSLWorkerThread-8080-1;_RequestID=d9fa02bd-80a7-4afa-bae6-5c859d95d1b0;|ApplicationDispatcher[/docroot]
> PWC1225: Allocate exception for servlet FacesServlet
> java.lang.NoClassDefFoundError: org/apache/xmlbeans/SchemaType
> at java.lang.Class.getDeclaredMethods0(Native Method)
> at java.lang.Class.privateGetDeclaredMethods(Class.java:2365)
> at java.lang.Class.getDeclaredMethods (Class.java:1763)
> at
> com.sun.faces.config.ManagedBeanFactoryImpl.scanForAnnotations(ManagedBeanFactoryImpl.java:1140)
> at
> com.sun.faces.config.ManagedBeanFactoryImpl.<init>(ManagedBeanFactoryImpl.java:156)
>
> at
> com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:926)
> at
> com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:507)
> at com.sun.faces.config.ConfigureListener.contextInitialized
> (ConfigureListener.java:402)
> at
> com.sun.enterprise.tools.admingui.servlet.DelayedInitFacesServlet.init(DelayedInitFacesServlet.java:57)
> at
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java
> :1165)
> at
> org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:819)
> at
> org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:781)
> at org.apache.catalina.core.ApplicationDispatcher.invoke
> (ApplicationDispatcher.java:690)
> at
> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:529)
> at
> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java
> :461)
> at
> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:353)
> at
> org.apache.catalina.authenticator.FormAuthenticator.forwardToLoginPage(FormAuthenticator.java:405)
> at
> org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:226)
> at
> com.sun.web.security.RealmAdapter.invokeAuthenticateDelegate(RealmAdapter.java:1133)
> at org.apache.catalina.authenticator.AuthenticatorBase.invoke
> (AuthenticatorBase.java:614)
> at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:596)
> at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:564)
> at com.sun.enterprise.web.WebPipeline.invoke (WebPipeline.java:81)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:193)
> at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:611)
> at org.apache.catalina.core.StandardPipeline.doInvoke
> (StandardPipeline.java:564)
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:558)
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1067)
> at org.apache.catalina.core.StandardEngineValve.invoke
> (StandardEngineValve.java:137)
> at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:611)
> at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:564)
> at org.apache.catalina.core.StandardPipeline.invoke
> (StandardPipeline.java:558)
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1067)
> at
> org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:255)
> at
> com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter
> (DefaultProcessorTask.java:618)
> at
> com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:549)
> at
> com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process
> (DefaultProcessorTask.java:790)
> at
> com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:326)
> at
> com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java
> :248)
> at
> com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:199)
> at
> com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
> at
> com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run
> (SSLWorkerThread.java:93)
> |#]
>
> [#|2007-06-04T17:56:54.906-0700|WARNING|sun-appserver9.1|org.apache.catalina.authenticator.FormAuthenticator|_ThreadID=18;_ThreadName=httpSSLWorkerThread-8080-1;_RequestID=d9fa02bd-80a7-4afa-bae6-5c859d95d1b0;|Unexpected
> error forwarding to login page
> javax.servlet.ServletException: PWC1391: Servlet.init() for servlet
> FacesServlet threw exception
> at
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1223)
> at org.apache.catalina.core.StandardWrapper.allocate
> (StandardWrapper.java:819)
> at
> org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:781)
> at
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:690)
> at
> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:529)
> at
> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:461)
> at org.apache.catalina.core.ApplicationDispatcher.forward
> (ApplicationDispatcher.java:353)
> at
> org.apache.catalina.authenticator.FormAuthenticator.forwardToLoginPage(FormAuthenticator.java:405)
> at
> org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java
> :226)
> at
> com.sun.web.security.RealmAdapter.invokeAuthenticateDelegate(RealmAdapter.java:1133)
> at
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:614)
> at org.apache.catalina.core.StandardPipeline.doInvoke
> (StandardPipeline.java:596)
> at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:564)
> at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:81)
> at org.apache.catalina.core.StandardHostValve.invoke
> (StandardHostValve.java:193)
> at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:611)
> at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:564)
> at org.apache.catalina.core.StandardPipeline.invoke
> (StandardPipeline.java:558)
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1067)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
> at org.apache.catalina.core.StandardPipeline.doInvoke
> (StandardPipeline.java:611)
> at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:564)
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:558)
> at org.apache.catalina.core.ContainerBase.invoke
> (ContainerBase.java:1067)
> at
> org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:255)
> at
> com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:618)
>
> at
> com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:549)
> at
> com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:790)
>
> at
> com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:326)
> at
> com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:248)
> at
> com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:199)
> at
> com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
> at
> com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run
> (SSLWorkerThread.java:93)
> Caused by: java.lang.NoClassDefFoundError: org/apache/xmlbeans/SchemaType
> at java.lang.Class.getDeclaredMethods0(Native Method)
> at java.lang.Class.privateGetDeclaredMethods(Class.java :2365)
> at java.lang.Class.getDeclaredMethods(Class.java:1763)
> at
> com.sun.faces.config.ManagedBeanFactoryImpl.scanForAnnotations(ManagedBeanFactoryImpl.java:1140)
> at com.sun.faces.config.ManagedBeanFactoryImpl
> .<init>(ManagedBeanFactoryImpl.java:156)
> at
> com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:926)
> at
> com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:507)
> at
> com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:402)
> at
> com.sun.enterprise.tools.admingui.servlet.DelayedInitFacesServlet.init(DelayedInitFacesServlet.java:57)
> at org.apache.catalina.core.StandardWrapper.loadServlet
> (StandardWrapper.java:1165)
> ... 32 more
> |#]
>
>
>
>