Try an OpenEJB update (or maven m:update) -- I checked in the
OpenEJB changes fairly recently.
If that doesn't work. I'm going to push new JARs to the Maven repo
shortly, which should definitely resolve it.
Aaron
On Sun, 5 Dec 2004, Craig Johannsen wrote:
> The geronimo/openejb component is failing to build. Virtually all the
> errors have to do with being unable to resolve
> org.apache.geronimo.deployment.DeploymentException. There is a
> DeploymentException in the common module but not in the deployment
> module. Adding one to the deployment module does not fix the problem
> completely since it then complains about function overrides being incorrect:
>
> Plugin 'maven-deploy-plugin' in project 'OpenEJB :: Builder' is not
> available
> build:start:
>
> default:
> java:prepare-filesystem:
>
> java:compile:
> [depend] Deleted 0 out of date files in 0 seconds
> [echo] Compiling to
> /home/craigj/geronimo/openejb/modules/openejb-builder/target/classes
> [javac] Compiling 55 source files to
> /home/craigj/geronimo/openejb/modules/openejb-builder/target/classes
> /home/craigj/geronimo/openejb/modules/openejb-builder/src/java/org/openejb/deployment/OpenEJBModuleBuilder.java:353:
>
> addGBeans(org.apache.geronimo.j2ee.deployment.EARContext,org.apache.geronimo.j2ee.deployment.Module,java.lang.ClassLoader)
>
> in org.openejb.deployment.OpenEJBModuleBuilder cannot implement
> addGBeans(org.apache.geronimo.j2ee.deployment.EARContext,org.apache.geronimo.j2ee.deployment.Module,java.lang.ClassLoader)
>
> in org.apache.geronimo.j2ee.deployment.ModuleBuilder; overridden method
> does not throw org.apache.geronimo.deployment.DeploymentException
> public String addGBeans(EARContext earContext, Module module,
> ClassLoader cl) throws DeploymentException {
> ^
> /home/craigj/geronimo/openejb/modules/openejb-builder/src/java/org/openejb/deployment/OpenEJBModuleBuilder.java:288:
>
> initContext(org.apache.geronimo.j2ee.deployment.EARContext,org.apache.geronimo.j2ee.deployment.Module,java.lang.ClassLoader)
>
> in org.openejb.deployment.OpenEJBModuleBuilder cannot implement
> initContext(org.apache.geronimo.j2ee.deployment.EARContext,org.apache.geronimo.j2ee.deployment.Module,java.lang.ClassLoader)
>
> in org.apache.geronimo.j2ee.deployment.ModuleBuilder; overridden method
> does not throw org.apache.geronimo.deployment.DeploymentException
> public void initContext(EARContext earContext, Module module,
> ClassLoader cl) throws DeploymentException {
> ^
> /home/craigj/geronimo/openejb/modules/openejb-builder/src/java/org/openejb/deployment/OpenEJBModuleBuilder.java:271:
>
> installModule(java.util.jar.JarFile,org.apache.geronimo.j2ee.deployment.EARContext,org.apache.geronimo.j2ee.deployment.Module)
>
> in org.openejb.deployment.OpenEJBModuleBuilder cannot implement
> installModule(java.util.jar.JarFile,org.apache.geronimo.j2ee.deployment.EARContext,org.apache.geronimo.j2ee.deployment.Module)
>
> in org.apache.geronimo.j2ee.deployment.ModuleBuilder; overridden method
> does not throw org.apache.geronimo.deployment.DeploymentException
> public void installModule(JarFile earFile, EARContext earContext,
> Module module) throws DeploymentException {
> ^
> /home/craigj/geronimo/openejb/modules/openejb-builder/src/java/org/openejb/deployment/OpenEJBModuleBuilder.java:152:
>
> createModule(java.lang.Object,java.util.jar.JarFile,java.lang.String,java.net.URL,java.net.URI)
>
> in org.openejb.deployment.OpenEJBModuleBuilder cannot implement
> createModule(java.lang.Object,java.util.jar.JarFile,java.lang.String,java.net.URL,java.net.URI)
>
> in org.apache.geronimo.j2ee.deployment.ModuleBuilder; overridden method
> does not throw org.apache.geronimo.deployment.DeploymentException
> public Module createModule(Object plan, JarFile moduleFile, String
> targetPath, URL specDDUrl, URI earConfigId) throws DeploymentException {
> ^
> /home/craigj/geronimo/openejb/modules/openejb-builder/src/java/org/openejb/deployment/OpenEJBModuleBuilder.java:148:
>
> createModule(java.io.File,java.util.jar.JarFile) in
> org.openejb.deployment.OpenEJBModuleBuilder cannot implement
> createModule(java.io.File,java.util.jar.JarFile) in
> org.apache.geronimo.j2ee.deployment.ModuleBuilder; overridden method
> does not throw org.apache.geronimo.deployment.DeploymentException
> public Module createModule(File plan, JarFile moduleFile) throws
> DeploymentException {
> ^
> Note: Some input files use or override a deprecated API.
> Note: Recompile with -deprecation for details.
> 5 errors
>
> BUILD FAILED
>
> Any suggestions as to the best way to work around this?
>
> Cheers,
> Craig
>
> anita kulshreshtha wrote:
>
> >Hi
> > I do not build OpenEJB etc. from the source. Is it
> >possible that I am getting a different version of
> >OpenEJB in which
> >org.openejb.deployment.OpenEJBMOduleBuilder still
> >references
> >org.apache.geronimo.security.GeronimoSecurityException?
> >Any help will be appreciated.
> >
> >Thanks
> >Anita
> >--- anita kulshreshtha <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> >>Hi
> >> I have been having the same problem. I have
> >>rebuilt many times. The
> >>geronimo-common-1.0-SNAPSHOT.jar does have
> >>GeronimoSecurityException class. I am using winXP,
> >>JDK1.5.
> >>Thanks
> >>Anita
> >>--- Aaron Mulder <[EMAIL PROTECTED]>
> >>wrote:
> >>
> >>
> >>
> >>>On Fri, 3 Dec 2004, David Blevins wrote:
> >>>
> >>>
> >+org/apache/geronimo/security/GeronimoSecurityException
> >
> >
> >>>>This class was moved, no?
> >>>>
> >>>>
> >>> It was moved to Geronimo common... (which would
> >>>
> >>>
> >>be
> >>
> >>
> >>>unavailable
> >>>why?) I haven't seen this problem in my build
> >>>environments. Is it
> >>>possible that we haven't pushed new JARs since the
> >>>move so this build
> >>>doesn't have the class at all? I'll try to
> >>>
> >>>
> >>manually
> >>
> >>
> >>>push JARs this
> >>>morning.
> >>>
> >>>
> >>>
> >>>>The build script i have has been dying like
> >>>>
> >>>>
> >>crazy
> >>
> >>
> >>>as every few days or
> >>>
> >>>
> >>>>week the build get's wedged loading plans in
> >>>>
> >>>>
> >>>assembly or in network
> >>>
> >>>
> >>>>tests and just hangs. Don't think I've seen it
> >>>>
> >>>>
> >>>stay running longer
> >>>
> >>>
> >>>>than 10 days.
> >>>>
> >>>>
> >>> I'd sure like to see some revisions to the
> >>>networking code that
> >>>would cause it to not wedge! I think Hiram and
> >>>
> >>>
> >>Alan
> >>
> >>
> >>>had some thoughts on
> >>>that...
> >>>
> >>>Aaron
> >>>
> >>>P.S. Next time, could you send your commentary
> >>>without the 2.4MB log file
> >>>that we just got twice already? Thanks. (I
> >>>
> >>>
> >>haven't
> >>
> >>
> >>>moved to GMail yet)
> >>>
> >>>
> >>>
> >>
> >>__________________________________
> >>Do you Yahoo!?
> >>Send a seasonal email greeting and help others. Do
> >>good.
> >>http://celebrity.mail.yahoo.com
> >>
> >>
> >>
> >
> >
> >
> >__________________________________
> >Do you Yahoo!?
> >Yahoo! Mail - Find what you need with new enhanced search.
> >http://info.mail.yahoo.com/mail_250
> >
> >
> >
>