« Return to Thread: Help with Ruby Errors

Re: Help with Ruby Errors

by Erno Mononen :: Rate this Message:

Reply to Author | View in Thread


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:

> 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
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>
>  


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...

 « Return to Thread: Help with Ruby Errors