dev@glassfish.java.net

Glassfish B21 problems

From: Sameer Tyagi <Sameer.Tyagi_at_Sun.COM>
Date: Tue, 13 Sep 2005 16:21:21 -0400
So I downloaded B21 on windows and tried to deploy a simple JAXWS app.
Here are some of the problems I ran into - anyone has any ideas on how to
resolve them ?

1. Trying to deploy any WAR from the command line returns a 500 error.

deploy-war:
     [exec] deploy --password adminadmin --secure=false --user admin --terse=true --target server --echo=true --upload=true --port 4848 --interactive= true --availabilityenabled=false --enabled=true --generatermistubs=false --host localhost --precompilejsp=false --force=true --verify=false --name CardService --contextroot cardservice F:\Galactica\workspace\Galactica\modules\cardservice\jaxws2.0/build/CardService/jaxrpc-CardService.war
     [exec] Sep 13, 2005 4:07:10 PM com.sun.appserv.management.client.ProxyFactory getInstance
     [exec] SEVERE: ProxyFactory.getInstance: Failure trying to create a new ProxyFactory: java.io.IOException: Server returned HTTP response code: 500 for URL: http://localhost:4848/web1/remotejmx
     [exec] CLI171 Command deploy failed : Deployment of application failed - java.io.IOException: Server returned HTTP response code: 500 for URL: http://localhost:4848/web1/remotejmx; requested operation cannot be completed

The server log shows some JMX exception :

[#|2005-09-13T16:07:10.756-0400|SEVERE|sun-appserver-pe9.0|javax.enterprise.system.container.web|_ThreadID=12;_ThreadName=SelectorThread-4848;|StandardWrapperValve[RemoteJmxConnectorServlet]: Servlet.service() for servlet RemoteJmxConnectorServlet threw exception
java.lang.ClassCastException: javax.management.remote.message.MBeanServerRequestMessage
    at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.readRequestMessage(RemoteJmxConnectorServlet.java:193)
    at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.processRequest(RemoteJmxConnectorServlet.java:106)
    at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.doPost(RemoteJmxConnectorServlet.java:178)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:767)


2. Trying to deploy from the web console in Mozilla fails
You can select the file to deploy but when you hit "Next" Nothing happens.
App deploys with IE (Next button has no problem)

3. Once deployed the app is not loaded. I think I know why - there are no JAXWS classes in the download.
Do you have to update glassfish manually with JAXB+JAXWS 2.0 ? If so this should be stated on the main page
somewhere. The text "The Java EE 5 platform includes the latest versions of technologies..." implies that they are
available in the download.

/s






-- 

----------------------------------------
Accessline:    1-877-325-9504 
Internal:      x51601
AIM : sameersjc
Calendar : http://cal.central.sun.com/command.shtml?view=overview&calid=st105288