All,
I’m using Goldspike with JRuby 1.1.6 (yeah, I know, old…) to generate
a WAR file out of my JRoR app. and deploy it to Websphere 6.1.
When the app. starts up, I get these errors in the Websphere
SystemErr.log file:
[12/30/08 12:45:23:122 CST] 00000038 SystemErr R
java.lang.ClassCastException:
org.jruby.RubyNameError$RubyNameErrorMessage incompatible with
java.lang.String
[12/30/08 12:45:23:123 CST] 00000038 SystemErr R at
org.jruby.webapp.RailsFactory.logRubyException(RailsFactory.java:159)
[12/30/08 12:45:23:123 CST] 00000038 SystemErr R at
org.jruby.webapp.RailsFactory.makeObject(RailsFactory.java:138)
[12/30/08 12:45:23:123 CST] 00000038 SystemErr R at
org.jruby.webapp.util.CustomObjectPool.addObjectInternal(CustomObjectPool.java:111)
[12/30/08 12:45:23:123 CST] 00000038 SystemErr R at
org.jruby.webapp.util.CustomObjectPool.access$200(CustomObjectPool.java:15)
[12/30/08 12:45:23:123 CST] 00000038 SystemErr R at
org.jruby.webapp.util.CustomObjectPool$PoolSizeManager.run(CustomObjectPool.java:193)
Here’s my JVM info.:
java -version
java version “1.4.2”
Java™ 2 Runtime Environment, Standard Edition (build 1.4.2)
Classic VM (build 1.4.2, J2RE 1.4.2 IBM AIX build ca142-20070317 (SR8)
(JIT enabled: jitc))
Is JRuby 1.1.6 ok with JDK 1.4.2?
I also see the following in the output log:
[12/30/08 12:43:32:784 CST] 00000029 ApplicationMg A WSVR0200I:
Starting application: AAFES_VSS
[12/30/08 12:43:32:807 CST] 00000029 ApplicationMg A WSVR0204I:
Application: AAFES_VSS Application build level: Unknown
[12/30/08 12:43:33:782 CST] 00000029 WebGroup A SRVE0169I:
Loading Web Module: AAFES_VSS.war.
[12/30/08 12:43:34:118 CST] 00000029 WebApp A SRVE0180I:
[AAFES_VSS#AAFES_VSS.war] [/AAFES_vss] [Servlet.LOG]: Ruby is running in
standalone mode
[12/30/08 12:43:34:564 CST] 00000029 WebApp W Error while
adding servlet mapping --> /* Please set fileServingEnabled=false in the
ibm-web-ext.xmi file which is under WEB-INF folder.
[12/30/08 12:43:34:580 CST] 00000029 VirtualHost I SRVE0250I: Web
Module has been bound to
default_host[:19080,:80,:19443,:45060,:45061,:443].
[12/30/08 12:43:34:616 CST] 00000029 ApplicationMg A WSVR0221I:
Application started: AAFES_VSS
[12/30/08 12:43:48:458 CST] 00000038 WebApp A SRVE0180I:
[AAFES_VSS#AAFES_VSS.war] [/AAFES_vss] [Servlet.LOG]: JRuby init time:
12893ms
[12/30/08 12:43:55:520 CST] 00000023 ConfigFileHel I ConfigFileHelper
checkForAutoRefreshWorkSpace Master repository refresh
[12/30/08 12:43:56:215 CST] 00000023 ApplicationDe I
ApplicationDeploymentController perform ApplicationDeploymentController:
performing appcontexts refresh
[12/30/08 12:43:57:553 CST] 00000023 ServletWrappe I SRVE0242I:
[isclite] [/ibm/console] [/secure/javascriptToSession.jsp]:
Initialization successful.
[12/30/08 12:44:22:306 CST] 00000027 ServletWrappe I SRVE0242I:
[AAFES_VSS] [/AAFES_vss] [files]: Initialization successful.
[12/30/08 12:44:22:323 CST] 00000027 ServletWrappe I SRVE0242I:
[AAFES_VSS] [/AAFES_vss] [rails]: Initialization successful.
[12/30/08 12:44:28:664 CST] 00000023 ApplicationDe I
ApplicationDeploymentController perform ApplicationDeploymentController:
performing appcontexts refresh
[12/30/08 12:44:52:345 CST] 00000027 WebApp A SRVE0180I:
[AAFES_VSS#AAFES_VSS.war] [/AAFES_vss] [Servlet.LOG]: rails: Warning:
All JRuby processes in the pool are in use
I will look into fixing the fileServingEnabled=false thing, but “All
JRuby processes in the pool are in use” looks suspicious. Can anyone
tell if that’s a real problem or not?
Thanks,
Wes
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email