Forum: JRuby Re: Re: I need help.

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
3a4ecaf99c9189e75bff01d8334ca370?d=identicon&s=25 Jay McGaffigan (Guest)
on 2009-04-06 03:01
(Received via mailing list)
<html><head>

<link media="all" type="text/css"
href="/webmail/static/deg/css/wysiwyg-3933289048.css" rel="stylesheet">
</head><body>
If you are using glassfish.&nbsp; Please post your server log.&nbsp;
I've been deploying to GF successfully for a while now and found that
the server log is very helpful in pointing out what's going on.&nbsp;
<br><br>Jay<br><br><br>Apr 5, 2009 04:08:36 PM, <a
href="mailto:user@jruby.codehaus.org" class="parsedEmail"
target="_blank">user@jruby.codehaus.org</a> wrote:<br><blockquote
style="border-left: 3px solid rgb(102, 153, 204);">Mauro wrote:<br>&gt;
2009/4/4 Nick Sieger &lt;<a href="mailto:nicksieger@gmail.com"
target="_blank" class="parsedEmail
parsedEmail">nicksieger@gmail.com</a>&gt;:<br>&gt;&gt; On Sat, Apr 4,
2009 at 9:29 AM, Mauro &lt;<a href="mailto:mrsanna1@gmail.com"
target="_blank" class="parsedEmail
parsedEmail">mrsanna1@gmail.com</a>&gt; wrote:<br>&gt;&gt;&gt;
Hello.<br>&gt;&gt;&gt; Sorry for my bad english.<br>&gt;&gt;&gt; I'm
trying to deploy a simple jruby on rails application to run
under<br>&gt;&gt;&gt; glassfish or tomcat.<br>&gt;&gt;&gt; The
application is a simply hello world.<br>&gt;&gt;&gt; I use warbler, I
deploy the application but it doesn't run.<br>&gt;&gt;&gt; Can you help
me step by step how to create a war application, deploy<br>&gt;&gt;&gt;
and run under glassfish or tomcat?<br>&gt;&gt; Arun Gupta has written
many helpful step-by-step blog entries. Look<br>&gt;&gt; for his TOTD
series. Here's a recent one that steps you through the<br>&gt;&gt;
process:<br>&gt; <br>&gt; I've follow it but I can't run any jruby
application under glassfish or tomcat.<br>&gt; It's a simply jruby on
rails hello world, I feel like an idiot but I<br>&gt; can't find any way
to resolve my problems.<br><br>Can you post any errors you're getting?
Check logs, etc.<br><br>-
Charlie<br><br>---------------------------------------------------------------------<br>To
unsubscribe from this list, please visit:<br><br>    <a
href="http://xircles.codehaus.org/manage_email" class="parsedLink"
target="_blank">http://xircles.codehaus.org/manage_email</a><br><b...

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email
B0f6d8efcf671ea3163449e231264cc4?d=identicon&s=25 Msan Msan (msan)
on 2009-04-06 12:12
(Received via mailing list)
2009/4/6 Jay McGaffigan <hooligan495@verizon.net>:
> If you are using glassfish.  Please post your server log.  I've been
> deploying to GF successfully for a while now and found that the server log
> is very helpful in pointing out what's going on.

I'm using glassfish v3 prelude and jruby 1.2.0RC2.
I go in administration console and deploy my Hello.war.
This application prints only a "hello world" it doesn't no more.
When I go to http://localhost:8080/Hello I see the rails welcome page
but when I call the controller with its action say/hello, the message
is:
"
We're sorry, but something went wrong.

We've been notified about this issue and we'll take a look at it
shortly.
"

The server.log is:
"[#|2009-04-06T12:05:24.974+0200|SEVERE|glassfish|null|_ThreadID=20;_ThreadName=Thread-4;|/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/applications/Hello/WEB-INF/gems/gems/actionpack-2.3.2/lib/action_controller/vendor/rack-1.0/rack.rb:17
warning: already initialized constant VERSION
|#]

