tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vikrant Yagnick <Vikrant.Yagn...@mastek.com>
Subject RE: EXCEPTION
Date Fri, 15 Jan 2010 11:04:54 GMT
We usually face this problem when the openejb.home and openejb.base point to the wrong directory.
What is happening is, that OpenEJB wants to find ejb-jar and web.xml but cannot find them.

You can try setting these environment variables manually on the java command line and see
if that works. (For us, sometimes the problem disappears on it's own).

-----Original Message-----
From: Alistair Lenhard [mailto:alenhard@gmail.com]
Sent: Friday, January 15, 2010 2:11 AM
To: users@openejb.apache.org
Subject: EXCEPTION

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



MASTEK LTD.
Mastek is in NASSCOM's 'India Top 20' Software Service Exporters List.
In the US, we're called MAJESCOMASTEK

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Opinions expressed in this e-mail are those of the individual and not that of Mastek Limited,
unless specifically indicated to that effect. Mastek Limited does not accept any responsibility
or liability for it. This e-mail and attachments (if any) transmitted with it are confidential
and/or privileged and solely for the use of the intended person or entity to which it is addressed.
Any review, re-transmission, dissemination or other use of or taking of any action in reliance
upon this information by persons or entities other than the intended recipient is prohibited.
This e-mail and its attachments have been scanned for the presence of computer viruses. It
is the responsibility of the recipient to run the virus check on e-mails and attachments before
opening them. If you have received this e-mail in error, kindly delete this e-mail from desktop
and server.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Mime
View raw message