deploy

classic Classic list List threaded Threaded
16 messages Options
Reply | Threaded
Open this post in threaded view
|

deploy

Stephen Davidson
Tryint do deploy my .ear using oracle plan results in the following error:

C:\gerbeta301\bin>deploy deploy c:\day30beta\javaee6\assemblies\daytrader-ear\ta
rget\daytrader-ear-3.0-beta-2-SNAPSHOT.ear c:\day30beta\javaee6\plans\target\cla
sses\daytrader-oracle-xa-plan.xml
Using GERONIMO_HOME:   c:\gerbeta301
Using GERONIMO_TMPDIR: var\temp
Using JRE_HOME:        c:\program files\java\jdk1.6.0_31\jre
Username: system
Password: *******
2012-04-14 13:47:25,089 ERROR [DeployTool] Error:
org.apache.geronimo.common.DeploymentException: Operation failed: oracle/jdbc/xa
/client/OracleXADataSource

        at org.apache.geronimo.deployment.cli.CommandDistribute.executeOnline(Co
mmandDistribute.java:168)
        at org.apache.geronimo.deployment.cli.CommandDistribute.execute(CommandD
istribute.java:124)
        at org.apache.geronimo.deployment.cli.DeployTool.execute(DeployTool.java
:171)
        at org.apache.geronimo.system.main.MainBridge.execute(MainBridge.java:64
)
        at org.apache.geronimo.main.Bootstrapper.execute(Bootstrapper.java:65)
        at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65)
        at org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:32
)

I have .jar files in two places.  In my local repository and in geronimo repository.  I seem to have to manually build the file structure under geronimo/repository.  I have tried various heirarchies, matching the .ms repository structure exactly?  ALso using ../oracle/jdbc/ojdbc14/10g/ojdbc14-10g.jar.

I have tried using an old ojdbc14.jar and a new ojdbc6.jar.   Always the same error when trying to deploy the datasource.  The application deploys ok.  

I have also tried deploying via the console and get the same error.  

SO close.
So very close.

ANy suggestions?
Reply | Threaded
Open this post in threaded view
|

Re: deploy

Ivan Xu
IIRC, it is possible to install the Oracle driver from Geronimo console, then while creating the datasource, it is possible to choose the artifact corresponding to the driver.

2012/4/14 Stephen Davidson <[hidden email]>
Tryint do deploy my .ear using oracle plan results in the following error:

C:\gerbeta301\bin>deploy deploy
c:\day30beta\javaee6\assemblies\daytrader-ear\ta
rget\daytrader-ear-3.0-beta-2-SNAPSHOT.ear
c:\day30beta\javaee6\plans\target\cla
sses\daytrader-oracle-xa-plan.xml
Using GERONIMO_HOME:   c:\gerbeta301
Using GERONIMO_TMPDIR: var\temp
Using JRE_HOME:        c:\program files\java\jdk1.6.0_31\jre
Username: system
Password: *******
2012-04-14 13:47:25,089 ERROR [DeployTool] Error:
org.apache.geronimo.common.DeploymentException: Operation failed:
oracle/jdbc/xa
/client/OracleXADataSource

       at
org.apache.geronimo.deployment.cli.CommandDistribute.executeOnline(Co
mmandDistribute.java:168)
       at
org.apache.geronimo.deployment.cli.CommandDistribute.execute(CommandD
istribute.java:124)
       at
org.apache.geronimo.deployment.cli.DeployTool.execute(DeployTool.java
:171)
       at
org.apache.geronimo.system.main.MainBridge.execute(MainBridge.java:64
)
       at
org.apache.geronimo.main.Bootstrapper.execute(Bootstrapper.java:65)
       at
org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65)
       at
org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:32
)

I have .jar files in two places.  In my local repository and in geronimo
repository.  I seem to have to manually build the file structure under
geronimo/repository.  I have tried various heirarchies, matching the .ms
repository structure exactly?  ALso using
../oracle/jdbc/ojdbc14/10g/ojdbc14-10g.jar.

I have tried using an old ojdbc14.jar and a new ojdbc6.jar.   Always the
same error when trying to deploy the datasource.  The application deploys
ok.

I have also tried deploying via the console and get the same error.

SO close.
So very close.

ANy suggestions?


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



--
Ivan
Reply | Threaded
Open this post in threaded view
|

Re: deploy

Stephen Davidson
Thanks Ivan:
It is not clear to me how to install a jar from the interface.  But I have another clude in what I am seeing when trying to use the datasource link to create a pool for an existing entry in the list.

First, I am able to choose the oracle selection that is there -- I placed the jar at the following location and changed the name as instructed ../repository/oracle/ojdbc14/10g/ojdbc14-10g.jar

Then, in the UI, I was able to select that driver, and was able to run the test prior to trying to deploy.  THe test worked, indicating I have connectivity to my database.  However, when I deploy, it simply returns me to the datasource screen and my new datasource is not there.  In the .out I see the following:

2012-04-16 07:41:57,249 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 07:41:57,750 ERROR [GBeanInstanceState] Error while starting; GBean is now in the FAILED state: abstractName="console.dbpool/testw/1.0/car?J2EEApplication=null,JCAConnectionFactory=testw,JCAResource=tranql-connector-ra-1.7,ResourceAdapter=tranql-connector-ra-1.7,ResourceAdapterModule=console.dbpool/testw/1.0/car,j2eeType=JCAManagedConnectionFactory,name=testw"
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 07:41:57,753 ERROR [GBeanInstanceState] Error while starting; GBean is now in the FAILED state: abstractName="console.dbpool/testw/1.0/car?J2EEApplication=null,JCAConnectionFactory=testw,JCAResource=tranql-connector-ra-1.7,ResourceAdapter=tranql-connector-ra-1.7,ResourceAdapterModule=console.dbpool/testw/1.0/car,j2eeType=JCAManagedConnectionFactory,name=testw"
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/testw/1.0/car failed
org.apache.geronimo.kernel.config.LifecycleException: start of console.dbpool/testw/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/testw/1.0/car failed to start due to the following reasons:
  The service J2EEApplication=null,JCAConnectionFactory=testw,JCAResource=tranql-connector-ra-1.7,ResourceAdapter=tranql-connector-ra-1.7,ResourceAdapterModule=console.dbpool/testw/1.0/car,j2eeType=JCAManagedConnectionFactory,name=testw 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=testw,JCAManagedConnectionFactory=testw,JCAResource=tranql-connector-ra-1.7,ResourceAdapter=tranql-connector-ra-1.7,ResourceAdapterModule=console.dbpool/testw/1.0/car,j2eeType=JCAConnectionManager,name=testw did not start because console.dbpool/testw/1.0/car?J2EEApplication=null,JCAConnectionFactory=testw,JCAResource=tranql-connector-ra-1.7,ResourceAdapter=tranql-connector-ra-1.7,ResourceAdapterModule=console.dbpool/testw/1.0/car,j2eeType=JCAManagedConnectionFactory,name=testw did not start.
  The service J2EEApplication=null,JCAResource=tranql-connector-ra-1.7,ResourceAdapter=tranql-connector-ra-1.7,ResourceAdapterModule=console.dbpool/testw/1.0/car,j2eeType=JCAConnectionFactory,name=testw did not start because console.dbpool/testw/1.0/car?J2EEApplication=null,JCAConnectionFactory=testw,JCAManagedConnectionFactory=testw,JCAResource=tranql-connector-ra-1.7,ResourceAdapter=tranql-connector-ra-1.7,ResourceAdapterModule=console.dbpool/testw/1.0/car,j2eeType=JCAConnectionManager,name=testw did not start.

        at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:489)
        ... 5 more
Reply | Threaded
Open this post in threaded view
|

Re: deploy

Ivan Xu
Placing the jar file directly in the repository will not work, as Geronimo 3.0-beta is based on OSGi runtime, so almost all the jar files in that directory should be bundles.
Hope it helps !

2012/4/16 Stephen Davidson <[hidden email]>
Thanks Ivan:
It is not clear to me how to install a jar from the interface.  But I have
another clude in what I am seeing when trying to use the datasource link to
create a pool for an existing entry in the list.

First, I am able to choose the oracle selection that is there -- I placed
the jar at the following location and changed the name as instructed
../repository/oracle/ojdbc14/10g/ojdbc14-10g.jar

Then, in the UI, I was able to select that driver, and was able to run the
test prior to trying to deploy.  THe test worked, indicating I have
connectivity to my database.  However, when I deploy, it simply returns me
to the datasource screen and my new datasource is not there.  In the .out I
see the following:

2012-04-16 07:41:57,249 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 07:41:57,750 ERROR [GBeanInstanceState] Error while starting;
GBean is now in the FAILED state:
abstractName="console.dbpool/testw/1.0/car?J2EEApplication=null,JCAConnectionFactory=testw,JCAResource=tranql-connector-ra-1.7,ResourceAdapter=tranql-connector-ra-1.7,ResourceAdapterModule=console.dbpool/testw/1.0/car,j2eeType=JCAManagedConnectionFactory,name=testw"
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 07:41:57,753 ERROR [GBeanInstanceState] Error while starting;
GBean is now in the FAILED state:
abstractName="console.dbpool/testw/1.0/car?J2EEApplication=null,JCAConnectionFactory=testw,JCAResource=tranql-connector-ra-1.7,ResourceAdapter=tranql-connector-ra-1.7,ResourceAdapterModule=console.dbpool/testw/1.0/car,j2eeType=JCAManagedConnectionFactory,name=testw"
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/testw/1.0/car failed
org.apache.geronimo.kernel.config.LifecycleException: start of
console.dbpool/testw/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/testw/1.0/car failed to start due to the
following reasons:
 The service
J2EEApplication=null,JCAConnectionFactory=testw,JCAResource=tranql-connector-ra-1.7,ResourceAdapter=tranql-connector-ra-1.7,ResourceAdapterModule=console.dbpool/testw/1.0/car,j2eeType=JCAManagedConnectionFactory,name=testw
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=testw,JCAManagedConnectionFactory=testw,JCAResource=tranql-connector-ra-1.7,ResourceAdapter=tranql-connector-ra-1.7,ResourceAdapterModule=console.dbpool/testw/1.0/car,j2eeType=JCAConnectionManager,name=testw
did not start because
console.dbpool/testw/1.0/car?J2EEApplication=null,JCAConnectionFactory=testw,JCAResource=tranql-connector-ra-1.7,ResourceAdapter=tranql-connector-ra-1.7,ResourceAdapterModule=console.dbpool/testw/1.0/car,j2eeType=JCAManagedConnectionFactory,name=testw
did not start.
 The service
J2EEApplication=null,JCAResource=tranql-connector-ra-1.7,ResourceAdapter=tranql-connector-ra-1.7,ResourceAdapterModule=console.dbpool/testw/1.0/car,j2eeType=JCAConnectionFactory,name=testw
did not start because
console.dbpool/testw/1.0/car?J2EEApplication=null,JCAConnectionFactory=testw,JCAManagedConnectionFactory=testw,JCAResource=tranql-connector-ra-1.7,ResourceAdapter=tranql-connector-ra-1.7,ResourceAdapterModule=console.dbpool/testw/1.0/car,j2eeType=JCAConnectionManager,name=testw
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-tp3909648p3914493.html
Sent from the Users mailing list archive at Nabble.com.



--
Ivan
Reply | Threaded
Open this post in threaded view
|

Re: deploy

Stephen Davidson
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:



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

Reply | Threaded
Open this post in threaded view
|

Re: deploy

Stephen Davidson
Here are images showing my steps:

I enter values


I click on the test button


I click on the deploy button


As you can see, no entry for jdbc/TestDataSource

Reply | Threaded
Open this post in threaded view
|

Re: deploy

Ivan Xu
Seems that the maven artifact version and OSGi bundle version have different requirement, could you please only use numbers as the version ?

2012/4/17 Stephen Davidson <[hidden email]>
Here are images showing my steps:

I enter values
http://apache-geronimo.328035.n3.nabble.com/file/n3915342/Capture2.png

I click on the test button
http://apache-geronimo.328035.n3.nabble.com/file/n3915342/Capture.png

I click on the deploy button
http://apache-geronimo.328035.n3.nabble.com/file/n3915342/Capture3.png

As you can see, no entry for jdbc/TestDataSource



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



--
Ivan
Reply | Threaded
Open this post in threaded view
|

Re: deploy

kevan
Administrator

On Apr 16, 2012, at 4:18 PM, Ivan wrote:

> Seems that the maven artifact version and OSGi bundle version have different requirement, could you please only use numbers as the version ?

I suggested the same to Stephen on IRC. I think he has it working, now…

The daytrader docs (and the tranql dependencies) definitely need a little work...

--kevan
Reply | Threaded
Open this post in threaded view
|

Re: deploy

Stephen Davidson
I AM able to create the datasource, but I think I may need a different name for it.  The datasource I create is jdbc/TradeDataSource.  I can query against the database, though my datafiles are currenlty empty.  
However, when I try to deploy the application, I get this exception:

The application was not deployed.
Unable to resolve resource reference 'java:comp/env/jdbc/TradeDataSource' (Could not find resource 'jdbc/TradeDataSource'. Perhaps it has not yet been configured, or your application does not have a dependency declared for that resource module?
Search conducted in current module and dependencies:
[all: org.apache.geronimo.configs/j2ee-server//car]
[all: org.apache.geronimo.configs/openjpa2/3.0-beta-1/car]
[all: org.apache.geronimo.configs/axis//car]
[all: org.apache.geronimo.configs/axis2//car]
[classes: org.apache.geronimo.configs/openejb//car]
[all: org.apache.geronimo.configs/j2ee-corba-yoko/3.0-beta-1/car]
[all: org.apache.geronimo.modules/geronimo-bval//jar]
[all: org.apache.geronimo.configs/tomcat7/3.0-beta-1/car]
[all: org.apache.geronimo.configs/myfaces/3.0-beta-1/car]
[all: org.apache.geronimo.modules/geronimo-openejb//jar]
[all: org.apache.openwebbeans/openwebbeans-impl//jar]
[all: org.apache.openwebbeans/openwebbeans-web//jar]
[all: org.apache.geronimo.configs/system-database//car]
[all: org.apache.geronimo.configs/tomcat7//car]
[all: org.apache.geronimo.configs/wink/3.0-beta-1/car]
[all: org.apache.geronimo.configs/openjpa2//car]
)
org.apache.geronimo.common.DeploymentException: Unable to resolve resource reference 'java:comp/env/jdbc/TradeDataSource' (Could not find resource 'jdbc/TradeDataSource'. Perhaps it has not yet been configured, or your application does not have a dependency declared for that resource module?
Search conducted in current module and dependencies:
[all: org.apache.geronimo.configs/j2ee-server//car]
[all: org.apache.geronimo.configs/openjpa2/3.0-beta-1/car]
[all: org.apache.geronimo.configs/axis//car]
[all: org.apache.geronimo.configs/axis2//car]
[classes: org.apache.geronimo.configs/openejb//car]
[all: org.apache.geronimo.configs/j2ee-corba-yoko/3.0-beta-1/car]
[all: org.apache.geronimo.modules/geronimo-bval//jar]
[all: org.apache.geronimo.configs/tomcat7/3.0-beta-1/car]
[all: org.apache.geronimo.configs/myfaces/3.0-beta-1/car]
[all: org.apache.geronimo.modules/geronimo-openejb//jar]
[all: org.apache.openwebbeans/openwebbeans-impl//jar]
[all: org.apache.openwebbeans/openwebbeans-web//jar]
[all: org.apache.geronimo.configs/system-database//car]
[all: org.apache.geronimo.configs/tomcat7//car]
[all: org.apache.geronimo.configs/wink/3.0-beta-1/car]
[all: org.apache.geronimo.configs/openjpa2//car]
)
at org.apache.geronimo.connector.deployment.ResourceRefBuilder.buildReference(ResourceRefBuilder.java:267)
at org.apache.geronimo.connector.deployment.ResourceRefBuilder.buildNaming(ResourceRefBuilder.java:164)
at org.apache.geronimo.j2ee.deployment.NamingBuilderCollection.buildNaming(NamingBuilderCollection.java:98)
at org.apache.geronimo.web25.deployment.AbstractWebModuleBuilder.configureBasicWebModuleAttributes(AbstractWebModuleBuilder.java:704)
at org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder.addGBeans(TomcatModuleBuilder.java:483)
at org.apache.geronimo.j2ee.deployment.SwitchingModuleBuilder.addGBeans(SwitchingModuleBuilder.java:174)
at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:763)
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)

Reply | Threaded
Open this post in threaded view
|

Re: deploy

kevan
Administrator

On Apr 16, 2012, at 4:48 PM, Stephen Davidson wrote:

> I AM able to create the datasource, but I think I may need a different name
> for it.  The datasource I create is jdbc/TradeDataSource.  I can query
> against the database, though my datafiles are currenlty empty.  
> However, when I try to deploy the application, I get this exception:

What does your geronimo deployment plan look like?

--kevan
Reply | Threaded
Open this post in threaded view
|

Re: deploy

Stephen Davidson
In reply to this post by Stephen Davidson
Couple more images showing how I definethe tradedatasource -- or which jar I chose.  



Then I scrolled down a bit and there seem to be some remnants from earlier attempts.

Reply | Threaded
Open this post in threaded view
|

Re: deploy

Stephen Davidson
In reply to this post by kevan
<?xml version="1.0" encoding="UTF-8"?>




<application xmlns="http://geronimo.apache.org/xml/ns/j2ee/application-2.0">
    <environment>
        <moduleId>
            <groupId>org.apache.geronimo.daytrader</groupId>
            <artifactId>daytrader</artifactId>
            <version>3.0-beta-2-SNAPSHOT</version>
            <type>car</type>
        </moduleId>
       
        <dependencies>
            <dependency>
                <groupId>org.apache.geronimo.configs</groupId>
                <artifactId>openjpa2</artifactId>
                <type>car</type>
            </dependency>
            <dependency>
                <groupId>org.apache.geronimo.configs</groupId>
                <artifactId>j2ee-corba-yoko</artifactId>
                <type>car</type>
            </dependency>
            <dependency>
                <groupId>oracle</groupId>
                <artifactId>ojdbc14</artifactId>
                <version>10g</version>
                <type>jar</type>
              </dependency>
        </dependencies>
    </environment>

   
    <module>
        <web>web.war</web>
        <web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web-2.0.1">
            <service-ref>
                <service-ref-name>service/Trade</service-ref-name>
                <port>
                    <port-name>TradeWSServices</port-name>
                    <protocol>http</protocol>
                    <host>localhost</host>
                    <port>8080</port>
                    <uri>/daytrader/services/TradeWSServices</uri>
                </port>
            </service-ref>
        </web-app>
    </module>   

    <ext-module>
        <connector>TradeDataSource</connector>
        <external-path xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.2">
            <dep:groupId>org.tranql</dep:groupId>
            <dep:artifactId>tranql-connector-oracle-xa</dep:artifactId>
            <dep:type>rar</dep:type>
        </external-path>
        <connector xmlns="http://geronimo.apache.org/xml/ns/j2ee/connector-1.2">


            <resourceadapter>
                <outbound-resourceadapter>
                    <connection-definition>
                        <connectionfactory-interface>javax.sql.DataSource</connectionfactory-interface>
                        <connectiondefinition-instance>
                            <name>jdbc/TradeDataSource</name>
                            <config-property-setting name="UserName">trade</config-property-setting>
                            <config-property-setting name="Password">trade</config-property-setting>
                            <config-property-setting name="DatabaseName">tradedb</config-property-setting>
                            <config-property-setting name="DataSourceName">TradeDataSource</config-property-setting>
                            <config-property-setting name="ServerName">10.155.0.16</config-property-setting>
                            <config-property-setting name="PortNumber">1521</config-property-setting>
                            <config-property-setting name="DriverType">thin</config-property-setting>
                            <connectionmanager>
                                <xa-transaction>
                                    <transaction-caching/>
                                </xa-transaction>
                                <single-pool>
                                    <max-size>100</max-size>
                                    <min-size>0</min-size>
                                    <blocking-timeout-milliseconds>5000</blocking-timeout-milliseconds>
                                    <idle-timeout-minutes>30</idle-timeout-minutes>
                                    <match-one/>
                                </single-pool>
                            </connectionmanager>
                        </connectiondefinition-instance>
                        <connectiondefinition-instance>
                            <name>jdbc/NoTxTradeDataSource</name>
                            <config-property-setting name="UserName">trade</config-property-setting>
                            <config-property-setting name="Password">trade</config-property-setting>
                            <config-property-setting name="DatabaseName">tradedb</config-property-setting>
                            <config-property-setting name="DataSourceName">TradeDataSource</config-property-setting>
                            <config-property-setting name="ServerName">10.155.0.16</config-property-setting>
                            <config-property-setting name="PortNumber">1521</config-property-setting>
                            <config-property-setting name="DriverType">thin</config-property-setting>
                            <connectionmanager>
                                <no-transaction/>
                                <single-pool>
                                    <max-size>10</max-size>
                                    <min-size>0</min-size>
                                    <blocking-timeout-milliseconds>5000</blocking-timeout-milliseconds>
                                    <idle-timeout-minutes>30</idle-timeout-minutes>
                                    <match-one/>
                                </single-pool>
                            </connectionmanager>
                        </connectiondefinition-instance>
                    </connection-definition>
                </outbound-resourceadapter>
            </resourceadapter>
        </connector>
    </ext-module>


    <ext-module>
        <connector>TradeJMS</connector>
        <external-path xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.2">
            <dep:groupId>org.apache.geronimo.modules</dep:groupId>
            <dep:artifactId>geronimo-activemq-ra</dep:artifactId>
            <dep:type>rar</dep:type>
        </external-path>
        <connector xmlns="http://geronimo.apache.org/xml/ns/j2ee/connector-1.2">

            <resourceadapter>
               
                <resourceadapter-instance>
                    <resourceadapter-name>TradeJMSResources</resourceadapter-name>
                    <config-property-setting name="ServerUrl">tcp://localhost:61616</config-property-setting>
                    <config-property-setting name="UserName">not needed</config-property-setting>
                    <config-property-setting name="Password">not needed</config-property-setting>
                    <workmanager>
                        <gbean-link>DefaultWorkManager</gbean-link>
                    </workmanager>
                </resourceadapter-instance>
               
                <outbound-resourceadapter>
                            <connection-definition>
                        <connectionfactory-interface>javax.jms.ConnectionFactory</connectionfactory-interface>
                        <connectiondefinition-instance>
                            <name>jms/QueueConnectionFactory</name>
                            <implemented-interface>javax.jms.QueueConnectionFactory</implemented-interface>
                            <connectionmanager>
                                <xa-transaction>
                                    <transaction-caching/>
                                </xa-transaction>
                                <single-pool>
                                    <max-size>50</max-size>
                                    <min-size>0</min-size>
                                    <blocking-timeout-milliseconds>5000</blocking-timeout-milliseconds>
                                    <idle-timeout-minutes>0</idle-timeout-minutes>
                                    <match-one/>
                                </single-pool>
                            </connectionmanager>
                        </connectiondefinition-instance>
                    </connection-definition>
                    <connection-definition>
                        <connectionfactory-interface>javax.jms.ConnectionFactory</connectionfactory-interface>
                        <connectiondefinition-instance>
                            <name>jms/TopicConnectionFactory</name>
                            <implemented-interface>javax.jms.TopicConnectionFactory</implemented-interface>
                            <connectionmanager>
                                <xa-transaction>
                                    <transaction-caching/>
                                </xa-transaction>
                                <single-pool>
                                    <max-size>50</max-size>
                                    <min-size>0</min-size>
                                    <blocking-timeout-milliseconds>5000</blocking-timeout-milliseconds>
                                    <idle-timeout-minutes>0</idle-timeout-minutes>
                                    <match-one/>
                                </single-pool>
                            </connectionmanager>
                        </connectiondefinition-instance>
                    </connection-definition>
                </outbound-resourceadapter>
            </resourceadapter>

            <adminobject>
                <adminobject-interface>javax.jms.Topic</adminobject-interface>
                <adminobject-class>org.activemq.message.ActiveMQTopic</adminobject-class>
                <adminobject-instance>
                    <message-destination-name>jms/TradeStreamerTopic</message-destination-name>
                    <config-property-setting name="PhysicalName">TradeStreamerTopic</config-property-setting>
                </adminobject-instance>
            </adminobject>

            <adminobject>
                <adminobject-interface>javax.jms.Queue</adminobject-interface>
                <adminobject-class>org.activemq.message.ActiveMQQueue</adminobject-class>
                <adminobject-instance>
                    <message-destination-name>jms/TradeBrokerQueue</message-destination-name>
                    <config-property-setting name="PhysicalName">TradeBrokerQueue</config-property-setting>
                </adminobject-instance>
            </adminobject>

        </connector>
    </ext-module>
</application>
Reply | Threaded
Open this post in threaded view
|

Re: deploy

Stephen Davidson
In reply to this post by kevan
Actually.....
On the screen after doing the test I can click on deploy or view the deployment plan.  Viewingthe deployment plan gives this:

<?xml version="1.0" encoding="UTF-8"?>
<connector xmlns="http://geronimo.apache.org/xml/ns/j2ee/connector-1.2">
    <dep:environment xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.2">
        <dep:moduleId>
            <dep:groupId>console.dbpool</dep:groupId>
            <dep:artifactId>jdbc_TradeDataSource_98</dep:artifactId>
            <dep:version>1.0</dep:version>
            <dep:type>car</dep:type>
        </dep:moduleId>
        <dep:dependencies>
            <dep:dependency>
                <dep:groupId>com.oracle</dep:groupId>
                <dep:artifactId>jdbc-driver</dep:artifactId>
                <dep:version>10</dep:version>
                <dep:type>jar</dep:type>
            </dep:dependency>
        </dep:dependencies>
    </dep:environment>
    <resourceadapter>
        <outbound-resourceadapter>
            <connection-definition>
                <connectionfactory-interface>javax.sql.DataSource</connectionfactory-interface>
                <connectiondefinition-instance>
                    <name>jdbc/TradeDataSource</name>
                    <config-property-setting name="Driver">oracle.jdbc.OracleDriver</config-property-setting>
                    <config-property-setting name="Password">trade</config-property-setting>
                    <config-property-setting name="UserName">trade</config-property-setting>
                    <config-property-setting name="ConnectionURL">jdbc:oracle:thin:@10.155.0.16:1521:orcl</config-property-setting>
                    <connectionmanager>
                        <local-transaction/>
                        <single-pool>
                            <max-size>10</max-size>
                            <min-size>0</min-size>
                            <match-one/>
                        </single-pool>
                    </connectionmanager>
                </connectiondefinition-instance>
            </connection-definition>
        </outbound-resourceadapter>
    </resourceadapter>
</connector>
Reply | Threaded
Open this post in threaded view
|

Re: deploy

Stephen Davidson
Well, I am going to have to bail on trying to get this to work.  I have a three week project that will be taking my attention from this.

Prior to heading out though, I thought I would try starting from scratch and try to get the derby implementation set up, then make the few changes that I have learned I need to make for oracle.
And sadly, I cannot repeat the steps I took earlier to get the default Derby deployment working.  

I wonder if one of you might check out derby and geronimo and see if you can come up with clear steps to get the derby piece working?  I am not as embedded in the technology as you and Kevan are and would love to have some instructions that I could use to get things rolling without tearing my hair out when I come back to this down the road a bit.

Thanks you both SO VERY MUCH for your help so far!
Reply | Threaded
Open this post in threaded view
|

Re: deploy

Stephen Davidson
Sorry, meant to say daytrader 3 and geronimo 3 USING derby.  If I could get repeatable steps there, maybe I could now ease into the oracle mods required.  

Reply | Threaded
Open this post in threaded view
|

Re: deploy

Stephen Davidson
In reply to this post by Stephen Davidson
Hey all --
I am back from my three week project -- that lasted 2 months!

Anyway, has there been any change to the doc on how to install using oracle as a data source?  Devs? Anyone?