Sorry for the delay here. I updated the 1.1 (release) and 1.2 (snapshot)
versions of the cxf.osgi profiles in svn. They are working for me so if
someone can verify it and push them to maven I would appreciate it.
:-)
-AZ


On Tue, Jun 16, 2009 at 5:52 PM, Ivanhoe Abrahams <[email protected]
> wrote:

> Hi Aaron and Alin
>
> I got some feedback from one of the CXF guys who said that its the apache
> commons XmlSchema thats causing the problem. I tested it with a normal pom
> and provisioned that with using the following command "mvn
> pax:provision"...and it works... :-)
>
> Below is the correct artifact definition xmlschema, dont use the one from
> servicemix...that one causes the problem
>
>         <dependency>
>             <groupId>org.apache.ws.commons.schema</groupId>
>             <artifactId>XmlSchema</artifactId>
>             <version>1.4.5</version>
>         </dependency>
>
> Once again
> Thanks for your help
>
> Ivanhoe
>
>
>
>
> On Tue, Jun 16, 2009 at 3:50 PM, Aaron Zeckoski <[email protected]> wrote:
>
>> Can you go to the felix console for the working instance and type "ps -u"
>> and paste the output here along with the "ps -u" from the felix instance
>> which is started by pax-runner?
>> -AZ
>>
>>
>>
>> On Tue, Jun 16, 2009 at 2:27 PM, Ivanhoe Abrahams <
>> [email protected]> wrote:
>>
>>> Hi Aaron and Alin
>>>
>>> I have tried running pax-runner with cxf.dosgi profile set to version 1.2
>>> as suggested. but to no avail I still get the exception
>>>
>>> By the way the command I type in is
>>>
>>> java -jar pax-runner-0.20.0.jar --profiles=cxf.dosgi/1.2,log
>>>
>>> This starts up everything just fine
>>>
>>> Then in the felix shell I install and start the greeter demo interface,
>>> impl and client
>>> When the impl starts I get the exception.
>>>
>>> Also note I am running on a windows vista machine and running jdk 1.6.
>>> Not sure if that makes a difference.
>>>
>>> Ivanhoe
>>>
>>>
>>>
>>>
>>> On Tue, Jun 16, 2009 at 3:07 PM, Alin Dreghiciu <[email protected]>wrote:
>>>
>>>> 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/<http://confluence.sakaiproject.org/confluence/display/%7Eaaronz/>
>>>>>
>>>>> _______________________________________________
>>>>> 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
>>>>
>>>>
>>>
>>> _______________________________________________
>>> 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/<http://confluence.sakaiproject.org/confluence/display/%7Eaaronz/>
>>
>> _______________________________________________
>> general mailing list
>> [email protected]
>> http://lists.ops4j.org/mailman/listinfo/general
>>
>>
>
> _______________________________________________
> 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

Reply via email to