quality@glassfish.java.net

Re: Error deploying

From: Jose Noheda <jose.noheda_at_gmail.com>
Date: Wed, 10 Sep 2008 20:05:47 +0200

Saw it again today. Here's the server log:

INFO: Launching GlassFish on Apache Felix OSGi platform
Welcome to Felix.
=================
INFO: contextRootDir = C:\temp\glassfishv3-prelude-b23\glassfish\modules
INFO: Singleton already initialized as
com.sun.enterprise.module.impl.HK2Factory_at_18a7efd
INFO: Started bundle org.glassfish.common.glassfish-mbeanserver [8]
INFO: Started bundle org.glassfish.core.kernel [98]
INFO: registering service = org.apache.felix.framework.StartLevelImpl_at_3e0ebb,
contract = org.osgi.service.startlevel.StartLevel, name = null
INFO: registering service =
org.apache.felix.framework.PackageAdminImpl_at_1afae45, contract =
org.osgi.service.packageadmin.PackageAdmin, name = null
INFO: [Thread[GlassFish Kernel Main Thread,5,main]] started
INFO: Module subsystem initialized in 1329 ms
INFO: Started bundle org.glassfish.common.glassfish-naming [87]
INFO: **GFNaming==> InitialContextFactoryBuilder set
INFO: Started bundle org.glassfish.deployment.deployment-autodeploy [59]
GRAVE: ERROR starting JMX connector: JmxConnector config: { name = system,
Protocol = rmi_jrmp, Address = 0.0.0.0, Port = 8686, AcceptAll = false,
AuthRealmName = admin-realm, SecurityEnabled = false}:
java.lang.IllegalArgumentException:
javax.management.remote.JMXConnectorServerProvider: Provider
com.sun.jmx.remote.protocol.jmxmp.ServerProvider not found
INFO: JMXMP connector server URL = service:jmx:jmxmp://localhost:8888
INFO: Listening on port 8080
INFO: Network listener http-listener-2 on port 8181 has been disabled
INFO: Listening on port 4848
INFO: Started bundle org.glassfish.common.container-common [101]
INFO: APIClassLoader = Class Loader for Bundle
[GlassFish-Application-Common-Module [67] ]
INFO: Started bundle org.glassfish.persistence.jpa-connector [63]
INFO: Started bundle org.glassfish.scripting.gf-jruby-connector [58]
INFO: Started bundle org.glassfish.core.security [62]
INFO: Started bundle org.glassfish.web.gf-web-connector [49]
INFO: security.secmgroff
INFO: Security startup service called
INFO: Security service(s) started successfully....
INFO: Started bundle org.glassfish.web.web-glue [7]
INFO: Started bundle org.glassfish.connectors.connectors-runtime [22]
INFO: Created HTTP listener http-listener-1 on port 8080
INFO: Created HTTP listener admin-listener on port 4848
INFO: webcontainer.ssodisabled
INFO: Virtual Server server set port 8080
INFO: Created virtual server server
INFO: webcontainer.ssodisabled
INFO: Virtual Server __asadmin set port 4848
INFO: Created virtual server __asadmin
INFO: Dual registration of jndi stream handler: factory already defined
INFO: Unknown loader 7.0 class
org.apache.felix.framework.searchpolicy.ContentClassLoader
INFO: Started bundle org.glassfish.web.jstl-connector [113]
INFO: Started bundle org.glassfish.web.jsf-connector [111]
INFO: Started bundle org.glassfish.transaction.jta [55]
INFO: Using
com.sun.enterprise.transaction.JavaEETransactionManagerSimplifiedDelegate as
the delegate
INFO: Started bundle org.glassfish.connectors.work-management [30]
INFO: policy.loading
INFO: Started bundle org.glassfish.security.websecurity [110]
INFO: Unknown loader
org.glassfish.internal.api.DelegatingClassLoader_at_1a51312 class
org.glassfish.internal.api.DelegatingClassLoader
INFO: Loading application dojoweb at /dojoweb
INFO: Loading dojoweb Application done is 5578 ms
INFO: Glassfish v3 started in 10422 ms
INFO: Started bundle org.glassfish.jdbc.jdbc-admin [35]

On Wed, Sep 10, 2008 at 3:46 PM, Judy Tang <Judy.J.Tang_at_sun.com> wrote:

> Thanks Jose for letting us know. Some thing like that is hard to fix I
> guess. Keep us posed :-)
>
> Thanks Tim for the help !
>
> Judy
>
>
> Jose Noheda wrote:
>
> The Netbeans version is 6.5 nightly (from last week). I cannot reproduce it
> reliably. It happens from time to time (in the same way a weird thread dead
> exception sometimes shows). I just posted it here just because someone could
> (may be) get a hint of what the problem really is. If I see it again I'll
> try to post further info
>
> On Tue, Sep 9, 2008 at 10:58 PM, Tim Quinn <Timothy.Quinn_at_sun.com> wrote:
>
>> I think we need some more information in order to help you.
>>
>> Which exact build of NetBeans are you using?
>>
>> Were there any errors or stack traces in the server's server.log file at
>> the same time you saw this error?
>>
>> Can you reproduce this reliably?
>>
>> Thanks.
>>
>> - Tim
>>
>> Jose Noheda wrote:
>>
>>> Has anyone seen this before?
>>>
>>> Deployment error:
>>> null
>>> See the server log for details.
>>> at
>>> org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:190)
>>> at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:104)
>>> at
>>> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
>>> at sun.reflect.GeneratedMethodAccessor835.invoke(Unknown Source)
>>> at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>> at java.lang.reflect.Method.invoke(Method.java:597)
>>> at
>>> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
>>> at org.apache.tools.ant.Task.perform(Task.java:348)
>>> at org.apache.tools.ant.Target.execute(Target.java:357)
>>> at org.apache.tools.ant.Target.performTasks(Target.java:385)
>>> at
>>> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
>>> at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
>>> at
>>> org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
>>> at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
>>> at
>>> org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:273)
>>> at
>>> org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:486)
>>> at
>>> org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151)
>>> Caused by:
>>> org.netbeans.modules.j2ee.deployment.common.api.ConfigurationException
>>> at
>>> org.netbeans.modules.glassfish.javaee.db.Hk2DatasourceManager.registerResourceDir(Hk2DatasourceManager.java:158)
>>> at
>>> org.netbeans.modules.glassfish.javaee.db.Hk2DatasourceManager.deployDatasources(Hk2DatasourceManager.java:141)
>>> at
>>> org.netbeans.modules.j2ee.deployment.impl.ServerInstance.deployDatasources(ServerInstance.java:677)
>>> at
>>> org.netbeans.modules.j2ee.deployment.devmodules.spi.J2eeModuleProvider.deployDatasources(J2eeModuleProvider.java:257)
>>> at
>>> org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:169)
>>> ... 16 more
>>> Caused by: java.util.concurrent.TimeoutException
>>> at
>>> java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:228)
>>> at java.util.concurrent.FutureTask.get(FutureTask.java:91)
>>> at
>>> org.netbeans.modules.glassfish.javaee.db.Hk2DatasourceManager.registerResourceDir(Hk2DatasourceManager.java:153)
>>> ... 20 more
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: quality-help_at_glassfish.dev.java.net
>>
>>
>
>