You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by Andrew Skiba <sk...@gmail.com> on 2008/05/09 14:52:20 UTC

servicemix-3.2.2 does not compile on OSX 10.5

I'm trying to compile http://svn.apache.org/repos/asf/servicemix/smx3/branches/servicemix-3.2/deployables/serviceengines/servicemix-wsn2005 
, and get the following error. I suppose the problem is missing  com/ 
sun/codemodel/JCodeModel class, may be it does not exist in OSX JVM.  
Is there anyone using OSX?

Thank you,

Andrew.

[INFO] Scanning for projects...
[INFO]  
------------------------------------------------------------------------
[INFO] Building ServiceMix :: WS-Notification Service Engine
[INFO]    task-segment: [install]
[INFO]  
------------------------------------------------------------------------
[INFO] snapshot org.apache.servicemix:sharedlibraries:3.2.2-SNAPSHOT:  
checking for updates from servicemix-m2-repo
[INFO] snapshot org.apache.servicemix:sharedlibraries:3.2.2-SNAPSHOT:  
checking for updates from apache-snapshots
[INFO] snapshot org.apache.servicemix:sharedlibraries:3.2.2-SNAPSHOT:  
checking for updates from codehaus
[INFO] snapshot org.apache.servicemix:sharedlibraries:3.2.2-SNAPSHOT:  
checking for updates from java.net
[INFO] snapshot org.apache.servicemix:sharedlibraries:3.2.2-SNAPSHOT:  
checking for updates from apache.snapshots
[INFO] snapshot org.apache.servicemix:deployables:3.2.2-SNAPSHOT:  
checking for updates from servicemix-m2-repo
[INFO] snapshot org.apache.servicemix:deployables:3.2.2-SNAPSHOT:  
checking for updates from apache-snapshots
[INFO] snapshot org.apache.servicemix:deployables:3.2.2-SNAPSHOT:  
checking for updates from codehaus
[INFO] snapshot org.apache.servicemix:deployables:3.2.2-SNAPSHOT:  
checking for updates from java.net
[INFO] snapshot org.apache.servicemix:deployables:3.2.2-SNAPSHOT:  
checking for updates from apache.snapshots
Downloading: http://svn.apache.org/repos/asf/servicemix/m2-repo/org/apache/ws/security/wss4j/1.5.2/wss4j-1.5.2.pom
Downloading: http://people.apache.org/repo/m2-incubating-repository/org/apache/ws/security/wss4j/1.5.2/wss4j-1.5.2.pom
Downloading: http://repository.codehaus.org/org/apache/ws/security/wss4j/1.5.2/wss4j-1.5.2.pom
Downloading: http://download.java.net/maven/1/org.apache.ws.security/poms/wss4j-1.5.2.pom
Downloading: http://repo1.maven.org/maven2/org/apache/ws/security/wss4j/1.5.2/wss4j-1.5.2.pom
Downloading: http://svn.apache.org/repos/asf/servicemix/m2-repo/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom
Downloading: http://people.apache.org/repo/m2-incubating-repository/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom
Downloading: http://repository.codehaus.org/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom
Downloading: http://download.java.net/maven/1/xml-security/poms/xmlsec-1.3.0.pom
Downloading: http://repo1.maven.org/maven2/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom
[INFO] [xbean:mapping {execution: default}]
[INFO] Generating META-INF properties file: /Users/andrew/Work/ 
servicemix-3.2/deployables/serviceengines/servicemix-wsn2005/target/ 
xbean/META-INF/services/org/apache/xbean/spring/http/ 
servicemix.apache.org/wsn/1.0 for namespace: http://servicemix.apache.org/wsn/1.0
[INFO] Generating Spring 2.0 handler mapping: /Users/andrew/Work/ 
servicemix-3.2/deployables/serviceengines/servicemix-wsn2005/target/ 
xbean/META-INF/spring.handlers for namespace: http://servicemix.apache.org/wsn/1.0
[INFO] Generating Spring 2.0 schema mapping: /Users/andrew/Work/ 
servicemix-3.2/deployables/serviceengines/servicemix-wsn2005/target/ 
xbean/META-INF/spring.schemas for namespace: http://servicemix.apache.org/wsn/1.0
[INFO] Generating HTML documentation file: /Users/andrew/Work/ 
servicemix-3.2/deployables/serviceengines/servicemix-wsn2005/target/ 
xbean/servicemix-wsn2005.xsd.html for namespace: http://servicemix.apache.org/wsn/1.0
[INFO] Generating XSD file: /Users/andrew/Work/servicemix-3.2/ 
deployables/serviceengines/servicemix-wsn2005/target/xbean/servicemix- 
wsn2005.xsd for namespace: http://servicemix.apache.org/wsn/1.0
[INFO] Generating WIKI documentation file: /Users/andrew/Work/ 
servicemix-3.2/deployables/serviceengines/servicemix-wsn2005/target/ 
xbean/servicemix-wsn2005.xsd.wiki for namespace: http://servicemix.apache.org/wsn/1.0
Warning, could not load class: org.springframework.core.io.Resource:  
java.lang.ExceptionInInitializerError
[INFO] ...done.
Downloading: http://people.apache.org/repo/m2-ibiblio-rsync-repository/xfire/saaj-impl/1.3/saaj-impl-1.3.pom
Downloading: http://svn.apache.org/repos/asf/servicemix/m2-repo/xfire/saaj-impl/1.3/saaj-impl-1.3.pom
Downloading: http://people.apache.org/repo/m2-incubating-repository/xfire/saaj-impl/1.3/saaj-impl-1.3.pom
Downloading: http://repository.codehaus.org/xfire/saaj-impl/1.3/saaj-impl-1.3.pom
Downloading: http://download.java.net/maven/1/xfire/poms/saaj-impl-1.3.pom
Downloading: http://repo1.maven.org/maven2/xfire/saaj-impl/1.3/saaj-impl-1.3.pom
Downloading: http://svn.apache.org/repos/asf/servicemix/m2-repo/xfire/saaj-impl/1.3/saaj-impl-1.3.pom
Downloading: http://people.apache.org/repo/m2-incubating-repository/xfire/saaj-impl/1.3/saaj-impl-1.3.pom
Downloading: http://repository.codehaus.org/xfire/saaj-impl/1.3/saaj-impl-1.3.pom
Downloading: http://download.java.net/maven/1/xfire/poms/saaj-impl-1.3.pom
Downloading: http://repo1.maven.org/maven2/xfire/saaj-impl/1.3/saaj-impl-1.3.pom
[INFO] [xfire:wsgen {execution: default}]
[INFO] Executing XFire WsGen task with url: file:/Users/andrew/Work/ 
servicemix-3.2/deployables/serviceengines/servicemix-wsn2005/src/main/ 
resources/org/apache/servicemix/wsn/wsn.wsdl
[FATAL ERROR]  
org.apache.servicemix.maven.plugin.xfire.WsgenMojo#execute() caused a  
linkage error (java.lang.NoClassDefFoundError) and may be out-of-date.  
Check the realms:
[FATAL ERROR] Plugin realm = app0.child- 
container[org.apache.servicemix.tooling:xfire-maven-plugin]
urls[0] = file:/Users/andrew/.m2/repository/org/apache/servicemix/ 
tooling/xfire-maven-plugin/3.2.2-SNAPSHOT/xfire-maven-plugin-3.2.2- 
SNAPSHOT.jar
urls[1] = file:/Users/andrew/.m2/repository/org/codehaus/plexus/plexus- 
utils/1.0.5/plexus-utils-1.0.5.jar
urls[2] = file:/Users/andrew/.m2/repository/org/apache/maven/maven- 
archiver/2.0.1/maven-archiver-2.0.1.jar
urls[3] = file:/Users/andrew/.m2/repository/org/codehaus/plexus/plexus- 
archiver/1.0-alpha-4/plexus-archiver-1.0-alpha-4.jar
urls[4] = file:/Users/andrew/.m2/repository/org/apache/maven/maven- 
script-ant/2.0.1/maven-script-ant-2.0.1.jar
urls[5] = file:/Users/andrew/.m2/repository/org/codehaus/plexus/plexus- 
ant-factory/1.0-alpha-1/plexus-ant-factory-1.0-alpha-1.jar
urls[6] = file:/Users/andrew/.m2/repository/ant/ant-launcher/1.6.5/ant- 
launcher-1.6.5.jar
urls[7] = file:/Users/andrew/.m2/repository/ant/ant/1.6.5/ant-1.6.5.jar
urls[8] = file:/Users/andrew/.m2/repository/org/codehaus/xfire/xfire- 
generator/1.2.5/xfire-generator-1.2.5.jar
urls[9] = file:/Users/andrew/.m2/repository/org/codehaus/xfire/xfire- 
jaxb2/1.2.5/xfire-jaxb2-1.2.5.jar
urls[10] = file:/Users/andrew/.m2/repository/org/codehaus/xfire/xfire- 
aegis/1.2.5/xfire-aegis-1.2.5.jar
urls[11] = file:/Users/andrew/.m2/repository/org/codehaus/xfire/xfire- 
core/1.2.5/xfire-core-1.2.5.jar
urls[12] = file:/Users/andrew/.m2/repository/wsdl4j/wsdl4j/1.6.1/ 
wsdl4j-1.6.1.jar
urls[13] = file:/Users/andrew/.m2/repository/jaxen/jaxen/1.1-beta-9/ 
jaxen-1.1-beta-9.jar
urls[14] = file:/Users/andrew/.m2/repository/xerces/xercesImpl/2.8.1/ 
xercesImpl-2.8.1.jar
urls[15] = file:/Users/andrew/.m2/repository/xml-apis/xml-apis/1.3.04/ 
xml-apis-1.3.04.jar
urls[16] = file:/Users/andrew/.m2/repository/stax/stax-api/1.0.1/stax- 
api-1.0.1.jar
urls[17] = file:/Users/andrew/.m2/repository/commons-codec/commons- 
codec/1.3/commons-codec-1.3.jar
urls[18] = file:/Users/andrew/.m2/repository/org/apache/ws/commons/ 
XmlSchema/1.1/XmlSchema-1.1.jar
urls[19] = file:/Users/andrew/.m2/repository/org/codehaus/woodstox/ 
wstx-asl/3.2.2/wstx-asl-3.2.2.jar
urls[20] = file:/Users/andrew/.m2/repository/jdom/jdom/1.0/jdom-1.0.jar
urls[21] = file:/Users/andrew/.m2/repository/commons-logging/commons- 
logging/1.1/commons-logging-1.1.jar
urls[22] = file:/Users/andrew/.m2/repository/log4j/log4j/1.2.13/ 
log4j-1.2.13.jar
urls[23] = file:/Users/andrew/.m2/repository/net/java/dev/stax-utils/ 
stax-utils/20040917/stax-utils-20040917.jar
urls[24] = file:/Users/andrew/.m2/repository/org/codehaus/xfire/xfire- 
java5/1.2.5/xfire-java5-1.2.5.jar
urls[25] = file:/Users/andrew/.m2/repository/org/codehaus/xfire/xfire- 
annotations/1.2.5/xfire-annotations-1.2.5.jar
urls[26] = file:/Users/andrew/.m2/repository/commons-attributes/ 
commons-attributes-api/2.1/commons-attributes-api-2.1.jar
urls[27] = file:/Users/andrew/.m2/repository/xfire/xfire-jsr181-api/ 
1.0-M1/xfire-jsr181-api-1.0-M1.jar
urls[28] = file:/Users/andrew/.m2/repository/javax/xml/ws/jaxws-api/ 
2.0/jaxws-api-2.0.jar
urls[29] = file:/Users/andrew/.m2/repository/javax/xml/bind/jaxb-api/ 
2.0/jaxb-api-2.0.jar
urls[30] = file:/Users/andrew/.m2/repository/javax/xml/bind/jsr173_api/ 
1.0/jsr173_api-1.0.jar
urls[31] = file:/Users/andrew/.m2/repository/org/codehaus/xfire/xfire- 
xmlbeans/1.2.5/xfire-xmlbeans-1.2.5.jar
urls[32] = file:/Users/andrew/.m2/repository/xmlbeans/xbean/2.1.0/ 
xbean-2.1.0.jar
urls[33] = file:/Users/andrew/.m2/repository/commons-beanutils/commons- 
beanutils/1.7.0/commons-beanutils-1.7.0.jar
urls[34] = file:/Users/andrew/.m2/repository/qdox/qdox/1.5/qdox-1.5.jar
urls[35] = file:/Users/andrew/.m2/repository/org/codehaus/xfire/xfire- 
spring/1.2.5/xfire-spring-1.2.5.jar
urls[36] = file:/Users/andrew/.m2/repository/org/apache/xbean/xbean- 
spring/3.2/xbean-spring-3.2.jar
urls[37] = file:/Users/andrew/.m2/repository/org/springframework/ 
spring/2.0.6/spring-2.0.6.jar
urls[38] = file:/Users/andrew/.m2/repository/javax/activation/ 
activation/1.1/activation-1.1.jar
urls[39] = file:/Users/andrew/.m2/repository/javax/mail/mail/1.4/ 
mail-1.4.jar
urls[40] = file:/Users/andrew/.m2/repository/commons-httpclient/ 
commons-httpclient/3.0/commons-httpclient-3.0.jar
urls[41] = file:/Users/andrew/.m2/repository/org/codehaus/xfire/xfire- 
jaxws/1.2.5/xfire-jaxws-1.2.5.jar
urls[42] = file:/Users/andrew/.m2/repository/xfire/saaj-impl/1.3/saaj- 
impl-1.3.jar
urls[43] = file:/Users/andrew/.m2/repository/javax/xml/soap/saaj-api/ 
1.3/saaj-api-1.3.jar
urls[44] = file:/Users/andrew/.m2/repository/javax/servlet/servlet-api/ 
2.3/servlet-api-2.3.jar
urls[45] = file:/Users/andrew/.m2/repository/com/sun/xml/bind/jaxb- 
impl/2.0.1/jaxb-impl-2.0.1.jar
urls[46] = file:/Users/andrew/.m2/repository/javax/xml/jaxb-api/2.0/ 
jaxb-api-2.0.jar
[FATAL ERROR] Container realm = plexus.core
urls[0] = file:/opt/local/share/java/maven2/lib/maven-2.0.9-uber.jar
[INFO]  
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]  
------------------------------------------------------------------------
[INFO] com/sun/codemodel/JCodeModel
com.sun.codemodel.JCodeModel
[INFO]  
------------------------------------------------------------------------
[INFO] Trace
java.lang.NoClassDefFoundError: com/sun/codemodel/JCodeModel
	at org.codehaus.xfire.gen.Wsdl11Generator.<init>(Wsdl11Generator.java: 
51)
	at org.codehaus.xfire.gen.WsGenTask.execute(WsGenTask.java:50)
	at  
org.apache.servicemix.maven.plugin.xfire.WsgenMojo.exec(WsgenMojo.java: 
190)
	at  
org 
.apache.servicemix.maven.plugin.xfire.WsgenMojo.execute(WsgenMojo.java: 
105)
	at  
org 
.apache 
.maven 
.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
	at  
org 
.apache 
.maven 
.lifecycle 
.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java: 
558)
	at  
org 
.apache 
.maven 
.lifecycle 
.DefaultLifecycleExecutor 
.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
	at  
org 
.apache 
.maven 
.lifecycle 
.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
	at  
org 
.apache 
.maven 
.lifecycle 
.DefaultLifecycleExecutor 
.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
	at  
org 
.apache 
.maven 
.lifecycle 
.DefaultLifecycleExecutor 
.executeTaskSegments(DefaultLifecycleExecutor.java:291)
	at  
org 
.apache 
.maven 
.lifecycle 
.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at  
sun 
.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: 
39)
	at  
sun 
.reflect 
.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: 
25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
	at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
	at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java: 
430)
	at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: java.lang.ClassNotFoundException:  
com.sun.codemodel.JCodeModel
	at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:316)
	at  
org 
.codehaus 
.classworlds.RealmClassLoader.loadClassDirect(RealmClassLoader.java:195)
	at  
org 
.codehaus 
.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:255)
	at  
org 
.codehaus 
.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:274)
	at  
org 
.codehaus.classworlds.RealmClassLoader.loadClass(RealmClassLoader.java: 
214)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374)
	... 22 more
[INFO]  
------------------------------------------------------------------------
[INFO] Total time: 1 minute 15 seconds
[INFO] Finished at: Fri May 09 15:41:09 IDT 2008
[INFO] Final Memory: 28M/66M
[INFO]  
------------------------------------------------------------------------


Re: servicemix-3.2.2 does not compile on OSX 10.5

Posted by Uli Romahn <ur...@optaros.com>.
This does not seem to be an issue Java 5 vs Java 6.
I tried it with both on my system with the exact same error message.

What exact SDK version is everybody using?

Mine is 1.5.0_14 and 6u6.

BTW, when I checkout the HEAD from trunk, everything compiles just fine.

-Uli

Guillaume Nodet wrote:
> I have no problems on Os X 10.4.
> Do you compile sing JDK 5 or JDK 6 ?
>
> On Fri, May 9, 2008 at 7:52 PM, Andrew Skiba <sk...@gmail.com> wrote:
>   
>> Uli,
>>
>> Thanks for your reply.
>>
>> I compiled 3.2.2 after excluding wsn2005 and samples. Still it's strange
>> only you and me have this problem, the question is what is so special in our
>> environments?
>>
>> Andrew.
>>
>> On May 9, 2008, at 18:20, Uli Romahn wrote:
>>
>>     
>>> Andrew,
>>>
>>> I got the exact same error message when trying to build 3.2.1 on openSUSE
>>> 10.3 (Linux) after checking it out using the SVN tag 'servicemix-3.2.1'.
>>> The error persisted regardless what Java SDK I used - I tried it with
>>> SDK6u5, JDK1.5, and even IBM SDK6.
>>>
>>> After a day I gave up and checked out the HEAD from trunk and got it build
>>> without a hitch.
>>> I suspect that there are some dependencies mixed up in some versions, be
>>> it from SVN or from the SNAPSHOT tars.
>>>
>>> Good luck,
>>> -Uli
>>>
>>> Andrew Skiba wrote:
>>>       
>>>> I'm trying to compile
>>>> http://svn.apache.org/repos/asf/servicemix/smx3/branches/servicemix-3.2/deployables/serviceengines/servicemix-wsn2005,
>>>> and get the following error. I suppose the problem is missing
>>>>  com/sun/codemodel/JCodeModel class, may be it does not exist in OSX JVM. Is
>>>> there anyone using OSX?
>>>>
>>>> Thank you,
>>>>
>>>> Andrew.
>>>>
>>>> [INFO] Scanning for projects...
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Building ServiceMix :: WS-Notification Service Engine
>>>> [INFO]    task-segment: [install]
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] snapshot org.apache.servicemix:sharedlibraries:3.2.2-SNAPSHOT:
>>>> checking for updates from servicemix-m2-repo
>>>> [INFO] snapshot org.apache.servicemix:sharedlibraries:3.2.2-SNAPSHOT:
>>>> checking for updates from apache-snapshots
>>>> [INFO] snapshot org.apache.servicemix:sharedlibraries:3.2.2-SNAPSHOT:
>>>> checking for updates from codehaus
>>>> [INFO] snapshot org.apache.servicemix:sharedlibraries:3.2.2-SNAPSHOT:
>>>> checking for updates from java.net
>>>> [INFO] snapshot org.apache.servicemix:sharedlibraries:3.2.2-SNAPSHOT:
>>>> checking for updates from apache.snapshots
>>>> [INFO] snapshot org.apache.servicemix:deployables:3.2.2-SNAPSHOT:
>>>> checking for updates from servicemix-m2-repo
>>>> [INFO] snapshot org.apache.servicemix:deployables:3.2.2-SNAPSHOT:
>>>> checking for updates from apache-snapshots
>>>> [INFO] snapshot org.apache.servicemix:deployables:3.2.2-SNAPSHOT:
>>>> checking for updates from codehaus
>>>> [INFO] snapshot org.apache.servicemix:deployables:3.2.2-SNAPSHOT:
>>>> checking for updates from java.net
>>>> [INFO] snapshot org.apache.servicemix:deployables:3.2.2-SNAPSHOT:
>>>> checking for updates from apache.snapshots
>>>> Downloading:
>>>> http://svn.apache.org/repos/asf/servicemix/m2-repo/org/apache/ws/security/wss4j/1.5.2/wss4j-1.5.2.pom
>>>> Downloading:
>>>> http://people.apache.org/repo/m2-incubating-repository/org/apache/ws/security/wss4j/1.5.2/wss4j-1.5.2.pom
>>>> Downloading:
>>>> http://repository.codehaus.org/org/apache/ws/security/wss4j/1.5.2/wss4j-1.5.2.pom
>>>> Downloading:
>>>> http://download.java.net/maven/1/org.apache.ws.security/poms/wss4j-1.5.2.pom
>>>> Downloading:
>>>> http://repo1.maven.org/maven2/org/apache/ws/security/wss4j/1.5.2/wss4j-1.5.2.pom
>>>> Downloading:
>>>> http://svn.apache.org/repos/asf/servicemix/m2-repo/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom
>>>> Downloading:
>>>> http://people.apache.org/repo/m2-incubating-repository/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom
>>>> Downloading:
>>>> http://repository.codehaus.org/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom
>>>> Downloading:
>>>> http://download.java.net/maven/1/xml-security/poms/xmlsec-1.3.0.pom
>>>> Downloading:
>>>> http://repo1.maven.org/maven2/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom
>>>> [INFO] [xbean:mapping {execution: default}]
>>>> [INFO] Generating META-INF properties file:
>>>> /Users/andrew/Work/servicemix-3.2/deployables/serviceengines/servicemix-wsn2005/target/xbean/META-INF/services/org/apache/xbean/spring/http/servicemix.apache.org/wsn/1.0
>>>> for namespace: http://servicemix.apache.org/wsn/1.0
>>>> [INFO] Generating Spring 2.0 handler mapping:
>>>> /Users/andrew/Work/servicemix-3.2/deployables/serviceengines/servicemix-wsn2005/target/xbean/META-INF/spring.handlers
>>>> for namespace: http://servicemix.apache.org/wsn/1.0
>>>> [INFO] Generating Spring 2.0 schema mapping:
>>>> /Users/andrew/Work/servicemix-3.2/deployables/serviceengines/servicemix-wsn2005/target/xbean/META-INF/spring.schemas
>>>> for namespace: http://servicemix.apache.org/wsn/1.0
>>>> [INFO] Generating HTML documentation file:
>>>> /Users/andrew/Work/servicemix-3.2/deployables/serviceengines/servicemix-wsn2005/target/xbean/servicemix-wsn2005.xsd.html
>>>> for namespace: http://servicemix.apache.org/wsn/1.0
>>>> [INFO] Generating XSD file:
>>>> /Users/andrew/Work/servicemix-3.2/deployables/serviceengines/servicemix-wsn2005/target/xbean/servicemix-wsn2005.xsd
>>>> for namespace: http://servicemix.apache.org/wsn/1.0
>>>> [INFO] Generating WIKI documentation file:
>>>> /Users/andrew/Work/servicemix-3.2/deployables/serviceengines/servicemix-wsn2005/target/xbean/servicemix-wsn2005.xsd.wiki
>>>> for namespace: http://servicemix.apache.org/wsn/1.0
>>>> Warning, could not load class: org.springframework.core.io.Resource:
>>>> java.lang.ExceptionInInitializerError
>>>> [INFO] ...done.
>>>> Downloading:
>>>> http://people.apache.org/repo/m2-ibiblio-rsync-repository/xfire/saaj-impl/1.3/saaj-impl-1.3.pom
>>>> Downloading:
>>>> http://svn.apache.org/repos/asf/servicemix/m2-repo/xfire/saaj-impl/1.3/saaj-impl-1.3.pom
>>>> Downloading:
>>>> http://people.apache.org/repo/m2-incubating-repository/xfire/saaj-impl/1.3/saaj-impl-1.3.pom
>>>> Downloading:
>>>> http://repository.codehaus.org/xfire/saaj-impl/1.3/saaj-impl-1.3.pom
>>>> Downloading:
>>>> http://download.java.net/maven/1/xfire/poms/saaj-impl-1.3.pom
>>>> Downloading:
>>>> http://repo1.maven.org/maven2/xfire/saaj-impl/1.3/saaj-impl-1.3.pom
>>>> Downloading:
>>>> http://svn.apache.org/repos/asf/servicemix/m2-repo/xfire/saaj-impl/1.3/saaj-impl-1.3.pom
>>>> Downloading:
>>>> http://people.apache.org/repo/m2-incubating-repository/xfire/saaj-impl/1.3/saaj-impl-1.3.pom
>>>> Downloading:
>>>> http://repository.codehaus.org/xfire/saaj-impl/1.3/saaj-impl-1.3.pom
>>>> Downloading:
>>>> http://download.java.net/maven/1/xfire/poms/saaj-impl-1.3.pom
>>>> Downloading:
>>>> http://repo1.maven.org/maven2/xfire/saaj-impl/1.3/saaj-impl-1.3.pom
>>>> [INFO] [xfire:wsgen {execution: default}]
>>>> [INFO] Executing XFire WsGen task with url:
>>>> file:/Users/andrew/Work/servicemix-3.2/deployables/serviceengines/servicemix-wsn2005/src/main/resources/org/apache/servicemix/wsn/wsn.wsdl
>>>> [FATAL ERROR]
>>>> org.apache.servicemix.maven.plugin.xfire.WsgenMojo#execute() caused a
>>>> linkage error (java.lang.NoClassDefFoundError) and may be out-of-date. Check
>>>> the realms:
>>>> [FATAL ERROR] Plugin realm =
>>>> app0.child-container[org.apache.servicemix.tooling:xfire-maven-plugin]
>>>> urls[0] =
>>>> file:/Users/andrew/.m2/repository/org/apache/servicemix/tooling/xfire-maven-plugin/3.2.2-SNAPSHOT/xfire-maven-plugin-3.2.2-SNAPSHOT.jar
>>>> urls[1] =
>>>> file:/Users/andrew/.m2/repository/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.jar
>>>> urls[2] =
>>>> file:/Users/andrew/.m2/repository/org/apache/maven/maven-archiver/2.0.1/maven-archiver-2.0.1.jar
>>>> urls[3] =
>>>> file:/Users/andrew/.m2/repository/org/codehaus/plexus/plexus-archiver/1.0-alpha-4/plexus-archiver-1.0-alpha-4.jar
>>>> urls[4] =
>>>> file:/Users/andrew/.m2/repository/org/apache/maven/maven-script-ant/2.0.1/maven-script-ant-2.0.1.jar
>>>> urls[5] =
>>>> file:/Users/andrew/.m2/repository/org/codehaus/plexus/plexus-ant-factory/1.0-alpha-1/plexus-ant-factory-1.0-alpha-1.jar
>>>> urls[6] =
>>>> file:/Users/andrew/.m2/repository/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.jar
>>>> urls[7] = file:/Users/andrew/.m2/repository/ant/ant/1.6.5/ant-1.6.5.jar
>>>> urls[8] =
>>>> file:/Users/andrew/.m2/repository/org/codehaus/xfire/xfire-generator/1.2.5/xfire-generator-1.2.5.jar
>>>> urls[9] =
>>>> file:/Users/andrew/.m2/repository/org/codehaus/xfire/xfire-jaxb2/1.2.5/xfire-jaxb2-1.2.5.jar
>>>> urls[10] =
>>>> file:/Users/andrew/.m2/repository/org/codehaus/xfire/xfire-aegis/1.2.5/xfire-aegis-1.2.5.jar
>>>> urls[11] =
>>>> file:/Users/andrew/.m2/repository/org/codehaus/xfire/xfire-core/1.2.5/xfire-core-1.2.5.jar
>>>> urls[12] =
>>>> file:/Users/andrew/.m2/repository/wsdl4j/wsdl4j/1.6.1/wsdl4j-1.6.1.jar
>>>> urls[13] =
>>>> file:/Users/andrew/.m2/repository/jaxen/jaxen/1.1-beta-9/jaxen-1.1-beta-9.jar
>>>> urls[14] =
>>>> file:/Users/andrew/.m2/repository/xerces/xercesImpl/2.8.1/xercesImpl-2.8.1.jar
>>>> urls[15] =
>>>> file:/Users/andrew/.m2/repository/xml-apis/xml-apis/1.3.04/xml-apis-1.3.04.jar
>>>> urls[16] =
>>>> file:/Users/andrew/.m2/repository/stax/stax-api/1.0.1/stax-api-1.0.1.jar
>>>> urls[17] =
>>>> file:/Users/andrew/.m2/repository/commons-codec/commons-codec/1.3/commons-codec-1.3.jar
>>>> urls[18] =
>>>> file:/Users/andrew/.m2/repository/org/apache/ws/commons/XmlSchema/1.1/XmlSchema-1.1.jar
>>>> urls[19] =
>>>> file:/Users/andrew/.m2/repository/org/codehaus/woodstox/wstx-asl/3.2.2/wstx-asl-3.2.2.jar
>>>> urls[20] = file:/Users/andrew/.m2/repository/jdom/jdom/1.0/jdom-1.0.jar
>>>> urls[21] =
>>>> file:/Users/andrew/.m2/repository/commons-logging/commons-logging/1.1/commons-logging-1.1.jar
>>>> urls[22] =
>>>> file:/Users/andrew/.m2/repository/log4j/log4j/1.2.13/log4j-1.2.13.jar
>>>> urls[23] =
>>>> file:/Users/andrew/.m2/repository/net/java/dev/stax-utils/stax-utils/20040917/stax-utils-20040917.jar
>>>> urls[24] =
>>>> file:/Users/andrew/.m2/repository/org/codehaus/xfire/xfire-java5/1.2.5/xfire-java5-1.2.5.jar
>>>> urls[25] =
>>>> file:/Users/andrew/.m2/repository/org/codehaus/xfire/xfire-annotations/1.2.5/xfire-annotations-1.2.5.jar
>>>> urls[26] =
>>>> file:/Users/andrew/.m2/repository/commons-attributes/commons-attributes-api/2.1/commons-attributes-api-2.1.jar
>>>> urls[27] =
>>>> file:/Users/andrew/.m2/repository/xfire/xfire-jsr181-api/1.0-M1/xfire-jsr181-api-1.0-M1.jar
>>>> urls[28] =
>>>> file:/Users/andrew/.m2/repository/javax/xml/ws/jaxws-api/2.0/jaxws-api-2.0.jar
>>>> urls[29] =
>>>> file:/Users/andrew/.m2/repository/javax/xml/bind/jaxb-api/2.0/jaxb-api-2.0.jar
>>>> urls[30] =
>>>> file:/Users/andrew/.m2/repository/javax/xml/bind/jsr173_api/1.0/jsr173_api-1.0.jar
>>>> urls[31] =
>>>> file:/Users/andrew/.m2/repository/org/codehaus/xfire/xfire-xmlbeans/1.2.5/xfire-xmlbeans-1.2.5.jar
>>>> urls[32] =
>>>> file:/Users/andrew/.m2/repository/xmlbeans/xbean/2.1.0/xbean-2.1.0.jar
>>>> urls[33] =
>>>> file:/Users/andrew/.m2/repository/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar
>>>> urls[34] = file:/Users/andrew/.m2/repository/qdox/qdox/1.5/qdox-1.5.jar
>>>> urls[35] =
>>>> file:/Users/andrew/.m2/repository/org/codehaus/xfire/xfire-spring/1.2.5/xfire-spring-1.2.5.jar
>>>> urls[36] =
>>>> file:/Users/andrew/.m2/repository/org/apache/xbean/xbean-spring/3.2/xbean-spring-3.2.jar
>>>> urls[37] =
>>>> file:/Users/andrew/.m2/repository/org/springframework/spring/2.0.6/spring-2.0.6.jar
>>>> urls[38] =
>>>> file:/Users/andrew/.m2/repository/javax/activation/activation/1.1/activation-1.1.jar
>>>> urls[39] =
>>>> file:/Users/andrew/.m2/repository/javax/mail/mail/1.4/mail-1.4.jar
>>>> urls[40] =
>>>> file:/Users/andrew/.m2/repository/commons-httpclient/commons-httpclient/3.0/commons-httpclient-3.0.jar
>>>> urls[41] =
>>>> file:/Users/andrew/.m2/repository/org/codehaus/xfire/xfire-jaxws/1.2.5/xfire-jaxws-1.2.5.jar
>>>> urls[42] =
>>>> file:/Users/andrew/.m2/repository/xfire/saaj-impl/1.3/saaj-impl-1.3.jar
>>>> urls[43] =
>>>> file:/Users/andrew/.m2/repository/javax/xml/soap/saaj-api/1.3/saaj-api-1.3.jar
>>>> urls[44] =
>>>> file:/Users/andrew/.m2/repository/javax/servlet/servlet-api/2.3/servlet-api-2.3.jar
>>>> urls[45] =
>>>> file:/Users/andrew/.m2/repository/com/sun/xml/bind/jaxb-impl/2.0.1/jaxb-impl-2.0.1.jar
>>>> urls[46] =
>>>> file:/Users/andrew/.m2/repository/javax/xml/jaxb-api/2.0/jaxb-api-2.0.jar
>>>> [FATAL ERROR] Container realm = plexus.core
>>>> urls[0] = file:/opt/local/share/java/maven2/lib/maven-2.0.9-uber.jar
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [ERROR] FATAL ERROR
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] com/sun/codemodel/JCodeModel
>>>> com.sun.codemodel.JCodeModel
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Trace
>>>> java.lang.NoClassDefFoundError: com/sun/codemodel/JCodeModel
>>>>   at
>>>> org.codehaus.xfire.gen.Wsdl11Generator.<init>(Wsdl11Generator.java:51)
>>>>   at org.codehaus.xfire.gen.WsGenTask.execute(WsGenTask.java:50)
>>>>   at
>>>> org.apache.servicemix.maven.plugin.xfire.WsgenMojo.exec(WsgenMojo.java:190)
>>>>   at
>>>> org.apache.servicemix.maven.plugin.xfire.WsgenMojo.execute(WsgenMojo.java:105)
>>>>   at
>>>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
>>>>   at
>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
>>>>   at
>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
>>>>   at
>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
>>>>   at
>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
>>>>   at
>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
>>>>   at
>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
>>>>   at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
>>>>   at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
>>>>   at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
>>>>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>   at
>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>>   at
>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>>   at java.lang.reflect.Method.invoke(Method.java:597)
>>>>   at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>>>>   at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>>>>   at
>>>> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>>>>   at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
>>>> Caused by: java.lang.ClassNotFoundException: com.sun.codemodel.JCodeModel
>>>>   at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>>>>   at java.security.AccessController.doPrivileged(Native Method)
>>>>   at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>>>>   at java.lang.ClassLoader.loadClass(ClassLoader.java:316)
>>>>   at
>>>> org.codehaus.classworlds.RealmClassLoader.loadClassDirect(RealmClassLoader.java:195)
>>>>   at
>>>> org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:255)
>>>>   at
>>>> org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:274)
>>>>   at
>>>> org.codehaus.classworlds.RealmClassLoader.loadClass(RealmClassLoader.java:214)
>>>>   at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>>>>   at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374)
>>>>   ... 22 more
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Total time: 1 minute 15 seconds
>>>> [INFO] Finished at: Fri May 09 15:41:09 IDT 2008
>>>> [INFO] Final Memory: 28M/66M
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>>
>>>>
>>>>         
>>> --
>>> ===========================================
>>> *Optaros, Inc.*
>>>
>>> 333 Bryant Street - Suite 110
>>> San Francisco, CA 94107
>>>
>>> Corporate Headquarter:
>>> 10 Milk Street - 11th Floor
>>> Boston, MA 02108
>>>
>>> cell:  +1 (650) 430-4499
>>> voice: +1 (617) 227-1855 x8129
>>> ===========================================
>>>       
>>     
>
>
>
>   

-- 
===========================================
*Optaros, Inc.*

333 Bryant Street - Suite 110
San Francisco, CA 94107

Corporate Headquarter:
10 Milk Street - 11th Floor
Boston, MA 02108

cell:  +1 (650) 430-4499
voice: +1 (617) 227-1855 x8129
===========================================

Re: servicemix-3.2.2 does not compile on OSX 10.5

Posted by Uli Romahn <ur...@optaros.com>.
Most likely Maven - I upgraded to Maven 2.0.9 recently.

I will "donwgrade" to 2.0.8 on my sandbox and retry it.

-Uli

Andrew Skiba wrote:
> the only way to know is to install 2.0.9 on your box :-)
>
> On May 9, 2008, at 23:54, Guillaume Nodet wrote:
>
>> Ah, that may be maven.   I use 2.0.8.
>>
>> On Fri, May 9, 2008 at 10:26 PM, Andrew Skiba <sk...@gmail.com> wrote:
>>> I have OSX 10.5.2 build 9c7010
>>>
>>> And I tried both
>>>
>>> java 1.5.0_13-b05-237
>>> java 1.6.0_05-b13-120
>>>
>>> BTW, I could not use maven 2.0.6 which came with XCode, and 
>>> installed 2.0.9
>>> by MacPorts to finish the build.
>>>
>>>
>>>
>>>
>>> On May 9, 2008, at 21:48, Guillaume Nodet wrote:
>>>
>>>> I have no problems on Os X 10.4.
>>>> Do you compile sing JDK 5 or JDK 6 ?
>>>>
>>>> On Fri, May 9, 2008 at 7:52 PM, Andrew Skiba <sk...@gmail.com> wrote:
>>>>>
>>>>> Uli,
>>>>>
>>>>> Thanks for your reply.
>>>>>
>>>>> I compiled 3.2.2 after excluding wsn2005 and samples. Still it's 
>>>>> strange
>>>>> only you and me have this problem, the question is what is so 
>>>>> special in
>>>>> our
>>>>> environments?
>>>>>
>>>>> Andrew.
>>>>>
>>>>> On May 9, 2008, at 18:20, Uli Romahn wrote:
>>>>>
>>>>>> Andrew,
>>>>>>
>>>>>> I got the exact same error message when trying to build 3.2.1 on
>>>>>> openSUSE
>>>>>> 10.3 (Linux) after checking it out using the SVN tag 
>>>>>> 'servicemix-3.2.1'.
>>>>>> The error persisted regardless what Java SDK I used - I tried it 
>>>>>> with
>>>>>> SDK6u5, JDK1.5, and even IBM SDK6.
>>>>>>
>>>>>> After a day I gave up and checked out the HEAD from trunk and got it
>>>>>> build
>>>>>> without a hitch.
>>>>>> I suspect that there are some dependencies mixed up in some 
>>>>>> versions, be
>>>>>> it from SVN or from the SNAPSHOT tars.
>>>>>>
>>>>>> Good luck,
>>>>>> -Uli
>>>>>>
>>>>>> Andrew Skiba wrote:
>>>>>>>
>>>>>>> I'm trying to compile
>>>>>>>
>>>>>>> http://svn.apache.org/repos/asf/servicemix/smx3/branches/servicemix-3.2/deployables/serviceengines/servicemix-wsn2005, 
>>>>>>>
>>>>>>> and get the following error. I suppose the problem is missing
>>>>>>> com/sun/codemodel/JCodeModel class, may be it does not exist in OSX
>>>>>>> JVM. Is
>>>>>>> there anyone using OSX?
>>>>>>>
>>>>>>> Thank you,
>>>>>>>
>>>>>>> Andrew.
>>>>>>>
>>>>>>> [INFO] Scanning for projects...
>>>>>>> [INFO]
>>>>>>>
>>>>>>> ------------------------------------------------------------------------ 
>>>>>>>
>>>>>>> [INFO] Building ServiceMix :: WS-Notification Service Engine
>>>>>>> [INFO]    task-segment: [install]
>>>>>>> [INFO]
>>>>>>>
>>>>>>> ------------------------------------------------------------------------ 
>>>>>>>
>>>>>>> [INFO] snapshot 
>>>>>>> org.apache.servicemix:sharedlibraries:3.2.2-SNAPSHOT:
>>>>>>> checking for updates from servicemix-m2-repo
>>>>>>> [INFO] snapshot 
>>>>>>> org.apache.servicemix:sharedlibraries:3.2.2-SNAPSHOT:
>>>>>>> checking for updates from apache-snapshots
>>>>>>> [INFO] snapshot 
>>>>>>> org.apache.servicemix:sharedlibraries:3.2.2-SNAPSHOT:
>>>>>>> checking for updates from codehaus
>>>>>>> [INFO] snapshot 
>>>>>>> org.apache.servicemix:sharedlibraries:3.2.2-SNAPSHOT:
>>>>>>> checking for updates from java.net
>>>>>>> [INFO] snapshot 
>>>>>>> org.apache.servicemix:sharedlibraries:3.2.2-SNAPSHOT:
>>>>>>> checking for updates from apache.snapshots
>>>>>>> [INFO] snapshot org.apache.servicemix:deployables:3.2.2-SNAPSHOT:
>>>>>>> checking for updates from servicemix-m2-repo
>>>>>>> [INFO] snapshot org.apache.servicemix:deployables:3.2.2-SNAPSHOT:
>>>>>>> checking for updates from apache-snapshots
>>>>>>> [INFO] snapshot org.apache.servicemix:deployables:3.2.2-SNAPSHOT:
>>>>>>> checking for updates from codehaus
>>>>>>> [INFO] snapshot org.apache.servicemix:deployables:3.2.2-SNAPSHOT:
>>>>>>> checking for updates from java.net
>>>>>>> [INFO] snapshot org.apache.servicemix:deployables:3.2.2-SNAPSHOT:
>>>>>>> checking for updates from apache.snapshots
>>>>>>> Downloading:
>>>>>>>
>>>>>>> http://svn.apache.org/repos/asf/servicemix/m2-repo/org/apache/ws/security/wss4j/1.5.2/wss4j-1.5.2.pom 
>>>>>>>
>>>>>>> Downloading:
>>>>>>>
>>>>>>> http://people.apache.org/repo/m2-incubating-repository/org/apache/ws/security/wss4j/1.5.2/wss4j-1.5.2.pom 
>>>>>>>
>>>>>>> Downloading:
>>>>>>>
>>>>>>> http://repository.codehaus.org/org/apache/ws/security/wss4j/1.5.2/wss4j-1.5.2.pom 
>>>>>>>
>>>>>>> Downloading:
>>>>>>>
>>>>>>> http://download.java.net/maven/1/org.apache.ws.security/poms/wss4j-1.5.2.pom 
>>>>>>>
>>>>>>> Downloading:
>>>>>>>
>>>>>>> http://repo1.maven.org/maven2/org/apache/ws/security/wss4j/1.5.2/wss4j-1.5.2.pom 
>>>>>>>
>>>>>>> Downloading:
>>>>>>>
>>>>>>> http://svn.apache.org/repos/asf/servicemix/m2-repo/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom 
>>>>>>>
>>>>>>> Downloading:
>>>>>>>
>>>>>>> http://people.apache.org/repo/m2-incubating-repository/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom 
>>>>>>>
>>>>>>> Downloading:
>>>>>>>
>>>>>>> http://repository.codehaus.org/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom 
>>>>>>>
>>>>>>> Downloading:
>>>>>>> http://download.java.net/maven/1/xml-security/poms/xmlsec-1.3.0.pom
>>>>>>> Downloading:
>>>>>>>
>>>>>>> http://repo1.maven.org/maven2/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom 
>>>>>>>
>>>>>>> [INFO] [xbean:mapping {execution: default}]
>>>>>>> [INFO] Generating META-INF properties file:
>>>>>>>
>>>>>>> /Users/andrew/Work/servicemix-3.2/deployables/serviceengines/servicemix-wsn2005/target/xbean/META-INF/services/org/apache/xbean/spring/http/servicemix.apache.org/wsn/1.0 
>>>>>>>
>>>>>>> for namespace: http://servicemix.apache.org/wsn/1.0
>>>>>>> [INFO] Generating Spring 2.0 handler mapping:
>>>>>>>
>>>>>>> /Users/andrew/Work/servicemix-3.2/deployables/serviceengines/servicemix-wsn2005/target/xbean/META-INF/spring.handlers 
>>>>>>>
>>>>>>> for namespace: http://servicemix.apache.org/wsn/1.0
>>>>>>> [INFO] Generating Spring 2.0 schema mapping:
>>>>>>>
>>>>>>> /Users/andrew/Work/servicemix-3.2/deployables/serviceengines/servicemix-wsn2005/target/xbean/META-INF/spring.schemas 
>>>>>>>
>>>>>>> for namespace: http://servicemix.apache.org/wsn/1.0
>>>>>>> [INFO] Generating HTML documentation file:
>>>>>>>
>>>>>>> /Users/andrew/Work/servicemix-3.2/deployables/serviceengines/servicemix-wsn2005/target/xbean/servicemix-wsn2005.xsd.html 
>>>>>>>
>>>>>>> for namespace: http://servicemix.apache.org/wsn/1.0
>>>>>>> [INFO] Generating XSD file:
>>>>>>>
>>>>>>> /Users/andrew/Work/servicemix-3.2/deployables/serviceengines/servicemix-wsn2005/target/xbean/servicemix-wsn2005.xsd 
>>>>>>>
>>>>>>> for namespace: http://servicemix.apache.org/wsn/1.0
>>>>>>> [INFO] Generating WIKI documentation file:
>>>>>>>
>>>>>>> /Users/andrew/Work/servicemix-3.2/deployables/serviceengines/servicemix-wsn2005/target/xbean/servicemix-wsn2005.xsd.wiki 
>>>>>>>
>>>>>>> for namespace: http://servicemix.apache.org/wsn/1.0
>>>>>>> Warning, could not load class: 
>>>>>>> org.springframework.core.io.Resource:
>>>>>>> java.lang.ExceptionInInitializerError
>>>>>>> [INFO] ...done.
>>>>>>> Downloading:
>>>>>>>
>>>>>>> http://people.apache.org/repo/m2-ibiblio-rsync-repository/xfire/saaj-impl/1.3/saaj-impl-1.3.pom 
>>>>>>>
>>>>>>> Downloading:
>>>>>>>
>>>>>>> http://svn.apache.org/repos/asf/servicemix/m2-repo/xfire/saaj-impl/1.3/saaj-impl-1.3.pom 
>>>>>>>
>>>>>>> Downloading:
>>>>>>>
>>>>>>> http://people.apache.org/repo/m2-incubating-repository/xfire/saaj-impl/1.3/saaj-impl-1.3.pom 
>>>>>>>
>>>>>>> Downloading:
>>>>>>> http://repository.codehaus.org/xfire/saaj-impl/1.3/saaj-impl-1.3.pom 
>>>>>>>
>>>>>>> Downloading:
>>>>>>> http://download.java.net/maven/1/xfire/poms/saaj-impl-1.3.pom
>>>>>>> Downloading:
>>>>>>> http://repo1.maven.org/maven2/xfire/saaj-impl/1.3/saaj-impl-1.3.pom
>>>>>>> Downloading:
>>>>>>>
>>>>>>> http://svn.apache.org/repos/asf/servicemix/m2-repo/xfire/saaj-impl/1.3/saaj-impl-1.3.pom 
>>>>>>>
>>>>>>> Downloading:
>>>>>>>
>>>>>>> http://people.apache.org/repo/m2-incubating-repository/xfire/saaj-impl/1.3/saaj-impl-1.3.pom 
>>>>>>>
>>>>>>> Downloading:
>>>>>>> http://repository.codehaus.org/xfire/saaj-impl/1.3/saaj-impl-1.3.pom 
>>>>>>>
>>>>>>> Downloading:
>>>>>>> http://download.java.net/maven/1/xfire/poms/saaj-impl-1.3.pom
>>>>>>> Downloading:
>>>>>>> http://repo1.maven.org/maven2/xfire/saaj-impl/1.3/saaj-impl-1.3.pom
>>>>>>> [INFO] [xfire:wsgen {execution: default}]
>>>>>>> [INFO] Executing XFire WsGen task with url:
>>>>>>>
>>>>>>> file:/Users/andrew/Work/servicemix-3.2/deployables/serviceengines/servicemix-wsn2005/src/main/resources/org/apache/servicemix/wsn/wsn.wsdl 
>>>>>>>
>>>>>>> [FATAL ERROR]
>>>>>>> org.apache.servicemix.maven.plugin.xfire.WsgenMojo#execute() 
>>>>>>> caused a
>>>>>>> linkage error (java.lang.NoClassDefFoundError) and may be 
>>>>>>> out-of-date.
>>>>>>> Check
>>>>>>> the realms:
>>>>>>> [FATAL ERROR] Plugin realm =
>>>>>>> app0.child-container[org.apache.servicemix.tooling:xfire-maven-plugin] 
>>>>>>>
>>>>>>> urls[0] =
>>>>>>>
>>>>>>> file:/Users/andrew/.m2/repository/org/apache/servicemix/tooling/xfire-maven-plugin/3.2.2-SNAPSHOT/xfire-maven-plugin-3.2.2-SNAPSHOT.jar 
>>>>>>>
>>>>>>> urls[1] =
>>>>>>>
>>>>>>> file:/Users/andrew/.m2/repository/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.jar 
>>>>>>>
>>>>>>> urls[2] =
>>>>>>>
>>>>>>> file:/Users/andrew/.m2/repository/org/apache/maven/maven-archiver/2.0.1/maven-archiver-2.0.1.jar 
>>>>>>>
>>>>>>> urls[3] =
>>>>>>>
>>>>>>> file:/Users/andrew/.m2/repository/org/codehaus/plexus/plexus-archiver/1.0-alpha-4/plexus-archiver-1.0-alpha-4.jar 
>>>>>>>
>>>>>>> urls[4] =
>>>>>>>
>>>>>>> file:/Users/andrew/.m2/repository/org/apache/maven/maven-script-ant/2.0.1/maven-script-ant-2.0.1.jar 
>>>>>>>
>>>>>>> urls[5] =
>>>>>>>
>>>>>>> file:/Users/andrew/.m2/repository/org/codehaus/plexus/plexus-ant-factory/1.0-alpha-1/plexus-ant-factory-1.0-alpha-1.jar 
>>>>>>>
>>>>>>> urls[6] =
>>>>>>>
>>>>>>> file:/Users/andrew/.m2/repository/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.jar 
>>>>>>>
>>>>>>> urls[7] = 
>>>>>>> file:/Users/andrew/.m2/repository/ant/ant/1.6.5/ant-1.6.5.jar
>>>>>>> urls[8] =
>>>>>>>
>>>>>>> file:/Users/andrew/.m2/repository/org/codehaus/xfire/xfire-generator/1.2.5/xfire-generator-1.2.5.jar 
>>>>>>>
>>>>>>> urls[9] =
>>>>>>>
>>>>>>> file:/Users/andrew/.m2/repository/org/codehaus/xfire/xfire-jaxb2/1.2.5/xfire-jaxb2-1.2.5.jar 
>>>>>>>
>>>>>>> urls[10] =
>>>>>>>
>>>>>>> file:/Users/andrew/.m2/repository/org/codehaus/xfire/xfire-aegis/1.2.5/xfire-aegis-1.2.5.jar 
>>>>>>>
>>>>>>> urls[11] =
>>>>>>>
>>>>>>> file:/Users/andrew/.m2/repository/org/codehaus/xfire/xfire-core/1.2.5/xfire-core-1.2.5.jar 
>>>>>>>
>>>>>>> urls[12] =
>>>>>>> file:/Users/andrew/.m2/repository/wsdl4j/wsdl4j/1.6.1/wsdl4j-1.6.1.jar 
>>>>>>>
>>>>>>> urls[13] =
>>>>>>>
>>>>>>> file:/Users/andrew/.m2/repository/jaxen/jaxen/1.1-beta-9/jaxen-1.1-beta-9.jar 
>>>>>>>
>>>>>>> urls[14] =
>>>>>>>
>>>>>>> file:/Users/andrew/.m2/repository/xerces/xercesImpl/2.8.1/xercesImpl-2.8.1.jar 
>>>>>>>
>>>>>>> urls[15] =
>>>>>>>
>>>>>>> file:/Users/andrew/.m2/repository/xml-apis/xml-apis/1.3.04/xml-apis-1.3.04.jar 
>>>>>>>
>>>>>>> urls[16] =
>>>>>>>
>>>>>>> file:/Users/andrew/.m2/repository/stax/stax-api/1.0.1/stax-api-1.0.1.jar 
>>>>>>>
>>>>>>> urls[17] =
>>>>>>>
>>>>>>> file:/Users/andrew/.m2/repository/commons-codec/commons-codec/1.3/commons-codec-1.3.jar 
>>>>>>>
>>>>>>> urls[18] =
>>>>>>>
>>>>>>> file:/Users/andrew/.m2/repository/org/apache/ws/commons/XmlSchema/1.1/XmlSchema-1.1.jar 
>>>>>>>
>>>>>>> urls[19] =
>>>>>>>
>>>>>>> file:/Users/andrew/.m2/repository/org/codehaus/woodstox/wstx-asl/3.2.2/wstx-asl-3.2.2.jar 
>>>>>>>
>>>>>>> urls[20] = 
>>>>>>> file:/Users/andrew/.m2/repository/jdom/jdom/1.0/jdom-1.0.jar
>>>>>>> urls[21] =
>>>>>>>
>>>>>>> file:/Users/andrew/.m2/repository/commons-logging/commons-logging/1.1/commons-logging-1.1.jar 
>>>>>>>
>>>>>>> urls[22] =
>>>>>>> file:/Users/andrew/.m2/repository/log4j/log4j/1.2.13/log4j-1.2.13.jar 
>>>>>>>
>>>>>>> urls[23] =
>>>>>>>
>>>>>>> file:/Users/andrew/.m2/repository/net/java/dev/stax-utils/stax-utils/20040917/stax-utils-20040917.jar 
>>>>>>>
>>>>>>> urls[24] =
>>>>>>>
>>>>>>> file:/Users/andrew/.m2/repository/org/codehaus/xfire/xfire-java5/1.2.5/xfire-java5-1.2.5.jar 
>>>>>>>
>>>>>>> urls[25] =
>>>>>>>
>>>>>>> file:/Users/andrew/.m2/repository/org/codehaus/xfire/xfire-annotations/1.2.5/xfire-annotations-1.2.5.jar 
>>>>>>>
>>>>>>> urls[26] =
>>>>>>>
>>>>>>> file:/Users/andrew/.m2/repository/commons-attributes/commons-attributes-api/2.1/commons-attributes-api-2.1.jar 
>>>>>>>
>>>>>>> urls[27] =
>>>>>>>
>>>>>>> file:/Users/andrew/.m2/repository/xfire/xfire-jsr181-api/1.0-M1/xfire-jsr181-api-1.0-M1.jar 
>>>>>>>
>>>>>>> urls[28] =
>>>>>>>
>>>>>>> file:/Users/andrew/.m2/repository/javax/xml/ws/jaxws-api/2.0/jaxws-api-2.0.jar 
>>>>>>>
>>>>>>> urls[29] =
>>>>>>>
>>>>>>> file:/Users/andrew/.m2/repository/javax/xml/bind/jaxb-api/2.0/jaxb-api-2.0.jar 
>>>>>>>
>>>>>>> urls[30] =
>>>>>>>
>>>>>>> file:/Users/andrew/.m2/repository/javax/xml/bind/jsr173_api/1.0/jsr173_api-1.0.jar 
>>>>>>>
>>>>>>> urls[31] =
>>>>>>>
>>>>>>> file:/Users/andrew/.m2/repository/org/codehaus/xfire/xfire-xmlbeans/1.2.5/xfire-xmlbeans-1.2.5.jar 
>>>>>>>
>>>>>>> urls[32] =
>>>>>>> file:/Users/andrew/.m2/repository/xmlbeans/xbean/2.1.0/xbean-2.1.0.jar 
>>>>>>>
>>>>>>> urls[33] =
>>>>>>>
>>>>>>> file:/Users/andrew/.m2/repository/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar 
>>>>>>>
>>>>>>> urls[34] = 
>>>>>>> file:/Users/andrew/.m2/repository/qdox/qdox/1.5/qdox-1.5.jar
>>>>>>> urls[35] =
>>>>>>>
>>>>>>> file:/Users/andrew/.m2/repository/org/codehaus/xfire/xfire-spring/1.2.5/xfire-spring-1.2.5.jar 
>>>>>>>
>>>>>>> urls[36] =
>>>>>>>
>>>>>>> file:/Users/andrew/.m2/repository/org/apache/xbean/xbean-spring/3.2/xbean-spring-3.2.jar 
>>>>>>>
>>>>>>> urls[37] =
>>>>>>>
>>>>>>> file:/Users/andrew/.m2/repository/org/springframework/spring/2.0.6/spring-2.0.6.jar 
>>>>>>>
>>>>>>> urls[38] =
>>>>>>>
>>>>>>> file:/Users/andrew/.m2/repository/javax/activation/activation/1.1/activation-1.1.jar 
>>>>>>>
>>>>>>> urls[39] =
>>>>>>> file:/Users/andrew/.m2/repository/javax/mail/mail/1.4/mail-1.4.jar
>>>>>>> urls[40] =
>>>>>>>
>>>>>>> file:/Users/andrew/.m2/repository/commons-httpclient/commons-httpclient/3.0/commons-httpclient-3.0.jar 
>>>>>>>
>>>>>>> urls[41] =
>>>>>>>
>>>>>>> file:/Users/andrew/.m2/repository/org/codehaus/xfire/xfire-jaxws/1.2.5/xfire-jaxws-1.2.5.jar 
>>>>>>>
>>>>>>> urls[42] =
>>>>>>> file:/Users/andrew/.m2/repository/xfire/saaj-impl/1.3/saaj-impl-1.3.jar 
>>>>>>>
>>>>>>> urls[43] =
>>>>>>>
>>>>>>> file:/Users/andrew/.m2/repository/javax/xml/soap/saaj-api/1.3/saaj-api-1.3.jar 
>>>>>>>
>>>>>>> urls[44] =
>>>>>>>
>>>>>>> file:/Users/andrew/.m2/repository/javax/servlet/servlet-api/2.3/servlet-api-2.3.jar 
>>>>>>>
>>>>>>> urls[45] =
>>>>>>>
>>>>>>> file:/Users/andrew/.m2/repository/com/sun/xml/bind/jaxb-impl/2.0.1/jaxb-impl-2.0.1.jar 
>>>>>>>
>>>>>>> urls[46] =
>>>>>>>
>>>>>>> file:/Users/andrew/.m2/repository/javax/xml/jaxb-api/2.0/jaxb-api-2.0.jar 
>>>>>>>
>>>>>>> [FATAL ERROR] Container realm = plexus.core
>>>>>>> urls[0] = 
>>>>>>> file:/opt/local/share/java/maven2/lib/maven-2.0.9-uber.jar
>>>>>>> [INFO]
>>>>>>>
>>>>>>> ------------------------------------------------------------------------ 
>>>>>>>
>>>>>>> [ERROR] FATAL ERROR
>>>>>>> [INFO]
>>>>>>>
>>>>>>> ------------------------------------------------------------------------ 
>>>>>>>
>>>>>>> [INFO] com/sun/codemodel/JCodeModel
>>>>>>> com.sun.codemodel.JCodeModel
>>>>>>> [INFO]
>>>>>>>
>>>>>>> ------------------------------------------------------------------------ 
>>>>>>>
>>>>>>> [INFO] Trace
>>>>>>> java.lang.NoClassDefFoundError: com/sun/codemodel/JCodeModel
>>>>>>> at
>>>>>>> org.codehaus.xfire.gen.Wsdl11Generator.<init>(Wsdl11Generator.java:51) 
>>>>>>>
>>>>>>> at org.codehaus.xfire.gen.WsGenTask.execute(WsGenTask.java:50)
>>>>>>> at
>>>>>>>
>>>>>>> org.apache.servicemix.maven.plugin.xfire.WsgenMojo.exec(WsgenMojo.java:190) 
>>>>>>>
>>>>>>> at
>>>>>>>
>>>>>>> org.apache.servicemix.maven.plugin.xfire.WsgenMojo.execute(WsgenMojo.java:105) 
>>>>>>>
>>>>>>> at
>>>>>>>
>>>>>>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451) 
>>>>>>>
>>>>>>> at
>>>>>>>
>>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558) 
>>>>>>>
>>>>>>> at
>>>>>>>
>>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499) 
>>>>>>>
>>>>>>> at
>>>>>>>
>>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478) 
>>>>>>>
>>>>>>> at
>>>>>>>
>>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330) 
>>>>>>>
>>>>>>> at
>>>>>>>
>>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291) 
>>>>>>>
>>>>>>> at
>>>>>>>
>>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142) 
>>>>>>>
>>>>>>> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
>>>>>>> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
>>>>>>> at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
>>>>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>>>> at
>>>>>>>
>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
>>>>>>>
>>>>>>> at
>>>>>>>
>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 
>>>>>>>
>>>>>>> at java.lang.reflect.Method.invoke(Method.java:597)
>>>>>>> at 
>>>>>>> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>>>>>>> at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>>>>>>> at
>>>>>>> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) 
>>>>>>>
>>>>>>> at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
>>>>>>> Caused by: java.lang.ClassNotFoundException:
>>>>>>> com.sun.codemodel.JCodeModel
>>>>>>> at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>>>>>>> at java.security.AccessController.doPrivileged(Native Method)
>>>>>>> at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>>>>>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:316)
>>>>>>> at
>>>>>>>
>>>>>>> org.codehaus.classworlds.RealmClassLoader.loadClassDirect(RealmClassLoader.java:195) 
>>>>>>>
>>>>>>> at
>>>>>>>
>>>>>>> org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:255) 
>>>>>>>
>>>>>>> at
>>>>>>>
>>>>>>> org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:274) 
>>>>>>>
>>>>>>> at
>>>>>>>
>>>>>>> org.codehaus.classworlds.RealmClassLoader.loadClass(RealmClassLoader.java:214) 
>>>>>>>
>>>>>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>>>>>>> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374)
>>>>>>> ... 22 more
>>>>>>> [INFO]
>>>>>>>
>>>>>>> ------------------------------------------------------------------------ 
>>>>>>>
>>>>>>> [INFO] Total time: 1 minute 15 seconds
>>>>>>> [INFO] Finished at: Fri May 09 15:41:09 IDT 2008
>>>>>>> [INFO] Final Memory: 28M/66M
>>>>>>> [INFO]
>>>>>>>
>>>>>>> ------------------------------------------------------------------------ 
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>> -- 
>>>>>> ===========================================
>>>>>> *Optaros, Inc.*
>>>>>>
>>>>>> 333 Bryant Street - Suite 110
>>>>>> San Francisco, CA 94107
>>>>>>
>>>>>> Corporate Headquarter:
>>>>>> 10 Milk Street - 11th Floor
>>>>>> Boston, MA 02108
>>>>>>
>>>>>> cell:  +1 (650) 430-4499
>>>>>> voice: +1 (617) 227-1855 x8129
>>>>>> ===========================================
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>> -- 
>>>> Cheers,
>>>> Guillaume Nodet
>>>> ------------------------
>>>> Blog: http://gnodet.blogspot.com/
>>>
>>>
>>
>>
>>
>> -- 
>> Cheers,
>> Guillaume Nodet
>> ------------------------
>> Blog: http://gnodet.blogspot.com/
>

-- 
===========================================
*Optaros, Inc.*

333 Bryant Street - Suite 110
San Francisco, CA 94107

Corporate Headquarter:
10 Milk Street - 11th Floor
Boston, MA 02108

cell:  +1 (650) 430-4499
voice: +1 (617) 227-1855 x8129
===========================================

Re: servicemix-3.2.2 does not compile on OSX 10.5

Posted by Guillaume Nodet <gn...@gmail.com>.
FTR, I've just fixed it so that it works on maven 2.0.9.

On Mon, May 12, 2008 at 9:27 PM, Bruce Snyder <br...@gmail.com> wrote:
> On Fri, May 9, 2008 at 4:52 PM, Uli Romahn <ur...@optaros.com> wrote:
>> It was Maven!!
>>
>> I installed 2.0.8 and the build ran successfully!
>>
>> This should be noted on the website under "Building".
>>
>> Also, with Sun SDK 6u6, I had to increase the permSize and max heap size
>> with the following option:
>> export MAVEN_OPTS="-Xmx768m -XX:MaxPermSize=256m"
>>
>> as I was experiencing an OutOfMemoryException indicating that the JVM ran
>> out of PermSize.
>
> Added to the wiki. Thanks!
>
> Bruce
> --
> perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
> );'
>
> Apache ActiveMQ - http://activemq.org/
> Apache Camel - http://activemq.org/camel/
> Apache ServiceMix - http://servicemix.org/
> Apache Geronimo - http://geronimo.apache.org/
>
> Blog: http://bruceblog.org/
>



-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/

Re: servicemix-3.2.2 does not compile on OSX 10.5

Posted by Bruce Snyder <br...@gmail.com>.
On Fri, May 9, 2008 at 4:52 PM, Uli Romahn <ur...@optaros.com> wrote:
> It was Maven!!
>
> I installed 2.0.8 and the build ran successfully!
>
> This should be noted on the website under "Building".
>
> Also, with Sun SDK 6u6, I had to increase the permSize and max heap size
> with the following option:
> export MAVEN_OPTS="-Xmx768m -XX:MaxPermSize=256m"
>
> as I was experiencing an OutOfMemoryException indicating that the JVM ran
> out of PermSize.

Added to the wiki. Thanks!

Bruce
-- 
perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

Apache ActiveMQ - http://activemq.org/
Apache Camel - http://activemq.org/camel/
Apache ServiceMix - http://servicemix.org/
Apache Geronimo - http://geronimo.apache.org/

Blog: http://bruceblog.org/

Re: servicemix-3.2.2 does not compile on OSX 10.5

Posted by Uli Romahn <ur...@optaros.com>.
It was Maven!!

I installed 2.0.8 and the build ran successfully!

This should be noted on the website under "Building".

Also, with Sun SDK 6u6, I had to increase the permSize and max heap size 
with the following option:
export MAVEN_OPTS="-Xmx768m -XX:MaxPermSize=256m"

as I was experiencing an OutOfMemoryException indicating that the JVM 
ran out of PermSize.

I hope that helps all future "builder" like us.

-Uli

Andrew Skiba wrote:
> the only way to know is to install 2.0.9 on your box :-)
>
> On May 9, 2008, at 23:54, Guillaume Nodet wrote:
>
>> Ah, that may be maven.   I use 2.0.8.
>>
>> On Fri, May 9, 2008 at 10:26 PM, Andrew Skiba <sk...@gmail.com> wrote:
>>> I have OSX 10.5.2 build 9c7010
>>>
>>> And I tried both
>>>
>>> java 1.5.0_13-b05-237
>>> java 1.6.0_05-b13-120
>>>
>>> BTW, I could not use maven 2.0.6 which came with XCode, and 
>>> installed 2.0.9
>>> by MacPorts to finish the build.
>>>
>>>
>>>
>>>
>>> On May 9, 2008, at 21:48, Guillaume Nodet wrote:
>>>
>>>> I have no problems on Os X 10.4.
>>>> Do you compile sing JDK 5 or JDK 6 ?
>>>>
>>>> On Fri, May 9, 2008 at 7:52 PM, Andrew Skiba <sk...@gmail.com> wrote:
>>>>>
>>>>> Uli,
>>>>>
>>>>> Thanks for your reply.
>>>>>
>>>>> I compiled 3.2.2 after excluding wsn2005 and samples. Still it's 
>>>>> strange
>>>>> only you and me have this problem, the question is what is so 
>>>>> special in
>>>>> our
>>>>> environments?
>>>>>
>>>>> Andrew.
>>>>>
>>>>> On May 9, 2008, at 18:20, Uli Romahn wrote:
>>>>>
>>>>>> Andrew,
>>>>>>
>>>>>> I got the exact same error message when trying to build 3.2.1 on
>>>>>> openSUSE
>>>>>> 10.3 (Linux) after checking it out using the SVN tag 
>>>>>> 'servicemix-3.2.1'.
>>>>>> The error persisted regardless what Java SDK I used - I tried it 
>>>>>> with
>>>>>> SDK6u5, JDK1.5, and even IBM SDK6.
>>>>>>
>>>>>> After a day I gave up and checked out the HEAD from trunk and got it
>>>>>> build
>>>>>> without a hitch.
>>>>>> I suspect that there are some dependencies mixed up in some 
>>>>>> versions, be
>>>>>> it from SVN or from the SNAPSHOT tars.
>>>>>>
>>>>>> Good luck,
>>>>>> -Uli
>>>>>>
>>>>>> Andrew Skiba wrote:
>>>>>>>
>>>>>>> I'm trying to compile
>>>>>>>
>>>>>>> http://svn.apache.org/repos/asf/servicemix/smx3/branches/servicemix-3.2/deployables/serviceengines/servicemix-wsn2005, 
>>>>>>>
>>>>>>> and get the following error. I suppose the problem is missing
>>>>>>> com/sun/codemodel/JCodeModel class, may be it does not exist in OSX
>>>>>>> JVM. Is
>>>>>>> there anyone using OSX?
>>>>>>>
>>>>>>> Thank you,
>>>>>>>
>>>>>>> Andrew.
>>>>>>>
>>>>>>> [INFO] Scanning for projects...
>>>>>>> [INFO]
>>>>>>>
>>>>>>> ------------------------------------------------------------------------ 
>>>>>>>
>>>>>>> [INFO] Building ServiceMix :: WS-Notification Service Engine
>>>>>>> [INFO]    task-segment: [install]
>>>>>>> [INFO]
>>>>>>>
>>>>>>> ------------------------------------------------------------------------ 
>>>>>>>
>>>>>>> [INFO] snapshot 
>>>>>>> org.apache.servicemix:sharedlibraries:3.2.2-SNAPSHOT:
>>>>>>> checking for updates from servicemix-m2-repo
>>>>>>> [INFO] snapshot 
>>>>>>> org.apache.servicemix:sharedlibraries:3.2.2-SNAPSHOT:
>>>>>>> checking for updates from apache-snapshots
>>>>>>> [INFO] snapshot 
>>>>>>> org.apache.servicemix:sharedlibraries:3.2.2-SNAPSHOT:
>>>>>>> checking for updates from codehaus
>>>>>>> [INFO] snapshot 
>>>>>>> org.apache.servicemix:sharedlibraries:3.2.2-SNAPSHOT:
>>>>>>> checking for updates from java.net
>>>>>>> [INFO] snapshot 
>>>>>>> org.apache.servicemix:sharedlibraries:3.2.2-SNAPSHOT:
>>>>>>> checking for updates from apache.snapshots
>>>>>>> [INFO] snapshot org.apache.servicemix:deployables:3.2.2-SNAPSHOT:
>>>>>>> checking for updates from servicemix-m2-repo
>>>>>>> [INFO] snapshot org.apache.servicemix:deployables:3.2.2-SNAPSHOT:
>>>>>>> checking for updates from apache-snapshots
>>>>>>> [INFO] snapshot org.apache.servicemix:deployables:3.2.2-SNAPSHOT:
>>>>>>> checking for updates from codehaus
>>>>>>> [INFO] snapshot org.apache.servicemix:deployables:3.2.2-SNAPSHOT:
>>>>>>> checking for updates from java.net
>>>>>>> [INFO] snapshot org.apache.servicemix:deployables:3.2.2-SNAPSHOT:
>>>>>>> checking for updates from apache.snapshots
>>>>>>> Downloading:
>>>>>>>
>>>>>>> http://svn.apache.org/repos/asf/servicemix/m2-repo/org/apache/ws/security/wss4j/1.5.2/wss4j-1.5.2.pom 
>>>>>>>
>>>>>>> Downloading:
>>>>>>>
>>>>>>> http://people.apache.org/repo/m2-incubating-repository/org/apache/ws/security/wss4j/1.5.2/wss4j-1.5.2.pom 
>>>>>>>
>>>>>>> Downloading:
>>>>>>>
>>>>>>> http://repository.codehaus.org/org/apache/ws/security/wss4j/1.5.2/wss4j-1.5.2.pom 
>>>>>>>
>>>>>>> Downloading:
>>>>>>>
>>>>>>> http://download.java.net/maven/1/org.apache.ws.security/poms/wss4j-1.5.2.pom 
>>>>>>>
>>>>>>> Downloading:
>>>>>>>
>>>>>>> http://repo1.maven.org/maven2/org/apache/ws/security/wss4j/1.5.2/wss4j-1.5.2.pom 
>>>>>>>
>>>>>>> Downloading:
>>>>>>>
>>>>>>> http://svn.apache.org/repos/asf/servicemix/m2-repo/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom 
>>>>>>>
>>>>>>> Downloading:
>>>>>>>
>>>>>>> http://people.apache.org/repo/m2-incubating-repository/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom 
>>>>>>>
>>>>>>> Downloading:
>>>>>>>
>>>>>>> http://repository.codehaus.org/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom 
>>>>>>>
>>>>>>> Downloading:
>>>>>>> http://download.java.net/maven/1/xml-security/poms/xmlsec-1.3.0.pom
>>>>>>> Downloading:
>>>>>>>
>>>>>>> http://repo1.maven.org/maven2/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom 
>>>>>>>
>>>>>>> [INFO] [xbean:mapping {execution: default}]
>>>>>>> [INFO] Generating META-INF properties file:
>>>>>>>
>>>>>>> /Users/andrew/Work/servicemix-3.2/deployables/serviceengines/servicemix-wsn2005/target/xbean/META-INF/services/org/apache/xbean/spring/http/servicemix.apache.org/wsn/1.0 
>>>>>>>
>>>>>>> for namespace: http://servicemix.apache.org/wsn/1.0
>>>>>>> [INFO] Generating Spring 2.0 handler mapping:
>>>>>>>
>>>>>>> /Users/andrew/Work/servicemix-3.2/deployables/serviceengines/servicemix-wsn2005/target/xbean/META-INF/spring.handlers 
>>>>>>>
>>>>>>> for namespace: http://servicemix.apache.org/wsn/1.0
>>>>>>> [INFO] Generating Spring 2.0 schema mapping:
>>>>>>>
>>>>>>> /Users/andrew/Work/servicemix-3.2/deployables/serviceengines/servicemix-wsn2005/target/xbean/META-INF/spring.schemas 
>>>>>>>
>>>>>>> for namespace: http://servicemix.apache.org/wsn/1.0
>>>>>>> [INFO] Generating HTML documentation file:
>>>>>>>
>>>>>>> /Users/andrew/Work/servicemix-3.2/deployables/serviceengines/servicemix-wsn2005/target/xbean/servicemix-wsn2005.xsd.html 
>>>>>>>
>>>>>>> for namespace: http://servicemix.apache.org/wsn/1.0
>>>>>>> [INFO] Generating XSD file:
>>>>>>>
>>>>>>> /Users/andrew/Work/servicemix-3.2/deployables/serviceengines/servicemix-wsn2005/target/xbean/servicemix-wsn2005.xsd 
>>>>>>>
>>>>>>> for namespace: http://servicemix.apache.org/wsn/1.0
>>>>>>> [INFO] Generating WIKI documentation file:
>>>>>>>
>>>>>>> /Users/andrew/Work/servicemix-3.2/deployables/serviceengines/servicemix-wsn2005/target/xbean/servicemix-wsn2005.xsd.wiki 
>>>>>>>
>>>>>>> for namespace: http://servicemix.apache.org/wsn/1.0
>>>>>>> Warning, could not load class: 
>>>>>>> org.springframework.core.io.Resource:
>>>>>>> java.lang.ExceptionInInitializerError
>>>>>>> [INFO] ...done.
>>>>>>> Downloading:
>>>>>>>
>>>>>>> http://people.apache.org/repo/m2-ibiblio-rsync-repository/xfire/saaj-impl/1.3/saaj-impl-1.3.pom 
>>>>>>>
>>>>>>> Downloading:
>>>>>>>
>>>>>>> http://svn.apache.org/repos/asf/servicemix/m2-repo/xfire/saaj-impl/1.3/saaj-impl-1.3.pom 
>>>>>>>
>>>>>>> Downloading:
>>>>>>>
>>>>>>> http://people.apache.org/repo/m2-incubating-repository/xfire/saaj-impl/1.3/saaj-impl-1.3.pom 
>>>>>>>
>>>>>>> Downloading:
>>>>>>> http://repository.codehaus.org/xfire/saaj-impl/1.3/saaj-impl-1.3.pom 
>>>>>>>
>>>>>>> Downloading:
>>>>>>> http://download.java.net/maven/1/xfire/poms/saaj-impl-1.3.pom
>>>>>>> Downloading:
>>>>>>> http://repo1.maven.org/maven2/xfire/saaj-impl/1.3/saaj-impl-1.3.pom
>>>>>>> Downloading:
>>>>>>>
>>>>>>> http://svn.apache.org/repos/asf/servicemix/m2-repo/xfire/saaj-impl/1.3/saaj-impl-1.3.pom 
>>>>>>>
>>>>>>> Downloading:
>>>>>>>
>>>>>>> http://people.apache.org/repo/m2-incubating-repository/xfire/saaj-impl/1.3/saaj-impl-1.3.pom 
>>>>>>>
>>>>>>> Downloading:
>>>>>>> http://repository.codehaus.org/xfire/saaj-impl/1.3/saaj-impl-1.3.pom 
>>>>>>>
>>>>>>> Downloading:
>>>>>>> http://download.java.net/maven/1/xfire/poms/saaj-impl-1.3.pom
>>>>>>> Downloading:
>>>>>>> http://repo1.maven.org/maven2/xfire/saaj-impl/1.3/saaj-impl-1.3.pom
>>>>>>> [INFO] [xfire:wsgen {execution: default}]
>>>>>>> [INFO] Executing XFire WsGen task with url:
>>>>>>>
>>>>>>> file:/Users/andrew/Work/servicemix-3.2/deployables/serviceengines/servicemix-wsn2005/src/main/resources/org/apache/servicemix/wsn/wsn.wsdl 
>>>>>>>
>>>>>>> [FATAL ERROR]
>>>>>>> org.apache.servicemix.maven.plugin.xfire.WsgenMojo#execute() 
>>>>>>> caused a
>>>>>>> linkage error (java.lang.NoClassDefFoundError) and may be 
>>>>>>> out-of-date.
>>>>>>> Check
>>>>>>> the realms:
>>>>>>> [FATAL ERROR] Plugin realm =
>>>>>>> app0.child-container[org.apache.servicemix.tooling:xfire-maven-plugin] 
>>>>>>>
>>>>>>> urls[0] =
>>>>>>>
>>>>>>> file:/Users/andrew/.m2/repository/org/apache/servicemix/tooling/xfire-maven-plugin/3.2.2-SNAPSHOT/xfire-maven-plugin-3.2.2-SNAPSHOT.jar 
>>>>>>>
>>>>>>> urls[1] =
>>>>>>>
>>>>>>> file:/Users/andrew/.m2/repository/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.jar 
>>>>>>>
>>>>>>> urls[2] =
>>>>>>>
>>>>>>> file:/Users/andrew/.m2/repository/org/apache/maven/maven-archiver/2.0.1/maven-archiver-2.0.1.jar 
>>>>>>>
>>>>>>> urls[3] =
>>>>>>>
>>>>>>> file:/Users/andrew/.m2/repository/org/codehaus/plexus/plexus-archiver/1.0-alpha-4/plexus-archiver-1.0-alpha-4.jar 
>>>>>>>
>>>>>>> urls[4] =
>>>>>>>
>>>>>>> file:/Users/andrew/.m2/repository/org/apache/maven/maven-script-ant/2.0.1/maven-script-ant-2.0.1.jar 
>>>>>>>
>>>>>>> urls[5] =
>>>>>>>
>>>>>>> file:/Users/andrew/.m2/repository/org/codehaus/plexus/plexus-ant-factory/1.0-alpha-1/plexus-ant-factory-1.0-alpha-1.jar 
>>>>>>>
>>>>>>> urls[6] =
>>>>>>>
>>>>>>> file:/Users/andrew/.m2/repository/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.jar 
>>>>>>>
>>>>>>> urls[7] = 
>>>>>>> file:/Users/andrew/.m2/repository/ant/ant/1.6.5/ant-1.6.5.jar
>>>>>>> urls[8] =
>>>>>>>
>>>>>>> file:/Users/andrew/.m2/repository/org/codehaus/xfire/xfire-generator/1.2.5/xfire-generator-1.2.5.jar 
>>>>>>>
>>>>>>> urls[9] =
>>>>>>>
>>>>>>> file:/Users/andrew/.m2/repository/org/codehaus/xfire/xfire-jaxb2/1.2.5/xfire-jaxb2-1.2.5.jar 
>>>>>>>
>>>>>>> urls[10] =
>>>>>>>
>>>>>>> file:/Users/andrew/.m2/repository/org/codehaus/xfire/xfire-aegis/1.2.5/xfire-aegis-1.2.5.jar 
>>>>>>>
>>>>>>> urls[11] =
>>>>>>>
>>>>>>> file:/Users/andrew/.m2/repository/org/codehaus/xfire/xfire-core/1.2.5/xfire-core-1.2.5.jar 
>>>>>>>
>>>>>>> urls[12] =
>>>>>>> file:/Users/andrew/.m2/repository/wsdl4j/wsdl4j/1.6.1/wsdl4j-1.6.1.jar 
>>>>>>>
>>>>>>> urls[13] =
>>>>>>>
>>>>>>> file:/Users/andrew/.m2/repository/jaxen/jaxen/1.1-beta-9/jaxen-1.1-beta-9.jar 
>>>>>>>
>>>>>>> urls[14] =
>>>>>>>
>>>>>>> file:/Users/andrew/.m2/repository/xerces/xercesImpl/2.8.1/xercesImpl-2.8.1.jar 
>>>>>>>
>>>>>>> urls[15] =
>>>>>>>
>>>>>>> file:/Users/andrew/.m2/repository/xml-apis/xml-apis/1.3.04/xml-apis-1.3.04.jar 
>>>>>>>
>>>>>>> urls[16] =
>>>>>>>
>>>>>>> file:/Users/andrew/.m2/repository/stax/stax-api/1.0.1/stax-api-1.0.1.jar 
>>>>>>>
>>>>>>> urls[17] =
>>>>>>>
>>>>>>> file:/Users/andrew/.m2/repository/commons-codec/commons-codec/1.3/commons-codec-1.3.jar 
>>>>>>>
>>>>>>> urls[18] =
>>>>>>>
>>>>>>> file:/Users/andrew/.m2/repository/org/apache/ws/commons/XmlSchema/1.1/XmlSchema-1.1.jar 
>>>>>>>
>>>>>>> urls[19] =
>>>>>>>
>>>>>>> file:/Users/andrew/.m2/repository/org/codehaus/woodstox/wstx-asl/3.2.2/wstx-asl-3.2.2.jar 
>>>>>>>
>>>>>>> urls[20] = 
>>>>>>> file:/Users/andrew/.m2/repository/jdom/jdom/1.0/jdom-1.0.jar
>>>>>>> urls[21] =
>>>>>>>
>>>>>>> file:/Users/andrew/.m2/repository/commons-logging/commons-logging/1.1/commons-logging-1.1.jar 
>>>>>>>
>>>>>>> urls[22] =
>>>>>>> file:/Users/andrew/.m2/repository/log4j/log4j/1.2.13/log4j-1.2.13.jar 
>>>>>>>
>>>>>>> urls[23] =
>>>>>>>
>>>>>>> file:/Users/andrew/.m2/repository/net/java/dev/stax-utils/stax-utils/20040917/stax-utils-20040917.jar 
>>>>>>>
>>>>>>> urls[24] =
>>>>>>>
>>>>>>> file:/Users/andrew/.m2/repository/org/codehaus/xfire/xfire-java5/1.2.5/xfire-java5-1.2.5.jar 
>>>>>>>
>>>>>>> urls[25] =
>>>>>>>
>>>>>>> file:/Users/andrew/.m2/repository/org/codehaus/xfire/xfire-annotations/1.2.5/xfire-annotations-1.2.5.jar 
>>>>>>>
>>>>>>> urls[26] =
>>>>>>>
>>>>>>> file:/Users/andrew/.m2/repository/commons-attributes/commons-attributes-api/2.1/commons-attributes-api-2.1.jar 
>>>>>>>
>>>>>>> urls[27] =
>>>>>>>
>>>>>>> file:/Users/andrew/.m2/repository/xfire/xfire-jsr181-api/1.0-M1/xfire-jsr181-api-1.0-M1.jar 
>>>>>>>
>>>>>>> urls[28] =
>>>>>>>
>>>>>>> file:/Users/andrew/.m2/repository/javax/xml/ws/jaxws-api/2.0/jaxws-api-2.0.jar 
>>>>>>>
>>>>>>> urls[29] =
>>>>>>>
>>>>>>> file:/Users/andrew/.m2/repository/javax/xml/bind/jaxb-api/2.0/jaxb-api-2.0.jar 
>>>>>>>
>>>>>>> urls[30] =
>>>>>>>
>>>>>>> file:/Users/andrew/.m2/repository/javax/xml/bind/jsr173_api/1.0/jsr173_api-1.0.jar 
>>>>>>>
>>>>>>> urls[31] =
>>>>>>>
>>>>>>> file:/Users/andrew/.m2/repository/org/codehaus/xfire/xfire-xmlbeans/1.2.5/xfire-xmlbeans-1.2.5.jar 
>>>>>>>
>>>>>>> urls[32] =
>>>>>>> file:/Users/andrew/.m2/repository/xmlbeans/xbean/2.1.0/xbean-2.1.0.jar 
>>>>>>>
>>>>>>> urls[33] =
>>>>>>>
>>>>>>> file:/Users/andrew/.m2/repository/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar 
>>>>>>>
>>>>>>> urls[34] = 
>>>>>>> file:/Users/andrew/.m2/repository/qdox/qdox/1.5/qdox-1.5.jar
>>>>>>> urls[35] =
>>>>>>>
>>>>>>> file:/Users/andrew/.m2/repository/org/codehaus/xfire/xfire-spring/1.2.5/xfire-spring-1.2.5.jar 
>>>>>>>
>>>>>>> urls[36] =
>>>>>>>
>>>>>>> file:/Users/andrew/.m2/repository/org/apache/xbean/xbean-spring/3.2/xbean-spring-3.2.jar 
>>>>>>>
>>>>>>> urls[37] =
>>>>>>>
>>>>>>> file:/Users/andrew/.m2/repository/org/springframework/spring/2.0.6/spring-2.0.6.jar 
>>>>>>>
>>>>>>> urls[38] =
>>>>>>>
>>>>>>> file:/Users/andrew/.m2/repository/javax/activation/activation/1.1/activation-1.1.jar 
>>>>>>>
>>>>>>> urls[39] =
>>>>>>> file:/Users/andrew/.m2/repository/javax/mail/mail/1.4/mail-1.4.jar
>>>>>>> urls[40] =
>>>>>>>
>>>>>>> file:/Users/andrew/.m2/repository/commons-httpclient/commons-httpclient/3.0/commons-httpclient-3.0.jar 
>>>>>>>
>>>>>>> urls[41] =
>>>>>>>
>>>>>>> file:/Users/andrew/.m2/repository/org/codehaus/xfire/xfire-jaxws/1.2.5/xfire-jaxws-1.2.5.jar 
>>>>>>>
>>>>>>> urls[42] =
>>>>>>> file:/Users/andrew/.m2/repository/xfire/saaj-impl/1.3/saaj-impl-1.3.jar 
>>>>>>>
>>>>>>> urls[43] =
>>>>>>>
>>>>>>> file:/Users/andrew/.m2/repository/javax/xml/soap/saaj-api/1.3/saaj-api-1.3.jar 
>>>>>>>
>>>>>>> urls[44] =
>>>>>>>
>>>>>>> file:/Users/andrew/.m2/repository/javax/servlet/servlet-api/2.3/servlet-api-2.3.jar 
>>>>>>>
>>>>>>> urls[45] =
>>>>>>>
>>>>>>> file:/Users/andrew/.m2/repository/com/sun/xml/bind/jaxb-impl/2.0.1/jaxb-impl-2.0.1.jar 
>>>>>>>
>>>>>>> urls[46] =
>>>>>>>
>>>>>>> file:/Users/andrew/.m2/repository/javax/xml/jaxb-api/2.0/jaxb-api-2.0.jar 
>>>>>>>
>>>>>>> [FATAL ERROR] Container realm = plexus.core
>>>>>>> urls[0] = 
>>>>>>> file:/opt/local/share/java/maven2/lib/maven-2.0.9-uber.jar
>>>>>>> [INFO]
>>>>>>>
>>>>>>> ------------------------------------------------------------------------ 
>>>>>>>
>>>>>>> [ERROR] FATAL ERROR
>>>>>>> [INFO]
>>>>>>>
>>>>>>> ------------------------------------------------------------------------ 
>>>>>>>
>>>>>>> [INFO] com/sun/codemodel/JCodeModel
>>>>>>> com.sun.codemodel.JCodeModel
>>>>>>> [INFO]
>>>>>>>
>>>>>>> ------------------------------------------------------------------------ 
>>>>>>>
>>>>>>> [INFO] Trace
>>>>>>> java.lang.NoClassDefFoundError: com/sun/codemodel/JCodeModel
>>>>>>> at
>>>>>>> org.codehaus.xfire.gen.Wsdl11Generator.<init>(Wsdl11Generator.java:51) 
>>>>>>>
>>>>>>> at org.codehaus.xfire.gen.WsGenTask.execute(WsGenTask.java:50)
>>>>>>> at
>>>>>>>
>>>>>>> org.apache.servicemix.maven.plugin.xfire.WsgenMojo.exec(WsgenMojo.java:190) 
>>>>>>>
>>>>>>> at
>>>>>>>
>>>>>>> org.apache.servicemix.maven.plugin.xfire.WsgenMojo.execute(WsgenMojo.java:105) 
>>>>>>>
>>>>>>> at
>>>>>>>
>>>>>>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451) 
>>>>>>>
>>>>>>> at
>>>>>>>
>>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558) 
>>>>>>>
>>>>>>> at
>>>>>>>
>>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499) 
>>>>>>>
>>>>>>> at
>>>>>>>
>>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478) 
>>>>>>>
>>>>>>> at
>>>>>>>
>>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330) 
>>>>>>>
>>>>>>> at
>>>>>>>
>>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291) 
>>>>>>>
>>>>>>> at
>>>>>>>
>>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142) 
>>>>>>>
>>>>>>> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
>>>>>>> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
>>>>>>> at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
>>>>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>>>> at
>>>>>>>
>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
>>>>>>>
>>>>>>> at
>>>>>>>
>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 
>>>>>>>
>>>>>>> at java.lang.reflect.Method.invoke(Method.java:597)
>>>>>>> at 
>>>>>>> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>>>>>>> at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>>>>>>> at
>>>>>>> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) 
>>>>>>>
>>>>>>> at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
>>>>>>> Caused by: java.lang.ClassNotFoundException:
>>>>>>> com.sun.codemodel.JCodeModel
>>>>>>> at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>>>>>>> at java.security.AccessController.doPrivileged(Native Method)
>>>>>>> at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>>>>>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:316)
>>>>>>> at
>>>>>>>
>>>>>>> org.codehaus.classworlds.RealmClassLoader.loadClassDirect(RealmClassLoader.java:195) 
>>>>>>>
>>>>>>> at
>>>>>>>
>>>>>>> org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:255) 
>>>>>>>
>>>>>>> at
>>>>>>>
>>>>>>> org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:274) 
>>>>>>>
>>>>>>> at
>>>>>>>
>>>>>>> org.codehaus.classworlds.RealmClassLoader.loadClass(RealmClassLoader.java:214) 
>>>>>>>
>>>>>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>>>>>>> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374)
>>>>>>> ... 22 more
>>>>>>> [INFO]
>>>>>>>
>>>>>>> ------------------------------------------------------------------------ 
>>>>>>>
>>>>>>> [INFO] Total time: 1 minute 15 seconds
>>>>>>> [INFO] Finished at: Fri May 09 15:41:09 IDT 2008
>>>>>>> [INFO] Final Memory: 28M/66M
>>>>>>> [INFO]
>>>>>>>
>>>>>>> ------------------------------------------------------------------------ 
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>> -- 
>>>>>> ===========================================
>>>>>> *Optaros, Inc.*
>>>>>>
>>>>>> 333 Bryant Street - Suite 110
>>>>>> San Francisco, CA 94107
>>>>>>
>>>>>> Corporate Headquarter:
>>>>>> 10 Milk Street - 11th Floor
>>>>>> Boston, MA 02108
>>>>>>
>>>>>> cell:  +1 (650) 430-4499
>>>>>> voice: +1 (617) 227-1855 x8129
>>>>>> ===========================================
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>> -- 
>>>> Cheers,
>>>> Guillaume Nodet
>>>> ------------------------
>>>> Blog: http://gnodet.blogspot.com/
>>>
>>>
>>
>>
>>
>> -- 
>> Cheers,
>> Guillaume Nodet
>> ------------------------
>> Blog: http://gnodet.blogspot.com/
>

