There's no chance to get similar behaviour for an enteprise archive as the classloader will always detelaget
Have to tried to place the CXF-jars into <domain-dir>lib/ext? -Bernhard On Mon, Nov 28, 2011 at 5:48 PM, sdoca sdoca <[email protected]> wrote: > Hi, > > I need to deploy an ear which contains an ejb-jar into Glassfish 3.1 that > uses CXF. I know that if I was deploying a war file I would need to > include a glassfish-web.xml file which includes the following: > > <!-- Need this to tell Glassfish not to load the JAX-WS RI classes so > it will > use the CXF ones instead --> > <sun-web-app> > <class-loader delegate="false" /> > </sun-web-app> > > I am guessing I need to do something similar for an ear, but am not sure > what file to add the class-loader info. I was hoping someone on this list > has done this and can provide guidance. > > Thanks! > > -- IT-Consulting Bernhard Thalmayr - Painstaking Minds - 83620 Vagen (Munich area) Germany
