
| View previous topic :: View next topic |
| Author |
Message |
LxxRyuzaki
Joined: 01 Jul 2009 Posts: 2
|
Posted: Thu Jul 02, 2009 8:31 am Post subject: Help with Ruby Errors |
|
|
Here they are:
INFO: Launching GlassFish on Apache Felix OSGi platform
Welcome to Felix.
=================
INFO: Started bundle org.glassfish.common.glassfish-mbeanserver [7]
INFO: Started bundle org.glassfish.core.kernel [99]
INFO: Started bundle org.glassfish.common.common-util [80]
INFO: Started bundle GlassFish-Application-Common-Module [64]
INFO: APIClassLoader = Class Loader for Bundle [GlassFish-Application-Common-Module [64] ]
INFO: registering service = org.apache.felix.framework.StartLevelImpl@5b8827, contract = org.osgi.service.startlevel.StartLevel, name = null
INFO: registering service = org.apache.felix.framework.PackageAdminImpl@82d37, contract = org.osgi.service.packageadmin.PackageAdmin, name = null
no resource bundle found for version, using default GlassFish version
INFO: Started bundle org.glassfish.branding.branding [29]
INFO: [Thread[GlassFish Kernel Main Thread,5,main]] started
INFO: Started bundle org.glassfish.common.internal-api [84]
INFO: Started bundle org.glassfish.admin.config-api [71]
INFO: Started bundle org.glassfish.registration.glassfish-registration [94]
INFO: Started bundle org.glassfish.deployment.deployment-autodeploy [58]
INFO: Started bundle org.glassfish.deployment.deployment-common [90]
INFO: Started bundle org.glassfish.flashlight.flashlight-framework [93]
INFO: Listening on port 8080
INFO: Network listener http-listener-2 on port 8181 disabled per domain.xml
INFO: Listening on port 4848
INFO: Started bundle org.glassfish.common.container-common [102]
INFO: The Admin Console Web Application has been downloaded.
INFO: Sun GlassFish Enterprise Server v3 Prelude startup time : Felix(12860ms) startup services(2562ms) total(15422ms)
INFO: Total number of available updates : 0
INFO: Started bundle org.glassfish.common.glassfish-naming [86]
INFO: Started bundle org.glassfish.common.glassfish-api [103]
INFO: Started bundle org.glassfish.connectors.connectors-runtime [23]
INFO: Started bundle org.glassfish.admin.monitoring-core [79]
INFO: Started bundle org.glassfish.deployment.deployment-admin [70]
INFO: Started bundle org.glassfish.transaction.jta [53]
INFO: Started bundle org.glassfish.web.war-util [118]
INFO: Started bundle org.glassfish.persistence.jpa-connector [61]
INFO: Started bundle org.glassfish.scripting.gf-jruby-connector [56]
INFO: Started bundle org.glassfish.web.gf-web-connector [117]
INFO: Started bundle org.glassfish.security.security [60]
INFO: Started bundle org.glassfish.connectors.gf-connectors-connector [77]
INFO: Started JMXConnector, JMXService URL = service:jmx:rmi:///jndi/rmi://192.168.1.101:8686/jmxrmi
INFO: Started bundle org.glassfish.scripting.grizzly-jruby-module [38]
INFO: Dynamic pool created. Initial runtimes will be 1, hard minimum is 1, hard maximum is 2.If you experiance out of memory errors, consider increasing the heap size or setting the jruby.runtime.min or jruby.runtime.max Java system properties. If starting GlassFish using java CLI then provide it as system property, such as -Djruby.runtime.min=1 -Djruby.runtime.max=2, otherwise make an entry into $GLASSFISH_INSTALL/domains/domain1/config/domain.xml, such as <java-config><jvm-options>-Djruby.runtime.min=1</jvm-options><jvm-options>-Djruby.runtime.max=2</jvm-options></java-config>.
INFO: Jruby version is: 1.2.0
INFO: Starting Rails instances
SEVERE: JRuby limited openssl loaded. gem install jruby-openssl for full support.
http://wiki.jruby.org/wiki/JRuby_Builtin_OpenSSL
SEVERE:
SEVERE: C:/Program Files/NetBeans 6.7/ruby2/jruby-1.2.0/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/middleware_stack.rb:84 warning: given block not used
INFO: New instance created in 15,250 milliseconds
INFO: Loading Rails application weblog at /weblog
INFO: Deployment of weblog done is 17937 ms
That's what the whole thing says when I output it, how do I fix these severe errors?
And when I go to http://localhost:8080/weblog/entries, I get a we're sorry but something went wrong, We've been notified about this issue and we'll take a look at it shortly.
And I was trying to follow this youtube tutorial:
http://www.youtube.com/watch?v=oXW476CyROg |
|
| Back to top |
|
 |
