geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacek Laskowski" <ja...@laskowski.net.pl>
Subject java.lang.UnsupportedOperationException: Only local file jars are supported jar:file
Date Fri, 13 Jun 2008 07:34:21 GMT
Hi,

Does anyone know what's going on with the build of the recent Geronimo
sources on Cygwin/WinXP? I'm running into it with Geronimo itself and
the samples.

[INFO] Started deployer:
org.apache.geronimo.framework/geronimo-gbean-deployer/2.2-SNAPSHOT/car
[ERROR] The protocol for the JAR file's URL is not supported
java.lang.UnsupportedOperationException: Only local file jars are
supported jar:file:/C:/.m2/org/apache/geronimo/configs/system-database/2.2-SNAPSHOT/system-database-2.2-SNAPSHOT.car!/r
ar/tranql-connector-1.4.jar
    org.apache.geronimo.kernel.classloader.UrlResourceFinder.cacheUrl(UrlResourceFinder.java:231)
    org.apache.geronimo.kernel.classloader.UrlResourceFinder.rebuildClassPath(UrlResourceFinder.java:188)
    org.apache.geronimo.kernel.classloader.UrlResourceFinder.addUrls(UrlResourceFinder.java:142)
    org.apache.geronimo.kernel.classloader.UrlResourceFinder.addUrls(UrlResourceFinder.java:127)
    org.apache.geronimo.kernel.classloader.JarFileClassLoader$2.run(JarFileClassLoader.java:159)
    java.security.AccessController.doPrivileged(Native Method)
    org.apache.geronimo.kernel.classloader.JarFileClassLoader.addURLs(JarFileClassLoader.java:157)
    org.apache.geronimo.kernel.classloader.JarFileClassLoader.<init>(JarFileClassLoader.java:108)
    org.apache.geronimo.kernel.config.Configuration.createConfigurationClasssLoader(Configuration.java:377)
    org.apache.geronimo.kernel.config.Configuration.<init>(Configuration.java:268)
    sun.reflect.GeneratedConstructorAccessor144.newInstance(Unknown Source)
    sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    java.lang.reflect.Constructor.newInstance(Constructor.java:494)
    org.apache.xbean.recipe.ObjectRecipe.createInstance(ObjectRecipe.java:390)
    org.apache.xbean.recipe.ObjectRecipe.create(ObjectRecipe.java:194)
    org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:910)
    org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:269)
    org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:103)
    org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:524)
    org.apache.geronimo.kernel.basic.BasicKernel.startGBean(BasicKernel.java:359)
    org.apache.geronimo.kernel.config.KernelConfigurationManager.load(KernelConfigurationManager.java:162)
    org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:312)
    org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:280)
    sun.reflect.GeneratedMethodAccessor158.invoke(Unknown Source)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:585)
    org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
    org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
    org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:815)
    org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
    org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
    org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
    org.apache.geronimo.kernel.config.ConfigurationManager$$EnhancerByCGLIB$$bd346034.loadConfiguration(<generated>)
    org.apache.geronimo.mavenplugins.car.PackageMojo.buildPackage(PackageMojo.java:282)
    org.apache.geronimo.mavenplugins.car.PackageMojo.execute(PackageMojo.java:202)
    org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
    org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
    org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
    org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
    org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
    org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
    org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
    org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
    org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
    org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:585)
    org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
    org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
    org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
    org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[ERROR] The protocol for the JAR file's URL is not supported
java.lang.UnsupportedOperationException: Only local file jars are
supported jar:file:/C:/.m2/org/apache/geronimo/configs/system-database/2.2-SNAPSHOT/system-database-2.2-SNAPSHOT.car!/r
ar/tranql-connector-derby-common-1.4.jar
    org.apache.geronimo.kernel.classloader.UrlResourceFinder.cacheUrl(UrlResourceFinder.java:231)
    org.apache.geronimo.kernel.classloader.UrlResourceFinder.rebuildClassPath(UrlResourceFinder.java:188)
    org.apache.geronimo.kernel.classloader.UrlResourceFinder.addUrls(UrlResourceFinder.java:142)
    org.apache.geronimo.kernel.classloader.UrlResourceFinder.addUrls(UrlResourceFinder.java:127)
    org.apache.geronimo.kernel.classloader.JarFileClassLoader$2.run(JarFileClassLoader.java:159)
    java.security.AccessController.doPrivileged(Native Method)
    org.apache.geronimo.kernel.classloader.JarFileClassLoader.addURLs(JarFileClassLoader.java:157)
    org.apache.geronimo.kernel.classloader.JarFileClassLoader.<init>(JarFileClassLoader.java:108)
    org.apache.geronimo.kernel.config.Configuration.createConfigurationClasssLoader(Configuration.java:377)
    org.apache.geronimo.kernel.config.Configuration.<init>(Configuration.java:268)
    sun.reflect.GeneratedConstructorAccessor144.newInstance(Unknown Source)
    sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    java.lang.reflect.Constructor.newInstance(Constructor.java:494)
    org.apache.xbean.recipe.ObjectRecipe.createInstance(ObjectRecipe.java:390)
    org.apache.xbean.recipe.ObjectRecipe.create(ObjectRecipe.java:194)
    org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:910)
    org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:269)
    org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:103)
    org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:524)
    org.apache.geronimo.kernel.basic.BasicKernel.startGBean(BasicKernel.java:359)
    org.apache.geronimo.kernel.config.KernelConfigurationManager.load(KernelConfigurationManager.java:162)
    org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:312)
    org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:280)
    sun.reflect.GeneratedMethodAccessor158.invoke(Unknown Source)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:585)
    org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
    org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
    org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:815)
    org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
    org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
    org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
    org.apache.geronimo.kernel.config.ConfigurationManager$$EnhancerByCGLIB$$bd346034.loadConfiguration(<generated>)
    org.apache.geronimo.mavenplugins.car.PackageMojo.buildPackage(PackageMojo.java:282)
    org.apache.geronimo.mavenplugins.car.PackageMojo.execute(PackageMojo.java:202)
    org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
    org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
    org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
    org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
    org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
    org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
    org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
    org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
    org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
    org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:585)
    org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
    org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
    org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
    org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[INFO] Started deployer:
org.apache.geronimo.configs/openejb-deployer/2.2-SNAPSHOT/car
[ERROR] Deployment failed due to
java.lang.NoClassDefFoundError: com/envoisolutions/sxc/jaxb/JAXBContextImpl
    org.apache.openejb.jee.oejb3.JaxbOpenejbJar3.getContext(JaxbOpenejbJar3.java:67)
    org.apache.openejb.jee.oejb3.JaxbOpenejbJar3.unmarshal(JaxbOpenejbJar3.java:80)
    org.apache.openejb.config.ReadDescriptors.readOpenejbJar(ReadDescriptors.java:127)
    org.apache.openejb.config.ReadDescriptors.deploy(ReadDescriptors.java:79)
    org.apache.geronimo.openejb.deployment.EjbModuleBuilder.createModule(EjbModuleBuilder.java:298)
    org.apache.geronimo.openejb.deployment.EjbModuleBuilder.createModule(EjbModuleBuilder.java:225)
    org.apache.geronimo.j2ee.deployment.EARConfigBuilder.getDeploymentPlan(EARConfigBuilder.java:324)
    org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:227)
    sun.reflect.GeneratedMethodAccessor160.invoke(Unknown Source)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:585)
    org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
    org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
    org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:850)
    org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:237)
    org.apache.geronimo.mavenplugins.car.PackageMojo.invokeDeployer(PackageMojo.java:476)
    org.apache.geronimo.mavenplugins.car.PackageMojo.buildPackage(PackageMojo.java:302)
    org.apache.geronimo.mavenplugins.car.PackageMojo.execute(PackageMojo.java:202)
    org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
    org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
    org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
    org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
    org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
    org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
    org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
    org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
    org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
    org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:585)
    org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
    org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
    org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
    org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[FATAL ERROR] org.apache.geronimo.mavenplugins.car.PackageMojo#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.geronimo.buildsupport:car-maven-plugin]
...
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] com/envoisolutions/sxc/jaxb/JAXBContextImpl
[INFO] ------------------------------------------------------------------------
[INFO] Trace
java.lang.NoClassDefFoundError: com/envoisolutions/sxc/jaxb/JAXBContextImpl
        at org.apache.openejb.jee.oejb3.JaxbOpenejbJar3.getContext(JaxbOpenejbJar3.java:67)
        at org.apache.openejb.jee.oejb3.JaxbOpenejbJar3.unmarshal(JaxbOpenejbJar3.java:80)
        at org.apache.openejb.config.ReadDescriptors.readOpenejbJar(ReadDescriptors.java:127)
        at org.apache.openejb.config.ReadDescriptors.deploy(ReadDescriptors.java:79)
        at org.apache.geronimo.openejb.deployment.EjbModuleBuilder.createModule(EjbModuleBuilder.java:298)
        at org.apache.geronimo.openejb.deployment.EjbModuleBuilder.createModule(EjbModuleBuilder.java:225)
        at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.getDeploymentPlan(EARConfigBuilder.java:324)
        at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:227)
        at sun.reflect.GeneratedMethodAccessor160.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
        at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:850)
        at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:237)
        at org.apache.geronimo.mavenplugins.car.PackageMojo.invokeDeployer(PackageMojo.java:476)
        at org.apache.geronimo.mavenplugins.car.PackageMojo.buildPackage(PackageMojo.java:302)
        at org.apache.geronimo.mavenplugins.car.PackageMojo.execute(PackageMojo.java:202)
        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:585)
        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)

Jacek

-- 
Jacek Laskowski
http://www.JacekLaskowski.pl

Mime
View raw message