Announcement Announcement Module
No announcement yet.
Deploy to Glassfish Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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.