9 Replies Latest reply on May 18, 2011 12:20 PM by chandika

    "Error installing to Instantiated" while starting JBossAS 6.0.0.Final "Neo"

    kanal

      Hello,

      I've got exceptions while starting JBossAS in version 6.0.0.Final "Neo".

      Earlier i was using JBoss 6 M4 and M5 and they both were running without any problems.

      Despite of those errors the server starts.

       

      Java Version: 6 update 21 (build 1.6.0_21-b07)

       

      Eclipse Java EE IDE for Web Developers

      Version: Helios Service Release 1
      Build id: 20100917-0705

      Platform version: 3.6.1.r361_v20100909

       

      Here is the log:

      20:56:39,910 INFO  [AbstractJBossASServerBase] Server Configuration:
      
          JBOSS_HOME URL: file:/C:/Programy/jboss-6.0.0.Final/
          Bootstrap: $JBOSS_HOME\server/default/conf/bootstrap.xml
          Common Base: $JBOSS_HOME\common/
          Common Library: $JBOSS_HOME\common/lib/
          Server Name: default
          Server Base: $JBOSS_HOME\server/
          Server Library: $JBOSS_HOME\server/default/lib/
          Server Config: $JBOSS_HOME\server/default/conf/
          Server Home: $JBOSS_HOME\server/default/
          Server Data: $JBOSS_HOME\server/default/data/
          Server Log: $JBOSS_HOME\server/default/log/
          Server Temp: $JBOSS_HOME\server/default/tmp/
      
      20:56:39,915 INFO  [AbstractServer] Starting: JBossAS [6.0.0.Final "Neo"]
      20:56:42,102 INFO  [ServerInfo] Java version: 1.6.0_21,Sun Microsystems Inc.
      20:56:42,102 INFO  [ServerInfo] Java Runtime: Java(TM) SE Runtime Environment (build 1.6.0_21-b07)
      20:56:42,103 INFO  [ServerInfo] Java VM: Java HotSpot(TM) 64-Bit Server VM 17.0-b17,Sun Microsystems Inc.
      20:56:42,103 INFO  [ServerInfo] OS-System: Windows 7 6.1,amd64
      20:56:42,103 INFO  [ServerInfo] VM arguments: -Dprogram.name=run.bat -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dfile.encoding=Cp1250 
      20:56:42,181 INFO  [JMXKernel] Legacy JMX core initialized
      20:56:51,253 INFO  [AbstractServerConfig] JBoss Web Services - Stack CXF Server 3.4.1.GA
      20:56:52,341 INFO  [JSFImplManagementDeployer] Initialized 3 JSF configurations: [Mojarra-1.2, MyFaces-2.0, Mojarra-2.0]
      20:56:53,101 ERROR [AbstractKernelController] Error installing to Instantiated: name=PostEjbJarMetadataDeployer state=Described: java.lang.NoSuchMethodError: javax.annotation.Resource.lookup()Ljava/lang/String;
          at org.jboss.metadata.annotation.creator.AbstractResourceProcessor.createResourceEnvRef(AbstractResourceProcessor.java:394) [:2.0.0.Alpha24]
          at org.jboss.metadata.annotation.creator.AbstractResourceProcessor.process(AbstractResourceProcessor.java:237) [:2.0.0.Alpha24]
          at org.jboss.metadata.annotation.creator.AbstractResourceProcessor.process(AbstractResourceProcessor.java:163) [:2.0.0.Alpha24]
          at org.jboss.metadata.annotation.creator.ResourceFieldProcessor.process(ResourceFieldProcessor.java:34) [:2.0.0.Alpha24]
          at org.jboss.metadata.annotation.creator.AbstractProcessor.processClass(AbstractProcessor.java:247) [:2.0.0.Alpha24]
          at org.jboss.metadata.annotation.creator.jboss.AbstractComponentProcessor.process(AbstractComponentProcessor.java:119) [:2.0.0.Alpha24]
          at org.jboss.metadata.annotation.creator.ejb.InterceptorComponentProcessor.process(InterceptorComponentProcessor.java:90) [:2.0.0-alpha-27]
          at org.jboss.metadata.annotation.creator.ejb.InterceptorComponentProcessor.process(InterceptorComponentProcessor.java:43) [:2.0.0-alpha-27]
          at org.jboss.metadata.annotation.creator.AbstractCreator.process(AbstractCreator.java:154) [:2.0.0.Alpha24]
          at org.jboss.metadata.annotation.creator.AbstractCreator.processMetaData(AbstractCreator.java:87) [:2.0.0.Alpha24]
          at org.jboss.metadata.annotation.creator.ejb.InterceptorMetaDataCreator.create(InterceptorMetaDataCreator.java:77) [:2.0.0-alpha-27]
          at org.jboss.weld.integration.deployer.metadata.WeldEjbInterceptorMetadataDeployer.<init>(WeldEjbInterceptorMetadataDeployer.java:105) [:6.0.0.Final]
          at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [:1.6.0_21]
          at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [:1.6.0_21]
          at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [:1.6.0_21]
          at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [:1.6.0_21]
          at org.jboss.reflect.plugins.introspection.ReflectionUtils.newInstance(ReflectionUtils.java:154) [jboss-reflect.jar:2.2.0.GA]
          at org.jboss.reflect.plugins.introspection.ReflectConstructorInfoImpl.newInstance(ReflectConstructorInfoImpl.java:102) [jboss-reflect.jar:2.2.0.GA]
          at org.jboss.joinpoint.plugins.BasicConstructorJoinPoint.dispatch(BasicConstructorJoinPoint.java:81) [jboss-reflect.jar:2.2.0.GA]
          at org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.dispatch(AOPConstructorJoinpoint.java:109) [jboss-aop-mc-int.jar:2.2.0.GA]
          at org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControllerContextAction.java:257) [jboss-kernel.jar:2.2.0.GA]
          at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:47) [jboss-kernel.jar:2.2.0.GA]
          at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextAction.java:125) [jboss-kernel.jar:2.2.0.GA]
          at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:72) [jboss-kernel.jar:2.2.0.GA]
          at org.jboss.kernel.plugins.dependency.InstantiateAction.installActionInternal(InstantiateAction.java:67) [jboss-kernel.jar:2.2.0.GA]
          at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54) [jboss-kernel.jar:2.2.0.GA]
          at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42) [jboss-kernel.jar:2.2.0.GA]
          at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) [jboss-dependency.jar:2.2.0.GA]
          at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) [jboss-dependency.jar:2.2.0.GA]
          at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) [jboss-dependency.jar:2.2.0.GA]
          at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.GA]
          at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.GA]
          at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.GA]
          at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.GA]
          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.GA]
          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.GA]
          at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:894) [jboss-dependency.jar:2.2.0.GA]
          at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:641) [jboss-dependency.jar:2.2.0.GA]
          at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:182) [:2.2.0.GA]
          at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:58) [:2.2.0.GA]
          at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62) [:2.2.0.GA]
          at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:55) [:2.2.0.GA]
          at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179) [:2.2.0.GA]
          at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1832) [:2.2.0.GA]
          at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1550) [:2.2.0.GA]
          at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1571) [:2.2.0.GA]
          at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1491) [:2.2.0.GA]
          at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.GA]
          at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.GA]
          at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.GA]
          at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.GA]
          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.GA]
          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.GA]
          at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939) [jboss-dependency.jar:2.2.0.GA]
          at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654) [jboss-dependency.jar:2.2.0.GA]
          at org.jboss.deployers.plugins.deployers.DeployersImpl.change(DeployersImpl.java:1983) [:2.2.0.GA]
          at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:1076) [:2.2.0.GA]
          at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:679) [:2.2.0.GA]
          at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.process(MainDeployerPlugin.java:106) [:6.0.0.Final]
          at org.jboss.profileservice.dependency.ProfileControllerContext$DelegateDeployer.process(ProfileControllerContext.java:143) [:0.2.2]
          at org.jboss.profileservice.dependency.ProfileDeployAction.deploy(ProfileDeployAction.java:151) [:0.2.2]
          at org.jboss.profileservice.dependency.ProfileDeployAction.installActionInternal(ProfileDeployAction.java:94) [:0.2.2]
          at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54) [jboss-kernel.jar:2.2.0.GA]
          at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42) [jboss-kernel.jar:2.2.0.GA]
          at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) [jboss-dependency.jar:2.2.0.GA]
          at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) [jboss-dependency.jar:2.2.0.GA]
          at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) [jboss-dependency.jar:2.2.0.GA]
          at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.GA]
          at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.GA]
          at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.GA]
          at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.GA]
          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.GA]
          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.GA]
          at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939) [jboss-dependency.jar:2.2.0.GA]
          at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654) [jboss-dependency.jar:2.2.0.GA]
          at org.jboss.profileservice.dependency.ProfileActivationWrapper$BasicProfileActivation.start(ProfileActivationWrapper.java:190) [:0.2.2]
          at org.jboss.profileservice.dependency.ProfileActivationWrapper.start(ProfileActivationWrapper.java:87) [:0.2.2]
          at org.jboss.profileservice.dependency.ProfileActivationService.activateProfile(ProfileActivationService.java:215) [:0.2.2]
          at org.jboss.profileservice.dependency.ProfileActivationService.activate(ProfileActivationService.java:159) [:0.2.2]
          at org.jboss.profileservice.bootstrap.AbstractProfileServiceBootstrap.activate(AbstractProfileServiceBootstrap.java:112) [:0.2.2]
          at org.jboss.profileservice.resolver.BasicResolverFactory$ProfileResolverFacade.deploy(BasicResolverFactory.java:87) [:0.2.2]
          at org.jboss.profileservice.bootstrap.AbstractProfileServiceBootstrap.start(AbstractProfileServiceBootstrap.java:91) [:0.2.2]
          at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:132) [:6.0.0.Final]
          at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:56) [:6.0.0.Final]
          at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:827) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]
          at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:417) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]
          at java.lang.Thread.run(Thread.java:619) [:1.6.0_21]
      
      20:56:58,813 WARNING [FileConfigurationParser] AIO wasn't located on this platform, it will fall back to using pure Java NIO. If your platform is Linux, install LibAIO to enable the AIO journal
      20:57:03,755 WARNING [FileConfigurationParser] AIO wasn't located on this platform, it will fall back to using pure Java NIO. If your platform is Linux, install LibAIO to enable the AIO journal
      20:57:04,136 INFO  [JMXConnector] starting JMXConnector on host 127.0.0.1:1090
      20:57:04,301 INFO  [MailService] Mail Service bound to java:/Mail
      20:57:05,680 INFO  [HornetQServerImpl] live server is starting..
      20:57:05,785 INFO  [JournalStorageManager] Using NIO Journal
      20:57:05,817 WARNING [HornetQServerImpl] Security risk! It has been detected that the cluster admin user and password have not been changed from the installation default. Please see the HornetQ user guide, cluster chapter, for instructions on how to do this.
      20:57:06,832 INFO  [NettyAcceptor] Started Netty Acceptor version 3.2.1.Final-r2319 127.0.0.1:5455 for CORE protocol
      20:57:06,839 INFO  [NettyAcceptor] Started Netty Acceptor version 3.2.1.Final-r2319 127.0.0.1:5445 for CORE protocol
      20:57:06,848 INFO  [HornetQServerImpl] HornetQ Server version 2.1.2.Final (Colmeia, 120) started
      20:57:06,972 INFO  [WebService] Using RMI server codebase: http://127.0.0.1:8083/
      20:57:07,362 INFO  [jbossatx] ARJUNA-32010 JBossTS Recovery Service (tag: JBOSSTS_4_14_0_Final) - JBoss Inc.
      20:57:07,378 INFO  [arjuna] ARJUNA-12324 Start RecoveryActivators
      20:57:07,422 INFO  [arjuna] ARJUNA-12296 ExpiredEntryMonitor running at Pt, 1 paź 2010 20:57:07
      20:57:07,551 INFO  [arjuna] ARJUNA-12310 Recovery manager listening on endpoint 127.0.0.1:4712
      20:57:07,551 INFO  [arjuna] ARJUNA-12344 RecoveryManagerImple is ready on port 4712
      20:57:07,552 INFO  [jbossatx] ARJUNA-32013 Starting transaction recovery manager
      20:57:07,581 INFO  [arjuna] ARJUNA-12163 Starting service com.arjuna.ats.arjuna.recovery.ActionStatusService on port 4713
      20:57:07,590 INFO  [arjuna] ARJUNA-12337 TransactionStatusManagerItem host: 127.0.0.1 port: 4713
      20:57:07,607 INFO  [arjuna] ARJUNA-12170 TransactionStatusManager started on port 4713 and host 127.0.0.1 with service com.arjuna.ats.arjuna.recovery.ActionStatusService
      20:57:07,781 INFO  [jbossatx] ARJUNA-32017 JBossTS Transaction Service (JTA version - tag: JBOSSTS_4_14_0_Final) - JBoss Inc.
      20:57:07,897 INFO  [arjuna] ARJUNA-12202 registering bean jboss.jta:type=ObjectStore.
      20:57:08,441 INFO  [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.6.0_21\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:/Program Files (x86)/Java/jre6/bin/client;C:/Program Files (x86)/Java/jre6/bin;C:/Program Files (x86)/Java/jre6/lib/i386;C:\Program Files (x86)\PC Connectivity Solution\;C:\Programy\oraclexe\app\oracle\product\10.2.0\server\bin;C:\orant\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Java\jdk1.6.0_21\bin;C:\Programy\MySQL Server 5.1\bin;C:\Program Files\TortoiseSVN\bin;C:\orant\jdk\bin
      20:57:08,805 INFO  [ModClusterService] Initializing mod_cluster 1.1.0.Final
      20:57:08,836 INFO  [TomcatDeployment] deploy, ctxPath=/invoker
      20:57:09,743 INFO  [RARDeployment] Required license terms exist, view vfs:/C:/Programy/jboss-6.0.0.Final/server/default/deploy/jboss-local-jdbc.rar/META-INF/ra.xml
      20:57:09,763 INFO  [RARDeployment] Required license terms exist, view vfs:/C:/Programy/jboss-6.0.0.Final/server/default/deploy/jboss-xa-jdbc.rar/META-INF/ra.xml
      20:57:09,780 INFO  [RARDeployment] Required license terms exist, view vfs:/C:/Programy/jboss-6.0.0.Final/server/default/deploy/jms-ra.rar/META-INF/ra.xml
      20:57:09,807 INFO  [HornetQResourceAdapter] HornetQ resource adaptor started
      20:57:09,820 INFO  [RARDeployment] Required license terms exist, view vfs:/C:/Programy/jboss-6.0.0.Final/server/default/deploy/mail-ra.rar/META-INF/ra.xml
      20:57:09,843 INFO  [RARDeployment] Required license terms exist, view vfs:/C:/Programy/jboss-6.0.0.Final/server/default/deploy/quartz-ra.rar/META-INF/ra.xml
      20:57:10,061 INFO  [SimpleThreadPool] Job execution threads will use class loader of thread: Thread-2
      20:57:10,160 INFO  [SchedulerSignalerImpl] Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl
      20:57:10,160 INFO  [QuartzScheduler] Quartz Scheduler v.1.8.3 created.
      20:57:10,166 INFO  [RAMJobStore] RAMJobStore initialized.
      20:57:10,171 INFO  [QuartzScheduler] Scheduler meta-data: Quartz Scheduler (v1.8.3) 'JBossQuartzScheduler' with instanceId 'NON_CLUSTERED'
        Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
        NOT STARTED.
        Currently in standby mode.
        Number of jobs executed: 0
        Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 10 threads.
        Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persistence. and is not clustered.
      
      20:57:10,171 INFO  [StdSchedulerFactory] Quartz scheduler 'JBossQuartzScheduler' initialized from an externally opened InputStream.
      20:57:10,171 INFO  [StdSchedulerFactory] Quartz scheduler version: 1.8.3
      20:57:10,172 INFO  [QuartzScheduler] Scheduler JBossQuartzScheduler_$_NON_CLUSTERED started.
      20:57:11,024 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
      20:57:11,467 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
      20:57:11,519 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=jdbc/mysqlDS' to JNDI name 'java:jdbc/mysqlDS'
      20:57:11,798 INFO  [xnio] XNIO Version 2.1.0.CR2
      20:57:11,812 INFO  [nio] XNIO NIO Implementation Version 2.1.0.CR2
      20:57:12,129 INFO  [remoting] JBoss Remoting version 3.1.0.Beta2
      20:57:12,296 INFO  [TomcatDeployment] deploy, ctxPath=/
      20:57:12,371 INFO  [service] Removing bootstrap log handlers
      20:57:12,450 ERROR [ProfileServiceBootstrap] Failed to load profile:: org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
      
      DEPLOYMENTS IN ERROR:
        Deployment "PostEjbJarMetadataDeployer" is in error due to the following reason(s): java.lang.NoSuchMethodError: javax.annotation.Resource.lookup()Ljava/lang/String;
      
          at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:1228) [:2.2.0.GA]
          at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:905) [:2.2.0.GA]
          at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.checkComplete(MainDeployerPlugin.java:87) [:6.0.0.Final]
          at org.jboss.profileservice.deployment.ProfileDeployerPluginRegistry.checkAllComplete(ProfileDeployerPluginRegistry.java:107) [:0.2.2]
          at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:135) [:6.0.0.Final]
          at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:56) [:6.0.0.Final]
          at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:827) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]
          at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:417) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]
          at java.lang.Thread.run(Thread.java:619) [:1.6.0_21]
      
      20:57:12,477 INFO  [org.apache.coyote.http11.Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080
      20:57:12,511 INFO  [org.apache.coyote.ajp.AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
      20:57:12,511 INFO  [org.jboss.bootstrap.impl.base.server.AbstractServer] JBossAS [6.0.0.Final "Neo"] Started in 32s:590ms
        • 1. Re: "Error installing to Instantiated" while starting JBossAS 6.0.0.Final "Neo"
          nickarls

          lookup() is in Java 6, you're running it with a 5?

          • 2. Re: "Error installing to Instantiated" while starting JBossAS 6.0.0.Final "Neo"
            kanal

            No, I run it with Java 6 as I have written at the beginning.

            The only thing that is linked to number 5 is my Server Runtime Environment in Eclipse which is JBoss v5.0. But there is no newer runtime environment. Besides, both M4 and M5 worked well on it.

            • 3. Re: "Error installing to Instantiated" while starting JBossAS 6.0.0.Final "Neo"
              jaikiran

              Did you change anything related to endorsed directory JVM argument that is set in the run scripts of JBoss? The jar which has the correct javax.annotation.Resource is placed in JBOSS_HOME/lib/endorsed folder and that is set as a -Dendorsed.dirs JVM argument. Make sure you have it right.

              • 4. Re: "Error installing to Instantiated" while starting JBossAS 6.0.0.Final "Neo"
                jaikiran

                I just read that you are using an IDE to start/stop the server. Can you try without the IDE? If it turns out to be a IDE issue, then you'll have to figure out what endorsed dirs it sets while starting the server.

                • 5. Re: "Error installing to Instantiated" while starting JBossAS 6.0.0.Final "Neo"
                  kanal

                  I run server without IDE and it started without any problems.

                  You were right, ithas something to do with VM arguments.

                   

                  After comparing boot.log files it turned out that there are differences. After running server in eclipse there were no VM argument that pointed to lib/endrosed directory.

                   

                  Starting JBoss manually (run.bat):

                   

                  10:24:05,106 INFO  [AbstractJBossASServerBase] Server Configuration:
                  
                      JBOSS_HOME URL: file:/C:/Programy/jboss-6.0.0.Final/
                      Bootstrap: $JBOSS_HOME\server/default/conf/bootstrap.xml
                      Common Base: $JBOSS_HOME\common/
                      Common Library: $JBOSS_HOME\common/lib/
                      Server Name: default
                      Server Base: $JBOSS_HOME\server/
                      Server Library: $JBOSS_HOME\server/default/lib/
                      Server Config: $JBOSS_HOME\server/default/conf/
                      Server Home: $JBOSS_HOME\server/default/
                      Server Data: $JBOSS_HOME\server/default/data/
                      Server Log: $JBOSS_HOME\server/default/log/
                      Server Temp: $JBOSS_HOME\server/default/tmp/
                  
                  10:24:05,111 INFO  [AbstractServer] Starting: JBossAS [6.0.0.Final "Neo"]
                  10:24:07,935 INFO  [ServerInfo] Java version: 1.6.0_21,Sun Microsystems Inc.
                  10:24:07,936 INFO  [ServerInfo] Java Runtime: Java(TM) SE Runtime Environment (build 1.6.0_21-b07)
                  10:24:07,937 INFO  [ServerInfo] Java VM: Java HotSpot(TM) 64-Bit Server VM 17.0-b17,Sun Microsystems Inc.
                  10:24:07,937 INFO  [ServerInfo] OS-System: Windows 7 6.1,amd64
                  10:24:07,939 INFO  [ServerInfo] VM arguments: -Dprogram.name=run.bat -Xms128M -Xmx512M -XX:MaxPermSize=256M -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dorg.jboss.resolver.warning=true -Djava.endorsed.dirs=C:\Programy\jboss-6.0.0.Final\lib\endorsed 
                  10:24:07,939 DEBUG [ServerInfo] Full System Properties Dump
                  10:24:07,940 DEBUG [ServerInfo]     awt.toolkit: sun.awt.windows.WToolkit
                  (...)

                   

                  Starting JBoss with Eclipse:

                   

                  10:43:04,614 INFO  [AbstractJBossASServerBase] Server Configuration:
                  
                      JBOSS_HOME URL: file:/C:/Programy/jboss-6.0.0.Final/
                      Bootstrap: $JBOSS_HOME\server/default/conf/bootstrap.xml
                      Common Base: $JBOSS_HOME\common/
                      Common Library: $JBOSS_HOME\common/lib/
                      Server Name: default
                      Server Base: $JBOSS_HOME\server/
                      Server Library: $JBOSS_HOME\server/default/lib/
                      Server Config: $JBOSS_HOME\server/default/conf/
                      Server Home: $JBOSS_HOME\server/default/
                      Server Data: $JBOSS_HOME\server/default/data/
                      Server Log: $JBOSS_HOME\server/default/log/
                      Server Temp: $JBOSS_HOME\server/default/tmp/
                  
                  10:43:04,618 INFO  [AbstractServer] Starting: JBossAS [6.0.0.Final "Neo"]
                  10:43:06,682 INFO  [ServerInfo] Java version: 1.6.0_21,Sun Microsystems Inc.
                  10:43:06,683 INFO  [ServerInfo] Java Runtime: Java(TM) SE Runtime Environment (build 1.6.0_21-b07)
                  10:43:06,683 INFO  [ServerInfo] Java VM: Java HotSpot(TM) 64-Bit Server VM 17.0-b17,Sun Microsystems Inc.
                  10:43:06,683 INFO  [ServerInfo] OS-System: Windows 7 6.1,amd64
                  10:43:06,684 INFO  [ServerInfo] VM arguments: -Dprogram.name=run.bat -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dfile.encoding=Cp1250 
                  10:43:06,757 INFO  [JMXKernel] Legacy JMX core initialized
                  10:43:14,286 INFO  [AbstractServerConfig] JBoss Web Services - Stack CXF Server 3.4.1.GA
                  10:43:15,437 INFO  [JSFImplManagementDeployer] Initialized 3 JSF configurations: [Mojarra-1.2, MyFaces-2.0, Mojarra-2.0]
                  (...)
                  

                   

                  I checked out the launch configuration for jboss server in Eclipse and found VM arguments. I suppose that those arguments were taken from the old v5.0 runtime environment. After changing them to the proper ones i started the server and it throwed me no exceptions.

                   

                  Thank you for pointing me potential problem reason. Without you i wouldn't solve this.

                  • 6. Re: "Error installing to Instantiated" while starting JBossAS 6.0.0.Final "Neo"
                    wolfgangknauf

                    Hi Paul,

                     

                    you ran into this Eclipse bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=250643

                     

                    I have a modified Eclipse plugin which resolves this problem and also adds support for JBoss 6 and JavaEE 6: http://www.cs.hs-rm.de/~knauf/public/index.html

                     

                    But you might also give the JBoss Tools Eclipse plugin a try: http://www.jboss.org/tools

                     

                    Best regards

                     

                    Wolfgang

                    • 7. Re: "Error installing to Instantiated" while starting JBossAS 6.0.0.Final "Neo"
                      kanal

                      Hi Wolfgang,

                      I've read http://www.cs.hs-rm.de/~knauf/public/index.html and i think i will give your plugin modiifcation a try.

                      Thanks for letting me know of its existence

                      • 8. "Error installing to Instantiated" while starting JBossAS 6.0.0.Final "Neo"
                        gcontini

                        Hi,

                        I recently ran in the same issue and it seems that the eclipse plugin doesn't configure the java.endorsed.dirs correctly.

                        So i just went to the "server properties page"->Open Launch Configuration->Arguments->VM Arguments and i added

                         

                        -Djava.endorsed.dirs="path to my jboss6 home"/lib/endorsed

                         

                        This solved the problem for me. Best regards.

                        Gabriele

                        • 9. "Error installing to Instantiated" while starting JBossAS 6.0.0.Final "Neo"
                          chandika

                          thanks,

                           

                          I got the same error and resolved through this.