Great to hear that. Excellent. You may want to look into using XDoclet
for code generating your deployment descriptors. I've been happily doing
so for months now without needing any manual intervention, avoiding this
kind of finger error.

Cheers.

-Neal

> 
> 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=FCngliche Nachricht-----
> > Von: Neal Sanche [mailto:[EMAIL PROTECTED]]
> > Gesendet am: Dienstag, 9. Juli 2002 15:32
> > An: [EMAIL PROTECTED]
> > Betreff: Re: [JBoss-user] Jboss CMP
> >=20
> >=20
> > I think that might be due to the DOCTYPE you're using in one of your=20
> > deployment descriptors perhaps? Make sure your deployment descriptors =
> 
> > are for CMP 2.x, and not a lower version.
> >=20
> >=20
> > <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise=20
> > JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd";>
> >=20
> > <!DOCTYPE jaws PUBLIC "-//JBoss//DTD JAWS 3.0//EN"=20
> > "http://www.jboss.org/j2ee/dtd/jaws_3_0.dtd";>
> >=20
> > <!DOCTYPE jbosscmp-jdbc PUBLIC "-//JBoss//DTD JBOSSCMP-JDBC 3.0//EN"=20
> > "http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_3_0.dtd";>
> >=20
> > <!DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS//EN"=20
> > "http://www.jboss.org/j2ee/dtd/jboss.dtd";>
> >=20
> > Are what I'm using as doctypes for the respective documents deployed.
> > Also, near the you of my jbosscmp-jdbc file I have:
> >=20
> >    <defaults>
> >      <datasource>java:/MySqlDS</datasource>
> >      <datasource-mapping>mySQL</datasource-mapping>
> >    </defaults>
> >=20
> > -Neal
> >=20
> > 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
> >=20
> >=20
> > -------------------------------------------------------
> > 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
> >=20
> 
> 
> -------------------------------------------------------
> 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

Reply via email to