This was posted a few days ago, but since I personally ran into it again, I'm going to repost.

If you see the following error while building openejb:

/Users/dain/work/geronimo/branches/1.1/openejb/modules/core/src/java/ org/openejb/corba/proxy/CORBAProxyReference.java:88: cannot resolve symbol
    [javac] symbol  : variable abstractNameQuery
    [javac] location: class org.openejb.corba.proxy.CORBAProxyReference
[javac] if (log.isDebugEnabled()) log.debug("Obtaining home from " + nsCorbaloc.toString() + ", " + objectName + ", " + abstractNameQuery + ", " + home); [javac] ^
...

Apply the 1434_openejb.diff at http://issues.apache.org/jira/browse/ GERONIMO-1434 patch to OpenEJB:

~/work/geronimo/branches/1.1/openejb$ patch -p0 < 1434_openejb.diff
patching file modules/openejb-builder/src/java/org/openejb/deployment/ OpenEJBModuleBuilder.java patching file modules/openejb-builder/src/java/org/openejb/deployment/ MdbBuilder.java patching file modules/openejb-builder/src/java/org/openejb/deployment/ EntityBuilder.java patching file modules/openejb-builder/src/java/org/openejb/deployment/ SessionBuilder.java patching file modules/core/src/java/org/openejb/proxy/ EJBProxyReference.java patching file modules/core/src/java/org/openejb/corba/proxy/ CORBAProxyReference.java
patching file etc/project.properties


After that you should be able to build again. Hopefully, OpenEJB svn will be back up later today or tomorrow and we'll be able to apply the patch directly.

-dain

Reply via email to