users@glassfish.java.net

Running a groovy script from glassfish

From: <glassfish_at_javadesktop.org>
Date: Tue, 02 Feb 2010 11:36:23 PST

So let's say I have some code that will invoke a groovy script. I can see that the script runs fine, however when it comes to using a database connection I have a feeling that glassfish is blocking it. This script does work correctly when invoked directly via command line.

1. Do I need to do anything special to make classloading work?
2. Is it possible to have groovy use a managed datasource?
[Message sent by forum member 'meetoblivion' (jament450_at_gmail.com)]

http://forums.java.net/jive/thread.jspa?messageID=384330