[#|2009-04-06T12:05:27.220+0200|SEVERE|glassfish|javax.enterprise.system.container.web|_ThreadID=20;_ThreadName=Thread-4;|WebModule[/Hello]unable
to create shared application instance
org.jruby.rack.RackInitializationException: uninitialized constant
ActionController::Session::JavaServletStore
  from
/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/applications/Hello/WEB-INF/gems/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:80:in
`const_missing_with_dependencies'
  from
/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/applications/Hello/WEB-INF/gems/gems/actionpack-2.3.2/lib/action_controller/session_management.rb:18:in
`session_store='
  from
/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/generated/jsp/Hello/loader/jruby/rack/rails.rb:58:in
`setup_actionpack'
  from
/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/generated/jsp/Hello/loader/jruby/rack/rails.rb:47:in
`require_frameworks_with_servlet_env'
  from
/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/applications/Hello/WEB-INF/gems/gems/rails-2.3.2/lib/initializer.rb:134:in
`process'
  from
/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/applications/Hello/WEB-INF/gems/gems/rails-2.3.2/lib/initializer.rb:113:in
`run'
  from
/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/applications/Hello/WEB-INF/config/environment.rb:9
  from
/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/applications/Hello/WEB-INF/config/environment.rb:29:in
`load'
  from
/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/generated/jsp/Hello/loader/jruby/rack/rails.rb:29:in
`load_environment'
  from
/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/generated/jsp/Hello/loader/jruby/rack/rails.rb:152:in
`new'
  from <script>:3
  from
/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/generated/jsp/Hello/loader/rack/builder.rb:22:in
`instance_eval'
  from
/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/generated/jsp/Hello/loader/rack/builder.rb:22:in
`initialize'
  from <script>:3

  at
org.jruby.rack.DefaultRackApplicationFactory$4.init(DefaultRackApplicationFactory.java:154)
  at
org.jruby.rack.DefaultRackApplicationFactory.getApplication(DefaultRackApplicationFactory.java:53)
  at
org.jruby.rack.SharedRackApplicationFactory.init(SharedRackApplicationFactory.java:30)
  at
org.jruby.rack.RackServletContextListener.contextInitialized(RackServletContextListener.java:38)
  at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4623)
  at
org.apache.catalina.core.StandardContext.start(StandardContext.java:5323)
  at com.sun.enterprise.web.WebModule.start(WebModule.java:456)
  at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:922)
  at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:906)
  at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:696)
  at
com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:2205)
  at
com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1890)
  at com.sun.enterprise.web.WebApplication.start(WebApplication.java:85)
  at
com.sun.enterprise.v3.server.ApplicationLifecycle.start(ApplicationLifecycle.java:560)
  at
com.sun.enterprise.v3.server.ApplicationLifecycle.start(ApplicationLifecycle.java:547)
  at
com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:189)
  at
org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:329)
  at
com.sun.enterprise.v3.admin.CommandRunner$2.execute(CommandRunner.java:297)
  at
com.sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.java:312)
  at
com.sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.java:119)
  at
com.sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.java:99)
  at
org.glassfish.admingui.common.util.LocalDeploymentFacility$LocalDFCommandRunner.run(LocalDeploymentFacility.java:140)
  at
org.glassfish.deployment.client.AbstractDeploymentFacility.deploy(AbstractDeploymentFacility.java:243)
  at
org.glassfish.admingui.common.util.DeployUtil.invokeDeploymentFacility(DeployUtil.java:93)
  at
org.glassfish.admingui.common.util.DeployUtil.deploy(DeployUtil.java:70)
  at
org.glassfish.admingui.handlers.DeploymentHandler.deploy(DeploymentHandler.java:152)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:597)
  at
com.sun.jsftemplating.layout.descriptors.handler.Handler.invoke(Handler.java:422)
  at
com.sun.jsftemplating.layout.descriptors.LayoutElementBase.dispatchHandlers(LayoutElementBase.java:420)
  at
com.sun.jsftemplating.layout.descriptors.LayoutElementBase.dispatchHandlers(LayoutElementBase.java:394)
  at
com.sun.jsftemplating.layout.event.CommandActionListener.invokeCommandHandlers(CommandActionListener.java:132)
  at
com.sun.jsftemplating.layout.event.CommandActionListener.processAction(CommandActionListener.java:80)
  at javax.faces.event.ActionEvent.processListener(ActionEvent.java:88)
  at
javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:775)
  at javax.faces.component.UICommand.broadcast(UICommand.java:372)
  at
com.sun.webui.jsf.component.WebuiCommand.broadcast(WebuiCommand.java:160)
  at
javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:764)
  at
javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1185)
  at
com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82)
  at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:102)
  at
com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
  at
com.sun.faces.extensions.avatar.lifecycle.PartialTraversalLifecycle.execute(PartialTraversalLifecycle.java:80)
  at javax.faces.webapp.FacesServlet.service(FacesServlet.java:310)
  at
org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:431)
  at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:337)
  at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:218)
  at com.sun.webui.jsf.util.UploadFilter.doFilter(UploadFilter.java:370)
  at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:250)
  at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:218)
  at
org.apache.catalina.core.StandardWrapperValve.preInvoke(StandardWrapperValve.java:460)
  at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:139)
  at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:186)
  at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719)
  at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657)
  at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:96)
  at
com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
  at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:187)
  at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719)
  at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657)
  at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:651)
  at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1030)
  at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:142)
  at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719)
  at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657)
  at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:651)
  at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1030)
  at
org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:325)
  at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:242)
  at
com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:180)
  at
com.sun.grizzly.http.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:633)
  at
com.sun.grizzly.http.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:570)
  at
com.sun.grizzly.http.DefaultProcessorTask.process(DefaultProcessorTask.java:827)
  at
com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:152)
  at
com.sun.enterprise.v3.services.impl.GlassfishProtocolChain.executeProtocolFilter(GlassfishProtocolChain.java:71)
  at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:103)
  at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:89)
  at
com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
  at
com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:67)
  at
com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:56)
  at
com.sun.grizzly.util.WorkerThreadImpl.processTask(WorkerThreadImpl.java:325)
  at
com.sun.grizzly.util.WorkerThreadImpl.run(WorkerThreadImpl.java:184)
Caused by: org.jruby.exceptions.RaiseException
  at
Kernel.raise(/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/applications/Hello/WEB-INF/gems/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:440)
  at
ActiveSupport::Dependencies.load_missing_constant(/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/applications/Hello/WEB-INF/gems/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:80)
  at
ActiveSupport::Dependencies::ModuleConstMissing.const_missing_with_dependencies(/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/applications/Hello/WEB-INF/gems/gems/actionpack-2.3.2/lib/action_controller/session_management.rb:18)
  at
ActionController::SessionManagement::ClassMethods.session_store=(/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/generated/jsp/Hello/loader/jruby/rack/rails.rb:58)
  at
JRuby::Rack::RailsServletHelper.setup_actionpack(/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/generated/jsp/Hello/loader/jruby/rack/rails.rb:47)
  at
Rails::Initializer.require_frameworks_with_servlet_env(/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/applications/Hello/WEB-INF/gems/gems/rails-2.3.2/lib/initializer.rb:134)
  at
Rails::Initializer.process(/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/applications/Hello/WEB-INF/gems/gems/rails-2.3.2/lib/initializer.rb:113)
  at
#<Class:01x201d04d6>.run(/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/applications/Hello/WEB-INF/config/environment.rb:9)
  at
(unknown).(unknown)(/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/applications/Hello/WEB-INF/config/environment.rb:29)
  at
Kernel.load(/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/generated/jsp/Hello/loader/jruby/rack/rails.rb:29)
  at
JRuby::Rack::RailsServletHelper.load_environment(/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/generated/jsp/Hello/loader/jruby/rack/rails.rb:152)
  at #<Class:01x4b1e0ac>.new(<script>:3)
  at
(unknown).(unknown)(/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/generated/jsp/Hello/loader/rack/builder.rb:22)
  at
Kernel.instance_eval(/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/generated/jsp/Hello/loader/rack/builder.rb:22)
  at
Kernel.instance_eval(/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/generated/jsp/Hello/loader/rack/builder.rb:22)
  at Rack::Builder.initialize(<script>:3)
  at (unknown).(unknown)(:1)
|#]

[#|2009-04-06T12:05:27.223+0200|SEVERE|glassfish|javax.enterprise.system.container.web|_ThreadID=20;_ThreadName=Thread-4;|WebModule[/Hello]Error:
application initialization failed
javax.servlet.ServletException:
org.jruby.rack.RackInitializationException: uninitialized constant
ActionController::Session::JavaServletStore
  from
/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/applications/Hello/WEB-INF/gems/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:80:in
`const_missing_with_dependencies'
  from
/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/applications/Hello/WEB-INF/gems/gems/actionpack-2.3.2/lib/action_controller/session_management.rb:18:in
`session_store='
  from
/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/generated/jsp/Hello/loader/jruby/rack/rails.rb:58:in
`setup_actionpack'
  from
/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/generated/jsp/Hello/loader/jruby/rack/rails.rb:47:in
`require_frameworks_with_servlet_env'
  from
/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/applications/Hello/WEB-INF/gems/gems/rails-2.3.2/lib/initializer.rb:134:in
`process'
  from
/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/applications/Hello/WEB-INF/gems/gems/rails-2.3.2/lib/initializer.rb:113:in
`run'
  from
/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/applications/Hello/WEB-INF/config/environment.rb:9
  from
/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/applications/Hello/WEB-INF/config/environment.rb:29:in
`load'
  from
/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/generated/jsp/Hello/loader/jruby/rack/rails.rb:29:in
`load_environment'
  from
/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/generated/jsp/Hello/loader/jruby/rack/rails.rb:152:in
`new'
  from <script>:3
  from
/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/generated/jsp/Hello/loader/rack/builder.rb:22:in
`instance_eval'
  from
/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/generated/jsp/Hello/loader/rack/builder.rb:22:in
`initialize'
  from <script>:3

  at
org.jruby.rack.SharedRackApplicationFactory.init(SharedRackApplicationFactory.java:42)
  at
org.jruby.rack.RackServletContextListener.contextInitialized(RackServletContextListener.java:38)
  at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4623)
  at