-- 
===========================================
*Optaros, Inc.*

333 Bryant Street - Suite 110
San Francisco, CA 94107

Corporate Headquarter:
10 Milk Street - 11th Floor
Boston, MA 02108

cell:  +1 (650) 430-4499
voice: +1 (617) 227-1855 x8129
===========================================

Re: servicemix-3.2.2 does not compile on OSX 10.5

Posted by Andrew Skiba <sk...@gmail.com>.
the only way to know is to install 2.0.9 on your box :-)

On May 9, 2008, at 23:54, Guillaume Nodet wrote:

> Ah, that may be maven.   I use 2.0.8.
>
> On Fri, May 9, 2008 at 10:26 PM, Andrew Skiba <sk...@gmail.com>  
> wrote:
>> I have OSX 10.5.2 build 9c7010
>>
>> And I tried both
>>
>> java 1.5.0_13-b05-237
>> java 1.6.0_05-b13-120
>>
>> BTW, I could not use maven 2.0.6 which came with XCode, and  
>> installed 2.0.9
>> by MacPorts to finish the build.
>>
>>
>>
>>
>> On May 9, 2008, at 21:48, Guillaume Nodet wrote:
>>
>>> I have no problems on Os X 10.4.
>>> Do you compile sing JDK 5 or JDK 6 ?
>>>
>>> On Fri, May 9, 2008 at 7:52 PM, Andrew Skiba <sk...@gmail.com>  
>>> wrote:
>>>>
>>>> Uli,
>>>>
>>>> Thanks for your reply.
>>>>
>>>> I compiled 3.2.2 after excluding wsn2005 and samples. Still it's  
>>>> strange
>>>> only you and me have this problem, the question is what is so  
>>>> special in
>>>> our
>>>> environments?
>>>>
>>>> Andrew.
>>>>
>>>> On May 9, 2008, at 18:20, Uli Romahn wrote:
>>>>
>>>>> Andrew,
>>>>>
>>>>> I got the exact same error message when trying to build 3.2.1 on
>>>>> openSUSE
>>>>> 10.3 (Linux) after checking it out using the SVN tag  
>>>>> 'servicemix-3.2.1'.
>>>>> The error persisted regardless what Java SDK I used - I tried it  
>>>>> with
>>>>> SDK6u5, JDK1.5, and even IBM SDK6.
>>>>>
>>>>> After a day I gave up and checked out the HEAD from trunk and  
>>>>> got it
>>>>> build
>>>>> without a hitch.
>>>>> I suspect that there are some dependencies mixed up in some  
>>>>> versions, be
>>>>> it from SVN or from the SNAPSHOT tars.
>>>>>
>>>>> Good luck,
>>>>> -Uli
>>>>>
>>>>> Andrew Skiba wrote:
>>>>>>
>>>>>> I'm trying to compile
>>>>>>
>>>>>> http://svn.apache.org/repos/asf/servicemix/smx3/branches/servicemix-3.2/deployables/serviceengines/servicemix-wsn2005 
>>>>>> ,
>>>>>> and get the following error. I suppose the problem is missing
>>>>>> com/sun/codemodel/JCodeModel class, may be it does not exist in  
>>>>>> OSX
>>>>>> JVM. Is
>>>>>> there anyone using OSX?
>>>>>>
>>>>>> Thank you,
>>>>>>
>>>>>> Andrew.
>>>>>>
>>>>>> [INFO] Scanning for projects...
>>>>>> [INFO]
>>>>>>
>>>>>> ------------------------------------------------------------------------
>>>>>> [INFO] Building ServiceMix :: WS-Notification Service Engine
>>>>>> [INFO]    task-segment: [install]
>>>>>> [INFO]
>>>>>>
>>>>>> ------------------------------------------------------------------------
>>>>>> [INFO] snapshot org.apache.servicemix:sharedlibraries:3.2.2- 
>>>>>> SNAPSHOT:
>>>>>> checking for updates from servicemix-m2-repo
>>>>>> [INFO] snapshot org.apache.servicemix:sharedlibraries:3.2.2- 
>>>>>> SNAPSHOT:
>>>>>> checking for updates from apache-snapshots
>>>>>> [INFO] snapshot org.apache.servicemix:sharedlibraries:3.2.2- 
>>>>>> SNAPSHOT:
>>>>>> checking for updates from codehaus
>>>>>> [INFO] snapshot org.apache.servicemix:sharedlibraries:3.2.2- 
>>>>>> SNAPSHOT:
>>>>>> checking for updates from java.net
>>>>>> [INFO] snapshot org.apache.servicemix:sharedlibraries:3.2.2- 
>>>>>> SNAPSHOT:
>>>>>> checking for updates from apache.snapshots
>>>>>> [INFO] snapshot org.apache.servicemix:deployables:3.2.2-SNAPSHOT:
>>>>>> checking for updates from servicemix-m2-repo
>>>>>> [INFO] snapshot org.apache.servicemix:deployables:3.2.2-SNAPSHOT:
>>>>>> checking for updates from apache-snapshots
>>>>>> [INFO] snapshot org.apache.servicemix:deployables:3.2.2-SNAPSHOT:
>>>>>> checking for updates from codehaus
>>>>>> [INFO] snapshot org.apache.servicemix:deployables:3.2.2-SNAPSHOT:
>>>>>> checking for updates from java.net
>>>>>> [INFO] snapshot org.apache.servicemix:deployables:3.2.2-SNAPSHOT:
>>>>>> checking for updates from apache.snapshots
>>>>>> Downloading:
>>>>>>
>>>>>> http://svn.apache.org/repos/asf/servicemix/m2-repo/org/apache/ws/security/wss4j/1.5.2/wss4j-1.5.2.pom
>>>>>> Downloading:
>>>>>>
>>>>>> http://people.apache.org/repo/m2-incubating-repository/org/apache/ws/security/wss4j/1.5.2/wss4j-1.5.2.pom
>>>>>> Downloading:
>>>>>>
>>>>>> http://repository.codehaus.org/org/apache/ws/security/wss4j/1.5.2/wss4j-1.5.2.pom
>>>>>> Downloading:
>>>>>>
>>>>>> http://download.java.net/maven/1/org.apache.ws.security/poms/wss4j-1.5.2.pom
>>>>>> Downloading:
>>>>>>
>>>>>> http://repo1.maven.org/maven2/org/apache/ws/security/wss4j/1.5.2/wss4j-1.5.2.pom
>>>>>> Downloading:
>>>>>>
>>>>>> http://svn.apache.org/repos/asf/servicemix/m2-repo/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom
>>>>>> Downloading:
>>>>>>
>>>>>> http://people.apache.org/repo/m2-incubating-repository/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom
>>>>>> Downloading:
>>>>>>
>>>>>> http://repository.codehaus.org/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom
>>>>>> Downloading:
>>>>>> http://download.java.net/maven/1/xml-security/poms/xmlsec-1.3.0.pom
>>>>>> Downloading:
>>>>>>
>>>>>> http://repo1.maven.org/maven2/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom
>>>>>> [INFO] [xbean:mapping {execution: default}]
>>>>>> [INFO] Generating META-INF properties file:
>>>>>>
>>>>>> /Users/andrew/Work/servicemix-3.2/deployables/serviceengines/ 
>>>>>> servicemix-wsn2005/target/xbean/META-INF/services/org/apache/ 
>>>>>> xbean/spring/http/servicemix.apache.org/wsn/1.0
>>>>>> for namespace: http://servicemix.apache.org/wsn/1.0
>>>>>> [INFO] Generating Spring 2.0 handler mapping:
>>>>>>
>>>>>> /Users/andrew/Work/servicemix-3.2/deployables/serviceengines/ 
>>>>>> servicemix-wsn2005/target/xbean/META-INF/spring.handlers
>>>>>> for namespace: http://servicemix.apache.org/wsn/1.0
>>>>>> [INFO] Generating Spring 2.0 schema mapping:
>>>>>>
>>>>>> /Users/andrew/Work/servicemix-3.2/deployables/serviceengines/ 
>>>>>> servicemix-wsn2005/target/xbean/META-INF/spring.schemas
>>>>>> for namespace: http://servicemix.apache.org/wsn/1.0
>>>>>> [INFO] Generating HTML documentation file:
>>>>>>
>>>>>> /Users/andrew/Work/servicemix-3.2/deployables/serviceengines/ 
>>>>>> servicemix-wsn2005/target/xbean/servicemix-wsn2005.xsd.html
>>>>>> for namespace: http://servicemix.apache.org/wsn/1.0
>>>>>> [INFO] Generating XSD file:
>>>>>>
>>>>>> /Users/andrew/Work/servicemix-3.2/deployables/serviceengines/ 
>>>>>> servicemix-wsn2005/target/xbean/servicemix-wsn2005.xsd
>>>>>> for namespace: http://servicemix.apache.org/wsn/1.0
>>>>>> [INFO] Generating WIKI documentation file:
>>>>>>
>>>>>> /Users/andrew/Work/servicemix-3.2/deployables/serviceengines/ 
>>>>>> servicemix-wsn2005/target/xbean/servicemix-wsn2005.xsd.wiki
>>>>>> for namespace: http://servicemix.apache.org/wsn/1.0
>>>>>> Warning, could not load class:  
>>>>>> org.springframework.core.io.Resource:
>>>>>> java.lang.ExceptionInInitializerError
>>>>>> [INFO] ...done.
>>>>>> Downloading:
>>>>>>
>>>>>> http://people.apache.org/repo/m2-ibiblio-rsync-repository/xfire/saaj-impl/1.3/saaj-impl-1.3.pom
>>>>>> Downloading:
>>>>>>
>>>>>> http://svn.apache.org/repos/asf/servicemix/m2-repo/xfire/saaj-impl/1.3/saaj-impl-1.3.pom
>>>>>> Downloading:
>>>>>>
>>>>>> http://people.apache.org/repo/m2-incubating-repository/xfire/saaj-impl/1.3/saaj-impl-1.3.pom
>>>>>> Downloading:
>>>>>> http://repository.codehaus.org/xfire/saaj-impl/1.3/saaj-impl-1.3.pom
>>>>>> Downloading:
>>>>>> http://download.java.net/maven/1/xfire/poms/saaj-impl-1.3.pom
>>>>>> Downloading:
>>>>>> http://repo1.maven.org/maven2/xfire/saaj-impl/1.3/saaj-impl-1.3.pom
>>>>>> Downloading:
>>>>>>
>>>>>> http://svn.apache.org/repos/asf/servicemix/m2-repo/xfire/saaj-impl/1.3/saaj-impl-1.3.pom
>>>>>> Downloading:
>>>>>>
>>>>>> http://people.apache.org/repo/m2-incubating-repository/xfire/saaj-impl/1.3/saaj-impl-1.3.pom
>>>>>> Downloading:
>>>>>> http://repository.codehaus.org/xfire/saaj-impl/1.3/saaj-impl-1.3.pom
>>>>>> Downloading:
>>>>>> http://download.java.net/maven/1/xfire/poms/saaj-impl-1.3.pom
>>>>>> Downloading:
>>>>>> http://repo1.maven.org/maven2/xfire/saaj-impl/1.3/saaj-impl-1.3.pom
>>>>>> [INFO] [xfire:wsgen {execution: default}]
>>>>>> [INFO] Executing XFire WsGen task with url:
>>>>>>
>>>>>> file:/Users/andrew/Work/servicemix-3.2/deployables/ 
>>>>>> serviceengines/servicemix-wsn2005/src/main/resources/org/apache/ 
>>>>>> servicemix/wsn/wsn.wsdl
>>>>>> [FATAL ERROR]
>>>>>> org.apache.servicemix.maven.plugin.xfire.WsgenMojo#execute()  
>>>>>> caused a
>>>>>> linkage error (java.lang.NoClassDefFoundError) and may be out- 
>>>>>> of-date.
>>>>>> Check
>>>>>> the realms:
>>>>>> [FATAL ERROR] Plugin realm =
>>>>>> app0.child-container[org.apache.servicemix.tooling:xfire-maven- 
>>>>>> plugin]
>>>>>> urls[0] =
>>>>>>
>>>>>> file:/Users/andrew/.m2/repository/org/apache/servicemix/tooling/ 
>>>>>> xfire-maven-plugin/3.2.2-SNAPSHOT/xfire-maven-plugin-3.2.2- 
>>>>>> SNAPSHOT.jar
>>>>>> urls[1] =
>>>>>>
>>>>>> file:/Users/andrew/.m2/repository/org/codehaus/plexus/plexus- 
>>>>>> utils/1.0.5/plexus-utils-1.0.5.jar
>>>>>> urls[2] =
>>>>>>
>>>>>> file:/Users/andrew/.m2/repository/org/apache/maven/maven- 
>>>>>> archiver/2.0.1/maven-archiver-2.0.1.jar
>>>>>> urls[3] =
>>>>>>
>>>>>> file:/Users/andrew/.m2/repository/org/codehaus/plexus/plexus- 
>>>>>> archiver/1.0-alpha-4/plexus-archiver-1.0-alpha-4.jar
>>>>>> urls[4] =
>>>>>>
>>>>>> file:/Users/andrew/.m2/repository/org/apache/maven/maven-script- 
>>>>>> ant/2.0.1/maven-script-ant-2.0.1.jar
>>>>>> urls[5] =
>>>>>>
>>>>>> file:/Users/andrew/.m2/repository/org/codehaus/plexus/plexus- 
>>>>>> ant-factory/1.0-alpha-1/plexus-ant-factory-1.0-alpha-1.jar
>>>>>> urls[6] =
>>>>>>
>>>>>> file:/Users/andrew/.m2/repository/ant/ant-launcher/1.6.5/ant- 
>>>>>> launcher-1.6.5.jar
>>>>>> urls[7] = file:/Users/andrew/.m2/repository/ant/ant/1.6.5/ 
>>>>>> ant-1.6.5.jar
>>>>>> urls[8] =
>>>>>>
>>>>>> file:/Users/andrew/.m2/repository/org/codehaus/xfire/xfire- 
>>>>>> generator/1.2.5/xfire-generator-1.2.5.jar
>>>>>> urls[9] =
>>>>>>
>>>>>> file:/Users/andrew/.m2/repository/org/codehaus/xfire/xfire- 
>>>>>> jaxb2/1.2.5/xfire-jaxb2-1.2.5.jar
>>>>>> urls[10] =
>>>>>>
>>>>>> file:/Users/andrew/.m2/repository/org/codehaus/xfire/xfire- 
>>>>>> aegis/1.2.5/xfire-aegis-1.2.5.jar
>>>>>> urls[11] =
>>>>>>
>>>>>> file:/Users/andrew/.m2/repository/org/codehaus/xfire/xfire-core/ 
>>>>>> 1.2.5/xfire-core-1.2.5.jar
>>>>>> urls[12] =
>>>>>> file:/Users/andrew/.m2/repository/wsdl4j/wsdl4j/1.6.1/ 
>>>>>> wsdl4j-1.6.1.jar
>>>>>> urls[13] =
>>>>>>
>>>>>> file:/Users/andrew/.m2/repository/jaxen/jaxen/1.1-beta-9/ 
>>>>>> jaxen-1.1-beta-9.jar
>>>>>> urls[14] =
>>>>>>
>>>>>> file:/Users/andrew/.m2/repository/xerces/xercesImpl/2.8.1/ 
>>>>>> xercesImpl-2.8.1.jar
>>>>>> urls[15] =
>>>>>>
>>>>>> file:/Users/andrew/.m2/repository/xml-apis/xml-apis/1.3.04/xml- 
>>>>>> apis-1.3.04.jar
>>>>>> urls[16] =
>>>>>>
>>>>>> file:/Users/andrew/.m2/repository/stax/stax-api/1.0.1/stax- 
>>>>>> api-1.0.1.jar
>>>>>> urls[17] =
>>>>>>
>>>>>> file:/Users/andrew/.m2/repository/commons-codec/commons-codec/ 
>>>>>> 1.3/commons-codec-1.3.jar
>>>>>> urls[18] =
>>>>>>
>>>>>> file:/Users/andrew/.m2/repository/org/apache/ws/commons/ 
>>>>>> XmlSchema/1.1/XmlSchema-1.1.jar
>>>>>> urls[19] =
>>>>>>
>>>>>> file:/Users/andrew/.m2/repository/org/codehaus/woodstox/wstx- 
>>>>>> asl/3.2.2/wstx-asl-3.2.2.jar
>>>>>> urls[20] = file:/Users/andrew/.m2/repository/jdom/jdom/1.0/ 
>>>>>> jdom-1.0.jar
>>>>>> urls[21] =
>>>>>>
>>>>>> file:/Users/andrew/.m2/repository/commons-logging/commons- 
>>>>>> logging/1.1/commons-logging-1.1.jar
>>>>>> urls[22] =
>>>>>> file:/Users/andrew/.m2/repository/log4j/log4j/1.2.13/ 
>>>>>> log4j-1.2.13.jar
>>>>>> urls[23] =
>>>>>>
>>>>>> file:/Users/andrew/.m2/repository/net/java/dev/stax-utils/stax- 
>>>>>> utils/20040917/stax-utils-20040917.jar
>>>>>> urls[24] =
>>>>>>
>>>>>> file:/Users/andrew/.m2/repository/org/codehaus/xfire/xfire- 
>>>>>> java5/1.2.5/xfire-java5-1.2.5.jar
>>>>>> urls[25] =
>>>>>>
>>>>>> file:/Users/andrew/.m2/repository/org/codehaus/xfire/xfire- 
>>>>>> annotations/1.2.5/xfire-annotations-1.2.5.jar
>>>>>> urls[26] =
>>>>>>
>>>>>> file:/Users/andrew/.m2/repository/commons-attributes/commons- 
>>>>>> attributes-api/2.1/commons-attributes-api-2.1.jar
>>>>>> urls[27] =
>>>>>>
>>>>>> file:/Users/andrew/.m2/repository/xfire/xfire-jsr181-api/1.0-M1/ 
>>>>>> xfire-jsr181-api-1.0-M1.jar
>>>>>> urls[28] =
>>>>>>
>>>>>> file:/Users/andrew/.m2/repository/javax/xml/ws/jaxws-api/2.0/ 
>>>>>> jaxws-api-2.0.jar
>>>>>> urls[29] =
>>>>>>
>>>>>> file:/Users/andrew/.m2/repository/javax/xml/bind/jaxb-api/2.0/ 
>>>>>> jaxb-api-2.0.jar
>>>>>> urls[30] =
>>>>>>
>>>>>> file:/Users/andrew/.m2/repository/javax/xml/bind/jsr173_api/1.0/ 
>>>>>> jsr173_api-1.0.jar
>>>>>> urls[31] =
>>>>>>
>>>>>> file:/Users/andrew/.m2/repository/org/codehaus/xfire/xfire- 
>>>>>> xmlbeans/1.2.5/xfire-xmlbeans-1.2.5.jar
>>>>>> urls[32] =
>>>>>> file:/Users/andrew/.m2/repository/xmlbeans/xbean/2.1.0/ 
>>>>>> xbean-2.1.0.jar
>>>>>> urls[33] =
>>>>>>
>>>>>> file:/Users/andrew/.m2/repository/commons-beanutils/commons- 
>>>>>> beanutils/1.7.0/commons-beanutils-1.7.0.jar
>>>>>> urls[34] = file:/Users/andrew/.m2/repository/qdox/qdox/1.5/ 
>>>>>> qdox-1.5.jar
>>>>>> urls[35] =
>>>>>>
>>>>>> file:/Users/andrew/.m2/repository/org/codehaus/xfire/xfire- 
>>>>>> spring/1.2.5/xfire-spring-1.2.5.jar
>>>>>> urls[36] =
>>>>>>
>>>>>> file:/Users/andrew/.m2/repository/org/apache/xbean/xbean-spring/ 
>>>>>> 3.2/xbean-spring-3.2.jar
>>>>>> urls[37] =
>>>>>>
>>>>>> file:/Users/andrew/.m2/repository/org/springframework/spring/ 
>>>>>> 2.0.6/spring-2.0.6.jar
>>>>>> urls[38] =
>>>>>>
>>>>>> file:/Users/andrew/.m2/repository/javax/activation/activation/ 
>>>>>> 1.1/activation-1.1.jar
>>>>>> urls[39] =
>>>>>> file:/Users/andrew/.m2/repository/javax/mail/mail/1.4/ 
>>>>>> mail-1.4.jar
>>>>>> urls[40] =
>>>>>>
>>>>>> file:/Users/andrew/.m2/repository/commons-httpclient/commons- 
>>>>>> httpclient/3.0/commons-httpclient-3.0.jar
>>>>>> urls[41] =
>>>>>>
>>>>>> file:/Users/andrew/.m2/repository/org/codehaus/xfire/xfire- 
>>>>>> jaxws/1.2.5/xfire-jaxws-1.2.5.jar
>>>>>> urls[42] =
>>>>>> file:/Users/andrew/.m2/repository/xfire/saaj-impl/1.3/saaj- 
>>>>>> impl-1.3.jar
>>>>>> urls[43] =
>>>>>>
>>>>>> file:/Users/andrew/.m2/repository/javax/xml/soap/saaj-api/1.3/ 
>>>>>> saaj-api-1.3.jar
>>>>>> urls[44] =
>>>>>>
>>>>>> file:/Users/andrew/.m2/repository/javax/servlet/servlet-api/2.3/ 
>>>>>> servlet-api-2.3.jar
>>>>>> urls[45] =
>>>>>>
>>>>>> file:/Users/andrew/.m2/repository/com/sun/xml/bind/jaxb-impl/ 
>>>>>> 2.0.1/jaxb-impl-2.0.1.jar
>>>>>> urls[46] =
>>>>>>
>>>>>> file:/Users/andrew/.m2/repository/javax/xml/jaxb-api/2.0/jaxb- 
>>>>>> api-2.0.jar
>>>>>> [FATAL ERROR] Container realm = plexus.core
>>>>>> urls[0] = file:/opt/local/share/java/maven2/lib/maven-2.0.9- 
>>>>>> uber.jar
>>>>>> [INFO]
>>>>>>
>>>>>> ------------------------------------------------------------------------
>>>>>> [ERROR] FATAL ERROR
>>>>>> [INFO]
>>>>>>
>>>>>> ------------------------------------------------------------------------
>>>>>> [INFO] com/sun/codemodel/JCodeModel
>>>>>> com.sun.codemodel.JCodeModel
>>>>>> [INFO]
>>>>>>
>>>>>> ------------------------------------------------------------------------
>>>>>> [INFO] Trace
>>>>>> java.lang.NoClassDefFoundError: com/sun/codemodel/JCodeModel
>>>>>> at
>>>>>> org 
>>>>>> .codehaus.xfire.gen.Wsdl11Generator.<init>(Wsdl11Generator.java: 
>>>>>> 51)
>>>>>> at org.codehaus.xfire.gen.WsGenTask.execute(WsGenTask.java:50)
>>>>>> at
>>>>>>
>>>>>> org 
>>>>>> .apache 
>>>>>> .servicemix.maven.plugin.xfire.WsgenMojo.exec(WsgenMojo.java:190)
>>>>>> at
>>>>>>
>>>>>> org 
>>>>>> .apache 
>>>>>> .servicemix.maven.plugin.xfire.WsgenMojo.execute(WsgenMojo.java: 
>>>>>> 105)
>>>>>> at
>>>>>>
>>>>>> org 
>>>>>> .apache 
>>>>>> .maven 
>>>>>> .plugin 
>>>>>> .DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
>>>>>> at
>>>>>>
>>>>>> org 
>>>>>> .apache 
>>>>>> .maven 
>>>>>> .lifecycle 
>>>>>> .DefaultLifecycleExecutor 
>>>>>> .executeGoals(DefaultLifecycleExecutor.java:558)
>>>>>> at
>>>>>>
>>>>>> org 
>>>>>> .apache 
>>>>>> .maven 
>>>>>> .lifecycle 
>>>>>> .DefaultLifecycleExecutor 
>>>>>> .executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
>>>>>> at
>>>>>>
>>>>>> org 
>>>>>> .apache 
>>>>>> .maven 
>>>>>> .lifecycle 
>>>>>> .DefaultLifecycleExecutor 
>>>>>> .executeGoal(DefaultLifecycleExecutor.java:478)
>>>>>> at
>>>>>>
>>>>>> org 
>>>>>> .apache 
>>>>>> .maven 
>>>>>> .lifecycle 
>>>>>> .DefaultLifecycleExecutor 
>>>>>> .executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
>>>>>> at
>>>>>>
>>>>>> org 
>>>>>> .apache 
>>>>>> .maven 
>>>>>> .lifecycle 
>>>>>> .DefaultLifecycleExecutor 
>>>>>> .executeTaskSegments(DefaultLifecycleExecutor.java:291)
>>>>>> at
>>>>>>
>>>>>> org 
>>>>>> .apache 
>>>>>> .maven 
>>>>>> .lifecycle 
>>>>>> .DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java: 
>>>>>> 142)
>>>>>> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
>>>>>> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
>>>>>> at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
>>>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>>> at
>>>>>>
>>>>>> sun 
>>>>>> .reflect 
>>>>>> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: 
>>>>>> 39)
>>>>>> at
>>>>>>
>>>>>> sun 
>>>>>> .reflect 
>>>>>> .DelegatingMethodAccessorImpl 
>>>>>> .invoke(DelegatingMethodAccessorImpl.java:25)
>>>>>> at java.lang.reflect.Method.invoke(Method.java:597)
>>>>>> at  
>>>>>> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java: 
>>>>>> 315)
>>>>>> at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>>>>>> at
>>>>>> org 
>>>>>> .codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java: 
>>>>>> 430)
>>>>>> at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
>>>>>> Caused by: java.lang.ClassNotFoundException:
>>>>>> com.sun.codemodel.JCodeModel
>>>>>> at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>>>>>> at java.security.AccessController.doPrivileged(Native Method)
>>>>>> at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>>>>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:316)
>>>>>> at
>>>>>>
>>>>>> org 
>>>>>> .codehaus 
>>>>>> .classworlds 
>>>>>> .RealmClassLoader.loadClassDirect(RealmClassLoader.java:195)
>>>>>> at
>>>>>>
>>>>>> org 
>>>>>> .codehaus 
>>>>>> .classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java: 
>>>>>> 255)
>>>>>> at
>>>>>>
>>>>>> org 
>>>>>> .codehaus 
>>>>>> .classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java: 
>>>>>> 274)
>>>>>> at
>>>>>>
>>>>>> org 
>>>>>> .codehaus 
>>>>>> .classworlds.RealmClassLoader.loadClass(RealmClassLoader.java: 
>>>>>> 214)
>>>>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>>>>>> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374)
>>>>>> ... 22 more
>>>>>> [INFO]
>>>>>>
>>>>>> ------------------------------------------------------------------------
>>>>>> [INFO] Total time: 1 minute 15 seconds
>>>>>> [INFO] Finished at: Fri May 09 15:41:09 IDT 2008
>>>>>> [INFO] Final Memory: 28M/66M
>>>>>> [INFO]
>>>>>>
>>>>>> ------------------------------------------------------------------------
>>>>>>
>>>>>>
>>>>>
>>>>> --
>>>>> ===========================================
>>>>> *Optaros, Inc.*
>>>>>
>>>>> 333 Bryant Street - Suite 110
>>>>> San Francisco, CA 94107
>>>>>
>>>>> Corporate Headquarter:
>>>>> 10 Milk Street - 11th Floor
>>>>> Boston, MA 02108
>>>>>
>>>>> cell:  +1 (650) 430-4499
>>>>> voice: +1 (617) 227-1855 x8129
>>>>> ===========================================
>>>>
>>>>
>>>
>>>
>>>
>>> --
>>> Cheers,
>>> Guillaume Nodet
>>> ------------------------
>>> Blog: http://gnodet.blogspot.com/
>>
>>
>
>
>
> -- 
> Cheers,
> Guillaume Nodet
> ------------------------
> Blog: http://gnodet.blogspot.com/


Re: servicemix-3.2.2 does not compile on OSX 10.5

Posted by Guillaume Nodet <gn...@gmail.com>.
Ah, that may be maven.   I use 2.0.8.

On Fri, May 9, 2008 at 10:26 PM, Andrew Skiba <sk...@gmail.com> wrote:
> I have OSX 10.5.2 build 9c7010
>
> And I tried both
>
> java 1.5.0_13-b05-237
> java 1.6.0_05-b13-120
>
> BTW, I could not use maven 2.0.6 which came with XCode, and installed 2.0.9
> by MacPorts to finish the build.
>
>
>
>
> On May 9, 2008, at 21:48, Guillaume Nodet wrote:
>
>> I have no problems on Os X 10.4.
>> Do you compile sing JDK 5 or JDK 6 ?
>>
>> On Fri, May 9, 2008 at 7:52 PM, Andrew Skiba <sk...@gmail.com> wrote:
>>>
>>> Uli,
>>>
>>> Thanks for your reply.
>>>
>>> I compiled 3.2.2 after excluding wsn2005 and samples. Still it's strange
>>> only you and me have this problem, the question is what is so special in
>>> our
>>> environments?
>>>
>>> Andrew.
>>>
>>> On May 9, 2008, at 18:20, Uli Romahn wrote:
>>>
>>>> Andrew,
>>>>
>>>> I got the exact same error message when trying to build 3.2.1 on
>>>> openSUSE
>>>> 10.3 (Linux) after checking it out using the SVN tag 'servicemix-3.2.1'.
>>>> The error persisted regardless what Java SDK I used - I tried it with
>>>> SDK6u5, JDK1.5, and even IBM SDK6.
>>>>
>>>> After a day I gave up and checked out the HEAD from trunk and got it
>>>> build
>>>> without a hitch.
>>>> I suspect that there are some dependencies mixed up in some versions, be
>>>> it from SVN or from the SNAPSHOT tars.
>>>>
>>>> Good luck,
>>>> -Uli
>>>>
>>>> Andrew Skiba wrote:
>>>>>
>>>>> I'm trying to compile
>>>>>
>>>>> http://svn.apache.org/repos/asf/servicemix/smx3/branches/servicemix-3.2/deployables/serviceengines/servicemix-wsn2005,
>>>>> and get the following error. I suppose the problem is missing
>>>>> com/sun/codemodel/JCodeModel class, may be it does not exist in OSX
>>>>> JVM. Is
>>>>> there anyone using OSX?
>>>>>
>>>>> Thank you,
>>>>>
>>>>> Andrew.
>>>>>
>>>>> [INFO] Scanning for projects...
>>>>> [INFO]
>>>>>
>>>>> ------------------------------------------------------------------------
>>>>> [INFO] Building ServiceMix :: WS-Notification Service Engine
>>>>> [INFO]    task-segment: [install]
>>>>> [INFO]
>>>>>
>>>>> ------------------------------------------------------------------------
>>>>> [INFO] snapshot org.apache.servicemix:sharedlibraries:3.2.2-SNAPSHOT:
>>>>> checking for updates from servicemix-m2-repo
>>>>> [INFO] snapshot org.apache.servicemix:sharedlibraries:3.2.2-SNAPSHOT:
>>>>> checking for updates from apache-snapshots
>>>>> [INFO] snapshot org.apache.servicemix:sharedlibraries:3.2.2-SNAPSHOT:
>>>>> checking for updates from codehaus
>>>>> [INFO] snapshot org.apache.servicemix:sharedlibraries:3.2.2-SNAPSHOT:
>>>>> checking for updates from java.net
>>>>> [INFO] snapshot org.apache.servicemix:sharedlibraries:3.2.2-SNAPSHOT:
>>>>> checking for updates from apache.snapshots
>>>>> [INFO] snapshot org.apache.servicemix:deployables:3.2.2-SNAPSHOT:
>>>>> checking for updates from servicemix-m2-repo
>>>>> [INFO] snapshot org.apache.servicemix:deployables:3.2.2-SNAPSHOT:
>>>>> checking for updates from apache-snapshots
>>>>> [INFO] snapshot org.apache.servicemix:deployables:3.2.2-SNAPSHOT:
>>>>> checking for updates from codehaus
>>>>> [INFO] snapshot org.apache.servicemix:deployables:3.2.2-SNAPSHOT:
>>>>> checking for updates from java.net
>>>>> [INFO] snapshot org.apache.servicemix:deployables:3.2.2-SNAPSHOT:
>>>>> checking for updates from apache.snapshots
>>>>> Downloading:
>>>>>
>>>>> http://svn.apache.org/repos/asf/servicemix/m2-repo/org/apache/ws/security/wss4j/1.5.2/wss4j-1.5.2.pom
>>>>> Downloading:
>>>>>
>>>>> http://people.apache.org/repo/m2-incubating-repository/org/apache/ws/security/wss4j/1.5.2/wss4j-1.5.2.pom
>>>>> Downloading:
>>>>>
>>>>> http://repository.codehaus.org/org/apache/ws/security/wss4j/1.5.2/wss4j-1.5.2.pom
>>>>> Downloading:
>>>>>
>>>>> http://download.java.net/maven/1/org.apache.ws.security/poms/wss4j-1.5.2.pom
>>>>> Downloading:
>>>>>
>>>>> http://repo1.maven.org/maven2/org/apache/ws/security/wss4j/1.5.2/wss4j-1.5.2.pom
>>>>> Downloading:
>>>>>
>>>>> http://svn.apache.org/repos/asf/servicemix/m2-repo/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom
>>>>> Downloading:
>>>>>
>>>>> http://people.apache.org/repo/m2-incubating-repository/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom
>>>>> Downloading:
>>>>>
>>>>> http://repository.codehaus.org/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom
>>>>> Downloading:
>>>>> http://download.java.net/maven/1/xml-security/poms/xmlsec-1.3.0.pom
>>>>> Downloading:
>>>>>
>>>>> http://repo1.maven.org/maven2/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom
>>>>> [INFO] [xbean:mapping {execution: default}]
>>>>> [INFO] Generating META-INF properties file:
>>>>>
>>>>> /Users/andrew/Work/servicemix-3.2/deployables/serviceengines/servicemix-wsn2005/target/xbean/META-INF/services/org/apache/xbean/spring/http/servicemix.apache.org/wsn/1.0
>>>>> for namespace: http://servicemix.apache.org/wsn/1.0
>>>>> [INFO] Generating Spring 2.0 handler mapping:
>>>>>
>>>>> /Users/andrew/Work/servicemix-3.2/deployables/serviceengines/servicemix-wsn2005/target/xbean/META-INF/spring.handlers
>>>>> for namespace: http://servicemix.apache.org/wsn/1.0
>>>>> [INFO] Generating Spring 2.0 schema mapping:
>>>>>
>>>>> /Users/andrew/Work/servicemix-3.2/deployables/serviceengines/servicemix-wsn2005/target/xbean/META-INF/spring.schemas
>>>>> for namespace: http://servicemix.apache.org/wsn/1.0
>>>>> [INFO] Generating HTML documentation file:
>>>>>
>>>>> /Users/andrew/Work/servicemix-3.2/deployables/serviceengines/servicemix-wsn2005/target/xbean/servicemix-wsn2005.xsd.html
>>>>> for namespace: http://servicemix.apache.org/wsn/1.0
>>>>> [INFO] Generating XSD file:
>>>>>
>>>>> /Users/andrew/Work/servicemix-3.2/deployables/serviceengines/servicemix-wsn2005/target/xbean/servicemix-wsn2005.xsd
>>>>> for namespace: http://servicemix.apache.org/wsn/1.0
>>>>> [INFO] Generating WIKI documentation file:
>>>>>
>>>>> /Users/andrew/Work/servicemix-3.2/deployables/serviceengines/servicemix-wsn2005/target/xbean/servicemix-wsn2005.xsd.wiki
>>>>> for namespace: http://servicemix.apache.org/wsn/1.0
>>>>> Warning, could not load class: org.springframework.core.io.Resource:
>>>>> java.lang.ExceptionInInitializerError
>>>>> [INFO] ...done.
>>>>> Downloading:
>>>>>
>>>>> http://people.apache.org/repo/m2-ibiblio-rsync-repository/xfire/saaj-impl/1.3/saaj-impl-1.3.pom
>>>>> Downloading:
>>>>>
>>>>> http://svn.apache.org/repos/asf/servicemix/m2-repo/xfire/saaj-impl/1.3/saaj-impl-1.3.pom
>>>>> Downloading:
>>>>>
>>>>> http://people.apache.org/repo/m2-incubating-repository/xfire/saaj-impl/1.3/saaj-impl-1.3.pom
>>>>> Downloading:
>>>>> http://repository.codehaus.org/xfire/saaj-impl/1.3/saaj-impl-1.3.pom
>>>>> Downloading:
>>>>> http://download.java.net/maven/1/xfire/poms/saaj-impl-1.3.pom
>>>>> Downloading:
>>>>> http://repo1.maven.org/maven2/xfire/saaj-impl/1.3/saaj-impl-1.3.pom
>>>>> Downloading:
>>>>>
>>>>> http://svn.apache.org/repos/asf/servicemix/m2-repo/xfire/saaj-impl/1.3/saaj-impl-1.3.pom
>>>>> Downloading:
>>>>>
>>>>> http://people.apache.org/repo/m2-incubating-repository/xfire/saaj-impl/1.3/saaj-impl-1.3.pom
>>>>> Downloading:
>>>>> http://repository.codehaus.org/xfire/saaj-impl/1.3/saaj-impl-1.3.pom
>>>>> Downloading:
>>>>> http://download.java.net/maven/1/xfire/poms/saaj-impl-1.3.pom
>>>>> Downloading:
>>>>> http://repo1.maven.org/maven2/xfire/saaj-impl/1.3/saaj-impl-1.3.pom
>>>>> [INFO] [xfire:wsgen {execution: default}]
>>>>> [INFO] Executing XFire WsGen task with url:
>>>>>
>>>>> file:/Users/andrew/Work/servicemix-3.2/deployables/serviceengines/servicemix-wsn2005/src/main/resources/org/apache/servicemix/wsn/wsn.wsdl
>>>>> [FATAL ERROR]
>>>>> org.apache.servicemix.maven.plugin.xfire.WsgenMojo#execute() caused a
>>>>> linkage error (java.lang.NoClassDefFoundError) and may be out-of-date.
>>>>> Check
>>>>> the realms:
>>>>> [FATAL ERROR] Plugin realm =
>>>>> app0.child-container[org.apache.servicemix.tooling:xfire-maven-plugin]
>>>>> urls[0] =
>>>>>
>>>>> file:/Users/andrew/.m2/repository/org/apache/servicemix/tooling/xfire-maven-plugin/3.2.2-SNAPSHOT/xfire-maven-plugin-3.2.2-SNAPSHOT.jar
>>>>> urls[1] =
>>>>>
>>>>> file:/Users/andrew/.m2/repository/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.jar
>>>>> urls[2] =
>>>>>
>>>>> file:/Users/andrew/.m2/repository/org/apache/maven/maven-archiver/2.0.1/maven-archiver-2.0.1.jar
>>>>> urls[3] =
>>>>>
>>>>> file:/Users/andrew/.m2/repository/org/codehaus/plexus/plexus-archiver/1.0-alpha-4/plexus-archiver-1.0-alpha-4.jar
>>>>> urls[4] =
>>>>>
>>>>> file:/Users/andrew/.m2/repository/org/apache/maven/maven-script-ant/2.0.1/maven-script-ant-2.0.1.jar
>>>>> urls[5] =
>>>>>
>>>>> file:/Users/andrew/.m2/repository/org/codehaus/plexus/plexus-ant-factory/1.0-alpha-1/plexus-ant-factory-1.0-alpha-1.jar
>>>>> urls[6] =
>>>>>
>>>>> file:/Users/andrew/.m2/repository/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.jar
>>>>> urls[7] = file:/Users/andrew/.m2/repository/ant/ant/1.6.5/ant-1.6.5.jar
>>>>> urls[8] =
>>>>>
>>>>> file:/Users/andrew/.m2/repository/org/codehaus/xfire/xfire-generator/1.2.5/xfire-generator-1.2.5.jar
>>>>> urls[9] =
>>>>>
>>>>> file:/Users/andrew/.m2/repository/org/codehaus/xfire/xfire-jaxb2/1.2.5/xfire-jaxb2-1.2.5.jar
>>>>> urls[10] =
>>>>>
>>>>> file:/Users/andrew/.m2/repository/org/codehaus/xfire/xfire-aegis/1.2.5/xfire-aegis-1.2.5.jar
>>>>> urls[11] =
>>>>>
>>>>> file:/Users/andrew/.m2/repository/org/codehaus/xfire/xfire-core/1.2.5/xfire-core-1.2.5.jar
>>>>> urls[12] =
>>>>> file:/Users/andrew/.m2/repository/wsdl4j/wsdl4j/1.6.1/wsdl4j-1.6.1.jar
>>>>> urls[13] =
>>>>>
>>>>> file:/Users/andrew/.m2/repository/jaxen/jaxen/1.1-beta-9/jaxen-1.1-beta-9.jar
>>>>> urls[14] =
>>>>>
>>>>> file:/Users/andrew/.m2/repository/xerces/xercesImpl/2.8.1/xercesImpl-2.8.1.jar
>>>>> urls[15] =
>>>>>
>>>>> file:/Users/andrew/.m2/repository/xml-apis/xml-apis/1.3.04/xml-apis-1.3.04.jar
>>>>> urls[16] =
>>>>>
>>>>> file:/Users/andrew/.m2/repository/stax/stax-api/1.0.1/stax-api-1.0.1.jar
>>>>> urls[17] =
>>>>>
>>>>> file:/Users/andrew/.m2/repository/commons-codec/commons-codec/1.3/commons-codec-1.3.jar
>>>>> urls[18] =
>>>>>
>>>>> file:/Users/andrew/.m2/repository/org/apache/ws/commons/XmlSchema/1.1/XmlSchema-1.1.jar
>>>>> urls[19] =
>>>>>
>>>>> file:/Users/andrew/.m2/repository/org/codehaus/woodstox/wstx-asl/3.2.2/wstx-asl-3.2.2.jar
>>>>> urls[20] = file:/Users/andrew/.m2/repository/jdom/jdom/1.0/jdom-1.0.jar
>>>>> urls[21] =
>>>>>
>>>>> file:/Users/andrew/.m2/repository/commons-logging/commons-logging/1.1/commons-logging-1.1.jar
>>>>> urls[22] =
>>>>> file:/Users/andrew/.m2/repository/log4j/log4j/1.2.13/log4j-1.2.13.jar
>>>>> urls[23] =
>>>>>
>>>>> file:/Users/andrew/.m2/repository/net/java/dev/stax-utils/stax-utils/20040917/stax-utils-20040917.jar
>>>>> urls[24] =
>>>>>
>>>>> file:/Users/andrew/.m2/repository/org/codehaus/xfire/xfire-java5/1.2.5/xfire-java5-1.2.5.jar
>>>>> urls[25] =
>>>>>
>>>>> file:/Users/andrew/.m2/repository/org/codehaus/xfire/xfire-annotations/1.2.5/xfire-annotations-1.2.5.jar
>>>>> urls[26] =
>>>>>
>>>>> file:/Users/andrew/.m2/repository/commons-attributes/commons-attributes-api/2.1/commons-attributes-api-2.1.jar
>>>>> urls[27] =
>>>>>
>>>>> file:/Users/andrew/.m2/repository/xfire/xfire-jsr181-api/1.0-M1/xfire-jsr181-api-1.0-M1.jar
>>>>> urls[28] =
>>>>>
>>>>> file:/Users/andrew/.m2/repository/javax/xml/ws/jaxws-api/2.0/jaxws-api-2.0.jar
>>>>> urls[29] =
>>>>>
>>>>> file:/Users/andrew/.m2/repository/javax/xml/bind/jaxb-api/2.0/jaxb-api-2.0.jar
>>>>> urls[30] =
>>>>>
>>>>> file:/Users/andrew/.m2/repository/javax/xml/bind/jsr173_api/1.0/jsr173_api-1.0.jar
>>>>> urls[31] =
>>>>>
>>>>> file:/Users/andrew/.m2/repository/org/codehaus/xfire/xfire-xmlbeans/1.2.5/xfire-xmlbeans-1.2.5.jar
>>>>> urls[32] =
>>>>> file:/Users/andrew/.m2/repository/xmlbeans/xbean/2.1.0/xbean-2.1.0.jar
>>>>> urls[33] =
>>>>>
>>>>> file:/Users/andrew/.m2/repository/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar
>>>>> urls[34] = file:/Users/andrew/.m2/repository/qdox/qdox/1.5/qdox-1.5.jar
>>>>> urls[35] =
>>>>>
>>>>> file:/Users/andrew/.m2/repository/org/codehaus/xfire/xfire-spring/1.2.5/xfire-spring-1.2.5.jar
>>>>> urls[36] =
>>>>>
>>>>> file:/Users/andrew/.m2/repository/org/apache/xbean/xbean-spring/3.2/xbean-spring-3.2.jar
>>>>> urls[37] =
>>>>>
>>>>> file:/Users/andrew/.m2/repository/org/springframework/spring/2.0.6/spring-2.0.6.jar
>>>>> urls[38] =
>>>>>
>>>>> file:/Users/andrew/.m2/repository/javax/activation/activation/1.1/activation-1.1.jar
>>>>> urls[39] =
>>>>> file:/Users/andrew/.m2/repository/javax/mail/mail/1.4/mail-1.4.jar
>>>>> urls[40] =
>>>>>
>>>>> file:/Users/andrew/.m2/repository/commons-httpclient/commons-httpclient/3.0/commons-httpclient-3.0.jar
>>>>> urls[41] =
>>>>>
>>>>> file:/Users/andrew/.m2/repository/org/codehaus/xfire/xfire-jaxws/1.2.5/xfire-jaxws-1.2.5.jar
>>>>> urls[42] =
>>>>> file:/Users/andrew/.m2/repository/xfire/saaj-impl/1.3/saaj-impl-1.3.jar
>>>>> urls[43] =
>>>>>
>>>>> file:/Users/andrew/.m2/repository/javax/xml/soap/saaj-api/1.3/saaj-api-1.3.jar
>>>>> urls[44] =
>>>>>
>>>>> file:/Users/andrew/.m2/repository/javax/servlet/servlet-api/2.3/servlet-api-2.3.jar
>>>>> urls[45] =
>>>>>
>>>>> file:/Users/andrew/.m2/repository/com/sun/xml/bind/jaxb-impl/2.0.1/jaxb-impl-2.0.1.jar
>>>>> urls[46] =
>>>>>
>>>>> file:/Users/andrew/.m2/repository/javax/xml/jaxb-api/2.0/jaxb-api-2.0.jar
>>>>> [FATAL ERROR] Container realm = plexus.core
>>>>> urls[0] = file:/opt/local/share/java/maven2/lib/maven-2.0.9-uber.jar
>>>>> [INFO]
>>>>>
>>>>> ------------------------------------------------------------------------
>>>>> [ERROR] FATAL ERROR
>>>>> [INFO]
>>>>>
>>>>> ------------------------------------------------------------------------
>>>>> [INFO] com/sun/codemodel/JCodeModel
>>>>> com.sun.codemodel.JCodeModel
>>>>> [INFO]
>>>>>
>>>>> ------------------------------------------------------------------------
>>>>> [INFO] Trace
>>>>> java.lang.NoClassDefFoundError: com/sun/codemodel/JCodeModel
>>>>>  at
>>>>> org.codehaus.xfire.gen.Wsdl11Generator.<init>(Wsdl11Generator.java:51)
>>>>>  at org.codehaus.xfire.gen.WsGenTask.execute(WsGenTask.java:50)
>>>>>  at
>>>>>
>>>>> org.apache.servicemix.maven.plugin.xfire.WsgenMojo.exec(WsgenMojo.java:190)
>>>>>  at
>>>>>
>>>>> org.apache.servicemix.maven.plugin.xfire.WsgenMojo.execute(WsgenMojo.java:105)
>>>>>  at
>>>>>
>>>>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
>>>>>  at
>>>>>
>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
>>>>>  at
>>>>>
>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
>>>>>  at
>>>>>
>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
>>>>>  at
>>>>>
>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
>>>>>  at
>>>>>
>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
>>>>>  at
>>>>>
>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
>>>>>  at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
>>>>>  at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
>>>>>  at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
>>>>>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>>  at
>>>>>
>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>>>  at
>>>>>
>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>>>  at java.lang.reflect.Method.invoke(Method.java:597)
>>>>>  at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>>>>>  at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>>>>>  at
>>>>> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>>>>>  at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
>>>>> Caused by: java.lang.ClassNotFoundException:
>>>>> com.sun.codemodel.JCodeModel
>>>>>  at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>>>>>  at java.security.AccessController.doPrivileged(Native Method)
>>>>>  at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>>>>>  at java.lang.ClassLoader.loadClass(ClassLoader.java:316)
>>>>>  at
>>>>>
>>>>> org.codehaus.classworlds.RealmClassLoader.loadClassDirect(RealmClassLoader.java:195)
>>>>>  at
>>>>>
>>>>> org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:255)
>>>>>  at
>>>>>
>>>>> org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:274)
>>>>>  at
>>>>>
>>>>> org.codehaus.classworlds.RealmClassLoader.loadClass(RealmClassLoader.java:214)
>>>>>  at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>>>>>  at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374)
>>>>>  ... 22 more
>>>>> [INFO]
>>>>>
>>>>> ------------------------------------------------------------------------
>>>>> [INFO] Total time: 1 minute 15 seconds
>>>>> [INFO] Finished at: Fri May 09 15:41:09 IDT 2008
>>>>> [INFO] Final Memory: 28M/66M
>>>>> [INFO]
>>>>>
>>>>> ------------------------------------------------------------------------
>>>>>
>>>>>
>>>>
>>>> --
>>>> ===========================================
>>>> *Optaros, Inc.*
>>>>
>>>> 333 Bryant Street - Suite 110
>>>> San Francisco, CA 94107
>>>>
>>>> Corporate Headquarter:
>>>> 10 Milk Street - 11th Floor
>>>> Boston, MA 02108
>>>>
>>>> cell:  +1 (650) 430-4499
>>>> voice: +1 (617) 227-1855 x8129
>>>> ===========================================
>>>
>>>
>>
>>
>>
>> --
>> Cheers,
>> Guillaume Nodet
>> ------------------------
>> Blog: http://gnodet.blogspot.com/
>
>



