Glassfish gem removes quotes from post parameters

Hello!

We are experiencing a wierd problem with Glassfish-Gem. When we post
parameters to our rails application running glassfish-gem (1.0.2), our
rails process gets the parameters somehow altered, any quotes
surrounding a parameter string gets stripped. Ie “String” becomes
String. Running it in mongrel (on JRuby or MRI) does not do this, so
it must be something in Glassfish-gem. We used to run glassfishv2 in
production, and did not experience the problem there.

I suspect it might be something in the glue between glassfish and
rack, but I cannot find anything in the gem source that seems to be
the culprit.

Any clues to resolving this problem would be greatly appreciated.

Albert


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

Have you tried to chase this down with the GF folks?

On Tue, Mar 30, 2010 at 3:50 AM, Albert R.
[email protected] wrote:

I suspect it might be something in the glue between glassfish and
  http://xircles.codehaus.org/manage_email


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

I filed a bug with gfgem, but it seems that project is abandoned right
now. Which is a shame, since it is the most rails-like deployment
around.

On Sat, Apr 3, 2010 at 10:21 AM, Charles Oliver N.
[email protected] wrote:

String. Running it in mongrel (on JRuby or MRI) does not do this, so

  http://xircles.codehaus.org/manage_email


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

I’d love to be able to help out, but I feel I my Java is too rusty,
and I don’t know anything about GF. Someone pointed out how to build
the source with maven, so I have gotten that far.

I think some documentation and build instructions for building the
different jars bundled with gfgem, and how to build the gem and maybe
some description on how it all interacts would go a long way of making
it simpler for the community to contribute.

I don’t know how many people are using the gfgem, but I would be
willing to devote some time to it, since we depend on it for our
production servers.

Albert

On Sat, Apr 3, 2010 at 7:19 PM, Eagle K. [email protected]
wrote:

On 4/3/2010 08:26, Albert R. wrote:

String. Running it in mongrel (on JRuby or MRI) does not do this, so

To unsubscribe from this list, please visit:
  http://xircles.codehaus.org/manage_email


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

It’s probably abandoned since both people working on it (Myself and
Vivek P.) didn’t make the transition to Oracle. If someone in the
community wanted to take ownership of it, I’m sure neither of us would
object (It was a very cool project, but difficult for me to find time to
really work on it now. I suspect similar for Vivek), and I’d be happy to
help get a new owner up to speed.

In the mean time, I’ll grab the current version of the source and see if
I can help track this down.

On 4/3/2010 08:26, Albert R. wrote:

[email protected] wrote:


To unsubscribe from this list, please visit:

 http://xircles.codehaus.org/manage_email

To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

I for one take an interest. I started a new topic about the status of
gfgem:
http://www.ruby-forum.com/topic/207345#new

On Apr 4, 2010, at 7:40 AM, Albert R. wrote:

willing to devote some time to it, since we depend on it for our
production servers.

Albert

‘mvn install’ fails to find a couple of artifacts when I tried.

However, NetBeans was able to overcome this problem. I simply opened the
Maven project, and resolved dependencies. You can then build the gem,
which will be created in target/stage/pkg.

I don’t know if Eclipse can do something similar.

Hiro

To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

I’m as disappointed as all of you about the situation :frowning:

torquebox

-Bob


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

On Sun, Apr 4, 2010 at 10:15 AM, Hirotsugu A. [email protected]
wrote:

‘mvn install’ fails to find a couple of artifacts when I tried.

However, NetBeans was able to overcome this problem. I simply opened the Maven project, and resolved dependencies. You can then build the gem, which will be created in target/stage/pkg.

I don’t know if Eclipse can do something similar.

If we did decide to take it over, we’d need to figure out whether it
would be best to fork the bits we need or try to track ongoing
development on the GlassFish mainline. It sounds like Hiro got it to
build ok, so that’s promising…but if it’s too complicated to keep
working (and since we probably can’t count on any help from Oracle)
we’ll need to be sure we’re comfortable owning the gem-specific bits.

I’m as disappointed as all of you about the situation :frowning:

  • Charlie

