Gotta copy the oracle-service.xml (template in /jboss/docs/examples/jca/oracle-service.xml) file to your "deploy" directory with the database pointing to your oracle install. Basically you just have to change three lines in oracle-service.xml:
... <config-property name="ConnectionURL" type="java.lang.String">jdbc:oracle:thin:@youroraclehost:1521:yoursid</c onfig-property> ... <config-property name="UserName" type="java.lang.String">YOURNAMEGOESHERE</config-property> <config-property name="Password" type="java.lang.String">YOURPASSWORDGOESHERE</config-property> .... Don't forget to put your classes12.jar (rename if its zip) in your /jboss/server/default/lib directory (or whatever configuration yo are using). That's the boot-time library directory, don't put it in deploy since you could run into a dependency problem. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, March 28, 2003 2:35 PM To: [EMAIL PROTECTED] Subject: [Middlegen-user] Deploy ear file to jboss I am using jboss 3.0.4 with mssql server2000, I have successfully built the airline example with middlegen 2.0 beta 1, jboss started with no errors, but when I drop the ear file into jboss deploy directory, I get errors such as: Caused by: javax.naming.NameNotFoundException: DefaultDS not bound at org.jnp.server.NamingServer.getBinding(NamingServer.java:495) at org.jnp.server.NamingServer.getBinding(NamingServer.java:503) at org.jnp.server.NamingServer.getObject(NamingServer.java:509) at org.jnp.server.NamingServer.lookup(NamingServer.java:282) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:464) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:443) at javax.naming.InitialContext.lookup(InitialContext.java:347) at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.<init>(JDBCEnt Do I need to copy deployment descriptors from middlegen build directory also or is the ear file enough? I have searched the archives but cannot find anything. Thanks in advance, Mark ------------------------------------------------------- This SF.net email is sponsored by: The Definitive IT and Networking Event. Be There! NetWorld+Interop Las Vegas 2003 -- Register today! http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en _______________________________________________ middlegen-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/middlegen-user ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ middlegen-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/middlegen-user
