I just updated maven repo with changes from svn. On Tue, Jun 16, 2009 at 3:58 PM, Aaron Zeckoski <[email protected]> wrote:
> Which version of cxf are you using when you run the sample? > > This should be the current set of things loaded by the cxf.osgi profile... > except that it is probably using the older stuff which was pushed over to > maven and not the stuff in the SVN. > > https://scm.ops4j.org/repos/ops4j/projects/pax/runner-repository/org/ops4j/pax/runner/profiles/cxf.dosgi/1.1/cxf.dosgi-1.1.composite > > Can you try adding this to your pom and see if it still fails? > <plugin> > <groupId>org.ops4j</groupId> > <artifactId>maven-pax-plugin</ artifactId> > <version>1.4</version> > <configuration> > <profiles>cxf.dosgi</profiles> > <provision> > <param>--repositories=+ > http://scm.ops4j.org/repos/ops4j/projects/pax/runner-repository/</param> > <param>--vmOptions=-server -Xmx512M</param> > </provision> > </configuration> > </plugin> > > You may also want to try the 1.2 version of cxf.osgi but that is based on > SNAPSHOTS > <profiles>cxf.dosgi/1.2</profiles> > > -AZ > > > On Tue, Jun 16, 2009 at 1:43 PM, Ivanhoe Abrahams < > [email protected]> wrote: > >> Hi everybody >> >> I decided to try out the cxf.dosgi profile >> Everything start up just fine but when I install/start the greeter demo >> interface, impl and client I get the following exception >> >> [pool-1-thread-1] INFO >> org.apache.cxf.service.factory.ReflectionServiceFactoryBean - Creating >> Service >> {http://greeter.samples.dosgi.cxf.apache.org/}GreeterService<http://greeter.samples.dosgi.cxf.apache.org/%7DGreeterService>from >> class org.apache.cxf.dosgi.samples.greeter.GreeterService >> Exception in thread "pool-1-thread-1" java.lang.NoSuchMethodError: >> org.apache.ws.commons.schema.XmlSchemaType.getBaseSchemaTypeName()Ljavax/xml/namespace/QName; >> at >> org.apache.cxf.common.xmlschema.SchemaCollection.addCrossImportsType(SchemaCollection.java:355) >> at >> org.apache.cxf.common.xmlschema.SchemaCollection.addOneSchemaCrossImports(SchemaCollection.java:338) >> at >> org.apache.cxf.common.xmlschema.SchemaCollection.addCrossImports(SchemaCollection.java:317) >> at >> org.apache.cxf.aegis.databinding.AegisDatabinding.createSchemas(AegisDatabinding.java:504) >> >> The interface bundle starts fine, but the impl bundle causes the above >> exception. >> I am clueless as to what the problem can be. I have tried to run the cxf >> dosgi demo without using the pax runner and that works fine...so I guess the >> cxf.dosgi profile is broken. >> >> BTW. I really like the ops4j set of tools, keep up the good work. >> >> Ivanhoe >> >> _______________________________________________ >> general mailing list >> [email protected] >> http://lists.ops4j.org/mailman/listinfo/general >> >> > > > -- > Aaron Zeckoski (azeckoski (at) vt.edu) > Senior Research Engineer - CARET - Cambridge University > https://twitter.com/azeckoski - http://www.linkedin.com/in/azeckoski > http://aaronz-sakai.blogspot.com/ - > http://confluence.sakaiproject.org/confluence/display/~aaronz/ > > _______________________________________________ > general mailing list > [email protected] > http://lists.ops4j.org/mailman/listinfo/general > > -- Alin Dreghiciu Software Developer - Looking for new projects! My profile: http://www.linkedin.com/in/alindreghiciu My blog: http://adreghiciu.blogspot.com http://www.ops4j.org - New Energy for OSS Communities - Open Participation Software. http://www.qi4j.org - New Energy for Java - Domain Driven Development.
_______________________________________________ general mailing list [email protected] http://lists.ops4j.org/mailman/listinfo/general
