users@glassfish.java.net

Re: Glassfish Admin Console gives 404 error

From: Alexis Moussine-Pouchkine <alexis.mp_at_sun.com>
Date: Wed, 12 Aug 2009 14:27:58 +0200

Someone from the admin console team should be able to comment further,
but what does your JVM jre/lib/ext directory contain?
Sharing your domain.xml would probably help too.
-Alexis

On Aug 12, 2009, at 14:20, glassfish_at_javadesktop.org wrote:

> Hello Alexis,
>
> I removed Glassfish and reinstalled it after deleting all the files
> which the uninstaller did not removed. I have changed the default
> ports from 8080 to 9090 and 4848 to 9898. When I tried to access the
> glassfish console. It first showed it to be loading then the same
> error:
>
> HTTP Status 404
> type Status report
> message
> description Not Found
>
> --------------------------------------------------------------------------------
>
> Glassfish/v3
>
> Server.log: (/glassfish/glassfish/domains/domain1/logs/server.log)
> ===============================================
>
> [#|2009-08-12T17:35:12.609+0530|WARNING|glassfish|
> com.sun.grizzly.config.GrizzlyServiceListener|
> _ThreadID=19;_ThreadName=Thread-1;|Invalid URL: /
> java.lang.ClassCastException:
> org.apache.catalina.core.StandardWrapper cannot be cast to
> com.sun.enterprise.v3.services.impl.ContainerMapper$ContextRootInfo
> at
> com
> .sun
> .enterprise
> .v3.services.impl.ContainerMapper.map(ContainerMapper.java:267)
> at
> com
> .sun
> .enterprise
> .v3.services.impl.ContainerMapper.service(ContainerMapper.java:171)
> at
> com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:
> 746)
> at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:
> 655)
> at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:905)
> at
> com
> .sun
> .grizzly
> .http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:161)
> at
> com
> .sun
> .grizzly
> .DefaultProtocolChain
> .executeProtocolFilter(DefaultProtocolChain.java:136)
> at
> com
> .sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:
> 103)
> at
> com
> .sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:
> 89)
> at
> com
> .sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
> at
> com
> .sun
> .grizzly
> .ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
> at
> com
> .sun
> .grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
> at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
> at java.util.concurrent.ThreadPoolExecutor
> $Worker.runTask(ThreadPoolExecutor.java:886)
> at java.util.concurrent.ThreadPoolExecutor
> $Worker.run(ThreadPoolExecutor.java:908)
> at java.lang.Thread.run(Thread.java:619)
> |#]
>
> I have not copied any of the jar's into the server yet.
>
> I can not play around with JDK installation as I have the app
> running on Tomcat which requires JDK. However I have noticed that
> Glassfish requires Java 1.6 update 14 as it did not worked on Java
> 1.6 update 1 so i had to upgrade to update 14.
>
> The installer file is "glassfish-v3-preview-windows.exe", so I guess
> it is v3 preview itself as you had recommended.
> [Message sent by forum member 'harkiran' (harkiran)]
>
> http://forums.java.net/jive/thread.jspa?messageID=360083
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>