You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Tina Li (JIRA)" <de...@geronimo.apache.org> on 2012/07/10 11:26:35 UTC

[jira] [Created] (DAYTRADER-92) InvalidConfigurationException happened when deploy daytrader using postgrepsql db

Tina Li created DAYTRADER-92:
--------------------------------

             Summary: InvalidConfigurationException happened when deploy daytrader using postgrepsql db
                 Key: DAYTRADER-92
                 URL: https://issues.apache.org/jira/browse/DAYTRADER-92
             Project: DayTrader
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: buildsystem
    Affects Versions: 3.0
         Environment: java version "1.6.0_32"
linux x86_64
            Reporter: Tina Li


1.Start geronimo server successfully
2. Install postgrepsql jdbc driver:
<environment>
        ...
        <dependencies>
            ...
            <dependency>
                <groupId>postgresql</groupId>
                <artifactId>jdbc4</artifactId>
                <version>8.3.606</version>
                <type>jar</type>
            </dependency>
       </dependencies>
    </environment>
in admin console: 
datasources-->create a new database pool-->database type:PostgreSQL XA-->next-->Download a driver-->PostgreSQL 8.3 for JDBC4
3.Deploy daytrader sample using admin console or using cmd way, but found it can't be started and error happened:

2012-07-10 12:23:21,041 ERROR [DeployTool] Error: 
org.apache.geronimo.common.DeploymentException: Operation failed: start of org.apache.geronimo.daytrader/daytrader/3.0.0/car failed
	Unknown start exception
	Getter return type in wrong classloader: type: interface javax.management.j2ee.statistics.Stats wanted in classloader: org.apache.geronimo.hook.equinox.GeronimoClassLoader@3dfbbf26 actual: org.apache.geronimo.hook.equinox.GeronimoClassLoader@265dbc82

	at org.apache.geronimo.deployment.cli.CommandDistribute.executeOnline(CommandDistribute.java:168)
	at org.apache.geronimo.deployment.cli.CommandDistribute.execute(CommandDistribute.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:66)
	at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65)
	at org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:32)
Related info in server console:

2012-07-10 12:23:20,961 WARN  [ConfigurationUtil] Could not load gbean org.apache.geronimo.daytrader/daytrader/3.0.0/car?J2EEApplication=org.apache.geronimo.daytrader/daytrader/3.0.0/car,j2eeType=WebModule,name=web.war
org.apache.geronimo.gbean.InvalidConfigurationException: Getter return type in wrong classloader: type: interface javax.management.j2ee.statistics.Stats wanted in classloader: org.apache.geronimo.hook.equinox.GeronimoClassLoader@3dfbbf26 actual: org.apache.geronimo.hook.equinox.GeronimoClassLoader@265dbc82
	at org.apache.geronimo.gbean.runtime.GBeanAttribute.<init>(GBeanAttribute.java:241)
	at org.apache.geronimo.gbean.runtime.GBeanInstance.buildAttributes(GBeanInstance.java:396)
	at org.apache.geronimo.gbean.runtime.GBeanInstance.<init>(GBeanInstance.java:266)
	at org.apache.geronimo.kernel.basic.BasicKernel.loadGBean(BasicKernel.java:361)
	at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:452)
	at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:225)
	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:710)
	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:689)
	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.kernel.KernelGBean.invoke(KernelGBean.java:344)
	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.system.jmx.MBeanGBeanBridge.invoke(MBeanGBeanBridge.java:172)
	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
	at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
	at com.sun.jmx.remote.security.MBeanServerAccessController.invoke(MBeanServerAccessController.java:447)
	at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1427)
	at javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:72)
	at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1265)
	at java.security.AccessController.doPrivileged(Native Method)
	at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1367)
	at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:788)
	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 sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:303)
	at sun.rmi.transport.Transport$1.run(Transport.java:159)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
	at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:662)


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (DAYTRADER-92) InvalidConfigurationException happened when deploy daytrader using postgrepsql db

