Hello, I have tried deploying using the server plug in from eclipse, the Geronimo (WASCE2.0) web admin console and also from the command line using the following:
java -jar deployer.jar --verbose --password manager --user system deploy c:\deploy\lunchinator.ear C:\deploy\dgreen-plan.xml my application.xml is as follows: <?xml version="1.0" encoding="UTF-8"?> <application 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/application_1_4.xsd" version="1.4"> <description>Make Reference Architecture</description> <display-name>lunchinator</display-name> <module> <web> <web-uri>lunchinatorWeb.war</web-uri> <context-root>/lunchinatorWeb</context-root> </web> </module> <module> <ejb>lunchinatorDomain.jar</ejb> </module> </application> geronimo-application.xml: <application xmlns="http://geronimo.apache.org/xml/ns/j2ee/application-1.1"> <sys:environment xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.1"> <sys:moduleId> <sys:groupId>default</sys:groupId> <sys:artifactId>lunchinator</sys:artifactId> <sys:version>1.0</sys:version> <sys:type>car</sys:type> </sys:moduleId> <sys:dependencies> <sys:dependency> <sys:groupId>console.dbpool</sys:groupId> <sys:artifactId>dgreen</sys:artifactId> <sys:version>1.0</sys:version> <sys:type>rar</sys:type> </sys:dependency> </sys:dependencies> </sys:environment> <module> <connector>tranql-connector-ra-1.3.rar</connector> <alt-dd>deployment/data-source-plan.xml</alt-dd> </module> </application> geronimo-web.xml: <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web-1.1" xmlns:nam="http://geronimo.apache.org/xml/ns/naming-1.1" xmlns:sec="http://geronimo.apache.org/xml/ns/security-1.1" xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.1"> <sys:environment> <sys:moduleId> <sys:groupId>default</sys:groupId> <sys:artifactId>lunchinatorWeb</sys:artifactId> <sys:version>1.0</sys:version> <sys:type>car</sys:type> </sys:moduleId> </sys:environment> <context-root>/lunchinatorWeb</context-root> </web-app> and the "dgreen-plan.xml" dbpool plan used by the deployer: <?xml version="1.0" encoding="UTF-8"?> <connector xmlns="http://geronimo.apache.org/xml/ns/j2ee/connector-1.2"> <dep:environment xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.2"> <dep:moduleId> <dep:groupId>console.dbpool</dep:groupId> <dep:artifactId>dgreen</dep:artifactId> <dep:version>1.0</dep:version> <dep:type>rar</dep:type> </dep:moduleId> <dep:dependencies> <dep:dependency> <dep:groupId>org.apache.derby</dep:groupId> <dep:artifactId>derby</dep:artifactId> <dep:version>10.2.2.0</dep:version> <dep:type>jar</dep:type> </dep:dependency> </dep:dependencies> </dep:environment> <resourceadapter> <outbound-resourceadapter> <connection-definition> <connectionfactory-interface>javax.sql.DataSource</connectionfactory-interface> <connectiondefinition-instance> <name>dgreen</name> <connectionmanager> <local-transaction/> <single-pool> <max-size>10</max-size> <min-size>0</min-size> <match-one/> </single-pool> </connectionmanager> </connectiondefinition-instance> </connection-definition> </outbound-resourceadapter> </resourceadapter> </connector> Thanks very much for you help! Adam. djencks wrote: > > I've never seen that before! > > I think that seeing a list of what's in your ear, the application.xml > file (if its there), the geronimo plan(s), and exactly how you are > deploying would be most helpful to start with. > > thanks > david jencks > > On Jul 13, 2007, at 8:11 PM, Adam OGorman wrote: > >> >> Hello, >> >> I am trying to migrate an application to Geronimo 2.0 (actually >> WASCE2.0), >> it is an EAR that contains a WAR and an EJB Jar module. I believe >> that I >> have the Geronimo deployment descriptors correct (I have compared >> them to >> those in the Daytrader sample app and they seem reasonable). When I >> deploy >> the EAR, everything proceeds smoothly, there are no errors on the >> console or >> in the logs and it concludes with the message: >> >> Deployed default/lunchinator.ear/1184371234828/jar >> >> Yet, on the Geronimo admin web console, there is no EAR file >> deployed, but >> default/lunchinator.ear/1184371234828/jar is running as an EJB JAR. >> This is >> of course not usable and I assume that I am doing something wrong >> in the >> deployment descriptors, but unfortunately I have no idea what... >> >> any ideas would be most welcome and I am happy to post my deployment >> descriptors if necessary, >> >> Thanks very much, >> >> Adam. >> -- >> View this message in context: http://www.nabble.com/Ear-deploys-as- >> an-EJB-JAR--tf4077518s134.html#a11589548 >> Sent from the Apache Geronimo - Users mailing list archive at >> Nabble.com. >> > > > -- View this message in context: http://www.nabble.com/Ear-deploys-as-an-EJB-JAR--tf4077518s134.html#a11603975 Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
