4 Replies Latest reply on Apr 30, 2009 2:57 AM by llper

    Problem when starting jboss

      When starting jboss 5.0.1.GA with my config I get:

      ===============================================================================

      JBoss Bootstrap Environment

      JBOSS_HOME: c:/jboss/jboss-5.0.1.GA

      JAVA: C:\Program Files\Java\jdk1.6.0_04\bin\java

      JAVA_OPTS: -Dprogram.name=run.bat -server -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Dsun.rm
      i.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000

      CLASSPATH: c:/jboss/jboss-5.0.1.GA\bin\run.jar

      ===============================================================================

      12:04:08,854 INFO [ServerImpl] Starting JBoss (Microcontainer)...
      12:04:08,854 INFO [ServerImpl] Release ID: JBoss [Morpheus] 5.0.1.GA (build: SVNTag=JBoss_5_0_1_GA date=200902231221)
      12:04:08,854 INFO [ServerImpl] Bootstrap URL: null
      12:04:08,854 INFO [ServerImpl] Home Dir: C:\jboss\jboss-5.0.1.GA
      12:04:08,854 INFO [ServerImpl] Home URL: file:/C:/jboss/jboss-5.0.1.GA/
      12:04:08,854 INFO [ServerImpl] Library URL: file:/C:/jboss/jboss-5.0.1.GA/lib/
      12:04:08,854 INFO [ServerImpl] Patch URL: null
      12:04:08,854 INFO [ServerImpl] Common Base URL: file:/C:/jboss/jboss-5.0.1.GA/common/
      12:04:08,854 INFO [ServerImpl] Common Library URL: file:/C:/jboss/jboss-5.0.1.GA/common/lib/
      12:04:08,854 INFO [ServerImpl] Server Name: inquis
      12:04:08,854 INFO [ServerImpl] Server Base Dir: C:\jboss\jboss-5.0.1.GA\server
      12:04:08,854 INFO [ServerImpl] Server Base URL: file:/C:/jboss/jboss-5.0.1.GA/server/
      12:04:08,854 INFO [ServerImpl] Server Config URL: file:/C:/jboss/jboss-5.0.1.GA/server/inquis/conf/
      12:04:08,854 INFO [ServerImpl] Server Home Dir: C:\jboss\jboss-5.0.1.GA\server\inquis
      12:04:08,854 INFO [ServerImpl] Server Home URL: file:/C:/jboss/jboss-5.0.1.GA/server/inquis/
      12:04:08,854 INFO [ServerImpl] Server Data Dir: C:\jboss\jboss-5.0.1.GA\server\inquis\data
      12:04:08,854 INFO [ServerImpl] Server Library URL: file:/C:/jboss/jboss-5.0.1.GA/server/inquis/lib/
      12:04:08,854 INFO [ServerImpl] Server Log Dir: C:\jboss\jboss-5.0.1.GA\server\inquis\log
      12:04:08,854 INFO [ServerImpl] Server Native Dir: C:\jboss\jboss-5.0.1.GA\server\inquis\tmp\native
      12:04:08,854 INFO [ServerImpl] Server Temp Dir: C:\jboss\jboss-5.0.1.GA\server\inquis\tmp
      12:04:08,854 INFO [ServerImpl] Server Temp Deploy Dir: C:\jboss\jboss-5.0.1.GA\server\inquis\tmp\deploy
      12:04:09,198 INFO [ServerImpl] Starting Microcontainer, bootstrapURL=file:/C:/jboss/jboss-5.0.1.GA/server/inquis/conf/bootst
      rap.xml
      12:04:09,526 INFO [VFSCacheFactory] Initializing VFSCache [org.jboss.virtual.plugins.cache.CombinedVFSCache]
      12:04:09,526 INFO [VFSCacheFactory] Using VFSCache [CombinedVFSCache[real-cache: null]]
      12:04:09,698 INFO [CopyMechanism] VFS temp dir: C:\jboss\jboss-5.0.1.GA\server\inquis\tmp
      12:04:09,698 INFO [ZipEntryContext] VFS force nested jars copy-mode is enabled.
      12:04:10,370 INFO [ServerInfo] Java version: 1.6.0_04,Sun Microsystems Inc.
      12:04:10,370 INFO [ServerInfo] Java Runtime: Java(TM) SE Runtime Environment (build 1.6.0_04-b12)
      12:04:10,370 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 10.0-b19,Sun Microsystems Inc.
      12:04:10,370 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
      12:04:10,401 INFO [JMXKernel] Legacy JMX core initialized
      12:04:11,963 INFO [ProfileServiceImpl] Loading profile: inquis from: org.jboss.system.server.profileservice.repository.Seria
      lizableDeploymentRepository@198a35d(root=C:\jboss\jboss-5.0.1.GA\server, key=org.jboss.profileservice.spi.ProfileKey@7197c175
      [domain=default,server=default,name=inquis])
      12:04:11,963 INFO [ProfileImpl] Using repository:org.jboss.system.server.profileservice.repository.SerializableDeploymentRep
      ository@198a35d(root=C:\jboss\jboss-5.0.1.GA\server, key=org.jboss.profileservice.spi.ProfileKey@7197c175[domain=default,serv
      er=default,name=inquis])
      12:04:11,963 INFO [ProfileServiceImpl] Loaded profile: ProfileImpl@b280b1{key=org.jboss.profileservice.spi.ProfileKey@7197c1
      75[domain=default,server=default,name=inquis]}
      12:04:12,979 INFO [WebService] Using RMI server codebase: http://PTMNG-DAVIDEM:8083/
      12:04:16,432 INFO [NativeServerConfig] JBoss Web Services - Stack Native Core
      12:04:16,432 INFO [NativeServerConfig] 3.0.5.GA
      12:04:22,010 INFO [JMXConnectorServerService] JMX Connector server: service:jmx:rmi://PTMNG-DAVIDEM/jndi/rmi://PTMNG-DAVIDEM
      :1090/jmxconnector
      12:04:22,104 INFO [MailService] Mail Service bound to java:/Mail
      12:04:23,260 WARN [JBossASSecurityMetadataStore] WARNING! POTENTIAL SECURITY RISK. It has been detected that the MessageSuck
      er component which sucks messages from one node to another has not had its password changed from the installation default. Pl
      ease see the JBoss Messaging user guide for instructions on how to do this.
      12:04:23,276 WARN [AnnotationCreator] No ClassLoader provided, using TCCL: org.jboss.managed.api.annotation.ManagementCompon
      ent
      12:04:23,385 INFO [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc.
      12:04:23,385 INFO [TransactionManagerService] Setting up property manager MBean and JMX layer
      12:04:23,542 INFO [TransactionManagerService] Initializing recovery manager
      12:04:23,635 INFO [TransactionManagerService] Recovery manager configured
      12:04:23,651 INFO [TransactionManagerService] Binding TransactionManager JNDI Reference
      12:04:23,667 INFO [TransactionManagerService] Starting transaction recovery manager
      12:04:24,026 INFO [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-0.0.0.0-8012
      12:04:24,245 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-8446
      12:04:24,245 INFO [StandardService] Starting service jboss.web
      12:04:24,245 INFO [StandardEngine] Starting Servlet Engine: JBoss Web/2.1.2.GA
      12:04:24,292 INFO [Catalina] Server startup in 307 ms
      12:04:24,307 INFO [TomcatDeployment] deploy, ctxPath=/invoker
      12:04:24,729 INFO [TomcatDeployment] deploy, ctxPath=/jbossws
      12:04:24,761 INFO [TomcatDeployment] deploy, ctxPath=/web-console
      12:04:24,948 ERROR [AbstractKernelController] Error installing to Instantiated: name=DefaultUserTransactionprovider state=Des
      cribed
      java.lang.NoSuchMethodError: org.jboss.tm.TransactionManagerLocator.locateTransactionManager(Z)Ljavax/transaction/Transaction
      Manager;
      at org.jboss.tm.usertx.client.ServerVMClientUserTransaction.(ServerVMClientUserTransaction.java:93)
      at org.jboss.tm.usertx.client.ServerVMClientUserTransaction.(ServerVMClientUserTransaction.java:60)
      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.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:59)
      at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:150)
      at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)
      at org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControlle
      rContextAction.java:241)
      at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:47)
      at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContext
      Action.java:109)
      at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.
      java:70)
      at org.jboss.kernel.plugins.dependency.InstantiateAction.installActionInternal(InstantiateAction.java:66)
      at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54)
      at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42)
      at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextActio
      n.java:62)
      at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
      at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
      at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
      at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:774)
      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:540)
      at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:121)
      at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:51)
      at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java
      :62)
      at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
      at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
      at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
      at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
      at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:698)
      at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:304)
      at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:205)
      at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405)
      at org.jboss.Main.boot(Main.java:209)
      at org.jboss.Main$1.run(Main.java:547)
      at java.lang.Thread.run(Thread.java:619)
      12:04:25,011 INFO [RARDeployment] Required license terms exist, view vfszip:/C:/jboss/jboss-5.0.1.GA/server/inquis/deploy/jb
      oss-local-jdbc.rar/META-INF/ra.xml
      12:04:25,026 INFO [RARDeployment] Required license terms exist, view vfszip:/C:/jboss/jboss-5.0.1.GA/server/inquis/deploy/jb
      oss-xa-jdbc.rar/META-INF/ra.xml
      12:04:25,057 INFO [RARDeployment] Required license terms exist, view vfszip:/C:/jboss/jboss-5.0.1.GA/server/inquis/deploy/jm
      s-ra.rar/META-INF/ra.xml
      12:04:25,089 INFO [RARDeployment] Required license terms exist, view vfszip:/C:/jboss/jboss-5.0.1.GA/server/inquis/deploy/ma
      il-ra.rar/META-INF/ra.xml
      12:04:25,104 INFO [RARDeployment] Required license terms exist, view vfszip:/C:/jboss/jboss-5.0.1.GA/server/inquis/deploy/qu
      artz-ra.rar/META-INF/ra.xml
      12:04:25,182 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main
      12:04:25,214 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
      12:04:25,214 INFO [RAMJobStore] RAMJobStore initialized.
      12:04:25,214 INFO [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in
      Quartz package: 'quartz.properties'
      12:04:25,214 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2
      12:04:25,214 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
      12:04:25,386 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=Defaul
      tDS' to JNDI name 'java:DefaultDS'
      12:04:27,167 INFO [ServerPeer] JBoss Messaging 1.4.1.GA server [0] started
      12:04:27,182 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name
      =JmsXA' to JNDI name 'java:JmsXA'
      12:04:27,229 INFO [TomcatDeployment] deploy, ctxPath=/
      12:04:27,261 INFO [TomcatDeployment] deploy, ctxPath=/jmx-console
      12:04:27,307 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS F
      OR DETAILS):

      DEPLOYMENTS MISSING DEPENDENCIES:
      Deployment "jboss.messaging.connectionfactory:service=ClusterPullConnectionFactory" is missing the following dependencies:
      Dependency "jboss.messaging:service=PostOffice" (should be in state "Create", but is actually in state "Configured")
      Deployment "jboss.messaging.connectionfactory:service=ClusteredConnectionFactory" is missing the following dependencies:
      Dependency "jboss.messaging:service=PostOffice" (should be in state "Create", but is actually in state "Configured")
      Deployment "jboss.messaging.connectionfactory:service=ConnectionFactory" is missing the following dependencies:
      Dependency "jboss.messaging:service=PostOffice" (should be in state "Create", but is actually in state "Configured")
      Deployment "jboss.messaging.destination:name=DLQ,service=Queue" is missing the following dependencies:
      Dependency "jboss.messaging:service=PostOffice" (should be in state "Create", but is actually in state "Configured")
      Deployment "jboss.messaging.destination:name=ExpiryQueue,service=Queue" is missing the following dependencies:
      Dependency "jboss.messaging:service=PostOffice" (should be in state "Create", but is actually in state "Configured")
      Deployment "jboss.messaging:service=PostOffice" is missing the following dependencies:
      Dependency "jboss.jgroups:service=ChannelFactory" (should be in state "Create", but is actually in state "** NOT FOUND De
      pends on 'jboss.jgroups:service=ChannelFactory' **")

      DEPLOYMENTS IN ERROR:
      Deployment "DefaultUserTransactionprovider" is in error due to the following reason(s): java.lang.NoSuchMethodError: org.jb
      oss.tm.TransactionManagerLocator.locateTransactionManager(Z)Ljavax/transaction/TransactionManager;
      Deployment "jboss.jgroups:service=ChannelFactory" is in error due to the following reason(s): ** NOT FOUND Depends on 'jbos
      s.jgroups:service=ChannelFactory' **

      12:04:27,323 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-0.0.0.0-8012
      12:04:27,339 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8446
      12:04:27,432 INFO [ServerImpl] JBoss (Microcontainer) [5.0.1.GA (build: SVNTag=JBoss_5_0_1_GA date=200902231221)] Started in
      18s:578ms


      I do not see how to solve the above error(s). Could someone give me a hint?

      Regards,
      llper

        • 1. Re: Problem when starting jboss
          jaikiran

          Did you do any changes to the JBoss that you downloaded?


          12:04:08,854 INFO [ServerImpl] Server Home URL: file:/C:/jboss/jboss-5.0.1.GA/server/inquis/


          How did you create the "inquis" server configuration? Are you sure you created it correctly?


          • 2. Re: Problem when starting jboss

            Yup, it's basically a copy of the 'default' configuration with minor changes, but i'm sure I did not change anything related to the 'DefaultUserTransactionprovider ' MBean. Is it possible that a library that it is sourced in the 'lib' directory overwrites the 'TransactionManagerLocator' class and therefore the method is no more found ?

            • 3. Re: Problem when starting jboss
              jaikiran

              Without knowing what the minor changes were, we don't know if that would affect the server startup :)

              Do this - just create a copy of the server "default" configuration, and do not do those minor changes and start the server. If it starts without any issues (it should :) ), then you know for sure that the minor changes are causing the issue.

              By the way, can you list those minor changes?

              • 4. Re: Problem when starting jboss

                Thanks for your time, jaikiran. I've solved the problem: i've copied some old jboss 4.2 libraries under inquis/lib!!! I've overlooked them!

                Thanks anyway!