To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

Torquebox is awesome…I just wish it installed in a <10MB gem :slight_smile:

On Mon, Apr 5, 2010 at 8:40 AM, Bob McWhirter [email protected] wrote:


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

Has anyone been able to get torquebox running in windows?

-Bob


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

That’s on my roadmap for web-only capabilities. Of course, you won’t
get JMS integration and such with that.

-Bob

On Apr 5, 2010, at 3:43 PM, Charles Oliver N. wrote:

To unsubscribe from this list, please visit:


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

The plugging into Glassfish isn’t that complicated (It’s just a standard
directory-deploy handler), so I don’t see that needing much, if any
attention. For the Gem I think we had (or maybe were going to?) strip
things down to just Grizzly, rather than the full Glassfish. You’d have
to ask Vivek about that, though.

The Java code is a bit more complicated, since it handles figuring out
what kind of app it is and spinning up the right kind of stuff (Rails
with and without multithreading, Sinatra, merb, etc.), and then handing
control over. Again, though, that shouldn’t need much attention (except
here, where we’re apparently handling arguments incorrectly. That may be
in the Java or it could be in the Ruby wrapper that launches the
glassfish instance, I’d have to look more at it.

Either way, though, it seems like keeping it working wouldn’t be too
dependent on Oracle code, and may not even require a great deal of Java
knowledge.

On 4/4/2010 22:42, Charles Oliver N. wrote:

development on the GlassFish mainline. It sounds like Hiro got it to

 http://xircles.codehaus.org/manage_email

To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

Very intriguing :slight_smile:

On Mon, Apr 5, 2010 at 3:56 PM, Bob McWhirter [email protected] wrote:

On Mon, Apr 5, 2010 at 8:40 AM, Bob McWhirter [email protected] wrote:

 http://xircles.codehaus.org/manage_email


To unsubscribe from this list, please visit:

 http://xircles.codehaus.org/manage_email


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

Sorry for the delay! I have been bit busy lately:)

It would be great to have people help us by contributing to it.

In the coming weeks I plan to spend some time, some documents to
describe
detailed architecture, build code etc and possibly start releasing new
versions. It all depends on the time I have at hand:)

-vivek.

Great to hear this Vivek! It would be nice if we could settle on one
of the available server frameworks and focus resources there (or
perhaps pick two to hedge our bets?) We need something, that much is
certain.

On Tue, Apr 13, 2010 at 4:55 PM, Vivek P. [email protected]
wrote:

we’re apparently handling arguments incorrectly. That may be in the Java or

 wrote:


To unsubscribe from this list, please visit:

 http://xircles.codehaus.org/manage_email


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

Thanks for this update…I have to admit I haven’t looked into the
code in a long time, and I don’t think I’ve ever done a complete build
on my own. Do you or Vivek remember any good walkthroughs for getting
GF gem built?

On Sun, Apr 11, 2010 at 1:46 PM, Eagle K. [email protected]
wrote:

apparently handling arguments incorrectly. That may be in the Java or it

 wrote:


To unsubscribe from this list, please visit:

 http://xircles.codehaus.org/manage_email


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

$ svn co
https://glassfish-scripting.dev.java.net/svn/glassfish-scripting/trunk/rails/gemglassfish-gem

$ cd glassfish-gem

$ mvn clean install

you would need JDK6, mvn 2.1 or 2.0, jruby.

-vivek.

On Wed, Apr 14, 2010 at 2:51 PM, Charles Oliver N.

Yep, I agree.

-vivek.
On Wed, Apr 14, 2010 at 2:49 PM, Charles Oliver N.

I had to log in, which is annoying. Hopefully when it moves to
CollabNet it will be “actually” open.

I wonder if we’d want to fork it and maintain a separate repository of
our own? We would need to be able to commit to it freely…

On Wed, Apr 14, 2010 at 5:00 PM, Vivek P. [email protected]
wrote:

things
we’re

will be created in target/stage/pkg.


To unsubscribe from this list, please visit:

  http://xircles.codehaus.org/manage_email


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email