dev@glassfish.java.net

Re: deploying rails app gets deployed 3 or more times???

From: Peter Williams <Pete.Williams_at_Sun.COM>
Date: Tue, 18 Mar 2008 14:40:24 -0700

Disregard this... I found out what the cause was... not V3 related.

-Peter

Peter Williams wrote:
> Latest V3 builds, when deploying a rails app, deploy it multiple
> times, typically 3, but I may have also seen 2 or 4 times as well -- I
> wasn't paying that much attention before.
>
> The resulting domain.xml has sometimes contained multiple application
> and application-ref entries after this happens. I don't believe I've
> seen this behavior when deploying web applications.
>
> Any ideas? This also happens in builds from last Friday and in the V3
> 0.1.2 gem that Pramod released last week.
>
> -Peter
>
> Mar 18, 2008 1:51:36 PM com.sun.enterprise.v3.server.AppServerStartup run
> INFO: HK2 initialized in 316 ms
> Mar 18, 2008 1:51:36 PM com.sun.enterprise.v3.server.AppServerStartup run
> INFO: com.sun.enterprise.naming.impl.ServicesHookup_at_1dd3812 Init done
> in 334 ms
> Mar 18, 2008 1:51:36 PM com.sun.enterprise.v3.server.AppServerStartup run
> INFO: com.sun.enterprise.v3.services.impl.LogManagerService_at_f47396
> Init done in 380 ms
> Mar 18, 2008 1:51:36 PM com.sun.enterprise.v3.server.AppServerStartup run
> INFO: com.sun.enterprise.v3.server.Globals_at_f47bf5 Init done in 382 ms
> Mar 18, 2008 1:51:36 PM com.sun.enterprise.v3.server.AppServerStartup run
> INFO:
> com.sun.enterprise.v3.services.impl.CmdLineParamProcessor_at_1eb2c1b Init
> done in 384 ms
> Mar 18, 2008 1:51:36 PM com.sun.enterprise.v3.server.AppServerStartup run
> INFO: com.sun.enterprise.v3.server.SystemTasks_at_1acd47 Init done in 456 ms
> Mar 18, 2008 1:51:36 PM com.sun.enterprise.v3.server.AppServerStartup run
> INFO: com.sun.enterprise.v3.services.impl.HouseKeeper_at_b25b9d Init done
> in 458 ms
> Mar 18, 2008 1:51:36 PM com.sun.enterprise.v3.server.AppServerStartup run
> INFO: org.glassfish.javaee.services.ResourceManager_at_17494c8 startup
> done in 534 ms
> Mar 18, 2008 1:51:36 PM
> com.sun.enterprise.v3.services.impl.GrizzlyProxy start
> INFO: Listening on port 8080
> Mar 18, 2008 1:51:36 PM
> com.sun.enterprise.v3.services.impl.GrizzlyEmbeddedHttpConfigurator
> configureSSL
> WARNING: HTTP listener on port: 8181 is secured, but SSL configuration
> is not found!
> Mar 18, 2008 1:51:36 PM
> com.sun.enterprise.v3.services.impl.GrizzlyProxy start
> INFO: Listening on port 8181
> Mar 18, 2008 1:51:36 PM
> com.sun.enterprise.v3.services.impl.GrizzlyProxy start
> INFO: Listening on port 4848
> Mar 18, 2008 1:51:36 PM com.sun.enterprise.v3.server.AppServerStartup run
> INFO: com.sun.enterprise.v3.services.impl.GrizzlyService_at_1a918d5
> startup done in 866 ms
> Mar 18, 2008 1:51:36 PM com.sun.enterprise.v3.server.AppServerStartup run
> INFO: Glassfish v3 started in 870 ms
> Mar 18, 2008 1:51:36 PM org.jvnet.hk2.component.InjectionManager inject
> INFO: Cannot inject private javax.management.MBeanServer
> org.glassfish.admin.amx.loader.AMXStartupService.mMBeanServer in
> componentorg.glassfish.admin.amx.loader.AMXStartupService_at_1cd66ea
> Mar 18, 2008 1:51:36 PM SEVERE: Exception in thread "AppServerStartup"
> Mar 18, 2008 1:51:36 PM SEVERE:
> org.jvnet.hk2.component.UnsatisfiedDepedencyException: Unsatisfied
> dependency exception : private javax.management.MBeanServer
> org.glassfish.admin.amx.loader.AMXStartupService.mMBeanServer
> Mar 18, 2008 1:51:36 PM SEVERE: at
> org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:86)
> Mar 18, 2008 1:51:36 PM SEVERE: at
> com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:64)
> Mar 18, 2008 1:51:36 PM SEVERE: at
> com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:50)
> Mar 18, 2008 1:51:36 PM SEVERE: at
> com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:39)
> Mar 18, 2008 1:51:36 PM SEVERE: at
> com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:22)
>
> Mar 18, 2008 1:51:36 PM SEVERE: at
> com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:71)
> Mar 18, 2008 1:51:36 PM SEVERE: at
> com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:24)
>
> Mar 18, 2008 1:51:36 PM SEVERE: at
> com.sun.enterprise.v3.server.AppServerStartup$1.run(AppServerStartup.java:108)
>
> Mar 18, 2008 1:51:36 PM SEVERE: at
> java.lang.Thread.run(Thread.java:619)
> Mar 18, 2008 1:51:36 PM SEVERE: Caused by:
> org.jvnet.hk2.component.UnsatisfiedDepedencyException: Unsatisfied
> dependency exception : private javax.management.MBeanServer
> org.glassfish.admin.amx.loader.AMXStartupService.mMBeanServer
> Mar 18, 2008 1:51:36 PM SEVERE: at
> org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:81)
> Mar 18, 2008 1:51:36 PM SEVERE: ... 8 more
> Mar 18, 2008 1:51:40 PM com.sun.enterprise.rails.RailsDeployer
> registerAdapter
> INFO: Loading application cookbook2 at /
> Mar 18, 2008 1:51:40 PM INFO: Starting Rails instances
> Mar 18, 2008 1:51:51 PM SEVERE: JRuby limited openssl loaded. gem
> install jruby-openssl for full support.
> http://wiki.jruby.org/wiki/JRuby_Builtin_OpenSSL
> Mar 18, 2008 1:51:54 PM com.sun.grizzly.jruby.RubyObjectPool$1 run
> INFO: Rails instance instantiation took : 14622ms
> Mar 18, 2008 1:51:54 PM com.sun.enterprise.v3.deployment.DeployCommand
> execute
> INFO: Deployment of cookbook2 done is 14709 ms
> Mar 18, 2008 1:51:54 PM com.sun.enterprise.rails.RailsDeployer
> registerAdapter
> INFO: Loading application cookbook2 at /
> Mar 18, 2008 1:51:54 PM INFO: Starting Rails instances
> Mar 18, 2008 1:52:02 PM SEVERE: JRuby limited openssl loaded. gem
> install jruby-openssl for full support.
> http://wiki.jruby.org/wiki/JRuby_Builtin_OpenSSL
> Mar 18, 2008 1:52:05 PM com.sun.grizzly.jruby.RubyObjectPool$1 run
> INFO: Rails instance instantiation took : 10645ms
> Mar 18, 2008 1:52:05 PM com.sun.enterprise.v3.deployment.DeployCommand
> execute
> INFO: Deployment of cookbook2 done is 10668 ms
> Mar 18, 2008 1:52:05 PM com.sun.enterprise.rails.RailsDeployer
> registerAdapter
> INFO: Loading application cookbook2 at /
> Mar 18, 2008 1:52:05 PM INFO: Starting Rails instances
> Mar 18, 2008 1:52:12 PM SEVERE: JRuby limited openssl loaded. gem
> install jruby-openssl for full support.
> http://wiki.jruby.org/wiki/JRuby_Builtin_OpenSSL
> Mar 18, 2008 1:52:15 PM com.sun.grizzly.jruby.RubyObjectPool$1 run
> INFO: Rails instance instantiation took : 10060ms
> Mar 18, 2008 1:52:15 PM com.sun.enterprise.v3.deployment.DeployCommand
> execute
> INFO: Deployment of cookbook2 done is 10069 ms
>
>