Posted by "Tina Li (JIRA)" <de...@geronimo.apache.org>.
     [ https://issues.apache.org/jira/browse/DAYTRADER-92?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tina Li updated DAYTRADER-92:
-----------------------------

    Attachment: DAYTRADER-92.patch

Patch attached. Someone can help review it?
Thanks in advance!
                
> InvalidConfigurationException happened when deploy daytrader using postgrepsql db
> ---------------------------------------------------------------------------------
>
>                 Key: DAYTRADER-92
>                 URL: https://issues.apache.org/jira/browse/DAYTRADER-92
>             Project: DayTrader
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: buildsystem
>    Affects Versions: 3.0
>         Environment: java version "1.6.0_32"
> linux x86_64
>            Reporter: Tina Li
>            Assignee: Tina Li
>         Attachments: DAYTRADER-92.patch
>
>
> 1.Start geronimo server successfully
> 2. Install postgrepsql jdbc driver:
> <environment>
>         ...
>         <dependencies>
>             ...
>             <dependency>
>                 <groupId>postgresql</groupId>
>                 <artifactId>jdbc4</artifactId>
>                 <version>8.3.606</version>
>                 <type>jar</type>
>             </dependency>
>        </dependencies>
>     </environment>
> in admin console: 
> datasources-->create a new database pool-->database type:PostgreSQL XA-->next-->Download a driver-->PostgreSQL 8.3 for JDBC4
> 3.Deploy daytrader sample using admin console or using cmd way, but found it can't be started and error happened:
> 2012-07-10 12:23:21,041 ERROR [DeployTool] Error: 
> org.apache.geronimo.common.DeploymentException: Operation failed: start of org.apache.geronimo.daytrader/daytrader/3.0.0/car failed
> 	Unknown start exception
> 	Getter return type in wrong classloader: type: interface javax.management.j2ee.statistics.Stats wanted in classloader: org.apache.geronimo.hook.equinox.GeronimoClassLoader@3dfbbf26 actual: org.apache.geronimo.hook.equinox.GeronimoClassLoader@265dbc82
> 	at org.apache.geronimo.deployment.cli.CommandDistribute.executeOnline(CommandDistribute.java:168)
> 	at org.apache.geronimo.deployment.cli.CommandDistribute.execute(CommandDistribute.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:66)
> 	at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65)
> 	at org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:32)
> Related info in server console:
> 2012-07-10 12:23:20,961 WARN  [ConfigurationUtil] Could not load gbean org.apache.geronimo.daytrader/daytrader/3.0.0/car?J2EEApplication=org.apache.geronimo.daytrader/daytrader/3.0.0/car,j2eeType=WebModule,name=web.war
> org.apache.geronimo.gbean.InvalidConfigurationException: Getter return type in wrong classloader: type: interface javax.management.j2ee.statistics.Stats wanted in classloader: org.apache.geronimo.hook.equinox.GeronimoClassLoader@3dfbbf26 actual: org.apache.geronimo.hook.equinox.GeronimoClassLoader@265dbc82
> 	at org.apache.geronimo.gbean.runtime.GBeanAttribute.<init>(GBeanAttribute.java:241)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstance.buildAttributes(GBeanInstance.java:396)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstance.<init>(GBeanInstance.java:266)
> 	at org.apache.geronimo.kernel.basic.BasicKernel.loadGBean(BasicKernel.java:361)
> 	at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:452)
> 	at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:225)
> 	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:710)
> 	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:689)
> 	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.kernel.KernelGBean.invoke(KernelGBean.java:344)
> 	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.system.jmx.MBeanGBeanBridge.invoke(MBeanGBeanBridge.java:172)
> 	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
> 	at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> 	at com.sun.jmx.remote.security.MBeanServerAccessController.invoke(MBeanServerAccessController.java:447)
> 	at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1427)
> 	at javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:72)
> 	at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1265)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1367)
> 	at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:788)
> 	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 sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:303)
> 	at sun.rmi.transport.Transport$1.run(Transport.java:159)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
> 	at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
> 	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
> 	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> 	at java.lang.Thread.run(Thread.java:662)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (DAYTRADER-92) InvalidConfigurationException happened when deploy daytrader using postgrepsql db

