Posted by harkiran
on August 12, 2009 at 1:08 AM PDT
Hello Glassfish Team,
I have set up the Glassfih v3 server on my development machine and it is working fine. The development machine is Windows XP SP2 with Java 1.6 update 4. Everything works fine on the development machine, database connectivity, virtual directory (mapping to a directory outside of the server), etc.
Now, we have decided to migrate the Tomcat 6 on the production server to Glassfish v3. Now the problem is after doing a clean install and creating a service for Glassfish the admin console does not wants to load. At first it shows the admin console is being loaded then it gives a 404 error. On doing a refresh 1-2 times the admin console loaded on the fresh install. Then I created a connection pool to connect to Oracle, after which a restart of the server was required. After restarting the server I again received the 404 error. Now,.refreshing the page does not loads the admin console as well. I have tried to reinstall the server on the machine but the problem is still there. The server runs on Windows Server 2000 SP4 with Java 1.6 update 14. I had even copied all the jars required by the app into the lib/ext directory.
The error that I received in the server.log file for the domain is as below:
[#|2009-08-12T12:50:03.312+0530|WARNING|glassfish|com.sun.grizzly.config.GrizzlyServiceListener|_ThreadID=16;_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
Everything works on the development machine and I was looking forward to shift to Glassfish which is a J2EE server from Sun. I had even tried Apache Geronimo / IBM Websphere Community Edition before deciding to switch over to Glassfish. Glassfish appeared to be a better option. Please advise.