org.apache.catalina.core.StandardContext.start(StandardContext.java:5323)
  at com.sun.enterprise.web.WebModule.start(WebModule.java:456)
  at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:922)
  at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:906)
  at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:696)
  at
com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:2205)
  at
com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1890)
  at com.sun.enterprise.web.WebApplication.start(WebApplication.java:85)
  at
com.sun.enterprise.v3.server.ApplicationLifecycle.start(ApplicationLifecycle.java:560)
  at
com.sun.enterprise.v3.server.ApplicationLifecycle.start(ApplicationLifecycle.java:547)
  at
com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:189)
  at
org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:329)
  at
com.sun.enterprise.v3.admin.CommandRunner$2.execute(CommandRunner.java:297)
  at
com.sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.java:312)
  at
com.sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.java:119)
  at
com.sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.java:99)
  at
org.glassfish.admingui.common.util.LocalDeploymentFacility$LocalDFCommandRunner.run(LocalDeploymentFacility.java:140)
  at
org.glassfish.deployment.client.AbstractDeploymentFacility.deploy(AbstractDeploymentFacility.java:243)
  at
org.glassfish.admingui.common.util.DeployUtil.invokeDeploymentFacility(DeployUtil.java:93)
  at
org.glassfish.admingui.common.util.DeployUtil.deploy(DeployUtil.java:70)
  at
