9 Replies Latest reply on May 5, 2010 5:00 PM by peterj

    Porting from JBoss 3.2.7 to 5.1.0.GA - Startup errors

      I am in the process of porting a large application from JBoss 3.2.7 to 5.1.0.GA (yes, I know... this should have happened long ago :-).  Though I have been using JBoss for a while, I am a relative newbie to its configuration and deployment.  It appears that much has changed, since it took a while for me to work through the re-organization of jboss jar files and, and classes within those jar files in order to get my application to build.  Once I got it to  build, I worked through more changes in deployment descriptor files with respect to the versions of dtds and schemas they were pointing at.  I'm now at a point where I get lots of errors on startup that look like those I've pasted in below.  Many of the messages have the same flavor.  So I'm hoping I'm doing the same [wrong] thing across the board.  I've started with the error messages, but can add in descriptor files later if needed.  It appears that my classpath may be incorrect, as there are a lot of ClassNotFoundExceptions.  I've chopped out much of the stack trace line numbers in order to save space, but I have attached the complete server.log and boot.log files.

       

      For my application, we build an EAR file, that contains a single WAR file.  We have 10 EJBs configured. We simply place the EAR file in the ../server/default/deploy directory.  Any help or suggestions would be much appreciated.  I'll continue plowing through the discussions...

       

      2010-04-26 14:44:59,565 INFO  [WebService] Using RMI server codebase: http://127.0.0.1:8083/
      2010-04-26 14:45:00,948 ERROR [AbstractKernelController] Error installing to Configured: name=jboss.security:service=JaasSecurityManager state=Instantiated mode=Manual requiredState=Configured
      java.lang.RuntimeException: No Attribute found with name: ServerMode for jboss.security:service=JaasSecurityManager, attributes: [Name, StateString, State, SecurityProxyFactoryClassName, CallbackHandlerClassName, SecurityManagerClassName, DefaultCacheResolution, AuthenticationCacheJndiName, DefaultCacheTimeout]
              at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:142)

       

      2010-04-26 14:45:00,978 ERROR [AbstractKernelController] Error installing to Real: name=vfsfile:/C:/sv2dev/server/default/conf/jboss-service.xml state=PreReal mode=Manual requiredState=Real
      org.jboss.deployers.spi.DeploymentException: Error deploying: jboss.security:service=JaasSecurityManager
              at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49) ...

      Caused by: java.lang.RuntimeException: No Attribute found with name: ServerMode for jboss.security:service=JaasSecurityManager, attributes: [Name, StateString, State, SecurityProxyFactoryClassName, CallbackHandlerClassName, SecurityManagerClassName, DefaultCacheResolution, AuthenticationCacheJndiName, DefaultCacheTimeout]

       

      2010-04-26 14:45:03,554 ERROR [AbstractKernelController] Error installing to Real: name=vfsfile:/C:/sv2dev/server/default/deployers/ejb3.deployer/ state=PreReal mode=Manual requiredState=Real
      org.jboss.deployers.spi.DeploymentException: Error deploying: vfsfile:/C:/sv2dev/server/default/deployers/ejb3.deployer/
              at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)

      Caused by: java.lang.IllegalArgumentException: Exception loading class for ScopeKey addition.

               ... 34 more

      Caused by: java.lang.ClassNotFoundException: org.jboss.ejb3.resolvers.DefaultMessageDestinationReferenceResolver from BaseClassLoader@3e2de41d{VFSClassLoaderPolicy@36db4bcf{name=vfsfile:/C:/sv2dev/server/default/deployers/ejb3.deployer/ domain=ClassLoaderDomain@df1cbf6{name=DefaultDomain parentPolicy=BEFORE parent=org.jboss.bootstrap.NoAnnotationURLClassLoader@4ce86da0} roots=[MemoryContextHandler
      @2001608491[path= context=vfsmemory://5c4ow2z-iwtxru-g8hn0xi6-1-g8hn1ch4-9 real=vfsmemory://5c4ow2z-iwtxru-g8hn0xi6-1-g8hn1ch4-9], FileHandler@702577982[path=ejb3.deployer context=file:/C:/sv2dev/server/default/deployers/ real=file:/C:/sv2dev/server/default/deployers/ejb3.deployer/], DelegatingHandler@1363052268[path=ejb3.deployer/jboss-ejb3-deployer.jar context=file:/C:/sv2dev/server/default/depl
      oyers/ real=file:/C:/sv2dev/server/default/deployers/ejb3.deployer/jboss-ejb3-deployer.jar], DelegatingHandler@1611405727[path=ejb3.deployer/jboss-ejb3-iiop.jar context=file:/C:/sv2dev/server/default/deployers/ real=file:/C:/sv2dev/server/default/deployers/ejb3.deployer/jboss-ejb3-iiop.jar]]  delegates=null exported=[org.jboss.as.javaee, org.jboss.ejb3.clientmodule, org.jboss.ejb3.deployers, org.j
      boss.ejb3.deployers.tmp, org.jboss.as.jpa.resolvers, org.jboss.as.ejb3.timerservice, META-INF] <IMPORT-ALL>NON_EMPTY}}
              at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:448)

       

      2010-04-26 14:45:03,782 ERROR [AbstractKernelController] Error installing to PreInstall: name=JCAMetaDataRepository state=Real
      java.lang.NoClassDefFoundError: org/jboss/resource/metadata/ConnectorMetaData
              at java.lang.Class.getDeclaredMethods0(Native Method)

      Caused by: java.lang.ClassNotFoundException: org.jboss.resource.metadata.ConnectorMetaData

       

      2010-04-26 14:45:03,787 ERROR [AbstractKernelController] Error installing to PreInstall: name=RARParserDeployer state=Real
      java.lang.NoClassDefFoundError: org/jboss/resource/metadata/RARDeploymentMetaData
              at java.lang.Class.getDeclaredMethods0(Native Method)

      Caused by: java.lang.ClassNotFoundException: org.jboss.resource.metadata.RARDeploymentMetaData

       

      2010-04-26 14:45:03,795 ERROR [AbstractKernelController] Error installing to PreInstall: name=MCFClassLoaderDeployer state=Real
      java.lang.NoClassDefFoundError: org/jboss/resource/metadata/mcf/ManagedConnectionFactoryDeploymentGroup
              at java.lang.Class.getDeclaredMethods0(Native Method)

      Caused by: java.lang.ClassNotFoundException: org.jboss.resource.metadata.mcf.ManagedConnectionFactoryDeploymentGroup

       

      Many more errors... see server.log attached.

        • 1. Re: Porting from JBoss 3.2.7 to 5.1.0.GA - Startup errors
          jaikiran

          Which exact download link did you use to download 5.1.0? And which version of Java are you running it against. I ask this because, there are two different variants of JBoss AS-5. One compiled with JDK-5, which can be run against both Java 5 and Java 6 runtime. The other compiled with JDK-6 which can only be run against Java 6. Looking at those errors in the exception stacktrace, I suspect you might have downloaded the one compiled with JDK-6, but are running it against Java 5. That won't work.

          • 2. Re: Porting from JBoss 3.2.7 to 5.1.0.GA - Startup errors
            jaikiran

            Looked at your boot.log and it appears that you are using Java 6. So we can rule out the issue, I described in my previous reply.

             

            Have you done any changes to the clean JBoss AS installation? I would suggest that you first start a clean JBoss AS installation. If that succeeds that we know that it's something related to your application which is causing these issues. We can then figure out what it is.

            • 3. Re: Porting from JBoss 3.2.7 to 5.1.0.GA - Startup errors

              I successfully brought up a clean install of jboss-5.1.0.  I then dropped my EAR file in the deploy directory and got the following parsing errors.   Listings of application.xml and web.xml are below the trace listing.  Please let me know what else is needed.

               

              12:06:16,361 INFO  [ServerImpl] JBoss (Microcontainer) [5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221053)] Started in 1m:6s:193ms
              12:07:04,637 INFO  [ServletContextListener] Welcome to Seam 2.1.0.SP1
              12:07:17,172 WARN  [Component] Component class should be serializable: org.jboss.seam.ui.facelet.mockHttpSession
              12:07:17,238 WARN  [PersistentPermissionResolver] no permission store available - please install a PermissionStore with the name 'org.jboss.seam.security.jpaPermissionStore' if persistent permissions
              are required.
              12:10:43,650 INFO  [BootstrapAction] Initializing Administration Console v1.2.0.GA...
              12:10:45,774 WARN  [SystemInfoFactory] System info API not accessible on this platform (native shared library not found in java.library.path).
              12:10:45,980 INFO  [PluginContainerResourceManager] Discovering Resources...
              12:10:47,386 WARN  [AbstractManagedObjectPopulator] Cannot create String name from non-Simple property: ManagedProperty{JNDIName,JNDIName,metaType=SimpleMetaType:java.lang.String}, value=null
              12:10:47,400 WARN  [AbstractManagedObjectPopulator] Cannot create String name from non-Simple property: ManagedProperty{JNDIName,JNDIName,metaType=SimpleMetaType:java.lang.String}, value=null
              12:11:40,131 INFO  [Version] Hibernate Validator 3.1.0.GA
              12:11:40,150 INFO  [Version] Hibernate Commons Annotations 3.1.0.GA
              12:26:50,848 WARN  [HDScanner] Scan failed
              org.jboss.deployers.spi.DeploymentException: Exception determining structure: AbstractVFSDeployment(safariview.ear)
                      at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
                      at org.jboss.deployers.structure.spi.helpers.AbstractStructuralDeployers.determineStructure(AbstractStructuralDeployers.java:85)
                      at org.jboss.deployers.plugins.main.MainDeployerImpl.determineStructure(MainDeployerImpl.java:1004)
                      at org.jboss.deployers.plugins.main.MainDeployerImpl.determineDeploymentContext(MainDeployerImpl.java:440)
                      at org.jboss.deployers.plugins.main.MainDeployerImpl.addDeployment(MainDeployerImpl.java:390)
                      at org.jboss.deployers.plugins.main.MainDeployerImpl.addDeployment(MainDeployerImpl.java:300)
                      at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.addDeployment(MainDeployerAdapter.java:86)
                      at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:344)
                      at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:255)
                      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: Error determining structure: safariview.ear
                      at org.jboss.deployment.EARStructure.determineStructure(EARStructure.java:293)
                      at org.jboss.deployers.vfs.plugins.structure.StructureDeployerWrapper.determineStructure(StructureDeployerWrapper.java:73)
                      at org.jboss.deployers.vfs.plugins.structure.VFSStructuralDeployersImpl.doDetermineStructure(VFSStructuralDeployersImpl.java:196)
                      at org.jboss.deployers.vfs.plugins.structure.VFSStructuralDeployersImpl.determineStructure(VFSStructuralDeployersImpl.java:221)
                      at org.jboss.deployers.structure.spi.helpers.AbstractStructuralDeployers.determineStructure(AbstractStructuralDeployers.java:77)
                      ... 16 more
              Caused by: java.lang.RuntimeException: safariview.wsr module listed in application.xml is not a recognized deployment, .ear: safariview.ear
                      at org.jboss.deployment.EARStructure.determineStructure(EARStructure.java:277)
                      ... 20 more
              12:31:12,081 ERROR [AbstractKernelController] Error installing to Parse: name=vfszip:/C:/jboss-5.1.0.GA/server/default/deploy/safariview.ear/ state=Not Installed mode=Manual requiredState=Parse
              org.jboss.deployers.spi.DeploymentException: Error creating managed object for vfszip:/C:/jboss-5.1.0.GA/server/default/deploy/safariview.ear/safariview.war/
                      at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
                      at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:362)
                      at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:322)
                      at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:294)
                      at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.deploy(AbstractParsingDeployerWithOutput.java:234)
                      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.hotdeploy.HDScanner.scan(HDScanner.java:362)
                      at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:255)
                      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: org.jboss.xb.binding.JBossXBException: Failed to parse source: cvc-complex-type.2.4.a: Invalid content was found starting with element 'taglib'. One of '{"http://java.sun.com/xml/ns/javaee"
              :description, "http://java.sun.com/xml/ns/javaee":display-name, "http://java.sun.com/xml/ns/javaee":icon, "http://java.sun.com/xml/ns/javaee":distributable, "http://java.sun.com/xml/ns/javaee":context
              -param, "http://java.sun.com/xml/ns/javaee":filter, "http://java.sun.com/xml/ns/javaee":filter-mapping, "http://java.sun.com/xml/ns/javaee":listener, "http://java.sun.com/xml/ns/javaee":servlet, "http
              ://java.sun.com/xml/ns/javaee":servlet-mapping, "http://java.sun.com/xml/ns/javaee":session-config, "http://java.sun.com/xml/ns/javaee":mime-mapping, "http://java.sun.com/xml/ns/javaee":welcome-file-l
              ist, "http://java.sun.com/xml/ns/javaee":error-page, "http://java.sun.com/xml/ns/javaee":jsp-config, "http://java.sun.com/xml/ns/javaee":security-constraint, "http://java.sun.com/xml/ns/javaee":login-
              config, "http://java.sun.com/xml/ns/javaee":security-role, "http://java.sun.com/xml/ns/javaee":env-entry, "http://java.sun.com/xml/ns/javaee":ejb-ref, "http://java.sun.com/xml/ns/javaee":ejb-local-ref
              , "http://java.sun.com/xml/ns/javaee":service-ref, "http://java.sun.com/xml/ns/javaee":resource-ref, "http://java.sun.com/xml/ns/javaee":resource-env-ref, "http://java.sun.com/xml/ns/javaee":message-d
              estination-ref, "http://java.sun.com/xml/ns/javaee":persistence-context-ref, "http://java.sun.com/xml/ns/javaee":persistence-unit-ref, "http://java.sun.com/xml/ns/javaee":post-construct, "http://java.
              sun.com/xml/ns/javaee":pre-destroy, "http://java.sun.com/xml/ns/javaee":message-destination, "http://java.sun.com/xml/ns/javaee":locale-encoding-mapping-list}' is expected. @ vfszip:/C:/jboss-5.1.0.GA
              /server/default/deploy/safariview.ear/safariview.war/WEB-INF/web.xml[143,11]
                      at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:203)
                      at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:168)
                      at org.jboss.xb.util.JBossXBHelper.parse(JBossXBHelper.java:189)
                      at org.jboss.xb.util.JBossXBHelper.parse(JBossXBHelper.java:166)
                      at org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(SchemaResolverDeployer.java:137)
                      at org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(SchemaResolverDeployer.java:121)
                      at org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.parseAndInit(AbstractVFSParsingDeployer.java:256)
                      at org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.parse(AbstractVFSParsingDeployer.java:188)
                      at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:348)
                      ... 29 more
              Caused by: org.xml.sax.SAXException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'taglib'. One of '{"http://java.sun.com/xml/ns/javaee":description, "http://java.sun.com/xm
              l/ns/javaee":display-name, "http://java.sun.com/xml/ns/javaee":icon, "http://java.sun.com/xml/ns/javaee":distributable, "http://java.sun.com/xml/ns/javaee":context-param, "http://java.sun.com/xml/ns/j
              avaee":filter, "http://java.sun.com/xml/ns/javaee":filter-mapping, "http://java.sun.com/xml/ns/javaee":listener, "http://java.sun.com/xml/ns/javaee":servlet, "http://java.sun.com/xml/ns/javaee":servle
              t-mapping, "http://java.sun.com/xml/ns/javaee":session-config, "http://java.sun.com/xml/ns/javaee":mime-mapping, "http://java.sun.com/xml/ns/javaee":welcome-file-list, "http://java.sun.com/xml/ns/java
              ee":error-page, "http://java.sun.com/xml/ns/javaee":jsp-config, "http://java.sun.com/xml/ns/javaee":security-constraint, "http://java.sun.com/xml/ns/javaee":login-config, "http://java.sun.com/xml/ns/j
              avaee":security-role, "http://java.sun.com/xml/ns/javaee":env-entry, "http://java.sun.com/xml/ns/javaee":ejb-ref, "http://java.sun.com/xml/ns/javaee":ejb-local-ref, "http://java.sun.com/xml/ns/javaee"
              :service-ref, "http://java.sun.com/xml/ns/javaee":resource-ref, "http://java.sun.com/xml/ns/javaee":resource-env-ref, "http://java.sun.com/xml/ns/javaee":message-destination-ref, "http://java.sun.com/
              xml/ns/javaee":persistence-context-ref, "http://java.sun.com/xml/ns/javaee":persistence-unit-ref, "http://java.sun.com/xml/ns/javaee":post-construct, "http://java.sun.com/xml/ns/javaee":pre-destroy, "
              http://java.sun.com/xml/ns/javaee":message-destination, "http://java.sun.com/xml/ns/javaee":locale-encoding-mapping-list}' is expected. @ vfszip:/C:/jboss-5.1.0.GA/server/default/deploy/safariview.ear
              /safariview.war/WEB-INF/web.xml[143,11]
                      at org.jboss.xb.binding.parser.sax.SaxJBossXBParser$MetaDataErrorHandler.error(SaxJBossXBParser.java:426)
                      at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
                      at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
                      at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
                      at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
                      at org.apache.xerces.impl.xs.XMLSchemaValidator$XSIErrorReporter.reportError(Unknown Source)
                      at org.apache.xerces.impl.xs.XMLSchemaValidator.reportSchemaError(Unknown Source)
                      at org.apache.xerces.impl.xs.XMLSchemaValidator.handleStartElement(Unknown Source)
                      at org.apache.xerces.impl.xs.XMLSchemaValidator.startElement(Unknown Source)
                      at org.apache.xerces.xinclude.XIncludeHandler.startElement(Unknown Source)
                      at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
                      at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
                      at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
                      at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
                      at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
                      at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
                      at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
                      at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
                      at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:199)
                      ... 37 more
              12:31:12,360 WARN  [HDScanner] Failed to process changes
              org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

               

              *** DEPLOYMENTS IN ERROR: Name -> Error

               

              vfszip:/C:/jboss-5.1.0.GA/server/default/deploy/safariview.ear/ -> org.jboss.deployers.spi.DeploymentException: Error creating managed object for vfszip:/C:/jboss-5.1.0.GA/server/default/deploy/safari
              view.ear/safariview.war/

               


              DEPLOYMENTS IN ERROR:
                Deployment "vfszip:/C:/jboss-5.1.0.GA/server/default/deploy/safariview.ear/" is in error due to the following reason(s): org.xml.sax.SAXException: cvc-complex-type.2.4.a: Invalid content was found s
              tarting with element 'taglib'. One of '{"http://java.sun.com/xml/ns/javaee":description, "http://java.sun.com/xml/ns/javaee":display-name, "http://java.sun.com/xml/ns/javaee":icon, "http://java.sun.co
              m/xml/ns/javaee":distributable, "http://java.sun.com/xml/ns/javaee":context-param, "http://java.sun.com/xml/ns/javaee":filter, "http://java.sun.com/xml/ns/javaee":filter-mapping, "http://java.sun.com/
              xml/ns/javaee":listener, "http://java.sun.com/xml/ns/javaee":servlet, "http://java.sun.com/xml/ns/javaee":servlet-mapping, "http://java.sun.com/xml/ns/javaee":session-config, "http://java.sun.com/xml/
              ns/javaee":mime-mapping, "http://java.sun.com/xml/ns/javaee":welcome-file-list, "http://java.sun.com/xml/ns/javaee":error-page, "http://java.sun.com/xml/ns/javaee":jsp-config, "http://java.sun.com/xml
              /ns/javaee":security-constraint, "http://java.sun.com/xml/ns/javaee":login-config, "http://java.sun.com/xml/ns/javaee":security-role, "http://java.sun.com/xml/ns/javaee":env-entry, "http://java.sun.co
              m/xml/ns/javaee":ejb-ref, "http://java.sun.com/xml/ns/javaee":ejb-local-ref, "http://java.sun.com/xml/ns/javaee":service-ref, "http://java.sun.com/xml/ns/javaee":resource-ref, "http://java.sun.com/xml
              /ns/javaee":resource-env-ref, "http://java.sun.com/xml/ns/javaee":message-destination-ref, "http://java.sun.com/xml/ns/javaee":persistence-context-ref, "http://java.sun.com/xml/ns/javaee":persistence-
              unit-ref, "http://java.sun.com/xml/ns/javaee":post-construct, "http://java.sun.com/xml/ns/javaee":pre-destroy, "http://java.sun.com/xml/ns/javaee":message-destination, "http://java.sun.com/xml/ns/java
              ee":locale-encoding-mapping-list}' is expected. @ vfszip:/C:/jboss-5.1.0.GA/server/default/deploy/safariview.ear/safariview.war/WEB-INF/web.xml[143,11]

               

                      at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:993)
                      at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:939)
                      at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:873)
                      at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.checkComplete(MainDeployerAdapter.java:128)
                      at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:369)
                      at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:255)
                      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)
              12:39:49,860 WARN  [AbstractManagedObjectPopulator] Cannot create String name from non-Simple property: ManagedProperty{JNDIName,JNDIName,metaType=SimpleMetaType:java.lang.String}, value=null
              12:39:49,903 WARN  [AbstractManagedObjectPopulator] Cannot create String name from non-Simple property: ManagedProperty{JNDIName,JNDIName,metaType=SimpleMetaType:java.lang.String}, value=null

               

              Here is the listing for my application.xml...

               

              <?xml version="1.0" encoding="UTF-8"?>

              <!DOCTYPE application PUBLIC
                  "-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN"
                  "http://java.sun.com/dtd/application_1_3.dtd">


              <application>
                  <display-name>safariview</display-name>
                 <description>safariview</description>
                 <module>
                    <ejb>safariview.jar</ejb>
                 </module>
                 <!-- module>
                    <java>safariview.wsr</java>
                 </module -->
                 <module>
                    <web>
                       <web-uri>safariview.war</web-uri>
                       <context-root>/</context-root>
                   <!--context-root>safariview</context-root-->
                    </web>
                 </module>
              </application>

               

              Listing of web.xml...

               

              <web-app xmlns="http://java.sun.com/xml/ns/javaee"

                 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

                 xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"

                 version="2.5">

               

                <filter>

                   <filter-name>Https Filter</filter-name>

                   <filter-class>com.cedarpointcom.safariview2.client.HttpsFilter</filter-class>

                </filter>

                <filter>

                   <filter-name>Compress</filter-name>

                   <filter-class>com.cedarpointcom.safariview2.common.utils.SwitchableGZIPFilter</filter-class>

                </filter>

                <filter>

                   <filter-name>OSS Filter</filter-name>

                   <filter-class>com.cedarpointcom.safariview2.common.utils.OssSOAPActionFilter</filter-class>

                </filter>

               

                <filter-mapping>

                   <filter-name>Https Filter</filter-name>

                   <url-pattern>/*</url-pattern>

                </filter-mapping>

               

                <filter-mapping>

                   <filter-name>Compress</filter-name>

                   <url-pattern>*.jsp</url-pattern>

                </filter-mapping>

                <filter-mapping>

                   <filter-name>Compress</filter-name>

                   <url-pattern>*.do</url-pattern>

                </filter-mapping>

                <filter-mapping>

                   <filter-name>Compress</filter-name>

                   <url-pattern>*.html</url-pattern>

                </filter-mapping>

                <filter-mapping>

                   <filter-name>Compress</filter-name>

                   <url-pattern>*.css</url-pattern>

                </filter-mapping>

                   <!-- http://localhost:9090/servlet/services/PcspI01Service -->

                  <filter-mapping>

                       <filter-name>OSS Filter</filter-name>

                       <url-pattern>/servlet/*</url-pattern>

                  </filter-mapping>

                  <filter-mapping>

                       <filter-name>OSS Filter</filter-name>

                       <url-pattern>/axis/*</url-pattern>

                  </filter-mapping>

                  <filter-mapping>

                       <filter-name>OSS Filter</filter-name>

                       <url-pattern>/servlet/services/PcspI01Service</url-pattern>

                  </filter-mapping>

               

               

                <servlet>

                  <servlet-name>safariview</servlet-name>

                  <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>

                  <init-param>

                    <param-name>config</param-name>

                    <param-value>/WEB-INF/struts-config.xml</param-value>

                  </init-param>   

                  <load-on-startup>1</load-on-startup>

                </servlet>

               

                 <servlet>

                  <servlet-name>JBossAxisServlet</servlet-name>

                  <servlet-class>

                      org.jboss.net.axis.server.AxisServiceServlet

                  </servlet-class>

               

                  <init-param>

                      <param-name>org.jboss.net.axis.CONFIGURATION_CONTEXT</param-name>

                      <param-value>jboss.net:service=Axis</param-value>

                  </init-param>

               

                 <init-param>

                    <param-name>axis.enableListQuery</param-name>

                    <param-value>true</param-value>

                 </init-param>

               

                </servlet>

               

               

                <servlet-mapping>

                  <servlet-name>safariview</servlet-name>

                  <url-pattern>/action/*</url-pattern>

                </servlet-mapping>

               

                <servlet-mapping>

               

                  <servlet-name>safariview</servlet-name>

               

                  <url-pattern>*.do</url-pattern>

               

                </servlet-mapping>

               

              <servlet-mapping>

                  <servlet-name>JBossAxisServlet</servlet-name>

                  <url-pattern>/axis/*</url-pattern>

                </servlet-mapping>

               

                <servlet-mapping>

                  <servlet-name>JBossAxisServlet</servlet-name>

                  <url-pattern>/servlet/*</url-pattern>

                </servlet-mapping>

               

               

                <welcome-file-list>

                  <welcome-file>login.jsp</welcome-file>

                </welcome-file-list>

               

                  <error-page>

                      <error-code>500</error-code>

                      <location>/error.jsp</location>

                  </error-page>

               

               

                <taglib>

                  <taglib-uri>/WEB-INF/struts-html.tld</taglib-uri>

                  <taglib-location>/WEB-INF/struts-html.tld</taglib-location>

                </taglib>

               

                <taglib>

                  <taglib-uri>/WEB-INF/struts-bean.tld</taglib-uri>

                  <taglib-location>/WEB-INF/struts-bean.tld</taglib-location>

                </taglib>

               

                <taglib>

                  <taglib-uri>/WEB-INF/struts-logic.tld</taglib-uri>

                  <taglib-location>/WEB-INF/struts-logic.tld</taglib-location>

                </taglib>

               

                <taglib>

                  <taglib-uri>/WEB-INF/struts-html-el.tld</taglib-uri>

                  <taglib-location>/WEB-INF/struts-html-el.tld</taglib-location>

                </taglib>

               

                <taglib>

                  <taglib-uri>/WEB-INF/struts-bean-el.tld</taglib-uri>

                  <taglib-location>/WEB-INF/struts-bean-el.tld</taglib-location>

                </taglib>

               

                <taglib>

                  <taglib-uri>/WEB-INF/struts-logic-el.tld</taglib-uri>

                  <taglib-location>/WEB-INF/struts-logic-el.tld</taglib-location>

                </taglib>

               

                <taglib>

                  <taglib-uri>/WEB-INF/c.tld</taglib-uri>

                  <taglib-location>/WEB-INF/c.tld</taglib-location>

                </taglib>

               

                <taglib>

                  <taglib-uri>/WEB-INF/c-rt.tld</taglib-uri>

                  <taglib-location>/WEB-INF/c-rt.tld</taglib-location>

                </taglib>

               

              </web-app>

              • 4. Re: Porting from JBoss 3.2.7 to 5.1.0.GA - Startup errors

                I was able to get past the errors caused by the web.xml file in my previous post by pointing back to the 2.3 DTD file.  I had changed the pointer at the top to refer to the 2.5 XSD.  I'm unsure if this was the right thing to do.

                 

                Now I'm getting the following errors when referencing the ejb-jar.xml file.  I've attached this file so that you may see line numbers, but it appears that the format is following the dtd with respect to each of the ejb-local-ref elements in this file.  I think it is dying on the first one it encounters (lines 23-29).

                 

                Calling C:\jboss-5.1.0.GA\bin\run.conf.bat
                ===============================================================================

                 

                  JBoss Bootstrap Environment

                 

                  JBOSS_HOME: C:\jboss-5.1.0.GA

                 

                  JAVA: c:\jdk1.6.0_20\bin\java

                 

                  JAVA_OPTS: -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 -server

                 

                  CLASSPATH: C:\jboss-5.1.0.GA\bin\run.jar

                 

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

                 

                16:23:53,748 INFO  [ServerImpl] Starting JBoss (Microcontainer)...
                16:23:53,749 INFO  [ServerImpl] Release ID: JBoss [The Oracle] 5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221053)
                16:23:53,750 INFO  [ServerImpl] Bootstrap URL: null
                16:23:53,750 INFO  [ServerImpl] Home Dir: C:\jboss-5.1.0.GA
                16:23:53,750 INFO  [ServerImpl] Home URL: file:/C:/jboss-5.1.0.GA/
                16:23:53,750 INFO  [ServerImpl] Library URL: file:/C:/jboss-5.1.0.GA/lib/
                16:23:53,751 INFO  [ServerImpl] Patch URL: null
                16:23:53,752 INFO  [ServerImpl] Common Base URL: file:/C:/jboss-5.1.0.GA/common/
                16:23:53,752 INFO  [ServerImpl] Common Library URL: file:/C:/jboss-5.1.0.GA/common/lib/
                16:23:53,752 INFO  [ServerImpl] Server Name: default
                16:23:53,752 INFO  [ServerImpl] Server Base Dir: C:\jboss-5.1.0.GA\server
                16:23:53,753 INFO  [ServerImpl] Server Base URL: file:/C:/jboss-5.1.0.GA/server/
                16:23:53,753 INFO  [ServerImpl] Server Config URL: file:/C:/jboss-5.1.0.GA/server/default/conf/
                16:23:53,753 INFO  [ServerImpl] Server Home Dir: C:\jboss-5.1.0.GA\server\default
                16:23:53,754 INFO  [ServerImpl] Server Home URL: file:/C:/jboss-5.1.0.GA/server/default/
                16:23:53,754 INFO  [ServerImpl] Server Data Dir: C:\jboss-5.1.0.GA\server\default\data
                16:23:53,755 INFO  [ServerImpl] Server Library URL: file:/C:/jboss-5.1.0.GA/server/default/lib/
                16:23:53,755 INFO  [ServerImpl] Server Log Dir: C:\jboss-5.1.0.GA\server\default\log
                16:23:53,755 INFO  [ServerImpl] Server Native Dir: C:\jboss-5.1.0.GA\server\default\tmp\native
                16:23:53,755 INFO  [ServerImpl] Server Temp Dir: C:\jboss-5.1.0.GA\server\default\tmp
                16:23:53,756 INFO  [ServerImpl] Server Temp Deploy Dir: C:\jboss-5.1.0.GA\server\default\tmp\deploy
                16:23:54,499 INFO  [ServerImpl] Starting Microcontainer, bootstrapURL=file:/C:/jboss-5.1.0.GA/server/default/conf/bootstrap.xml
                16:23:55,165 INFO  [VFSCacheFactory] Initializing VFSCache [org.jboss.virtual.plugins.cache.CombinedVFSCache]
                16:23:55,168 INFO  [VFSCacheFactory] Using VFSCache [CombinedVFSCache[real-cache: null]]
                16:23:55,483 INFO  [CopyMechanism] VFS temp dir: C:\jboss-5.1.0.GA\server\default\tmp
                16:23:55,546 INFO  [ZipEntryContext] VFS force nested jars copy-mode is enabled.
                16:23:57,238 INFO  [ServerInfo] Java version: 1.6.0_20,Sun Microsystems Inc.
                16:23:57,242 INFO  [ServerInfo] Java Runtime: Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
                16:23:57,247 INFO  [ServerInfo] Java VM: Java HotSpot(TM) 64-Bit Server VM 16.3-b01,Sun Microsystems Inc.
                16:23:57,250 INFO  [ServerInfo] OS-System: Windows 7 6.1,amd64
                16:23:57,254 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:\jboss-5.1.0.GA\lib\endorsed
                16:23:57,304 INFO  [JMXKernel] Legacy JMX core initialized
                16:24:00,363 INFO  [ProfileServiceBootstrap] Loading profile: ProfileKey@69c5a33b[domain=default, server=default, name=default]
                16:24:02,369 INFO  [WebService] Using RMI server codebase: http://127.0.0.1:8083/
                16:24:10,965 INFO  [NativeServerConfig] JBoss Web Services - Stack Native Core
                16:24:10,969 INFO  [NativeServerConfig] 3.1.2.GA
                16:24:11,886 INFO  [AttributeCallbackItem] Owner callback not implemented.
                16:24:13,128 INFO  [LogNotificationListener] Adding notification listener for logging mbean "jboss.system:service=Logging,type=Log4jService" to server org.jboss.mx.server.MBeanServerImpl@7041a12f[ def
                aultDomain='jboss' ]
                16:24:20,637 ERROR [AbstractKernelController] Error installing to Parse: name=vfszip:/C:/jboss-5.1.0.GA/server/default/deploy/safariview.ear/ state=Not Installed mode=Manual requiredState=Parse
                org.jboss.deployers.spi.DeploymentException: Error creating managed object for vfszip:/C:/jboss-5.1.0.GA/server/default/deploy/safariview.ear/safariview.jar/
                        at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
                        at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:362)
                        at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:322)
                        at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:294)
                        at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.deploy(AbstractParsingDeployerWithOutput.java:234)
                        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:619)
                Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: The content of element type "ejb-local-ref" must match "(description?,ejb-ref-name,ejb-ref-type,local-home,local,ejb-link?)".
                @ vfszip:/C:/jboss-5.1.0.GA/server/default/deploy/safariview.ear/safariview.jar/META-INF/ejb-jar.xml[29,23]

                        at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:203)
                        at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:168)
                        at org.jboss.xb.util.JBossXBHelper.parse(JBossXBHelper.java:189)
                        at org.jboss.xb.util.JBossXBHelper.parse(JBossXBHelper.java:166)
                        at org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(SchemaResolverDeployer.java:137)
                        at org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(SchemaResolverDeployer.java:121)
                        at org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.parseAndInit(AbstractVFSParsingDeployer.java:256)
                        at org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.parse(AbstractVFSParsingDeployer.java:188)
                        at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:348)
                        ... 34 more
                Caused by: org.xml.sax.SAXException: The content of element type "ejb-local-ref" must match "(description?,ejb-ref-name,ejb-ref-type,local-home,local,ejb-link?)". @ vfszip:/C:/jboss-5.1.0.GA/server/default/deploy/safariview.ear/safariview.jar/META-INF/ejb-jar.xml[29,23]
                        at org.jboss.xb.binding.parser.sax.SaxJBossXBParser$MetaDataErrorHandler.error(SaxJBossXBParser.java:426)
                        at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
                        at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
                        at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
                        at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
                        at org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(Unknown Source)
                        at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown Source)
                        at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
                        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
                        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
                        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
                        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
                        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
                        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
                        at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
                        at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:199)
                        ... 42 more
                16:24:30,397 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@2055816879{vfsfile:/C:/jboss-5.1.0.GA/server/default/deploy/profileservice-secured.jar/}
                16:24:30,403 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@2055816879{vfsfile:/C:/jboss-5.1.0.GA/server/default/deploy/profileservice-secured.jar/}
                16:24:30,406 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@2055816879{vfsfile:/C:/jboss-5.1.0.GA/server/default/deploy/profileservice-secured.jar/}
                16:24:30,409 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@2055816879{vfsfile:/C:/jboss-5.1.0.GA/server/default/deploy/profileservice-secured.jar/}
                16:24:33,800 INFO  [JMXConnectorServerService] JMX Connector server: service:jmx:rmi://127.0.0.1/jndi/rmi://127.0.0.1:1090/jmxconnector
                16:24:33,971 INFO  [MailService] Mail Service bound to java:/Mail
                16:24:37,869 WARN  [JBossASSecurityMetadataStore] WARNING! POTENTIAL SECURITY RISK. It has been detected that the MessageSucker component which sucks messages from one node to another has not had its
                password changed from the installation default. Please see the JBoss Messaging user guide for instructions on how to do this.
                16:24:37,915 WARN  [AnnotationCreator] No ClassLoader provided, using TCCL: org.jboss.managed.api.annotation.ManagementComponent
                16:24:38,037 WARN  [AnnotationCreator] No ClassLoader provided, using TCCL: org.jboss.managed.api.annotation.ManagementComponent
                16:24:38,286 INFO  [TransactionManagerService] JBossTS Transaction Service (JTA version - tag:JBOSSTS_4_6_1_GA) - JBoss Inc.
                16:24:38,289 INFO  [TransactionManagerService] Setting up property manager MBean and JMX layer
                16:24:38,730 INFO  [TransactionManagerService] Initializing recovery manager
                16:24:38,991 INFO  [TransactionManagerService] Recovery manager configured
                16:24:39,000 INFO  [TransactionManagerService] Binding TransactionManager JNDI Reference
                16:24:39,051 INFO  [TransactionManagerService] Starting transaction recovery manager
                16:24:40,221 INFO  [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: c:\jdk1.6.0_20\bin;.;C:\W
                indows\Sun\Java\bin;C:\Windows\system32;C:\Windows;c:\apache-ant-1.8.0\bin;c:\jdk1.6.0_20\bin;C:\Program Files (x86)\Common Files\NetSarang;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\W
                indows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Windows Imaging\;C:\Program Files (x86)\IBM\RationalSDLC\ClearCase\bin;C:\Program Files (x86)\IBM\RationalSDLC\common;C:\Windows\SUA\comm
                on\;C:\Windows\SUA\usr\lib;c:\bats;c:\SUAaux\bin;C:\Program Files (x86)\GnuWin32\bin;X:\NT\bin;C:\Perl\bin
                16:24:40,510 INFO  [Http11Protocol] Initializing Coyote HTTP/1.1 on http-127.0.0.1-8080
                16:24:40,584 INFO  [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-127.0.0.1-8009
                16:24:40,623 INFO  [StandardService] Starting service jboss.web
                16:24:40,631 INFO  [StandardEngine] Starting Servlet Engine: JBoss Web/2.1.3.GA
                16:24:40,892 INFO  [Catalina] Server startup in 305 ms
                16:24:40,924 INFO  [TomcatDeployment] deploy, ctxPath=/web-console
                16:24:42,172 INFO  [TomcatDeployment] deploy, ctxPath=/invoker
                16:24:42,309 INFO  [TomcatDeployment] deploy, ctxPath=/jbossws
                16:24:42,516 INFO  [RARDeployment] Required license terms exist, view vfszip:/C:/jboss-5.1.0.GA/server/default/deploy/jboss-local-jdbc.rar/META-INF/ra.xml
                16:24:42,543 INFO  [RARDeployment] Required license terms exist, view vfszip:/C:/jboss-5.1.0.GA/server/default/deploy/jboss-xa-jdbc.rar/META-INF/ra.xml
                16:24:42,578 INFO  [RARDeployment] Required license terms exist, view vfszip:/C:/jboss-5.1.0.GA/server/default/deploy/jms-ra.rar/META-INF/ra.xml
                16:24:42,615 INFO  [RARDeployment] Required license terms exist, view vfszip:/C:/jboss-5.1.0.GA/server/default/deploy/mail-ra.rar/META-INF/ra.xml
                16:24:42,649 INFO  [RARDeployment] Required license terms exist, view vfszip:/C:/jboss-5.1.0.GA/server/default/deploy/quartz-ra.rar/META-INF/ra.xml
                16:24:42,837 INFO  [SimpleThreadPool] Job execution threads will use class loader of thread: main
                16:24:42,885 INFO  [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
                16:24:42,896 INFO  [RAMJobStore] RAMJobStore initialized.
                16:24:42,900 INFO  [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
                16:24:42,903 INFO  [StdSchedulerFactory] Quartz scheduler version: 1.5.2
                16:24:42,910 INFO  [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
                16:24:45,058 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
                16:24:45,723 INFO  [ServerPeer] JBoss Messaging 1.4.3.GA server [0] started
                16:24:45,944 INFO  [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds
                16:24:45,948 INFO  [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@133d9211 started
                16:24:45,974 INFO  [QueueService] Queue[/queue/ExpiryQueue] started, fullSize=200000, pageSize=2000, downCacheSize=2000
                16:24:45,978 INFO  [ConnectionFactoryJNDIMapper] supportsFailover attribute is true on connection factory: jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but post office is non c
                lustered. So connection factory will *not* support failover
                16:24:45,983 INFO  [ConnectionFactoryJNDIMapper] supportsLoadBalancing attribute is true on connection factory: jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but post office is
                non clustered. So connection factory will *not* support load balancing
                16:24:45,993 INFO  [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds
                16:24:45,996 INFO  [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@53b97d73 started
                16:24:46,002 INFO  [QueueService] Queue[/queue/DLQ] started, fullSize=200000, pageSize=2000, downCacheSize=2000
                16:24:46,007 INFO  [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds
                16:24:46,010 INFO  [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@4a9c2dae started
                16:24:46,332 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
                16:24:46,884 INFO  [JBossASKernel] Created KernelDeployment for: profileservice-secured.jar
                16:24:46,895 INFO  [JBossASKernel] installing bean: jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3
                16:24:46,899 INFO  [JBossASKernel]   with dependencies:
                16:24:46,905 INFO  [JBossASKernel]   and demands:
                16:24:46,910 INFO  [JBossASKernel]      jndi:SecureManagementView/remote-org.jboss.deployers.spi.management.ManagementView
                16:24:46,918 INFO  [JBossASKernel]      jboss.ejb:service=EJBTimerService
                16:24:46,921 INFO  [JBossASKernel]   and supplies:
                16:24:46,925 INFO  [JBossASKernel]      Class:org.jboss.profileservice.spi.ProfileService
                16:24:46,928 INFO  [JBossASKernel]      jndi:SecureProfileService/remote
                16:24:46,932 INFO  [JBossASKernel]      jndi:SecureProfileService/remote-org.jboss.profileservice.spi.ProfileService
                16:24:46,936 INFO  [JBossASKernel] Added bean(jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3) to KernelDeployment of: profileservice-secured.jar
                16:24:46,941 INFO  [JBossASKernel] installing bean: jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3
                16:24:46,945 INFO  [JBossASKernel]   with dependencies:
                16:24:46,949 INFO  [JBossASKernel]   and demands:
                16:24:46,952 INFO  [JBossASKernel]      jboss.ejb:service=EJBTimerService
                16:24:46,956 INFO  [JBossASKernel]   and supplies:
                16:24:46,960 INFO  [JBossASKernel]      jndi:SecureDeploymentManager/remote-org.jboss.deployers.spi.management.deploy.DeploymentManager
                16:24:46,963 INFO  [JBossASKernel]      Class:org.jboss.deployers.spi.management.deploy.DeploymentManager
                16:24:46,968 INFO  [JBossASKernel]      jndi:SecureDeploymentManager/remote
                16:24:46,973 INFO  [JBossASKernel] Added bean(jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3) to KernelDeployment of: profileservice-secured.jar
                16:24:46,977 INFO  [JBossASKernel] installing bean: jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3
                16:24:46,981 INFO  [JBossASKernel]   with dependencies:
                16:24:46,988 INFO  [JBossASKernel]   and demands:
                16:24:46,992 INFO  [JBossASKernel]      jboss.ejb:service=EJBTimerService
                16:24:46,996 INFO  [JBossASKernel]   and supplies:
                16:24:47,000 INFO  [JBossASKernel]      jndi:SecureManagementView/remote-org.jboss.deployers.spi.management.ManagementView
                16:24:47,006 INFO  [JBossASKernel]      Class:org.jboss.deployers.spi.management.ManagementView
                16:24:47,009 INFO  [JBossASKernel]      jndi:SecureManagementView/remote
                16:24:47,013 INFO  [JBossASKernel] Added bean(jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3) to KernelDeployment of: profileservice-secured.jar
                16:24:47,027 INFO  [EJB3EndpointDeployer] Deploy AbstractBeanMetaData@12567513{name=jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3_endpoint bean=org.jboss.ejb3.endpoi
                nt.deployers.impl.EndpointImpl properties=[container] constructor=null autowireCandidate=true}
                16:24:47,034 INFO  [EJB3EndpointDeployer] Deploy AbstractBeanMetaData@6a360482{name=jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3_endpoint bean=org.jboss.ejb3.end
                point.deployers.impl.EndpointImpl properties=[container] constructor=null autowireCandidate=true}
                16:24:47,044 INFO  [EJB3EndpointDeployer] Deploy AbstractBeanMetaData@2c84362a{name=jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3_endpoint bean=org.jboss.ejb3.endpoi
                nt.deployers.impl.EndpointImpl properties=[container] constructor=null autowireCandidate=true}
                16:24:47,413 INFO  [SessionSpecContainer] Starting jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3
                16:24:47,430 INFO  [EJBContainer] STARTED EJB: org.jboss.profileservice.ejb.SecureDeploymentManager ejbName: SecureDeploymentManager
                16:24:47,528 INFO  [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:

                 

                        SecureDeploymentManager/remote - EJB3.x Default Remote Business Interface
                        SecureDeploymentManager/remote-org.jboss.deployers.spi.management.deploy.DeploymentManager - EJB3.x Remote Business Interface

                 

                16:24:47,751 INFO  [SessionSpecContainer] Starting jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3
                16:24:47,783 INFO  [EJBContainer] STARTED EJB: org.jboss.profileservice.ejb.SecureManagementView ejbName: SecureManagementView
                16:24:47,806 INFO  [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:

                 

                        SecureManagementView/remote - EJB3.x Default Remote Business Interface
                        SecureManagementView/remote-org.jboss.deployers.spi.management.ManagementView - EJB3.x Remote Business Interface

                 

                16:24:47,911 INFO  [SessionSpecContainer] Starting jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3
                16:24:47,928 INFO  [EJBContainer] STARTED EJB: org.jboss.profileservice.ejb.SecureProfileServiceBean ejbName: SecureProfileService
                16:24:47,951 INFO  [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:

                 

                        SecureProfileService/remote - EJB3.x Default Remote Business Interface
                        SecureProfileService/remote-org.jboss.profileservice.spi.ProfileService - EJB3.x Remote Business Interface

                 

                16:24:48,238 INFO  [TomcatDeployment] deploy, ctxPath=/admin-console
                16:24:48,475 INFO  [config] Initializing Mojarra (1.2_12-b01-FCS) for context '/admin-console'
                16:24:52,521 INFO  [TomcatDeployment] deploy, ctxPath=/
                16:24:52,625 INFO  [TomcatDeployment] deploy, ctxPath=/jmx-console
                16:24:52,730 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

                 

                DEPLOYMENTS IN ERROR:
                  Deployment "vfszip:/C:/jboss-5.1.0.GA/server/default/deploy/safariview.ear/" is in error due to the following reason(s): org.xml.sax.SAXException: The content of element type "ejb-local-ref" must match "(description?,ejb-ref-name,ejb-ref-type,local-home,local,ejb-link?)". @ vfszip:/C:/jboss-5.1.0.GA/server/default/deploy/safariview.ear/safariview.jar/META-INF/ejb-jar.xml[29,23]

                 

                16:24:52,773 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080
                16:24:52,855 INFO  [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
                16:24:52,876 INFO  [ServerImpl] JBoss (Microcontainer) [5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221053)] Started in 59s:118ms

                 

                **************************************************

                ejb-jar.xml file contents...

                 

                <?xml version="1.0" encoding="UTF-8"?>

                <!DOCTYPE ejb-jar PUBLIC

                '-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN'

                'http://java.sun.com/dtd/ejb-jar_2_0.dtd'>

                 

                <ejb-jar>

                  <enterprise-beans>

                 

                    <session>

                      <ejb-name>RequestManager</ejb-name>

                      <home>com.cedarpointcom.safariview2.common.RequestManagerHome</home>

                      <remote>com.cedarpointcom.safariview2.common.RequestManager</remote>

                      <local-home>com.cedarpointcom.safariview2.common.RequestManagerHomeLocal</local-home>

                      <local>com.cedarpointcom.safariview2.common.RequestManagerLocal</local>

                      <ejb-class>com.cedarpointcom.safariview2.server.RequestManagerEJB</ejb-class>

                      <session-type>Stateless</session-type>

                      <transaction-type>Container</transaction-type>

                      <env-entry>

                        <env-entry-name>root</env-entry-name>

                        <env-entry-type>java.lang.String</env-entry-type>

                        <env-entry-value>public</env-entry-value>

                      </env-entry>

                      <ejb-local-ref>                                                                              <!-- LINE 23 -->

                        <ejb-ref-name>ejb/DeviceManagerLocal</ejb-ref-name>

                        <ejb-ref-type>Session</ejb-ref-type>

                        <ejb-link>DeviceManager</ejb-link>

                        <local-home>com.cedarpointcom.safariview2.server.deviceManagement.DeviceManagerHomeLocal</local-home>

                        <local>com.cedarpointcom.safariview2.server.deviceManagement.DeviceManagerLocal</local>

                      </ejb-local-ref>                                                                             <!-- LINE 29 -->

                      <ejb-local-ref>

                        <ejb-ref-name>ejb/ConfigManagerLocal</ejb-ref-name>

                        <ejb-ref-type>Session</ejb-ref-type>

                        <ejb-link>ConfigManager</ejb-link>

                        <local-home>com.cedarpointcom.safariview2.server.config.ConfigManagerHomeLocal</local-home>

                        <local>com.cedarpointcom.safariview2.server.config.ConfigManagerLocal</local>

                      </ejb-local-ref>

                      <ejb-local-ref>

                        <ejb-ref-name>ejb/SecurityManagerLocal</ejb-ref-name>

                        <ejb-ref-type>Session</ejb-ref-type>

                        <ejb-link>SecurityManager</ejb-link>

                        <local-home>com.cedarpointcom.safariview2.server.security.SecurityManagerHomeLocal</local-home>

                        <local>com.cedarpointcom.safariview2.server.security.SecurityManagerLocal</local>

                      </ejb-local-ref>

                      <ejb-local-ref>

                        <ejb-ref-name>ejb/AlarmManagerLocal</ejb-ref-name>

                        <ejb-ref-type>Session</ejb-ref-type>

                        <ejb-link>AlarmManager</ejb-link>

                        <local-home>com.cedarpointcom.safariview2.server.alarms.AlarmManagerHomeLocal</local-home>

                        <local>com.cedarpointcom.safariview2.server.alarms.AlarmManagerLocal</local>

                      </ejb-local-ref>

                      <ejb-local-ref>

                        <ejb-ref-name>ejb/ArchiveManagerLocal</ejb-ref-name>

                        <ejb-ref-type>Session</ejb-ref-type>

                        <ejb-link>ArchiveManager</ejb-link>

                        <local-home>com.cedarpointcom.safariview2.server.dbarchive.ArchiveManagerHomeLocal</local-home>

                        <local>com.cedarpointcom.safariview2.server.dbarchive.ArchiveManagerLocal</local>

                      </ejb-local-ref>

                      <ejb-local-ref>

                        <ejb-ref-name>ejb/EventManagerLocal</ejb-ref-name>

                        <ejb-ref-type>Session</ejb-ref-type>

                        <ejb-link>EventManager</ejb-link>

                        <local-home>com.cedarpointcom.safariview2.server.events.EventManagerHomeLocal</local-home>

                        <local>com.cedarpointcom.safariview2.server.events.EventManagerLocal</local>

                      </ejb-local-ref>

                      <ejb-local-ref>

                        <ejb-ref-name>ejb/EMSAdminManagerLocal</ejb-ref-name>

                        <ejb-ref-type>Session</ejb-ref-type>

                        <ejb-link>EMSAdminManager</ejb-link>

                        <local-home>com.cedarpointcom.safariview2.server.emsadmin.EMSAdminManagerHomeLocal</local-home>

                        <local>com.cedarpointcom.safariview2.server.emsadmin.EMSAdminManagerLocal</local>

                      </ejb-local-ref>

                      <ejb-local-ref>

                        <ejb-ref-name>ejb/CapacityPlanManagerLocal</ejb-ref-name>

                        <ejb-ref-type>Session</ejb-ref-type>

                        <ejb-link>CapacityPlanManager</ejb-link>

                        <local-home>com.cedarpointcom.safariview2.server.capplan.CapacityPlanManagerHomeLocal</local-home>

                        <local>com.cedarpointcom.safariview2.server.capplan.CapacityPlanManagerLocal</local>

                      </ejb-local-ref>

                      <ejb-local-ref>

                        <ejb-ref-name>ejb/PerfStatsManagerLocal</ejb-ref-name>

                        <ejb-ref-type>Session</ejb-ref-type>

                        <ejb-link>PerfStatsManager</ejb-link>

                        <local-home>com.cedarpointcom.safariview2.server.performance.PerfStatsManagerHomeLocal</local-home>

                        <local>com.cedarpointcom.safariview2.server.performance.PerfStatsManagerLocal</local>

                      </ejb-local-ref>

                      <ejb-local-ref>

                        <ejb-ref-name>ejb/CICMonitorMgrLocal</ejb-ref-name>

                        <ejb-ref-type>Session</ejb-ref-type>

                        <ejb-link>CICMonitorMgr</ejb-link>

                        <local-home>com.cedarpointcom.safariview2.server.cicmonitor.CICMonitorMgrHomeLocal</local-home>

                        <local>com.cedarpointcom.safariview2.server.cicmonitor.CICMonitorMgrLocal</local>

                      </ejb-local-ref>

                 

                 

                      <!-- Comment this block out until we decide to support this feature -->

                 

                      <!--

                 

                      <ejb-local-ref>

                        <ejb-ref-name>ejb/AuditManagerLocal</ejb-ref-name>

                        <ejb-ref-type>Session</ejb-ref-type>

                        <ejb-link>AuditManager</ejb-link>

                        <local-home>com.cedarpointcom.safariview2.server.audit.AuditManagerHomeLocal</local-home>

                        <local>com.cedarpointcom.safariview2.server.audit.AuditManagerLocal</local>

                      </ejb-local-ref>

                 

                      -->

                 

                 

                 

                   </session>

                 

                    <session>

                      <ejb-name>ConfigManager</ejb-name>

                      <local-home>com.cedarpointcom.safariview2.server.config.ConfigManagerHomeLocal</local-home>

                      <local>com.cedarpointcom.safariview2.server.config.ConfigManagerLocal</local>

                      <ejb-class>com.cedarpointcom.safariview2.server.config.ConfigManagerEJB</ejb-class>

                      <session-type>Stateless</session-type>

                      <transaction-type>Container</transaction-type>

                      <env-entry>

                        <env-entry-name>root</env-entry-name>

                        <env-entry-type>java.lang.String</env-entry-type>

                        <env-entry-value>public</env-entry-value>

                      </env-entry>

                    </session>

                 

                    <session>

                      <ejb-name>SecurityManager</ejb-name>

                      <local-home>com.cedarpointcom.safariview2.server.security.SecurityManagerHomeLocal</local-home>

                      <local>com.cedarpointcom.safariview2.server.security.SecurityManagerLocal</local>

                      <ejb-class>com.cedarpointcom.safariview2.server.security.SecurityManagerEJB</ejb-class>

                      <session-type>Stateless</session-type>

                      <transaction-type>Container</transaction-type>

                      <env-entry>

                        <env-entry-name>root</env-entry-name>

                        <env-entry-type>java.lang.String</env-entry-type>

                        <env-entry-value>public</env-entry-value>

                      </env-entry>

                      <ejb-local-ref>

                        <ejb-ref-name>ejb/EMSAdminManagerLocal</ejb-ref-name>

                        <ejb-ref-type>Session</ejb-ref-type>

                        <ejb-link>EMSAdminManager</ejb-link>

                        <local-home>com.cedarpointcom.safariview2.server.emsadmin.EMSAdminManagerHomeLocal</local-home>

                        <local>com.cedarpointcom.safariview2.server.emsadmin.EMSAdminManagerLocal</local>

                      </ejb-local-ref>

                    </session>

                 

                    <session>

                      <ejb-name>DeviceManager</ejb-name>

                      <home>com.cedarpointcom.safariview2.server.deviceManagement.DeviceManagerHome</home>

                      <local-home>com.cedarpointcom.safariview2.server.deviceManagement.DeviceManagerHomeLocal</local-home>

                      <local>com.cedarpointcom.safariview2.server.deviceManagement.DeviceManagerLocal</local>

                      <remote>com.cedarpointcom.safariview2.server.deviceManagement.DeviceManager</remote>

                      <ejb-class>com.cedarpointcom.safariview2.server.deviceManagement.DeviceManagerEJB</ejb-class>

                      <session-type>Stateless</session-type>

                      <transaction-type>Container</transaction-type>

                      <env-entry>

                        <env-entry-name>root</env-entry-name>

                        <env-entry-type>java.lang.String</env-entry-type>

                        <env-entry-value>public</env-entry-value>

                      </env-entry>

                      <ejb-local-ref>

                        <ejb-ref-name>ejb/AlarmManagerLocal</ejb-ref-name>

                        <ejb-ref-type>Session</ejb-ref-type>

                        <ejb-link>AlarmManager</ejb-link>

                        <local-home>com.cedarpointcom.safariview2.server.alarms.AlarmManagerHomeLocal</local-home>

                        <local>com.cedarpointcom.safariview2.server.alarms.AlarmManagerLocal</local>

                      </ejb-local-ref>

                      <ejb-local-ref>

                        <ejb-ref-name>ejb/SecurityManagerLocal</ejb-ref-name>

                        <ejb-ref-type>Session</ejb-ref-type>

                        <ejb-link>SecurityManager</ejb-link>

                        <local-home>com.cedarpointcom.safariview2.server.security.SecurityManagerHomeLocal</local-home>

                        <local>com.cedarpointcom.safariview2.server.security.SecurityManagerLocal</local>

                      </ejb-local-ref>

                    </session>

                 

                    <session>

                      <ejb-name>AlarmManager</ejb-name>

                      <home>com.cedarpointcom.safariview2.server.alarms.AlarmManagerHome</home>

                      <local-home>com.cedarpointcom.safariview2.server.alarms.AlarmManagerHomeLocal</local-home>

                      <local>com.cedarpointcom.safariview2.server.alarms.AlarmManagerLocal</local>

                      <remote>com.cedarpointcom.safariview2.server.alarms.AlarmManager</remote>

                      <ejb-class>com.cedarpointcom.safariview2.server.alarms.AlarmManagerEJB</ejb-class>

                      <session-type>Stateless</session-type>

                      <transaction-type>Container</transaction-type>

                      <env-entry>

                        <env-entry-name>root</env-entry-name>

                        <env-entry-type>java.lang.String</env-entry-type>

                        <env-entry-value>public</env-entry-value>

                      </env-entry>

                      <ejb-local-ref>

                        <ejb-ref-name>ejb/ArchiveManagerLocal</ejb-ref-name>

                        <ejb-ref-type>Session</ejb-ref-type>

                        <ejb-link>ArchiveManager</ejb-link>

                        <local-home>com.cedarpointcom.safariview2.server.dbarchive.ArchiveManagerHomeLocal</local-home>

                        <local>com.cedarpointcom.safariview2.server.dbarchive.ArchiveManagerLocal</local>

                      </ejb-local-ref>

                      <ejb-local-ref>

                        <ejb-ref-name>ejb/EventManagerLocal</ejb-ref-name>

                        <ejb-ref-type>Session</ejb-ref-type>

                        <ejb-link>EventManager</ejb-link>

                        <local-home>com.cedarpointcom.safariview2.server.events.EventManagerHomeLocal</local-home>

                        <local>com.cedarpointcom.safariview2.server.events.EventManagerLocal</local>

                      </ejb-local-ref>

                    </session>

                 

                    <session>

                      <ejb-name>ArchiveManager</ejb-name>

                      <home>com.cedarpointcom.safariview2.server.dbarchive.ArchiveManagerHome</home>

                      <local-home>com.cedarpointcom.safariview2.server.dbarchive.ArchiveManagerHomeLocal</local-home>

                      <local>com.cedarpointcom.safariview2.server.dbarchive.ArchiveManagerLocal</local>

                      <remote>com.cedarpointcom.safariview2.server.dbarchive.ArchiveManagerRemote</remote>

                      <ejb-class>com.cedarpointcom.safariview2.server.dbarchive.ArchiveManagerEJB</ejb-class>

                      <session-type>Stateless</session-type>

                      <transaction-type>Container</transaction-type>

                      <env-entry>

                        <env-entry-name>root</env-entry-name>

                        <env-entry-type>java.lang.String</env-entry-type>

                        <env-entry-value>public</env-entry-value>

                      </env-entry>

                      <ejb-local-ref>

                        <ejb-ref-name>ejb/EventManagerLocal</ejb-ref-name>

                        <ejb-ref-type>Session</ejb-ref-type>

                        <ejb-link>EventManager</ejb-link>

                        <local-home>com.cedarpointcom.safariview2.server.events.EventManagerHomeLocal</local-home>

                        <local>com.cedarpointcom.safariview2.server.events.EventManagerLocal</local>

                      </ejb-local-ref>

                      <ejb-local-ref>

                        <ejb-ref-name>ejb/EMSAdminManagerLocal</ejb-ref-name>

                        <ejb-ref-type>Session</ejb-ref-type>

                        <ejb-link>EMSAdminManager</ejb-link>

                        <local-home>com.cedarpointcom.safariview2.server.emsadmin.EMSAdminManagerHomeLocal</local-home>

                        <local>com.cedarpointcom.safariview2.server.emsadmin.EMSAdminManagerLocal</local>

                      </ejb-local-ref>

                    </session>

                 

                    <!-- Comment this block out until we decide to support this feature -->

                    <!--

                    <session>

                      <ejb-name>AuditManager</ejb-name>

                      <home>com.cedarpointcom.safariview2.server.audit.AuditManagerHome</home>

                      <local-home>com.cedarpointcom.safariview2.server.audit.AuditManagerHomeLocal</local-home>

                      <local>com.cedarpointcom.safariview2.server.audit.AuditManagerLocal</local>

                      <remote>com.cedarpointcom.safariview2.server.audit.AuditManagerRemote</remote>

                      <ejb-class>com.cedarpointcom.safariview2.server.audit.AuditManagerEJB</ejb-class>

                      <session-type>Stateless</session-type>

                      <transaction-type>Container</transaction-type>

                      <ejb-local-ref>

                        <ejb-ref-name>ejb/EMSAdminManagerLocal</ejb-ref-name>

                        <ejb-ref-type>session</ejb-ref-type>

                        <ejb-link>EMSAdminManager</ejb-link>

                        <local-home>com.cedarpointcom.safariview2.server.emsadmin.EMSAdminManagerHomeLocal</local-home>

                        <local>com.cedarpointcom.safariview2.server.emsadmin.EMSAdminManagerLocal</local>

                      </ejb-local-ref>

                      <ejb-local-ref>

                        <ejb-ref-name>ejb/DeviceManagerLocal</ejb-ref-name>

                        <ejb-ref-type>session</ejb-ref-type>

                        <ejb-link>DeviceManager</ejb-link>

                        <local-home>com.cedarpointcom.safariview2.server.deviceManagement.DeviceManagerHomeLocal</local-home>

                        <local>com.cedarpointcom.safariview2.server.deviceManagement.DeviceManagerLocal</local>

                      </ejb-local-ref>

                    </session>

                    -->

                 

                    <session>

                        <ejb-name>EventManager</ejb-name>

                        <home>com.cedarpointcom.safariview2.server.events.EventManagerHome</home>

                        <local-home>com.cedarpointcom.safariview2.server.events.EventManagerHomeLocal</local-home>

                        <local>com.cedarpointcom.safariview2.server.events.EventManagerLocal</local>

                        <remote>com.cedarpointcom.safariview2.server.events.EventManagerRemote</remote>

                        <ejb-class>com.cedarpointcom.safariview2.server.events.EventManagerEJB</ejb-class>

                        <session-type>Stateless</session-type>

                        <transaction-type>Container</transaction-type>

                        <env-entry>

                          <env-entry-name>root</env-entry-name>

                          <env-entry-type>java.lang.String</env-entry-type>

                          <env-entry-value>public</env-entry-value>

                        </env-entry>

                       <ejb-local-ref>

                         <ejb-ref-name>ejb/EMSAdminManagerLocal</ejb-ref-name>

                         <ejb-ref-type>Session</ejb-ref-type>

                         <ejb-link>EMSAdminManager</ejb-link>

                         <local-home>com.cedarpointcom.safariview2.server.emsadmin.EMSAdminManagerHomeLocal</local-home>

                         <local>com.cedarpointcom.safariview2.server.emsadmin.EMSAdminManagerLocal</local>

                       </ejb-local-ref>

                    </session>

                 

                    <session>

                      <ejb-name>EMSAdminManager</ejb-name>

                      <home>com.cedarpointcom.safariview2.server.emsadmin.EMSAdminManagerHome</home>

                      <local-home>com.cedarpointcom.safariview2.server.emsadmin.EMSAdminManagerHomeLocal</local-home>

                      <local>com.cedarpointcom.safariview2.server.emsadmin.EMSAdminManagerLocal</local>

                      <remote>com.cedarpointcom.safariview2.server.emsadmin.EMSAdminManagerRemote</remote>

                      <ejb-class>com.cedarpointcom.safariview2.server.emsadmin.EMSAdminManagerEJB</ejb-class>

                      <session-type>Stateless</session-type>

                      <transaction-type>Container</transaction-type>

                      <env-entry>

                        <env-entry-name>root</env-entry-name>

                        <env-entry-type>java.lang.String</env-entry-type>

                        <env-entry-value>public</env-entry-value>

                      </env-entry>

                      <ejb-local-ref>

                        <ejb-ref-name>ejb/ArchiveManagerLocal</ejb-ref-name>

                        <ejb-ref-type>Session</ejb-ref-type>

                        <ejb-link>ArchiveManager</ejb-link>

                        <local-home>com.cedarpointcom.safariview2.server.dbarchive.ArchiveManagerHomeLocal</local-home>

                        <local>com.cedarpointcom.safariview2.server.dbarchive.ArchiveManagerLocal</local>

                      </ejb-local-ref>

                      <ejb-local-ref>

                        <ejb-ref-name>ejb/SecurityManagerLocal</ejb-ref-name>

                        <ejb-ref-type>Session</ejb-ref-type>

                        <ejb-link>SecurityManager</ejb-link>

                        <local-home>com.cedarpointcom.safariview2.server.security.SecurityManagerHomeLocal</local-home>

                        <local>com.cedarpointcom.safariview2.server.security.SecurityManagerLocal</local>

                      </ejb-local-ref>

                      <ejb-local-ref>

                        <ejb-ref-name>ejb/EventManagerLocal</ejb-ref-name>

                        <ejb-ref-type>Session</ejb-ref-type>

                        <ejb-link>EventManager</ejb-link>

                        <local-home>com.cedarpointcom.safariview2.server.events.EventManagerHomeLocal</local-home>

                        <local>com.cedarpointcom.safariview2.server.events.EventManagerLocal</local>

                      </ejb-local-ref>

                 

                      <!-- Comment this block out until we decide to support this feature -->

                      <!--

                      <ejb-local-ref>

                        <ejb-ref-name>ejb/AuditManagerLocal</ejb-ref-name>

                        <ejb-ref-type>Session</ejb-ref-type>

                        <ejb-link>AuditManager</ejb-link>

                        <local-home>com.cedarpointcom.safariview2.server.audit.AuditManagerHomeLocal</local-home>

                        <local>com.cedarpointcom.safariview2.server.audit.AuditManagerLocal</local>

                      </ejb-local-ref>

                      -->

                 

                      <ejb-local-ref>

                        <ejb-ref-name>ejb/AlarmManagerLocal</ejb-ref-name>

                        <ejb-ref-type>Session</ejb-ref-type>

                        <ejb-link>AlarmManager</ejb-link>

                        <local-home>com.cedarpointcom.safariview2.server.alarms.AlarmManagerHomeLocal</local-home>

                        <local>com.cedarpointcom.safariview2.server.alarms.AlarmManagerLocal</local>

                      </ejb-local-ref>

                    </session>

                 

                    <session>

                      <ejb-name>CapacityPlanManager</ejb-name>

                      <local-home>com.cedarpointcom.safariview2.server.capplan.CapacityPlanManagerHomeLocal</local-home>

                      <local>com.cedarpointcom.safariview2.server.capplan.CapacityPlanManagerLocal</local>

                      <ejb-class>com.cedarpointcom.safariview2.server.capplan.CapacityPlanManagerEJB</ejb-class>

                      <session-type>Stateless</session-type>

                      <transaction-type>Container</transaction-type>

                      <env-entry>

                        <env-entry-name>root</env-entry-name>

                        <env-entry-type>java.lang.String</env-entry-type>

                        <env-entry-value>public</env-entry-value>

                      </env-entry>

                      <ejb-local-ref>

                        <ejb-ref-name>ejb/RequestManagerLocal</ejb-ref-name>

                        <ejb-ref-type>Session</ejb-ref-type>

                        <ejb-link>RequestManager</ejb-link>

                        <local-home>com.cedarpointcom.safariview2.common.RequestManagerHomeLocal</local-home>

                        <local>com.cedarpointcom.safariview2.common.RequestManagerLocal</local>

                      </ejb-local-ref>

                    </session>

                 

                    <session>

                      <ejb-name>PerfStatsManager</ejb-name>

                      <local-home>com.cedarpointcom.safariview2.server.performance.PerfStatsManagerHomeLocal</local-home>

                      <local>com.cedarpointcom.safariview2.server.performance.PerfStatsManagerLocal</local>

                      <ejb-class>com.cedarpointcom.safariview2.server.performance.PerfStatsManagerEJB</ejb-class>

                      <session-type>Stateless</session-type>

                      <transaction-type>Container</transaction-type>

                      <env-entry>

                        <env-entry-name>root</env-entry-name>

                        <env-entry-type>java.lang.String</env-entry-type>

                        <env-entry-value>public</env-entry-value>

                      </env-entry>

                      <ejb-local-ref>

                        <ejb-ref-name>ejb/RequestManagerLocal</ejb-ref-name>

                        <ejb-ref-type>Session</ejb-ref-type>

                        <ejb-link>RequestManager</ejb-link>

                        <local-home>com.cedarpointcom.safariview2.common.RequestManagerHomeLocal</local-home>

                        <local>com.cedarpointcom.safariview2.common.RequestManagerLocal</local>

                      </ejb-local-ref>

                    </session>

                 

                 

                    <session>

                 

                      <ejb-name>PcspI01Service</ejb-name>

                 

                      <home>com.cedarpointcom.safariview2.server.oss.PcspI01ServiceHome</home>

                 

                      <remote>com.cedarpointcom.safariview2.server.oss.PcspI01ServiceRemote</remote>

                 

                      <ejb-class>com.cedarpointcom.safariview2.server.oss.PcspI01ServiceImpl</ejb-class>

                 

                      <session-type>Stateless</session-type>

                 

                      <transaction-type>Container</transaction-type>

                 

                      <env-entry>

                 

                        <env-entry-name>root</env-entry-name>

                 

                        <env-entry-type>java.lang.String</env-entry-type>

                 

                        <env-entry-value>public</env-entry-value>

                 

                      </env-entry>

                 

                       <ejb-local-ref>

                 

                        <ejb-ref-name>ejb/RequestManagerLocal</ejb-ref-name>

                 

                        <ejb-ref-type>Session</ejb-ref-type>

                 

                        <ejb-link>RequestManager</ejb-link>

                 

                        <local-home>com.cedarpointcom.safariview2.common.RequestManagerHomeLocal</local-home>

                 

                        <local>com.cedarpointcom.safariview2.common.RequestManagerLocal</local>

                 

                      </ejb-local-ref>

                 

                    </session>

                 

                    <session>

                      <ejb-name>SVConfigService</ejb-name>

                      <home>com.cedarpointcom.safariview2.server.oss.config.SVConfigServiceHome</home>

                      <remote>com.cedarpointcom.safariview2.server.oss.config.SVConfigServiceRemote</remote>

                      <ejb-class>com.cedarpointcom.safariview2.server.oss.config.SVConfigServiceImpl</ejb-class>

                      <session-type>Stateless</session-type>

                      <transaction-type>Container</transaction-type>

                      <env-entry>

                        <env-entry-name>root</env-entry-name>

                        <env-entry-type>java.lang.String</env-entry-type>

                        <env-entry-value>public</env-entry-value>

                      </env-entry>

                       <ejb-local-ref>

                        <ejb-ref-name>ejb/RequestManagerLocal</ejb-ref-name>

                        <ejb-ref-type>Session</ejb-ref-type>

                        <ejb-link>RequestManager</ejb-link>

                        <local-home>com.cedarpointcom.safariview2.common.RequestManagerHomeLocal</local-home>

                        <local>com.cedarpointcom.safariview2.common.RequestManagerLocal</local>

                      </ejb-local-ref>

                    </session>

                 

                     <session>

                        <ejb-name>CICMonitorMgr</ejb-name>

                        <home>com.cedarpointcom.safariview2.server.cicmonitor.CICMonitorMgrHome</home>

                        <remote>com.cedarpointcom.safariview2.server.cicmonitor.CICMonitorMgr</remote>

                        <local-home>com.cedarpointcom.safariview2.server.cicmonitor.CICMonitorMgrHomeLocal</local-home>

                        <local>com.cedarpointcom.safariview2.server.cicmonitor.CICMonitorMgrLocal</local>

                        <ejb-class>com.cedarpointcom.safariview2.server.cicmonitor.CICMonitorMgrEJB</ejb-class>

                        <session-type>Stateless</session-type>

                        <transaction-type>Container</transaction-type>

                        <env-entry>

                          <env-entry-name>root</env-entry-name>

                          <env-entry-type>java.lang.String</env-entry-type>

                          <env-entry-value>public</env-entry-value>

                        </env-entry>

                        <ejb-local-ref>

                          <ejb-ref-name>ejb/RequestManagerLocal</ejb-ref-name>

                          <ejb-ref-type>Session</ejb-ref-type>

                          <ejb-link>RequestManager</ejb-link>

                          <local-home>com.cedarpointcom.safariview2.common.RequestManagerHomeLocal</local-home>

                          <local>com.cedarpointcom.safariview2.common.RequestManagerLocal</local>

                        </ejb-local-ref>

                      </session>

                 

                 

                  </enterprise-beans>

                </ejb-jar>

                • 5. Re: Porting from JBoss 3.2.7 to 5.1.0.GA - Startup errors

                  Got past the ejb-jar.xml issues in my previous post... It appears the JBoss 5 is much more strict about the order of xml elements in the file.  Live and learn....

                   

                  Now I'm getting several new errors as I continue to peal the onion.

                   

                  The first is a series of Deployment errors about which I have seen posts from  other folks, but have not seen a solution...  Brief text is below...

                   

                  The second is a Deployment error having to do with the InvokeRemoteInterceptor already being installed.  I don't know if these are an issue with  respect to the server coming up properly, but I'd like to resolve it...

                   

                  I've attached the bootstrap.log and server.log files for completeness.   Thanks!

                   

                  2010-05-03 11:42:03,268 ERROR [ProfileServiceBootstrap] Failed to  load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR  DETAILS):

                   

                  DEPLOYMENTS MISSING DEPENDENCIES:
                     Deployment "JBossTimerServiceFactory" is missing the following  dependencies:
                       Dependency "jboss.ejb:service=EJBTimerService" (should be in state  "Create", but is actually in state "Configured")
                     Deployment  "jboss.ejb:persistencePolicy=database,service=EJBTimerService" is  missing the following dependencies:
                       Dependency "jboss.jdbc:datasource=MySqlDS,service=metadata" (should  be in state "Create", but is actually in state "** NOT FOUND Depends on  'jboss.jdbc:datasource=MySqlDS,service=metadata' **")
                     Deployment "jboss.ejb:service=EJBTimerService" is missing the  following dependencies:
                       Dependency  "jboss.ejb:persistencePolicy=database,service=EJBTimerService" (should  be in state "Create", but is actually in state "Configured")
                     Deployment  "jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3"  is missing the following dependencies:
                       Dependency "<UNKNOWN  jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3>"  (should be in state "Described", but is actually in state "**  UNRESOLVED Demands 'jboss.e
                  jb:service=EJBTimerService' **")
                     Deployment  "jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3_endpoint"  is missing the following dependencies:
                       Dependency  "jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3"  (should be in state "Configured", but is actually in state  "PreInstall")
                     Deployment  "jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3"  is missing the following dependencies:
                       Dependency "<UNKNOWN  jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3>"  (should be in state "Described", but is actually in state "**  UNRESOLVED Demands 'jboss.ejb:
                  service=EJBTimerService' **")
                     Deployment  "jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3_endpoint"  is missing the following dependencies:
                       Dependency  "jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3"  (should be in state "Configured", but is actually in state  "PreInstall")
                     Deployment  "jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3"  is missing the following dependencies:
                       Dependency "<UNKNOWN  jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3>"  (should be in state "Described", but is actually in state "**  UNRESOLVED Demands 'jboss.ejb:
                  service=EJBTimerService' **")
                       Dependency "<UNKNOWN  jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3>"  (should be in state "Described", but is actually in state "**  UNRESOLVED Demands 'jndi:Secur
                  eManagementView/remote-org.jboss.deployers.spi.management.ManagementView'  **")
                     Deployment  "jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3_endpoint"  is missing the following dependencies:
                       Dependency  "jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3"  (should be in state "Configured", but is actually in state  "PreInstall")
                     Deployment "jboss.jca:name=JmsXA,service=ConnectionFactoryBinding" is  missing the following dependencies:
                       Dependency "jboss.jca:name=JmsXA,service=TxCM" (should be in state  "Create", but is actually in state "Configured")
                     Deployment "jboss.jca:name=JmsXA,service=ManagedConnectionFactory" is  missing the following dependencies:
                       Dependency "jboss.messaging:service=ServerPeer" (should be in state  "Create", but is actually in state "Configured")
                     Deployment "jboss.jca:name=JmsXA,service=ManagedConnectionPool" is  missing the following dependencies:
                       Dependency "jboss.jca:name=JmsXA,service=ManagedConnectionFactory"  (should be in state "Create", but is actually in state "Configured")
                     Deployment "jboss.jca:name=JmsXA,service=TxCM" is missing the  following dependencies:
                       Dependency "jboss.jca:name=JmsXA,service=ManagedConnectionPool"  (should be in state "Create", but is actually in state "Configured")
                     Deployment  "jboss.messaging.connectionfactory:service=ClusterPullConnectionFactory"  is missing the following dependencies:
                       Dependency "jboss.messaging:service=ServerPeer" (should be in state  "Create", but is actually in state "Configured")
                       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")
                       Dependency "jboss.messaging:service=ServerPeer" (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")
                       Dependency "jboss.messaging:service=ServerPeer" (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")
                       Dependency "jboss.messaging:service=ServerPeer" (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")
                       Dependency "jboss.messaging:service=ServerPeer" (should be in state  "Create", but is actually in state "Configured")
                     Deployment "jboss.messaging:service=JMSUserManager" is missing the  following dependencies:
                       Dependency "jboss.jca:name=DefaultDS,service=DataSourceBinding"  (should be in state "Create", but is actually in state "** NOT FOUND  Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding'
                    **")
                     Deployment "jboss.messaging:service=PersistenceManager" is missing the  following dependencies:
                       Dependency "jboss.jca:name=DefaultDS,service=DataSourceBinding"  (should be in state "Create", but is actually in state "** NOT FOUND  Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding'
                    **")
                     Deployment "jboss.messaging:service=PostOffice" is missing the  following dependencies:
                       Dependency "jboss.messaging:service=ServerPeer" (should be in state  "Create", but is actually in state "Configured")
                       Dependency "jboss.jca:name=DefaultDS,service=DataSourceBinding"  (should be in state "Create", but is actually in state "** NOT FOUND  Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding'
                    **")
                       Dependency "jboss.jgroups:service=ChannelFactory" (should be in  state "Create", but is actually in state "** NOT FOUND Depends on  'jboss.jgroups:service=ChannelFactory' **")
                     Deployment "jboss.messaging:service=ServerPeer" is missing the  following dependencies:
                       Dependency "jboss.messaging:service=JMSUserManager" (should be in  state "Create", but is actually in state "Configured")
                       Dependency "jboss.messaging:service=PersistenceManager" (should be  in state "Create", but is actually in state "Configured")
                     Deployment "jboss.mq:service=DestinationManager" is missing the  following dependencies:
                       Dependency "jboss.messaging:service=ServerPeer" (should be in state  "Create", but is actually in state "Configured")
                     Deployment "jboss:service=KeyGeneratorFactory,type=HiLo" is missing  the following dependencies:
                       Dependency "jboss.jca:name=DefaultDS,service=DataSourceBinding"  (should be in state "Create", but is actually in state "** NOT FOUND  Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding'
                    **")

                   

                  DEPLOYMENTS IN ERROR:
                     Deployment "<UNKNOWN  jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3>"  is in error due to the following reason(s): ** UNRESOLVED Demands  'jboss.ejb:service=EJBTimerS
                  ervice' **, ** UNRESOLVED Demands  'jndi:SecureManagementView/remote-org.jboss.deployers.spi.management.ManagementView'  **
                     Deployment "vfszip:/C:/sv2dev/server/default/deploy/safariview.ear/"  is in error due to the following reason(s):  java.lang.NullPointerException
                     Deployment "vfsfile:/C:/sv2dev/server/default/deploy/jboss-net.sar/"  is in error due to the following reason(s):  java.lang.IllegalStateException:  Factory$org.jboss.aspects.remoting.InvokeRemoteInter
                  ceptor is already installed.
                     Deployment "jboss.jdbc:datasource=MySqlDS,service=metadata" is in  error due to the following reason(s): ** NOT FOUND Depends on  'jboss.jdbc:datasource=MySqlDS,service=metadata' **
                     Deployment "jboss.jgroups:service=ChannelFactory" is in error due to  the following reason(s): ** NOT FOUND Depends on  'jboss.jgroups:service=ChannelFactory' **
                     Deployment "jboss.jca:name=DefaultDS,service=DataSourceBinding" is in  error due to the following reason(s): ** NOT FOUND Depends on  'jboss.jca:name=DefaultDS,service=DataSourceBinding' **
                     Deployment "<UNKNOWN  jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3>"  is in error due to the following reason(s): ** UNRESOLVED Demands  'jboss.ejb:service=EJBTimerS
                  ervice' **
                     Deployment "<UNKNOWN  jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3>"  is in error due to the following reason(s): ** UNRESOLVED Demands  'jboss.ejb:service=EJBTim
                  erService' **

                   

                  2010-05-03 11:42:03,294 INFO  [Http11Protocol] Starting Coyote  HTTP/1.1 on http-127.0.0.1-8080
                  2010-05-03 11:42:03,352 INFO  [AjpProtocol] Starting Coyote AJP/1.3 on  ajp-127.0.0.1-8009
                  2010-05-03 11:42:03,358 INFO  [ServerImpl] JBoss (Microcontainer)  [5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221053)] Started in  1m:3s:5ms

                   

                   

                   

                  2010-05-03 11:41:30,981 ERROR [AbstractKernelController] Error installing to PostClassLoader: name=vfsfile:/C:/sv2dev/server/default/deploy/jboss-net.sar/ state=ClassLoader mode=Manual requiredState=PostClassLoader org.jboss.deployers.spi.DeploymentException: org.jboss.deployers.spi.DeploymentException: Error deploying: Factory$org.jboss.aspects.remoting.InvokeRemoteInterceptor
                          at org.jboss.aop.asintegration.jboss5.AbstractAopMetaDataDeployer.deployBeans(AbstractAopMetaDataDeployer.java:296)

                   

                          at org.jboss.aop.asintegration.jboss5.AbstractAopMetaDataDeployer.deploy(AbstractAopMetaDataDeployer.java:133)
                          at org.jboss.aop.asintegration.jboss5.AOPDeploymentAopMetaDataDeployer.deploy(AOPDeploymentAopMetaDataDeployer.java:46)
                          at org.jboss.aop.asintegration.jboss5.AOPDeploymentAopMetaDataDeployer.deploy(AOPDeploymentAopMetaDataDeployer.java:36)
                          at org.jboss.deployers.vfs.spi.deployer.AbstractSimpleVFSRealDeployer.deploy(AbstractSimpleVFSRealDeployer.java:56)
                          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.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:619)
                  Caused by: org.jboss.deployers.spi.DeploymentException: Error deploying: Factory$org.jboss.aspects.remoting.InvokeRemoteInterceptor
                          at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
                          at org.jboss.aop.asintegration.jboss5.AbstractAopMetaDataDeployer$MyBeanMetaDataDeployer.deploy(AbstractAopMetaDataDeployer.java:390)
                          at org.jboss.aop.asintegration.jboss5.AbstractAopMetaDataDeployer$MyBeanMetaDataDeployer.access$100(AbstractAopMetaDataDeployer.java:337)
                          at org.jboss.aop.asintegration.jboss5.AbstractAopMetaDataDeployer.deployBeans(AbstractAopMetaDataDeployer.java:270)
                          ... 38 more
                  Caused by: java.lang.IllegalStateException: Factory$org.jboss.aspects.remoting.InvokeRemoteInterceptor 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.aop.asintegration.jboss5.AbstractAopMetaDataDeployer$MyBeanMetaDataDeployer.deploy(AbstractAopMetaDataDeployer.java:386)

                  • 6. Re: Porting from JBoss 3.2.7 to 5.1.0.GA - Startup errors
                    wolfgangknauf

                    Hi Timothy,

                     

                    in your "server.log", I see the exception which is part of this bug report: https://jira.jboss.org/jira/browse/EJBTHREE-1969 ("Null beannMetaData")

                     

                    Take a look at it, maybe the workarounds provided there help.

                     

                    Best regards

                     

                    Wolfgang

                    • 7. Re: Porting from JBoss 3.2.7 to 5.1.0.GA - Startup errors

                      I've reviewed 1969 in Jira and tried  the different work-arounds with no success.  I have been attempting to  remove the Hypersonic database and replace it with MySQL, still having a  datasource of DefaultDS.  My problem has to do with the deployment of a  SAR file that starts up Hibernate.  I deploy this SAR as part of an EAR  file.  However, I can just drop the SAR into the deploy directory all  alone and get the same error, which I have abbreviated here...

                       

                      Caused by: java.lang.IllegalStateException: Null  beannMetaData
                               at  org.jboss.ejb3.interceptors.metadata.BeanInterceptorMetaDataBridge.setupMetaDataLists(BeanInterceptorMetaDataBridge.java:315)
                               at  org.jboss.ejb3.interceptors.metadata.BeanInterceptorMetaDataBridge.initialise(BeanInterceptorMetaDataBridge.java:235)
                               at  org.jboss.ejb3.interceptors.metadata.BeanInterceptorMetaDataBridge.<init>(BeanInterceptorMetaDataBridge.java:138)
                               at  org.jboss.ejb3.interceptors.metadata.AdditiveBeanInterceptorMetaDataBridge.<init>(AdditiveBeanInterceptorMetaDataBridge.java:48)
                               at  org.jboss.ejb3.aop.BeanContainer.initialize(BeanContainer.java:194)
                               at  org.jboss.ejb3.EJBContainer.<init>(EJBContainer.java:249)
                               ... 45 more
                      Caused by: java.lang.NullPointerException
                               at  org.jboss.ejb3.interceptors.metadata.BeanInterceptorMetaDataBridge.setupMetaDataLists(BeanInterceptorMetaDataBridge.java:268)

                       

                      My SAR file has a very simple structure  as follows...

                       

                      0 Tue May 04  11:46:02 EDT 2010 META-INF/
                          106 Tue May 04 11:46:00 EDT 2010 META-INF/MANIFEST.MF
                            0 Thu Feb 28 14:26:46 EST 2008 mappings/
                         1603 Tue May 04 11:44:54 EDT 2010 META-INF/jboss-service.xml
                         1306 Tue May 22 14:30:36 EDT 2007  mappings/BoardAlarmStateChange.hbm.xml
                         1290 Tue May 22 14:30:44 EDT 2007 mappings/BoardStateChange.hbm.xml
                         1437 Tue Apr 15 14:06:02 EDT 2008 mappings/CicStateChange.hbm.xml
                         2809 Wed Nov 01 13:53:22 EST 2006 mappings/SVAlarm.hbm.xml
                         2302 Wed Nov 01 13:53:28 EST 2006 mappings/SVEvent.hbm.xml
                         2022 Fri Jun 22 17:14:32 EDT 2007 mappings/SVLiLogEntry.hbm.xml
                            0 Thu Apr 29 13:03:28 EDT 2010 com/
                            0 Thu Apr 29 13:03:28 EDT 2010 com/cedarpointcom/
                            0 Thu Apr 29 13:03:48 EDT 2010 com/cedarpointcom/safariview2/
                            0 Thu Apr 29 13:03:52 EDT 2010  com/cedarpointcom/safariview2/common/
                            0 Thu Apr 29 13:03:52 EDT 2010  com/cedarpointcom/safariview2/common/alarms/
                          560 Thu Apr 29 13:03:44 EDT 2010  com/cedarpointcom/safariview2/common/alarms/AlarmAttrConstants.class
                          611 Thu Apr 29 13:03:44 EDT 2010  com/cedarpointcom/safariview2/common/alarms/AlarmCount.class
                          835 Thu Apr 29 13:03:42 EDT 2010  com/cedarpointcom/safariview2/common/alarms/AlarmCountComparator.class
                         1181 Thu Apr 29 13:03:44 EDT 2010  com/cedarpointcom/safariview2/common/alarms/AlarmEntityCount.class
                         3962 Thu Apr 29 13:03:42 EDT 2010  com/cedarpointcom/safariview2/common/alarms/AlarmEntityReport.class
                         1373 Thu Apr 29 13:03:44 EDT 2010  com/cedarpointcom/safariview2/common/alarms/AlarmEntityReportReq.class
                         9913 Thu Apr 29 13:03:42 EDT 2010  com/cedarpointcom/safariview2/common/alarms/AlarmReport.class
                          846 Thu Apr 29 13:03:44 EDT 2010  com/cedarpointcom/safariview2/common/alarms/AlarmReportReq.class
                         5894 Thu Apr 29 13:03:44 EDT 2010  com/cedarpointcom/safariview2/common/alarms/AlarmTable.class
                         1137 Thu Apr 29 13:03:44 EDT 2010  com/cedarpointcom/safariview2/common/alarms/AlarmUtil$IgnoreCaseComparator.class
                        27517 Thu Apr 29 13:03:44 EDT 2010  com/cedarpointcom/safariview2/common/alarms/AlarmUtil.class
                          544 Thu Apr 29 13:03:44 EDT 2010  com/cedarpointcom/safariview2/common/alarms/AlarmValues.class
                         1220 Thu Apr 29 13:03:44 EDT 2010  com/cedarpointcom/safariview2/common/alarms/EntityCountComparator.class
                         7160 Thu Apr 29 13:03:52 EDT 2010  com/cedarpointcom/safariview2/common/alarms/EventListReqPayload.class
                         4762 Thu Apr 29 13:03:40 EDT 2010  com/cedarpointcom/safariview2/common/alarms/SVAlarm.class
                         8753 Thu Apr 29 13:03:40 EDT 2010  com/cedarpointcom/safariview2/common/alarms/SVAlarmBase.class
                         8127 Thu Apr 29 13:03:44 EDT 2010  com/cedarpointcom/safariview2/common/alarms/SVAlarmComparator.class
                         2999 Thu Apr 29 13:03:44 EDT 2010  com/cedarpointcom/safariview2/common/alarms/SVAlarmMgrReqPayload.class
                         4891 Thu Apr 29 13:03:40 EDT 2010  com/cedarpointcom/safariview2/common/alarms/SVAlarmSummary.class
                         5523 Thu Apr 29 13:03:40 EDT 2010  com/cedarpointcom/safariview2/common/alarms/SVEvent.class
                         5836 Thu Apr 29 13:03:44 EDT 2010  com/cedarpointcom/safariview2/common/SVLiLogEntry.class
                            0 Thu Apr 29 13:03:46 EDT 2010  com/cedarpointcom/safariview2/server/
                            0 Thu Apr 29 13:03:46 EDT 2010  com/cedarpointcom/safariview2/server/cicmonitor/
                         5756 Thu Apr 29 13:03:46 EDT 2010  com/cedarpointcom/safariview2/server/cicmonitor/CICStateChange.class

                       

                      The jboss-service.xml file has the following  structure.  I suspect this is where the problem lies.

                       

                      <server>
                      <!-- Load all jars from the JBOSS_HOME/server/<config>/lib  directory and
                               the shared JBOSS_HOME/common/lib directory. This can be  restricted to
                               specific jars by specifying them in the archives attribute.
                          -->
                          <classpath codebase="${jboss.server.lib.url}" archives="*"/>
                          <classpath codebase="${jboss.common.lib.url}" archives="*"/>
                          
                      <mbean  code="org.hibernate.jmx.HibernateService"  name="jboss.jca:service=HibernateFactory,
                                                   name=HibernateFactory">
                           <depends>jboss.jca:service=RARDeployer</depends>
                            <depends>jboss.jca:service=LocalTxCM,name=DefaultDS</depends>   <!-- Make it deploy ONLY after DataSource had been started -->

                       

                          <attribute name="MapResources">
                                mappings/BoardAlarmStateChange.hbm.xml,
                                mappings/BoardStateChange.hbm.xml,
                                mappings/SVAlarm.hbm.xml,
                                mappings/SVEvent.hbm.xml,
                                mappings/SVLiLogEntry.hbm.xml,
                                mappings/CicStateChange.hbm.xml
                           </attribute>
                           <attribute  name="JndiName">java:/HibernateFactory</attribute>
                           <attribute name="Datasource">java:/DefaultDS</attribute>
                           <attribute  name="Dialect">org.hibernate.dialect.MySQLDialect</attribute>

                       

                      </mbean>
                      </server>

                       

                      Any help would be greatly  appreciated.  Thanks.

                      • 8. Re: Porting from JBoss 3.2.7 to 5.1.0.GA - Startup errors

                        This comment may be added to my previous post...

                         

                        I got rid of a number of deployment errors by removing the JMS configuration (ie. removing the messaging directory).  My application does not use JMS directly.  However, I don't know if other things within JBoss *do* use it.  Anyway, this change brought me to the single deployment error (hibernatestatup.sar) described in the previous post.  Once I get past that, I'll work on putting JMS back in the mix if needed.  Hopefully someone has seen this before, as I'm thinking it has to do with the format of the jboss-service.xml files embedded in my SAR file.  Note that I tried the work-arounds described with respect to bug EJBTHREE-1969 with no success.

                         

                        I have seen in the documentation that the Hypersonic database is not 'industrial strength' and should not be used in a production environment.  So I'm assuming that if JMS is needed, there are a number of changes in descriptor files that would be required in order to hook a different database up to JMS.  Could someone point to some information on how to do that?

                        • 9. Re: Porting from JBoss 3.2.7 to 5.1.0.GA - Startup errors
                          peterj

                          Regarding how to completely replace DefautDS, I think that this post has all of the steps, though you do have to dig through all of the code that Guiseppe attached to get to the full list, and I added some steps that he missed (or didn't mention).

                          http://community.jboss.org/message/204473