Hi Neal, thank you for your quick response. in fact i had an erroy with my DOCTYPE in jboss.xml Now everything is working fine :-)
- Ingo > -----Urspr�ngliche Nachricht----- > Von: Neal Sanche [mailto:[EMAIL PROTECTED]] > Gesendet am: Dienstag, 9. Juli 2002 15:32 > An: [EMAIL PROTECTED] > Betreff: Re: [JBoss-user] Jboss CMP > > > I think that might be due to the DOCTYPE you're using in one of your > deployment descriptors perhaps? Make sure your deployment descriptors > are for CMP 2.x, and not a lower version. > > > <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise > JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd"> > > <!DOCTYPE jaws PUBLIC "-//JBoss//DTD JAWS 3.0//EN" > "http://www.jboss.org/j2ee/dtd/jaws_3_0.dtd"> > > <!DOCTYPE jbosscmp-jdbc PUBLIC "-//JBoss//DTD JBOSSCMP-JDBC 3.0//EN" > "http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_3_0.dtd"> > > <!DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS//EN" > "http://www.jboss.org/j2ee/dtd/jboss.dtd"> > > Are what I'm using as doctypes for the respective documents deployed. > Also, near the you of my jbosscmp-jdbc file I have: > > <defaults> > <datasource>java:/MySqlDS</datasource> > <datasource-mapping>mySQL</datasource-mapping> > </defaults> > > -Neal > > On Tuesday 09 July 2002 09:14 am, you wrote: > > Hi, > > > > i wrote a simple EntityBean with CMP2. it's implemented like the > > GangsterBean from the JBoss CMP sample. And i have created a new > > Datasource to my SAPDB Database. I put a sapdb-service.xml in > > the deployfolder. > > Everything worked fine, but my GangsterBean always uses the > > DefaultDS and not my SapDBDS. > > I tried the example from the JBoss CMP book and it worked fine > > with my SapDBDS. > > > > I watched the server.log file but my EntityBean uses the > > standardjaws.xml file, not the jbosscmp-jdbc.xml file wich i put > > similar to the example in the META-INF directory. > > > > Can you help me. > > > > Reagards > > Ingo > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Stuff, things, and much much more. > > http://thinkgeek.com/sf > > _______________________________________________ > > JBoss-user mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/jboss-user > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Stuff, things, and much much more. > http://thinkgeek.com/sf > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Stuff, things, and much much more. http://thinkgeek.com/sf _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
