File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JBoss and the fly likes Error installing to Parse: name=vfszip:/E:/Server/jboss-5.0.1.GA/server/default/deploy/JJobs.war Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » JBoss
Reply Bookmark "Error installing to Parse: name=vfszip:/E:/Server/jboss-5.0.1.GA/server/default/deploy/JJobs.war" Watch "Error installing to Parse: name=vfszip:/E:/Server/jboss-5.0.1.GA/server/default/deploy/JJobs.war" New topic
Author

Error installing to Parse: name=vfszip:/E:/Server/jboss-5.0.1.GA/server/default/deploy/JJobs.war

AmitSaini Saini
Greenhorn

Joined: Feb 07, 2012
Posts: 1
Hi,
I am first time using JBoss(Version5).While I deploy my application through eclipse I got the error while I start the server….
Error

08:56:29,818 ERROR [AbstractKernelController] Error installing to Parse: name=vfszip:/E:/Server/jboss-5.0.1.GA/jboss-5.0.1.GA/server/default/deploy/JJobs.war/ state=Not Installed mode=Manual requiredState=Parse
org.jboss.deployers.spi.DeploymentException: Error creating managed object for vfszip:/E:/Server/jboss-5.0.1.GA/jboss-5.0.1.GA/server/default/deploy/JJobs.war/
at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:337)
at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:297)
at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:269)
at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.deploy(AbstractParsingDeployerWithOutput.java:230)
at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:698)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:304)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:205)
at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405)
at org.jboss.Main.boot(Main.java:209)
at org.jboss.Main$1.run(Main.java:547)
at java.lang.Thread.run(Thread.java:722)
Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: TargetNamespace.1: Expecting namespace 'http://java.sun.com/xml/ns/j2ee', but the target namespace of the schema document is 'http://java.sun.com/xml/ns/javaee'. @ http://java.sun.com/xml/ns/j2ee/web-app_2_5.xsd[8,20]
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.deployers.vfs.spi.deployer.JBossXBDeployerHelper.parse(JBossXBDeployerHelper.java:199)
at org.jboss.deployers.vfs.spi.deployer.JBossXBDeployerHelper.parse(JBossXBDeployerHelper.java:170)
at org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(SchemaResolverDeployer.java:132)
at org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(SchemaResolverDeployer.java:118)
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:323)
... 22 more
Caused by: org.xml.sax.SAXException: TargetNamespace.1: Expecting namespace 'http://java.sun.com/xml/ns/j2ee', but the target namespace of the schema document is 'http://java.sun.com/xml/ns/javaee'. @ http://java.sun.com/xml/ns/j2ee/web-app_2_5.xsd[8,20]
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.xs.traversers.XSDHandler.reportSchemaError(Unknown Source)
at org.apache.xerces.impl.xs.traversers.XSDHandler.constructTrees(Unknown Source)
at org.apache.xerces.impl.xs.traversers.XSDHandler.parseSchema(Unknown Source)
at org.apache.xerces.impl.xs.XMLSchemaLoader.loadSchema(Unknown Source)
at org.apache.xerces.impl.xs.XMLSchemaValidator.findSchemaGrammar(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.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)
... 30 more
08:56:35,029 INFO [JMXConnectorServerService] JMX Connector server: service:jmx:rmi://127.0.0.1/jndi/rmi://127.0.0.1:1090/jmxconnector
08:56:35,195 INFO [MailService] Mail Service bound to java:/Mail
08:56:36,342 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.
08:56:36,358 WARN [AnnotationCreator] No ClassLoader provided, using TCCL: org.jboss.managed.api.annotation.ManagementComponent
08:56:36,446 INFO [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc.
08:56:36,447 INFO [TransactionManagerService] Setting up property manager MBean and JMX layer
08:56:36,600 INFO [TransactionManagerService] Initializing recovery manager
08:56:36,708 INFO [TransactionManagerService] Recovery manager configured
08:56:36,709 INFO [TransactionManagerService] Binding TransactionManager JNDI Reference
08:56:36,730 INFO [TransactionManagerService] Starting transaction recovery manager
08:56:37,151 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-127.0.0.1-8080
08:56:37,152 INFO [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-127.0.0.1-8009
08:56:37,152 INFO [StandardService] Starting service jboss.web
08:56:37,156 INFO [StandardEngine] Starting Servlet Engine: JBoss Web/2.1.2.GA
08:56:37,207 INFO [Catalina] Server startup in 51 ms
08:56:37,230 INFO [TomcatDeployment] deploy, ctxPath=/jbossws
08:56:37,695 INFO [TomcatDeployment] deploy, ctxPath=/invoker
08:56:37,765 INFO [TomcatDeployment] deploy, ctxPath=/web-console
08:56:38,118 INFO [RARDeployment] Required license terms exist, view vfszip:/E:/Server/jboss-5.0.1.GA/jboss-5.0.1.GA/server/default/deploy/jboss-local-jdbc.rar/META-INF/ra.xml
08:56:38,144 INFO [RARDeployment] Required license terms exist, view vfszip:/E:/Server/jboss-5.0.1.GA/jboss-5.0.1.GA/server/default/deploy/jboss-xa-jdbc.rar/META-INF/ra.xml
08:56:38,167 INFO [RARDeployment] Required license terms exist, view vfszip:/E:/Server/jboss-5.0.1.GA/jboss-5.0.1.GA/server/default/deploy/jms-ra.rar/META-INF/ra.xml
08:56:38,192 INFO [RARDeployment] Required license terms exist, view vfszip:/E:/Server/jboss-5.0.1.GA/jboss-5.0.1.GA/server/default/deploy/mail-ra.rar/META-INF/ra.xml
08:56:38,217 INFO [RARDeployment] Required license terms exist, view vfszip:/E:/Server/jboss-5.0.1.GA/jboss-5.0.1.GA/server/default/deploy/quartz-ra.rar/META-INF/ra.xml
08:56:38,288 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main
08:56:38,309 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
08:56:38,311 INFO [RAMJobStore] RAMJobStore initialized.
08:56:38,312 INFO [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
08:56:38,312 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2
08:56:38,312 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
08:56:38,638 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'javaefaultDS'
08:56:38,941 INFO [ServerPeer] JBoss Messaging 1.4.1.GA server [0] started
08:56:38,998 WARN [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
08:56:38,998 WARN [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
08:56:39,053 INFO [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds
08:56:39,054 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@690a3404 started
08:56:39,058 INFO [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds
08:56:39,058 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@663b5b74 started
08:56:39,086 INFO [QueueService] Queue[/queue/DLQ] started, fullSize=200000, pageSize=2000, downCacheSize=2000
08:56:39,089 INFO [QueueService] Queue[/queue/ExpiryQueue] started, fullSize=200000, pageSize=2000, downCacheSize=2000
08:56:39,090 INFO [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds
08:56:39,090 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@6fbb12a started
08:56:39,174 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
08:56:39,199 INFO [TomcatDeployment] deploy, ctxPath=/
08:56:39,286 INFO [TomcatDeployment] deploy, ctxPath=/jmx-console
08:56:39,390 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

DEPLOYMENTS IN ERROR:
Deployment "vfszip:/E:/Server/jboss-5.0.1.GA/jboss-5.0.1.GA/server/default/deploy/JJobs.war/" is in error due to the following reason(s): org.xml.sax.SAXException: TargetNamespace.1: Expecting namespace 'http://java.sun.com/xml/ns/j2ee', but the target namespace of the schema document is 'http://java.sun.com/xml/ns/javaee'. @ http://java.sun.com/xml/ns/j2ee/web-app_2_5.xsd[8,20]

08:56:39,402 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080
08:56:39,437 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
08:56:39,449 INFO [ServerImpl] JBoss (Microcontainer) [5.0.1.GA (build: SVNTag=JBoss_5_0_1_GA date=200902231221)] Started in 21s:858ms



I read in one forum That I need to update Jboss.xml file to solve this problem.
From
<jboss 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://www.jboss.org/j2ee/schema/jboss_5_0.xsd"
version="3.0">

to
<jboss xmlns:xs="http://www.jboss.org/j2ee/schema" xs:schemaLocation="http://www.jboss.org/j2ee/schema jboss_5_0.xsd" version="5.0">

But I do know the location of JBoss.xml in JBoss Please tell me location of that file
If there any other problem .please let me know


Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 4875

I think the problem is with your web.xml file, could you post that.


JBoss In Action
 
IntelliJ Java IDE
 
subject: Error installing to Parse: name=vfszip:/E:/Server/jboss-5.0.1.GA/server/default/deploy/JJobs.war
 
Threads others viewed
jboss deployment exception
Jboss 5.0.1GA - Error Installing to PortClassLoader
jboss starting problem in netbeans6.5
vfszip deployment error in Jboss 5.0.1 while deploying struts2 application
java.lang.IllegalStateException while deploying EAR(Webclient + EJB) project to Jboss ..
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com