[RESOLVIDO] Glassfish não entra no admingui

Olá,

Migrei o servidor como descrevi no tópico http://www.guj.com.br/java/253995-glassfish-v31-prelude-as-vezes-retorna-response-vazia#1321551 , ainda não consegui verificar bem mas parece não está mais caindo. Entretanto, não consigo mais entrar no admingui dele, e o asadmin não executa alguns comandos.

Não tenho mais ideia de como procurar isso, procurei de tudo quanto é forma.

No log, o primeiro erro é esse

[code][#|2011-10-04T00:42:36.607-0300|INFO|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=18;_ThreadName=Thread-2;|ERROR: Bundle org.glassfish.fighterfish.osgi-javaee-base [201]: Error starting file:/opt/glassfishv3/glassfish/modules/autostart/osgi-javaee-base.jar (org.osgi.framework.BundleException: Activator start error in bundle org.glassfish.fighterfish.osgi-javaee-base [201].)|#]

[#|2011-10-04T00:42:36.608-0300|SEVERE|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=18;_ThreadName=Thread-2;|java.lang.NullPointerException
at org.glassfish.osgi.ee.resources.JDBCResourceManager.registerJdbcResource(JDBCResourceManager.java:98)
at org.glassfish.osgi.ee.resources.JDBCResourceManager.registerJdbcResources(JDBCResourceManager.java:74)
at org.glassfish.osgi.ee.resources.JDBCResourceManager.registerResources(JDBCResourceManager.java:62)
at org.glassfish.osgi.ee.resources.ResourceProviderService.registerResources(ResourceProviderService.java:114)
at org.glassfish.osgi.ee.resources.ResourcesExtender.start(ResourcesExtender.java:72)
at org.glassfish.osgijavaeebase.ExtenderManager$ExtenderTracker.addingService(ExtenderManager.java:142)
at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:896)
at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:261)
at org.osgi.util.tracker.AbstractTracked.trackInitial(AbstractTracked.java:184)
at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:339)
at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:273)
at org.glassfish.osgijavaeebase.ExtenderManager.startExtenders(ExtenderManager.java:108)
at org.glassfish.osgijavaeebase.ExtenderManager.access$300(ExtenderManager.java:66)
at org.glassfish.osgijavaeebase.ExtenderManager$GlassFishServerTracker.addingService(ExtenderManager.java:185)
at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:896)
at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:261)
at org.osgi.util.tracker.AbstractTracked.trackInitial(AbstractTracked.java:184)
at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:339)
at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:273)
at org.glassfish.osgijavaeebase.ExtenderManager.start(ExtenderManager.java:85)
at org.glassfish.osgijavaeebase.OSGiJavaEEActivator.start(OSGiJavaEEActivator.java:66)
at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:629)
at org.apache.felix.framework.Felix.activateBundle(Felix.java:1835)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1752)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1156)
at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
at java.lang.Thread.run(Thread.java:662)
|#]
[/code]

depois de várias linhas


