[
https://issues.apache.org/jira/browse/GERONIMO-5301?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ivan resolved GERONIMO-5301.
----------------------------
Assignee: Ivan
Fix Version/s: 3.0
Resolution: Fixed
The class is renamed to
org.apache.geronimo.connector.wrapper.DatabaseInitializationGBean in Geronimo
3.0
> DatabaseInitializationGBean class not found.
> --------------------------------------------
>
> Key: GERONIMO-5301
> URL: https://issues.apache.org/jira/browse/GERONIMO-5301
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: databases
> Affects Versions: 3.0
> Environment: OS:win xp
> JDK:1.6
> Geronimo build:3.0-SNAPSHOT 2010.5.6 build.
> Reporter: Lu Jiang
> Assignee: Ivan
> Fix For: 3.0
>
> Attachments: dbdemo1-2.1.1.4.war, geronimo-web.xml, plan.xml
>
>
> Steps:
> 1.before deploy a web application named dbdemo1,create a data source
> connector using
> deploy.bat deploy Path_to_file\tranql-connector-derby-embed-xa-1.5.rar
> path_to_file\plan.xml
> 2.Deploy the dbdemo1.war with deploy plan geronimo-web.xml
> A class not found error will occur.
> 2010-05-12 16:28:36,243 ERROR [DeploymentPortlet]
> org.apache.geronimo.gbean.InvalidConfigurationException: Could not load class
> org.apache.geronimo.connector.DatabaseInitializationGBean from bundle
> org.apache.geronimo.samples.dbdemo1-DEPLOYMENT [421] at location
> reference:file:/D:/g30/geronimo-tomcat7-javaee6-3.0-SNAPSHOT/var/temp/geronimo-fileutils1455919907695422054.tmpfile
> org.apache.geronimo.common.DeploymentException:
> org.apache.geronimo.gbean.InvalidConfigurationException: Could not load class
> org.apache.geronimo.connector.DatabaseInitializationGBean from bundle
> org.apache.geronimo.samples.dbdemo1-DEPLOYMENT [421] at location
> reference:file:/D:/g30/geronimo-tomcat7-javaee6-3.0-SNAPSHOT/var/temp/geronimo-fileutils1455919907695422054.tmpfile
> at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:284)
> at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:138)
> at sun.reflect.GeneratedMethodAccessor214.invoke(Unknown Source)
> 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:856)
> 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:619)
> Caused by: org.apache.geronimo.gbean.InvalidConfigurationException: Could not
> load class org.apache.geronimo.connector.DatabaseInitializationGBean from
> bundle org.apache.geronimo.samples.dbdemo1-DEPLOYMENT [421] at location
> reference:file:/D:/g30/geronimo-tomcat7-javaee6-3.0-SNAPSHOT/var/temp/geronimo-fileutils1455919907695422054.tmpfile
> at
> org.apache.geronimo.gbean.annotation.AnnotationGBeanInfoFactory.getGBeanInfo(AnnotationGBeanInfoFactory.java:42)
> at
> org.apache.geronimo.gbean.MultiGBeanInfoFactory.getGBeanInfo(MultiGBeanInfoFactory.java:66)
> at
> org.apache.geronimo.deployment.service.GBeanBuilder.addGBeanData(GBeanBuilder.java:113)
> at
> org.apache.geronimo.deployment.service.GBeanBuilder.build(GBeanBuilder.java:108)
> at
> org.apache.geronimo.deployment.NamespaceDrivenBuilderCollection.build(NamespaceDrivenBuilderCollection.java:43)
> at
> org.apache.geronimo.web25.deployment.AbstractWebModuleBuilder.basicInitContext(AbstractWebModuleBuilder.java:462)
> at
> org.apache.geronimo.web25.deployment.AbstractWebModuleBuilder.initContext(AbstractWebModuleBuilder.java:405)
> at
> org.apache.geronimo.j2ee.deployment.SwitchingModuleBuilder.initContext(SwitchingModuleBuilder.java:169)
> at
> org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:630)
> at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:250)
> ... 11 more
> Caused by: java.lang.ClassNotFoundException:
> org.apache.geronimo.connector.DatabaseInitializationGBean
> at
> org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:814)
> at org.apache.felix.framework.ModuleImpl.access$100(ModuleImpl.java:61)
> at
> org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1733)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
> at
> org.apache.felix.framework.ModuleImpl.getClassByDelegation(ModuleImpl.java:674)
> at
> org.apache.felix.framework.searchpolicy.R4Wire.getClass(R4Wire.java:108)
> at
> org.apache.felix.framework.ModuleImpl.searchImports(ModuleImpl.java:1440)
> at
> org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:753)
> at org.apache.felix.framework.ModuleImpl.access$100(ModuleImpl.java:61)
> at
> org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1733)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
> at
> org.apache.felix.framework.ModuleImpl.getClassByDelegation(ModuleImpl.java:674)
> at org.apache.felix.framework.Felix.loadBundleClass(Felix.java:1547)
> at org.apache.felix.framework.BundleImpl.loadClass(BundleImpl.java:887)
> at
> org.apache.geronimo.gbean.annotation.AnnotationGBeanInfoFactory.getGBeanInfo(AnnotationGBeanInfoFactory.java:40)
> ... 20 more
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.