Pb Deploying an EJB with MyEclipse
----------------------------------
Key: GERONIMODEVTOOLS-472
URL: https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-472
Project: Geronimo-Devtools
Issue Type: Bug
Components: eclipse-plugin
Affects Versions: 2.0.0
Environment: Wndows XP
Eclipse Platform 3.2.2
MyEclipse 5.5.1 GA
Geronimo 2.0
Reporter: Jean-Jacques Parent
Assignee: Tim McConnell
Priority: Trivial
I am trying to deploy an ear file containing web applications and an EJB.
Here is the ejb-jar.xml:
<?xml version="1.0" encoding="UTF-8"?>
<ejb-jar xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd" version="2.1">
<enterprise-beans>
<session>
<ejb-name>ApplicationContextSession</ejb-name>
<local-home>be.gial.wkf.ejb.ApplicationContextSessionHome</local-home>
<local>be.gial.wkf.ejb.ApplicationContextSession</local>
<ejb-class>be.gial.wkf.ejb.ApplicationContextSessionBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Bean</transaction-type>
<resource-ref>
<res-ref-name>jdbc/SONORA</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
<res-sharing-scope>Shareable</res-sharing-scope>
</resource-ref>
<resource-ref>
<res-ref-name>jdbc/RAPCOL</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
<res-sharing-scope>Shareable</res-sharing-scope>
</resource-ref>
<resource-ref>
<res-ref-name>jdbc/MAILINGPER</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
<res-sharing-scope>Shareable</res-sharing-scope>
</resource-ref>
</session>
</enterprise-beans>
</ejb-jar>
Witihn myEclipse, I can't perform an exploded deployment (development mode), I
receive the following message:
Eclipse msgbox : C:\Geronimo-2.0\deploy\SonoraEAR.ear\SonoraEjb.jar is not a
directory
Whatever, the ear file is partially exploded into C;\Geronimo-2.0\deploy. (I
thought that it would be in C:\Geronimo-2.0\repository\...)
MyEclipse indicates that it has been successfully deployed but it is not the
case.
The package archive deployment (production mode) works fine. My ear file is
copied in C:\geronimo-2.0\deploy. When the server starts, the ear is exploded
into the Geronimo repository. But for developpement purpose it is not
convenient. If I want to test my code modification, I always have to redeploy
and restart the server. We are losing a lot of time working this way especially
when developping JSP. They are not synchronized at all.
Have you got any idea about the problem ?
Do you think that WTP is a better tool ?
Thanks
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.