From nobody at rubyforge.org Thu Nov 1 14:53:25 2007 From: nobody at rubyforge.org (nobody at rubyforge.org) Date: Thu, 1 Nov 2007 14:53:25 -0400 (EDT) Subject: [Jruby-extras-devel] [781] trunk/activerecord-jdbc/lib/active_record/connection_adapters/ jdbc_adapter.rb: Make sure to warn if the driver class isn't present. Message-ID: <20071101185325.2A87718585DC@rubyforge.org> An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/jruby-extras-devel/attachments/20071101/20b1ada3/attachment.html From ryan.l.bell at gmail.com Thu Nov 1 21:29:03 2007 From: ryan.l.bell at gmail.com (Ryan Bell) Date: Thu, 1 Nov 2007 21:29:03 -0400 Subject: [Jruby-extras-devel] IntelliJ 7.0 Message-ID: I have received the license key for any JRuby-Extras dev who'd like to use IntelliJ 7 to do their open source work. Drop me a line if you are interested. -- Ryan L. Bell http://kofno.wordpress.com http://kofno.blogspot.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/jruby-extras-devel/attachments/20071101/686f88cd/attachment.html From nobody at rubyforge.org Fri Nov 2 13:56:40 2007 From: nobody at rubyforge.org (nobody at rubyforge.org) Date: Fri, 2 Nov 2007 13:56:40 -0400 (EDT) Subject: [Jruby-extras-devel] [782] trunk/activerecord-jdbc: Bunch of updates to the build infrastructure for the adapters and drivers. Message-ID: <20071102175640.E856918585B7@rubyforge.org> An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/jruby-extras-devel/attachments/20071102/ba2c9ad8/attachment-0001.html From nobody at rubyforge.org Fri Nov 2 13:56:54 2007 From: nobody at rubyforge.org (nobody at rubyforge.org) Date: Fri, 2 Nov 2007 13:56:54 -0400 (EDT) Subject: [Jruby-extras-devel] [783] branches/headius-rails/: Creating branch for RI refactoring and cleanup. Message-ID: <20071102175654.CA55D18585DA@rubyforge.org> An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/jruby-extras-devel/attachments/20071102/6cb34e17/attachment.html From nobody at rubyforge.org Mon Nov 5 13:35:53 2007 From: nobody at rubyforge.org (nobody at rubyforge.org) Date: Mon, 5 Nov 2007 13:35:53 -0500 (EST) Subject: [Jruby-extras-devel] [785] trunk/activerecord-jdbc/adapters: Moving postgres to postgresql; in progress Message-ID: <20071105183553.7F1A518585A2@rubyforge.org> An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/jruby-extras-devel/attachments/20071105/228634fc/attachment.html From nobody at rubyforge.org Mon Nov 5 13:38:38 2007 From: nobody at rubyforge.org (nobody at rubyforge.org) Date: Mon, 5 Nov 2007 13:38:38 -0500 (EST) Subject: [Jruby-extras-devel] [786] trunk/activerecord-jdbc/adapters/postgresql: Finish rename of jdbcpostgres to jdbcpostgresql Message-ID: <20071105183838.925641D7801D@rubyforge.org> An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/jruby-extras-devel/attachments/20071105/25e7c471/attachment.html From nobody at rubyforge.org Mon Nov 5 16:46:15 2007 From: nobody at rubyforge.org (nobody at rubyforge.org) Date: Mon, 5 Nov 2007 16:46:15 -0500 (EST) Subject: [Jruby-extras-devel] [787] tags/activerecord-jdbc/release-0.6/: Tagging 0.6 Message-ID: <20071105214615.80B41197811F@rubyforge.org> An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/jruby-extras-devel/attachments/20071105/17814432/attachment.html From nobody at rubyforge.org Mon Nov 5 16:53:03 2007 From: nobody at rubyforge.org (nobody at rubyforge.org) Date: Mon, 5 Nov 2007 16:53:03 -0500 (EST) Subject: [Jruby-extras-devel] [788] tags/activerecord-jdbc/release-0.6/drivers: Don' t try to load JDBC driver jars if not running in JRuby Message-ID: <20071105215303.BC3E7197811F@rubyforge.org> An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/jruby-extras-devel/attachments/20071105/ebfc281b/attachment.html From nobody at rubyforge.org Mon Nov 5 16:59:44 2007 From: nobody at rubyforge.org (nobody at rubyforge.org) Date: Mon, 5 Nov 2007 16:59:44 -0500 (EST) Subject: [Jruby-extras-devel] [789] tags/activerecord-jdbc/release-0.6/Rakefile: Fixed to allow release of drivers Message-ID: <20071105215944.AE23118585B3@rubyforge.org> An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/jruby-extras-devel/attachments/20071105/0f31b3ac/attachment-0001.html From nobody at rubyforge.org Mon Nov 5 17:00:18 2007 From: nobody at rubyforge.org (nobody at rubyforge.org) Date: Mon, 5 Nov 2007 17:00:18 -0500 (EST) Subject: [Jruby-extras-devel] [790] trunk/activerecord-jdbc: Merge fixes made on 0.6 during release prep Message-ID: <20071105220018.AEF9E18585B3@rubyforge.org> An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/jruby-extras-devel/attachments/20071105/91c6af67/attachment.html From nobody at rubyforge.org Mon Nov 5 17:03:06 2007 From: nobody at rubyforge.org (nobody at rubyforge.org) Date: Mon, 5 Nov 2007 17:03:06 -0500 (EST) Subject: [Jruby-extras-devel] [791] trunk/html/index.html: Updated rubyforge index page Message-ID: <20071105220306.C9B2B18585B3@rubyforge.org> An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/jruby-extras-devel/attachments/20071105/2427f169/attachment.html From nicksieger at gmail.com Mon Nov 5 17:05:58 2007 From: nicksieger at gmail.com (Nick Sieger) Date: Mon, 5 Nov 2007 16:05:58 -0600 Subject: [Jruby-extras-devel] [ANN] activerecord-jdbc-adapter 0.6 Released Message-ID: activerecord-jdbc-adapter version 0.6 has been released! * ActiveRecord-JDBC is a database adapter for Rails' ActiveRecord component that can be used with JRuby[http://www.jruby.org/]. It allows use of virtually any JDBC-compliant database with your JRuby on Rails application. Changes: ## 0.6 - Gem is renamed to "activerecord-jdbc-adapter" to follow new conventions introduced in Rails 2.0 for third-party adapters. Rails 2.0 compatibility is introduced. - Add dependency on ActiveRecord >= 1.14 (from the Rails 1.1.x release) - New drivers (jdbc-XXX) and adapter (activerecord-jdbcXXX-adapter) gems available separately. See the README.txt file for details. - Plain "jdbc" driver is still available if you want to use the full driver/url way of specifying the driver. - More bugfixes to Oracle and SQLServer courtesy of Ola & ThoughtWorks * From nicksieger at gmail.com Tue Nov 6 10:51:20 2007 From: nicksieger at gmail.com (Nick Sieger) Date: Tue, 6 Nov 2007 09:51:20 -0600 Subject: [Jruby-extras-devel] Goldspike release Message-ID: Robert, do you have time to do a Goldspike 1.4 release? Folks are complaining about how it's not picking up the new JRuby release. At a minimum, perhaps we should just update the version numbers in the plugin. Thoughts? /Nick From jk at jkraemer.net Thu Nov 8 10:02:48 2007 From: jk at jkraemer.net (Jens Kraemer) Date: Thu, 8 Nov 2007 16:02:48 +0100 Subject: [Jruby-extras-devel] JRuby/Rails logging problems In-Reply-To: References: <20071007172116.GS29859@thunder.jkraemer.net> <47093ED5.9060701@cs.auckland.ac.nz> <20071008091007.GU29859@thunder.jkraemer.net> Message-ID: <20071108150248.GC2341@thunder.jkraemer.net> Hi! On Mon, Oct 08, 2007 at 09:07:49AM -0500, Nick Sieger wrote: [..] > We're doing something much like this in our applications to have all > Rails logger output go to Glassfish's log files. Just make sure this > gets loaded during the initialization sequence (in environment.rb or a > plugin init.rb). > > http://pastie.caboo.se/104897 Cool, that led me into the right direction. I ended up doing something very similar, but I overwrote the Loggers add method with a custom one that logs to a Log4j logger which has been put into the servlet context by a ServletContextListener. The category this logger uses can be configured via a context parameter in web.xml. That way the log level can be set in the log4j config of the container (JBoss in my case) without having to touch the war file. It's available as a plugin at https://projects.jkraemer.net/svn/plugins/jruby/log4j_logger/ just in case anyone's interested. Cheers, Jens -- Jens Kr?mer http://www.jkraemer.net/ - Blog http://www.omdb.org/ - The new free film database From nobody at rubyforge.org Thu Nov 8 11:33:49 2007 From: nobody at rubyforge.org (nobody at rubyforge.org) Date: Thu, 8 Nov 2007 11:33:49 -0500 (EST) Subject: [Jruby-extras-devel] [792] trunk/activerecord-jdbc/nbproject/: Remove nbroject Message-ID: <20071108163349.67AC81598073@rubyforge.org> An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/jruby-extras-devel/attachments/20071108/c696cc2d/attachment.html From nobody at rubyforge.org Thu Nov 8 16:07:55 2007 From: nobody at rubyforge.org (nobody at rubyforge.org) Date: Thu, 8 Nov 2007 16:07:55 -0500 (EST) Subject: [Jruby-extras-devel] [794] trunk/activerecord-jdbc: Moving reconnection logic around, introduce connection factory Message-ID: <20071108210756.04B281598082@rubyforge.org> An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/jruby-extras-devel/attachments/20071108/1487c63d/attachment-0001.html From nobody at rubyforge.org Mon Nov 12 20:36:14 2007 From: nobody at rubyforge.org (nobody at rubyforge.org) Date: Mon, 12 Nov 2007 20:36:14 -0500 (EST) Subject: [Jruby-extras-devel] [795] trunk/activerecord-jdbc/src/java/jdbc_adapter: Refactored JdbcAdapterInternalService to encapsulate connection retry logic in Message-ID: <20071113013614.E8C6A18585E8@rubyforge.org> An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/jruby-extras-devel/attachments/20071112/b9f72914/attachment-0001.html From nobody at rubyforge.org Tue Nov 13 12:56:33 2007 From: nobody at rubyforge.org (nobody at rubyforge.org) Date: Tue, 13 Nov 2007 12:56:33 -0500 (EST) Subject: [Jruby-extras-devel] [796] trunk/activerecord-jdbc: Move connection and reconnect! methods over to the java side Message-ID: <20071113175633.5436216780E7@rubyforge.org> An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/jruby-extras-devel/attachments/20071113/e16f3c63/attachment.html From nobody at rubyforge.org Tue Nov 13 13:13:46 2007 From: nobody at rubyforge.org (nobody at rubyforge.org) Date: Tue, 13 Nov 2007 13:13:46 -0500 (EST) Subject: [Jruby-extras-devel] [797] trunk/activerecord-jdbc: Expose the connection retry guard to the ruby side, so it can be used by the Message-ID: <20071113181346.A17C418585FA@rubyforge.org> An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/jruby-extras-devel/attachments/20071113/d05e2aba/attachment.html From nobody at rubyforge.org Tue Nov 13 16:34:22 2007 From: nobody at rubyforge.org (nobody at rubyforge.org) Date: Tue, 13 Nov 2007 16:34:22 -0500 (EST) Subject: [Jruby-extras-devel] [798] trunk/activerecord-jdbc: - add connection livelihood check on error Message-ID: <20071113213422.9F39318585F1@rubyforge.org> An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/jruby-extras-devel/attachments/20071113/68801d67/attachment-0001.html From nobody at rubyforge.org Tue Nov 13 16:45:09 2007 From: nobody at rubyforge.org (nobody at rubyforge.org) Date: Tue, 13 Nov 2007 16:45:09 -0500 (EST) Subject: [Jruby-extras-devel] [799] trunk/activerecord-jdbc/src/java/jdbc_adapter/ JdbcAdapterInternalService.java: Clean up connection exception logic a bit Message-ID: <20071113214509.B5BC01858613@rubyforge.org> An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/jruby-extras-devel/attachments/20071113/d60c8838/attachment.html From nobody at rubyforge.org Tue Nov 13 17:02:26 2007 From: nobody at rubyforge.org (nobody at rubyforge.org) Date: Tue, 13 Nov 2007 17:02:26 -0500 (EST) Subject: [Jruby-extras-devel] [800] trunk/activerecord-jdbc: Add a proper disconnect! method to jdbc adapter Message-ID: <20071113220226.EC09C1858611@rubyforge.org> An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/jruby-extras-devel/attachments/20071113/3a9d68a8/attachment.html From ricardo.trindade at emation.pt Tue Nov 13 10:34:46 2007 From: ricardo.trindade at emation.pt (Ricardo Trindade) Date: Tue, 13 Nov 2007 15:34:46 +0000 Subject: [Jruby-extras-devel] AR-JDBC via svn:externals Message-ID: <4739C416.3020806@emation.pt> Hi, Is there a way to run ar-jdbc via svn:externals ? The public repository seems to have a different structure than that of the gem itself. Is there a way around this ? thanks, Ricardo From nobody at rubyforge.org Tue Nov 13 18:54:01 2007 From: nobody at rubyforge.org (nobody at rubyforge.org) Date: Tue, 13 Nov 2007 18:54:01 -0500 (EST) Subject: [Jruby-extras-devel] [801] trunk/activerecord-jdbc: Raise ActiveRecord:: ActiveRecordError on SQLExceptions Message-ID: <20071113235401.2FB4D18585DB@rubyforge.org> An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/jruby-extras-devel/attachments/20071113/34fbbfb4/attachment.html From nobody at rubyforge.org Tue Nov 13 19:17:34 2007 From: nobody at rubyforge.org (nobody at rubyforge.org) Date: Tue, 13 Nov 2007 19:17:34 -0500 (EST) Subject: [Jruby-extras-devel] [802] trunk/activerecord-jdbc/lib/jdbc_adapter/version.rb: Bumping version up to 0.6.1 Message-ID: <20071114001734.48F5118585D5@rubyforge.org> An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/jruby-extras-devel/attachments/20071113/65d653c9/attachment.html From nicksieger at gmail.com Tue Nov 13 20:27:04 2007 From: nicksieger at gmail.com (Nick Sieger) Date: Tue, 13 Nov 2007 17:27:04 -0800 Subject: [Jruby-extras-devel] AR-JDBC via svn:externals In-Reply-To: <4739C416.3020806@emation.pt> References: <4739C416.3020806@emation.pt> Message-ID: On 11/13/07, Ricardo Trindade wrote: > Hi, > > Is there a way to run ar-jdbc via svn:externals ? The public > repository seems to have a different structure than that of the gem > itself. Is there a way around this ? It should work fine, you'll just be including a few extra directories that are not required to run (adapters, drivers). /Nick From Pete at valadd.com Wed Nov 14 08:25:47 2007 From: Pete at valadd.com (Pete Helgren) Date: Wed, 14 Nov 2007 06:25:47 -0700 Subject: [Jruby-extras-devel] Activerecord-jdbc-adapter development Message-ID: <473AF75B.4090804@valadd.com> I'd like to work with *someone*, or on my own if necessary, to develop an adapter for DB2400, a database that runs on IBM's System i hardware. Although similar to DB2, it is different enough that it needs it's own adapter (I think). There has been some work in this area but I'd like to establish something a bit more "official" if possible even though I'd guess the System i community using Ruby and Rails is pretty small. I am new to ruby, experienced with Java, but have used activerecord-jdbc very little (since there is no adapter for the System i - aka AS/400). I saw one post about an AS/400 adapter but that was using AR-jdbc 4.0. Looks like some things have changed a bit since that release. How would I get started? I have poked around, looking at the adapter source, but if there is a more effective way of starting a project like this I'd rather start in the right direction rather than wandering around until I found my way. Thanks Pete -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/jruby-extras-devel/attachments/20071114/7eed3a70/attachment.html From nobody at rubyforge.org Wed Nov 14 14:04:39 2007 From: nobody at rubyforge.org (nobody at rubyforge.org) Date: Wed, 14 Nov 2007 14:04:39 -0500 (EST) Subject: [Jruby-extras-devel] [803] trunk/activerecord-jdbc: Raise an exception in columns_internal if the table doesn't exist, Message-ID: <20071114190439.6C4521598061@rubyforge.org> An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/jruby-extras-devel/attachments/20071114/54db5911/attachment.html From noreply at rubyforge.org Wed Nov 14 14:40:58 2007 From: noreply at rubyforge.org (noreply at rubyforge.org) Date: Wed, 14 Nov 2007 14:40:58 -0500 (EST) Subject: [Jruby-extras-devel] [ jruby-extras-Bugs-15630 ] Error using postgres Message-ID: <20071114194059.1618318585D7@rubyforge.org> Bugs item #15630, was opened at 2007-11-14 14:40 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=7857&aid=15630&group_id=2014 Category: None Group: None Status: Open Resolution: None Priority: 3 Submitted By: Nobody (None) Assigned to: Nobody (None) Summary: Error using postgres Initial Comment: When attempting to use the postgres driver I receive the following error The driver encountered an error: unable to choose type for time from: ["time", "time"] There appears to be 2 time mappings coming back from driver, one has precision 0 the other precision 6 and the adapter cannot decide which one to use and the barf out on it. ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=7857&aid=15630&group_id=2014 From noreply at rubyforge.org Tue Nov 20 00:34:11 2007 From: noreply at rubyforge.org (noreply at rubyforge.org) Date: Tue, 20 Nov 2007 00:34:11 -0500 (EST) Subject: [Jruby-extras-devel] [ jruby-extras-Bugs-15753 ] external item: goldspike-snapshop in svn repo not working Message-ID: <20071120053411.CFFA018585F1@rubyforge.org> Bugs item #15753, was opened at 2007-11-20 00:34 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=7857&aid=15753&group_id=2014 Category: rails-integration Group: None Status: Open Resolution: None Priority: 3 Submitted By: Stephen Bannasch (stepheneb) Assigned to: Robert Egglestone (tantalon) Summary: external item: goldspike-snapshop in svn repo not working Initial Comment: I tried to checkout the jruby-extras trunk dir but the external item goldspike-snapsht didn't exist, $ svn co http://jruby-extras.rubyforge.org/svn/trunk/ ./ A mongrel_jcluster/resources/mongrel_jcluster A mongrel_jcluster/README A mongrel_jcluster/examples Fetching external item into 'rails-integration/samples/helloworld-1.2.3/vendor/plugins/goldspike-snapshot' svn: Connection closed unexpectedly ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=7857&aid=15753&group_id=2014 From noreply at rubyforge.org Tue Nov 20 00:46:40 2007 From: noreply at rubyforge.org (noreply at rubyforge.org) Date: Tue, 20 Nov 2007 00:46:40 -0500 (EST) Subject: [Jruby-extras-devel] [ jruby-extras-Bugs-15754 ] war:standalone:run reports existing gem jruby-openssl is missing Message-ID: <20071120054640.B24C218585F0@rubyforge.org> Bugs item #15754, was opened at 2007-11-20 00:46 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=7857&aid=15754&group_id=2014 Category: rails-integration Group: None Status: Open Resolution: None Priority: 3 Submitted By: Stephen Bannasch (stepheneb) Assigned to: Robert Egglestone (tantalon) Summary: war:standalone:run reports existing gem jruby-openssl is missing Initial Comment: using: jruby trunk, released goldspike $ which gem /Users/stephen/dev/jruby_trunk/jruby/bin/gem $ gem list jruby-openssl *** LOCAL GEMS *** jruby-openssl (0.0.4) JRuby OpenSSL $ script/plugin install http://jruby-extras.rubyforge.org/svn/trunk/rails-integration/plugins/goldspike $ war:standalone:run $ rake war:standalone:run (in /Users/stephen/dev/jruby_trunk/jruby/sandbox/jruby_on_rails) running in jruby - rcov tasks not available info: Assembling web application info: Packing needed Java libraries ... info: adding Java library commons-pool-1.3 info: adding Java library activation-1.1 info: adding Java library jruby-complete-1.0.1 info: adding Java library bcprov-jdk14-124 info: adding Java library goldspike-1.3 info: Packing needed Ruby gems ... info: adding Ruby gem activerecord-jdbcderby-adapter version 0.6 info: adding Ruby gem activerecord-jdbc-adapter version 0.6 info: adding Ruby gem activerecord version 1.15.5 info: adding Ruby gem activesupport version 1.4.4 info: adding Ruby gem jdbc-derby version 10.2.2.0 info: Packing needed files ... Downloading jetty-plus-6.1.1.jar... Downloading jetty-naming-6.1.1.jar... Downloading start-6.1.1.jar... Downloading servlet-api-2.5-6.1.1.jar... Downloading jetty-util-6.1.1.jar... Downloading jetty-6.1.1.jar... java -Xmx128m -Djetty.port=8080 -cp "tmp/jetty/jetty-plus-6.1.1.jar:tmp/jetty/jetty-naming-6.1.1.jar:tmp/jetty/start-6.1.1.jar:tmp/jetty/servlet-api-2.5-6.1.1.jar:tmp/jetty/jetty-util-6.1.1.jar:tmp/jetty/jetty-6.1.1.jar" org.mortbay.start.Main tmp/jetty/jetty.xml 2007-11-19 23:49:25.979::INFO: Logging to STDERR via org.mortbay.log.StdErrLog 2007-11-19 23:49:26.184::INFO: jetty-6.1.1 2007-11-19 23:49:26.293::INFO: NO JSP Support for /jruby_on_rails, did not find org.apache.jasper.servlet.JspServlet 2007-11-19 23:49:27.452:/jruby_on_rails:INFO: Ruby is running in standalone mode 2007-11-19 23:49:27.665::INFO: Started SelectChannelConnector @ 0.0.0.0:8080 2007-11-19 23:49:29.702:/jruby_on_rails:INFO: JRuby init time: 1161ms 2007-11-19 23:49:33.911:/jruby_on_rails:INFO: Failed to load Rails: Could not find RubyGem jruby-openssl (>= 0.0.0) /Users/stephen/dev/jruby_trunk/jruby/sandbox/jruby_on_rails/config/../vendor/rails/railties/lib/initializer.rb:159:in `require_frameworks' /Users/stephen/dev/jruby_trunk/jruby/sandbox/jruby_on_rails/config/../vendor/rails/railties/lib/initializer.rb:88:in `process' /Users/stephen/dev/jruby_trunk/jruby/sandbox/jruby_on_rails/config/../vendor/rails/railties/lib/initializer.rb:49:in `send' /Users/stephen/dev/jruby_trunk/jruby/sandbox/jruby_on_rails/config/../vendor/rails/railties/lib/initializer.rb:49:in `run' /Users/stephen/dev/jruby_trunk/jruby/sandbox/jruby_on_rails/config/environment.rb:13 javasupport:46 javax.servlet.ServletException: Could not load Rails. See the logs for more details. at org.jruby.webapp.RailsFactory.makeObject(RailsFactory.java:137) at org.jruby.webapp.util.CustomObjectPool.addObjectInternal(CustomObjectPool.java:111) at org.jruby.webapp.util.CustomObjectPool.access$200(CustomObjectPool.java:15) at org.jruby.webapp.util.CustomObjectPool$PoolSizeManager.run(CustomObjectPool.java:193) 2007-11-19 23:49:37.883:/jruby_on_rails:INFO: Failed to load Rails: Could not find RubyGem jruby-openssl (>= 0.0.0) ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=7857&aid=15754&group_id=2014 From noreply at rubyforge.org Tue Nov 20 00:48:04 2007 From: noreply at rubyforge.org (noreply at rubyforge.org) Date: Tue, 20 Nov 2007 00:48:04 -0500 (EST) Subject: [Jruby-extras-devel] [ jruby-extras-Bugs-15753 ] external item: goldspike-snapshop in svn repo not working Message-ID: <20071120054804.2D93018585F7@rubyforge.org> Bugs item #15753, was opened at 2007-11-20 00:34 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=7857&aid=15753&group_id=2014 Category: rails-integration Group: None >Status: Closed Resolution: None Priority: 3 Submitted By: Stephen Bannasch (stepheneb) Assigned to: Robert Egglestone (tantalon) Summary: external item: goldspike-snapshop in svn repo not working Initial Comment: I tried to checkout the jruby-extras trunk dir but the external item goldspike-snapsht didn't exist, $ svn co http://jruby-extras.rubyforge.org/svn/trunk/ ./ A mongrel_jcluster/resources/mongrel_jcluster A mongrel_jcluster/README A mongrel_jcluster/examples Fetching external item into 'rails-integration/samples/helloworld-1.2.3/vendor/plugins/goldspike-snapshot' svn: Connection closed unexpectedly ---------------------------------------------------------------------- >Comment By: Stephen Bannasch (stepheneb) Date: 2007-11-20 00:48 Message: after trying again several times the svn externals co worked. ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=7857&aid=15753&group_id=2014 From noreply at rubyforge.org Tue Nov 20 10:59:13 2007 From: noreply at rubyforge.org (noreply at rubyforge.org) Date: Tue, 20 Nov 2007 10:59:13 -0500 (EST) Subject: [Jruby-extras-devel] [ jruby-extras-Bugs-15754 ] war:standalone:run reports existing gem jruby-openssl is missing Message-ID: <20071120155913.E631E18585C9@rubyforge.org> Bugs item #15754, was opened at 2007-11-20 00:46 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=7857&aid=15754&group_id=2014 Category: rails-integration Group: None Status: Open Resolution: None Priority: 3 Submitted By: Stephen Bannasch (stepheneb) Assigned to: Robert Egglestone (tantalon) Summary: war:standalone:run reports existing gem jruby-openssl is missing Initial Comment: using: jruby trunk, released goldspike $ which gem /Users/stephen/dev/jruby_trunk/jruby/bin/gem $ gem list jruby-openssl *** LOCAL GEMS *** jruby-openssl (0.0.4) JRuby OpenSSL $ script/plugin install http://jruby-extras.rubyforge.org/svn/trunk/rails-integration/plugins/goldspike $ war:standalone:run $ rake war:standalone:run (in /Users/stephen/dev/jruby_trunk/jruby/sandbox/jruby_on_rails) running in jruby - rcov tasks not available info: Assembling web application info: Packing needed Java libraries ... info: adding Java library commons-pool-1.3 info: adding Java library activation-1.1 info: adding Java library jruby-complete-1.0.1 info: adding Java library bcprov-jdk14-124 info: adding Java library goldspike-1.3 info: Packing needed Ruby gems ... info: adding Ruby gem activerecord-jdbcderby-adapter version 0.6 info: adding Ruby gem activerecord-jdbc-adapter version 0.6 info: adding Ruby gem activerecord version 1.15.5 info: adding Ruby gem activesupport version 1.4.4 info: adding Ruby gem jdbc-derby version 10.2.2.0 info: Packing needed files ... Downloading jetty-plus-6.1.1.jar... Downloading jetty-naming-6.1.1.jar... Downloading start-6.1.1.jar... Downloading servlet-api-2.5-6.1.1.jar... Downloading jetty-util-6.1.1.jar... Downloading jetty-6.1.1.jar... java -Xmx128m -Djetty.port=8080 -cp "tmp/jetty/jetty-plus-6.1.1.jar:tmp/jetty/jetty-naming-6.1.1.jar:tmp/jetty/start-6.1.1.jar:tmp/jetty/servlet-api-2.5-6.1.1.jar:tmp/jetty/jetty-util-6.1.1.jar:tmp/jetty/jetty-6.1.1.jar" org.mortbay.start.Main tmp/jetty/jetty.xml 2007-11-19 23:49:25.979::INFO: Logging to STDERR via org.mortbay.log.StdErrLog 2007-11-19 23:49:26.184::INFO: jetty-6.1.1 2007-11-19 23:49:26.293::INFO: NO JSP Support for /jruby_on_rails, did not find org.apache.jasper.servlet.JspServlet 2007-11-19 23:49:27.452:/jruby_on_rails:INFO: Ruby is running in standalone mode 2007-11-19 23:49:27.665::INFO: Started SelectChannelConnector @ 0.0.0.0:8080 2007-11-19 23:49:29.702:/jruby_on_rails:INFO: JRuby init time: 1161ms 2007-11-19 23:49:33.911:/jruby_on_rails:INFO: Failed to load Rails: Could not find RubyGem jruby-openssl (>= 0.0.0) /Users/stephen/dev/jruby_trunk/jruby/sandbox/jruby_on_rails/config/../vendor/rails/railties/lib/initializer.rb:159:in `require_frameworks' /Users/stephen/dev/jruby_trunk/jruby/sandbox/jruby_on_rails/config/../vendor/rails/railties/lib/initializer.rb:88:in `process' /Users/stephen/dev/jruby_trunk/jruby/sandbox/jruby_on_rails/config/../vendor/rails/railties/lib/initializer.rb:49:in `send' /Users/stephen/dev/jruby_trunk/jruby/sandbox/jruby_on_rails/config/../vendor/rails/railties/lib/initializer.rb:49:in `run' /Users/stephen/dev/jruby_trunk/jruby/sandbox/jruby_on_rails/config/environment.rb:13 javasupport:46 javax.servlet.ServletException: Could not load Rails. See the logs for more details. at org.jruby.webapp.RailsFactory.makeObject(RailsFactory.java:137) at org.jruby.webapp.util.CustomObjectPool.addObjectInternal(CustomObjectPool.java:111) at org.jruby.webapp.util.CustomObjectPool.access$200(CustomObjectPool.java:15) at org.jruby.webapp.util.CustomObjectPool$PoolSizeManager.run(CustomObjectPool.java:193) 2007-11-19 23:49:37.883:/jruby_on_rails:INFO: Failed to load Rails: Could not find RubyGem jruby-openssl (>= 0.0.0) ---------------------------------------------------------------------- >Comment By: Stephen Bannasch (stepheneb) Date: 2007-11-20 10:59 Message: fyi: I'm also using vendor/rails r8164 in this rails project. I'll make a test rails 1.2.5 project based on the installed rails gem, repeat the goldspike test and report back. ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=7857&aid=15754&group_id=2014 From Donald.Parish at Buckle.com Tue Nov 20 13:34:37 2007 From: Donald.Parish at Buckle.com (Donald Parish) Date: Tue, 20 Nov 2007 12:34:37 -0600 Subject: [Jruby-extras-devel] Activerecord-jdbc-adapter development Message-ID: Pete, See my entry last summer for how I got version 3.1 to work pretty well for me, including pagination support. I haven't gotten the later versions (.5) to work, but am still working on it as time allows. http://rubyforge.org/pipermail/jruby-extras-devel/2007-August/001215.htm l. Note, you also need to add the line: require 'jdbc_adapter/jdbc_as400' to the active_record/connection_adapters/jdbc_adapter_spec.rb file. You might also look at this thread: http://rubyforge.org/pipermail/jruby-extras-devel/2007-July/001161.html Don Parish I'd like to work with *someone*, or on my own if necessary, to develop an adapter for DB2400, a database that runs on IBM's System i hardware. Although similar to DB2, it is different enough that it needs it's own adapter (I think). There has been some work in this area but I'd like to establish something a bit more "official" if possible even though I'd guess the System i community using Ruby and Rails is pretty small. I am new to ruby, experienced with Java, but have used activerecord-jdbc very little (since there is no adapter for the System i - aka AS/400). I saw one post about an AS/400 adapter but that was using AR-jdbc 4.0. Looks like some things have changed a bit since that release. How would I get started? I have poked around, looking at the adapter source, but if there is a more effective way of starting a project like this I'd rather start in the right direction rather than wandering around until I found my way. Thanks Pete -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/jruby-extras-devel/attachments/20071120/a64e117a/attachment.html From Pete at valadd.com Tue Nov 20 14:26:49 2007 From: Pete at valadd.com (Pete Helgren) Date: Tue, 20 Nov 2007 12:26:49 -0700 Subject: [Jruby-extras-devel] Activerecord-jdbc-adapter development In-Reply-To: References: Message-ID: <474334F9.6000309@valadd.com> Thanks Don. Yeah, I looked at that and used it as the basis for getting started. The problem is that db2/400 isn't happy with the syntax that contains LIMIT and OFFSET. I think that is used in pagination but for the life of me, I can't figure out where that syntax is generated. Perhaps the driver isn't properly registered in the .yml? The newer activerecord-jdbc gem looks like it has been refactored a bit so I am trying to understand the relationships between the DB entries in the .yml file and how activerecord determines what jdbc driver to use. Is it the "adapter" in the yml that points to the jdbc adapter in connection_adapters folder or is it the url in the yml? For example, if I wanted to create a whole new driver called 'foo', what entries are needed in the .yml and what files/entries are needed in the activerecord folders? I'd like to debug this stuff if I could but I am having some difficulty with getting the environment set up so I can do that (I am using Aptana Studio and Rad Rails). I am woefully uneducated on Ruby so I have the learning curve as well. I'll try to push through on this on my own but it has been a bit of a challenge so far. Pete Donald Parish wrote: > > Pete, > See my entry last summer for how I got version 3.1 to work > pretty well for me, including pagination support. I haven't gotten the > later versions (.5) to work, but am still working on it as time > allows. > _http://rubyforge.org/pipermail/jruby-extras-devel/2007-August/001215.html_. > Note, you also need to add the line: require 'jdbc_adapter/jdbc_as400' > to the active_record/connection_adapters/jdbc_adapter_spec.rb file. > > You might also look at this thread: > _http://rubyforge.org/pipermail/jruby-extras-devel/2007-July/001161.html_ > > Don Parish > > > I'd like to work with *someone*, or on my own if necessary, to develop > an adapter for DB2400, a database that runs on IBM's System i > hardware. Although similar to DB2, it is different enough that it > needs it's own adapter (I think). There has been some work in this > area but I'd like to establish something a bit more "official" if > possible even though I'd guess the System i community using Ruby and > Rails is pretty small. I am new to ruby, experienced with Java, but > have used activerecord-jdbc very little (since there is no adapter for > the System i - aka AS/400). I saw one post about an AS/400 adapter but > that was using AR-jdbc 4.0. Looks like some things have changed a bit > since that release. How would I get started? I have poked around, > looking at the adapter source, but if there is a more effective way of > starting a project like this I'd rather start in the right direction > rather than wandering around until I found my way. Thanks Pete > > ------------------------------------------------------------------------ > > _______________________________________________ > Jruby-extras-devel mailing list > Jruby-extras-devel at rubyforge.org > http://rubyforge.org/mailman/listinfo/jruby-extras-devel -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/jruby-extras-devel/attachments/20071120/fa99af7f/attachment.html From Pete at valadd.com Tue Nov 20 19:03:39 2007 From: Pete at valadd.com (Pete Helgren) Date: Tue, 20 Nov 2007 17:03:39 -0700 Subject: [Jruby-extras-devel] Active record vs activerecord-jdbc-adapter (General Config question) In-Reply-To: References: Message-ID: <474375DB.4080505@valadd.com> Trying to sort out the relationships between activerecord, activerecord-jdbc-adapter and how to make sure everything is properly configured. Right now I am using jruby 1.1b1 and activerecord-jdbc 6.0 and active_scaffold. I think I have everything correctly configured but I get the following error when I execute the server script: => Booting WEBrick... E:/jruby-1.1b1/lib/ruby/gems/1.8/gems/activerecord-1.15.5/lib/active_record/connection_adapters/abstract/connection_specification.rb:210:in `establish_connection': database configuration specifies nonexistent as400 adapter (ActiveRecord::AdapterNotFound) So it doesn't find the as400 adapter I have specified in the database.yml file. How do I resolve this? What is throwing me is the references to activerecord-1.15.5. Shouldn't it be looking in activerecord-jdbc-adapter-0.6 ? The readme is helpful but I am not sure what to do when you use an adapter that is a modification of an existing adapter. For example, if you want to take the existing mysql adapter and then modify it and call it fooMysql, then what would be the yml entry and the other needed associated files in the jdbc_adapter and the activerecord\connection_adapters folders be? Pete From nicksieger at gmail.com Tue Nov 20 22:26:52 2007 From: nicksieger at gmail.com (Nick Sieger) Date: Tue, 20 Nov 2007 21:26:52 -0600 Subject: [Jruby-extras-devel] Active record vs activerecord-jdbc-adapter (General Config question) In-Reply-To: <474375DB.4080505@valadd.com> References: <474375DB.4080505@valadd.com> Message-ID: On 11/20/07, Pete Helgren wrote: > Trying to sort out the relationships between activerecord, > activerecord-jdbc-adapter and how to make sure everything is properly > configured. Right now I am using jruby 1.1b1 and activerecord-jdbc 6.0 > and active_scaffold. I think I have everything correctly configured but > I get the following error when I execute the server script: > > => Booting WEBrick... > E:/jruby-1.1b1/lib/ruby/gems/1.8/gems/activerecord-1.15.5/lib/active_record/connection_adapters/abstract/connection_specification.rb:210:in > `establish_connection': database configuration specifies nonexistent > as400 adapter (ActiveRecord::AdapterNotFound) > > So it doesn't find the as400 adapter I have specified in the > database.yml file. How do I resolve this? What is throwing me is the > references to activerecord-1.15.5. Shouldn't it be looking in > activerecord-jdbc-adapter-0.6 ? The basic convention is this. You have an adapter name "foo", from which Rails expects to find the following: - should be able to require 'active_record/connection_adapters/foo_adapter' - (if it's Rails 2.0 and that didn't work, try to load gem 'activerecord-foo-adapter' and try again) - the required library above should define a new class method on ActiveRecord::Base called foo_connection, which when called with a config hash (from database.yml) should return an instance of a subclass of ActiveRecord::ConnectionAdapters::AbstractAdapter. /Nick From Pete at valadd.com Wed Nov 21 16:58:10 2007 From: Pete at valadd.com (Pete Helgren) Date: Wed, 21 Nov 2007 14:58:10 -0700 Subject: [Jruby-extras-devel] Active record vs activerecord-jdbc-adapter (General Config question) In-Reply-To: References: <474375DB.4080505@valadd.com> Message-ID: <4744A9F2.1050908@valadd.com> Thanks. So in the database.yml would I have this? development: adapter: foo database: mydb username: user02 password: pass02 host: localhost Trying to understanding the relationship between yml and AR-jdbc structure as well. Pete Nick Sieger wrote: > On 11/20/07, Pete Helgren wrote: > >> Trying to sort out the relationships between activerecord, >> activerecord-jdbc-adapter and how to make sure everything is properly >> configured. Right now I am using jruby 1.1b1 and activerecord-jdbc 6.0 >> and active_scaffold. I think I have everything correctly configured but >> I get the following error when I execute the server script: >> >> => Booting WEBrick... >> E:/jruby-1.1b1/lib/ruby/gems/1.8/gems/activerecord-1.15.5/lib/active_record/connection_adapters/abstract/connection_specification.rb:210:in >> `establish_connection': database configuration specifies nonexistent >> as400 adapter (ActiveRecord::AdapterNotFound) >> >> So it doesn't find the as400 adapter I have specified in the >> database.yml file. How do I resolve this? What is throwing me is the >> references to activerecord-1.15.5. Shouldn't it be looking in >> activerecord-jdbc-adapter-0.6 ? >> > > The basic convention is this. You have an adapter name "foo", from > which Rails expects to find the following: > > - should be able to require 'active_record/connection_adapters/foo_adapter' > - (if it's Rails 2.0 and that didn't work, try to load gem > 'activerecord-foo-adapter' and try again) > - the required library above should define a new class method on > ActiveRecord::Base called foo_connection, which when called with a > config hash (from database.yml) should return an instance of a > subclass of ActiveRecord::ConnectionAdapters::AbstractAdapter. > > /Nick > _______________________________________________ > Jruby-extras-devel mailing list > Jruby-extras-devel at rubyforge.org > http://rubyforge.org/mailman/listinfo/jruby-extras-devel > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/jruby-extras-devel/attachments/20071121/a21154be/attachment.html From nicksieger at gmail.com Wed Nov 21 19:44:09 2007 From: nicksieger at gmail.com (nicksieger at gmail.com) Date: Wed, 21 Nov 2007 18:44:09 -0600 Subject: [Jruby-extras-devel] Active record vs activerecord-jdbc-adapter (General Config question) In-Reply-To: <4744A9F2.1050908@valadd.com> References: <474375DB.4080505@valadd.com> <4744A9F2.1050908@valadd.com> Message-ID: Yes. On 11/21/07, Pete Helgren wrote: > Thanks. > > So in the database.yml would I have this? > > development: > adapter: foo > database: mydb > username: user02 > password: pass02 > host: localhost > > Trying to understanding the relationship between yml and AR-jdbc > structure as well. > > Pete > > Nick Sieger wrote: > > On 11/20/07, Pete Helgren wrote: > > > >> Trying to sort out the relationships between activerecord, > >> activerecord-jdbc-adapter and how to make sure everything is properly > >> configured. Right now I am using jruby 1.1b1 and activerecord-jdbc 6.0 > >> and active_scaffold. I think I have everything correctly configured but > >> I get the following error when I execute the server script: > >> > >> => Booting WEBrick... > >> > E:/jruby-1.1b1/lib/ruby/gems/1.8/gems/activerecord-1.15.5/lib/active_record/connection_adapters/abstract/connection_specification.rb:210:in > >> `establish_connection': database configuration specifies nonexistent > >> as400 adapter (ActiveRecord::AdapterNotFound) > >> > >> So it doesn't find the as400 adapter I have specified in the > >> database.yml file. How do I resolve this? What is throwing me is the > >> references to activerecord-1.15.5. Shouldn't it be looking in > >> activerecord-jdbc-adapter-0.6 ? > >> > > > > The basic convention is this. You have an adapter name "foo", from > > which Rails expects to find the following: > > > > - should be able to require > 'active_record/connection_adapters/foo_adapter' > > - (if it's Rails 2.0 and that didn't work, try to load gem > > 'activerecord-foo-adapter' and try again) > > - the required library above should define a new class method on > > ActiveRecord::Base called foo_connection, which when called with a > > config hash (from database.yml) should return an instance of a > > subclass of ActiveRecord::ConnectionAdapters::AbstractAdapter. > > > > /Nick > > _______________________________________________ > > Jruby-extras-devel mailing list > > Jruby-extras-devel at rubyforge.org > > http://rubyforge.org/mailman/listinfo/jruby-extras-devel > > > > > From nobody at rubyforge.org Thu Nov 22 08:48:45 2007 From: nobody at rubyforge.org (nobody at rubyforge.org) Date: Thu, 22 Nov 2007 08:48:45 -0500 (EST) Subject: [Jruby-extras-devel] [804] trunk/activerecord-jdbc/src/java/jdbc_adapter/ JdbcAdapterInternalService.java: Fix the unicode problems with Oracle when using TEXT fields Message-ID: <20071122134845.347E61858656@rubyforge.org> An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/jruby-extras-devel/attachments/20071122/0273d900/attachment.html From jk at jkraemer.net Fri Nov 23 07:48:12 2007 From: jk at jkraemer.net (Jens Kraemer) Date: Fri, 23 Nov 2007 13:48:12 +0100 Subject: [Jruby-extras-devel] Problems building Goldspike Message-ID: <20071123124812.GA3558@thunder.jkraemer.net> Hi, I'm trying to build Goldspike from trunk and get this error when I run mvn install -Dmaven.test.skip=true : [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Internal error in the plugin manager executing goal 'org.jruby.plugins:jruby-rake-plugin:1.1b1:rake': Unable to find the mojo 'org.jruby.plugins:jruby-rake-plugin:1.1b1:rake' in the plugin 'org.jruby.plugins:jruby-rake-plugin' Bad version number in .class file Might this be a Java version issue (using 1.5.0 here). Any help would be appreciated. Cheers, Jens Here's the stacktrace from running maven with the -e switch: [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Internal error in the plugin manager executing goal 'org.jruby.plugins:jruby-rake-plugin:1.1b1:rake': Unable to find the mojo 'org.jruby.plugins:jruby-rake-plugin:1.1b1:rake' in the plugin 'org.jruby.plugins:jruby-rake-plugin' at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:543) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125) at org.apache.maven.cli.MavenCli.main(MavenCli.java:280) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.plugin.PluginManagerException: Unable to find the mojo 'org.jruby.plugins:jruby-rake-plugin:1.1b1:rake' in the plugin 'org.jruby.plugins:jruby-rake-plugin' at org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(DefaultPluginManager.java:571) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:421) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539) ... 16 more Caused by: org.codehaus.plexus.component.repository.exception.ComponentLookupException: Unable to lookup component 'org.apache.maven.plugin.Mojoorg.jruby.plugins:jruby-rake-plugin:1.1b1:rake', it could not be created at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:335) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:440) at org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(DefaultPluginManager.java:562) ... 18 more Caused by: org.codehaus.plexus.component.factory.ComponentInstantiationException: Could not instanciate component: role: 'null', implementation: 'org.jruby.maven.RakeMojo' at org.codehaus.plexus.component.factory.java.JavaComponentFactory.makeException(JavaComponentFactory.java:77) at org.codehaus.plexus.component.factory.java.JavaComponentFactory.newInstance(JavaComponentFactory.java:62) at org.codehaus.plexus.DefaultPlexusContainer.createComponentInstance(DefaultPlexusContainer.java:1464) at org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:93) at org.codehaus.plexus.component.manager.PerLookupComponentManager.getComponent(PerLookupComponentManager.java:48) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:331) ... 20 more Caused by: java.lang.UnsupportedClassVersionError: Bad version number in .class file at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:620) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) at java.net.URLClassLoader.access$100(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at org.codehaus.classworlds.RealmClassLoader.loadClassDirect(RealmClassLoader.java:195) at org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:255) at org.codehaus.plexus.component.factory.java.JavaComponentFactory.newInstance(JavaComponentFactory.java:30) ... 24 more -- Jens Kr?mer http://www.jkraemer.net/ - Blog http://www.omdb.org/ - The new free film database From Pete at valadd.com Fri Nov 23 14:37:15 2007 From: Pete at valadd.com (Pete Helgren) Date: Fri, 23 Nov 2007 12:37:15 -0700 Subject: [Jruby-extras-devel] Error using DB2 adapter with Rails Message-ID: <47472BEB.7020209@valadd.com> Thanks to Nick I think I have my head around the relationships in the activerecord-adapter-jdbc. I decided that I would start with using the "regular" DB2 adapter, see how that works with DB2 UDB for Windows and then take a crack at modifying it for System i (AS/400) DB2/400. Don Parish had made some modifications to the DB2 adapter last summer but those directions and changes apply to activerecord-JDBC 3.x and I am trying to get the latest version of activerecord-jdbc-adapter modified (v 0.6). SO! I did the following: I had a working application that connected to mySQL. I created the same table in in DB2 UDB and then changed the database.yml file to the following: development: adapter: DB2 database: mydb username: user02 password: pass02 host: localhost I added the following to the environment.rb if RUBY_PLATFORM =~ /java/ require 'rubygems' gem 'activerecord-jdbc-adapter' require 'jdbc_adapter' require 'active_record/connection_adapters/as400_adapter' end (Hopefully that is correct) When I start the server for the application I get the following: => Booting WEBrick... E:/jruby-1.1b1/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27: uninitialized class variable @@allow_concurrency in ActiveRecord::Base (NameError) I am running jruby 1.1b1. Rails 1.2.5, activerecord-jdbc-adapter 0.6 and Java 5 (1.5.0_10) I searched on the "variable @@allow_concurrency in ActiveRecord::Base" error but found nothing useful. Any ideas? Pete From nicksieger at gmail.com Fri Nov 23 16:24:19 2007 From: nicksieger at gmail.com (Nick Sieger) Date: Fri, 23 Nov 2007 15:24:19 -0600 Subject: [Jruby-extras-devel] Problems building Goldspike In-Reply-To: <20071123124812.GA3558@thunder.jkraemer.net> References: <20071123124812.GA3558@thunder.jkraemer.net> Message-ID: On 11/23/07, Jens Kraemer wrote: > Hi, > > I'm trying to build Goldspike from trunk and get this error when I run > mvn install -Dmaven.test.skip=true : > > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] Internal error in the plugin manager executing goal > 'org.jruby.plugins:jruby-rake-plugin:1.1b1:rake': Unable to find the > mojo 'org.jruby.plugins:jruby-rake-plugin:1.1b1:rake' in the plugin > 'org.jruby.plugins:jruby-rake-plugin' > Bad version number in .class file > > Might this be a Java version issue (using 1.5.0 here). > Any help would be appreciated. Hmm, looks like we pushed the 1.1b1 release out the door with the wrong JDK. The workaround would be to build JRuby trunk yourself with Maven, and set the JRuby version in the goldspike pom.xml. Or use this attached patch to build Goldspike against JRuby trunk. Cheers, /Nick -------------- next part -------------- A non-text attachment was scrubbed... Name: goldspike-jruby-trunk.patch Type: application/octet-stream Size: 4247 bytes Desc: not available Url : http://rubyforge.org/pipermail/jruby-extras-devel/attachments/20071123/3a05295e/attachment.obj From jk at jkraemer.net Fri Nov 23 16:47:26 2007 From: jk at jkraemer.net (Jens Kraemer) Date: Fri, 23 Nov 2007 22:47:26 +0100 Subject: [Jruby-extras-devel] Problems building Goldspike In-Reply-To: References: <20071123124812.GA3558@thunder.jkraemer.net> Message-ID: <20071123214726.GD3558@thunder.jkraemer.net> On Fri, Nov 23, 2007 at 03:24:19PM -0600, Nick Sieger wrote: > On 11/23/07, Jens Kraemer wrote: > > Hi, > > > > I'm trying to build Goldspike from trunk and get this error when I run > > mvn install -Dmaven.test.skip=true : > > > > [ERROR] BUILD ERROR > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] Internal error in the plugin manager executing goal > > 'org.jruby.plugins:jruby-rake-plugin:1.1b1:rake': Unable to find the > > mojo 'org.jruby.plugins:jruby-rake-plugin:1.1b1:rake' in the plugin > > 'org.jruby.plugins:jruby-rake-plugin' > > Bad version number in .class file > > > > Might this be a Java version issue (using 1.5.0 here). > > Any help would be appreciated. > > Hmm, looks like we pushed the 1.1b1 release out the door with the wrong JDK. > > The workaround would be to build JRuby trunk yourself with Maven, and > set the JRuby version in the goldspike pom.xml. In fact I got it working by running 1.6 with mvn install -Dmaven.compile.target=1.5 -Dmaven.test.skip=true It's only our target platform that's limited to 1.5 so I hope this will work... What's strange is that the error above mentions jruby 1.1b1 but in fact goldspike is built against 1.0.1 by default. After changing that to 1.1b1 in pom.xml it doesn't build at all. > Or use this attached patch to build Goldspike against JRuby trunk. Great - that would have been my next question otherwise :-) Btw, is JRuby's JIT-Compiler enabled by default or do I have to manually turn it on? Many thanks, Jens -- Jens Kr?mer http://www.jkraemer.net/ - Blog http://www.omdb.org/ - The new free film database From nicksieger at gmail.com Fri Nov 23 17:21:14 2007 From: nicksieger at gmail.com (Nick Sieger) Date: Fri, 23 Nov 2007 16:21:14 -0600 Subject: [Jruby-extras-devel] Problems building Goldspike In-Reply-To: <20071123214726.GD3558@thunder.jkraemer.net> References: <20071123124812.GA3558@thunder.jkraemer.net> <20071123214726.GD3558@thunder.jkraemer.net> Message-ID: On 11/23/07, Jens Kraemer wrote: > Btw, is JRuby's JIT-Compiler enabled by default or do I have to manually > turn it on? It's on by default. /Nick From jk at jkraemer.net Fri Nov 23 17:52:57 2007 From: jk at jkraemer.net (Jens Kraemer) Date: Fri, 23 Nov 2007 23:52:57 +0100 Subject: [Jruby-extras-devel] Problems building Goldspike In-Reply-To: References: <20071123124812.GA3558@thunder.jkraemer.net> <20071123214726.GD3558@thunder.jkraemer.net> Message-ID: <20071123225257.GF3558@thunder.jkraemer.net> On Fri, Nov 23, 2007 at 04:21:14PM -0600, Nick Sieger wrote: > On 11/23/07, Jens Kraemer wrote: > > Btw, is JRuby's JIT-Compiler enabled by default or do I have to manually > > turn it on? > > It's on by default. What a pity - thought I'd get another speed boost by turning it on ;-) But the improvement from Jruby 1.0.x to 1.1b1 is quite amazing anyway - great work! Cheers, Jens -- Jens Kr?mer http://www.jkraemer.net/ - Blog http://www.omdb.org/ - The new free film database From nobody at rubyforge.org Wed Nov 28 07:33:58 2007 From: nobody at rubyforge.org (nobody at rubyforge.org) Date: Wed, 28 Nov 2007 07:33:58 -0500 (EST) Subject: [Jruby-extras-devel] [805] trunk/jopenssl/src/java/org/jruby/ext/openssl/X509Cert.java: Fix for JRUBY-1314, patch by Egglestone Message-ID: <20071128123358.B84B81858614@rubyforge.org> An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/jruby-extras-devel/attachments/20071128/8869a499/attachment.html From nobody at rubyforge.org Wed Nov 28 07:39:40 2007 From: nobody at rubyforge.org (nobody at rubyforge.org) Date: Wed, 28 Nov 2007 07:39:40 -0500 (EST) Subject: [Jruby-extras-devel] [806] trunk/jopenssl/src/java/org/jruby/ext/openssl/Cipher.java: Fix for JRUBY-1324, allowing changing of padding Message-ID: <20071128123941.1C62E185861F@rubyforge.org> An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/jruby-extras-devel/attachments/20071128/759ac105/attachment.html From nobody at rubyforge.org Wed Nov 28 15:05:13 2007 From: nobody at rubyforge.org (nobody at rubyforge.org) Date: Wed, 28 Nov 2007 15:05:13 -0500 (EST) Subject: [Jruby-extras-devel] [809] trunk/rails-integration/pom.xml: Make jruby version to build against variable w/ property jruby.version Message-ID: <20071128200513.3DE89185868E@rubyforge.org> An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/jruby-extras-devel/attachments/20071128/6240d3e4/attachment.html From nobody at rubyforge.org Thu Nov 29 08:04:37 2007 From: nobody at rubyforge.org (nobody at rubyforge.org) Date: Thu, 29 Nov 2007 08:04:37 -0500 (EST) Subject: [Jruby-extras-devel] [810] trunk/activerecord-jdbc/lib/active_record/connection_adapters/ jdbc_adapter.rb: Fix for JRUBY-1627 Message-ID: <20071129130437.70BAD185856B@rubyforge.org> An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/jruby-extras-devel/attachments/20071129/87239fcb/attachment.html From nobody at rubyforge.org Thu Nov 29 09:57:47 2007 From: nobody at rubyforge.org (nobody at rubyforge.org) Date: Thu, 29 Nov 2007 09:57:47 -0500 (EST) Subject: [Jruby-extras-devel] [811] trunk/jopenssl/build.xml: Don't hard-code bc jar names, instead get them off the filesystem Message-ID: <20071129145747.BCDB4159806B@rubyforge.org> An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/jruby-extras-devel/attachments/20071129/b08c7b03/attachment-0001.html From nobody at rubyforge.org Thu Nov 29 10:03:56 2007 From: nobody at rubyforge.org (nobody at rubyforge.org) Date: Thu, 29 Nov 2007 10:03:56 -0500 (EST) Subject: [Jruby-extras-devel] [812] trunk/jopenssl/: Set svn:ignore Message-ID: <20071129150357.198B51858623@rubyforge.org> An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/jruby-extras-devel/attachments/20071129/c5a5f3d4/attachment.html From nobody at rubyforge.org Thu Nov 29 10:54:19 2007 From: nobody at rubyforge.org (nobody at rubyforge.org) Date: Thu, 29 Nov 2007 10:54:19 -0500 (EST) Subject: [Jruby-extras-devel] [813] trunk/jopenssl: - Allow configuration of a different jruby. jar through build.properties Message-ID: <20071129155419.8BAD0185864C@rubyforge.org> An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/jruby-extras-devel/attachments/20071129/32175462/attachment.html From nobody at rubyforge.org Thu Nov 29 10:56:39 2007 From: nobody at rubyforge.org (nobody at rubyforge.org) Date: Thu, 29 Nov 2007 10:56:39 -0500 (EST) Subject: [Jruby-extras-devel] [814] trunk/jopenssl/lib: Don't check in built artifacts Message-ID: <20071129155639.3F1E6159806B@rubyforge.org> An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/jruby-extras-devel/attachments/20071129/5228d3f6/attachment.html From nobody at rubyforge.org Thu Nov 29 10:57:22 2007 From: nobody at rubyforge.org (nobody at rubyforge.org) Date: Thu, 29 Nov 2007 10:57:22 -0500 (EST) Subject: [Jruby-extras-devel] [815] trunk/jopenssl/build.properties.SAMPLE: Add jruby. jar + commentary to sample properties Message-ID: <20071129155722.BF3D61598069@rubyforge.org> An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/jruby-extras-devel/attachments/20071129/63019ed7/attachment.html From nobody at rubyforge.org Thu Nov 29 11:04:21 2007 From: nobody at rubyforge.org (nobody at rubyforge.org) Date: Thu, 29 Nov 2007 11:04:21 -0500 (EST) Subject: [Jruby-extras-devel] [816] trunk/jopenssl/src/java/org/jruby/ext/openssl: Updated to use object adapter to track recent API changes Message-ID: <20071129160421.6B21B159806B@rubyforge.org> An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/jruby-extras-devel/attachments/20071129/d0d197bb/attachment-0001.html From nobody at rubyforge.org Thu Nov 29 11:24:51 2007 From: nobody at rubyforge.org (nobody at rubyforge.org) Date: Thu, 29 Nov 2007 11:24:51 -0500 (EST) Subject: [Jruby-extras-devel] [817] trunk/jopenssl: - Upgrade BC to jdk15 versions Message-ID: <20071129162451.A4BE0185861F@rubyforge.org> An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/jruby-extras-devel/attachments/20071129/8ac723f0/attachment.html From nobody at rubyforge.org Thu Nov 29 16:54:28 2007 From: nobody at rubyforge.org (nobody at rubyforge.org) Date: Thu, 29 Nov 2007 16:54:28 -0500 (EST) Subject: [Jruby-extras-devel] [819] trunk/jopenssl: Get failing x509 name test working due to missing default hash value Message-ID: <20071129215428.5DFBF18585F2@rubyforge.org> An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/jruby-extras-devel/attachments/20071129/08a419b4/attachment.html From nobody at rubyforge.org Thu Nov 29 17:08:29 2007 From: nobody at rubyforge.org (nobody at rubyforge.org) Date: Thu, 29 Nov 2007 17:08:29 -0500 (EST) Subject: [Jruby-extras-devel] [820] trunk/jopenssl: Add missing MRI test lib so we can run test_pair Message-ID: <20071129220829.A083618585E6@rubyforge.org> An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/jruby-extras-devel/attachments/20071129/2345f194/attachment.html From nobody at rubyforge.org Thu Nov 29 18:12:04 2007 From: nobody at rubyforge.org (nobody at rubyforge.org) Date: Thu, 29 Nov 2007 18:12:04 -0500 (EST) Subject: [Jruby-extras-devel] [821] trunk/jopenssl/test/test_openssl.rb: Comment out test_pair, also isn' t working at the moment Message-ID: <20071129231204.D3E11159806A@rubyforge.org> An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/jruby-extras-devel/attachments/20071129/f9006d8e/attachment-0001.html From nobody at rubyforge.org Fri Nov 30 21:24:44 2007 From: nobody at rubyforge.org (nobody at rubyforge.org) Date: Fri, 30 Nov 2007 21:24:44 -0500 (EST) Subject: [Jruby-extras-devel] [822] trunk/jopenssl/src/java/org/jruby/ext/openssl: Beginning of conversion away from JCE. Message-ID: <20071201022444.9AF6D185861F@rubyforge.org> An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/jruby-extras-devel/attachments/20071130/33999a9f/attachment-0001.html From nobody at rubyforge.org Fri Nov 30 21:25:35 2007 From: nobody at rubyforge.org (nobody at rubyforge.org) Date: Fri, 30 Nov 2007 21:25:35 -0500 (EST) Subject: [Jruby-extras-devel] [823] trunk/jopenssl/src/java/org/jruby/ext/openssl/Cipher.java: Adding a fixme to a piece of code that it bothered me to change Message-ID: <20071201022535.5C658185861F@rubyforge.org> An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/jruby-extras-devel/attachments/20071130/83e80d10/attachment.html