org.glassfish.admingui.handlers.DeploymentHandler.deploy(DeploymentHandler.java:152)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:597)
  at
com.sun.jsftemplating.layout.descriptors.handler.Handler.invoke(Handler.java:422)
  at
com.sun.jsftemplating.layout.descriptors.LayoutElementBase.dispatchHandlers(LayoutElementBase.java:420)
  at
com.sun.jsftemplating.layout.descriptors.LayoutElementBase.dispatchHandlers(LayoutElementBase.java:394)
  at
com.sun.jsftemplating.layout.event.CommandActionListener.invokeCommandHandlers(CommandActionListener.java:132)
  at
com.sun.jsftemplating.layout.event.CommandActionListener.processAction(CommandActionListener.java:80)
  at javax.faces.event.ActionEvent.processListener(ActionEvent.java:88)
  at
javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:775)
  at javax.faces.component.UICommand.broadcast(UICommand.java:372)
  at
com.sun.webui.jsf.component.WebuiCommand.broadcast(WebuiCommand.java:160)
  at
javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:764)
  at
javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1185)
  at
com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82)
  at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:102)
  at
com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
  at
com.sun.faces.extensions.avatar.lifecycle.PartialTraversalLifecycle.execute(PartialTraversalLifecycle.java:80)
  at javax.faces.webapp.FacesServlet.service(FacesServlet.java:310)
  at
org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:431)
  at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:337)
  at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:218)
  at com.sun.webui.jsf.util.UploadFilter.doFilter(UploadFilter.java:370)
  at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:250)
  at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:218)
  at
org.apache.catalina.core.StandardWrapperValve.preInvoke(StandardWrapperValve.java:460)
  at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:139)
  at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:186)
  at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719)
  at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657)
  at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:96)
  at
com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
  at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:187)
  at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719)
  at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657)
  at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:651)
  at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1030)
  at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:142)
  at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719)
  at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657)
  at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:651)
  at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1030)
  at
org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:325)
  at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:242)
  at
com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:180)
  at
com.sun.grizzly.http.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:633)
  at
com.sun.grizzly.http.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:570)
  at
com.sun.grizzly.http.DefaultProcessorTask.process(DefaultProcessorTask.java:827)
  at
com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:152)
  at
com.sun.enterprise.v3.services.impl.GlassfishProtocolChain.executeProtocolFilter(GlassfishProtocolChain.java:71)
  at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:103)
  at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:89)
  at
com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
  at
com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:67)
  at
com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:56)
  at
com.sun.grizzly.util.WorkerThreadImpl.processTask(WorkerThreadImpl.java:325)
  at
com.sun.grizzly.util.WorkerThreadImpl.run(WorkerThreadImpl.java:184)
Caused by: org.jruby.rack.RackInitializationException: uninitialized
constant ActionController::Session::JavaServletStore
  from
/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/applications/Hello/WEB-INF/gems/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:80:in
`const_missing_with_dependencies'
  from
/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/applications/Hello/WEB-INF/gems/gems/actionpack-2.3.2/lib/action_controller/session_management.rb:18:in
`session_store='
  from
/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/generated/jsp/Hello/loader/jruby/rack/rails.rb:58:in
`setup_actionpack'
  from
/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/generated/jsp/Hello/loader/jruby/rack/rails.rb:47:in
`require_frameworks_with_servlet_env'
  from
/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/applications/Hello/WEB-INF/gems/gems/rails-2.3.2/lib/initializer.rb:134:in
`process'
  from
/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/applications/Hello/WEB-INF/gems/gems/rails-2.3.2/lib/initializer.rb:113:in
`run'
  from
/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/applications/Hello/WEB-INF/config/environment.rb:9
  from
/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/applications/Hello/WEB-INF/config/environment.rb:29:in
`load'
  from
/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/generated/jsp/Hello/loader/jruby/rack/rails.rb:29:in
`load_environment'
  from
/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/generated/jsp/Hello/loader/jruby/rack/rails.rb:152:in
`new'
  from <script>:3
  from
/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/generated/jsp/Hello/loader/rack/builder.rb:22:in
`instance_eval'
  from
/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/generated/jsp/Hello/loader/rack/builder.rb:22:in
`initialize'
  from <script>:3

  at
org.jruby.rack.DefaultRackApplicationFactory$4.init(DefaultRackApplicationFactory.java:154)
  at
org.jruby.rack.DefaultRackApplicationFactory.getApplication(DefaultRackApplicationFactory.java:53)
  at
org.jruby.rack.SharedRackApplicationFactory.init(SharedRackApplicationFactory.java:30)
  ... 81 more
Caused by: org.jruby.exceptions.RaiseException
  at
Kernel.raise(/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/applications/Hello/WEB-INF/gems/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:440)
  at
ActiveSupport::Dependencies.load_missing_constant(/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/applications/Hello/WEB-INF/gems/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:80)
  at
ActiveSupport::Dependencies::ModuleConstMissing.const_missing_with_dependencies(/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/applications/Hello/WEB-INF/gems/gems/actionpack-2.3.2/lib/action_controller/session_management.rb:18)
  at
ActionController::SessionManagement::ClassMethods.session_store=(/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/generated/jsp/Hello/loader/jruby/rack/rails.rb:58)
  at
JRuby::Rack::RailsServletHelper.setup_actionpack(/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/generated/jsp/Hello/loader/jruby/rack/rails.rb:47)
  at
Rails::Initializer.require_frameworks_with_servlet_env(/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/applications/Hello/WEB-INF/gems/gems/rails-2.3.2/lib/initializer.rb:134)
  at
Rails::Initializer.process(/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/applications/Hello/WEB-INF/gems/gems/rails-2.3.2/lib/initializer.rb:113)
  at
#<Class:01x201d04d6>.run(/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/applications/Hello/WEB-INF/config/environment.rb:9)
  at
(unknown).(unknown)(/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/applications/Hello/WEB-INF/config/environment.rb:29)
  at
Kernel.load(/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/generated/jsp/Hello/loader/jruby/rack/rails.rb:29)
  at
JRuby::Rack::RailsServletHelper.load_environment(/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/generated/jsp/Hello/loader/jruby/rack/rails.rb:152)
  at #<Class:01x4b1e0ac>.new(<script>:3)
  at
(unknown).(unknown)(/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/generated/jsp/Hello/loader/rack/builder.rb:22)
  at
Kernel.instance_eval(/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/generated/jsp/Hello/loader/rack/builder.rb:22)
  at
Kernel.instance_eval(/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/generated/jsp/Hello/loader/rack/builder.rb:22)
  at Rack::Builder.initialize(<script>:3)
  at (unknown).(unknown)(:1)
----- Root Cause -----
org.jruby.rack.RackInitializationException: uninitialized constant
ActionController::Session::JavaServletStore
  from
/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/applications/Hello/WEB-INF/gems/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:80:in
`const_missing_with_dependencies'
  from
/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/applications/Hello/WEB-INF/gems/gems/actionpack-2.3.2/lib/action_controller/session_management.rb:18:in
`session_store='
  from
/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/generated/jsp/Hello/loader/jruby/rack/rails.rb:58:in
`setup_actionpack'
  from
/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/generated/jsp/Hello/loader/jruby/rack/rails.rb:47:in
`require_frameworks_with_servlet_env'
  from
/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/applications/Hello/WEB-INF/gems/gems/rails-2.3.2/lib/initializer.rb:134:in
`process'
  from
/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/applications/Hello/WEB-INF/gems/gems/rails-2.3.2/lib/initializer.rb:113:in
`run'
  from
/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/applications/Hello/WEB-INF/config/environment.rb:9
  from
/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/applications/Hello/WEB-INF/config/environment.rb:29:in
`load'
  from
/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/generated/jsp/Hello/loader/jruby/rack/rails.rb:29:in
`load_environment'
  from
/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/generated/jsp/Hello/loader/jruby/rack/rails.rb:152:in
`new'
  from <script>:3
  from
/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/generated/jsp/Hello/loader/rack/builder.rb:22:in
`instance_eval'
  from
/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/generated/jsp/Hello/loader/rack/builder.rb:22:in
`initialize'
  from <script>:3

  at
org.jruby.rack.DefaultRackApplicationFactory$4.init(DefaultRackApplicationFactory.java:154)
  at
org.jruby.rack.DefaultRackApplicationFactory.getApplication(DefaultRackApplicationFactory.java:53)
  at
org.jruby.rack.SharedRackApplicationFactory.init(SharedRackApplicationFactory.java:30)
  at
org.jruby.rack.RackServletContextListener.contextInitialized(RackServletContextListener.java:38)
  at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4623)
  at
org.apache.catalina.core.StandardContext.start(StandardContext.java:5323)
  at com.sun.enterprise.web.WebModule.start(WebModule.java:456)
  at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:922)
  at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:906)
  at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:696)
  at
com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:2205)
  at
com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1890)
  at com.sun.enterprise.web.WebApplication.start(WebApplication.java:85)
  at
com.sun.enterprise.v3.server.ApplicationLifecycle.start(ApplicationLifecycle.java:560)
  at
com.sun.enterprise.v3.server.ApplicationLifecycle.start(ApplicationLifecycle.java:547)
  at
com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:189)
  at
org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:329)
  at
com.sun.enterprise.v3.admin.CommandRunner$2.execute(CommandRunner.java:297)
  at
com.sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.java:312)
  at
com.sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.java:119)
  at
com.sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.java:99)
  at
org.glassfish.admingui.common.util.LocalDeploymentFacility$LocalDFCommandRunner.run(LocalDeploymentFacility.java:140)
  at
org.glassfish.deployment.client.AbstractDeploymentFacility.deploy(AbstractDeploymentFacility.java:243)
  at
org.glassfish.admingui.common.util.DeployUtil.invokeDeploymentFacility(DeployUtil.java:93)
  at
org.glassfish.admingui.common.util.DeployUtil.deploy(DeployUtil.java:70)
  at
org.glassfish.admingui.handlers.DeploymentHandler.deploy(DeploymentHandler.java:152)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:597)
  at
com.sun.jsftemplating.layout.descriptors.handler.Handler.invoke(Handler.java:422)
  at
com.sun.jsftemplating.layout.descriptors.LayoutElementBase.dispatchHandlers(LayoutElementBase.java:420)
  at
com.sun.jsftemplating.layout.descriptors.LayoutElementBase.dispatchHandlers(LayoutElementBase.java:394)
  at
com.sun.jsftemplating.layout.event.CommandActionListener.invokeCommandHandlers(CommandActionListener.java:132)
  at
com.sun.jsftemplating.layout.event.CommandActionListener.processAction(CommandActionListener.java:80)
  at javax.faces.event.ActionEvent.processListener(ActionEvent.java:88)
  at
javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:775)
  at javax.faces.component.UICommand.broadcast(UICommand.java:372)
  at
com.sun.webui.jsf.component.WebuiCommand.broadcast(WebuiCommand.java:160)
  at
javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:764)
  at
javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1185)
  at
com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82)
  at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:102)
  at
com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
  at
com.sun.faces.extensions.avatar.lifecycle.PartialTraversalLifecycle.execute(PartialTraversalLifecycle.java:80)
  at javax.faces.webapp.FacesServlet.service(FacesServlet.java:310)
  at
org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:431)
  at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:337)
  at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:218)
  at com.sun.webui.jsf.util.UploadFilter.doFilter(UploadFilter.java:370)
  at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:250)
  at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:218)
  at
org.apache.catalina.core.StandardWrapperValve.preInvoke(StandardWrapperValve.java:460)
  at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:139)
  at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:186)
  at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719)
  at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657)
  at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:96)
  at
com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
  at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:187)
  at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719)
  at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657)
  at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:651)
  at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1030)
  at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:142)
  at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719)
  at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657)
  at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:651)
  at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1030)
  at
org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:325)
  at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:242)
  at
com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:180)
  at
com.sun.grizzly.http.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:633)
  at
com.sun.grizzly.http.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:570)
  at
com.sun.grizzly.http.DefaultProcessorTask.process(DefaultProcessorTask.java:827)
  at
com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:152)
  at
com.sun.enterprise.v3.services.impl.GlassfishProtocolChain.executeProtocolFilter(GlassfishProtocolChain.java:71)
  at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:103)
  at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:89)
  at
com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
  at
com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:67)
  at
com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:56)
  at
com.sun.grizzly.util.WorkerThreadImpl.processTask(WorkerThreadImpl.java:325)
  at
com.sun.grizzly.util.WorkerThreadImpl.run(WorkerThreadImpl.java:184)
Caused by: org.jruby.exceptions.RaiseException
  at
Kernel.raise(/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/applications/Hello/WEB-INF/gems/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:440)
  at
ActiveSupport::Dependencies.load_missing_constant(/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/applications/Hello/WEB-INF/gems/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:80)
  at
ActiveSupport::Dependencies::ModuleConstMissing.const_missing_with_dependencies(/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/applications/Hello/WEB-INF/gems/gems/actionpack-2.3.2/lib/action_controller/session_management.rb:18)
  at
ActionController::SessionManagement::ClassMethods.session_store=(/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/generated/jsp/Hello/loader/jruby/rack/rails.rb:58)
  at
JRuby::Rack::RailsServletHelper.setup_actionpack(/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/generated/jsp/Hello/loader/jruby/rack/rails.rb:47)
  at
Rails::Initializer.require_frameworks_with_servlet_env(/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/applications/Hello/WEB-INF/gems/gems/rails-2.3.2/lib/initializer.rb:134)
  at
Rails::Initializer.process(/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/applications/Hello/WEB-INF/gems/gems/rails-2.3.2/lib/initializer.rb:113)
  at
#<Class:01x201d04d6>.run(/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/applications/Hello/WEB-INF/config/environment.rb:9)
  at
(unknown).(unknown)(/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/applications/Hello/WEB-INF/config/environment.rb:29)
  at
Kernel.load(/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/generated/jsp/Hello/loader/jruby/rack/rails.rb:29)
  at
JRuby::Rack::RailsServletHelper.load_environment(/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/generated/jsp/Hello/loader/jruby/rack/rails.rb:152)
  at #<Class:01x4b1e0ac>.new(<script>:3)
  at
(unknown).(unknown)(/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/generated/jsp/Hello/loader/rack/builder.rb:22)
  at
Kernel.instance_eval(/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/generated/jsp/Hello/loader/rack/builder.rb:22)
  at
Kernel.instance_eval(/home/mauro/glassfish-v3-prelude/glassfish/domains/domain1/generated/jsp/Hello/loader/rack/builder.rb:22)
  at Rack::Builder.initialize(<script>:3)
  at (unknown).(unknown)(:1)
|#]

[#|2009-04-06T12:05:27.238+0200|INFO|glassfish|javax.enterprise.system.container.web|_ThreadID=20;_ThreadName=Thread-4;|Loading
application Hello at /Hello|#]

[#|2009-04-06T12:05:27.299+0200|INFO|glassfish|javax.enterprise.system.core|_ThreadID=20;_ThreadName=Thread-4;|Deployment
of Hello done is 14959 ms|#]

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email
526d60de6472502bb570a9df2842b33b?d=identicon&s=25 Nick Sieger (Guest)
on 2009-04-06 17:43
(Received via mailing list)
On Mon, Apr 6, 2009 at 5:11 AM, Mauro <mrsanna1@gmail.com> wrote:
> is:
>
> 
[#|2009-04-06T12:05:27.220+0200|SEVERE|glassfish|javax.enterprise.system.container.web|_ThreadID=20;_ThreadName=Thread-4;|WebModule[/Hello]unable
> to create shared application instance
> org.jruby.rack.RackInitializationException: uninitialized constant
> ActionController::Session::JavaServletStore

D'oh! So sorry, you've been bitten by the jruby-rack/Rails 2.3
incompatibility issue. It's described here:
http://wiki.jruby.org/wiki/Rails_2.3.2

This will be fixed in the next release of jruby-rack.

/Nick

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email
B0f6d8efcf671ea3163449e231264cc4?d=identicon&s=25 Msan Msan (msan)
on 2009-04-06 22:47
(Received via mailing list)
2009/4/6 Nick Sieger <nicksieger@gmail.com>:

> D'oh! So sorry, you've been bitten by the jruby-rack/Rails 2.3
> incompatibility issue. It's described here:
> http://wiki.jruby.org/wiki/Rails_2.3.2
>
> This will be fixed in the next release of jruby-rack.

My simply application does not use sessions, by the way I've applied
the workaround.
I've added config.gems += ["activerecord-jdbc-adapter",
"activerecord-jdbcpostgresql-adapter", "jdbc-postgres",
"jruby-openssl"] in my warble.rb and I run jruby -S warble.
Another error message in tomcat log:
"/home/mauro/apache-tomcat-6.0.18/webapps/albo_fornitori/WEB-INF/gems/gems/actionpack-2.3.2/lib/action_controller/cgi_process.rb:49:in
`dispatch_cgi': undefined method `[]=' for nil:NilClass
(NoMethodError)"

Now that is this?
Sorry for my ignorance :(

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email
526d60de6472502bb570a9df2842b33b?d=identicon&s=25 Nick Sieger (Guest)
on 2009-04-07 00:23
(Received via mailing list)
On Mon, Apr 6, 2009 at 3:46 PM, Mauro <mrsanna1@gmail.com> wrote:
> I've added config.gems += ["activerecord-jdbc-adapter",
> "activerecord-jdbcpostgresql-adapter", "jdbc-postgres",
> "jruby-openssl"] in my warble.rb and I run jruby -S warble.
> Another error message in tomcat log:
> 
"/home/mauro/apache-tomcat-6.0.18/webapps/albo_fornitori/WEB-INF/gems/gems/actionpack-2.3.2/lib/action_controller/cgi_process.rb:49:in
> `dispatch_cgi': undefined method `[]=' for nil:NilClass
> (NoMethodError)"
>
> Now that is this?

Not sure, quite possibly another bug in jruby-rack that I need to fix.
I hesitate to recommend it, but perhaps you could try downgrading to
Rails 2.2 for the moment and see if that works for you?

/Nick

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email
B0f6d8efcf671ea3163449e231264cc4?d=identicon&s=25 Msan Msan (msan)
on 2009-04-07 10:02
(Received via mailing list)
2009/4/7 Nick Sieger <nicksieger@gmail.com>:
>> the workaround.
> Not sure, quite possibly another bug in jruby-rack that I need to fix.
> I hesitate to recommend it, but perhaps you could try downgrading to
> Rails 2.2 for the moment and see if that works for you?

Ok, then I work with ruby for now waiting for jruby and rails 2.3.2
becoming stable.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email
3df4183169690228007711dc5054ba33?d=identicon&s=25 Alexander Mikhailian (mikhailian)
on 2009-04-16 00:59
JFYI, I had the same problem with JRuby 1.2.0 and Rails 2.3.2 packed
with warbler and started with Jetty 6.1.

Rolling back to 2.2.2 solved the problem, indeeed (I only had to rename
app/application_controller.rb to app/application.rb again).

Nick Sieger wrote:
> Not sure, quite possibly another bug in jruby-rack that I need to fix.
> I hesitate to recommend it, but perhaps you could try downgrading to
> Rails 2.2 for the moment and see if that works for you?
This topic is locked and can not be replied to.