Forums | Admin

Discussion Forums: open-discussion

Start New Thread Start New Thread

 

By: Vivek Pandey
SEVERE: uninitialized constant Activitytypes [ reply ]  
2009-11-06 16:51
Just to bring this discussion to closer. The bug was identified fixed and verified to work fine with build#104 of glassfish gem:

http://hudson.glassfish.org/job/glassfish-gem-build/104/

By: Vivek Pandey
SEVERE: uninitialized constant Activitytypes [ reply ]  
2009-11-04 14:43
Might be gmail glitch. I definitely want to fix this bug in 0.9.6. Can you try again? Here are my other email addresses:

vivek.pandey at gmail.com
vivek.pandey at sun.com
vivekmz at yahoo.com

Can you try sending to any of these. I assume you are sending as zip file?

By: R Vince
SEVERE: uninitialized constant Activitytypes [ reply ]  
2009-11-04 11:40
When I remove 9.6 it runs fine under 9.5 I tried to send the entire project via email to the address you give here but it kicked back.

By: Vivek Pandey
SEVERE: uninitialized constant Activitytypes [ reply ]  
2009-11-02 17:17
>BUT, using Glassfish (0.9.6 as I cannot revert to 0.9.5)

I should have made it explicit that 0.9.6 is still under works and is not a released version. I just modified the pom file and now you would see glassfish version as 0.9.6.dev to make it explicit.

I am trying to reproduce so that I Can fix it now. Is it possible for you to either send a zip bundle of your app or standalone testcase so that I can reproduce it?

if you dont feel comfortable send to the forum, send to me at vivek.pandey at gmail dot com.

By: Vivek Pandey
SEVERE: uninitialized constant Activitytypes [ reply ]  
2009-11-02 15:22
Looks like there is some regression. Can you send the output of all the HTTP headers? Probably use curl -v.

-vivek.

By: R Vince
SEVERE: uninitialized constant Activitytypes [ reply ]  
2009-11-02 11:39
BUT, using Glassfish (0.9.6 as I cannot revert to 0.9.5) in either
depvelopment or production mode (and this does NOT happen now with Mongrel
in either mode), with the Authlogic plugin, as soon as I log in and I go to
render I get the following page - which of course shows as pure text in the
browser (any browser, Firefox, MSIE, Chrome) (message continued here at ***
below) :

<script src="/javascripts/uplog.js?1256815180"
type="text/javascript"></script>
<script src="/javascripts/all.js?1256818780"
type="text/javascript"></script>
<script
src="/javascripts/active_scaffold/default/active_scaffold.js?1257096116"
type="text/javascript"></script>
<script
src="/javascripts/active_scaffold/default/dhtml_history.js?1257096116"
type="text/javascript"></script>
<script
src="/javascripts/active_scaffold/default/form_enhancements.js?1257096116"
type="text/javascript"></script>
<script src="/javascripts/active_scaffold/default/rico_corner.js?1257096116"
type="text/javascript"></script>
<script
src="/javascripts/calendar_date_select/calendar_date_select.js?1249466789"
type="text/javascript"></script>
<script
src="/javascripts/calendar_date_select/format_hyphen_ampm.js?1249466789"
type="text/javascript"></script>
<link href="/stylesheets/active_scaffold/default/stylesheet.css?1257096116"
media="screen" rel="stylesheet" type="text/css" />
<link href="/stylesheets/calendar_date_select/default.css?1249466791"
media="screen" rel="stylesheet" type="text/css" />
<!--[if IE]><link
href="/stylesheets/active_scaffold/default/stylesheet-ie.css?1257096116"
media="screen" rel="stylesheet" type="text/css" /><![endif]-->

<script
src="/javascripts/calendar_date_select/calendar_date_select.js?1249466789"
type="text/javascript"></script>
<script
src="/javascripts/calendar_date_select/format_hyphen_ampm.js?1249466789"
type="text/javascript"></script>
<link href="/stylesheets/calendar_date_select/default.css?1249466791"
media="screen" rel="stylesheet" type="text/css" />

<script src="/javascripts/redbox.js?1256347037"
type="text/javascript"></script>

<title>Untitled</title>
<link href="/stylesheets/application.css?1256227319" media="screen"
rel="stylesheet" type="text/css" />
<link href="/stylesheets/redbox.css?1256347037" media="screen"
rel="stylesheet" type="text/css" />


</head>
<body onload="afterLoad()">
<div id="bigcontainer">

<div id="flash_notice">Successfully logged in.</div>


*** Again, this only happens with glassfish, in any mode, not with mongrel.
Here is my AssociateSessions controller, which handles this:

class AssociateSessionsController < ApplicationController
def new
@associate_session = AssociateSession.new
end

def home

end

def create
@associate_session = AssociateSession.new(params[:associate_session])
if @associate_session.save
flash[:notice] = "Successfully logged in."
#redirect_to root_url
session['fromlogin']=0
render :controller => 'application', :action => 'home'
else
flash[:notice] = "Unable to save session!"
render :action => 'new'
end
end

def destroy
@associate_session = AssociateSession.find
if @associate_session != nil
@associate_session.destroy
end
Channelnote.delete('DELETE FROM channelnotes WHERE tstamp < (SELECT
tstamp FROM ( SELECT tstamp FROM channelnotes ORDER BY tstamp DESC LIMIT 99
, 1 ) AS X) ;')
flash[:notice] = "Successfully logged out."
redirect_to root_url
end

def index
render :controller => 'application', :action => 'home'
end
end

By: Vivek Pandey
SEVERE: uninitialized constant Activitytypes [ reply ]  
2009-11-01 14:54
Great to hear:-) you may like to respond to the users@jruby thread ( I guess its you, the name looks different).

-vivek.

By: R Vince
SEVERE: uninitialized constant Activitytypes [ reply ]  
2009-11-01 14:30
The problem is dumber than I thought(!) In one of my models, I have a
belongs_to :activitytypes
which should not have been pluralized!
Proving once again, the path between two points, guaranteed to NOT be the least interesting, is a straight line in the opposite direction! -R Vince

By: Vivek Pandey
SEVERE: uninitialized constant Activitytypes [ reply ]  
2009-11-01 14:22
Vince,

Ok so looks like the issue you are dealing with is jruby for some how not loading what its supposed to in production mode.

Can you post a message to user@jruby.codehaus.org. It will help them track down the bug. Please provide your investigation

-vivek.

By: R Vince
SEVERE: uninitialized constant Activitytypes [ reply ]  
2009-11-01 13:30
Thank you Vivek. When I ran it in Mongrel, it ran fine -- BUT, I didnt realise I had inadvertently run Mongrel in development mode. When I changed to production mode (with Mongrel) same problem!. When I then started Glassfish (0.9.6) in development, it worked (but not in production). SO, the problem is JRuby (1.4.0R3) on on Windows. Thank you for your help tracking it down -- at least in the interim I can keep it on Glassfish (there is NOTHING better!) in dev mode, in JRuby. Thank you! R Vince

By: Vivek Pandey
SEVERE: uninitialized constant Activitytypes [ reply ]  
2009-11-01 05:19
Vince,

I can give it a try next week on a windows machine and see if this is the reason for the failure.

Can you give try the latest gem from http://hudson.glassfish.org/job/glassfish-gem-build/

Also just to isolate if its JRuby or glassfish issue, can you try running mongrel with JRuby and see if it works in your setup?

By: R Vince
SEVERE: uninitialized constant Activitytypes [ reply ]  
2009-11-01 01:59
Vivek,

I did a fresh install of everything, including jruby, using latest of everything, all gems and plugins, incl glassfish. I think I will have to go back to C-Ruby as the only reason I use JRuby is because glassfish was SO fastm but it no longer works for me. Now I get:

Oct 31, 2009 9:52:35 PM null
INFO: Listening on port 81
Oct 31, 2009 9:52:35 PM javax.enterprise.system.tools.admin.org.glassfish.server
INFO: Admin Console Adapter: context root: /_____admingui
Oct 31, 2009 9:52:36 PM null
INFO: The Admin Console Application is not yet installed.
Oct 31, 2009 9:52:36 PM null
INFO: Admin Console Adapter: context root: /_____admingui
Oct 31, 2009 9:52:36 PM javax.enterprise.system.tools.admin.org.glassfish.server
INFO: Admin Console Adapter: context root: /_____admingui
Oct 31, 2009 9:52:37 PM javax.enterprise.system.core.com.sun.enterprise.v3.server
INFO: Loading application ggripv2 at /
Oct 31, 2009 9:52:37 PM com.sun.grizzly.jruby.RubyRuntime
INFO: Environment: production
Oct 31, 2009 9:52:37 PM com.sun.grizzly.config.GrizzlyServiceListener
INFO: Jruby version is: 1.4.0RC3
Oct 31, 2009 9:52:37 PM
INFO: Read to serve the request
Oct 31, 2009 9:52:37 PM javax.enterprise.system.core.com.sun.enterprise.v3.server
INFO: GlassFish v3 startup time : Static(7969ms) startup services(2328ms) total(10297ms)
Oct 31, 2009 9:52:37 PM com.sun.grizzly.config.GrizzlyServiceListener
INFO: Detected Rails application
Oct 31, 2009 9:52:37 PM com.sun.grizzly.config.GrizzlyServiceListener
INFO: Rails not in thread-safe mode, starting in single-thread mode
Oct 31, 2009 9:52:37 PM com.sun.grizzly.scripting.pool.DynamicPool
INFO: Pool started without dynamic resizing enabled. Pool will not attempt to determine the upper and lower bounds that it should be using, and will stay at 1
Oct 31, 2009 9:52:56 PM com.sun.grizzly.config.GrizzlyServiceListener
SEVERE: uninitialized constant Activitytypes
from G:/jruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:80:in `const_missing_with_dependencies'
from G:/jruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:92:in `const_missing'
from G:/jruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/inflector.rb:361:in `constantize'
from G:/jruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/inflector.rb:360:in `each'
from G:/jruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/inflector.rb:360:in `constantize'
from G:/jruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/core_ext/string/inflections.rb:162:in `constantize'
from G:/jruby/rails_apps/ggripv2/vendor/plugins/active_scaffold/lib/extensions/reverse_associations.rb:11:in `reverse'
from G:/jruby/rails_apps/ggripv2/vendor/plugins/active_scaffold/lib/active_scaffold/data_structures/column.rb:113:in `autolink?'
... 18 levels...
from G:/jruby/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/initializer.rb:113:in `run'
from G:/jruby/rails_apps/ggripv2/config/environment.rb:13
from G:/jruby/rails_apps/ggripv2/config/environment.rb:1

com.sun.grizzly.jruby.rack.RackInitializationException: uninitialized constant Activitytypes
from G:/jruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:80:in `const_missing_with_dependencies'
from G:/jruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:92:in `const_missing'
from G:/jruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/inflector.rb:361:in `constantize'
from G:/jruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/inflector.rb:360:in `each'
from G:/jruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/inflector.rb:360:in `constantize'
from G:/jruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/core_ext/string/inflections.rb:162:in `constantize'
from G:/jruby/rails_apps/ggripv2/vendor/plugins/active_scaffold/lib/extensions/reverse_associations.rb:11:in `reverse'
from G:/jruby/rails_apps/ggripv2/vendor/plugins/active_scaffold/lib/active_scaffold/data_structures/column.rb:113:in `autolink?'
... 18 levels...
from G:/jruby/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/initializer.rb:113:in `run'
from G:/jruby/rails_apps/ggripv2/config/environment.rb:13
from G:/jruby/rails_apps/ggripv2/config/environment.rb:1

at com.sun.grizzly.jruby.rack.DefaultRackApplicationFactory.createApplication(DefaultRackApplicationFactory.java:169)
at com.sun.grizzly.jruby.rack.DefaultRackApplicationFactory.newApplication(DefaultRackApplicationFactory.java:69)
at com.sun.grizzly.jruby.rack.RackApplicationPoolAdapter.initializeObject(RackApplicationPoolAdapter.java:43)
at com.sun.grizzly.jruby.rack.RackApplicationPoolAdapter.initializeObject(RackApplicationPoolAdapter.java:15)
at com.sun.grizzly.scripting.pool.DynamicPool$1.run(DynamicPool.java:436)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: org.jruby.exceptions.RaiseException: uninitialized constant Activitytypes
at Kernel.raise(G:/jruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:443)
at ActiveSupport::Dependencies.load_missing_constant(G:/jruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:80)
at ActiveSupport::Dependencies::ModuleConstMissing.const_missing_with_dependencies(G:/jruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:92)
at ActiveSupport::Dependencies::ClassConstMissing.const_missing(G:/jruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/inflector.rb:361)
at ActiveSupport::Inflector.constantize(G:/jruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/inflector.rb:360)
at Array.each(G:/jruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/inflector.rb:360)
at ActiveSupport::Inflector.constantize(G:/jruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/core_ext/string/inflections.rb:162)
at ActiveSupport::CoreExtensions::String::Inflections.constantize(G:/jruby/rails_apps/ggripv2/vendor/plugins/active_scaffold/lib/extensions/reverse_associations.rb:11)
at ActiveRecord::Reflection::AssociationReflection.reverse(G:/jruby/rails_apps/ggripv2/vendor/plugins/active_scaffold/lib/active_scaffold/data_structures/column.rb:113)
at ActiveScaffold::DataStructures::Column.autolink?(G:/jruby/rails_apps/ggripv2/vendor/plugins/active_scaffold/lib/active_scaffold.rb:106)
at ActiveScaffold::ClassMethods.links_for_associations(G:/jruby/rails_apps/ggripv2/vendor/plugins/active_scaffold/lib/active_scaffold/data_structures/columns.rb:62)
at ActiveScaffold::DataStructures::Columns.each(G:/jruby/rails_apps/ggripv2/vendor/plugins/active_scaffold/lib/active_scaffold/data_structures/columns.rb:62)
at Array.each(G:/jruby/rails_apps/ggripv2/vendor/plugins/active_scaffold/lib/active_scaffold/data_structures/columns.rb:62)
at ActiveScaffold::DataStructures::Columns.each(G:/jruby/rails_apps/ggripv2/vendor/plugins/active_scaffold/lib/active_scaffold.rb:105)
at ActiveScaffold::ClassMethods.links_for_associations(G:/jruby/rails_apps/ggripv2/vendor/plugins/active_scaffold/lib/active_scaffold.rb:59)
at ActiveScaffold::ClassMethods.active_scaffold(G:/jruby/rails_apps/ggripv2/app/controllers/activities_controller.rb:4)
at (unknown).(unknown)(G:/jruby/rails_apps/ggripv2/app/controllers/activities_controller.rb:31)
at (unknown).(unknown)(G:/jruby/rails_apps/ggripv2/app/controllers/activities_controller.rb:31)
at Kernel.require(G:/jruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31)
at Kernel.require(G:/jruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:158)
at ActiveSupport::Dependencies::Loadable.require(G:/jruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:265)
at ActiveSupport::Dependencies.require_or_load(G:/jruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:224)
at ActiveSupport::Dependencies.depend_on(G:/jruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:136)
at ActiveSupport::Dependencies::Loadable.require_dependency(G:/jruby/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/initializer.rb:414)
at Rails::Initializer.load_application_classes(G:/jruby/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/initializer.rb:413)
at Array.each(G:/jruby/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/initializer.rb:413)
at Rails::Initializer.load_application_classes(G:/jruby/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/initializer.rb:411)
at Array.each(G:/jruby/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/initializer.rb:411)
at Rails::Initializer.load_application_classes(G:/jruby/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/initializer.rb:197)
at Rails::Initializer.process(G:/jruby/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/initializer.rb:113)
at #<Class:01x40a1e1>.run(G:/jruby/rails_apps/ggripv2/config/environment.rb:13)
at (unknown).(unknown)(G:/jruby/rails_apps/ggripv2/config/environment.rb:1)
at (unknown).(unknown)(:1)
Oct 31, 2009 9:52:56 PM com.sun.grizzly.config.GrizzlyServiceListener
WARNING: Warning: error application could not be initialized.
Oct 31, 2009 9:52:56 PM
SEVERE: Exception in thread "pool-13-thread-1"
Oct 31, 2009 9:52:56 PM
SEVERE: G:/jruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:440:in `load_missing_constant':
Oct 31, 2009 9:52:56 PM
SEVERE: uninitialized constant Rack::Handler::Grizzly (NameError)
Oct 31, 2009 9:52:56 PM
SEVERE: from G:/jruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:80:in `const_missing_with_dependencies'

Oct 31, 2009 9:52:56 PM
SEVERE: from <script>:1

Oct 31, 2009 9:52:56 PM
SEVERE: ...internal jruby stack elided...
Oct 31, 2009 9:52:56 PM
SEVERE: from ActiveSupport::Dependencies.load_missing_constant(G:/jruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:80)
Oct 31, 2009 9:52:56 PM
SEVERE: from ActiveSupport::Dependencies::ModuleConstMissing.const_missing_with_dependencies(<script>:1)
Oct 31, 2009 9:52:56 PM
SEVERE: from (unknown).(unknown)(:1)

By: Vivek Pandey
SEVERE: uninitialized constant Activitytypes [ reply ]  
2009-10-31 21:46
Never saw this error. Can you try running on other platform? Best think will be open an issue with steps on how I can reproduce this testcase.

Also can you try the latest glassfish gem build from our CI server: http://hudson.glassfish.org/job/glassfish-gem-build/

By: R Vince
SEVERE: uninitialized constant Activitytypes [ reply ]  
2009-10-31 18:54
I must be the only one to have ever gotten this error message. Can someone please tell me what I must do to get my glassfish gem working (again, it was some months ago, but now it doesn't fire up at all! Thanks, RVince, log trace below):

Oct 31, 2009 2:45:25 PM null
INFO: Listening on port 81
Oct 31, 2009 2:45:25 PM javax.enterprise.system.tools.admin.org.glassfish.server
INFO: Admin Console Adapter: context root: /_____admingui
Oct 31, 2009 2:45:25 PM null
INFO: The Admin Console Application is not yet installed.
Oct 31, 2009 2:45:25 PM null
INFO: Admin Console Adapter: context root: /_____admingui
Oct 31, 2009 2:45:25 PM javax.enterprise.system.tools.admin.org.glassfish.server
INFO: Admin Console Adapter: context root: /_____admingui
Oct 31, 2009 2:45:27 PM javax.enterprise.system.core.com.sun.enterprise.v3.server
INFO: Loading application ggripv2 at /
Oct 31, 2009 2:45:27 PM com.sun.grizzly.jruby.RubyRuntime
INFO: Environment: production
Oct 31, 2009 2:45:27 PM com.sun.grizzly.config.GrizzlyServiceListener
INFO: Jruby version is: 1.3.0
Oct 31, 2009 2:45:27 PM com.sun.grizzly.config.GrizzlyServiceListener
INFO: Detected Rails application
Oct 31, 2009 2:45:27 PM com.sun.grizzly.config.GrizzlyServiceListener
INFO: Rails not in thread-safe mode, starting in single-thread mode
Oct 31, 2009 2:45:27 PM com.sun.grizzly.scripting.pool.DynamicPool
INFO: Pool started without dynamic resizing enabled. Pool will not attempt to determine the upper and lower bounds that it should be using, and will stay at 1
Oct 31, 2009 2:45:27 PM
INFO: Read to serve the request
Oct 31, 2009 2:45:27 PM javax.enterprise.system.core.com.sun.enterprise.v3.server
INFO: GlassFish v3 startup time : Static(9953ms) startup services(2485ms) total(12438ms)
Oct 31, 2009 2:45:42 PM com.sun.grizzly.config.GrizzlyServiceListener
SEVERE: uninitialized constant Activitytypes
from G:/jruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:80:in `const_missing_with_dependencies'
from G:/jruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:92:in `const_missing'
from G:/jruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/inflector.rb:361:in `constantize'
from G:/jruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/inflector.rb:360:in `each'
from G:/jruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/inflector.rb:360:in `constantize'
from G:/jruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/core_ext/string/inflections.rb:162:in `constantize'
from G:\jruby/rails_apps/ggripv2/vendor/plugins/active_scaffold/lib/extensions/reverse_associations.rb:11:in `reverse'
from G:\jruby/rails_apps/ggripv2/vendor/plugins/active_scaffold/lib/active_scaffold/data_structures/column.rb:113:in `autolink?'
... 18 levels...
from G:/jruby/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/initializer.rb:113:in `run'
from G:\jruby\rails_apps\ggripv2/config/environment.rb:13
from G:\jruby\rails_apps\ggripv2/config/environment.rb:1

com.sun.grizzly.jruby.rack.RackInitializationException: uninitialized constant Activitytypes
from G:/jruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:80:in `const_missing_with_dependencies'
from G:/jruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:92:in `const_missing'
from G:/jruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/inflector.rb:361:in `constantize'
from G:/jruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/inflector.rb:360:in `each'
from G:/jruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/inflector.rb:360:in `constantize'
from G:/jruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/core_ext/string/inflections.rb:162:in `constantize'
from G:\jruby/rails_apps/ggripv2/vendor/plugins/active_scaffold/lib/extensions/reverse_associations.rb:11:in `reverse'
from G:\jruby/rails_apps/ggripv2/vendor/plugins/active_scaffold/lib/active_scaffold/data_structures/column.rb:113:in `autolink?'
... 18 levels...
from G:/jruby/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/initializer.rb:113:in `run'
from G:\jruby\rails_apps\ggripv2/config/environment.rb:13
from G:\jruby\rails_apps\ggripv2/config/environment.rb:1

at com.sun.grizzly.jruby.rack.DefaultRackApplicationFactory.createApplication(DefaultRackApplicationFactory.java:169)
at com.sun.grizzly.jruby.rack.DefaultRackApplicationFactory.newApplication(DefaultRackApplicationFactory.java:69)
at com.sun.grizzly.jruby.rack.RackApplicationPoolAdapter.initializeObject(RackApplicationPoolAdapter.java:43)
at com.sun.grizzly.jruby.rack.RackApplicationPoolAdapter.initializeObject(RackApplicationPoolAdapter.java:15)
at com.sun.grizzly.scripting.pool.DynamicPool$1.run(DynamicPool.java:436)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: org.jruby.exceptions.RaiseException: uninitialized constant Activitytypes
at Kernel.raise(G:/jruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:443)
at ActiveSupport::Dependencies.load_missing_constant(G:/jruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:80)
at ActiveSupport::Dependencies::ModuleConstMissing.const_missing_with_dependencies(G:/jruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:92)
at ActiveSupport::Dependencies::ClassConstMissing.const_missing(G:/jruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/inflector.rb:361)
at ActiveSupport::Inflector.constantize(G:/jruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/inflector.rb:360)
at Array.each(G:/jruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/inflector.rb:360)
at ActiveSupport::Inflector.constantize(G:/jruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/core_ext/string/inflections.rb:162)
at ActiveSupport::CoreExtensions::String::Inflections.constantize(G:\jruby/rails_apps/ggripv2/vendor/plugins/active_scaffold/lib/extensions/reverse_associations.rb:11)
at ActiveRecord::Reflection::AssociationReflection.reverse(G:\jruby/rails_apps/ggripv2/vendor/plugins/active_scaffold/lib/active_scaffold/data_structures/column.rb:113)
at ActiveScaffold::DataStructures::Column.autolink?(G:\jruby/rails_apps/ggripv2/vendor/plugins/active_scaffold/lib/active_scaffold.rb:106)
at ActiveScaffold::ClassMethods.links_for_associations(G:\jruby/rails_apps/ggripv2/vendor/plugins/active_scaffold/lib/active_scaffold/data_structures/columns.rb:62)
at ActiveScaffold::DataStructures::Columns.each(G:\jruby/rails_apps/ggripv2/vendor/plugins/active_scaffold/lib/active_scaffold/data_structures/columns.rb:62)
at Array.each(G:\jruby/rails_apps/ggripv2/vendor/plugins/active_scaffold/lib/active_scaffold/data_structures/columns.rb:62)
at ActiveScaffold::DataStructures::Columns.each(G:\jruby/rails_apps/ggripv2/vendor/plugins/active_scaffold/lib/active_scaffold.rb:105)
at ActiveScaffold::ClassMethods.links_for_associations(G:\jruby/rails_apps/ggripv2/vendor/plugins/active_scaffold/lib/active_scaffold.rb:59)
at ActiveScaffold::ClassMethods.active_scaffold(G:\jruby/rails_apps/ggripv2/app/controllers/activities_controller.rb:4)
at (unknown).(unknown)(G:\jruby/rails_apps/ggripv2/app/controllers/activities_controller.rb:31)
at (unknown).(unknown)(G:\jruby/rails_apps/ggripv2/app/controllers/activities_controller.rb:31)
at Kernel.require(G:/jruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31)
at Kernel.require(G:/jruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:158)
at ActiveSupport::Dependencies::Loadable.require(G:/jruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:265)
at ActiveSupport::Dependencies.require_or_load(G:/jruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:224)
at ActiveSupport::Dependencies.depend_on(G:/jruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:136)
at ActiveSupport::Dependencies::Loadable.require_dependency(G:/jruby/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/initializer.rb:414)
at Rails::Initializer.load_application_classes(G:/jruby/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/initializer.rb:413)
at Array.each(G:/jruby/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/initializer.rb:413)
at Rails::Initializer.load_application_classes(G:/jruby/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/initializer.rb:411)
at Array.each(G:/jruby/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/initializer.rb:411)
at Rails::Initializer.load_application_classes(G:/jruby/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/initializer.rb:197)
at Rails::Initializer.process(G:/jruby/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/initializer.rb:113)
at #<Class:01x150a0>.run(G:\jruby\rails_apps\ggripv2/config/environment.rb:13)
at (unknown).(unknown)(G:\jruby\rails_apps\ggripv2/config/environment.rb:1)
at (unknown).(unknown)(:1)
Oct 31, 2009 2:45:42 PM com.sun.grizzly.config.GrizzlyServiceListener
WARNING: Warning: error application could not be initialized.
Oct 31, 2009 2:45:42 PM
SEVERE: Exception in thread "pool-13-thread-1"
Oct 31, 2009 2:45:42 PM
SEVERE: G:/jruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:440:in `load_missing_constant':
Oct 31, 2009 2:45:42 PM
SEVERE: uninitialized constant Rack::Handler::Grizzly (NameError)
Oct 31, 2009 2:45:42 PM
SEVERE: from G:/jruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:80:in `const_missing_with_dependencies'

Oct 31, 2009 2:45:42 PM
SEVERE: from <script>:1

Oct 31, 2009 2:45:42 PM
SEVERE: ...internal jruby stack elided...
Oct 31, 2009 2:45:42 PM
SEVERE: from ActiveSupport::Dependencies.load_missing_constant(G:/jruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:80)
Oct 31, 2009 2:45:42 PM
SEVERE: from ActiveSupport::Dependencies::ModuleConstMissing.const_missing_with_dependencies(<script>:1)
Oct 31, 2009 2:45:42 PM
SEVERE: from (unknown).(unknown)(:1)