5 Replies Latest reply on Jan 14, 2009 6:08 AM by nabil rabhi

    encountring problems while deploying vectrics-flashrecruit o

    nabil rabhi Newbie

      Hi everybody,

      i'm a novice in using jboss application server and i faced a problem while deploying the vectrics-flashrecruit version 0.9.8.2
      i downloaded the project from sourceforge.com and i followed the installation instructions which i would better do to remind them to you:

      -copy the flashrecruit.ear into the server/default/deploy directory of jboss
      -copy the datasource file vectrics-ds.xml into the same directory
      -copy the libs from vectrics/vectrics-lib/runtime into the directory server/default/lib
      -creating the database by running ant script that works fine

      the problem is while i'm running the jboss server, the following error occur and i didn't know the reason:

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

      JBoss Bootstrap Environment

      JBOSS_HOME: E:\jboss-5.0.0.GA

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

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

      CLASSPATH: E:\jboss-5.0.0.GA\bin\run.jar

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

      10:00:23,296 INFO [ServerImpl] Starting JBoss (Microcontainer)...
      10:00:23,296 INFO [ServerImpl] Release ID: JBoss [Morpheus] 5.0.0.GA (build: SVNTag=JBoss_5_0_0_GA date=200812042120)
      10:00:23,296 INFO [ServerImpl] Bootstrap URL: null
      10:00:23,296 INFO [ServerImpl] Home Dir: E:\jboss-5.0.0.GA
      10:00:23,296 INFO [ServerImpl] Home URL: file:/E:/jboss-5.0.0.GA/
      10:00:23,296 INFO [ServerImpl] Library URL: file:/E:/jboss-5.0.0.GA/lib/
      10:00:23,312 INFO [ServerImpl] Patch URL: null
      10:00:23,312 INFO [ServerImpl] Common Base URL: file:/E:/jboss-5.0.0.GA/common/
      10:00:23,312 INFO [ServerImpl] Common Library URL: file:/E:/jboss-5.0.0.GA/common/lib/
      10:00:23,312 INFO [ServerImpl] Server Name: default
      10:00:23,312 INFO [ServerImpl] Server Base Dir: E:\jboss-5.0.0.GA\server
      10:00:23,312 INFO [ServerImpl] Server Base URL: file:/E:/jboss-5.0.0.GA/server/
      10:00:23,312 INFO [ServerImpl] Server Config URL: file:/E:/jboss-5.0.0.GA/server/default/conf/
      10:00:23,312 INFO [ServerImpl] Server Home Dir: E:\jboss-5.0.0.GA\server\default
      10:00:23,312 INFO [ServerImpl] Server Home URL: file:/E:/jboss-5.0.0.GA/server/default/
      10:00:23,312 INFO [ServerImpl] Server Data Dir: E:\jboss-5.0.0.GA\server\default\data
      10:00:23,312 INFO [ServerImpl] Server Library URL: file:/E:/jboss-5.0.0.GA/server/default/lib/
      10:00:23,312 INFO [ServerImpl] Server Log Dir: E:\jboss-5.0.0.GA\server\default\log
      10:00:23,312 INFO [ServerImpl] Server Native Dir: E:\jboss-5.0.0.GA\server\default\tmp\native
      10:00:23,312 INFO [ServerImpl] Server Temp Dir: E:\jboss-5.0.0.GA\server\default\tmp
      10:00:23,312 INFO [ServerImpl] Server Temp Deploy Dir: E:\jboss-5.0.0.GA\server\default\tmp\deploy
      10:00:24,625 INFO [ServerImpl] Starting Microcontainer, bootstrapURL=file:/E:/jboss-5.0.0.GA/server/default/conf/bootstrap.xml
      10:00:25,578 INFO [VFSCacheFactory] Initializing VFSCache [org.jboss.virtual.plugins.cache.IterableTimedVFSCache]
      10:00:25,593 INFO [VFSCacheFactory] Using VFSCache [IterableTimedVFSCache{lifetime=1800, resolution=60}]
      10:00:26,015 INFO [CopyMechanism] VFS temp dir: E:\jboss-5.0.0.GA\server\default\tmp
      10:00:26,015 INFO [ZipEntryContext] VFS force nested jars copy-mode is enabled.
      10:00:27,703 INFO [ServerInfo] Java version: 1.6.0,Sun Microsystems Inc.
      10:00:27,703 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.6.0-b105,Sun Microsystems Inc.
      10:00:27,703 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
      10:00:27,765 INFO [JMXKernel] Legacy JMX core initialized
      10:00:31,500 INFO [ProfileServiceImpl] Loading profile: default from: org.jboss.system.server.profileservice.repository.SerializableDeploymentRepository@dea768(root=E:\jboss-5.0.0.GA\server, key=org.jboss.profileservice.spi.ProfileKey@143b82c3[domain=default,server=default,name=default])
      10:00:31,500 INFO [ProfileImpl] Using repository:org.jboss.system.server.profileservice.repository.SerializableDeploymentRepository@dea768(root=E:\jboss-5.0.0.GA\server, key=org.jboss.profileservice.spi.ProfileKey@143b82c3[domain=default,server=default,name=default])
      10:00:31,500 INFO [ProfileServiceImpl] Loaded profile: ProfileImpl@6b6ac8{key=org.jboss.profileservice.spi.ProfileKey@143b82c3[domain=default,server=default,name=default]}
      10:00:34,671 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083/
      10:00:36,015 ERROR [ProfileServiceBootstrap] Failed to load profile:
      org.jboss.deployers.spi.DeploymentException: Error determining structure: jbossweb.deployer
      at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
      at org.jboss.deployers.vfs.plugins.structure.explicit.DeclaredStructure.determineStructure(DeclaredStructure.java:87)
      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)
      at org.jboss.deployers.plugins.main.MainDeployerImpl.determineStructure(MainDeployerImpl.java:853)
      at org.jboss.deployers.plugins.main.MainDeployerImpl.addDeployment(MainDeployerImpl.java:303)
      at org.jboss.deployers.plugins.main.MainDeployerImpl.addDeployment(MainDeployerImpl.java:260)
      at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:296)
      at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:205)
      at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405)
      at org.jboss.Main.boot(Main.java:209)
      at org.jboss.Main$1.run(Main.java:547)
      at java.lang.Thread.run(Thread.java:619)
      Caused by: org.jboss.xb.binding.JBossXBRuntimeException: Failed to create a new SAX parser
      at org.jboss.xb.binding.UnmarshallerFactory$UnmarshallerFactoryImpl.newUnmarshaller(UnmarshallerFactory.java:100)
      at org.jboss.deployers.vfs.plugins.structure.explicit.DeclaredStructure.determineStructure(DeclaredStructure.java:70)
      ... 13 more
      Caused by: org.jboss.xb.binding.JBossXBException: Failed to create a new SAX parser
      at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.(SaxJBossXBParser.java:97)
      at org.jboss.xb.binding.UnmarshallerImpl.(UnmarshallerImpl.java:56)
      at org.jboss.xb.binding.UnmarshallerFactory$UnmarshallerFactoryImpl.newUnmarshaller(UnmarshallerFactory.java:96)
      ... 14 more
      Caused by: javax.xml.parsers.ParserConfigurationException: Feature 'http://apache.org/xml/features/xinclude' is not recognized.
      at org.apache.xerces.jaxp.SAXParserFactoryImpl.newSAXParser(Unknown Source)
      at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.(SaxJBossXBParser.java:92)
      ... 16 more
      10:00:36,031 INFO [ServerImpl] JBoss (Microcontainer) [5.0.0.GA (build: SVNTag=JBoss_5_0_0_GA date=200812042120)] Started in 12s:703ms

      i would be very grateful if anyone could help me
      PS: os: winxp sp2
      jdk: 1.6
      jboss ver 5.0.0.GA

        • 1. Re: encountring problems while deploying vectrics-flashrecru
          jaikiran pai Master

          Are you packaging any xml or xerces related jar files in your application?

          copy the libs from vectrics/vectrics-lib/runtime into the directory server/default/lib


          Post the exact list of jars that you copied here.

          • 2. Re: encountring problems while deploying vectrics-flashrecru
            nabil rabhi Newbie

            yes indeed i used xercesImpl.jar and here is the complete list of the *.jars that i used in the project

            activation.jar
            c3p0-0.9.0.3.jar
            commons-beanutils.jar
            commons-collections-2.1.1.jar
            commons-dbcp-1.2.1.jar
            commons-discovery.jar
            commons-fileupload-1.0.jar
            commons-hhtpclient-2.0.jar
            commons-lang-1.0.1.jar
            commons-logging-1.0.4.jar
            commons-net-1.1.0.jar
            commons-pool-1.2.jar
            commons-validator-1.1.3.jar
            ecs-1.4.2.jar
            ehcahce-1.1.jar
            freemaker.jar
            hibernate3.jar
            hibernate-annotations.jar
            hibernate-entitymanager.jar
            itext-1.3.jar
            luence-1.4.3.jar
            mail.jar
            mysql-connector-java-3.0.14-production-bin.jar
            poi-2.2.1-final-20010804.jar
            quartz.jar
            spring-2.0.jar
            spring-core-2.0.jar
            struts.jar
            xercesImpl.jar

            and thankx for your help

            • 3. Re: encountring problems while deploying vectrics-flashrecru
              jaikiran pai Master

              Based on the list, most the jar files are already provided by JBoss, so copying should not be necessary. However, if you need your own version of those jar files, then you need to go for classloader scoping of your application.

              copy the libs from vectrics/vectrics-lib/runtime into the directory server/default/lib


              Copying these jar files isn't a good step. They overwrite the ones provided by the server and can end up in messing up the system. If at all you need all these jars to be included in your application, then follow this wiki (i know, for JBoss-5.x its recommended to use jboss-classloading.xml, but the documentation is not yet available and since you are new to JBoss, its better to have a look at the earlier classloading wiki):

              https://www.jboss.org/community/docs/DOC-9288

              http://www.jboss.org/community/docs/DOC-10290




              • 4. Re: encountring problems while deploying vectrics-flashrecru
                nabil rabhi Newbie

                thanx jaikiran
                but i'm still experiencing the same problem

                • 5. Re: encountring problems while deploying vectrics-flashrecru
                  nabil rabhi Newbie


                  However, if you need your own version of those jar files, then you need to go for classloader scoping of your application.


                  i did a classloading scoping as you recommended following the wiki
                  https://www.jboss.org/community/docs/DOC-9288


                  in fact, i added a jboss-app.xml described below into the flashrecruit.ear\META-INF folder but that did not solve the problem


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

                  <jboss-app>
                  <loader-repository> com.example:archive=flashrecruit.ear </loader-repository>
                  </jboss-app>

                  however, based on the jboss server log when deploying the application it sticks at a file named /recruit-config.xml as you can see below


                  11:40:54,796 ERROR [FileUtil] Could not load: WEB-INF/recruit-config.xml - getFileContents()
                  11:40:54,796 INFO [RecruitStart] Initializing configuration
                  11:40:54,906 ERROR [STDERR] [Fatal Error] :1:49: XML document structures must start and end within the same entity.
                  11:40:54,906 ERROR [ConfigurationReader] Exception parsing XML content:
                  Could not load: WEB-INF/recruit-config.xml
                  org.vectrics.SystemException: SAX Exception parsing content
                  at org.vectrics.common.util.ConfigurationReader.parseContent(ConfigurationReader.java:238)
                  at org.vectrics.common.util.ConfigurationReader.parse(ConfigurationReader.java:70)
                  at org.vectrics.recruiter.RecruitStart.initializeWebApplication(RecruitStart.java:149)
                  at org.vectrics.recruiter.struts.RecruiterServlet.initialize(RecruiterServlet.java:140)
                  at org.vectrics.struts.VectricsServlet.init(VectricsServlet.java:98)
                  at javax.servlet.GenericServlet.init(GenericServlet.java:212)
                  at org.vectrics.struts.VectricsServlet.init(VectricsServlet.java:799)
                  at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1048)
                  at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:950)
                  at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4122)
                  at org.apache.catalina.core.StandardContext.start(StandardContext.java:4421)
                  at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:367)
                  at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:146)
                  at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:460)
                  at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
                  at org.jboss.web.deployers.WebModule.start(WebModule.java:96)
                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:597)
                  at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
                  at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
                  at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                  at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                  at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
                  at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
                  at $Proxy36.start(Unknown Source)
                  at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
                  at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
                  at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContex
                  at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java
                  at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:
                  at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
                  at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)
                  at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
                  at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
                  at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
                  at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
                  at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
                  at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
                  at org.jboss.system.ServiceController.doChange(ServiceController.java:688)
                  at org.jboss.system.ServiceController.start(ServiceController.java:460)
                  at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:146)
                  at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:104)
                  at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:45)
                  at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeploye
                  at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
                  at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
                  at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
                  at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
                  at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
                  at org.jboss.deployers.plugins.deployers.DeployersImpl.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:1598)
                  at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
                  at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
                  at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
                  at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
                  at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
                  at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
                  at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:545)
                  at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:304)
                  at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:205)
                  at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405)
                  at org.jboss.Main.boot(Main.java:209)
                  at org.jboss.Main$1.run(Main.java:547)
                  at java.lang.Thread.run(Thread.java:619)
                  Caused by: org.xml.sax.SAXParseException: XML document structures must start and end within the same entity.
                  at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
                  at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
                  at org.vectrics.common.util.ConfigurationReader.parseContent(ConfigurationReader.java:224)
                  ... 67 more
                  11:40:54,968 ERROR [RecruitStart] Exception starting web app
                  org.vectrics.SystemException: Excpeption parsing config file.
                  at org.vectrics.common.util.ConfigurationReader.parseContent(ConfigurationReader.java:247)
                  at org.vectrics.common.util.ConfigurationReader.parse(ConfigurationReader.java:70)
                  at org.vectrics.recruiter.RecruitStart.initializeWebApplication(RecruitStart.java:149)
                  at org.vectrics.recruiter.struts.RecruiterServlet.initialize(RecruiterServlet.java:140)
                  at org.vectrics.struts.VectricsServlet.init(VectricsServlet.java:98)
                  at javax.servlet.GenericServlet.init(GenericServlet.java:212)
                  at org.vectrics.struts.VectricsServlet.init(VectricsServlet.java:799)
                  at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1048)
                  at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:950)
                  at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4122)
                  at org.apache.catalina.core.StandardContext.start(StandardContext.java:4421)
                  at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:367)
                  at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:146)
                  at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:460)
                  at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
                  at org.jboss.web.deployers.WebModule.start(WebModule.java:96)
                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:597)
                  at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
                  at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
                  at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                  at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                  at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
                  at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
                  at $Proxy36.start(Unknown Source)
                  at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
                  at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
                  at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContex
                  at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java
                  at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:
                  at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
                  at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)
                  at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
                  at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
                  at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
                  at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
                  at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
                  at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
                  at org.jboss.system.ServiceController.doChange(ServiceController.java:688)
                  at org.jboss.system.ServiceController.start(ServiceController.java:460)
                  at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:146)
                  at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:104)
                  at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:45)
                  at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeploye
                  at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
                  at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
                  at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
                  at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
                  at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
                  at org.jboss.deployers.plugins.deployers.DeployersImpl.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:1598)
                  at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
                  at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
                  at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
                  at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
                  at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
                  at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
                  at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:545)
                  at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:304)
                  at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:205)
                  at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405)
                  at org.jboss.Main.boot(Main.java:209)
                  at org.jboss.Main$1.run(Main.java:547)
                  at java.lang.Thread.run(Thread.java:619)
                  Caused by: org.vectrics.SystemException: SAX Exception parsing content
                  at org.vectrics.common.util.ConfigurationReader.parseContent(ConfigurationReader.java:238)
                  ... 67 more
                  Caused by: org.xml.sax.SAXParseException: XML document structures must start and end within the same entity.
                  at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
                  at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
                  at org.vectrics.common.util.ConfigurationReader.parseContent(ConfigurationReader.java:224)
                  ... 67 more
                  11:40:55,093 INFO [SessionCount] Session is null, ignoring close request
                  11:40:55,093 ERROR [VectricsServlet] Exception intializing
                  org.vectrics.SystemException: Exception starting web app
                  at org.vectrics.recruiter.RecruitStart.initializeWebApplication(RecruitStart.java:199)
                  at org.vectrics.recruiter.struts.RecruiterServlet.initialize(RecruiterServlet.java:140)
                  at org.vectrics.struts.VectricsServlet.init(VectricsServlet.java:98)
                  at javax.servlet.GenericServlet.init(GenericServlet.java:212)
                  at org.vectrics.struts.VectricsServlet.init(VectricsServlet.java:799)
                  at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1048)
                  at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:950)
                  at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4122)
                  at org.apache.catalina.core.StandardContext.start(StandardContext.java:4421)
                  at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:367)
                  at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:146)
                  at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:460)
                  at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
                  at org.jboss.web.deployers.WebModule.start(WebModule.java:96)
                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:597)
                  at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
                  at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
                  at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                  at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                  at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
                  at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
                  at $Proxy36.start(Unknown Source)
                  at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
                  at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
                  at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContex
                  at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java
                  at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:
                  at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
                  at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)
                  at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
                  at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
                  at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
                  at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
                  at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
                  at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
                  at org.jboss.system.ServiceController.doChange(ServiceController.java:688)
                  at org.jboss.system.ServiceController.start(ServiceController.java:460)
                  at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:146)
                  at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:104)
                  at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:45)
                  at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeploye
                  at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
                  at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
                  at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
                  at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
                  at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
                  at org.jboss.deployers.plugins.deployers.DeployersImpl.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:1598)
                  at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
                  at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
                  at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
                  at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
                  at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
                  at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
                  at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:545)
                  at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:304)
                  at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:205)
                  at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405)
                  at org.jboss.Main.boot(Main.java:209)
                  at org.jboss.Main$1.run(Main.java:547)
                  at java.lang.Thread.run(Thread.java:619)
                  Caused by: org.vectrics.SystemException: Excpeption parsing config file.
                  at org.vectrics.common.util.ConfigurationReader.parseContent(ConfigurationReader.java:247)
                  at org.vectrics.common.util.ConfigurationReader.parse(ConfigurationReader.java:70)
                  at org.vectrics.recruiter.RecruitStart.initializeWebApplication(RecruitStart.java:149)
                  ... 65 more
                  Caused by: org.vectrics.SystemException: SAX Exception parsing content
                  at org.vectrics.common.util.ConfigurationReader.parseContent(ConfigurationReader.java:238)
                  ... 67 more
                  Caused by: org.xml.sax.SAXParseException: XML document structures must start and end within the same entity.
                  at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
                  at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
                  at org.vectrics.common.util.ConfigurationReader.parseContent(ConfigurationReader.java:224)
                  ... 67 more

                  however the content of this file seems to be valid and does not contain errors:


                  site template-name="default" resource-path="/recruit/custom">

                  <jdbc-driver value="com.mysql.jdbc.Driver"/>
                  <hibernate-dialect value="org.hibernate.dialect.MySQLDialect"/>




                  i think it's not a problem of libs that are in conflict with those of joss but in this xml file knowing that the structure of the ear file is as follow:
                  /flashrecruit/META-INF
                  -manifest.mf
                  -application.xml



                  /flashrecruit/recruiter-intranet.war that contains a folder named custom and in the xml file its ressource-path is /recruiter/custom

                  so could the problem be from this file?