[#|2011-10-04T00:26:45.203-0300|INFO|glassfish3.1.1|javax.enterprise.system.tools.admin.com.sun.enterprise.container.common|_ThreadID=27;_ThreadName=Thread-2;|User [] from host 0c8e8a5d-303b-4045-acbb-68fab0eae283.localdomain does not have administration access|#]

[#|2011-10-04T00:26:58.330-0300|SEVERE|glassfish3.1.1|javax.enterprise.system.ssl.security.com.sun.enterprise.security.ssl.impl|_ThreadID=23;_ThreadName=Thread-2;|SEC5054: Certificate has expired: [
[
  Version: V1
  Subject: OU=Secure Server Certification Authority, O="RSA Data Security, Inc.", C=US
  Signature Algorithm: MD2withRSA, OID = 1.2.840.113549.1.1.2

  Key:  Sun RSA public key, 1000 bits
  modulus: 6144706769222379850430183405655235862870193813433361902309516534729547168229223442088128897090426025874990958624426272027915771330043379079076269082776443120496525109458437435793974957144923190172655546279112796066635455545786300647745888353781002359412766112775410851780140804282673804950495744761467
  public exponent: 65537
  Validity: [From: Tue Nov 08 22:00:00 BRST 1994,
               To: Thu Jan 07 21:59:59 BRST 2010]
  Issuer: OU=Secure Server Certification Authority, O="RSA Data Security, Inc.", C=US
  SerialNumber: [    02ad667e 4e45fe5e 576f3c98 195eddc0]

]
  Algorithm: [MD2withRSA]
  Signature:
0000: 65 DD 7E E1 B2 EC B0 E2   3A E0 EC 71 46 9A 19 11  e.......:..qF...
0010: B8 D3 C7 A0 B4 03 40 26   02 3E 09 9C E1 12 B3 D1  ......@&.>......
0020: 5A F6 37 A5 B7 61 03 B6   5B 16 69 3B C6 44 08 0C  Z.7..a..[.i;.D..
0030: 88 53 0C 6B 97 49 C7 3E   35 DC 6C B9 BB AA DF 5C  .S.k.I.>5.l....\
0040: BB 3A 2F 93 60 B6 A9 4B   4D F2 20 F7 CD 5F 7F 64  .:/.`..KM. .._.d
0050: 7B 8E DC 00 5C D7 FA 77   CA 39 16 59 6F 0E EA D3  ....\..w.9.Yo...
0060: B5 83 7F 4D 4D 42 56 76   B4 C9 5F 04 F8 38 F8 EB  ...MMBVv.._..8..
0070: D2 5F 75 5F CD 7B FC E5   8E 80 7C FC 50           ._u_........P

]|#]

acredito que não tenha puxado os passwords do glassfish anterior, então eu rodei o seguinte comando
[code]./asadmin change-admin-password
Enter admin user name [default: admin]>
Enter admin password>
Enter new admin password>
Enter new admin password again>
java.net.SocketException: Unexpected end of file from server
Command change-admin-password failed.

Não estou tendo ideia de como solucionar isso. Se alguém puder me dar um norte me ajudaria muito.
[#|2011-10-04T00:26:58.338-0300|SEVERE|glassfish3.1.1|org.apache.catalina.connector.CoyoteAdapter|_ThreadID=23;_ThreadName=Thread-2;|PWC3989: An exception or error occurred in the container during the request processing
com.sun.jersey.api.client.ClientHandlerException: java.net.SocketException: Unexpected end of file from server
at com.sun.jersey.client.urlconnection.URLConnectionClientHandler.handle(URLConnectionClientHandler.java:149)
at com.sun.jersey.api.client.Client.handle(Client.java:648)
at com.sun.jersey.api.client.filter.HTTPBasicAuthFilter.handle(HTTPBasicAuthFilter.java:81)
at com.sun.jersey.api.client.WebResource.handle(WebResource.java:670)
at com.sun.jersey.api.client.WebResource.access$200(WebResource.java:74)
at com.sun.jersey.api.client.WebResource$Builder.post(WebResource.java:553)
at org.glassfish.admingui.common.security.AdminConsoleAuthModule.validateRequest(AdminConsoleAuthModule.java:252)
at com.sun.enterprise.security.jmac.config.GFServerConfigProvider$GFServerAuthContext.validateRequest(GFServerConfigProvider.java:1171)
at com.sun.web.security.RealmAdapter.validate(RealmAdapter.java:1445)
at com.sun.web.security.RealmAdapter.invokeAuthenticateDelegate(RealmAdapter.java:1323)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:551)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:623)
at org.apache.catalina.core.StandardPipeline.doChainInvoke(StandardPipeline.java:600)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:96)
at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:91)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:162)
at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:330)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)
at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:232)
at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:828)
at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:725)
at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1019)
at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.net.SocketException: Unexpected end of file from server
at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:769)
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:632)
at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:766)
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:632)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1195)
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:379)
at com.sun.jersey.client.urlconnection.URLConnectionClientHandler._invoke(URLConnectionClientHandler.java:240)
at com.sun.jersey.client.urlconnection.URLConnectionClientHandler.handle(URLConnectionClientHandler.java:147)
… 32 more
|#]
[/code]

Resolvido. O problema era a versão, estava usando o web profile, testei a mesma versão em outros computadores e teve o mesmo problema.