|
Re: Jboss CMP: msg#00330java.jboss.user
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 > JBoss-user@xxxxxxxxxxxxxxxxxxxxx > 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
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: help with bean lock/transaction error, Gray Jones |
|---|---|
| Next by Date: | RE: Re[2]: help with bean lock/transaction error, Bill Burke |
| Previous by Thread: | Jboss CMP, Ingo Vietense |
| Next by Thread: | Re: Jboss CMP, Ingo Bruell |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |