Forums | Admin

Discussion Forums: help

Start New Thread Start New Thread

 

By: Michel Pigassou
RE: RJB and Rails: seg fault [ reply ]  
2010-07-21 14:21
I run Ubuntu 10.04 with Sun JDK 5.

I don't remember if I tested POI directly from Java but the fact is it works with Java 5.

As for load arguments, I use ['-Xms256M', '-Xmx512M'].

By: arton Tajima
RE: RJB and Rails: seg fault [ reply ]  
2010-07-08 17:25
Hi Michel, thanks for using Rjb.

It's my precious to get your report, but sorry, currently I have no idea.
If you can, please show me more details. For example the platform you ran (Linux or OSX or ...), type of the implmentation of JDK (Sun, OpenJDK, IBM ...) .
BTW, have you ever run poi completely with Java 6 on your box by pure java environment ? or gave some more memory for JVM as Rjb::load('..', ['-Xms128m', '-Xmx128m']) ?

Best regards.

By: Michel Pigassou
RE: RJB and Rails: seg fault [ reply ]  
2010-07-08 15:45
Yeah, works with Java 5. Does anybody know what is the problem with version 6?

By: Michel Pigassou
RE: RJB and Rails: seg fault [ reply ]  
2010-07-08 14:59
Forgot to mention that I use Java 6. It seems to be the problem.

I'll try to re-install RJB under Java 5.

By: Michel Pigassou
RJB and Rails: seg fault [ reply ]  
2010-07-08 14:46
Hi.

I'm using RJB 1.2.5 with Rails 2.3.8 and I get a segfault, not during the RJB::load but when I want to go somewhere else in my app!

Even with Rjb::load("some.jar", ['-Xms16m', '-Xmx32m']) it fails.

By the way, I'm using poi-3.7-beta2-20100630.jar but I don't think that it's related to the jar itself.

Do you have a clue of how to fix this?

Thanks.