I haven't noticed the error you mention. What I usually get is a "JBossMXServerConfig" exception whenever I run surefire with mvn test. That's not nice but it isn't a problem either because the test cases are run anyway. How do you execute the container? - Tanju
On 11/12/05, Richard Wallace <[EMAIL PROTECTED]> wrote: > > Ya, the other problem I found is trying to track down the proper > versions of all the 3rd party libs. I thought about making one big jar, > but was hoping to find a way around that. Now that I've done it, I'm > glad I did cause it works out pretty nicely. Only thing I'm running > into now is that when I go to start the embedded container I get the > following exception: > > 2005-11-12 14:05:08,936 128 ERROR [main] org.jboss.xb.binding.Util > (Util.java:419) - Failed to create schema loader. > java.lang.ClassCastException: > org.apache.xerces.dom.DOMXSImplementationSourceImpl > at > org.w3c.dom.bootstrap.DOMImplementationRegistry.newInstance(Unknown > Source) > at org.jboss.xb.binding.Util.getXSImplementation(Util.java:414) > at org.jboss.xb.binding.Util.loadSchema(Util.java:269) > at > org.jboss.xb.binding.sunday.unmarshalling.XsdBinder.bind(XsdBinder.java > :100) > at > org.jboss.xb.binding.sunday.unmarshalling.XsdBinder.bind(XsdBinder.java > :87) > at > org.jboss.kernel.plugins.deployment.xml.BeanSchemaBinding.readXsd( > BeanSchemaBinding.java:997) > at > org.jboss.kernel.plugins.deployment.xml.BeanSchemaBinding.getSchemaBinding > (BeanSchemaBinding.java:211) > at > org.jboss.kernel.plugins.deployment.xml.BeanXMLDeployer.<init>( > BeanXMLDeployer.java:34) > at > org.jboss.ejb3.embedded.EJB3StandaloneBootstrap.boot( > EJB3StandaloneBootstrap.java:209) > > I'm guessing it could have something to do with an incompatibility in > the versions of the xerces that the embedded ejb3 container comes with > and the one that maven uses. Did you run into this at all? How did you > solve it? > > Thanks, > Rich > > Tanju Erinmez wrote: > > The problem deployment wise with the JBoss EJB3 alpha 3 release is that > the > > 3rd party libs are not pruned (reduced to the necessary ones). So you > might > > find yourself doing some unnecessary work. > > What I did for the time being and not waste too much time on infra was > to > > simply jar everything up and install this single jar as a 3rd party jar > (as > > described before). This works for me because I don't import anything > else > > into the ejb3 project. > > HTH, > > Tanju > > On 11/12/05, Brett Porter <[EMAIL PROTECTED]> wrote: > > > >> You can request them to be uploaded. You can also install them in a > >> local repository yourself (much like working with Ant). > >> > >> > http://maven.apache.org/guides/mini/guide-installing-3rd-party-jars.html > >> http://maven.apache.org/guides/mini/guide-ibiblio-upload.html > >> > >> - Brett > >> > >> > >> > >> On 11/12/05, Richard Wallace <[EMAIL PROTECTED]> wrote: > >> > >>> Hey everyone, > >>> > >>> I'm trying to build an application using Jboss and their EJB3 > >>> implementation. Their EJB3 implementation comes with an embeddable > EJB3 > >>> container that can be used for, among other things, testing. I'm > trying > >>> to get this working with m2, but there are no EJB3 jars from jboss in > >>> the central maven repo. Does anyone know of a more frequently updated > >>> repo for jboss jars? > >>> > >>> If not. does anyone have any suggestions or know someone who knows > >>> someone that knows someone that can put the jboss 4.0.3 and the latest > >>> EJB3 jars up on ibiblio? > >>> > >>> If not, I may have to bite the bullet and go with ant for now, which I > >>> am loathe to do because maven is so dang cool. > >>> > >>> Thanks, > >>> Rich > >>> > >>> --------------------------------------------------------------------- > >>> To unsubscribe, e-mail: [EMAIL PROTECTED] > >>> For additional commands, e-mail: [EMAIL PROTECTED] > >>> > >>> > >>> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [EMAIL PROTECTED] > >> For additional commands, e-mail: [EMAIL PROTECTED] > >> > >> > >> > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
