0 Replies Latest reply on Aug 29, 2012 7:12 PM by Aaron Franke

    Upgrading from Jboss4.2.3 to Jboss5.1.0

    Aaron Franke Newbie

      I am looking for some help upgrading an application from jBoss4.2.3 to jBoss5.1.0.

       

      I am attempting to upgrade our application from Jboss4.2.3. I realize we are behind the curve a but, but we really like the features in Jboss7 and we want to upgrade to it. All the

      documentation I have read suggests that we need to upgrade to version 5, after which we can upgrade to jBoss version 7. We setup our own config -e.g. ./run.sh -c hms.

       

      I have take the following steps so far.

       

      1. Updated class paths for methods that use jboss libraries. (Not much detail here, but I can add if needed.)

       

      2. In the our ant build we copy "jboss-service.xml" to server/hms/deploy/jbossweb.sar. In jboss4.2.3 this file was placed in server/hms/jboss-web.deployer.

          We also copy server.xml to the same location. We then copy a web.xml file to the deploy/conf directory.

       

      3. I have copied the server/all/deployer directory to the server/lems.

       

      I have not changed any of the configs, only where they are copied two. The following is the startup:

       

      -sh-3.2# ./run.sh -c lems

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

       

        JBoss Bootstrap Environment

       

        JBOSS_HOME: /Users/afranke1/projects/jboss-5.1.0.GA

       

        JAVA: /Library/Java/Home/bin/java

       

        JAVA_OPTS: -Dprogram.name=run.sh -server -Dcom.sun.management.jmxremote.port=6789 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Djava.rmi.server.hostname=10.254.198.173 -Djboss.home=/Users/afranke1/projects/jboss-5.1.0.GA -Djboss.conf=server/lems -Djava.security.debug=failure -Djava.awt.headless=true -Djboss.bind.address=0.0.0.0 -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n

       

        CLASSPATH: /Users/afranke1/projects/jboss-5.1.0.GA/server/lems/classpath:/Users/afranke1/projects/jboss-5.1.0.GA/common/lib/commons-logging.jar:/Users/afranke1/projects/jboss-5.1.0.GA/commons/lib/log4j.jar:/Users/afranke1/projects/jboss-5.1.0.GA/commons/lib/mysql-connector-j.jar:/Users/afranke1/projects/jboss-5.1.0.GA/bin/run.jar

       

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

       

      Listening for transport dt_socket at address: 8787

      15:09:37,004 INFO  [ServerImpl] Starting JBoss (Microcontainer)...

      15:09:37,005 INFO  [ServerImpl] Release ID: JBoss [The Oracle] 5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221634)

      15:09:37,005 INFO  [ServerImpl] Bootstrap URL: null

      15:09:37,005 INFO  [ServerImpl] Home Dir: /Users/afranke1/projects/jboss-5.1.0.GA

      15:09:37,005 INFO  [ServerImpl] Home URL: file:/Users/afranke1/projects/jboss-5.1.0.GA/

      15:09:37,006 INFO  [ServerImpl] Library URL: file:/Users/afranke1/projects/jboss-5.1.0.GA/lib/

      15:09:37,006 INFO  [ServerImpl] Patch URL: null

      15:09:37,006 INFO  [ServerImpl] Common Base URL: file:/Users/afranke1/projects/jboss-5.1.0.GA/common/

      15:09:37,006 INFO  [ServerImpl] Common Library URL: file:/Users/afranke1/projects/jboss-5.1.0.GA/common/lib/

      15:09:37,006 INFO  [ServerImpl] Server Name: lems

      15:09:37,006 INFO  [ServerImpl] Server Base Dir: /Users/afranke1/projects/jboss-5.1.0.GA/server

      15:09:37,007 INFO  [ServerImpl] Server Base URL: file:/Users/afranke1/projects/jboss-5.1.0.GA/server/

      15:09:37,007 INFO  [ServerImpl] Server Config URL: file:/Users/afranke1/projects/jboss-5.1.0.GA/server/lems/conf/

      15:09:37,007 INFO  [ServerImpl] Server Home Dir: /Users/afranke1/projects/jboss-5.1.0.GA/server/lems

      15:09:37,007 INFO  [ServerImpl] Server Home URL: file:/Users/afranke1/projects/jboss-5.1.0.GA/server/lems/

      15:09:37,007 INFO  [ServerImpl] Server Data Dir: /Users/afranke1/projects/jboss-5.1.0.GA/server/lems/data

      15:09:37,007 INFO  [ServerImpl] Server Library URL: file:/Users/afranke1/projects/jboss-5.1.0.GA/server/lems/lib/

      15:09:37,007 INFO  [ServerImpl] Server Log Dir: /Users/afranke1/projects/jboss-5.1.0.GA/server/lems/log

      15:09:37,007 INFO  [ServerImpl] Server Native Dir: /Users/afranke1/projects/jboss-5.1.0.GA/server/lems/tmp/native

      15:09:37,007 INFO  [ServerImpl] Server Temp Dir: /Users/afranke1/projects/jboss-5.1.0.GA/server/lems/tmp

      15:09:37,007 INFO  [ServerImpl] Server Temp Deploy Dir: /Users/afranke1/projects/jboss-5.1.0.GA/server/lems/tmp/deploy

      15:09:37,385 INFO  [ServerImpl] Starting Microcontainer, bootstrapURL=file:/Users/afranke1/projects/jboss-5.1.0.GA/server/lems/conf/bootstrap.xml

      15:09:37,754 INFO  [VFSCacheFactory] Initializing VFSCache [org.jboss.virtual.plugins.cache.CombinedVFSCache]

      15:09:37,756 INFO  [VFSCacheFactory] Using VFSCache [CombinedVFSCache[real-cache: null]]

      15:09:37,945 INFO  [CopyMechanism] VFS temp dir: /Users/afranke1/projects/jboss-5.1.0.GA/server/lems/tmp

      15:09:37,946 INFO  [ZipEntryContext] VFS force nested jars copy-mode is enabled.

      15:09:38,818 INFO  [ServerInfo] Java version: 1.6.0_26,Apple Inc.

      15:09:38,818 INFO  [ServerInfo] Java Runtime: Java(TM) SE Runtime Environment (build 1.6.0_26-b03-383-11A511)

      15:09:38,818 INFO  [ServerInfo] Java VM: Java HotSpot(TM) 64-Bit Server VM 20.1-b02-383,Apple Inc.

      15:09:38,818 INFO  [ServerInfo] OS-System: Mac OS X 10.7.2,x86_64

      15:09:38,819 INFO  [ServerInfo] VM arguments: -Xserver -Dprogram.name=run.sh -Dcom.sun.management.jmxremote.port=6789 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Djava.rmi.server.hostname=10.254.198.173 -Djboss.home=/Users/afranke1/projects/jboss-5.1.0.GA -Djboss.conf=server/lems -Djava.security.debug=failure -Djava.awt.headless=true -Djboss.bind.address=0.0.0.0 -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n -Djava.endorsed.dirs=/Users/afranke1/projects/jboss-5.1.0.GA/lib/endorsed -Xmx3072m -Xms3072m

      15:09:38,857 INFO  [JMXKernel] Legacy JMX core initialized

      15:09:40,230 ERROR [ClusteredDeploymentRepository] Problem accessing URI file:/Users/afranke1/projects/jboss-5.1.0.GA/server/lems/farm -- it will not be used for profile ProfileKey@a0ccc96[domain=default, server=default, name=farm]. Problem was: farm doesn't exist. (rootURI: file:/Users/afranke1/projects/jboss-5.1.0.GA/server/lems/farm, file: /Users/afranke1/projects/jboss-5.1.0.GA/server/lems/farm)

      15:09:40,234 INFO  [ProfileServiceBootstrap] Loading profile: ProfileKey@5fd1358f[domain=default, server=default, name=lems]

      15:09:41,817 INFO  [WebService] Using RMI server codebase: http://10.254.198.173:8083/

      15:09:45,189 INFO  [NativeServerConfig] JBoss Web Services - Stack Native Core

      15:09:45,189 INFO  [NativeServerConfig] 3.1.2.GA

      15:09:45,538 INFO  [AttributeCallbackItem] Owner callback not implemented.

      15:09:46,297 INFO  [LogNotificationListener] Adding notification listener for logging mbean "jboss.system:service=Logging,type=Log4jService" to server org.jboss.mx.server.MBeanServerImpl@35489ea3[ defaultDomain='jboss' ]

      15:09:53,943 INFO  [BOOT] -- boot log messages -->

      [BOOT] INFO: Loading OJB's properties: vfszip:/Users/afranke1/projects/jboss-5.1.0.GA/server/lems/lib/lems.ojb-conf.jar/OJB.properties

      [BOOT] WARN: Can't read logging properties file using path 'OJB-logging.properties', message is:

      /Users/afranke1/projects/jboss-5.1.0.GA/bin/OJB-logging.properties

      Will try to load logging properties from OJB.properties file

      [BOOT] INFO: Logging: Found 'log4j.properties' file, use class org.apache.ojb.broker.util.logging.Log4jLoggerImpl

      [BOOT] INFO: Log4J is already configured, will not search for log4j properties file

       

      15:09:57,934 INFO  [PersistenceBrokerFactoryDefaultImpl] Create PersistenceBroker instance pool, pool configuration was {whenExhaustedAction=0, maxIdle=-1, maxActive=200, maxWait=2000, removeAbandoned=false, numTestsPerEvictionRun=10, minEvictableIdleTimeMillis=1000000, testWhileIdle=false, testOnReturn=false, logAbandoned=false, minIdle=0, removeAbandonedTimeout=300, timeBetweenEvictionRunsMillis=-1, testOnBorrow=false}

      15:09:57,934 INFO  [BOOT] PersistencebrokerFactory class instantiated: org.apache.ojb.broker.core.PersistenceBrokerFactoryDefaultImpl@368ea496

      15:09:57,961 INFO  [RepositoryPersistor] OJB Descriptor Repository: vfszip:/Users/afranke1/projects/jboss-5.1.0.GA/server/lems/lib/lems.ojb-conf.jar/repository.xml

      15:09:57,961 INFO  [RepositoryPersistor] Building repository from :vfszip:/Users/afranke1/projects/jboss-5.1.0.GA/server/lems/lib/lems.ojb-conf.jar/repository.xml

      15:09:57,962 INFO  [RepositoryPersistor] RepositoryPersistor using SAXParserFactory : org.apache.xerces.jaxp.SAXParserFactoryImpl

      15:09:59,377 INFO  [RepositoryPersistor] Read class descriptors took 1417 ms

      15:09:59,377 INFO  [RepositoryPersistor] OJB Descriptor Repository: vfszip:/Users/afranke1/projects/jboss-5.1.0.GA/server/lems/lib/lems.ojb-conf.jar/repository.xml

      15:09:59,378 INFO  [RepositoryPersistor] Building repository from :vfszip:/Users/afranke1/projects/jboss-5.1.0.GA/server/lems/lib/lems.ojb-conf.jar/repository.xml

      15:09:59,378 INFO  [RepositoryPersistor] RepositoryPersistor using SAXParserFactory : org.apache.xerces.jaxp.SAXParserFactoryImpl

      15:09:59,426 INFO  [RepositoryPersistor] Read connection repository took 49 ms

      15:09:59,498 INFO  [PersistenceBrokerFactoryBaseImpl] Create new PB instance for PBKey org.apache.ojb.broker.PBKey: jcdAlias=default, user=root, password=*****, already created persistence broker instances: 0

      15:09:59,550 INFO  [ObjectCacheFactory] Start creating new ObjectCache instance

      15:09:59,552 INFO  [ObjectCacheFactory] Instantiate new org.apache.ojb.broker.cache.CacheDistributor for PB instance org.apache.ojb.broker.core.PersistenceBrokerImpl@57e1ff86

      15:09:59,552 INFO  [ObjectCacheFactory] New ObjectCache instance was created

      15:09:59,609 INFO  [ConnectionFactoryPooledImpl] Create new connection pool:org.apache.ojb.broker.metadata.JdbcConnectionDescriptor@34d9558d[

        jcd-alias=default

        default-connection=true

        dbms=MySQL

        jdbc-level=2.0

        driver=com.mysql.jdbc.Driver

        protocol=jdbc

        sub-protocol=mysql

        db-alias=//localhost:3306/lems

        user=root

        password=*****

        eager-release=false

        ConnectionPoolDescriptor={whenExhaustedAction=0, validationQuery=select count(Role_Id) from Sec_Role, maxIdle=-1, maxActive=200, maxWait=5000, removeAbandoned=true, numTestsPerEvictionRun=100, minEvictableIdleTimeMillis=1800000, testWhileIdle=true, testOnReturn=false, logAbandoned=true, minIdle=0, fetchSize=0, removeAbandonedTimeout=900, timeBetweenEvictionRunsMillis=3600000, testOnBorrow=true}

        batchMode=false

        useAutoCommit=AUTO_COMMIT_SET_TRUE_AND_TEMPORARY_FALSE

        ignoreAutoCommitExceptions=false

        sequenceDescriptor=org.apache.ojb.broker.metadata.SequenceDescriptor@2d438e4[

           sequenceManagerClass=class org.apache.ojb.broker.util.sequence.SequenceManagerHighLowImpl

           Properties={autoNaming=true, globalSequenceId=false, globalSequenceStart=10000, grabSize=100}

      ]

      ]

      15:10:05,007 INFO  [ConfigurationService] Started

      15:10:05,916 ERROR [AbstractKernelController] Error installing to Real: name=vfsfile:/Users/afranke1/projects/jboss-5.1.0.GA/server/lems/deploy/jbossweb.sar/ state=PreReal mode=Manual requiredState=Real

      org.jboss.deployers.spi.DeploymentException: Error deploying: jboss.web:service=WebServer

          at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)

          at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:118)

          at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)

          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:1631)

          at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)

          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)

          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:702)

          at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)

          at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70)

          at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53)

          at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:361)

          at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)

          at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)

          at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)

          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)

          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.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:306)

          at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:271)

          at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)

          at org.jboss.Main.boot(Main.java:221)

          at org.jboss.Main$1.run(Main.java:556)

          at java.lang.Thread.run(Thread.java:680)

      Caused by: java.lang.IllegalStateException: jboss.web:service=WebServer is already installed.

          at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:716)

          at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:540)

          at org.jboss.system.ServiceController.doInstall(ServiceController.java:670)

          at org.jboss.system.ServiceController.install(ServiceController.java:273)

          at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:90)

          ... 34 more

      15:10:06,347 ERROR [AbstractKernelController] Error installing to Real: name=vfsfile:/Users/afranke1/projects/jboss-5.1.0.GA/server/lems/deploy/lems.war/ state=PreReal mode=Manual requiredState=Real

      org.jboss.deployers.spi.DeploymentException: Failed to create web module

          at org.jboss.web.deployers.AbstractWarDeployer.deploy(AbstractWarDeployer.java:461)

          at org.jboss.web.deployers.AbstractWarDeployer.deploy(AbstractWarDeployer.java:97)

          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.install(DeployersImpl.java:1098)

          at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)

          at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)

          at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)

          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)

          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:702)

          at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)

          at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70)

          at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53)

          at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:361)

          at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)

          at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)

          at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)

          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)

          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.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:306)

          at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:271)

          at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)

          at org.jboss.Main.boot(Main.java:221)

          at org.jboss.Main$1.run(Main.java:556)

          at java.lang.Thread.run(Thread.java:680)

      Caused by: java.lang.ClassNotFoundException: org.jboss.web.tomcat.service.deployers.TomcatDeployment from BaseClassLoader@76557c15{VFSClassLoaderPolicy@66458364{name=vfsfile:/Users/afranke1/projects/jboss-5.1.0.GA/server/lems/deployers/jbossweb.deployer/ domain=ClassLoaderDomain@2a06bbe7{name=DefaultDomain parentPolicy=BEFORE parent=org.jboss.bootstrap.NoAnnotationURLClassLoader@1167e3a5} roots=[MemoryContextHandler@1572163248[path= context=vfsmemory://a725i4t-nmioxg-h6gx4g3b-1-h6gx4kdx-d real=vfsmemory://a725i4t-nmioxg-h6gx4g3b-1-h6gx4kdx-d], FileHandler@708916448[path=jbossweb.deployer context=file:/Users/afranke1/projects/jboss-5.1.0.GA/server/lems/deployers/ real=file:/Users/afranke1/projects/jboss-5.1.0.GA/server/lems/deployers/jbossweb.deployer/], DelegatingHandler@519467980[path=jbossweb.deployer/jboss-web-deployer.jar context=file:/Users/afranke1/projects/jboss-5.1.0.GA/server/lems/deployers/ real=file:/Users/afranke1/projects/jboss-5.1.0.GA/server/lems/deployers/jbossweb.deployer/jboss-web-deployer.jar]]  delegates=null exported=[, org.jboss.web.tomcat.service.deployers, META-INF] <IMPORT-ALL>NON_EMPTY}}

          at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:448)

          at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

          at org.jboss.web.tomcat.service.deployers.TomcatDeployer.getDeployment(TomcatDeployer.java:420)

          at org.jboss.web.deployers.AbstractWarDeployer.deploy(AbstractWarDeployer.java:453)

          ... 33 more

      15:10:09,628 ERROR [AbstractKernelController] Error installing to Real: name=vfszip:/Users/afranke1/projects/jboss-5.1.0.GA/server/lems/deploy/docroot.ear/ state=PreReal mode=Manual requiredState=Real

      org.jboss.deployers.spi.DeploymentException: Failed to create web module

          at org.jboss.web.deployers.AbstractWarDeployer.deploy(AbstractWarDeployer.java:461)

          at org.jboss.web.deployers.AbstractWarDeployer.deploy(AbstractWarDeployer.java:97)

          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:1210)

          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:1631)

          at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)

          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)

          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:702)

          at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)

          at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70)

          at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53)

          at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:361)

          at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)

          at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)

          at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)

          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)

          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.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:306)

          at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:271)

          at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)

          at org.jboss.Main.boot(Main.java:221)

          at org.jboss.Main$1.run(Main.java:556)

          at java.lang.Thread.run(Thread.java:680)

      Caused by: java.lang.ClassNotFoundException: org.jboss.web.tomcat.service.deployers.TomcatDeployment from BaseClassLoader@76557c15{VFSClassLoaderPolicy@66458364{name=vfsfile:/Users/afranke1/projects/jboss-5.1.0.GA/server/lems/deployers/jbossweb.deployer/ domain=ClassLoaderDomain@2a06bbe7{name=DefaultDomain parentPolicy=BEFORE parent=org.jboss.bootstrap.NoAnnotationURLClassLoader@1167e3a5} roots=[MemoryContextHandler@1572163248[path= context=vfsmemory://a725i4t-nmioxg-h6gx4g3b-1-h6gx4kdx-d real=vfsmemory://a725i4t-nmioxg-h6gx4g3b-1-h6gx4kdx-d], FileHandler@708916448[path=jbossweb.deployer context=file:/Users/afranke1/projects/jboss-5.1.0.GA/server/lems/deployers/ real=file:/Users/afranke1/projects/jboss-5.1.0.GA/server/lems/deployers/jbossweb.deployer/], DelegatingHandler@519467980[path=jbossweb.deployer/jboss-web-deployer.jar context=file:/Users/afranke1/projects/jboss-5.1.0.GA/server/lems/deployers/ real=file:/Users/afranke1/projects/jboss-5.1.0.GA/server/lems/deployers/jbossweb.deployer/jboss-web-deployer.jar]]  delegates=null exported=[, org.jboss.web.tomcat.service.deployers, META-INF] <IMPORT-ALL>NON_EMPTY}}

          at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:448)

          at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

          at org.jboss.web.tomcat.service.deployers.TomcatDeployer.getDeployment(TomcatDeployer.java:420)

          at org.jboss.web.deployers.AbstractWarDeployer.deploy(AbstractWarDeployer.java:453)

          ... 34 more

      15:10:09,636 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

       

      DEPLOYMENTS MISSING DEPENDENCIES:

        Deployment "jboss:service=ClientUserTransaction" is missing the following dependencies:

          Dependency "jboss:service=proxyFactory,target=ClientUserTransaction" (should be in state "Create", but is actually in state "Configured")

          Dependency "jboss:service=proxyFactory,target=ClientUserTransactionFactory" (should be in state "Create", but is actually in state "Configured")

        Deployment "jboss:service=XMLScheduleProvider" is missing the following dependencies:

          Dependency "lems-engine:service=SessionValidator" (should be in state "Create", but is actually in state "Configured")

        Deployment "jboss:service=proxyFactory,target=ClientUserTransaction" is missing the following dependencies:

          Dependency "jboss:service=invoker,type=unified" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'jboss:service=invoker,type=unified' **")

        Deployment "jboss:service=proxyFactory,target=ClientUserTransactionFactory" is missing the following dependencies:

          Dependency "jboss:service=invoker,type=unified" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'jboss:service=invoker,type=unified' **")

        Deployment "lems-engine:service=CompressAuditLog" is missing the following dependencies:

          Dependency "lems-engine:service=PrecompileService" (should be in state "Create", but is actually in state "Configured")

        Deployment "lems-engine:service=EmailCampaigns" is missing the following dependencies:

          Dependency "lems-engine:service=PrecompileService" (should be in state "Create", but is actually in state "Configured")

        Deployment "lems-engine:service=PrecompileService" is missing the following dependencies:

          Dependency "jboss.web:service=WebServer" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'jboss.web:service=WebServer' **")

        Deployment "lems-engine:service=SessionValidator" is missing the following dependencies:

          Dependency "lems-engine:service=PrecompileService" (should be in state "Create", but is actually in state "Configured")

       

      DEPLOYMENTS IN ERROR:

        Deployment "vfszip:/Users/afranke1/projects/jboss-5.1.0.GA/server/lems/deploy/docroot.ear/" is in error due to the following reason(s): java.lang.ClassNotFoundException: org.jboss.web.tomcat.service.deployers.TomcatDeployment from BaseClassLoader@76557c15{VFSClassLoaderPolicy@66458364{name=vfsfile:/Users/afranke1/projects/jboss-5.1.0.GA/server/lems/deployers/jbossweb.deployer/ domain=ClassLoaderDomain@2a06bbe7{name=DefaultDomain parentPolicy=BEFORE parent=org.jboss.bootstrap.NoAnnotationURLClassLoader@1167e3a5} roots=[MemoryContextHandler@1572163248[path= context=vfsmemory://a725i4t-nmioxg-h6gx4g3b-1-h6gx4kdx-d real=vfsmemory://a725i4t-nmioxg-h6gx4g3b-1-h6gx4kdx-d], FileHandler@708916448[path=jbossweb.deployer context=file:/Users/afranke1/projects/jboss-5.1.0.GA/server/lems/deployers/ real=file:/Users/afranke1/projects/jboss-5.1.0.GA/server/lems/deployers/jbossweb.deployer/], DelegatingHandler@519467980[path=jbossweb.deployer/jboss-web-deployer.jar context=file:/Users/afranke1/projects/jboss-5.1.0.GA/server/lems/deployers/ real=file:/Users/afranke1/projects/jboss-5.1.0.GA/server/lems/deployers/jbossweb.deployer/jboss-web-deployer.jar]]  delegates=null exported=[, org.jboss.web.tomcat.service.deployers, META-INF] <IMPORT-ALL>NON_EMPTY}}

        Deployment "vfsfile:/Users/afranke1/projects/jboss-5.1.0.GA/server/lems/deploy/jbossweb.sar/" is in error due to the following reason(s): java.lang.IllegalStateException: jboss.web:service=WebServer is already installed.

        Deployment "vfsfile:/Users/afranke1/projects/jboss-5.1.0.GA/server/lems/deploy/lems.war/" is in error due to the following reason(s): java.lang.ClassNotFoundException: org.jboss.web.tomcat.service.deployers.TomcatDeployment from BaseClassLoader@76557c15{VFSClassLoaderPolicy@66458364{name=vfsfile:/Users/afranke1/projects/jboss-5.1.0.GA/server/lems/deployers/jbossweb.deployer/ domain=ClassLoaderDomain@2a06bbe7{name=DefaultDomain parentPolicy=BEFORE parent=org.jboss.bootstrap.NoAnnotationURLClassLoader@1167e3a5} roots=[MemoryContextHandler@1572163248[path= context=vfsmemory://a725i4t-nmioxg-h6gx4g3b-1-h6gx4kdx-d real=vfsmemory://a725i4t-nmioxg-h6gx4g3b-1-h6gx4kdx-d], FileHandler@708916448[path=jbossweb.deployer context=file:/Users/afranke1/projects/jboss-5.1.0.GA/server/lems/deployers/ real=file:/Users/afranke1/projects/jboss-5.1.0.GA/server/lems/deployers/jbossweb.deployer/], DelegatingHandler@519467980[path=jbossweb.deployer/jboss-web-deployer.jar context=file:/Users/afranke1/projects/jboss-5.1.0.GA/server/lems/deployers/ real=file:/Users/afranke1/projects/jboss-5.1.0.GA/server/lems/deployers/jbossweb.deployer/jboss-web-deployer.jar]]  delegates=null exported=[, org.jboss.web.tomcat.service.deployers, META-INF] <IMPORT-ALL>NON_EMPTY}}

        Deployment "jboss:service=invoker,type=unified" is in error due to the following reason(s): ** NOT FOUND Depends on 'jboss:service=invoker,type=unified' **

        Deployment "jboss.web:service=WebServer" is in error due to the following reason(s): ** NOT FOUND Depends on 'jboss.web:service=WebServer' **

       

      15:10:09,637 INFO  [ServerImpl] JBoss (Microcontainer) [5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221634)] Started in 32s:628ms