"/Users/lanceball/.rvm/rubies/jruby-1.6.5/bin/gem"
> >>>>rake: "/Users/lanceball/.rvm/rubies/jruby-1.6.5/bin/rake"
> >>>>
> >>>> environment:
> >>>>PATH: "/Users/lanceball/.rvm/gems/jruby-1
fix may be easy to
> find.
>
> My money is on auto-generated ID not propagating back out properly during
> #save.
>
> Feel free to open an AR-JDBC issue at this point:
> https://github.com/jruby/activerecord-jdbc-adapter/issues
>
> - Charlie
>
> On Tue, Feb 14, 2012
right?
>
> - Charlie
>
> On Tue, Feb 14, 2012 at 2:36 PM, Vivek Pandey
> wrote:
> > Jruby rackup fails the same way, which is the persisted model object id
> is
> > shown as 1 instead of its actual value. I ran it thru debugger and right
> >
14, 2012 at 8:30 AM, Nick Sieger wrote:
> How about rackup on JRuby? Works or fails?
>
> /Nick
>
> On Tue, Feb 14, 2012 at 9:43 AM, Vivek Pandey
> wrote:
> > Sorry, forgot to give my env. Running my env on rails is non-trivial at
> > present. All I can tell is that
wrote:
> Hi Vivek!
>
> On Tue, Feb 14, 2012 at 8:15 AM, Vivek Pandey
> wrote:
> > Hi,
> >
> > I am using JRuby with Sinatra and ActiveRecord as ORM. I have code such
> as
> > this:
> >
> > ActiveRecord::Base.transaction do
> >
Hi,
I am using JRuby with Sinatra and ActiveRecord as ORM. I have code such as
this:
ActiveRecord::Base.transaction do
product.rollback_active_record_state! do
if(product.save(false))
logger.debug "Prod ID: #{product.id}"
yield if block_given?
Environment: JRuby 1.4.0
Reporter: Vivek Pandey
I can execute the following code using MRI Ruby but running on JRuby 1.4.0 (or
even 1.3.1) gives
sock.rb:5: undefined method `bind' for # (NoMethodError)
require 'socket'
include Socket::Constants
socket = Sock
t this particular database.
>
>
We have seen even mysql driver instances hanging as well so I dont think it
has anything to do with this specific database.
-vivek.
> -Tom
>
> On Mon, Nov 9, 2009 at 7:25 PM, Vivek Pandey
> wrote:
> > I am investigating memory leak related t
On Tue, Nov 10, 2009 at 11:34 AM, Nick Sieger wrote:
> On Mon, Nov 9, 2009 at 7:25 PM, Vivek Pandey
> wrote:
> > I am investigating memory leak related to hot deployment of Rails
> > application on GlassFish. One of the hanging references is the JDBC
> driver,
> > in
I am investigating memory leak related to hot deployment of Rails
application on GlassFish. One of the hanging references is the JDBC driver,
in this case: org.sqlite.JDBC. The class loader is
org.jruby.util.JRubyClassLoader.
I tried to fix it by trying to do something like this:
for
Components: Embedding
Affects Versions: JRuby 1.4
Environment: JRuby 1.4.0, glassfish v3
Reporter: Vivek Pandey
Attachments: jruby-jdbc-leak.png
I am investigating memory leak related to hot deployment of Rails application
on GlassFish. One of the hanging references is
Sounds good! Looks like this is what I was looking for.
thanks,
-vivek.
On Thu, Oct 29, 2009 at 5:42 AM, Yoko Harada wrote:
> Hi Vivek,
>
> On Thu, Oct 29, 2009 at 12:13 AM, Vivek Pandey
> wrote:
> > From inside GlassFish, we call Ruby.evalScriptlet(String) for parsing
&
>From inside GlassFish, we call Ruby.evalScriptlet(String) for parsing ruby
code and getting back IRubyObject. Whats the equivalent API to take
InputStream instead of String?
At many times we need to parse the complete Ruby file, such as in case of
rackup script. So instead of reading the file in
Should have mentioned, this extra ::Rails::Initializer.run somehow was
causing LOAD_PATH not laoding correctly form environment.rb.
-vivek.
On Tue, Apr 7, 2009 at 9:37 PM, Vivek Pandey wrote:
> Found the bug. Thanks to Damian, who pointed to the extra initialization
> happening inside ou
_id=5450
On Wed, Apr 1, 2009 at 3:30 PM, Charles Oliver Nutter <
charles.nut...@sun.com> wrote:
> Hmm, strange. I guess I'm out of ideas, but I can definitely see that those
> added entries aren't making it to runtime...
>
> - Charlie
>
> Vivek Pandey wrote:
>
both gem as well as standalone v3 server have exactly the same path. It is
not like it work in either one anyway.
-vivek.
On Fri, Mar 27, 2009 at 4:08 PM, Jacob Kessler wrote:
> I'm a bit fuzzy on gem vs. stand-alone startup, but I don't think that that
> is relevant here (since I see the same b
Can you try running it form inside the directory:
$cd pictures
$glassfish
-vivek.
On Fri, Nov 7, 2008 at 1:30 PM, Brandon Hauff (JIRA) <[EMAIL PROTECTED]>wrote:
> Glassfish Gem 0.9.0 does not work with JRuby 1.1.5
> --
>
> Key: JRU
Environment: generic
Reporter: Vivek Pandey
Assignee: Thomas E Enebo
Fix For: JRuby 1.1.3
Attachments: build.xml.diff, jruby-osgi-properties.bnd
GlassFish v3 is OSGi aware and at runtime needs the jruby runtime as available
in installed jruby
Versions: JRuby 1.1
Environment: generic os/hardware.
Reporter: Vivek Pandey
Priority: Critical
There is a bug in the pom file: shared-1.1.pom. v3 build system is planning to
shift to maven 2.0.9 and when compiled with it it gives error:
-
[INFO] Error
Versions: JRuby 1.1
Environment: generic os/hardware.
Reporter: Vivek Pandey
Priority: Critical
There is a bug in the pom file: shared-1.1.pom. v3 build system is planning to
shift to maven 2.0.9 and when compiled with it it gives error:
-
[INFO] Error
Versions: JRuby 1.1
Environment: generic os/hardware.
Reporter: Vivek Pandey
Priority: Critical
There is a bug in the pom file: shared-1.1.pom. v3 build system is planning to
shift to maven 2.0.9 and when compiled with it it gives error:
-
[INFO] Error
Hello,
I have a simple rails app (with a controller) deployed on GlassFish v3.
http://localhost:8080/myrailsapp/say/hello displays a simple web page. Here
the controller is say and hello is the view.
What I want to do is to access http://localhost:8080/myrailsapp/myservlet. I
have correctly pack
22 matches
Mail list logo