-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/

Re: servicemix-3.2.2 does not compile on OSX 10.5

Posted by Andrew Skiba <sk...@gmail.com>.
I have OSX 10.5.2 build 9c7010

And I tried both

java 1.5.0_13-b05-237
java 1.6.0_05-b13-120

BTW, I could not use maven 2.0.6 which came with XCode, and installed  
2.0.9 by MacPorts to finish the build.




On May 9, 2008, at 21:48, Guillaume Nodet wrote:

> I have no problems on Os X 10.4.
> Do you compile sing JDK 5 or JDK 6 ?
>
> On Fri, May 9, 2008 at 7:52 PM, Andrew Skiba <sk...@gmail.com> wrote:
>> Uli,
>>
>> Thanks for your reply.
>>
>> I compiled 3.2.2 after excluding wsn2005 and samples. Still it's  
>> strange
>> only you and me have this problem, the question is what is so  
>> special in our
>> environments?
>>
>> Andrew.
>>
>> On May 9, 2008, at 18:20, Uli Romahn wrote:
>>
>>> Andrew,
>>>
>>> I got the exact same error message when trying to build 3.2.1 on  
>>> openSUSE
>>> 10.3 (Linux) after checking it out using the SVN tag  
>>> 'servicemix-3.2.1'.
>>> The error persisted regardless what Java SDK I used - I tried it  
>>> with
>>> SDK6u5, JDK1.5, and even IBM SDK6.
>>>
>>> After a day I gave up and checked out the HEAD from trunk and got  
>>> it build
>>> without a hitch.
>>> I suspect that there are some dependencies mixed up in some  
>>> versions, be
>>> it from SVN or from the SNAPSHOT tars.
>>>
>>> Good luck,
>>> -Uli
>>>
>>> Andrew Skiba wrote:
>>>>
>>>> I'm trying to compile
>>>> http://svn.apache.org/repos/asf/servicemix/smx3/branches/servicemix-3.2/deployables/serviceengines/servicemix-wsn2005 
>>>> ,
>>>> and get the following error. I suppose the problem is missing
>>>> com/sun/codemodel/JCodeModel class, may be it does not exist in  
>>>> OSX JVM. Is
>>>> there anyone using OSX?
>>>>
>>>> Thank you,
>>>>
>>>> Andrew.
>>>>
>>>> [INFO] Scanning for projects...
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Building ServiceMix :: WS-Notification Service Engine
>>>> [INFO]    task-segment: [install]
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] snapshot org.apache.servicemix:sharedlibraries:3.2.2- 
>>>> SNAPSHOT:
>>>> checking for updates from servicemix-m2-repo
>>>> [INFO] snapshot org.apache.servicemix:sharedlibraries:3.2.2- 
>>>> SNAPSHOT:
>>>> checking for updates from apache-snapshots
>>>> [INFO] snapshot org.apache.servicemix:sharedlibraries:3.2.2- 
>>>> SNAPSHOT:
>>>> checking for updates from codehaus
>>>> [INFO] snapshot org.apache.servicemix:sharedlibraries:3.2.2- 
>>>> SNAPSHOT:
>>>> checking for updates from java.net
>>>> [INFO] snapshot org.apache.servicemix:sharedlibraries:3.2.2- 
>>>> SNAPSHOT:
>>>> checking for updates from apache.snapshots
>>>> [INFO] snapshot org.apache.servicemix:deployables:3.2.2-SNAPSHOT:
>>>> checking for updates from servicemix-m2-repo
>>>> [INFO] snapshot org.apache.servicemix:deployables:3.2.2-SNAPSHOT:
>>>> checking for updates from apache-snapshots
>>>> [INFO] snapshot org.apache.servicemix:deployables:3.2.2-SNAPSHOT:
>>>> checking for updates from codehaus
>>>> [INFO] snapshot org.apache.servicemix:deployables:3.2.2-SNAPSHOT:
>>>> checking for updates from java.net
>>>> [INFO] snapshot org.apache.servicemix:deployables:3.2.2-SNAPSHOT:
>>>> checking for updates from apache.snapshots
>>>> Downloading:
>>>> http://svn.apache.org/repos/asf/servicemix/m2-repo/org/apache/ws/security/wss4j/1.5.2/wss4j-1.5.2.pom
>>>> Downloading:
>>>> http://people.apache.org/repo/m2-incubating-repository/org/apache/ws/security/wss4j/1.5.2/wss4j-1.5.2.pom
>>>> Downloading:
>>>> http://repository.codehaus.org/org/apache/ws/security/wss4j/1.5.2/wss4j-1.5.2.pom
>>>> Downloading:
>>>> http://download.java.net/maven/1/org.apache.ws.security/poms/wss4j-1.5.2.pom
>>>> Downloading:
>>>> http://repo1.maven.org/maven2/org/apache/ws/security/wss4j/1.5.2/wss4j-1.5.2.pom
>>>> Downloading:
>>>> http://svn.apache.org/repos/asf/servicemix/m2-repo/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom
>>>> Downloading:
>>>> http://people.apache.org/repo/m2-incubating-repository/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom
>>>> Downloading:
>>>> http://repository.codehaus.org/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom
>>>> Downloading:
>>>> http://download.java.net/maven/1/xml-security/poms/xmlsec-1.3.0.pom
>>>> Downloading:
>>>> http://repo1.maven.org/maven2/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom
>>>> [INFO] [xbean:mapping {execution: default}]
>>>> [INFO] Generating META-INF properties file:
>>>> /Users/andrew/Work/servicemix-3.2/deployables/serviceengines/ 
>>>> servicemix-wsn2005/target/xbean/META-INF/services/org/apache/ 
>>>> xbean/spring/http/servicemix.apache.org/wsn/1.0
>>>> for namespace: http://servicemix.apache.org/wsn/1.0
>>>> [INFO] Generating Spring 2.0 handler mapping:
>>>> /Users/andrew/Work/servicemix-3.2/deployables/serviceengines/ 
>>>> servicemix-wsn2005/target/xbean/META-INF/spring.handlers
>>>> for namespace: http://servicemix.apache.org/wsn/1.0
>>>> [INFO] Generating Spring 2.0 schema mapping:
>>>> /Users/andrew/Work/servicemix-3.2/deployables/serviceengines/ 
>>>> servicemix-wsn2005/target/xbean/META-INF/spring.schemas
>>>> for namespace: http://servicemix.apache.org/wsn/1.0
>>>> [INFO] Generating HTML documentation file:
>>>> /Users/andrew/Work/servicemix-3.2/deployables/serviceengines/ 
>>>> servicemix-wsn2005/target/xbean/servicemix-wsn2005.xsd.html
>>>> for namespace: http://servicemix.apache.org/wsn/1.0
>>>> [INFO] Generating XSD file:
>>>> /Users/andrew/Work/servicemix-3.2/deployables/serviceengines/ 
>>>> servicemix-wsn2005/target/xbean/servicemix-wsn2005.xsd
>>>> for namespace: http://servicemix.apache.org/wsn/1.0
>>>> [INFO] Generating WIKI documentation file:
>>>> /Users/andrew/Work/servicemix-3.2/deployables/serviceengines/ 
>>>> servicemix-wsn2005/target/xbean/servicemix-wsn2005.xsd.wiki
>>>> for namespace: http://servicemix.apache.org/wsn/1.0
>>>> Warning, could not load class:  
>>>> org.springframework.core.io.Resource:
>>>> java.lang.ExceptionInInitializerError
>>>> [INFO] ...done.
>>>> Downloading:
>>>> http://people.apache.org/repo/m2-ibiblio-rsync-repository/xfire/saaj-impl/1.3/saaj-impl-1.3.pom
>>>> Downloading:
>>>> http://svn.apache.org/repos/asf/servicemix/m2-repo/xfire/saaj-impl/1.3/saaj-impl-1.3.pom
>>>> Downloading:
>>>> http://people.apache.org/repo/m2-incubating-repository/xfire/saaj-impl/1.3/saaj-impl-1.3.pom
>>>> Downloading:
>>>> http://repository.codehaus.org/xfire/saaj-impl/1.3/saaj- 
>>>> impl-1.3.pom
>>>> Downloading:
>>>> http://download.java.net/maven/1/xfire/poms/saaj-impl-1.3.pom
>>>> Downloading:
>>>> http://repo1.maven.org/maven2/xfire/saaj-impl/1.3/saaj-impl-1.3.pom
>>>> Downloading:
>>>> http://svn.apache.org/repos/asf/servicemix/m2-repo/xfire/saaj-impl/1.3/saaj-impl-1.3.pom
>>>> Downloading:
>>>> http://people.apache.org/repo/m2-incubating-repository/xfire/saaj-impl/1.3/saaj-impl-1.3.pom
>>>> Downloading:
>>>> http://repository.codehaus.org/xfire/saaj-impl/1.3/saaj- 
>>>> impl-1.3.pom
>>>> Downloading:
>>>> http://download.java.net/maven/1/xfire/poms/saaj-impl-1.3.pom
>>>> Downloading:
>>>> http://repo1.maven.org/maven2/xfire/saaj-impl/1.3/saaj-impl-1.3.pom
>>>> [INFO] [xfire:wsgen {execution: default}]
>>>> [INFO] Executing XFire WsGen task with url:
>>>> file:/Users/andrew/Work/servicemix-3.2/deployables/serviceengines/ 
>>>> servicemix-wsn2005/src/main/resources/org/apache/servicemix/wsn/ 
>>>> wsn.wsdl
>>>> [FATAL ERROR]
>>>> org.apache.servicemix.maven.plugin.xfire.WsgenMojo#execute()  
>>>> caused a
>>>> linkage error (java.lang.NoClassDefFoundError) and may be out-of- 
>>>> date. Check
>>>> the realms:
>>>> [FATAL ERROR] Plugin realm =
>>>> app0.child-container[org.apache.servicemix.tooling:xfire-maven- 
>>>> plugin]
>>>> urls[0] =
>>>> file:/Users/andrew/.m2/repository/org/apache/servicemix/tooling/ 
>>>> xfire-maven-plugin/3.2.2-SNAPSHOT/xfire-maven-plugin-3.2.2- 
>>>> SNAPSHOT.jar
>>>> urls[1] =
>>>> file:/Users/andrew/.m2/repository/org/codehaus/plexus/plexus- 
>>>> utils/1.0.5/plexus-utils-1.0.5.jar
>>>> urls[2] =
>>>> file:/Users/andrew/.m2/repository/org/apache/maven/maven-archiver/ 
>>>> 2.0.1/maven-archiver-2.0.1.jar
>>>> urls[3] =
>>>> file:/Users/andrew/.m2/repository/org/codehaus/plexus/plexus- 
>>>> archiver/1.0-alpha-4/plexus-archiver-1.0-alpha-4.jar
>>>> urls[4] =
>>>> file:/Users/andrew/.m2/repository/org/apache/maven/maven-script- 
>>>> ant/2.0.1/maven-script-ant-2.0.1.jar
>>>> urls[5] =
>>>> file:/Users/andrew/.m2/repository/org/codehaus/plexus/plexus-ant- 
>>>> factory/1.0-alpha-1/plexus-ant-factory-1.0-alpha-1.jar
>>>> urls[6] =
>>>> file:/Users/andrew/.m2/repository/ant/ant-launcher/1.6.5/ant- 
>>>> launcher-1.6.5.jar
>>>> urls[7] = file:/Users/andrew/.m2/repository/ant/ant/1.6.5/ 
>>>> ant-1.6.5.jar
>>>> urls[8] =
>>>> file:/Users/andrew/.m2/repository/org/codehaus/xfire/xfire- 
>>>> generator/1.2.5/xfire-generator-1.2.5.jar
>>>> urls[9] =
>>>> file:/Users/andrew/.m2/repository/org/codehaus/xfire/xfire- 
>>>> jaxb2/1.2.5/xfire-jaxb2-1.2.5.jar
>>>> urls[10] =
>>>> file:/Users/andrew/.m2/repository/org/codehaus/xfire/xfire-aegis/ 
>>>> 1.2.5/xfire-aegis-1.2.5.jar
>>>> urls[11] =
>>>> file:/Users/andrew/.m2/repository/org/codehaus/xfire/xfire-core/ 
>>>> 1.2.5/xfire-core-1.2.5.jar
>>>> urls[12] =
>>>> file:/Users/andrew/.m2/repository/wsdl4j/wsdl4j/1.6.1/ 
>>>> wsdl4j-1.6.1.jar
>>>> urls[13] =
>>>> file:/Users/andrew/.m2/repository/jaxen/jaxen/1.1-beta-9/ 
>>>> jaxen-1.1-beta-9.jar
>>>> urls[14] =
>>>> file:/Users/andrew/.m2/repository/xerces/xercesImpl/2.8.1/ 
>>>> xercesImpl-2.8.1.jar
>>>> urls[15] =
>>>> file:/Users/andrew/.m2/repository/xml-apis/xml-apis/1.3.04/xml- 
>>>> apis-1.3.04.jar
>>>> urls[16] =
>>>> file:/Users/andrew/.m2/repository/stax/stax-api/1.0.1/stax- 
>>>> api-1.0.1.jar
>>>> urls[17] =
>>>> file:/Users/andrew/.m2/repository/commons-codec/commons-codec/1.3/ 
>>>> commons-codec-1.3.jar
>>>> urls[18] =
>>>> file:/Users/andrew/.m2/repository/org/apache/ws/commons/XmlSchema/ 
>>>> 1.1/XmlSchema-1.1.jar
>>>> urls[19] =
>>>> file:/Users/andrew/.m2/repository/org/codehaus/woodstox/wstx-asl/ 
>>>> 3.2.2/wstx-asl-3.2.2.jar
>>>> urls[20] = file:/Users/andrew/.m2/repository/jdom/jdom/1.0/ 
>>>> jdom-1.0.jar
>>>> urls[21] =
>>>> file:/Users/andrew/.m2/repository/commons-logging/commons-logging/ 
>>>> 1.1/commons-logging-1.1.jar
>>>> urls[22] =
>>>> file:/Users/andrew/.m2/repository/log4j/log4j/1.2.13/ 
>>>> log4j-1.2.13.jar
>>>> urls[23] =
>>>> file:/Users/andrew/.m2/repository/net/java/dev/stax-utils/stax- 
>>>> utils/20040917/stax-utils-20040917.jar
>>>> urls[24] =
>>>> file:/Users/andrew/.m2/repository/org/codehaus/xfire/xfire- 
>>>> java5/1.2.5/xfire-java5-1.2.5.jar
>>>> urls[25] =
>>>> file:/Users/andrew/.m2/repository/org/codehaus/xfire/xfire- 
>>>> annotations/1.2.5/xfire-annotations-1.2.5.jar
>>>> urls[26] =
>>>> file:/Users/andrew/.m2/repository/commons-attributes/commons- 
>>>> attributes-api/2.1/commons-attributes-api-2.1.jar
>>>> urls[27] =
>>>> file:/Users/andrew/.m2/repository/xfire/xfire-jsr181-api/1.0-M1/ 
>>>> xfire-jsr181-api-1.0-M1.jar
>>>> urls[28] =
>>>> file:/Users/andrew/.m2/repository/javax/xml/ws/jaxws-api/2.0/ 
>>>> jaxws-api-2.0.jar
>>>> urls[29] =
>>>> file:/Users/andrew/.m2/repository/javax/xml/bind/jaxb-api/2.0/ 
>>>> jaxb-api-2.0.jar
>>>> urls[30] =
>>>> file:/Users/andrew/.m2/repository/javax/xml/bind/jsr173_api/1.0/ 
>>>> jsr173_api-1.0.jar
>>>> urls[31] =
>>>> file:/Users/andrew/.m2/repository/org/codehaus/xfire/xfire- 
>>>> xmlbeans/1.2.5/xfire-xmlbeans-1.2.5.jar
>>>> urls[32] =
>>>> file:/Users/andrew/.m2/repository/xmlbeans/xbean/2.1.0/ 
>>>> xbean-2.1.0.jar
>>>> urls[33] =
>>>> file:/Users/andrew/.m2/repository/commons-beanutils/commons- 
>>>> beanutils/1.7.0/commons-beanutils-1.7.0.jar
>>>> urls[34] = file:/Users/andrew/.m2/repository/qdox/qdox/1.5/ 
>>>> qdox-1.5.jar
>>>> urls[35] =
>>>> file:/Users/andrew/.m2/repository/org/codehaus/xfire/xfire-spring/ 
>>>> 1.2.5/xfire-spring-1.2.5.jar
>>>> urls[36] =
>>>> file:/Users/andrew/.m2/repository/org/apache/xbean/xbean-spring/ 
>>>> 3.2/xbean-spring-3.2.jar
>>>> urls[37] =
>>>> file:/Users/andrew/.m2/repository/org/springframework/spring/ 
>>>> 2.0.6/spring-2.0.6.jar
>>>> urls[38] =
>>>> file:/Users/andrew/.m2/repository/javax/activation/activation/1.1/ 
>>>> activation-1.1.jar
>>>> urls[39] =
>>>> file:/Users/andrew/.m2/repository/javax/mail/mail/1.4/mail-1.4.jar
>>>> urls[40] =
>>>> file:/Users/andrew/.m2/repository/commons-httpclient/commons- 
>>>> httpclient/3.0/commons-httpclient-3.0.jar
>>>> urls[41] =
>>>> file:/Users/andrew/.m2/repository/org/codehaus/xfire/xfire-jaxws/ 
>>>> 1.2.5/xfire-jaxws-1.2.5.jar
>>>> urls[42] =
>>>> file:/Users/andrew/.m2/repository/xfire/saaj-impl/1.3/saaj- 
>>>> impl-1.3.jar
>>>> urls[43] =
>>>> file:/Users/andrew/.m2/repository/javax/xml/soap/saaj-api/1.3/ 
>>>> saaj-api-1.3.jar
>>>> urls[44] =
>>>> file:/Users/andrew/.m2/repository/javax/servlet/servlet-api/2.3/ 
>>>> servlet-api-2.3.jar
>>>> urls[45] =
>>>> file:/Users/andrew/.m2/repository/com/sun/xml/bind/jaxb-impl/ 
>>>> 2.0.1/jaxb-impl-2.0.1.jar
>>>> urls[46] =
>>>> file:/Users/andrew/.m2/repository/javax/xml/jaxb-api/2.0/jaxb- 
>>>> api-2.0.jar
>>>> [FATAL ERROR] Container realm = plexus.core
>>>> urls[0] = file:/opt/local/share/java/maven2/lib/maven-2.0.9- 
>>>> uber.jar
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [ERROR] FATAL ERROR
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] com/sun/codemodel/JCodeModel
>>>> com.sun.codemodel.JCodeModel
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Trace
>>>> java.lang.NoClassDefFoundError: com/sun/codemodel/JCodeModel
>>>>  at
>>>> org 
>>>> .codehaus.xfire.gen.Wsdl11Generator.<init>(Wsdl11Generator.java:51)
>>>>  at org.codehaus.xfire.gen.WsGenTask.execute(WsGenTask.java:50)
>>>>  at
>>>> org 
>>>> .apache 
>>>> .servicemix.maven.plugin.xfire.WsgenMojo.exec(WsgenMojo.java:190)
>>>>  at
>>>> org 
>>>> .apache 
>>>> .servicemix.maven.plugin.xfire.WsgenMojo.execute(WsgenMojo.java: 
>>>> 105)
>>>>  at
>>>> org 
>>>> .apache 
>>>> .maven 
>>>> .plugin 
>>>> .DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
>>>>  at
>>>> org 
>>>> .apache 
>>>> .maven 
>>>> .lifecycle 
>>>> .DefaultLifecycleExecutor 
>>>> .executeGoals(DefaultLifecycleExecutor.java:558)
>>>>  at
>>>> org 
>>>> .apache 
>>>> .maven 
>>>> .lifecycle 
>>>> .DefaultLifecycleExecutor 
>>>> .executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
>>>>  at
>>>> org 
>>>> .apache 
>>>> .maven 
>>>> .lifecycle 
>>>> .DefaultLifecycleExecutor 
>>>> .executeGoal(DefaultLifecycleExecutor.java:478)
>>>>  at
>>>> org 
>>>> .apache 
>>>> .maven 
>>>> .lifecycle 
>>>> .DefaultLifecycleExecutor 
>>>> .executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
>>>>  at
>>>> org 
>>>> .apache 
>>>> .maven 
>>>> .lifecycle 
>>>> .DefaultLifecycleExecutor 
>>>> .executeTaskSegments(DefaultLifecycleExecutor.java:291)
>>>>  at
>>>> org 
>>>> .apache 
>>>> .maven 
>>>> .lifecycle 
>>>> .DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java: 
>>>> 142)
>>>>  at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
>>>>  at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
>>>>  at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
>>>>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>  at
>>>> sun 
>>>> .reflect 
>>>> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>>  at
>>>> sun 
>>>> .reflect 
>>>> .DelegatingMethodAccessorImpl 
>>>> .invoke(DelegatingMethodAccessorImpl.java:25)
>>>>  at java.lang.reflect.Method.invoke(Method.java:597)
>>>>  at  
>>>> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>>>>  at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>>>>  at
>>>> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java: 
>>>> 430)
>>>>  at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
>>>> Caused by: java.lang.ClassNotFoundException:  
>>>> com.sun.codemodel.JCodeModel
>>>>  at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>>>>  at java.security.AccessController.doPrivileged(Native Method)
>>>>  at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>>>>  at java.lang.ClassLoader.loadClass(ClassLoader.java:316)
>>>>  at
>>>> org 
>>>> .codehaus 
>>>> .classworlds 
>>>> .RealmClassLoader.loadClassDirect(RealmClassLoader.java:195)
>>>>  at
>>>> org 
>>>> .codehaus 
>>>> .classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java: 
>>>> 255)
>>>>  at
>>>> org 
>>>> .codehaus 
>>>> .classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java: 
>>>> 274)
>>>>  at
>>>> org 
>>>> .codehaus 
>>>> .classworlds.RealmClassLoader.loadClass(RealmClassLoader.java:214)
>>>>  at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>>>>  at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374)
>>>>  ... 22 more
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Total time: 1 minute 15 seconds
>>>> [INFO] Finished at: Fri May 09 15:41:09 IDT 2008
>>>> [INFO] Final Memory: 28M/66M
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>>
>>>>
>>>
>>> --
>>> ===========================================
>>> *Optaros, Inc.*
>>>
>>> 333 Bryant Street - Suite 110
>>> San Francisco, CA 94107
>>>
>>> Corporate Headquarter:
>>> 10 Milk Street - 11th Floor
>>> Boston, MA 02108
>>>
>>> cell:  +1 (650) 430-4499
>>> voice: +1 (617) 227-1855 x8129
>>> ===========================================
>>
>>
>
>
>
> -- 
> Cheers,
> Guillaume Nodet
> ------------------------
> Blog: http://gnodet.blogspot.com/


Re: servicemix-3.2.2 does not compile on OSX 10.5

Posted by Guillaume Nodet <gn...@gmail.com>.
I have no problems on Os X 10.4.
Do you compile sing JDK 5 or JDK 6 ?

On Fri, May 9, 2008 at 7:52 PM, Andrew Skiba <sk...@gmail.com> wrote:
> Uli,
>
> Thanks for your reply.
>
> I compiled 3.2.2 after excluding wsn2005 and samples. Still it's strange
> only you and me have this problem, the question is what is so special in our
> environments?
>
> Andrew.
>
> On May 9, 2008, at 18:20, Uli Romahn wrote:
>
>> Andrew,
>>
>> I got the exact same error message when trying to build 3.2.1 on openSUSE
>> 10.3 (Linux) after checking it out using the SVN tag 'servicemix-3.2.1'.
>> The error persisted regardless what Java SDK I used - I tried it with
>> SDK6u5, JDK1.5, and even IBM SDK6.
>>
>> After a day I gave up and checked out the HEAD from trunk and got it build
>> without a hitch.
>> I suspect that there are some dependencies mixed up in some versions, be
>> it from SVN or from the SNAPSHOT tars.
>>
>> Good luck,
>> -Uli
>>
>> Andrew Skiba wrote:
>>>
>>> I'm trying to compile
>>> http://svn.apache.org/repos/asf/servicemix/smx3/branches/servicemix-3.2/deployables/serviceengines/servicemix-wsn2005,
>>> and get the following error. I suppose the problem is missing
>>>  com/sun/codemodel/JCodeModel class, may be it does not exist in OSX JVM. Is
>>> there anyone using OSX?
>>>
>>> Thank you,
>>>
>>> Andrew.
>>>
>>> [INFO] Scanning for projects...
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Building ServiceMix :: WS-Notification Service Engine
>>> [INFO]    task-segment: [install]
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] snapshot org.apache.servicemix:sharedlibraries:3.2.2-SNAPSHOT:
>>> checking for updates from servicemix-m2-repo
>>> [INFO] snapshot org.apache.servicemix:sharedlibraries:3.2.2-SNAPSHOT:
>>> checking for updates from apache-snapshots
>>> [INFO] snapshot org.apache.servicemix:sharedlibraries:3.2.2-SNAPSHOT:
>>> checking for updates from codehaus
>>> [INFO] snapshot org.apache.servicemix:sharedlibraries:3.2.2-SNAPSHOT:
>>> checking for updates from java.net
>>> [INFO] snapshot org.apache.servicemix:sharedlibraries:3.2.2-SNAPSHOT:
>>> checking for updates from apache.snapshots
>>> [INFO] snapshot org.apache.servicemix:deployables:3.2.2-SNAPSHOT:
>>> checking for updates from servicemix-m2-repo
>>> [INFO] snapshot org.apache.servicemix:deployables:3.2.2-SNAPSHOT:
>>> checking for updates from apache-snapshots
>>> [INFO] snapshot org.apache.servicemix:deployables:3.2.2-SNAPSHOT:
>>> checking for updates from codehaus
>>> [INFO] snapshot org.apache.servicemix:deployables:3.2.2-SNAPSHOT:
>>> checking for updates from java.net
>>> [INFO] snapshot org.apache.servicemix:deployables:3.2.2-SNAPSHOT:
>>> checking for updates from apache.snapshots
>>> Downloading:
>>> http://svn.apache.org/repos/asf/servicemix/m2-repo/org/apache/ws/security/wss4j/1.5.2/wss4j-1.5.2.pom
>>> Downloading:
>>> http://people.apache.org/repo/m2-incubating-repository/org/apache/ws/security/wss4j/1.5.2/wss4j-1.5.2.pom
>>> Downloading:
>>> http://repository.codehaus.org/org/apache/ws/security/wss4j/1.5.2/wss4j-1.5.2.pom
>>> Downloading:
>>> http://download.java.net/maven/1/org.apache.ws.security/poms/wss4j-1.5.2.pom
>>> Downloading:
>>> http://repo1.maven.org/maven2/org/apache/ws/security/wss4j/1.5.2/wss4j-1.5.2.pom
>>> Downloading:
>>> http://svn.apache.org/repos/asf/servicemix/m2-repo/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom
>>> Downloading:
>>> http://people.apache.org/repo/m2-incubating-repository/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom
>>> Downloading:
>>> http://repository.codehaus.org/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom
>>> Downloading:
>>> http://download.java.net/maven/1/xml-security/poms/xmlsec-1.3.0.pom
>>> Downloading:
>>> http://repo1.maven.org/maven2/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom
>>> [INFO] [xbean:mapping {execution: default}]
>>> [INFO] Generating META-INF properties file:
>>> /Users/andrew/Work/servicemix-3.2/deployables/serviceengines/servicemix-wsn2005/target/xbean/META-INF/services/org/apache/xbean/spring/http/servicemix.apache.org/wsn/1.0
>>> for namespace: http://servicemix.apache.org/wsn/1.0
>>> [INFO] Generating Spring 2.0 handler mapping:
>>> /Users/andrew/Work/servicemix-3.2/deployables/serviceengines/servicemix-wsn2005/target/xbean/META-INF/spring.handlers
>>> for namespace: http://servicemix.apache.org/wsn/1.0
>>> [INFO] Generating Spring 2.0 schema mapping:
>>> /Users/andrew/Work/servicemix-3.2/deployables/serviceengines/servicemix-wsn2005/target/xbean/META-INF/spring.schemas
>>> for namespace: http://servicemix.apache.org/wsn/1.0
>>> [INFO] Generating HTML documentation file:
>>> /Users/andrew/Work/servicemix-3.2/deployables/serviceengines/servicemix-wsn2005/target/xbean/servicemix-wsn2005.xsd.html
>>> for namespace: http://servicemix.apache.org/wsn/1.0
>>> [INFO] Generating XSD file:
>>> /Users/andrew/Work/servicemix-3.2/deployables/serviceengines/servicemix-wsn2005/target/xbean/servicemix-wsn2005.xsd
>>> for namespace: http://servicemix.apache.org/wsn/1.0
>>> [INFO] Generating WIKI documentation file:
>>> /Users/andrew/Work/servicemix-3.2/deployables/serviceengines/servicemix-wsn2005/target/xbean/servicemix-wsn2005.xsd.wiki
>>> for namespace: http://servicemix.apache.org/wsn/1.0
>>> Warning, could not load class: org.springframework.core.io.Resource:
>>> java.lang.ExceptionInInitializerError
>>> [INFO] ...done.
>>> Downloading:
>>> http://people.apache.org/repo/m2-ibiblio-rsync-repository/xfire/saaj-impl/1.3/saaj-impl-1.3.pom
>>> Downloading:
>>> http://svn.apache.org/repos/asf/servicemix/m2-repo/xfire/saaj-impl/1.3/saaj-impl-1.3.pom
>>> Downloading:
>>> http://people.apache.org/repo/m2-incubating-repository/xfire/saaj-impl/1.3/saaj-impl-1.3.pom
>>> Downloading:
>>> http://repository.codehaus.org/xfire/saaj-impl/1.3/saaj-impl-1.3.pom
>>> Downloading:
>>> http://download.java.net/maven/1/xfire/poms/saaj-impl-1.3.pom
>>> Downloading:
>>> http://repo1.maven.org/maven2/xfire/saaj-impl/1.3/saaj-impl-1.3.pom
>>> Downloading:
>>> http://svn.apache.org/repos/asf/servicemix/m2-repo/xfire/saaj-impl/1.3/saaj-impl-1.3.pom
>>> Downloading:
>>> http://people.apache.org/repo/m2-incubating-repository/xfire/saaj-impl/1.3/saaj-impl-1.3.pom
>>> Downloading:
>>> http://repository.codehaus.org/xfire/saaj-impl/1.3/saaj-impl-1.3.pom
>>> Downloading:
>>> http://download.java.net/maven/1/xfire/poms/saaj-impl-1.3.pom
>>> Downloading:
>>> http://repo1.maven.org/maven2/xfire/saaj-impl/1.3/saaj-impl-1.3.pom
>>> [INFO] [xfire:wsgen {execution: default}]
>>> [INFO] Executing XFire WsGen task with url:
>>> file:/Users/andrew/Work/servicemix-3.2/deployables/serviceengines/servicemix-wsn2005/src/main/resources/org/apache/servicemix/wsn/wsn.wsdl
>>> [FATAL ERROR]
>>> org.apache.servicemix.maven.plugin.xfire.WsgenMojo#execute() caused a
>>> linkage error (java.lang.NoClassDefFoundError) and may be out-of-date. Check
>>> the realms:
>>> [FATAL ERROR] Plugin realm =
>>> app0.child-container[org.apache.servicemix.tooling:xfire-maven-plugin]
>>> urls[0] =
>>> file:/Users/andrew/.m2/repository/org/apache/servicemix/tooling/xfire-maven-plugin/3.2.2-SNAPSHOT/xfire-maven-plugin-3.2.2-SNAPSHOT.jar
>>> urls[1] =
>>> file:/Users/andrew/.m2/repository/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.jar
>>> urls[2] =
>>> file:/Users/andrew/.m2/repository/org/apache/maven/maven-archiver/2.0.1/maven-archiver-2.0.1.jar
>>> urls[3] =
>>> file:/Users/andrew/.m2/repository/org/codehaus/plexus/plexus-archiver/1.0-alpha-4/plexus-archiver-1.0-alpha-4.jar
>>> urls[4] =
>>> file:/Users/andrew/.m2/repository/org/apache/maven/maven-script-ant/2.0.1/maven-script-ant-2.0.1.jar
>>> urls[5] =
>>> file:/Users/andrew/.m2/repository/org/codehaus/plexus/plexus-ant-factory/1.0-alpha-1/plexus-ant-factory-1.0-alpha-1.jar
>>> urls[6] =
>>> file:/Users/andrew/.m2/repository/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.jar
>>> urls[7] = file:/Users/andrew/.m2/repository/ant/ant/1.6.5/ant-1.6.5.jar
>>> urls[8] =
>>> file:/Users/andrew/.m2/repository/org/codehaus/xfire/xfire-generator/1.2.5/xfire-generator-1.2.5.jar
>>> urls[9] =
>>> file:/Users/andrew/.m2/repository/org/codehaus/xfire/xfire-jaxb2/1.2.5/xfire-jaxb2-1.2.5.jar
>>> urls[10] =
>>> file:/Users/andrew/.m2/repository/org/codehaus/xfire/xfire-aegis/1.2.5/xfire-aegis-1.2.5.jar
>>> urls[11] =
>>> file:/Users/andrew/.m2/repository/org/codehaus/xfire/xfire-core/1.2.5/xfire-core-1.2.5.jar
>>> urls[12] =
>>> file:/Users/andrew/.m2/repository/wsdl4j/wsdl4j/1.6.1/wsdl4j-1.6.1.jar
>>> urls[13] =
>>> file:/Users/andrew/.m2/repository/jaxen/jaxen/1.1-beta-9/jaxen-1.1-beta-9.jar
>>> urls[14] =
>>> file:/Users/andrew/.m2/repository/xerces/xercesImpl/2.8.1/xercesImpl-2.8.1.jar
>>> urls[15] =
>>> file:/Users/andrew/.m2/repository/xml-apis/xml-apis/1.3.04/xml-apis-1.3.04.jar
>>> urls[16] =
>>> file:/Users/andrew/.m2/repository/stax/stax-api/1.0.1/stax-api-1.0.1.jar
>>> urls[17] =
>>> file:/Users/andrew/.m2/repository/commons-codec/commons-codec/1.3/commons-codec-1.3.jar
>>> urls[18] =
>>> file:/Users/andrew/.m2/repository/org/apache/ws/commons/XmlSchema/1.1/XmlSchema-1.1.jar
>>> urls[19] =
>>> file:/Users/andrew/.m2/repository/org/codehaus/woodstox/wstx-asl/3.2.2/wstx-asl-3.2.2.jar
>>> urls[20] = file:/Users/andrew/.m2/repository/jdom/jdom/1.0/jdom-1.0.jar
>>> urls[21] =
>>> file:/Users/andrew/.m2/repository/commons-logging/commons-logging/1.1/commons-logging-1.1.jar
>>> urls[22] =
>>> file:/Users/andrew/.m2/repository/log4j/log4j/1.2.13/log4j-1.2.13.jar
>>> urls[23] =
>>> file:/Users/andrew/.m2/repository/net/java/dev/stax-utils/stax-utils/20040917/stax-utils-20040917.jar
>>> urls[24] =
>>> file:/Users/andrew/.m2/repository/org/codehaus/xfire/xfire-java5/1.2.5/xfire-java5-1.2.5.jar
>>> urls[25] =
>>> file:/Users/andrew/.m2/repository/org/codehaus/xfire/xfire-annotations/1.2.5/xfire-annotations-1.2.5.jar
>>> urls[26] =
>>> file:/Users/andrew/.m2/repository/commons-attributes/commons-attributes-api/2.1/commons-attributes-api-2.1.jar
>>> urls[27] =
>>> file:/Users/andrew/.m2/repository/xfire/xfire-jsr181-api/1.0-M1/xfire-jsr181-api-1.0-M1.jar
>>> urls[28] =
>>> file:/Users/andrew/.m2/repository/javax/xml/ws/jaxws-api/2.0/jaxws-api-2.0.jar
>>> urls[29] =
>>> file:/Users/andrew/.m2/repository/javax/xml/bind/jaxb-api/2.0/jaxb-api-2.0.jar
>>> urls[30] =
>>> file:/Users/andrew/.m2/repository/javax/xml/bind/jsr173_api/1.0/jsr173_api-1.0.jar
>>> urls[31] =
>>> file:/Users/andrew/.m2/repository/org/codehaus/xfire/xfire-xmlbeans/1.2.5/xfire-xmlbeans-1.2.5.jar
>>> urls[32] =
>>> file:/Users/andrew/.m2/repository/xmlbeans/xbean/2.1.0/xbean-2.1.0.jar
>>> urls[33] =
>>> file:/Users/andrew/.m2/repository/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar
>>> urls[34] = file:/Users/andrew/.m2/repository/qdox/qdox/1.5/qdox-1.5.jar
>>> urls[35] =
>>> file:/Users/andrew/.m2/repository/org/codehaus/xfire/xfire-spring/1.2.5/xfire-spring-1.2.5.jar
>>> urls[36] =
>>> file:/Users/andrew/.m2/repository/org/apache/xbean/xbean-spring/3.2/xbean-spring-3.2.jar
>>> urls[37] =
>>> file:/Users/andrew/.m2/repository/org/springframework/spring/2.0.6/spring-2.0.6.jar
>>> urls[38] =
>>> file:/Users/andrew/.m2/repository/javax/activation/activation/1.1/activation-1.1.jar
>>> urls[39] =
>>> file:/Users/andrew/.m2/repository/javax/mail/mail/1.4/mail-1.4.jar
>>> urls[40] =
>>> file:/Users/andrew/.m2/repository/commons-httpclient/commons-httpclient/3.0/commons-httpclient-3.0.jar
>>> urls[41] =
>>> file:/Users/andrew/.m2/repository/org/codehaus/xfire/xfire-jaxws/1.2.5/xfire-jaxws-1.2.5.jar
>>> urls[42] =
>>> file:/Users/andrew/.m2/repository/xfire/saaj-impl/1.3/saaj-impl-1.3.jar
>>> urls[43] =
>>> file:/Users/andrew/.m2/repository/javax/xml/soap/saaj-api/1.3/saaj-api-1.3.jar
>>> urls[44] =
>>> file:/Users/andrew/.m2/repository/javax/servlet/servlet-api/2.3/servlet-api-2.3.jar
>>> urls[45] =
>>> file:/Users/andrew/.m2/repository/com/sun/xml/bind/jaxb-impl/2.0.1/jaxb-impl-2.0.1.jar
>>> urls[46] =
>>> file:/Users/andrew/.m2/repository/javax/xml/jaxb-api/2.0/jaxb-api-2.0.jar
>>> [FATAL ERROR] Container realm = plexus.core
>>> urls[0] = file:/opt/local/share/java/maven2/lib/maven-2.0.9-uber.jar
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [ERROR] FATAL ERROR
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] com/sun/codemodel/JCodeModel
>>> com.sun.codemodel.JCodeModel
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Trace
>>> java.lang.NoClassDefFoundError: com/sun/codemodel/JCodeModel
>>>   at
>>> org.codehaus.xfire.gen.Wsdl11Generator.<init>(Wsdl11Generator.java:51)
>>>   at org.codehaus.xfire.gen.WsGenTask.execute(WsGenTask.java:50)
>>>   at
>>> org.apache.servicemix.maven.plugin.xfire.WsgenMojo.exec(WsgenMojo.java:190)
>>>   at
>>> org.apache.servicemix.maven.plugin.xfire.WsgenMojo.execute(WsgenMojo.java:105)
>>>   at
>>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
>>>   at
>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
>>>   at
>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
>>>   at
>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
>>>   at
>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
>>>   at
>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
>>>   at
>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
>>>   at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
>>>   at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
>>>   at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
>>>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>   at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>   at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>   at java.lang.reflect.Method.invoke(Method.java:597)
>>>   at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>>>   at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>>>   at
>>> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>>>   at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
>>> Caused by: java.lang.ClassNotFoundException: com.sun.codemodel.JCodeModel
>>>   at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>>>   at java.security.AccessController.doPrivileged(Native Method)
>>>   at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>>>   at java.lang.ClassLoader.loadClass(ClassLoader.java:316)
>>>   at
>>> org.codehaus.classworlds.RealmClassLoader.loadClassDirect(RealmClassLoader.java:195)
>>>   at
>>> org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:255)
>>>   at
>>> org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:274)
>>>   at
>>> org.codehaus.classworlds.RealmClassLoader.loadClass(RealmClassLoader.java:214)
>>>   at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>>>   at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374)
>>>   ... 22 more
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Total time: 1 minute 15 seconds
>>> [INFO] Finished at: Fri May 09 15:41:09 IDT 2008
>>> [INFO] Final Memory: 28M/66M
>>> [INFO]
>>> ------------------------------------------------------------------------
>>>
>>>
>>
>> --
>> ===========================================
>> *Optaros, Inc.*
>>
>> 333 Bryant Street - Suite 110
>> San Francisco, CA 94107
>>
>> Corporate Headquarter:
>> 10 Milk Street - 11th Floor
>> Boston, MA 02108
>>
>> cell:  +1 (650) 430-4499
>> voice: +1 (617) 227-1855 x8129
>> ===========================================
>
>



-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/

Re: servicemix-3.2.2 does not compile on OSX 10.5

Posted by Andrew Skiba <sk...@gmail.com>.
Uli,

Thanks for your reply.

I compiled 3.2.2 after excluding wsn2005 and samples. Still it's  
strange only you and me have this problem, the question is what is so  
special in our environments?

Andrew.

On May 9, 2008, at 18:20, Uli Romahn wrote:

> Andrew,
>
> I got the exact same error message when trying to build 3.2.1 on  
> openSUSE 10.3 (Linux) after checking it out using the SVN tag  
> 'servicemix-3.2.1'.
> The error persisted regardless what Java SDK I used - I tried it  
> with SDK6u5, JDK1.5, and even IBM SDK6.
>
> After a day I gave up and checked out the HEAD from trunk and got it  
> build without a hitch.
> I suspect that there are some dependencies mixed up in some  
> versions, be it from SVN or from the SNAPSHOT tars.
>
> Good luck,
> -Uli
>
> Andrew Skiba wrote:
>> I'm trying to compile http://svn.apache.org/repos/asf/servicemix/smx3/branches/servicemix-3.2/deployables/serviceengines/servicemix-wsn2005 
>> , and get the following error. I suppose the problem is missing   
>> com/sun/codemodel/JCodeModel class, may be it does not exist in OSX  
>> JVM. Is there anyone using OSX?
>>
>> Thank you,
>>
>> Andrew.
>>
>> [INFO] Scanning for projects...
>> [INFO]  
>> ------------------------------------------------------------------------
>> [INFO] Building ServiceMix :: WS-Notification Service Engine
>> [INFO]    task-segment: [install]
>> [INFO]  
>> ------------------------------------------------------------------------
>> [INFO] snapshot org.apache.servicemix:sharedlibraries:3.2.2- 
>> SNAPSHOT: checking for updates from servicemix-m2-repo
>> [INFO] snapshot org.apache.servicemix:sharedlibraries:3.2.2- 
>> SNAPSHOT: checking for updates from apache-snapshots
>> [INFO] snapshot org.apache.servicemix:sharedlibraries:3.2.2- 
>> SNAPSHOT: checking for updates from codehaus
>> [INFO] snapshot org.apache.servicemix:sharedlibraries:3.2.2- 
>> SNAPSHOT: checking for updates from java.net
>> [INFO] snapshot org.apache.servicemix:sharedlibraries:3.2.2- 
>> SNAPSHOT: checking for updates from apache.snapshots
>> [INFO] snapshot org.apache.servicemix:deployables:3.2.2-SNAPSHOT:  
>> checking for updates from servicemix-m2-repo
>> [INFO] snapshot org.apache.servicemix:deployables:3.2.2-SNAPSHOT:  
>> checking for updates from apache-snapshots
>> [INFO] snapshot org.apache.servicemix:deployables:3.2.2-SNAPSHOT:  
>> checking for updates from codehaus
>> [INFO] snapshot org.apache.servicemix:deployables:3.2.2-SNAPSHOT:  
>> checking for updates from java.net
>> [INFO] snapshot org.apache.servicemix:deployables:3.2.2-SNAPSHOT:  
>> checking for updates from apache.snapshots
>> Downloading: http://svn.apache.org/repos/asf/servicemix/m2-repo/org/apache/ws/security/wss4j/1.5.2/wss4j-1.5.2.pom
>> Downloading: http://people.apache.org/repo/m2-incubating-repository/org/apache/ws/security/wss4j/1.5.2/wss4j-1.5.2.pom
>> Downloading: http://repository.codehaus.org/org/apache/ws/security/wss4j/1.5.2/wss4j-1.5.2.pom
>> Downloading: http://download.java.net/maven/1/org.apache.ws.security/poms/wss4j-1.5.2.pom
>> Downloading: http://repo1.maven.org/maven2/org/apache/ws/security/wss4j/1.5.2/wss4j-1.5.2.pom
>> Downloading: http://svn.apache.org/repos/asf/servicemix/m2-repo/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom
>> Downloading: http://people.apache.org/repo/m2-incubating-repository/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom
>> Downloading: http://repository.codehaus.org/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom
>> Downloading: http://download.java.net/maven/1/xml-security/poms/xmlsec-1.3.0.pom
>> Downloading: http://repo1.maven.org/maven2/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom
>> [INFO] [xbean:mapping {execution: default}]
>> [INFO] Generating META-INF properties file: /Users/andrew/Work/ 
>> servicemix-3.2/deployables/serviceengines/servicemix-wsn2005/target/ 
>> xbean/META-INF/services/org/apache/xbean/spring/http/ 
>> servicemix.apache.org/wsn/1.0 for namespace: http://servicemix.apache.org/wsn/1.0
>> [INFO] Generating Spring 2.0 handler mapping: /Users/andrew/Work/ 
>> servicemix-3.2/deployables/serviceengines/servicemix-wsn2005/target/ 
>> xbean/META-INF/spring.handlers for namespace: http://servicemix.apache.org/wsn/1.0
>> [INFO] Generating Spring 2.0 schema mapping: /Users/andrew/Work/ 
>> servicemix-3.2/deployables/serviceengines/servicemix-wsn2005/target/ 
>> xbean/META-INF/spring.schemas for namespace: http://servicemix.apache.org/wsn/1.0
>> [INFO] Generating HTML documentation file: /Users/andrew/Work/ 
>> servicemix-3.2/deployables/serviceengines/servicemix-wsn2005/target/ 
>> xbean/servicemix-wsn2005.xsd.html for namespace: http://servicemix.apache.org/wsn/1.0
>> [INFO] Generating XSD file: /Users/andrew/Work/servicemix-3.2/ 
>> deployables/serviceengines/servicemix-wsn2005/target/xbean/ 
>> servicemix-wsn2005.xsd for namespace: http://servicemix.apache.org/wsn/1.0
>> [INFO] Generating WIKI documentation file: /Users/andrew/Work/ 
>> servicemix-3.2/deployables/serviceengines/servicemix-wsn2005/target/ 
>> xbean/servicemix-wsn2005.xsd.wiki for namespace: http://servicemix.apache.org/wsn/1.0
>> Warning, could not load class:  
>> org.springframework.core.io.Resource:  
>> java.lang.ExceptionInInitializerError
>> [INFO] ...done.
>> Downloading: http://people.apache.org/repo/m2-ibiblio-rsync-repository/xfire/saaj-impl/1.3/saaj-impl-1.3.pom
>> Downloading: http://svn.apache.org/repos/asf/servicemix/m2-repo/xfire/saaj-impl/1.3/saaj-impl-1.3.pom
>> Downloading: http://people.apache.org/repo/m2-incubating-repository/xfire/saaj-impl/1.3/saaj-impl-1.3.pom
>> Downloading: http://repository.codehaus.org/xfire/saaj-impl/1.3/saaj-impl-1.3.pom
>> Downloading: http://download.java.net/maven/1/xfire/poms/saaj-impl-1.3.pom
>> Downloading: http://repo1.maven.org/maven2/xfire/saaj-impl/1.3/saaj-impl-1.3.pom
>> Downloading: http://svn.apache.org/repos/asf/servicemix/m2-repo/xfire/saaj-impl/1.3/saaj-impl-1.3.pom
>> Downloading: http://people.apache.org/repo/m2-incubating-repository/xfire/saaj-impl/1.3/saaj-impl-1.3.pom
>> Downloading: http://repository.codehaus.org/xfire/saaj-impl/1.3/saaj-impl-1.3.pom
>> Downloading: http://download.java.net/maven/1/xfire/poms/saaj-impl-1.3.pom
>> Downloading: http://repo1.maven.org/maven2/xfire/saaj-impl/1.3/saaj-impl-1.3.pom
>> [INFO] [xfire:wsgen {execution: default}]
>> [INFO] Executing XFire WsGen task with url: file:/Users/andrew/Work/ 
>> servicemix-3.2/deployables/serviceengines/servicemix-wsn2005/src/ 
>> main/resources/org/apache/servicemix/wsn/wsn.wsdl
>> [FATAL ERROR]  
>> org.apache.servicemix.maven.plugin.xfire.WsgenMojo#execute() caused  
>> a linkage error (java.lang.NoClassDefFoundError) and may be out-of- 
>> date. Check the realms:
>> [FATAL ERROR] Plugin realm = app0.child- 
>> container[org.apache.servicemix.tooling:xfire-maven-plugin]
>> urls[0] = file:/Users/andrew/.m2/repository/org/apache/servicemix/ 
>> tooling/xfire-maven-plugin/3.2.2-SNAPSHOT/xfire-maven-plugin-3.2.2- 
>> SNAPSHOT.jar
>> urls[1] = file:/Users/andrew/.m2/repository/org/codehaus/plexus/ 
>> plexus-utils/1.0.5/plexus-utils-1.0.5.jar
>> urls[2] = file:/Users/andrew/.m2/repository/org/apache/maven/maven- 
>> archiver/2.0.1/maven-archiver-2.0.1.jar
>> urls[3] = file:/Users/andrew/.m2/repository/org/codehaus/plexus/ 
>> plexus-archiver/1.0-alpha-4/plexus-archiver-1.0-alpha-4.jar
>> urls[4] = file:/Users/andrew/.m2/repository/org/apache/maven/maven- 
>> script-ant/2.0.1/maven-script-ant-2.0.1.jar
>> urls[5] = file:/Users/andrew/.m2/repository/org/codehaus/plexus/ 
>> plexus-ant-factory/1.0-alpha-1/plexus-ant-factory-1.0-alpha-1.jar
>> urls[6] = file:/Users/andrew/.m2/repository/ant/ant-launcher/1.6.5/ 
>> ant-launcher-1.6.5.jar
>> urls[7] = file:/Users/andrew/.m2/repository/ant/ant/1.6.5/ 
>> ant-1.6.5.jar
>> urls[8] = file:/Users/andrew/.m2/repository/org/codehaus/xfire/ 
>> xfire-generator/1.2.5/xfire-generator-1.2.5.jar
>> urls[9] = file:/Users/andrew/.m2/repository/org/codehaus/xfire/ 
>> xfire-jaxb2/1.2.5/xfire-jaxb2-1.2.5.jar
>> urls[10] = file:/Users/andrew/.m2/repository/org/codehaus/xfire/ 
>> xfire-aegis/1.2.5/xfire-aegis-1.2.5.jar
>> urls[11] = file:/Users/andrew/.m2/repository/org/codehaus/xfire/ 
>> xfire-core/1.2.5/xfire-core-1.2.5.jar
>> urls[12] = file:/Users/andrew/.m2/repository/wsdl4j/wsdl4j/1.6.1/ 
>> wsdl4j-1.6.1.jar
>> urls[13] = file:/Users/andrew/.m2/repository/jaxen/jaxen/1.1-beta-9/ 
>> jaxen-1.1-beta-9.jar
>> urls[14] = file:/Users/andrew/.m2/repository/xerces/xercesImpl/ 
>> 2.8.1/xercesImpl-2.8.1.jar
>> urls[15] = file:/Users/andrew/.m2/repository/xml-apis/xml-apis/ 
>> 1.3.04/xml-apis-1.3.04.jar
>> urls[16] = file:/Users/andrew/.m2/repository/stax/stax-api/1.0.1/ 
>> stax-api-1.0.1.jar
>> urls[17] = file:/Users/andrew/.m2/repository/commons-codec/commons- 
>> codec/1.3/commons-codec-1.3.jar
>> urls[18] = file:/Users/andrew/.m2/repository/org/apache/ws/commons/ 
>> XmlSchema/1.1/XmlSchema-1.1.jar
>> urls[19] = file:/Users/andrew/.m2/repository/org/codehaus/woodstox/ 
>> wstx-asl/3.2.2/wstx-asl-3.2.2.jar
>> urls[20] = file:/Users/andrew/.m2/repository/jdom/jdom/1.0/ 
>> jdom-1.0.jar
>> urls[21] = file:/Users/andrew/.m2/repository/commons-logging/ 
>> commons-logging/1.1/commons-logging-1.1.jar
>> urls[22] = file:/Users/andrew/.m2/repository/log4j/log4j/1.2.13/ 
>> log4j-1.2.13.jar
>> urls[23] = file:/Users/andrew/.m2/repository/net/java/dev/stax- 
>> utils/stax-utils/20040917/stax-utils-20040917.jar
>> urls[24] = file:/Users/andrew/.m2/repository/org/codehaus/xfire/ 
>> xfire-java5/1.2.5/xfire-java5-1.2.5.jar
>> urls[25] = file:/Users/andrew/.m2/repository/org/codehaus/xfire/ 
>> xfire-annotations/1.2.5/xfire-annotations-1.2.5.jar
>> urls[26] = file:/Users/andrew/.m2/repository/commons-attributes/ 
>> commons-attributes-api/2.1/commons-attributes-api-2.1.jar
>> urls[27] = file:/Users/andrew/.m2/repository/xfire/xfire-jsr181-api/ 
>> 1.0-M1/xfire-jsr181-api-1.0-M1.jar
>> urls[28] = file:/Users/andrew/.m2/repository/javax/xml/ws/jaxws-api/ 
>> 2.0/jaxws-api-2.0.jar
>> urls[29] = file:/Users/andrew/.m2/repository/javax/xml/bind/jaxb- 
>> api/2.0/jaxb-api-2.0.jar
>> urls[30] = file:/Users/andrew/.m2/repository/javax/xml/bind/ 
>> jsr173_api/1.0/jsr173_api-1.0.jar
>> urls[31] = file:/Users/andrew/.m2/repository/org/codehaus/xfire/ 
>> xfire-xmlbeans/1.2.5/xfire-xmlbeans-1.2.5.jar
>> urls[32] = file:/Users/andrew/.m2/repository/xmlbeans/xbean/2.1.0/ 
>> xbean-2.1.0.jar
>> urls[33] = file:/Users/andrew/.m2/repository/commons-beanutils/ 
>> commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar
>> urls[34] = file:/Users/andrew/.m2/repository/qdox/qdox/1.5/ 
>> qdox-1.5.jar
>> urls[35] = file:/Users/andrew/.m2/repository/org/codehaus/xfire/ 
>> xfire-spring/1.2.5/xfire-spring-1.2.5.jar
>> urls[36] = file:/Users/andrew/.m2/repository/org/apache/xbean/xbean- 
>> spring/3.2/xbean-spring-3.2.jar
>> urls[37] = file:/Users/andrew/.m2/repository/org/springframework/ 
>> spring/2.0.6/spring-2.0.6.jar
>> urls[38] = file:/Users/andrew/.m2/repository/javax/activation/ 
>> activation/1.1/activation-1.1.jar
>> urls[39] = file:/Users/andrew/.m2/repository/javax/mail/mail/1.4/ 
>> mail-1.4.jar
>> urls[40] = file:/Users/andrew/.m2/repository/commons-httpclient/ 
>> commons-httpclient/3.0/commons-httpclient-3.0.jar
>> urls[41] = file:/Users/andrew/.m2/repository/org/codehaus/xfire/ 
>> xfire-jaxws/1.2.5/xfire-jaxws-1.2.5.jar
>> urls[42] = file:/Users/andrew/.m2/repository/xfire/saaj-impl/1.3/ 
>> saaj-impl-1.3.jar
>> urls[43] = file:/Users/andrew/.m2/repository/javax/xml/soap/saaj- 
>> api/1.3/saaj-api-1.3.jar
>> urls[44] = file:/Users/andrew/.m2/repository/javax/servlet/servlet- 
>> api/2.3/servlet-api-2.3.jar
>> urls[45] = file:/Users/andrew/.m2/repository/com/sun/xml/bind/jaxb- 
>> impl/2.0.1/jaxb-impl-2.0.1.jar
>> urls[46] = file:/Users/andrew/.m2/repository/javax/xml/jaxb-api/2.0/ 
>> jaxb-api-2.0.jar
>> [FATAL ERROR] Container realm = plexus.core
>> urls[0] = file:/opt/local/share/java/maven2/lib/maven-2.0.9-uber.jar
>> [INFO]  
>> ------------------------------------------------------------------------
>> [ERROR] FATAL ERROR
>> [INFO]  
>> ------------------------------------------------------------------------
>> [INFO] com/sun/codemodel/JCodeModel
>> com.sun.codemodel.JCodeModel
>> [INFO]  
>> ------------------------------------------------------------------------
>> [INFO] Trace
>> java.lang.NoClassDefFoundError: com/sun/codemodel/JCodeModel
>>    at  
>> org.codehaus.xfire.gen.Wsdl11Generator.<init>(Wsdl11Generator.java: 
>> 51)
>>    at org.codehaus.xfire.gen.WsGenTask.execute(WsGenTask.java:50)
>>    at  
>> org 
>> .apache.servicemix.maven.plugin.xfire.WsgenMojo.exec(WsgenMojo.java: 
>> 190)
>>    at  
>> org 
>> .apache 
>> .servicemix.maven.plugin.xfire.WsgenMojo.execute(WsgenMojo.java:105)
>>    at  
>> org 
>> .apache 
>> .maven 
>> .plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java: 
>> 451)
>>    at  
>> org 
>> .apache 
>> .maven 
>> .lifecycle 
>> .DefaultLifecycleExecutor 
>> .executeGoals(DefaultLifecycleExecutor.java:558)
>>    at  
>> org 
>> .apache 
>> .maven 
>> .lifecycle 
>> .DefaultLifecycleExecutor 
>> .executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
>>    at  
>> org 
>> .apache 
>> .maven 
>> .lifecycle 
>> .DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java: 
>> 478)
>>    at  
>> org 
>> .apache 
>> .maven 
>> .lifecycle 
>> .DefaultLifecycleExecutor 
>> .executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
>>    at  
>> org 
>> .apache 
>> .maven 
>> .lifecycle 
>> .DefaultLifecycleExecutor 
>> .executeTaskSegments(DefaultLifecycleExecutor.java:291)
>>    at  
>> org 
>> .apache 
>> .maven 
>> .lifecycle 
>> .DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
>>    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
>>    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
>>    at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
>>    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>    at  
>> sun 
>> .reflect 
>> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>    at  
>> sun 
>> .reflect 
>> .DelegatingMethodAccessorImpl 
>> .invoke(DelegatingMethodAccessorImpl.java:25)
>>    at java.lang.reflect.Method.invoke(Method.java:597)
>>    at  
>> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>>    at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>>    at  
>> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>>    at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
>> Caused by: java.lang.ClassNotFoundException:  
>> com.sun.codemodel.JCodeModel
>>    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>>    at java.security.AccessController.doPrivileged(Native Method)
>>    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>>    at java.lang.ClassLoader.loadClass(ClassLoader.java:316)
>>    at  
>> org 
>> .codehaus 
>> .classworlds.RealmClassLoader.loadClassDirect(RealmClassLoader.java: 
>> 195)
>>    at  
>> org 
>> .codehaus 
>> .classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:255)
>>    at  
>> org 
>> .codehaus 
>> .classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:274)
>>    at  
>> org 
>> .codehaus 
>> .classworlds.RealmClassLoader.loadClass(RealmClassLoader.java:214)
>>    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>>    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374)
>>    ... 22 more
>> [INFO]  
>> ------------------------------------------------------------------------
>> [INFO] Total time: 1 minute 15 seconds
>> [INFO] Finished at: Fri May 09 15:41:09 IDT 2008
>> [INFO] Final Memory: 28M/66M
>> [INFO]  
>> ------------------------------------------------------------------------
>>
>>
>
> -- 
> ===========================================
> *Optaros, Inc.*
>
> 333 Bryant Street - Suite 110
> San Francisco, CA 94107
>
> Corporate Headquarter:
> 10 Milk Street - 11th Floor
> Boston, MA 02108
>
> cell:  +1 (650) 430-4499
> voice: +1 (617) 227-1855 x8129
> ===========================================


Re: servicemix-3.2.2 does not compile on OSX 10.5

Posted by Uli Romahn <ur...@optaros.com>.
Andrew,

I got the exact same error message when trying to build 3.2.1 on 
openSUSE 10.3 (Linux) after checking it out using the SVN tag 
'servicemix-3.2.1'.
The error persisted regardless what Java SDK I used - I tried it with 
SDK6u5, JDK1.5, and even IBM SDK6.

After a day I gave up and checked out the HEAD from trunk and got it 
build without a hitch.
I suspect that there are some dependencies mixed up in some versions, be 
it from SVN or from the SNAPSHOT tars.

Good luck,
-Uli

Andrew Skiba wrote:
> I'm trying to compile 
> http://svn.apache.org/repos/asf/servicemix/smx3/branches/servicemix-3.2/deployables/serviceengines/servicemix-wsn2005, 
> and get the following error. I suppose the problem is missing  
> com/sun/codemodel/JCodeModel class, may be it does not exist in OSX 
> JVM. Is there anyone using OSX?
>
> Thank you,
>
> Andrew.
>
> [INFO] Scanning for projects...
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Building ServiceMix :: WS-Notification Service Engine
> [INFO]    task-segment: [install]
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] snapshot org.apache.servicemix:sharedlibraries:3.2.2-SNAPSHOT: 
> checking for updates from servicemix-m2-repo
> [INFO] snapshot org.apache.servicemix:sharedlibraries:3.2.2-SNAPSHOT: 
> checking for updates from apache-snapshots
> [INFO] snapshot org.apache.servicemix:sharedlibraries:3.2.2-SNAPSHOT: 
> checking for updates from codehaus
> [INFO] snapshot org.apache.servicemix:sharedlibraries:3.2.2-SNAPSHOT: 
> checking for updates from java.net
> [INFO] snapshot org.apache.servicemix:sharedlibraries:3.2.2-SNAPSHOT: 
> checking for updates from apache.snapshots
> [INFO] snapshot org.apache.servicemix:deployables:3.2.2-SNAPSHOT: 
> checking for updates from servicemix-m2-repo
> [INFO] snapshot org.apache.servicemix:deployables:3.2.2-SNAPSHOT: 
> checking for updates from apache-snapshots
> [INFO] snapshot org.apache.servicemix:deployables:3.2.2-SNAPSHOT: 
> checking for updates from codehaus
> [INFO] snapshot org.apache.servicemix:deployables:3.2.2-SNAPSHOT: 
> checking for updates from java.net
> [INFO] snapshot org.apache.servicemix:deployables:3.2.2-SNAPSHOT: 
> checking for updates from apache.snapshots
> Downloading: 
> http://svn.apache.org/repos/asf/servicemix/m2-repo/org/apache/ws/security/wss4j/1.5.2/wss4j-1.5.2.pom 
>
> Downloading: 
> http://people.apache.org/repo/m2-incubating-repository/org/apache/ws/security/wss4j/1.5.2/wss4j-1.5.2.pom 
>
> Downloading: 
> http://repository.codehaus.org/org/apache/ws/security/wss4j/1.5.2/wss4j-1.5.2.pom 
>
> Downloading: 
> http://download.java.net/maven/1/org.apache.ws.security/poms/wss4j-1.5.2.pom 
>
> Downloading: 
> http://repo1.maven.org/maven2/org/apache/ws/security/wss4j/1.5.2/wss4j-1.5.2.pom 
>
> Downloading: 
> http://svn.apache.org/repos/asf/servicemix/m2-repo/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom 
>
> Downloading: 
> http://people.apache.org/repo/m2-incubating-repository/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom 
>
> Downloading: 
> http://repository.codehaus.org/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom
> Downloading: 
> http://download.java.net/maven/1/xml-security/poms/xmlsec-1.3.0.pom
> Downloading: 
> http://repo1.maven.org/maven2/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom
> [INFO] [xbean:mapping {execution: default}]
> [INFO] Generating META-INF properties file: 
> /Users/andrew/Work/servicemix-3.2/deployables/serviceengines/servicemix-wsn2005/target/xbean/META-INF/services/org/apache/xbean/spring/http/servicemix.apache.org/wsn/1.0 
> for namespace: http://servicemix.apache.org/wsn/1.0
> [INFO] Generating Spring 2.0 handler mapping: 
> /Users/andrew/Work/servicemix-3.2/deployables/serviceengines/servicemix-wsn2005/target/xbean/META-INF/spring.handlers 
> for namespace: http://servicemix.apache.org/wsn/1.0
> [INFO] Generating Spring 2.0 schema mapping: 
> /Users/andrew/Work/servicemix-3.2/deployables/serviceengines/servicemix-wsn2005/target/xbean/META-INF/spring.schemas 
> for namespace: http://servicemix.apache.org/wsn/1.0
> [INFO] Generating HTML documentation file: 
> /Users/andrew/Work/servicemix-3.2/deployables/serviceengines/servicemix-wsn2005/target/xbean/servicemix-wsn2005.xsd.html 
> for namespace: http://servicemix.apache.org/wsn/1.0
> [INFO] Generating XSD file: 
> /Users/andrew/Work/servicemix-3.2/deployables/serviceengines/servicemix-wsn2005/target/xbean/servicemix-wsn2005.xsd 
> for namespace: http://servicemix.apache.org/wsn/1.0
> [INFO] Generating WIKI documentation file: 
> /Users/andrew/Work/servicemix-3.2/deployables/serviceengines/servicemix-wsn2005/target/xbean/servicemix-wsn2005.xsd.wiki 
> for namespace: http://servicemix.apache.org/wsn/1.0
> Warning, could not load class: org.springframework.core.io.Resource: 
> java.lang.ExceptionInInitializerError
> [INFO] ...done.
> Downloading: 
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/xfire/saaj-impl/1.3/saaj-impl-1.3.pom 
>
> Downloading: 
> http://svn.apache.org/repos/asf/servicemix/m2-repo/xfire/saaj-impl/1.3/saaj-impl-1.3.pom 
>
> Downloading: 
> http://people.apache.org/repo/m2-incubating-repository/xfire/saaj-impl/1.3/saaj-impl-1.3.pom 
>
> Downloading: 
> http://repository.codehaus.org/xfire/saaj-impl/1.3/saaj-impl-1.3.pom
> Downloading: 
> http://download.java.net/maven/1/xfire/poms/saaj-impl-1.3.pom
> Downloading: 
> http://repo1.maven.org/maven2/xfire/saaj-impl/1.3/saaj-impl-1.3.pom
> Downloading: 
> http://svn.apache.org/repos/asf/servicemix/m2-repo/xfire/saaj-impl/1.3/saaj-impl-1.3.pom 
>
> Downloading: 
> http://people.apache.org/repo/m2-incubating-repository/xfire/saaj-impl/1.3/saaj-impl-1.3.pom 
>
> Downloading: 
> http://repository.codehaus.org/xfire/saaj-impl/1.3/saaj-impl-1.3.pom
> Downloading: 
> http://download.java.net/maven/1/xfire/poms/saaj-impl-1.3.pom
> Downloading: 
> http://repo1.maven.org/maven2/xfire/saaj-impl/1.3/saaj-impl-1.3.pom
> [INFO] [xfire:wsgen {execution: default}]
> [INFO] Executing XFire WsGen task with url: 
> file:/Users/andrew/Work/servicemix-3.2/deployables/serviceengines/servicemix-wsn2005/src/main/resources/org/apache/servicemix/wsn/wsn.wsdl 
>
> [FATAL ERROR] 
> org.apache.servicemix.maven.plugin.xfire.WsgenMojo#execute() caused a 
> linkage error (java.lang.NoClassDefFoundError) and may be out-of-date. 
> Check the realms:
> [FATAL ERROR] Plugin realm = 
> app0.child-container[org.apache.servicemix.tooling:xfire-maven-plugin]
> urls[0] = 
> file:/Users/andrew/.m2/repository/org/apache/servicemix/tooling/xfire-maven-plugin/3.2.2-SNAPSHOT/xfire-maven-plugin-3.2.2-SNAPSHOT.jar 
>
> urls[1] = 
> file:/Users/andrew/.m2/repository/org/codehaus/plexus/plexus-utils/1.0.5/plexus-utils-1.0.5.jar 
>
> urls[2] = 
> file:/Users/andrew/.m2/repository/org/apache/maven/maven-archiver/2.0.1/maven-archiver-2.0.1.jar 
>
> urls[3] = 
> file:/Users/andrew/.m2/repository/org/codehaus/plexus/plexus-archiver/1.0-alpha-4/plexus-archiver-1.0-alpha-4.jar 
>
> urls[4] = 
> file:/Users/andrew/.m2/repository/org/apache/maven/maven-script-ant/2.0.1/maven-script-ant-2.0.1.jar 
>
> urls[5] = 
> file:/Users/andrew/.m2/repository/org/codehaus/plexus/plexus-ant-factory/1.0-alpha-1/plexus-ant-factory-1.0-alpha-1.jar 
>
> urls[6] = 
> file:/Users/andrew/.m2/repository/ant/ant-launcher/1.6.5/ant-launcher-1.6.5.jar 
>
> urls[7] = file:/Users/andrew/.m2/repository/ant/ant/1.6.5/ant-1.6.5.jar
> urls[8] = 
> file:/Users/andrew/.m2/repository/org/codehaus/xfire/xfire-generator/1.2.5/xfire-generator-1.2.5.jar 
>
> urls[9] = 
> file:/Users/andrew/.m2/repository/org/codehaus/xfire/xfire-jaxb2/1.2.5/xfire-jaxb2-1.2.5.jar 
>
> urls[10] = 
> file:/Users/andrew/.m2/repository/org/codehaus/xfire/xfire-aegis/1.2.5/xfire-aegis-1.2.5.jar 
>
> urls[11] = 
> file:/Users/andrew/.m2/repository/org/codehaus/xfire/xfire-core/1.2.5/xfire-core-1.2.5.jar 
>
> urls[12] = 
> file:/Users/andrew/.m2/repository/wsdl4j/wsdl4j/1.6.1/wsdl4j-1.6.1.jar
> urls[13] = 
> file:/Users/andrew/.m2/repository/jaxen/jaxen/1.1-beta-9/jaxen-1.1-beta-9.jar 
>
> urls[14] = 
> file:/Users/andrew/.m2/repository/xerces/xercesImpl/2.8.1/xercesImpl-2.8.1.jar 
>
> urls[15] = 
> file:/Users/andrew/.m2/repository/xml-apis/xml-apis/1.3.04/xml-apis-1.3.04.jar 
>
> urls[16] = 
> file:/Users/andrew/.m2/repository/stax/stax-api/1.0.1/stax-api-1.0.1.jar
> urls[17] = 
> file:/Users/andrew/.m2/repository/commons-codec/commons-codec/1.3/commons-codec-1.3.jar 
>
> urls[18] = 
> file:/Users/andrew/.m2/repository/org/apache/ws/commons/XmlSchema/1.1/XmlSchema-1.1.jar 
>
> urls[19] = 
> file:/Users/andrew/.m2/repository/org/codehaus/woodstox/wstx-asl/3.2.2/wstx-asl-3.2.2.jar 
>
> urls[20] = file:/Users/andrew/.m2/repository/jdom/jdom/1.0/jdom-1.0.jar
> urls[21] = 
> file:/Users/andrew/.m2/repository/commons-logging/commons-logging/1.1/commons-logging-1.1.jar 
>
> urls[22] = 
> file:/Users/andrew/.m2/repository/log4j/log4j/1.2.13/log4j-1.2.13.jar
> urls[23] = 
> file:/Users/andrew/.m2/repository/net/java/dev/stax-utils/stax-utils/20040917/stax-utils-20040917.jar 
>
> urls[24] = 
> file:/Users/andrew/.m2/repository/org/codehaus/xfire/xfire-java5/1.2.5/xfire-java5-1.2.5.jar 
>
> urls[25] = 
> file:/Users/andrew/.m2/repository/org/codehaus/xfire/xfire-annotations/1.2.5/xfire-annotations-1.2.5.jar 
>
> urls[26] = 
> file:/Users/andrew/.m2/repository/commons-attributes/commons-attributes-api/2.1/commons-attributes-api-2.1.jar 
>
> urls[27] = 
> file:/Users/andrew/.m2/repository/xfire/xfire-jsr181-api/1.0-M1/xfire-jsr181-api-1.0-M1.jar 
>
> urls[28] = 
> file:/Users/andrew/.m2/repository/javax/xml/ws/jaxws-api/2.0/jaxws-api-2.0.jar 
>
> urls[29] = 
> file:/Users/andrew/.m2/repository/javax/xml/bind/jaxb-api/2.0/jaxb-api-2.0.jar 
>
> urls[30] = 
> file:/Users/andrew/.m2/repository/javax/xml/bind/jsr173_api/1.0/jsr173_api-1.0.jar 
>
> urls[31] = 
> file:/Users/andrew/.m2/repository/org/codehaus/xfire/xfire-xmlbeans/1.2.5/xfire-xmlbeans-1.2.5.jar 
>
> urls[32] = 
> file:/Users/andrew/.m2/repository/xmlbeans/xbean/2.1.0/xbean-2.1.0.jar
> urls[33] = 
> file:/Users/andrew/.m2/repository/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar 
>
> urls[34] = file:/Users/andrew/.m2/repository/qdox/qdox/1.5/qdox-1.5.jar
> urls[35] = 
> file:/Users/andrew/.m2/repository/org/codehaus/xfire/xfire-spring/1.2.5/xfire-spring-1.2.5.jar 
>
> urls[36] = 
> file:/Users/andrew/.m2/repository/org/apache/xbean/xbean-spring/3.2/xbean-spring-3.2.jar 
>
> urls[37] = 
> file:/Users/andrew/.m2/repository/org/springframework/spring/2.0.6/spring-2.0.6.jar 
>
> urls[38] = 
> file:/Users/andrew/.m2/repository/javax/activation/activation/1.1/activation-1.1.jar 
>
> urls[39] = 
> file:/Users/andrew/.m2/repository/javax/mail/mail/1.4/mail-1.4.jar
> urls[40] = 
> file:/Users/andrew/.m2/repository/commons-httpclient/commons-httpclient/3.0/commons-httpclient-3.0.jar 
>
> urls[41] = 
> file:/Users/andrew/.m2/repository/org/codehaus/xfire/xfire-jaxws/1.2.5/xfire-jaxws-1.2.5.jar 
>
> urls[42] = 
> file:/Users/andrew/.m2/repository/xfire/saaj-impl/1.3/saaj-impl-1.3.jar
> urls[43] = 
> file:/Users/andrew/.m2/repository/javax/xml/soap/saaj-api/1.3/saaj-api-1.3.jar 
>
> urls[44] = 
> file:/Users/andrew/.m2/repository/javax/servlet/servlet-api/2.3/servlet-api-2.3.jar 
>
> urls[45] = 
> file:/Users/andrew/.m2/repository/com/sun/xml/bind/jaxb-impl/2.0.1/jaxb-impl-2.0.1.jar 
>
> urls[46] = 
> file:/Users/andrew/.m2/repository/javax/xml/jaxb-api/2.0/jaxb-api-2.0.jar
> [FATAL ERROR] Container realm = plexus.core
> urls[0] = file:/opt/local/share/java/maven2/lib/maven-2.0.9-uber.jar
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] com/sun/codemodel/JCodeModel
> com.sun.codemodel.JCodeModel
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Trace
> java.lang.NoClassDefFoundError: com/sun/codemodel/JCodeModel
>     at 
> org.codehaus.xfire.gen.Wsdl11Generator.<init>(Wsdl11Generator.java:51)
>     at org.codehaus.xfire.gen.WsGenTask.execute(WsGenTask.java:50)
>     at 
> org.apache.servicemix.maven.plugin.xfire.WsgenMojo.exec(WsgenMojo.java:190) 
>
>     at 
> org.apache.servicemix.maven.plugin.xfire.WsgenMojo.execute(WsgenMojo.java:105) 
>
>     at 
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451) 
>
>     at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558) 
>
>     at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499) 
>
>     at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478) 
>
>     at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330) 
>
>     at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291) 
>
>     at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142) 
>
>     at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
>     at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
>     at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
>
>     at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 
>
>     at java.lang.reflect.Method.invoke(Method.java:597)
>     at 
> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>     at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>     at 
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>     at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: java.lang.ClassNotFoundException: com.sun.codemodel.JCodeModel
>     at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>     at java.security.AccessController.doPrivileged(Native Method)
>     at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>     at java.lang.ClassLoader.loadClass(ClassLoader.java:316)
>     at 
> org.codehaus.classworlds.RealmClassLoader.loadClassDirect(RealmClassLoader.java:195) 
>
>     at 
> org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:255) 
>
>     at 
> org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:274) 
>
>     at 
> org.codehaus.classworlds.RealmClassLoader.loadClass(RealmClassLoader.java:214) 
>
>     at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>     at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374)
>     ... 22 more
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 1 minute 15 seconds
> [INFO] Finished at: Fri May 09 15:41:09 IDT 2008
> [INFO] Final Memory: 28M/66M
> [INFO] 
> ------------------------------------------------------------------------
>
>

-- 
===========================================
*Optaros, Inc.*

333 Bryant Street - Suite 110
San Francisco, CA 94107

Corporate Headquarter:
10 Milk Street - 11th Floor
Boston, MA 02108

cell:  +1 (650) 430-4499
voice: +1 (617) 227-1855 x8129
===========================================