Quantcast

Deploying Grails 2.0 to Websphere 8

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Deploying Grails 2.0 to Websphere 8

Arjang
We are going to start a new project with Grails 2.0 and Websphere 8.
I like to know if anybody has tried this before and had any problem.

Thanks
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Deploying Grails 2.0 to Websphere 8

bobbywarner
I have deployed Grails 1.3 apps to WebSphere in the past and there were a few hiccups, but nothing that couldn't be fixed (http://grails.org/Deployment#Websphere 6.1).  That was a long time ago and I can't think of any reason why it wouldn't work on the latest WebSphere 8.  

The only thing you could run into is if WebSphere includes a duplicate Jar but different version of something that's packaged with Grails.  I always configured WebSphere to be PARENT_LAST anyway with any Spring app to avoid those classloader issues. PARENT_LAST allows an application classloader to override and provide its own version of a class that exists in the parent classloader.

I'd say give it a try and see if you run into any problems.  If you do, just post the exceptions / deployment errors to the mailing list so we can help get them resolved.


Thanks,
Bobby
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Deploying Grails 2.0 to Websphere 8

Lari Hotari
In reply to this post by Arjang
Hi,

I've tested some simple Grails 2.0 apps on WAS 8 . I didn't notice any problems.

It's required to set "-Xverify:none" in "Application servers > server > Process Definition > Java Virtual Machine" -> "Generic JVM arguments". (The same applies to WAS7, for WAS6.1 there are more settings to tweak.)
Without this setting the application startup is extremely slow and the JVM crashes quite often.

Regards,

Lari



23.04.2012 19:18, arjang wrote:
We are going to start a new project with Grails 2.0 and Websphere 8.
I like to know if anybody has tried this before and had any problem.

Thanks

--
View this message in context: http://grails.1312388.n4.nabble.com/Deploying-Grails-2-0-to-Websphere-8-tp4580936p4580936.html
Sent from the Grails - user mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Deploying Grails 2.0 to Websphere 8

Arjang
This post was updated on .
Update

We created several POCs and deployed it to websphere 8 with default setting.  (AIX, IHS, Webshpere)

1) It works correctly but very slow.
2) Cluster environment does not work.  Assets are missing from one or the other server.  At this point we know we know that it has something to do with Resources plugin.  Removing Resources plugin make it work.  
 
Thanks
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Deploying Grails 2.0 to Websphere 8

Arjang
Upgrading to Resources plugin 1.2-RC1 did the trick.
But still is slower than my laptop.
Loading...