Erno Mononen Posted via mailing list.
|
Posted: Thu Jul 02, 2009 11:33 am Post subject: Help with Ruby Errors |
|
|
Hi,
I found this http://osdir.com/ml/RubyonRailsTalk/2009-06/msg01177.html,
quoting from there:
"Something ( i don't know what) is trying to refer to
ActionController::AbstractRequest which doesn't exists in 2.3.2. At a
guess, something you've got isn't ready for rails 2.3.2"
The youtube video uses an older version of Rails (2.0.2 or maybe even
1.2.6 I think), so you might want to try installing an older Rails
version for following the tutorial. Or just follow the updated tutorial
here (for Rails 2.3):
http://www.netbeans.org/kb/docs/ruby/rapid-ruby-weblog.html
HTH,
Erno
LxxRyuzaki wrote:
| Quote: | Here they are:
INFO: Launching GlassFish on Apache Felix OSGi platform
Welcome to Felix.
=================
INFO: Started bundle org.glassfish.common.glassfish-mbeanserver [7]
INFO: Started bundle org.glassfish.core.kernel [99]
INFO: Started bundle org.glassfish.common.common-util [80]
INFO: Started bundle GlassFish-Application-Common-Module [64]
INFO: APIClassLoader = Class Loader for Bundle [GlassFish-Application-Common-Module [64] ]
INFO: registering service = org.apache.felix.framework.StartLevelImpl@5b8827, contract = org.osgi.service.startlevel.StartLevel, name = null
INFO: registering service = org.apache.felix.framework.PackageAdminImpl@82d37, contract = org.osgi.service.packageadmin.PackageAdmin, name = null
no resource bundle found for version, using default GlassFish version
INFO: Started bundle org.glassfish.branding.branding [29]
INFO: [Thread[GlassFish Kernel Main Thread,5,main]] started
INFO: Started bundle org.glassfish.common.internal-api [84]
INFO: Started bundle org.glassfish.admin.config-api [71]
INFO: Started bundle org.glassfish.registration.glassfish-registration [94]
INFO: Started bundle org.glassfish.deployment.deployment-autodeploy [58]
INFO: Started bundle org.glassfish.deployment.deployment-common [90]
INFO: Started bundle org.glassfish.flashlight.flashlight-framework [93]
INFO: Listening on port 8080
INFO: Network listener http-listener-2 on port 8181 disabled per domain.xml
INFO: Listening on port 4848
INFO: Started bundle org.glassfish.common.container-common [102]
INFO: The Admin Console Web Application has been downloaded.
INFO: Sun GlassFish Enterprise Server v3 Prelude startup time : Felix(12860ms) startup services(2562ms) total(15422ms)
INFO: Total number of available updates : 0
INFO: Started bundle org.glassfish.common.glassfish-naming [86]
INFO: Started bundle org.glassfish.common.glassfish-api [103]
INFO: Started bundle org.glassfish.connectors.connectors-runtime [23]
INFO: Started bundle org.glassfish.admin.monitoring-core [79]
INFO: Started bundle org.glassfish.deployment.deployment-admin [70]
INFO: Started bundle org.glassfish.transaction.jta [53]
INFO: Started bundle org.glassfish.web.war-util [118]
INFO: Started bundle org.glassfish.persistence.jpa-connector [61]
INFO: Started bundle org.glassfish.scripting.gf-jruby-connector [56]
INFO: Started bundle org.glassfish.web.gf-web-connector [117]
INFO: Started bundle org.glassfish.security.security [60]
INFO: Started bundle org.glassfish.connectors.gf-connectors-connector [77]
INFO: Started JMXConnector, JMXService URL = service:jmx:rmi:///jndi/rmi://192.168.1.101:8686/jmxrmi
INFO: Started bundle org.glassfish.scripting.grizzly-jruby-module [38]
INFO: Dynamic pool created. Initial runtimes will be 1, hard minimum is 1, hard maximum is 2.If you experiance out of memory errors, consider increasing the heap size or setting the jruby.runtime.min or jruby.runtime.max Java system properties. If starting GlassFish using java CLI then provide it as system property, such as -Djruby.runtime.min=1 -Djruby.runtime.max=2, otherwise make an entry into $GLASSFISH_INSTALL/domains/domain1/config/domain.xml, such as <java-config><jvm-options>-Djruby.runtime.min=1</jvm-options><jvm-options>-Djruby.runtime.max=2</jvm-options></java-config>.
INFO: Jruby version is: 1.2.0
INFO: Starting Rails instances
SEVERE: JRuby limited openssl loaded. gem install jruby-openssl for full support.
http://wiki.jruby.org/wiki/JRuby_Builtin_OpenSSL
SEVERE:
SEVERE: C:/Program Files/NetBeans 6.7/ruby2/jruby-1.2.0/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/middleware_stack.rb:84 warning: given block not used
INFO: New instance created in 15,250 milliseconds
INFO: Loading Rails application weblog at /weblog
INFO: Deployment of weblog done is 17937 ms
That's what the whole thing says when I output it, how do I fix these severe errors?
And when I go to http://localhost:8080/weblog/entries, I get a we're sorry but something went wrong, We've been notified about this issue and we'll take a look at it shortly.
And I was trying to follow this youtube tutorial:
http://www.youtube.com/watch?v=oXW476CyROg
|
|
|
| Back to top |
|
 |
Manu
Joined: 21 Apr 2009 Posts: 4
|
Posted: Mon Sep 14, 2009 10:48 am Post subject: middleware_stack.rb:84 warning: given block not used |
|
|
I keep getting this line every time I create a blank rails project (using 2.3.x) in netbeans and just run it without any changes.
SEVERE: C:/Program Files/NetBeans 6.7/ruby2/jruby-1.2.0/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/middleware_stack.rb:84 warning: given block not used
I have tried 2.3.2 , 2.3.3 and then 2.3.4 and No luck. How can I solve this problem please? If I use rails 2.1 I don't get this error. |
|
| Back to top |
|
 |
Brandon Hauff Posted via mailing list.
|
Posted: Mon Sep 14, 2009 1:16 pm Post subject: Help with Ruby Errors |
|
|
I believe that is a JRuby warning which differs from MRI. Does it break
your app from running?
| Quote: | -----Original Message-----
From: Manu [mailto:address-removed]
Sent: Monday, September 14, 2009 5:49 AM
To: address-removed; address-removed
Subject: Help with Ruby Errors
I keep getting this line every time I create a blank rails project in
netbeans and just run it without any changes.
SEVERE: C:/Program Files/NetBeans 6.7/ruby2/jruby-
1.2.0/lib/ruby/gems/1.8/gems/actionpack-
2.3.2/lib/action_controller/middleware_stack.rb:84 warning: given
| block
| Quote: | not used
I have tried upgrading to 2.3.3 and then 2.3.4 and No luck. How can I
solve this problem please? If I use rails 2.1 I don't get this error.
|
|
|
| Back to top |
|
 |
Manu
Joined: 21 Apr 2009 Posts: 4
|
Posted: Mon Sep 14, 2009 10:35 pm Post subject: Re: Help with Ruby Errors |
|
|
Thanks very much for the response Brandon
| Brandon Hauff wrote: | I believe that is a JRuby warning which differs from MRI. Does it break
your app from running?
|
No I don't know if this would break my app. I just did some blank apps and tried running them. And I always get this 'SEVERE' error from the glassfish output panel in Netbeans. The usual rails welcome page (that says " Welcome aboard ") shows up OK. But the fact that there is a 'SEVERE' error worries me. Are you saying I can simply ignore this and continue developing my rails app? |
|
| Back to top |
|
 |
Brandon Hauff Posted via mailing list.
|
Posted: Tue Sep 15, 2009 1:48 pm Post subject: Help with Ruby Errors |
|
|
Can you try bringing up your same blank app with WEBRICK or Mongrel
instead of Glassfish. I think you will get the warning, but not the
SEVERE. I think the SEVERE is added by Glassfish. If what I just
described is your experience then I think you can ignore the message.
Thanks,
Brandon Hauff
| Quote: | -----Original Message-----
From: Manu [mailto:address-removed]
Sent: Monday, September 14, 2009 5:36 PM
To: address-removed; address-removed
Subject: Help with Ruby Errors
Thanks very much for the response Brandon
Brandon Hauff wrote:
| Quote: | I believe that is a JRuby warning which differs from MRI. Does it
| break
| Quote: | your app from running?
|
No I don't know if this would break my app. I just did some blank apps
and tried running them. And I always get this 'SEVERE' error from the
glassfish output panel in Netbeans. The usual rails welcome page (that
says " Welcome aboard ") shows up OK. But the fact that there is a
'SEVERE' error worries me. Are you saying I can simply ignore this and
continue developing my rails app?
|
|
|
| Back to top |
|
 |
Manu
Joined: 21 Apr 2009 Posts: 4
|
Posted: Wed Sep 16, 2009 9:24 pm Post subject: Re: Help with Ruby Errors |
|
|
Thanks again Brandon!
when I tried with webrick it just came as a warning. So this means I can ignore this I guess. Thanks so much for clearing this. I really got so frustrated that I ended up going back to rails 2.1! Now I will start using 2.3 again.
Thank you!
| Brandon Hauff wrote: | Can you try bringing up your same blank app with WEBRICK or Mongrel
instead of Glassfish. I think you will get the warning, but not the
SEVERE. I think the SEVERE is added by Glassfish. If what I just
described is your experience then I think you can ignore the message.
Thanks,
Brandon Hauff
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|
|
|
|