-
Oct 8th, 2010, 03:44 AM
#1
Deploy to Glassfish
Has anyone successfully deployed a roo app to glassfish?
I am trying to get the expenses example working under glassfish but am not getting very far.
The example works fine in development mode running it using "mvn gwt:run".
The only line I needed to change was the persistence setup to use ECLIPSELINK and POSTGRES.
I then need to adjust the persistence settings to use the glassfish connection pool (jdbc/CISX) which I think should be done like this:
persistence setup --provider ECLIPSELINK --database POSTGRES --jndiDataSource jdbc/CISX
but when I deploy the project to glassfish the web page appears with just the blue "loading..." rectangle and no user interface appears. Presumably this means the asynchronous RPC is not happening. I've looked in the glassfish log but there are no obvious error messages occurring.
I know the connection pool is setup okay because another project is able to get and display data from the postgres database on localhost.
Would be much obliged if anyone can give me some advice on fixing this.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules