1 Reply Latest reply on Aug 18, 2014 6:27 AM by wdfink

    Exception determining structure: AbstractVFSDeployment

    noussaier

      Hello,

      I try to run my first JavaEE application with JBoss server (v6). The following exceptions occured :

       

      19:09:28,377 INFO  [AbstractJBossASServerBase] Server Configuration:

       

       

        JBOSS_HOME URL: file:/C:/jboss-6.0.0.M1/

        Bootstrap: $JBOSS_HOME\server/default/conf/bootstrap.xml

        Common Base: $JBOSS_HOME\common/

        Common Library: $JBOSS_HOME\common/lib/

        Server Name: default

        Server Base: $JBOSS_HOME\server/

        Server Library: $JBOSS_HOME\server/default/lib/

        Server Config: $JBOSS_HOME\server/default/conf/

        Server Home: $JBOSS_HOME\server/default/

        Server Data: $JBOSS_HOME\server/default/data/

        Server Log: $JBOSS_HOME\server/default/log/

        Server Temp: $JBOSS_HOME\server/default/tmp/

       

       

      19:09:28,437 INFO  [AbstractServer] Starting: JBossAS [6.0.0.M1 (build: SVNTag=JBoss_6_0_0_M1 date=200912040958)]

      19:09:29,639 INFO  [AbstractMCServerBase] Starting Microcontainer, Main bootstrapURL=file:/C:/jboss-6.0.0.M1/server/default/conf/bootstrap.xml

      19:09:30,641 INFO  [VFSCacheFactory] Initializing VFSCache [org.jboss.virtual.plugins.cache.CombinedVFSCache]

      19:09:30,641 INFO  [VFSCacheFactory] Using VFSCache [CombinedVFSCache[real-cache: null]]

      19:09:31,061 INFO  [CopyMechanism] VFS temp dir: C:\jboss-6.0.0.M1\server\default\tmp

      19:09:31,171 INFO  [ZipEntryContext] VFS force nested jars copy-mode is enabled.

      19:09:33,094 INFO  [ServerInfo] Java version: 1.7.0_67,Oracle Corporation

      19:09:33,094 INFO  [ServerInfo] Java Runtime: Java(TM) SE Runtime Environment (build 1.7.0_67-b01)

      19:09:33,094 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Client VM 24.65-b04,Oracle Corporation

      19:09:33,094 INFO  [ServerInfo] OS-System: Windows XP 5.1,x86

      19:09:33,094 INFO  [ServerInfo] VM arguments: -Dprogram.name=JBossTools: JBoss 6.x -Xms256m -Xmx768m -XX:MaxPermSize=256m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.endorsed.dirs=C:\jboss-6.0.0.M1\lib\endorsed -Dfile.encoding=Cp1252

      19:09:33,194 INFO  [JMXKernel] Legacy JMX core initialized

      19:09:37,510 INFO  [Log4jService$URLWatchTimerTask] Configuring from URL: resource:jboss-log4j.xml

      19:09:37,851 INFO  [WebService] Using RMI server codebase: http://localhost:8083/

      19:09:49,347 INFO  [AbstractServerConfig] JBoss Web Services - Native Server

      19:09:49,347 INFO  [AbstractServerConfig] 3.2.1.GA

      19:09:54,305 INFO  [LogNotificationListener] Adding notification listener for logging mbean "jboss.system:service=Logging,type=Log4jService" to server org.jboss.mx.server.MBeanServerImpl@12933cb[ defaultDomain='null' ]

      19:10:04,539 INFO  [JMXConnectorServerService] JMX Connector server: service:jmx:rmi://localhost/jndi/rmi://localhost:1090/jmxconnector

      19:10:05,130 INFO  [MailService] Mail Service bound to java:/Mail

      19:10:09,356 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.

      19:10:09,617 INFO  [TransactionManagerService] JBossTS Transaction Service (JTA version - tag:JBOSSTS_4_6_1_GA) - JBoss Inc.

      19:10:09,617 INFO  [TransactionManagerService] Setting up property manager MBean and JMX layer

      19:10:10,458 INFO  [TransactionManagerService] Initializing recovery manager

      19:10:10,918 INFO  [TransactionManagerService] Recovery manager configured

      19:10:10,918 INFO  [TransactionManagerService] Binding TransactionManager JNDI Reference

      19:10:11,009 INFO  [TransactionManagerService] Starting transaction recovery manager

      19:10:11,840 INFO  [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre7\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;native;C:/Program Files/Java/jre7/bin/client;C:/Program Files/Java/jre7/bin;C:/Program Files/Java/jre7/lib/i386;C:\oraclexe\app\oracle\product\10.2.0\server\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\eclipse;;.

      19:10:11,900 INFO  [Http11Protocol] Initialisation de Coyote HTTP/1.1 sur http-localhost%2F127.0.0.1-8085

      19:10:11,900 INFO  [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-localhost%2F127.0.0.1-8014

      19:10:11,930 INFO  [StandardService] D�marrage du service jboss.web

      19:10:11,930 INFO  [StandardEngine] Starting Servlet Engine: JBoss Web/2.1.6.GA

      19:10:11,990 INFO  [Catalina] Server startup in 81 ms

      19:10:12,010 INFO  [TomcatDeployment] deploy, ctxPath=/web-console

      19:10:14,313 INFO  [TomcatDeployment] deploy, ctxPath=/jbossws

      19:10:14,343 INFO  [TomcatDeployment] deploy, ctxPath=/invoker

      19:10:14,514 INFO  [RARDeployment] Required license terms exist, view vfszip:/C:/jboss-6.0.0.M1/server/default/deploy/jboss-local-jdbc.rar/META-INF/ra.xml

      19:10:14,534 INFO  [RARDeployment] Required license terms exist, view vfszip:/C:/jboss-6.0.0.M1/server/default/deploy/jboss-xa-jdbc.rar/META-INF/ra.xml

      19:10:14,544 INFO  [RARDeployment] Required license terms exist, view vfszip:/C:/jboss-6.0.0.M1/server/default/deploy/jms-ra.rar/META-INF/ra.xml

      19:10:14,554 INFO  [RARDeployment] Required license terms exist, view vfszip:/C:/jboss-6.0.0.M1/server/default/deploy/mail-ra.rar/META-INF/ra.xml

      19:10:14,574 INFO  [RARDeployment] Required license terms exist, view vfszip:/C:/jboss-6.0.0.M1/server/default/deploy/quartz-ra.rar/META-INF/ra.xml

      19:10:14,714 INFO  [SimpleThreadPool] Job execution threads will use class loader of thread: Thread-2

      19:10:14,754 INFO  [QuartzScheduler] Quartz Scheduler v.1.5.2 created.

      19:10:14,754 INFO  [RAMJobStore] RAMJobStore initialized.

      19:10:14,754 INFO  [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'

      19:10:14,754 INFO  [StdSchedulerFactory] Quartz scheduler version: 1.5.2

      19:10:14,754 INFO  [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.

      19:10:15,445 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'

      19:10:16,126 INFO  [ServerPeer] JBoss Messaging 1.4.3.GA server [0] started

      19:10:16,346 INFO  [ConnectionFactory] Connector bisocket://localhost:4457 has leasing enabled, lease period 10000 milliseconds

      19:10:16,346 INFO  [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@3b27ae started

      19:10:16,366 INFO  [QueueService] Queue[/queue/ExpiryQueue] started, fullSize=200000, pageSize=2000, downCacheSize=2000

      19:10:16,366 INFO  [QueueService] Queue[/queue/DLQ] started, fullSize=200000, pageSize=2000, downCacheSize=2000

      19:10:16,376 INFO  [ConnectionFactory] Connector bisocket://localhost:4457 has leasing enabled, lease period 10000 milliseconds

      19:10:16,376 INFO  [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@145d31c started

      19:10:16,376 INFO  [ConnectionFactoryJNDIMapper] supportsFailover attribute is true on connection factory: jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but post office is non clustered. So connection factory will *not* support failover

      19:10:16,376 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

      19:10:16,376 INFO  [ConnectionFactory] Connector bisocket://localhost:4457 has leasing enabled, lease period 10000 milliseconds

      19:10:16,376 INFO  [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@190b97d started

      19:10:16,516 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'

      19:10:16,547 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=OracleDS' to JNDI name 'java:OracleDS'

      19:10:16,727 INFO  [TomcatDeployment] deploy, ctxPath=/admin-console

      19:10:17,047 ERROR [MyfacesConfig] Both MyFaces and the RI are on your classpath. Please make sure to use only one of the two JSF-implementations.

      19:10:17,628 WARN  [LocaleUtils] Locale name in faces-config.xml null or empty, setting locale to default locale : fr_FR

      19:10:21,794 INFO  [TomcatDeployment] deploy, ctxPath=/

      19:10:21,894 INFO  [TomcatDeployment] deploy, ctxPath=/jmx-console

      19:10:22,004 INFO  [ProfileServiceBootstrap] Loading profile: ProfileKey@18bcae5[domain=default, server=default, name=default]

      19:10:22,014 INFO  [Http11Protocol] D�marrage de Coyote HTTP/1.1 sur http-localhost%2F127.0.0.1-8085

      19:10:22,034 INFO  [AjpProtocol] Starting Coyote AJP/1.3 on ajp-localhost%2F127.0.0.1-8014

      19:10:22,034 INFO  [AbstractServer] JBossAS [6.0.0.M1 (build: SVNTag=JBoss_6_0_0_M1 date=200912040958)] Started in 53s:567ms

      19:10:47,161 WARN  [HDScanner] Failed to add deployment: vfsfile:/C:/Documents%20and%20Settings/NBD/workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_6.x_Runtime_Server1407052796109/deploy/VenteEnLigne.ear/

      org.jboss.deployers.spi.DeploymentException: Exception determining structure: AbstractVFSDeployment(VenteEnLigne.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:1001)

        at org.jboss.deployers.plugins.main.MainDeployerImpl.determineDeploymentContext(MainDeployerImpl.java:437)

        at org.jboss.deployers.plugins.main.MainDeployerImpl.addDeployment(MainDeployerImpl.java:387)

        at org.jboss.deployers.plugins.main.MainDeployerImpl.addDeployment(MainDeployerImpl.java:297)

        at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.addDeployment(MainDeployerAdapter.java:86)

        at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:347)

        at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:256)

        at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

        at java.util.concurrent.FutureTask.runAndReset(Unknown Source)

        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)

        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

        at java.lang.Thread.run(Unknown Source)

      Caused by: java.lang.RuntimeException: Error determining structure: VenteEnLigne.ear

        at org.jboss.deployment.EARStructure.determineStructure(EARStructure.java:307)

        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)

        ... 14 more

      Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: Failed to parse schema for nsURI=http://java.sun.com/xml/ns/javaee, baseURI=null, schemaLocation=http://java.sun.com/xml/ns/javaee/application_6.xsd

        at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:203)

        at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:183)

        at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:161)

        at org.jboss.deployment.EARStructure.determineStructure(EARStructure.java:162)

        ... 18 more

      Caused by: org.jboss.xb.binding.JBossXBRuntimeException: Failed to parse schema for nsURI=http://java.sun.com/xml/ns/javaee, baseURI=null, schemaLocation=http://java.sun.com/xml/ns/javaee/application_6.xsd

        at org.jboss.xb.binding.resolver.AbstractMutableSchemaResolver.resolve(AbstractMutableSchemaResolver.java:347)

        at org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.startElement(SundayContentHandler.java:279)

        at org.jboss.xb.binding.parser.sax.SaxJBossXBParser$DelegatingContentHandler.startElement(SaxJBossXBParser.java:401)

        at org.apache.xerces.parsers.AbstractSAXParser.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.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(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)

        ... 21 more

      Caused by: org.jboss.xb.binding.JBossXBRuntimeException: -1:-1 31:3 The declaration for the entity "HTML.Version" must end with '>'.

        at org.jboss.xb.binding.sunday.unmarshalling.XsdBinderTerminatingErrorHandler.handleError(XsdBinderTerminatingErrorHandler.java:40)

        at org.apache.xerces.impl.xs.XMLSchemaLoader.reportDOMFatalError(Unknown Source)

        at org.apache.xerces.impl.xs.XSLoaderImpl.load(Unknown Source)

        at org.jboss.xb.binding.Util.loadSchema(Util.java:389)

        at org.jboss.xb.binding.sunday.unmarshalling.XsdBinder.bind(XsdBinder.java:177)

        at org.jboss.xb.binding.sunday.unmarshalling.XsdBinder.bind(XsdBinder.java:148)

        at org.jboss.xb.binding.resolver.AbstractMutableSchemaResolver.resolve(AbstractMutableSchemaResolver.java:339)

        ... 35 more


      The content of application.xml file is:


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

      <application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:application="http://java.sun.com/xml/ns/javaee/application_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_6.xsd" id="Application_ID" version="6">

        <display-name>VenteEnLigne</display-name>

        <module>

          <ejb>VenteEnLigneEJB.jar</ejb>

        </module>

        <module>

          <web>

            <web-uri>VenteEnLigneWeb.war</web-uri>

            <context-root>VenteEnLigneWeb</context-root>

          </web>

        </module>

        <module>

          <connector>VenteEnLigneConnector.rar</connector>

        </module>

        <module>

          <java>VenteEnLigneClient.jar</java>

        </module>

      </application>

       

      What i have to do to run correctly my application without these exceptions ???

      Thank you.

        • 1. Re: Exception determining structure: AbstractVFSDeployment
          wdfink

          Looks like a problem with XML or schema validation. Not sure what the problem is.

           

          But I strongly recommend to use the AS7 or better the WildFly (wildfly.org - is a rename of JBossAS) .

          These are the followers and WildFly implement the newest versions of the EE specification.

          Also you will have better responses as AS6 is an outdated version