Posted by "Tina Li (JIRA)" <de...@geronimo.apache.org>.
     [ https://issues.apache.org/jira/browse/DAYTRADER-92?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tina Li reassigned DAYTRADER-92:
--------------------------------

    Assignee: Tina Li
    
> InvalidConfigurationException happened when deploy daytrader using postgrepsql db
> ---------------------------------------------------------------------------------
>
>                 Key: DAYTRADER-92
>                 URL: https://issues.apache.org/jira/browse/DAYTRADER-92
>             Project: DayTrader
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: buildsystem
>    Affects Versions: 3.0
>         Environment: java version "1.6.0_32"
> linux x86_64
>            Reporter: Tina Li
>            Assignee: Tina Li
>
> 1.Start geronimo server successfully
> 2. Install postgrepsql jdbc driver:
> <environment>
>         ...
>         <dependencies>
>             ...
>             <dependency>
>                 <groupId>postgresql</groupId>
>                 <artifactId>jdbc4</artifactId>
>                 <version>8.3.606</version>
>                 <type>jar</type>
>             </dependency>
>        </dependencies>
>     </environment>
> in admin console: 
> datasources-->create a new database pool-->database type:PostgreSQL XA-->next-->Download a driver-->PostgreSQL 8.3 for JDBC4
> 3.Deploy daytrader sample using admin console or using cmd way, but found it can't be started and error happened:
> 2012-07-10 12:23:21,041 ERROR [DeployTool] Error: 
> org.apache.geronimo.common.DeploymentException: Operation failed: start of org.apache.geronimo.daytrader/daytrader/3.0.0/car failed
> 	Unknown start exception
> 	Getter return type in wrong classloader: type: interface javax.management.j2ee.statistics.Stats wanted in classloader: org.apache.geronimo.hook.equinox.GeronimoClassLoader@3dfbbf26 actual: org.apache.geronimo.hook.equinox.GeronimoClassLoader@265dbc82
> 	at org.apache.geronimo.deployment.cli.CommandDistribute.executeOnline(CommandDistribute.java:168)
> 	at org.apache.geronimo.deployment.cli.CommandDistribute.execute(CommandDistribute.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:66)
> 	at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65)
> 	at org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:32)
> Related info in server console:
> 2012-07-10 12:23:20,961 WARN  [ConfigurationUtil] Could not load gbean org.apache.geronimo.daytrader/daytrader/3.0.0/car?J2EEApplication=org.apache.geronimo.daytrader/daytrader/3.0.0/car,j2eeType=WebModule,name=web.war
> org.apache.geronimo.gbean.InvalidConfigurationException: Getter return type in wrong classloader: type: interface javax.management.j2ee.statistics.Stats wanted in classloader: org.apache.geronimo.hook.equinox.GeronimoClassLoader@3dfbbf26 actual: org.apache.geronimo.hook.equinox.GeronimoClassLoader@265dbc82
> 	at org.apache.geronimo.gbean.runtime.GBeanAttribute.<init>(GBeanAttribute.java:241)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstance.buildAttributes(GBeanInstance.java:396)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstance.<init>(GBeanInstance.java:266)
> 	at org.apache.geronimo.kernel.basic.BasicKernel.loadGBean(BasicKernel.java:361)
> 	at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:452)
> 	at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:225)
> 	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:710)
> 	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:689)
> 	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.kernel.KernelGBean.invoke(KernelGBean.java:344)
> 	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.system.jmx.MBeanGBeanBridge.invoke(MBeanGBeanBridge.java:172)
> 	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
> 	at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> 	at com.sun.jmx.remote.security.MBeanServerAccessController.invoke(MBeanServerAccessController.java:447)
> 	at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1427)
> 	at javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:72)
> 	at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1265)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1367)
> 	at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:788)
> 	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 sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:303)
> 	at sun.rmi.transport.Transport$1.run(Transport.java:159)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
> 	at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
> 	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
> 	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> 	at java.lang.Thread.run(Thread.java:662)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (DAYTRADER-92) InvalidConfigurationException happened when deploy daytrader using postgrepsql db

Posted by "Forrest Xia (JIRA)" <de...@geronimo.apache.org>.
     [ https://issues.apache.org/jira/browse/DAYTRADER-92?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Forrest Xia resolved DAYTRADER-92.
----------------------------------

    Resolution: Fixed

1359543@3.0, thanks for this patch!
                
> InvalidConfigurationException happened when deploy daytrader using postgrepsql db
> ---------------------------------------------------------------------------------
>
>                 Key: DAYTRADER-92
>                 URL: https://issues.apache.org/jira/browse/DAYTRADER-92
>             Project: DayTrader
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: buildsystem
>    Affects Versions: 3.0
>         Environment: java version "1.6.0_32"
> linux x86_64
>            Reporter: Tina Li
>            Assignee: Tina Li
>         Attachments: DAYTRADER-92.patch
>
>
> 1.Start geronimo server successfully
> 2. Install postgrepsql jdbc driver:
> <environment>
>         ...
>         <dependencies>
>             ...
>             <dependency>
>                 <groupId>postgresql</groupId>
>                 <artifactId>jdbc4</artifactId>
>                 <version>8.3.606</version>
>                 <type>jar</type>
>             </dependency>
>        </dependencies>
>     </environment>
> in admin console: 
> datasources-->create a new database pool-->database type:PostgreSQL XA-->next-->Download a driver-->PostgreSQL 8.3 for JDBC4
> 3.Deploy daytrader sample using admin console or using cmd way, but found it can't be started and error happened:
> 2012-07-10 12:23:21,041 ERROR [DeployTool] Error: 
> org.apache.geronimo.common.DeploymentException: Operation failed: start of org.apache.geronimo.daytrader/daytrader/3.0.0/car failed
> 	Unknown start exception
> 	Getter return type in wrong classloader: type: interface javax.management.j2ee.statistics.Stats wanted in classloader: org.apache.geronimo.hook.equinox.GeronimoClassLoader@3dfbbf26 actual: org.apache.geronimo.hook.equinox.GeronimoClassLoader@265dbc82
> 	at org.apache.geronimo.deployment.cli.CommandDistribute.executeOnline(CommandDistribute.java:168)
> 	at org.apache.geronimo.deployment.cli.CommandDistribute.execute(CommandDistribute.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:66)
> 	at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65)
> 	at org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:32)
> Related info in server console:
> 2012-07-10 12:23:20,961 WARN  [ConfigurationUtil] Could not load gbean org.apache.geronimo.daytrader/daytrader/3.0.0/car?J2EEApplication=org.apache.geronimo.daytrader/daytrader/3.0.0/car,j2eeType=WebModule,name=web.war
> org.apache.geronimo.gbean.InvalidConfigurationException: Getter return type in wrong classloader: type: interface javax.management.j2ee.statistics.Stats wanted in classloader: org.apache.geronimo.hook.equinox.GeronimoClassLoader@3dfbbf26 actual: org.apache.geronimo.hook.equinox.GeronimoClassLoader@265dbc82
> 	at org.apache.geronimo.gbean.runtime.GBeanAttribute.<init>(GBeanAttribute.java:241)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstance.buildAttributes(GBeanInstance.java:396)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstance.<init>(GBeanInstance.java:266)
> 	at org.apache.geronimo.kernel.basic.BasicKernel.loadGBean(BasicKernel.java:361)
> 	at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:452)
> 	at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:225)
> 	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:710)
> 	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:689)
> 	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.kernel.KernelGBean.invoke(KernelGBean.java:344)
> 	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.system.jmx.MBeanGBeanBridge.invoke(MBeanGBeanBridge.java:172)
> 	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
> 	at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> 	at com.sun.jmx.remote.security.MBeanServerAccessController.invoke(MBeanServerAccessController.java:447)
> 	at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1427)
> 	at javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:72)
> 	at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1265)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1367)
> 	at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:788)
> 	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 sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:303)
> 	at sun.rmi.transport.Transport$1.run(Transport.java:159)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
> 	at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
> 	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
> 	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> 	at java.lang.Thread.run(Thread.java:662)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira