Re: Warble 0.9.9 issues

I deleted the original, but in response to this thread:

http://archive.jruby.codehaus.org/user/487444A1.40007%40gmail.com

“Goldspike required commons-pool, you must have it in your
application classpath somehow.”

I thought that with .99 there was no more goldspike? Why is there a
dependency on it? Or am I reading too much into the JRuby-Rack part?

http://blog.nicksieger.com/articles/2008/05/08/introducing-jruby-rack

Sorry if this is a lame question.


Mike H.
Program Manager, Collaborative Software Initiative
[email protected]
Portland, Or 97258
http://www.csinitiative.com


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

On Tue, Jul 15, 2008 at 5:57 PM, Mike H. [email protected]
wrote:

I deleted the original, but in response to this thread:

http://archive.jruby.codehaus.org/user/487444A1.40007%40gmail.com

“Goldspike required commons-pool, you must have it in your
application classpath somehow.”

I thought that with .99 there was no more goldspike? Why is there a
dependency on it? Or am I reading too much into the JRuby-Rack part?

Correct. If you’re using vanilla 0.9.9 there are no commons-pool
dependencies.

My response was because the OP made reference to classpath issues with
commons-pool, so I assumed he was still using Goldspike.

/Nick


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

Thanks Nick. We don’t have any Goldspike dependencies that I am aware
of.

We did have a stray Goldspike plugin-in, but I deleted it.

I get the same error Ryan reported:

15-Jul-2008 2:23:53 PM org.apache.catalina.core.StandardContext
listenerStart
SEVERE: Error configuring application listener of class
org.jruby.webapp.RailsContextListener
java.lang.NoClassDefFoundError:
org/apache/commons/pool/PoolableObjectFactory
at java.lang.Class.getDeclaredConstructors0(Native Method)
at
java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
at java.lang.Class.getConstructor0(Class.java:2699)

Can you clarify?

Thanks,

Mike

Mike H.
Program Manager, Collaborative Software Initiative
[email protected]
Portland, Or 97258
http://www.csinitiative.com

Nick S. wrote:

http://xircles.codehaus.org/manage_email

To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

Yep - that was it. Thanks Nick.

Mike H.
Program Manager, Collaborative Software Initiative
[email protected]
http://www.csinitiative.com

Nick S. wrote:

org.jruby.webapp.RailsContextListener
I suggest updating your web.xml file to use the JRuby-Rack context


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

On Tue, Jul 15, 2008 at 7:12 PM, Mike H. [email protected]
wrote:

java.lang.NoClassDefFoundError:
org/apache/commons/pool/PoolableObjectFactory
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
at java.lang.Class.getConstructor0(Class.java:2699)

Can you clarify?

There must be a stray goldspike jar file somewhere, because JRuby-Rack
has no dependencies on commons-pool. If you can’t seem to find it, may
I suggest updating your web.xml file to use the JRuby-Rack context
listener: org.jruby.rack.rails.RailsServletContextListener.
org.jruby.webapp.RailsContextListener is just an empty stub subclass
of it for Goldspike compatibility.

/Nick


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

I took a pass at updating the Warbler wiki page with some notes on
upgrading:

http://wiki.jruby.org/wiki/Warbler

Thanks again for your help Nick.

Mike

Mike H.
Program Manager, Collaborative Software Initiative
[email protected]
Portland, Or 97258
http://www.csinitiative.com

Nick S. wrote:

org.jruby.webapp.RailsContextListener
I suggest updating your web.xml file to use the JRuby-Rack context


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs