|[EclipseLink.Examples.Employee] How to configure java:global/employeeDS on GF4 [message #1037390]
||Tue, 09 April 2013 13:47
| Barry Zhong
Registered: March 2013
I use the following command provided by "wiki.eclipse.org/EclipseLink/Examples/JPARS/Simple",|
git clone git://git.eclipse.org/gitroot/eclipselink/examples.git
There is a project named "employee", it is very interesting, but I can not deploy it on Glassfish V4, which just can run the other simple student example, when I move on to this example, the first question is how to create a jdbc resource with JNDI name "java:global/employeeDS" on glassfish?
I did not find any further example instructions like student example, can anybody guide me a detailed document?
Before I got any help, I changed the jndi name with jdbc/employeeDS, and I created a corresponding jdbc resource on glassfish, and then I came across a weird thing:
The two war files (employee.web.war and employ.web-rs.war) can be deployed on glassfish v4, but all the web pages in employee.web.war seems become "readOnly" mode. And the "create" page of employ.web-rs.war always failed to POST.
I am totally new about this, it seems easy, but so frustrated.
Can anyone give some guidance?
Powered by FUDForum
. Page generated in 0.02113 seconds