[jboss-user] [Installation, Configuration & DEPLOYMENT] - Deployment error with 5.0.0.CR1

Juergen.Zimmermann do-not-reply at jboss.com
Thu Jul 3 16:15:49 EDT 2008


When deploying an exploded EAR I get the stacktrace below.

This EAR deploys on JBossAS 4.2.2 without any problem. I just changed the DTD declarations inside jboss-app.xml and jboss-service.xml. Then I changed the package names for @IgnoreDependency and org.jboss.security.auth.spi.Util.createPasswordHash().

I'm using JDK 6u10beta with the switch -Dsun.lang.ClassLoader.allowArraySyntax=true

Here is the Stacktrace:
2008-07-03 21:54:14,049 INFO  [org.apache.coyote.ajp.AjpAprProtocol] (main) Starting Coyote AJP/1.3 on ajp-localhost%2F127.0.0.1-8009
  | 2008-07-03 21:54:14,069 INFO  [org.jboss.bootstrap.microcontainer.ServerImpl] (main) JBoss (Microcontainer) [5.0.0.CR1 (build: SVNTag=JBoss_5_0_0_CR1 date=200806301254)] Started in 1m:11s:32ms
  | 2008-07-03 21:54:36,191 WARN  [org.jboss.detailed.classloader.ClassLoaderManager] (HDScanner) Unexpected error during load of:javax.activation.SecuritySupport12
  | java.lang.IllegalAccessError: class javax.activation.SecuritySupport12 cannot access its superclass javax.activation.SecuritySupport
  | 	at java.lang.ClassLoader.defineClass1(Native Method)
  | 	at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
  | 	at org.jboss.classloader.spi.base.BaseClassLoader.access$200(BaseClassLoader.java:63)
  | 	at org.jboss.classloader.spi.base.BaseClassLoader$2.run(BaseClassLoader.java:502)
  | 	at org.jboss.classloader.spi.base.BaseClassLoader$2.run(BaseClassLoader.java:462)
  | 	at java.security.AccessController.doPrivileged(Native Method)
  | 	at org.jboss.classloader.spi.base.BaseClassLoader.loadClassLocally(BaseClassLoader.java:460)
  | 	at org.jboss.classloader.spi.base.BaseClassLoader.loadClassLocally(BaseClassLoader.java:437)
  | 	at org.jboss.classloader.spi.base.BaseDelegateLoader.loadClass(BaseDelegateLoader.java:134)
  | 	at org.jboss.classloader.spi.filter.FilteredDelegateLoader.loadClass(FilteredDelegateLoader.java:131)
  | 	at org.jboss.classloader.spi.base.ClassLoadingTask$ThreadTask.run(ClassLoadingTask.java:452)
  | 	at org.jboss.classloader.spi.base.ClassLoaderManager.nextTask(ClassLoaderManager.java:254)
  | 	at org.jboss.classloader.spi.base.ClassLoaderManager.process(ClassLoaderManager.java:148)
  | 	at org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseClassLoaderDomain.java:196)
  | 	at org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseClassLoaderDomain.java:1009)
  | 	at org.jboss.classloader.spi.base.BaseClassLoader.loadClassFromDomain(BaseClassLoader.java:728)
  | 	at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:372)
  | 	at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
  | 	at org.jboss.deployment.AnnotatedClassFilter.accepts(AnnotatedClassFilter.java:121)
  | 	at org.jboss.deployment.AnnotatedClassFilter.visit(AnnotatedClassFilter.java:102)
  | 	at org.jboss.virtual.plugins.vfs.helpers.WrappingVirtualFileHandlerVisitor.visit(WrappingVirtualFileHandlerVisitor.java:62)
  | 	at org.jboss.virtual.plugins.context.AbstractVFSContext.visit(AbstractVFSContext.java:264)
  | 	at org.jboss.virtual.plugins.context.AbstractVFSContext.visit(AbstractVFSContext.java:279)
  | 	at org.jboss.virtual.plugins.context.AbstractVFSContext.visit(AbstractVFSContext.java:209)
  | 	at org.jboss.virtual.plugins.context.AbstractVFSContext.visit(AbstractVFSContext.java:277)
  | 	at org.jboss.virtual.plugins.context.AbstractVFSContext.visit(AbstractVFSContext.java:209)
  | 	at org.jboss.virtual.VFS.visit(VFS.java:330)
  | 	at org.jboss.virtual.VirtualFile.visit(VirtualFile.java:383)
  | 	at org.jboss.deployment.AnnotationMetaDataDeployer.getClasses(AnnotationMetaDataDeployer.java:215)
  | 	at org.jboss.deployment.AnnotationMetaDataDeployer.deploy(AnnotationMetaDataDeployer.java:182)
  | 	at org.jboss.deployment.AnnotationMetaDataDeployer.deploy(AnnotationMetaDataDeployer.java:97)
  | 	at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:174)
  | 	at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:970)
  | 	at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1023)
  | 	at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:911)
  | 	at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
  | 	at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1392)
  | 	at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:784)
  | 	at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:912)
  | 	at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:834)
  | 	at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:672)
  | 	at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:455)
  | 	at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:594)
  | 	at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:541)
  | 	at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:290)
  | 	at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:221)
  | 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
  | 	at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
  | 	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
  | 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
  | 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
  | 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
  | 	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:619)
  | 2008-07-03 21:54:38,995 WARN  [org.jboss.detailed.classloader.ClassLoaderManager] (HDScanner) Unexpected error during load of:javax.activation.SecuritySupport12
  | java.lang.IllegalAccessError: class javax.activation.SecuritySupport12 cannot access its superclass javax.activation.SecuritySupport
  | 	at java.lang.ClassLoader.defineClass1(Native Method)
  | 	at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
  | 	at org.jboss.classloader.spi.base.BaseClassLoader.access$200(BaseClassLoader.java:63)
  | 	at org.jboss.classloader.spi.base.BaseClassLoader$2.run(BaseClassLoader.java:502)
  | 	at org.jboss.classloader.spi.base.BaseClassLoader$2.run(BaseClassLoader.java:462)
  | 	at java.security.AccessController.doPrivileged(Native Method)
  | 	at org.jboss.classloader.spi.base.BaseClassLoader.loadClassLocally(BaseClassLoader.java:460)
  | 	at org.jboss.classloader.spi.base.BaseClassLoader.loadClassLocally(BaseClassLoader.java:437)
  | 	at org.jboss.classloader.spi.base.BaseDelegateLoader.loadClass(BaseDelegateLoader.java:134)
  | 	at org.jboss.classloader.spi.filter.FilteredDelegateLoader.loadClass(FilteredDelegateLoader.java:131)
  | 	at org.jboss.classloader.spi.base.ClassLoadingTask$ThreadTask.run(ClassLoadingTask.java:452)
  | 	at org.jboss.classloader.spi.base.ClassLoaderManager.nextTask(ClassLoaderManager.java:254)
  | 	at org.jboss.classloader.spi.base.ClassLoaderManager.process(ClassLoaderManager.java:148)
  | 	at org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseClassLoaderDomain.java:196)
  | 	at org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseClassLoaderDomain.java:1009)
  | 	at org.jboss.classloader.spi.base.BaseClassLoader.loadClassFromDomain(BaseClassLoader.java:728)
  | 	at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:372)
  | 	at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
  | 	at org.jboss.deployment.AnnotatedClassFilter.accepts(AnnotatedClassFilter.java:121)
  | 	at org.jboss.deployment.AnnotatedClassFilter.visit(AnnotatedClassFilter.java:102)
  | 	at org.jboss.virtual.plugins.vfs.helpers.WrappingVirtualFileHandlerVisitor.visit(WrappingVirtualFileHandlerVisitor.java:62)
  | 	at org.jboss.virtual.plugins.context.AbstractVFSContext.visit(AbstractVFSContext.java:264)
  | 	at org.jboss.virtual.plugins.context.AbstractVFSContext.visit(AbstractVFSContext.java:279)
  | 	at org.jboss.virtual.plugins.context.AbstractVFSContext.visit(AbstractVFSContext.java:209)
  | 	at org.jboss.virtual.plugins.context.AbstractVFSContext.visit(AbstractVFSContext.java:277)
  | 	at org.jboss.virtual.plugins.context.AbstractVFSContext.visit(AbstractVFSContext.java:209)
  | 	at org.jboss.virtual.VFS.visit(VFS.java:330)
  | 	at org.jboss.virtual.VirtualFile.visit(VirtualFile.java:383)
  | 	at org.jboss.deployment.AnnotationMetaDataDeployer.getClasses(AnnotationMetaDataDeployer.java:215)
  | 	at org.jboss.deployment.AnnotationMetaDataDeployer.deploy(AnnotationMetaDataDeployer.java:182)
  | 	at org.jboss.deployment.AnnotationMetaDataDeployer.deploy(AnnotationMetaDataDeployer.java:97)
  | 	at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:174)
  | 	at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:970)
  | 	at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1023)
  | 	at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:911)
  | 	at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
  | 	at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1392)
  | 	at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:784)
  | 	at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:912)
  | 	at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:834)
  | 	at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:672)
  | 	at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:455)
  | 	at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:594)
  | 	at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:541)
  | 	at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:290)
  | 	at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:221)
  | 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
  | 	at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
  | 	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
  | 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
  | 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
  | 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
  | 	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:619)
  | 2008-07-03 21:54:43,171 INFO  [STDOUT] (HDScanner) ======> Creating interceptor metadata bridge
  | 2008-07-03 21:54:44,673 INFO  [STDOUT] (HDScanner) ======> Creating interceptor metadata bridge
  | 2008-07-03 21:54:44,753 INFO  [STDOUT] (HDScanner) ======> Creating interceptor metadata bridge
  | 2008-07-03 21:54:44,903 INFO  [STDOUT] (HDScanner) ======> Creating interceptor metadata bridge
  | 2008-07-03 21:54:44,963 WARN  [org.jboss.ejb3.interceptors.aop.InjectInterceptorsFactory] (HDScanner) WEIRDNESS IN AOP: advisor org.jboss.ejb3.aop.ExtendedManagedObjectAdvisor at 30c1a0
  | 2008-07-03 21:54:44,983 WARN  [org.jboss.ejb3.interceptors.aop.InjectInterceptorsFactory] (HDScanner) WEIRDNESS IN AOP: advisor org.jboss.ejb3.aop.ExtendedManagedObjectAdvisor at 30c1a0
  | 2008-07-03 21:54:45,003 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (HDScanner) Created KernelDeployment for: hskaEJB.jar
  | 2008-07-03 21:54:45,013 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (HDScanner) installing bean: persistence.units:ear=hska.ear,jar=hskaEJB.jar,unitName=hskaPersistence
  | 2008-07-03 21:54:45,013 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (HDScanner)   with dependencies:
  | 2008-07-03 21:54:45,013 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (HDScanner)   and demands:
  | 2008-07-03 21:54:45,013 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (HDScanner) 	jboss.jca:name=hskaDS,service=DataSourceBinding
  | 2008-07-03 21:54:45,013 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (HDScanner)   and supplies:
  | 2008-07-03 21:54:45,013 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (HDScanner) 	persistence.units:unitName=hskaPersistence
  | 2008-07-03 21:54:45,013 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (HDScanner) Added bean(persistence.units:ear=hska.ear,jar=hskaEJB.jar,unitName=hskaPersistence) to KernelDeployment of: hskaEJB.jar
  | 2008-07-03 21:54:45,023 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (HDScanner) Error installing to Real: name=vfsfile:/C:/Programme/jboss/server/default/deploy/hska.ear/ state=PreReal mode=Manual requiredState=Real
  | org.jboss.deployers.spi.DeploymentException: Error deploying hskaEJB.jar: <injection-target> could not be found: de.hska.bestellverwaltung.BestellverwaltungBean.hskaPersistence
  | 	at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:192)
  | 	at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:95)
  | 	at org.jboss.deployers.vfs.spi.deployer.AbstractVFSRealDeployer.internalDeploy(AbstractVFSRealDeployer.java:45)
  | 	at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
  | 	at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:174)
  | 	at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:970)
  | 	at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1023)
  | 	at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:911)
  | 	at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
  | 	at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1392)
  | 	at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:784)
  | 	at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:912)
  | 	at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:834)
  | 	at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:672)
  | 	at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:455)
  | 	at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:594)
  | 	at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:541)
  | 	at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:290)
  | 	at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:221)
  | 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
  | 	at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
  | 	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
  | 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
  | 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
  | 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
  | 	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:619)
  | Caused by: java.lang.RuntimeException: <injection-target> could not be found: de.hska.bestellverwaltung.BestellverwaltungBean.hskaPersistence
  | 	at org.jboss.injection.InjectionUtil.findInjectionTarget(InjectionUtil.java:225)
  | 	at org.jboss.injection.InjectionUtil.injectionTarget(InjectionUtil.java:301)
  | 	at org.jboss.injection.PersistenceContextHandler.loadXml(PersistenceContextHandler.java:64)
  | 	at org.jboss.ejb3.EJBContainer.processMetadata(EJBContainer.java:561)
  | 	at org.jboss.ejb3.Ejb3Deployment.processEJBContainerMetadata(Ejb3Deployment.java:392)
  | 	at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:505)
  | 	at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:185)
  | 	... 27 more
  | 2008-07-03 21:54:45,033 WARN  [org.jboss.system.server.profileservice.hotdeploy.HDScanner] (HDScanner) Failed to process changes
  | org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
  | 
  | *** CONTEXTS IN ERROR: Name -> Error
  | 
  | vfsfile:/C:/Programme/jboss/server/default/deploy/hska.ear/ -> java.lang.RuntimeException: <injection-target> could not be found: de.hska.bestellverwaltung.BestellverwaltungBean.hskaPersistence
  | 
  | 
  | 	at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:676)
  | 	at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:661)
  | 	at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:291)
  | 	at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:221)
  | 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
  | 	at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
  | 	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
  | 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
  | 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
  | 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
  | 	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:619)

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4162387#4162387

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4162387



More information about the jboss-user mailing list