geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephen Davidson <steverdavid...@gmail.com>
Subject Re: deploy
Date Mon, 16 Apr 2012 19:05:58 GMT
Thanks Ivan.....
Still no go. 

I have used the mvn install:install-file command to install my ojdbc14.jar
into the .m2/repository.  With that, I am able to build successfully.

mvn install:install-file -Dfile=c:\ojdbc14.jar -DgroupId=com.oracle
-DartifactId=jdbc-driver -Dversion=10g -Dpackaging=jar

This installs it into
.m2/repository/com/oracle/jdbc-driver/10g/jdbc-driver-10g.jar

Then I go into the UI and choose this page:

http://apache-geronimo.328035.n3.nabble.com/file/n3915280/Capture.png 

and it installs the driver into
geronimo\repository\com\oracle\jdbc-driver\10g\jdbc-driver-10g.jar

But when I try to create a datasource based on that artifact, I get an
exception and my datasource does not add.


2012-04-16 12:50:32,846 WARN  [DependencyManager] Could not install bundle
for artifact: com.oracle/jdbc-driver/10g/jar
org.osgi.framework.BundleException: Invalid manifest header Bundle-Version:
"10g" : For input string: "10g"
	at
org.eclipse.osgi.internal.resolver.StateBuilder.createBundleDescription(StateBuilder.java:86)
	at
org.eclipse.osgi.internal.resolver.StateObjectFactoryImpl.createBundleDescription(StateObjectFactoryImpl.java:32)
	at
org.eclipse.osgi.internal.baseadaptor.BaseStorage.updateState(BaseStorage.java:1211)
	at
org.eclipse.osgi.internal.baseadaptor.BundleInstall.commit(BundleInstall.java:123)
	at
org.eclipse.osgi.framework.internal.core.Framework.installWorkerPrivileged(Framework.java:959)
	at
org.eclipse.osgi.framework.internal.core.Framework$1.run(Framework.java:838)
	at
org.eclipse.osgi.framework.internal.core.Framework$1.run(Framework.java:1)
	at java.security.AccessController.doPrivileged(Native Method)
	at
org.eclipse.osgi.framework.internal.core.Framework.installWorker(Framework.java:897)
	at
org.eclipse.osgi.framework.internal.core.Framework.installBundle(Framework.java:833)
	at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.installBundle(BundleContextImpl.java:137)
	at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.installBundle(BundleContextImpl.java:131)
	at
org.apache.geronimo.system.configuration.DependencyManager.installed(DependencyManager.java:450)
	at
org.apache.geronimo.system.configuration.DependencyManager.bundleChanged(DependencyManager.java:117)
	at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847)
	at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
	at
org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
	at
org.eclipse.osgi.framework.internal.core.Framework.publishBundleEventPrivileged(Framework.java:1523)
	at
org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1459)
	at
org.eclipse.osgi.framework.internal.core.Framework.installWorker(Framework.java:898)
	at
org.eclipse.osgi.framework.internal.core.Framework.installBundle(Framework.java:833)
	at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.installBundle(BundleContextImpl.java:137)
	at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.installBundle(BundleContextImpl.java:131)
	at
org.apache.geronimo.deployment.DeploymentContext.createTempConfiguration(DeploymentContext.java:202)
	at
org.apache.geronimo.deployment.DeploymentContext.initializeConfiguration(DeploymentContext.java:192)
	at
org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:661)
	at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:255)
	at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:140)
	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:597)
	at
org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
	at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:131)
	at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:883)
	at
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245)
	at
org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDeploy(AbstractDeployCommand.java:116)
	at
org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(DistributeCommand.java:61)
	at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.NumberFormatException: For input string: "10g"
	at
java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
	at java.lang.Integer.parseInt(Integer.java:458)
	at java.lang.Integer.parseInt(Integer.java:499)
	at org.osgi.framework.Version.<init>(Version.java:127)
	at org.osgi.framework.Version.parseVersion(Version.java:225)
	at
org.eclipse.osgi.internal.resolver.StateBuilder.createBundleDescription(StateBuilder.java:82)
	... 38 more
2012-04-16 12:50:32,862 WARN  [DependencyManager] Could not install bundle
for artifact: com.oracle/jdbc-driver/10g/jar
org.osgi.framework.BundleException: Invalid manifest header Bundle-Version:
"10g" : For input string: "10g"
	at
org.eclipse.osgi.internal.resolver.StateBuilder.createBundleDescription(StateBuilder.java:86)
	at
org.eclipse.osgi.internal.resolver.StateObjectFactoryImpl.createBundleDescription(StateObjectFactoryImpl.java:32)
	at
org.eclipse.osgi.internal.baseadaptor.BaseStorage.updateState(BaseStorage.java:1211)
	at
org.eclipse.osgi.internal.baseadaptor.BundleInstall.commit(BundleInstall.java:123)
	at
org.eclipse.osgi.framework.internal.core.Framework.installWorkerPrivileged(Framework.java:959)
	at
org.eclipse.osgi.framework.internal.core.Framework$1.run(Framework.java:838)
	at
org.eclipse.osgi.framework.internal.core.Framework$1.run(Framework.java:1)
	at java.security.AccessController.doPrivileged(Native Method)
	at
org.eclipse.osgi.framework.internal.core.Framework.installWorker(Framework.java:897)
	at
org.eclipse.osgi.framework.internal.core.Framework.installBundle(Framework.java:833)
	at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.installBundle(BundleContextImpl.java:137)
	at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.installBundle(BundleContextImpl.java:131)
	at
org.apache.geronimo.system.configuration.DependencyManager.installed(DependencyManager.java:450)
	at
org.apache.geronimo.system.configuration.DependencyManager.bundleChanged(DependencyManager.java:117)
	at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847)
	at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
	at
org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
	at
org.eclipse.osgi.framework.internal.core.Framework.publishBundleEventPrivileged(Framework.java:1523)
	at
org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1459)
	at
org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1454)
	at
org.eclipse.osgi.framework.internal.core.PackageAdminImpl.processDelta(PackageAdminImpl.java:542)
	at
org.eclipse.osgi.framework.internal.core.PackageAdminImpl.doResolveBundles(PackageAdminImpl.java:253)
	at
org.eclipse.osgi.framework.internal.core.PackageAdminImpl.resolveBundles(PackageAdminImpl.java:191)
	at
org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:322)
	at
org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:299)
	at
org.apache.geronimo.deployment.DeploymentContext.createTempConfiguration(DeploymentContext.java:204)
	at
org.apache.geronimo.deployment.DeploymentContext.initializeConfiguration(DeploymentContext.java:192)
	at
org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:661)
	at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:255)
	at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:140)
	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:597)
	at
org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
	at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:131)
	at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:883)
	at
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245)
	at
org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDeploy(AbstractDeployCommand.java:116)
	at
org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(DistributeCommand.java:61)
	at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.NumberFormatException: For input string: "10g"
	at
java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
	at java.lang.Integer.parseInt(Integer.java:458)
	at java.lang.Integer.parseInt(Integer.java:499)
	at org.osgi.framework.Version.<init>(Version.java:127)
	at org.osgi.framework.Version.parseVersion(Version.java:225)
	at
org.eclipse.osgi.internal.resolver.StateBuilder.createBundleDescription(StateBuilder.java:82)
	... 40 more
2012-04-16 12:50:32,875 ERROR [DependencyManager] Could not install bundle
dependecy
org.osgi.framework.BundleException: Invalid manifest header Bundle-Version:
"10g" : For input string: "10g"
	at
org.eclipse.osgi.internal.resolver.StateBuilder.createBundleDescription(StateBuilder.java:86)
	at
org.eclipse.osgi.internal.resolver.StateObjectFactoryImpl.createBundleDescription(StateObjectFactoryImpl.java:32)
	at
org.eclipse.osgi.internal.baseadaptor.BaseStorage.updateState(BaseStorage.java:1211)
	at
org.eclipse.osgi.internal.baseadaptor.BundleInstall.commit(BundleInstall.java:123)
	at
org.eclipse.osgi.framework.internal.core.Framework.installWorkerPrivileged(Framework.java:959)
	at
org.eclipse.osgi.framework.internal.core.Framework$1.run(Framework.java:838)
	at
org.eclipse.osgi.framework.internal.core.Framework$1.run(Framework.java:1)
	at java.security.AccessController.doPrivileged(Native Method)
	at
org.eclipse.osgi.framework.internal.core.Framework.installWorker(Framework.java:897)
	at
org.eclipse.osgi.framework.internal.core.Framework.installBundle(Framework.java:833)
	at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.installBundle(BundleContextImpl.java:137)
	at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.installBundle(BundleContextImpl.java:131)
	at
org.apache.geronimo.system.configuration.DependencyManager.starting(DependencyManager.java:492)
	at
org.apache.geronimo.system.configuration.DependencyManager.bundleChanged(DependencyManager.java:119)
	at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847)
	at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
	at
org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
	at
org.eclipse.osgi.framework.internal.core.Framework.publishBundleEventPrivileged(Framework.java:1523)
	at
org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1459)
	at
org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1454)
	at
org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:367)
	at
org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:299)
	at
org.apache.geronimo.deployment.DeploymentContext.createTempConfiguration(DeploymentContext.java:204)
	at
org.apache.geronimo.deployment.DeploymentContext.initializeConfiguration(DeploymentContext.java:192)
	at
org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:661)
	at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:255)
	at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:140)
	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:597)
	at
org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
	at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:131)
	at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:883)
	at
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245)
	at
org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDeploy(AbstractDeployCommand.java:116)
	at
org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(DistributeCommand.java:61)
	at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.NumberFormatException: For input string: "10g"
	at
java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
	at java.lang.Integer.parseInt(Integer.java:458)
	at java.lang.Integer.parseInt(Integer.java:499)
	at org.osgi.framework.Version.<init>(Version.java:127)
	at org.osgi.framework.Version.parseVersion(Version.java:225)
	at
org.eclipse.osgi.internal.resolver.StateBuilder.createBundleDescription(StateBuilder.java:82)
	... 37 more
2012-04-16 12:50:32,905 WARN  [ConnectorModuleBuilder] Problem loading
class: oracle.jdbc.OracleDriver
java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver
	at
org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:513)
	at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)
	at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
	at
org.apache.geronimo.hook.equinox.GeronimoClassLoader.loadClass(GeronimoClassLoader.java:85)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
	at
org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:345)
	at
org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:229)
	at
org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1207)
	at
org.apache.geronimo.connector.deployment.ConnectorModuleBuilder.checkClass(ConnectorModuleBuilder.java:1329)
	at
org.apache.geronimo.connector.deployment.ConnectorModuleBuilder.addOutboundGBeans(ConnectorModuleBuilder.java:1276)
	at
org.apache.geronimo.connector.deployment.ConnectorModuleBuilder.addConnectorGBeans(ConnectorModuleBuilder.java:921)
	at
org.apache.geronimo.connector.deployment.ConnectorModuleBuilder.initContext(ConnectorModuleBuilder.java:555)
	at
org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:685)
	at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:255)
	at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:140)
	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:597)
	at
org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
	at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:131)
	at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:883)
	at
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245)
	at
org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDeploy(AbstractDeployCommand.java:116)
	at
org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(DistributeCommand.java:61)
	at java.lang.Thread.run(Thread.java:662)
2012-04-16 12:50:32,915 WARN  [HighVersionFirstExportPackagesSelector] Fail
to resolve the bundle corresponding to the artifact
com.oracle/jdbc-driver/10g/jar, its export packages are ignored
2012-04-16 12:50:33,214 WARN  [DependencyManager] Could not install bundle
for artifact: com.oracle/jdbc-driver/10g/jar
org.osgi.framework.BundleException: Invalid manifest header Bundle-Version:
"10g" : For input string: "10g"
	at
org.eclipse.osgi.internal.resolver.StateBuilder.createBundleDescription(StateBuilder.java:86)
	at
org.eclipse.osgi.internal.resolver.StateObjectFactoryImpl.createBundleDescription(StateObjectFactoryImpl.java:32)
	at
org.eclipse.osgi.internal.baseadaptor.BaseStorage.updateState(BaseStorage.java:1211)
	at
org.eclipse.osgi.internal.baseadaptor.BundleInstall.commit(BundleInstall.java:123)
	at
org.eclipse.osgi.framework.internal.core.Framework.installWorkerPrivileged(Framework.java:959)
	at
org.eclipse.osgi.framework.internal.core.Framework$1.run(Framework.java:838)
	at
org.eclipse.osgi.framework.internal.core.Framework$1.run(Framework.java:1)
	at java.security.AccessController.doPrivileged(Native Method)
	at
org.eclipse.osgi.framework.internal.core.Framework.installWorker(Framework.java:897)
	at
org.eclipse.osgi.framework.internal.core.Framework.installBundle(Framework.java:833)
	at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.installBundle(BundleContextImpl.java:137)
	at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.installBundle(BundleContextImpl.java:131)
	at
org.apache.geronimo.system.configuration.DependencyManager.installed(DependencyManager.java:450)
	at
org.apache.geronimo.system.configuration.DependencyManager.bundleChanged(DependencyManager.java:117)
	at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847)
	at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
	at
org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
	at
org.eclipse.osgi.framework.internal.core.Framework.publishBundleEventPrivileged(Framework.java:1523)
	at
org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1459)
	at
org.eclipse.osgi.framework.internal.core.Framework.installWorker(Framework.java:898)
	at
org.eclipse.osgi.framework.internal.core.Framework.installBundle(Framework.java:833)
	at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.installBundle(BundleContextImpl.java:137)
	at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.installBundle(BundleContextImpl.java:131)
	at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:309)
	at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:290)
	at
org.apache.geronimo.kernel.config.KernelConfigurationManager.loadConfiguration(KernelConfigurationManager.java:126)
	at
org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCommand.java:63)
	at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.NumberFormatException: For input string: "10g"
	at
java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
	at java.lang.Integer.parseInt(Integer.java:458)
	at java.lang.Integer.parseInt(Integer.java:499)
	at org.osgi.framework.Version.<init>(Version.java:127)
	at org.osgi.framework.Version.parseVersion(Version.java:225)
	at
org.eclipse.osgi.internal.resolver.StateBuilder.createBundleDescription(StateBuilder.java:82)
	... 27 more
2012-04-16 12:50:33,293 ERROR [DependencyManager] Could not install bundle
dependecy
org.osgi.framework.BundleException: Invalid manifest header Bundle-Version:
"10g" : For input string: "10g"
	at
org.eclipse.osgi.internal.resolver.StateBuilder.createBundleDescription(StateBuilder.java:86)
	at
org.eclipse.osgi.internal.resolver.StateObjectFactoryImpl.createBundleDescription(StateObjectFactoryImpl.java:32)
	at
org.eclipse.osgi.internal.baseadaptor.BaseStorage.updateState(BaseStorage.java:1211)
	at
org.eclipse.osgi.internal.baseadaptor.BundleInstall.commit(BundleInstall.java:123)
	at
org.eclipse.osgi.framework.internal.core.Framework.installWorkerPrivileged(Framework.java:959)
	at
org.eclipse.osgi.framework.internal.core.Framework$1.run(Framework.java:838)
	at
org.eclipse.osgi.framework.internal.core.Framework$1.run(Framework.java:1)
	at java.security.AccessController.doPrivileged(Native Method)
	at
org.eclipse.osgi.framework.internal.core.Framework.installWorker(Framework.java:897)
	at
org.eclipse.osgi.framework.internal.core.Framework.installBundle(Framework.java:833)
	at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.installBundle(BundleContextImpl.java:137)
	at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.installBundle(BundleContextImpl.java:131)
	at
org.apache.geronimo.system.configuration.DependencyManager.starting(DependencyManager.java:492)
	at
org.apache.geronimo.system.configuration.DependencyManager.bundleChanged(DependencyManager.java:119)
	at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847)
	at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
	at
org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
	at
org.eclipse.osgi.framework.internal.core.Framework.publishBundleEventPrivileged(Framework.java:1523)
	at
org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1459)
	at
org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1454)
	at
org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:367)
	at
org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:299)
	at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:311)
	at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:290)
	at
org.apache.geronimo.kernel.config.KernelConfigurationManager.loadConfiguration(KernelConfigurationManager.java:126)
	at
org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCommand.java:63)
	at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.NumberFormatException: For input string: "10g"
	at
java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
	at java.lang.Integer.parseInt(Integer.java:458)
	at java.lang.Integer.parseInt(Integer.java:499)
	at org.osgi.framework.Version.<init>(Version.java:127)
	at org.osgi.framework.Version.parseVersion(Version.java:225)
	at
org.eclipse.osgi.internal.resolver.StateBuilder.createBundleDescription(StateBuilder.java:82)
	... 26 more
2012-04-16 12:50:33,361 ERROR [GBeanInstanceState] Error while starting;
GBean is now in the FAILED state:
abstractName="console.dbpool/jdbc_TradeDataSource_41/1.0/car?J2EEApplication=null,JCAConnectionFactory=jdbc/TradeDataSource,JCAResource=tranql-connector-ra-1.7,ResourceAdapter=tranql-connector-ra-1.7,ResourceAdapterModule=console.dbpool/jdbc_TradeDataSource_41/1.0/car,j2eeType=JCAManagedConnectionFactory,name=jdbc/TradeDataSource"
javax.resource.spi.InvalidPropertyException: Unable to load driver class:
oracle.jdbc.OracleDriver
	at
org.tranql.connector.jdbc.JDBCDriverMCF.setDriver(JDBCDriverMCF.java:154)
	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:597)
	at
org.apache.geronimo.gbean.DynamicGBeanDelegate$Operation.invoke(DynamicGBeanDelegate.java:232)
	at
org.apache.geronimo.gbean.DynamicGBeanDelegate.setAttribute(DynamicGBeanDelegate.java:176)
	at
org.apache.geronimo.connector.wrapper.outbound.ManagedConnectionFactoryWrapper.setAttribute(ManagedConnectionFactoryWrapper.java:224)
	at
org.apache.geronimo.gbean.runtime.GBeanAttribute$DynamicSetterMethodInvoker.invoke(GBeanAttribute.java:419)
	at
org.apache.geronimo.gbean.runtime.GBeanAttribute.setValue(GBeanAttribute.java:392)
	at
org.apache.geronimo.gbean.runtime.GBeanAttribute.inject(GBeanAttribute.java:426)
	at
org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:990)
	at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:271)
	at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:105)
	at
org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:555)
	at
org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GBeanDependency.java:110)
	at
org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDependency.java:145)
	at
org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDependency.java:119)
	at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEvent(BasicLifecycleMonitor.java:176)
	at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(BasicLifecycleMonitor.java:45)
	at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroadcaster.fireRunningEvent(BasicLifecycleMonitor.java:254)
	at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:301)
	at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:105)
	at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:127)
	at
org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:569)
	at
org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:386)
	at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:462)
	at
org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:226)
	at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:702)
	at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:681)
	at
org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCommand.java:67)
	at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver
	at
org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:513)
	at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)
	at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
	at
org.apache.geronimo.hook.equinox.GeronimoClassLoader.loadClass(GeronimoClassLoader.java:85)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:169)
	at
org.tranql.connector.jdbc.JDBCDriverMCF.loadClass(JDBCDriverMCF.java:321)
	at
org.tranql.connector.jdbc.JDBCDriverMCF.setDriver(JDBCDriverMCF.java:151)
	... 31 more
2012-04-16 12:50:33,363 ERROR [GBeanInstanceState] Error while starting;
GBean is now in the FAILED state:
abstractName="console.dbpool/jdbc_TradeDataSource_41/1.0/car?J2EEApplication=null,JCAConnectionFactory=jdbc/TradeDataSource,JCAResource=tranql-connector-ra-1.7,ResourceAdapter=tranql-connector-ra-1.7,ResourceAdapterModule=console.dbpool/jdbc_TradeDataSource_41/1.0/car,j2eeType=JCAManagedConnectionFactory,name=jdbc/TradeDataSource"
javax.resource.spi.InvalidPropertyException: Unable to load driver class:
oracle.jdbc.OracleDriver
	at
org.tranql.connector.jdbc.JDBCDriverMCF.setDriver(JDBCDriverMCF.java:154)
	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:597)
	at
org.apache.geronimo.gbean.DynamicGBeanDelegate$Operation.invoke(DynamicGBeanDelegate.java:232)
	at
org.apache.geronimo.gbean.DynamicGBeanDelegate.setAttribute(DynamicGBeanDelegate.java:176)
	at
org.apache.geronimo.connector.wrapper.outbound.ManagedConnectionFactoryWrapper.setAttribute(ManagedConnectionFactoryWrapper.java:224)
	at
org.apache.geronimo.gbean.runtime.GBeanAttribute$DynamicSetterMethodInvoker.invoke(GBeanAttribute.java:419)
	at
org.apache.geronimo.gbean.runtime.GBeanAttribute.setValue(GBeanAttribute.java:392)
	at
org.apache.geronimo.gbean.runtime.GBeanAttribute.inject(GBeanAttribute.java:426)
	at
org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:990)
	at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:271)
	at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:105)
	at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:127)
	at
org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:569)
	at
org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:386)
	at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:462)
	at
org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:226)
	at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:702)
	at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:681)
	at
org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCommand.java:67)
	at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver
	at
org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:513)
	at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)
	at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
	at
org.apache.geronimo.hook.equinox.GeronimoClassLoader.loadClass(GeronimoClassLoader.java:85)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:169)
	at
org.tranql.connector.jdbc.JDBCDriverMCF.loadClass(JDBCDriverMCF.java:321)
	at
org.tranql.connector.jdbc.JDBCDriverMCF.setDriver(JDBCDriverMCF.java:151)
	... 22 more
Deployer operation failed: start of
console.dbpool/jdbc_TradeDataSource_41/1.0/car failed
org.apache.geronimo.kernel.config.LifecycleException: start of
console.dbpool/jdbc_TradeDataSource_41/1.0/car failed
	at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:718)
	at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:681)
	at
org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCommand.java:67)
	at java.lang.Thread.run(Thread.java:662)
Caused by: org.apache.geronimo.kernel.config.InvalidConfigException: Unknown
start exception
	at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:523)
	at
org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:226)
	at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:702)
	... 3 more
Caused by: org.apache.geronimo.gbean.InvalidConfigurationException:
Configuration console.dbpool/jdbc_TradeDataSource_41/1.0/car failed to start
due to the following reasons:
  The service
J2EEApplication=null,JCAConnectionFactory=jdbc/TradeDataSource,JCAResource=tranql-connector-ra-1.7,ResourceAdapter=tranql-connector-ra-1.7,ResourceAdapterModule=console.dbpool/jdbc_TradeDataSource_41/1.0/car,j2eeType=JCAManagedConnectionFactory,name=jdbc/TradeDataSource
did not start because Unable to load driver class: oracle.jdbc.OracleDriver
javax.resource.spi.InvalidPropertyException: Unable to load driver class:
oracle.jdbc.OracleDriver
	at
org.tranql.connector.jdbc.JDBCDriverMCF.setDriver(JDBCDriverMCF.java:154)
	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:597)
	at
org.apache.geronimo.gbean.DynamicGBeanDelegate$Operation.invoke(DynamicGBeanDelegate.java:232)
	at
org.apache.geronimo.gbean.DynamicGBeanDelegate.setAttribute(DynamicGBeanDelegate.java:176)
	at
org.apache.geronimo.connector.wrapper.outbound.ManagedConnectionFactoryWrapper.setAttribute(ManagedConnectionFactoryWrapper.java:224)
	at
org.apache.geronimo.gbean.runtime.GBeanAttribute$DynamicSetterMethodInvoker.invoke(GBeanAttribute.java:419)
	at
org.apache.geronimo.gbean.runtime.GBeanAttribute.setValue(GBeanAttribute.java:392)
	at
org.apache.geronimo.gbean.runtime.GBeanAttribute.inject(GBeanAttribute.java:426)
	at
org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:990)
	at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:271)
	at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:105)
	at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:127)
	at
org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:569)
	at
org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:386)
	at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:462)
	at
org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:226)
	at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:702)
	at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:681)
	at
org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCommand.java:67)
	at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver
	at
org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:513)
	at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)
	at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
	at
org.apache.geronimo.hook.equinox.GeronimoClassLoader.loadClass(GeronimoClassLoader.java:85)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:169)
	at
org.tranql.connector.jdbc.JDBCDriverMCF.loadClass(JDBCDriverMCF.java:321)
	at
org.tranql.connector.jdbc.JDBCDriverMCF.setDriver(JDBCDriverMCF.java:151)
	... 22 more

  The service
J2EEApplication=null,JCAConnectionFactory=jdbc/TradeDataSource,JCAManagedConnectionFactory=jdbc/TradeDataSource,JCAResource=tranql-connector-ra-1.7,ResourceAdapter=tranql-connector-ra-1.7,ResourceAdapterModule=console.dbpool/jdbc_TradeDataSource_41/1.0/car,j2eeType=JCAConnectionManager,name=jdbc/TradeDataSource
did not start because
console.dbpool/jdbc_TradeDataSource_41/1.0/car?J2EEApplication=null,JCAConnectionFactory=jdbc/TradeDataSource,JCAResource=tranql-connector-ra-1.7,ResourceAdapter=tranql-connector-ra-1.7,ResourceAdapterModule=console.dbpool/jdbc_TradeDataSource_41/1.0/car,j2eeType=JCAManagedConnectionFactory,name=jdbc/TradeDataSource
did not start.
  The service
J2EEApplication=null,JCAResource=tranql-connector-ra-1.7,ResourceAdapter=tranql-connector-ra-1.7,ResourceAdapterModule=console.dbpool/jdbc_TradeDataSource_41/1.0/car,j2eeType=JCAConnectionFactory,name=jdbc/TradeDataSource
did not start because
console.dbpool/jdbc_TradeDataSource_41/1.0/car?J2EEApplication=null,JCAConnectionFactory=jdbc/TradeDataSource,JCAManagedConnectionFactory=jdbc/TradeDataSource,JCAResource=tranql-connector-ra-1.7,ResourceAdapter=tranql-connector-ra-1.7,ResourceAdapterModule=console.dbpool/jdbc_TradeDataSource_41/1.0/car,j2eeType=JCAConnectionManager,name=jdbc/TradeDataSource
did not start.

	at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:489)
	... 5 more



--
View this message in context: http://apache-geronimo.328035.n3.nabble.com/deploy-tp3909648p3915280.html
Sent from the Users mailing list archive at Nabble.com.

Mime
View raw message