On Oct 8, 2010, at 5:17 AM, Jonathan Gallimore wrote:
> Just ran this. I ran into one problem which was the Tomcat bundle trying to
> use the openejb-webapp 3.1.3-SNAPSHOT and not 3.1.3 - I guess the prepare
> goal for the release plugin didn't pick this one up. I've updated the
> version string and committed the change to the branch.
>
> Other than that, I've done the deployment, and it has just finished without
> any errors. I've checked Nexus, and it looks like stuff is there. The
> repository is here:
> https://repository.apache.org/content/repositories/orgapacheopenejb-009/
>
> Let me know if there's anything else I can do, but hopefully this deployment
> will be good.
>
That's great. Noticed our tomcat bundle didn't have the intended 6.0.26.313
version number and just had 313. As fixing that would mean attempting to get
another upload to work, I switched over to my mac mini to see if I could get
the build to go from there. Then I noticed that we don't compile under java
1.5. We get this compilation failure:
[INFO]
------------------------------------------------------------------------
[INFO] Building OpenEJB :: Server :: CXF
[INFO] task-segment: [clean, install]
[INFO]
------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting file set:
/Users/dblevins/work/openejb-3.1.3/server/openejb-cxf/target (included: [**],
excluded: [])
[INFO] [remote-resources:process {execution: default}]
[WARNING] org.apache.velocity.runtime.exception.ReferenceException: reference
: template = META-INF/DEPENDENCIES.vm [line 40,column 14] : $license.name is
not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException: reference
: template = META-INF/DEPENDENCIES.vm [line 40,column 14] : $license.name is
not a valid reference.
[INFO] [resources:resources]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] [compiler:compile]
[INFO] Compiling 23 source files to
/Users/dblevins/work/openejb-3.1.3/server/openejb-cxf/target/classes
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Compilation failure
/Users/dblevins/work/openejb-3.1.3/server/openejb-cxf/src/main/java/org/apache/openejb/server/cxf/ejb/EjbMessageContext.java:[22,33]
cannot find symbol
symbol : class W3CEndpointReferenceBuilder
location: package javax.xml.ws.wsaddressing
/Users/dblevins/work/openejb-3.1.3/server/openejb-cxf/src/main/java/org/apache/openejb/server/cxf/ejb/EjbMessageContext.java:[40,8]
cannot find symbol
symbol : class W3CEndpointReferenceBuilder
location: class org.apache.openejb.server.cxf.ejb.EjbMessageContext
/Users/dblevins/work/openejb-3.1.3/server/openejb-cxf/src/main/java/org/apache/openejb/server/cxf/ejb/EjbMessageContext.java:[40,50]
cannot find symbol
symbol : class W3CEndpointReferenceBuilder
location: class org.apache.openejb.server.cxf.ejb.EjbMessageContext
I sifted through and was able to fix it by updating our javaee-api jar. Seems
I cut things too thin when trimming down the cxf dependencies. The jaxws api
is in the Java 6 vm so it went unnoticed.
Going to try an upload from the mac mini and see if I can't get it to work. If
not, I may need you to do another upload.
-David