<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">

<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>

                                <td>

                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="http://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">Community</a></h1>
                                                                </td>

                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px;  -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
    trouble with deployment please help
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="http://community.jboss.org/people/Yuccanel">Yucca Nel</a> in <i>EJB 3.0 Development</i> - <a href="http://community.jboss.org/message/533220#533220">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>Hello,</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Google has no hits for the cause of the deployment failure so here is a detailed description of my war and the failure of the deployment.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>The war has a single ejb that is deployed in a war to make use of the new JEE features. I wish to deploy the war to test the ejb with cactus.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>My server log shows thw following and I am hardly surprised as it seems related to postgresql to which I am a newbie.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>at java.lang.ClassLoader.defineClass1(Native Method)<br/>&#160;&#160;&#160; at java.lang.ClassLoader.defineClass(ClassLoader.java:616)<br/>&#160;&#160;&#160; at org.jboss.classloader.spi.base.BaseClassLoader.access$200(BaseClassLoader.java:70)<br/>&#160;&#160;&#160; at org.jboss.classloader.spi.base.BaseClassLoader$2.run(BaseClassLoader.java:668)<br/>&#160;&#160;&#160; at org.jboss.classloader.spi.base.BaseClassLoader$2.run(BaseClassLoader.java:627)<br/>&#160;&#160;&#160; at java.security.AccessController.doPrivileged(Native Method)<br/>&#160;&#160;&#160; at org.jboss.classloader.spi.base.BaseClassLoader.loadClassLocally(BaseClassLoader.java:626)<br/>&#160;&#160;&#160; at org.jboss.classloader.spi.base.BaseClassLoader.loadClassLocally(BaseClassLoader.java:603)<br/>&#160;&#160;&#160; at org.jboss.classloader.spi.base.BaseDelegateLoader.loadClass(BaseDelegateLoader.java:134)<br/>&#160;&#160;&#160; at org.jboss.classloader.spi.filter.FilteredDelegateLoader.loadClass(FilteredDelegateLoader.java:131)<br/>&#160;&#160;&#160; at org.jboss.classloader.spi.base.ClassLoadingTask$ThreadTask.run(ClassLoadingTask.java:455)<br/>&#160;&#160;&#160; at org.jboss.classloader.spi.base.ClassLoaderManager.nextTask(ClassLoaderManager.java:267)<br/>&#160;&#160;&#160; at org.jboss.classloader.spi.base.ClassLoaderManager.process(ClassLoaderManager.java:166)<br/>&#160;&#160;&#160; at org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseClassLoaderDomain.java:270)<br/>&#160;&#160;&#160; at org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseClassLoaderDomain.java:1129)<br/>&#160;&#160;&#160; at org.jboss.classloader.spi.base.BaseClassLoader.loadClassFromDomain(BaseClassLoader.java:901)<br/>&#160;&#160;&#160; at org.jboss.classloader.spi.base.BaseClassLoader.doLoadClass(BaseClassLoader.java:523)<br/>&#160;&#160;&#160; at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:468)<br/>&#160;&#160;&#160; at java.lang.ClassLoader.loadClass(ClassLoader.java:248)<br/>&#160;&#160;&#160; at org.jboss.deployment.AnnotatedClassFilter.accepts(AnnotatedClassFilter.java:121)<br/>&#160;&#160;&#160; at org.jboss.deployment.AnnotatedClassFilter.visit(AnnotatedClassFilter.java:102)<br/>&#160;&#160;&#160; at org.jboss.virtual.plugins.vfs.helpers.WrappingVirtualFileHandlerVisitor.visit(WrappingVirtualFileHandlerVisitor.java:62)<br/>&#160;&#160;&#160; at org.jboss.virtual.plugins.context.AbstractVFSContext.visit(AbstractVFSContext.java:362)<br/>&#160;&#160;&#160; at org.jboss.virtual.plugins.context.AbstractVFSContext.visit(AbstractVFSContext.java:374)<br/>&#160;&#160;&#160; at org.jboss.virtual.plugins.context.AbstractVFSContext.visit(AbstractVFSContext.java:374)<br/>&#160;&#160;&#160; at org.jboss.virtual.plugins.context.AbstractVFSContext.visit(AbstractVFSContext.java:374)<br/>&#160;&#160;&#160; at org.jboss.virtual.plugins.context.AbstractVFSContext.visit(AbstractVFSContext.java:374)<br/>&#160;&#160;&#160; at org.jboss.virtual.plugins.context.AbstractVFSContext.visit(AbstractVFSContext.java:374)<br/>&#160;&#160;&#160; at org.jboss.virtual.plugins.context.AbstractVFSContext.visit(AbstractVFSContext.java:307)<br/>&#160;&#160;&#160; at org.jboss.virtual.VFS.visit(VFS.java:438)<br/>&#160;&#160;&#160; at org.jboss.virtual.VirtualFile.visit(VirtualFile.java:448)<br/>&#160;&#160;&#160; at org.jboss.web.deployers.WarAnnotationMetaDataDeployer.getClasses(WarAnnotationMetaDataDeployer.java:180)<br/>&#160;&#160;&#160; at org.jboss.web.deployers.WarAnnotationMetaDataDeployer.processMetaData(WarAnnotationMetaDataDeployer.java:153)<br/>&#160;&#160;&#160; at org.jboss.web.deployers.WarAnnotationMetaDataDeployer.deploy(WarAnnotationMetaDataDeployer.java:127)<br/>&#160;&#160;&#160; at org.jboss.web.deployers.WarAnnotationMetaDataDeployer.deploy(WarAnnotationMetaDataDeployer.java:80)<br/>&#160;&#160;&#160; at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179)<br/>&#160;&#160;&#160; at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1660)<br/>&#160;&#160;&#160; at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1378)<br/>&#160;&#160;&#160; at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1319)<br/>&#160;&#160;&#160; at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:378)<br/>&#160;&#160;&#160; at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2029)<br/>&#160;&#160;&#160; at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1050)<br/>&#160;&#160;&#160; at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1289)<br/>&#160;&#160;&#160; at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1213)<br/>&#160;&#160;&#160; at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1107)<br/>&#160;&#160;&#160; at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:918)<br/>&#160;&#160;&#160; at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:633)<br/>&#160;&#160;&#160; at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:898)<br/>&#160;&#160;&#160; at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:677)<br/>&#160;&#160;&#160; at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)<br/>&#160;&#160;&#160; at org.jboss.profileservice.management.upload.remoting.AbstractDeployHandler.start(AbstractDeployHandler.java:324)<br/>&#160;&#160;&#160; at org.jboss.profileservice.management.upload.remoting.AbstractDeployHandler.invoke(AbstractDeployHandler.java:238)<br/>&#160;&#160;&#160; at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:897)<br/>&#160;&#160;&#160; at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:106)<br/>&#160;&#160;&#160; at org.jboss.remoting.Client.invoke(Client.java:1927)<br/>&#160;&#160;&#160; at org.jboss.remoting.Client.invoke(Client.java:770)<br/>&#160;&#160;&#160; at org.jboss.profileservice.management.client.upload.StreamingDeploymentTarget.invoke(StreamingDeploymentTarget.java:304)<br/>&#160;&#160;&#160; at org.jboss.profileservice.management.client.upload.StreamingDeploymentTarget.start(StreamingDeploymentTarget.java:189)<br/>&#160;&#160;&#160; at org.jboss.profileservice.management.client.upload.DeploymentProgressImpl.start(DeploymentProgressImpl.java:232)<br/>&#160;&#160;&#160; at org.jboss.profileservice.management.client.upload.DeploymentProgressImpl.run(DeploymentProgressImpl.java:89)<br/>&#160;&#160;&#160; at org.rhq.plugins.jbossas5.util.DeploymentUtils.run(DeploymentUtils.java:155)<br/>&#160;&#160;&#160; at org.rhq.plugins.jbossas5.AbstractManagedDeploymentComponent.invokeOperation(AbstractManagedDeploymentComponent.java:173)<br/>&#160;&#160;&#160; at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br/>&#160;&#160;&#160; at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br/>&#160;&#160;&#160; at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br/>&#160;&#160;&#160; at java.lang.reflect.Method.invoke(Method.java:597)<br/>&#160;&#160;&#160; at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:525)<br/>&#160;&#160;&#160; at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)<br/>&#160;&#160;&#160; at java.util.concurrent.FutureTask.run(FutureTask.java:138)<br/>&#160;&#160;&#160; at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)<br/>&#160;&#160;&#160; at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)<br/>&#160;&#160;&#160; at java.lang.Thread.run(Thread.java:619)</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>2010-03-22 10:49:30,459 DEBUG [org.ajax4jsf.event.AjaxPhaseListener] (http-127.0.0.1-8181-1) PhaseListener enter Before RenderView Phase with ViewId /secure/resourceInstanceOperation.xhtml and RenderKitId HTML_BASIC<br/>2010-03-22 10:49:30,459 DEBUG [org.ajax4jsf.renderkit.AjaxRendererUtils] (http-127.0.0.1-8181-1) Calculate absolute ID for component poller as :historiesForm:poller<br/>2010-03-22 10:49:30,459 DEBUG [org.ajax4jsf.renderkit.AjaxRendererUtils] (http-127.0.0.1-8181-1) Calculate absolute ID for component historiesForm as :historiesForm<br/>2010-03-22 10:49:30,459 DEBUG [org.ajax4jsf.renderkit.AjaxRendererUtils] (http-127.0.0.1-8181-1) Calculate absolute ID for component historyDetailsPanel as :historyDetailsPanel<br/>2010-03-22 10:49:30,464 DEBUG [org.ajax4jsf.renderkit.AjaxRendererUtils] (http-127.0.0.1-8181-1) Calculate absolute ID for component poller as :historiesForm:poller<br/>2010-03-22 10:49:30,570 DEBUG [org.ajax4jsf.renderkit.AjaxContainerRenderer] (http-127.0.0.1-8181-1) AjaxView RenderChildren() components for AJAX request <br/>2010-03-22 10:49:30,570 DEBUG [org.ajax4jsf.renderkit.AjaxRendererUtils] (http-127.0.0.1-8181-1) Calculate absolute ID for component _viewRoot as :_viewRoot<br/>2010-03-22 10:49:30,580 DEBUG [org.ajax4jsf.renderkit.AjaxRendererUtils] (http-127.0.0.1-8181-1) Build onclick string for component j_id128 as A4J.AJAX.Submit('historiesForm',event,{'similarityGroupingId':'historiesForm:dataTable:0:j_id128','parameters':{'historiesForm:dataTable:0:j_id128':'historiesForm:dataTable:0:j_id128'} } )<br/>2010-03-22 10:49:30,586 DEBUG [org.ajax4jsf.renderkit.AjaxRendererUtils] (http-127.0.0.1-8181-1) Build onclick string for component j_id128 as A4J.AJAX.Submit('historiesForm',event,{'similarityGroupingId':'historiesForm:dataTable:1:j_id128','parameters':{'historiesForm:dataTable:1:j_id128':'historiesForm:dataTable:1:j_id128'} } )<br/>2010-03-22 10:49:32,667 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (ResourceContainer.invoker.nonDaemon-3) Error installing to PostClassLoader: name=vfszip:/C:/Users/Yucca/DEV/jboss-6.0.0.20100216-M2/server/default/deploy/user-test.war/ state=ClassLoader mode=Manual requiredState=PostClassLoader: org.jboss.deployers.spi.DeploymentException: Error during deploy: vfszip:/C:/Users/Yucca/DEV/jboss-6.0.0.20100216-M2/server/default/deploy/user-test.war/<br/>&#160;&#160;&#160; at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)<br/>&#160;&#160;&#160; at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:185)<br/>&#160;&#160;&#160; at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1660)<br/>&#160;&#160;&#160; at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1378)<br/>&#160;&#160;&#160; at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1319)<br/>&#160;&#160;&#160; at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:378)<br/>&#160;&#160;&#160; at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2029)<br/>&#160;&#160;&#160; at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1050)<br/>&#160;&#160;&#160; at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1289)<br/>&#160;&#160;&#160; at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1213)<br/>&#160;&#160;&#160; at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1107)<br/>&#160;&#160;&#160; at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:918)<br/>&#160;&#160;&#160; at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:633)<br/>&#160;&#160;&#160; at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:898)<br/>&#160;&#160;&#160; at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:677)<br/>&#160;&#160;&#160; at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)<br/>&#160;&#160;&#160; at org.jboss.profileservice.management.upload.remoting.AbstractDeployHandler.start(AbstractDeployHandler.java:324)<br/>&#160;&#160;&#160; at org.jboss.profileservice.management.upload.remoting.AbstractDeployHandler.invoke(AbstractDeployHandler.java:238)<br/>&#160;&#160;&#160; at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:897)<br/>&#160;&#160;&#160; at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:106)<br/>&#160;&#160;&#160; at org.jboss.remoting.Client.invoke(Client.java:1927)<br/>&#160;&#160;&#160; at org.jboss.remoting.Client.invoke(Client.java:770)<br/>&#160;&#160;&#160; at org.jboss.profileservice.management.client.upload.StreamingDeploymentTarget.invoke(StreamingDeploymentTarget.java:304)<br/>&#160;&#160;&#160; at org.jboss.profileservice.management.client.upload.StreamingDeploymentTarget.start(StreamingDeploymentTarget.java:189)<br/>&#160;&#160;&#160; at org.jboss.profileservice.management.client.upload.DeploymentProgressImpl.start(DeploymentProgressImpl.java:232)<br/>&#160;&#160;&#160; at org.jboss.profileservice.management.client.upload.DeploymentProgressImpl.run(DeploymentProgressImpl.java:89)<br/>&#160;&#160;&#160; at org.rhq.plugins.jbossas5.util.DeploymentUtils.run(DeploymentUtils.java:155)<br/>&#160;&#160;&#160; at org.rhq.plugins.jbossas5.AbstractManagedDeploymentComponent.invokeOperation(AbstractManagedDeploymentComponent.java:173)<br/>&#160;&#160;&#160; at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br/>&#160;&#160;&#160; at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br/>&#160;&#160;&#160; at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br/>&#160;&#160;&#160; at java.lang.reflect.Method.invoke(Method.java:597)<br/>&#160;&#160;&#160; at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:525)<br/>&#160;&#160;&#160; at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)<br/>&#160;&#160;&#160; at java.util.concurrent.FutureTask.run(FutureTask.java:138)<br/>&#160;&#160;&#160; at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)<br/>&#160;&#160;&#160; at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)<br/>&#160;&#160;&#160; at java.lang.Thread.run(Thread.java:619)<br/>Caused by: java.lang.LinkageError: loader constraint violation in interface itable initialization: when resolving method "org.postgresql.xa.PGXAConnection.getXAResource()Ljavax/transaction/xa/XAResource;" the class loader (instance of org/jboss/classloader/spi/base/BaseClassLoader) of the current class, org/postgresql/xa/PGXAConnection, and the class loader (instance of &lt;bootloader&gt;) for interface javax/sql/XAConnection have different Class objects for the type javax/transaction/xa/XAResource used in the signature<br/>&#160;&#160;&#160; at java.lang.Class.getDeclaredMethods0(Native Method)<br/>&#160;&#160;&#160; at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)<br/>&#160;&#160;&#160; at java.lang.Class.getDeclaredMethods(Class.java:1791)<br/>&#160;&#160;&#160; at org.jboss.deployment.AnnotatedClassFilter.hasAnnotations(AnnotatedClassFilter.java:194)<br/>&#160;&#160;&#160; at org.jboss.deployment.AnnotatedClassFilter.accepts(AnnotatedClassFilter.java:122)<br/>&#160;&#160;&#160; at org.jboss.deployment.AnnotatedClassFilter.visit(AnnotatedClassFilter.java:102)<br/>&#160;&#160;&#160; at org.jboss.virtual.plugins.vfs.helpers.WrappingVirtualFileHandlerVisitor.visit(WrappingVirtualFileHandlerVisitor.java:62)<br/>&#160;&#160;&#160; at org.jboss.virtual.plugins.context.AbstractVFSContext.visit(AbstractVFSContext.java:362)<br/>&#160;&#160;&#160; at org.jboss.virtual.plugins.context.AbstractVFSContext.visit(AbstractVFSContext.java:374)<br/>&#160;&#160;&#160; at org.jboss.virtual.plugins.context.AbstractVFSContext.visit(AbstractVFSContext.java:374)<br/>&#160;&#160;&#160; at org.jboss.virtual.plugins.context.AbstractVFSContext.visit(AbstractVFSContext.java:374)<br/>&#160;&#160;&#160; at org.jboss.virtual.plugins.context.AbstractVFSContext.visit(AbstractVFSContext.java:307)<br/>&#160;&#160;&#160; at org.jboss.virtual.VFS.visit(VFS.java:438)<br/>&#160;&#160;&#160; at org.jboss.virtual.VirtualFile.visit(VirtualFile.java:448)<br/>&#160;&#160;&#160; at org.jboss.web.deployers.WarAnnotationMetaDataDeployer.getClasses(WarAnnotationMetaDataDeployer.java:180)<br/>&#160;&#160;&#160; at org.jboss.web.deployers.WarAnnotationMetaDataDeployer.processMetaData(WarAnnotationMetaDataDeployer.java:153)<br/>&#160;&#160;&#160; at org.jboss.web.deployers.WarAnnotationMetaDataDeployer.deploy(WarAnnotationMetaDataDeployer.java:127)<br/>&#160;&#160;&#160; at org.jboss.web.deployers.WarAnnotationMetaDataDeployer.deploy(WarAnnotationMetaDataDeployer.java:80)<br/>&#160;&#160;&#160; at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179)</p><p>&#160;&#160;&#160; ... 36 more</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>2010-03-22 10:49:32,957 INFO&#160; [org.jboss.profileservice.management.upload.remoting.DeployHandler] (ResourceContainer.invoker.nonDaemon-3) Failed to complete command: [start] for deployment: names=[vfszip:/C:/Users/Yucca/DEV/jboss-6.0.0.20100216-M2/server/default/deploy/user-test.war/]: org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>*** DEPLOYMENTS IN ERROR: Name -&gt; Error</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>vfszip:/C:/Users/Yucca/DEV/jboss-6.0.0.20100216-M2/server/default/deploy/user-test.war/ -&gt; org.jboss.deployers.spi.DeploymentException: Error during deploy: vfszip:/C:/Users/Yucca/DEV/jboss-6.0.0.20100216-M2/server/default/deploy/user-test.war/</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><br/>DEPLOYMENTS IN ERROR:<br/>&#160; Deployment "vfszip:/C:/Users/Yucca/DEV/jboss-6.0.0.20100216-M2/server/default/deploy/user-test.war/" is in error due to the following reason(s): java.lang.LinkageError: loader constraint violation in interface itable initialization: when resolving method "org.postgresql.xa.PGXAConnection.getXAResource()Ljavax/transaction/xa/XAResource;" the class loader (instance of org/jboss/classloader/spi/base/BaseClassLoader) of the current class, org/postgresql/xa/PGXAConnection, and the class loader (instance of &lt;bootloader&gt;) for interface javax/sql/XAConnection have different Class objects for the type javax/transaction/xa/XAResource used in the signature</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160;&#160; at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:1198)<br/>&#160;&#160;&#160; at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:1144)<br/>&#160;&#160;&#160; at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:848)<br/>&#160;&#160;&#160; at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.checkComplete(MainDeployerAdapter.java:128)<br/>&#160;&#160;&#160; at org.jboss.profileservice.management.upload.remoting.AbstractDeployHandler.start(AbstractDeployHandler.java:326)<br/>&#160;&#160;&#160; at org.jboss.profileservice.management.upload.remoting.AbstractDeployHandler.invoke(AbstractDeployHandler.java:238)<br/>&#160;&#160;&#160; at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:897)<br/>&#160;&#160;&#160; at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:106)<br/>&#160;&#160;&#160; at org.jboss.remoting.Client.invoke(Client.java:1927)<br/>&#160;&#160;&#160; at org.jboss.remoting.Client.invoke(Client.java:770)<br/>&#160;&#160;&#160; at org.jboss.profileservice.management.client.upload.StreamingDeploymentTarget.invoke(StreamingDeploymentTarget.java:304)<br/>&#160;&#160;&#160; at org.jboss.profileservice.management.client.upload.StreamingDeploymentTarget.start(StreamingDeploymentTarget.java:189)<br/>&#160;&#160;&#160; at org.jboss.profileservice.management.client.upload.DeploymentProgressImpl.start(DeploymentProgressImpl.java:232)<br/>&#160;&#160;&#160; at org.jboss.profileservice.management.client.upload.DeploymentProgressImpl.run(DeploymentProgressImpl.java:89)<br/>&#160;&#160;&#160; at org.rhq.plugins.jbossas5.util.DeploymentUtils.run(DeploymentUtils.java:155)<br/>&#160;&#160;&#160; at org.rhq.plugins.jbossas5.AbstractManagedDeploymentComponent.invokeOperation(AbstractManagedDeploymentComponent.java:173)<br/>&#160;&#160;&#160; at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br/>&#160;&#160;&#160; at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br/>&#160;&#160;&#160; at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br/>&#160;&#160;&#160; at java.lang.reflect.Method.invoke(Method.java:597)<br/>&#160;&#160;&#160; at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:525)<br/>&#160;&#160;&#160; at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)<br/>&#160;&#160;&#160; at java.util.concurrent.FutureTask.run(FutureTask.java:138)<br/>&#160;&#160;&#160; at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)<br/>&#160;&#160;&#160; at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)<br/>&#160;&#160;&#160; at java.lang.Thread.run(Thread.java:619)</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>2010-03-22 10:49:33,050 DEBUG [org.rhq.plugins.jbossas5.StandaloneManagedDeploymentComponent] (ResourceContainer.invoker.nonDaemon-3) Operation 'start' on ResourceType[id=0, category=Service, name=Web Application (WAR), plugin=JBossAS5] Resource with key [vfszip:/C:/Users/Yucca/DEV/jboss-6.0.0.20100216-M2/server/default/deploy/user-test.war/] returned status [DeploymentStatus(command=START,state=FAILED,message=null,isCompleted=false,isRunning=false,isFailed=true,failure:<br/>java.lang.RuntimeException: org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>*** DEPLOYMENTS IN ERROR: Name -&gt; Error</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>vfszip:/C:/Users/Yucca/DEV/jboss-6.0.0.20100216-M2/server/default/deploy/user-test.war/ -&gt; org.jboss.deployers.spi.DeploymentException: Error during deploy: vfszip:/C:/Users/Yucca/DEV/jboss-6.0.0.20100216-M2/server/default/deploy/user-test.war/</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><br/>DEPLOYMENTS IN ERROR:<br/>&#160; Deployment "vfszip:/C:/Users/Yucca/DEV/jboss-6.0.0.20100216-M2/server/default/deploy/user-test.war/" is in error due to the following reason(s): java.lang.LinkageError: loader constraint violation in interface itable initialization: when resolving method "org.postgresql.xa.PGXAConnection.getXAResource()Ljavax/transaction/xa/XAResource;" the class loader (instance of org/jboss/classloader/spi/base/BaseClassLoader) of the current class, org/postgresql/xa/PGXAConnection, and the class loader (instance of &lt;bootloader&gt;) for interface javax/sql/XAConnection have different Class objects for the type javax/transaction/xa/XAResource used in the signature</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160;&#160; at org.jboss.profileservice.management.client.upload.StreamingDeploymentTarget.invoke(StreamingDeploymentTarget.java:312)<br/>&#160;&#160;&#160; at org.jboss.profileservice.management.client.upload.StreamingDeploymentTarget.start(StreamingDeploymentTarget.java:189)<br/>&#160;&#160;&#160; at org.jboss.profileservice.management.client.upload.DeploymentProgressImpl.start(DeploymentProgressImpl.java:232)<br/>&#160;&#160;&#160; at org.jboss.profileservice.management.client.upload.DeploymentProgressImpl.run(DeploymentProgressImpl.java:89)<br/>&#160;&#160;&#160; at org.rhq.plugins.jbossas5.util.DeploymentUtils.run(DeploymentUtils.java:155)<br/>&#160;&#160;&#160; at org.rhq.plugins.jbossas5.AbstractManagedDeploymentComponent.invokeOperation(AbstractManagedDeploymentComponent.java:173)<br/>&#160;&#160;&#160; at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br/>&#160;&#160;&#160; at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br/>&#160;&#160;&#160; at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br/>&#160;&#160;&#160; at java.lang.reflect.Method.invoke(Method.java:597)<br/>&#160;&#160;&#160; at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:525)<br/>&#160;&#160;&#160; at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)<br/>&#160;&#160;&#160; at java.util.concurrent.FutureTask.run(FutureTask.java:138)<br/>&#160;&#160;&#160; at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)<br/>&#160;&#160;&#160; at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)<br/>&#160;&#160;&#160; at java.lang.Thread.run(Thread.java:619)<br/>Caused by: org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>*** DEPLOYMENTS IN ERROR: Name -&gt; Error</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>vfszip:/C:/Users/Yucca/DEV/jboss-6.0.0.20100216-M2/server/default/deploy/user-test.war/ -&gt; org.jboss.deployers.spi.DeploymentException: Error during deploy: vfszip:/C:/Users/Yucca/DEV/jboss-6.0.0.20100216-M2/server/default/deploy/user-test.war/</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><br/>DEPLOYMENTS IN ERROR:<br/>&#160; Deployment "vfszip:/C:/Users/Yucca/DEV/jboss-6.0.0.20100216-M2/server/default/deploy/user-test.war/" is in error due to the following reason(s): java.lang.LinkageError: loader constraint violation in interface itable initialization: when resolving method "org.postgresql.xa.PGXAConnection.getXAResource()Ljavax/transaction/xa/XAResource;" the class loader (instance of org/jboss/classloader/spi/base/BaseClassLoader) of the current class, org/postgresql/xa/PGXAConnection, and the class loader (instance of &lt;bootloader&gt;) for interface javax/sql/XAConnection have different Class objects for the type javax/transaction/xa/XAResource used in the signature</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160;&#160; at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:1198)<br/>&#160;&#160;&#160; at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:1144)<br/>&#160;&#160;&#160; at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:848)<br/>&#160;&#160;&#160; at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.checkComplete(MainDeployerAdapter.java:128)<br/>&#160;&#160;&#160; at org.jboss.profileservice.management.upload.remoting.A</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Prior to the dployment I set up the following in the deploy directory:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>1.copied the postgres-ds and configured it to the setting that mirroe thw ones of my postgres server setup.</p><p>2. copies the postgresql jbc driver into server's lib directory</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Any help would be fantatsic and thank you in advance for your precious time <span> :) </span></p></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a href="http://community.jboss.org/message/533220#533220">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in EJB 3.0 Development at <a href="http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2030">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>