|RAP/ JEE Deployment on Glassfish fails [message #1015625]
||Fri, 01 March 2013 12:42
| Christian A
Registered: March 2011
Since three days, we are facing issues to deploy a hybrid RAP/ JEE application on GlassFish 3.1.2.
The application uses RAP 1.4.2 and is based on EJB's and EclipseLink as persistence provider. It runs well if we launch it from IDE.
After we successful deployed the RAP mail sample app, we
first tried to deploy the application as a 'war' file using the 'war-product' tooling.
In this case all dependencies were met and the RAP UI could be started.
But if we try to invoke the EJB layer, an exception arrises, that the EJB's can not be located via JNDI.
Further investigations showed, that the EJB's were not been deployed.
It seems, that the EJB Bundle is running in a server side equinox container, that is wrapped into the glassfish OSGI environment and the glassfish JEE modules couldn't be aware of the EJB bundle.
If we deploy the EJB Bundle as standalone jar by copying it into the glassfish autodeploy folder, it will be deployed as expected.
Deploying the EJB backend Bundles as jar and the RAP UI as 'war' runs also into trouble. Using this configuration, the RAP UI couldn't be started, because the package import dependencies to the EJB bundles could net be resolved.
Unfortunately there is not very much documentation available for this topic.
It would be very nice for us if some of you have an idea about this.
Thanks in advance
Powered by FUDForum
. Page generated in 0.02219 seconds