tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Gallimore <jonathan.gallim...@gmail.com>
Subject Re: EXCEPTION
Date Fri, 15 Jan 2010 14:01:50 GMT
It looks likes we're trying to search for a descriptor to determine a module
type when deploying your app.

It looks like you're running in an OSGi container from the osgi> prompt. It
may be a case of we're finding a jar in an OSGi bundle, trying to determine
its type, and not being able to open it because we only support the file://
protocol.

I'd like to have a bit more of a go with the OSGi support - can you provide
a bit more detail about what you're deploying and I'll have a go with it?

Jon

On Thu, Jan 14, 2010 at 8:41 PM, Alistair Lenhard <alenhard@gmail.com>wrote:

> Hi,
>
> can anyone tell me what is going on here?
> Alistair
>
> osgi> Apache OpenEJB 3.1.2    build: 20091010-03:11
> http://openejb.apache.org/
> INFO - openejb.home = D:\eclipse-jee-galileo-SR1-win32\eclipse
> INFO - openejb.base = D:\eclipse-jee-galileo-SR1-win32\eclipse
> INFO - Configuring Service(id=Default Security Service,
> type=SecurityService, provider-id=Default Security Service)
> INFO - Configuring Service(id=Default Transaction Manager,
> type=TransactionManager, provider-id=Default Transaction Manager)
> INFO - Configuring Service(id=MySqlDatabaseUnmanaged, type=Resource,
> provider-id=Default JDBC Database)
> INFO - Configuring Service(id=MySqlDatabase, type=Resource,
> provider-id=Default JDBC Database)
> ERROR - FATAL ERROR: Unknown error in Assembler.  Please send the following
> stack trace and this message to users@openejb.apache.org :
> java.lang.NullPointerException
>   at
> org.apache.openejb.config.DeploymentLoader.getWebDescriptors(DeploymentLoader.java:1057)
>   at
> org.apache.openejb.config.DeploymentLoader.discoverModuleType(DeploymentLoader.java:1162)
>   at
> org.apache.openejb.config.DeploymentsResolver.processUrls(DeploymentsResolver.java:294)
>   at
> org.apache.openejb.config.DeploymentsResolver.loadFromClasspath(DeploymentsResolver.java:248)
>   at
> org.apache.openejb.config.ConfigurationFactory.getOpenEjbConfiguration(ConfigurationFactory.java:368)
>   at
> org.apache.openejb.assembler.classic.Assembler.getOpenEjbConfiguration(Assembler.java:299)
>   at
> org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:278)
>   at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:137)
>   at org.apache.openejb.OpenEJB.init(OpenEJB.java:286)
>   at org.apache.openejb.OpenEJB.init(OpenEJB.java:265)
>
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>   at java.lang.reflect.Method.invoke(Unknown Source)
>   at
> org.apache.openejb.loader.OpenEJBInstance.init(OpenEJBInstance.java:36)
>   at
> org.apache.openejb.client.LocalInitialContextFactory.init(LocalInitialContextFactory.java:71)
>   at
> org.apache.openejb.client.LocalInitialContextFactory.init(LocalInitialContextFactory.java:53)
>   at
> org.apache.openejb.client.LocalInitialContextFactory.getInitialContext(LocalInitialContextFactory.java:42)
>   at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
>   at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
>   at javax.naming.InitialContext.init(Unknown Source)
>   at javax.naming.InitialContext.<init>(Unknown Source)
>   at org.clearspace.plugin.ef.dbconnector.Activator.test(Activator.java:62)
>   at
> org.clearspace.plugin.ef.dbconnector.Activator.start(Activator.java:39)
>   at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:783)
>   at java.security.AccessController.doPrivileged(Native Method)
>   at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:774)
>   at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:755)
>   at
> org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:352)
>   at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:370)
>   at
> org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1068)
>   at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:557)
>   at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:464)
>   at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:248)
>   at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:445)
>   at
> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:227)
>   at
> org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:337)
>
> FATAL - OpenEJB has encountered a fatal error and cannot be started:
> Assembler failed to build the container system.
> org.apache.openejb.OpenEJBException: java.lang.NullPointerException: null
>   at
> org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:292)
>   at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:137)
>   at org.apache.openejb.OpenEJB.init(OpenEJB.java:286)
>   at org.apache.openejb.OpenEJB.init(OpenEJB.java:265)
>
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>   at java.lang.reflect.Method.invoke(Unknown Source)
>   at
> org.apache.openejb.loader.OpenEJBInstance.init(OpenEJBInstance.java:36)
>   at
> org.apache.openejb.client.LocalInitialContextFactory.init(LocalInitialContextFactory.java:71)
>   at
> org.apache.openejb.client.LocalInitialContextFactory.init(LocalInitialContextFactory.java:53)
>   at
> org.apache.openejb.client.LocalInitialContextFactory.getInitialContext(LocalInitialContextFactory.java:42)
>   at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
>   at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
>   at javax.naming.InitialContext.init(Unknown Source)
>   at javax.naming.InitialContext.<init>(Unknown Source)
>   at org.clearspace.plugin.ef.dbconnector.Activator.test(Activator.java:62)
>   at
> org.clearspace.plugin.ef.dbconnector.Activator.start(Activator.java:39)
>   at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:783)
>   at java.security.AccessController.doPrivileged(Native Method)
>   at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:774)
>   at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:755)
>   at
> org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:352)
>   at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:370)
>   at
> org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1068)
>   at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:557)
>   at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:464)
>   at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:248)
>   at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:445)
>   at
> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:227)
>   at
> org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:337)
> Caused by: java.lang.NullPointerException
>   at
> org.apache.openejb.config.DeploymentLoader.getWebDescriptors(DeploymentLoader.java:1057)
>   at
> org.apache.openejb.config.DeploymentLoader.discoverModuleType(DeploymentLoader.java:1162)
>   at
> org.apache.openejb.config.DeploymentsResolver.processUrls(DeploymentsResolver.java:294)
>   at
> org.apache.openejb.config.DeploymentsResolver.loadFromClasspath(DeploymentsResolver.java:248)
>   at
> org.apache.openejb.config.ConfigurationFactory.getOpenEjbConfiguration(ConfigurationFactory.java:368)
>   at
> org.apache.openejb.assembler.classic.Assembler.getOpenEjbConfiguration(Assembler.java:299)
>   at
> org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:278)
>   ... 30 more
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message