4 Replies Latest reply on Apr 27, 2011 9:47 AM by jaikiran

    org.jboss.deployers.spi.DeploymentException: Error creating managed object for vfs

    vrparekh

      Hello,

       

      i got following error when try to deploy solr 3.1 on jboss 6, however solr 1.4.1 worked fine

       

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

       

        JBoss Bootstrap Environment

       

        JBOSS_HOME: /opt/jboss-6.0.0.Final

       

        JAVA: java

       

        JAVA_OPTS: -server -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dsolr.solr.home=/opt/solr -Djava.net.preferIPv4Stack=true -Dprogram.name=run.sh -Djava.library.path=/opt/jboss-6.0.0.Final/bin/native/lib

       

        CLASSPATH: /opt/jboss-6.0.0.Final/bin/run.jar

       

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

       

      15:59:47,033 INFO  [AbstractJBossASServerBase] Server Configuration:

       

              JBOSS_HOME URL: file:/opt/jboss-6.0.0.Final/

              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/

       

      15:59:47,038 INFO  [AbstractServer] Starting: JBossAS [6.0.0.Final "Neo"]

      15:59:49,953 INFO  [ServerInfo] Java version: 1.6.0_20,Sun Microsystems Inc.

      15:59:49,966 INFO  [ServerInfo] Java Runtime: OpenJDK Runtime Environment (build 1.6.0_20-b20)

      15:59:49,966 INFO  [ServerInfo] Java VM: OpenJDK Server VM 19.0-b09,Sun Microsystems Inc.

      15:59:49,968 INFO  [ServerInfo] OS-System: Linux 2.6.32-24-generic,i386

      15:59:49,969 INFO  [ServerInfo] VM arguments: -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dsolr.solr.home=/opt/solr -Djava.net.preferIPv4Stack=true -Dprogram.name=run.sh -Djava.library.path=/opt/jboss-6.0.0.Final/bin/native/lib -Djava.endorsed.dirs=/opt/jboss-6.0.0.Final/lib/endorsed

      15:59:50,067 INFO  [JMXKernel] Legacy JMX core initialized

      16:00:00,793 INFO  [AbstractServerConfig] JBoss Web Services - Stack CXF Server 3.4.1.GA

      16:00:02,056 INFO  [JSFImplManagementDeployer] Initialized 3 JSF configurations: [Mojarra-1.2, MyFaces-2.0, Mojarra-2.0]

      16:00:08,268 ERROR [AbstractKernelController] Error installing to Parse: name=vfs:///opt/jboss-6.0.0.Final/server/default/deploy/solr.war state=PreParse mode=Manual requiredState=Parse: org.jboss.deployers.spi.DeploymentException: Error creating managed object for vfs:///opt/jboss-6.0.0.Final/server/default/deploy/solr.war

              at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49) [:2.2.0.GA]

              at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:383) [:2.2.0.GA]

              at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:343) [:2.2.0.GA]

              at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:315) [:2.2.0.GA]

              at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.deploy(AbstractParsingDeployerWithOutput.java:255) [:2.2.0.GA]

              at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179) [:2.2.0.GA]

              at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1832) [:2.2.0.GA]

              at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1550) [:2.2.0.GA]

              at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1491) [:2.2.0.GA]

              at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.GA]

              at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.GA]

              at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.GA]

              at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.GA]

              at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.GA]

              at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.GA]

              at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939) [jboss-dependency.jar:2.2.0.GA]

              at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654) [jboss-dependency.jar:2.2.0.GA]

              at org.jboss.deployers.plugins.deployers.DeployersImpl.change(DeployersImpl.java:1983) [:2.2.0.GA]

              at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:1076) [:2.2.0.GA]

              at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:679) [:2.2.0.GA]

              at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.process(MainDeployerPlugin.java:106) [:6.0.0.Final]

              at org.jboss.profileservice.dependency.ProfileControllerContext$DelegateDeployer.process(ProfileControllerContext.java:143) [:0.2.2]

              at org.jboss.profileservice.dependency.ProfileDeployAction.deploy(ProfileDeployAction.java:151) [:0.2.2]

              at org.jboss.profileservice.dependency.ProfileDeployAction.installActionInternal(ProfileDeployAction.java:94) [:0.2.2]

              at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54) [jboss-kernel.jar:2.2.0.GA]

              at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42) [jboss-kernel.jar:2.2.0.GA]

              at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) [jboss-dependency.jar:2.2.0.GA]

              at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) [jboss-dependency.jar:2.2.0.GA]

              at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) [jboss-dependency.jar:2.2.0.GA]

              at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.GA]

              at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.GA]

              at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.GA]

              at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.GA]

              at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.GA]

              at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.GA]

              at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939) [jboss-dependency.jar:2.2.0.GA]

              at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654) [jboss-dependency.jar:2.2.0.GA]

              at org.jboss.profileservice.dependency.ProfileActivationWrapper$BasicProfileActivation.start(ProfileActivationWrapper.java:190) [:0.2.2]

              at org.jboss.profileservice.dependency.ProfileActivationWrapper.start(ProfileActivationWrapper.java:87) [:0.2.2]

              at org.jboss.profileservice.dependency.ProfileActivationService.activateProfile(ProfileActivationService.java:215) [:0.2.2]

              at org.jboss.profileservice.dependency.ProfileActivationService.activate(ProfileActivationService.java:159) [:0.2.2]

              at org.jboss.profileservice.bootstrap.AbstractProfileServiceBootstrap.activate(AbstractProfileServiceBootstrap.java:112) [:0.2.2]

              at org.jboss.profileservice.resolver.BasicResolverFactory$ProfileResolverFacade.deploy(BasicResolverFactory.java:87) [:0.2.2]

              at org.jboss.profileservice.bootstrap.AbstractProfileServiceBootstrap.start(AbstractProfileServiceBootstrap.java:91) [:0.2.2]

              at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:132) [:6.0.0.Final]

              at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:56) [:6.0.0.Final]

              at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:827) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]

              at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:417) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]

              at java.lang.Thread.run(Thread.java:636) [:1.6.0_20]

      Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: vfs:///opt/jboss-6.0.0.Final/server/default/deploy/solr.war/WEB-INF/lib/velocity-tools-2.0-beta3.jar/META-INF/velocity-view.tld@19,16

              at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:224) [jbossxb.jar:2.0.3.GA]

              at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:178) [jbossxb.jar:2.0.3.GA]

              at org.jboss.xb.util.JBossXBHelper.parse(JBossXBHelper.java:257) [jbossxb.jar:2.0.3.GA]

              at org.jboss.xb.util.JBossXBHelper.parse(JBossXBHelper.java:231) [jbossxb.jar:2.0.3.GA]

              at org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(SchemaResolverDeployer.java:137) [:2.2.0.GA]

              at org.jboss.deployment.TldParsingDeployer.parse(TldParsingDeployer.java:64) [:6.0.0.Final]

              at org.jboss.deployment.TldParsingDeployer.parse(TldParsingDeployer.java:38) [:6.0.0.Final]

              at org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(SchemaResolverDeployer.java:121) [:2.2.0.GA]

              at org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.parseAndInit(AbstractVFSParsingDeployer.java:352) [:2.2.0.GA]

              at org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.parse(AbstractVFSParsingDeployer.java:317) [:2.2.0.GA]

              at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:376) [:2.2.0.GA]

              ... 47 more

      Caused by: org.xml.sax.SAXException: Element type "tlibversion" must be declared. @ vfs:///opt/jboss-6.0.0.Final/server/default/deploy/solr.war/WEB-INF/lib/velocity-tools-2.0-beta3.jar/META-INF/velocity-view.tld[19,16]

              at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.error(SaxJBossXBParser.java:416) [jbossxb.jar:2.0.3.GA]

              at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source) [xercesImpl.jar:6.0.0.Final]

              at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) [xercesImpl.jar:6.0.0.Final]

              at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) [xercesImpl.jar:6.0.0.Final]

              at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) [xercesImpl.jar:6.0.0.Final]

              at org.apache.xerces.impl.dtd.XMLDTDValidator.handleStartElement(Unknown Source) [xercesImpl.jar:6.0.0.Final]

              at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown Source) [xercesImpl.jar:6.0.0.Final]

              at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) [xercesImpl.jar:6.0.0.Final]

              at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) [xercesImpl.jar:6.0.0.Final]

              at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) [xercesImpl.jar:6.0.0.Final]

              at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) [xercesImpl.jar:6.0.0.Final]

              at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) [xercesImpl.jar:6.0.0.Final]

              at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) [xercesImpl.jar:6.0.0.Final]

              at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) [xercesImpl.jar:6.0.0.Final]

              at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) [xercesImpl.jar:6.0.0.Final]

              at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:209) [jbossxb.jar:2.0.3.GA]

              ... 57 more

       

      16:00:08,463 WARNING [FileConfigurationParser] AIO wasn't located on this platform, it will fall back to using pure Java NIO. If your platform is Linux, install LibAIO to enable the AIO journal

      16:00:16,129 WARNING [FileConfigurationParser] AIO wasn't located on this platform, it will fall back to using pure Java NIO. If your platform is Linux, install LibAIO to enable the AIO journal

      16:00:16,637 INFO  [JMXConnector] starting JMXConnector on host 0.0.0.0:1090

      16:00:16,813 INFO  [MailService] Mail Service bound to java:/Mail

      16:00:18,858 INFO  [HornetQServerImpl] live server is starting..

      16:00:18,938 INFO  [JournalStorageManager] Using NIO Journal

      16:00:18,963 WARNING [HornetQServerImpl] Security risk! It has been detected that the cluster admin user and password have not been changed from the installation default. Please see the HornetQ user guide, cluster chapter, for instructions on how to do this.

      16:00:20,326 INFO  [NettyAcceptor] Started Netty Acceptor version 3.2.1.Final-r2319 0.0.0.0:5455 for CORE protocol

      16:00:20,328 INFO  [NettyAcceptor] Started Netty Acceptor version 3.2.1.Final-r2319 0.0.0.0:5445 for CORE protocol

      16:00:20,342 INFO  [HornetQServerImpl] HornetQ Server version 2.1.2.Final (Colmeia, 120) started

      16:00:20,509 INFO  [WebService] Using RMI server codebase: http://ssoqa:8083/

      16:00:20,925 INFO  [jbossatx] ARJUNA-32010 JBossTS Recovery Service (tag: JBOSSTS_4_14_0_Final) - JBoss Inc.

      16:00:20,971 INFO  [arjuna] ARJUNA-12324 Start RecoveryActivators

      16:00:20,996 INFO  [arjuna] ARJUNA-12296 ExpiredEntryMonitor running at Wed, 27 Apr 2011 16:00:20

      16:00:21,553 INFO  [arjuna] ARJUNA-12310 Recovery manager listening on endpoint 0.0.0.0:4712

      16:00:21,554 INFO  [arjuna] ARJUNA-12344 RecoveryManagerImple is ready on port 4712

      16:00:21,554 INFO  [jbossatx] ARJUNA-32013 Starting transaction recovery manager

      16:00:21,576 INFO  [arjuna] ARJUNA-12163 Starting service com.arjuna.ats.arjuna.recovery.ActionStatusService on port 4713

      16:00:21,577 INFO  [arjuna] ARJUNA-12337 TransactionStatusManagerItem host: 0.0.0.0 port: 4713

      16:00:21,591 INFO  [arjuna] ARJUNA-12170 TransactionStatusManager started on port 4713 and host 0.0.0.0 with service com.arjuna.ats.arjuna.recovery.ActionStatusService

      16:00:21,658 INFO  [jbossatx] ARJUNA-32017 JBossTS Transaction Service (JTA version - tag: JBOSSTS_4_14_0_Final) - JBoss Inc.

      16:00:21,737 INFO  [arjuna] ARJUNA-12202 registering bean jboss.jta:type=ObjectStore.

      16:00:22,362 INFO  [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /opt/jboss-6.0.0.Final/bin/native/lib

      16:00:22,823 INFO  [TomcatDeployment] deploy, ctxPath=/invoker

      16:00:23,615 INFO  [ModClusterService] Initializing mod_cluster 1.1.0.Final

      16:00:23,697 INFO  [RARDeployment] Required license terms exist, view vfs:/opt/jboss-6.0.0.Final/server/default/deploy/jboss-local-jdbc.rar/META-INF/ra.xml

      16:00:23,720 INFO  [RARDeployment] Required license terms exist, view vfs:/opt/jboss-6.0.0.Final/server/default/deploy/jboss-xa-jdbc.rar/META-INF/ra.xml

      16:00:23,741 INFO  [RARDeployment] Required license terms exist, view vfs:/opt/jboss-6.0.0.Final/server/default/deploy/jms-ra.rar/META-INF/ra.xml

      16:00:23,761 INFO  [HornetQResourceAdapter] HornetQ resource adaptor started

      16:00:23,769 INFO  [RARDeployment] Required license terms exist, view vfs:/opt/jboss-6.0.0.Final/server/default/deploy/mail-ra.rar/META-INF/ra.xml

      16:00:23,786 INFO  [RARDeployment] Required license terms exist, view vfs:/opt/jboss-6.0.0.Final/server/default/deploy/quartz-ra.rar/META-INF/ra.xml

      16:00:23,881 INFO  [SimpleThreadPool] Job execution threads will use class loader of thread: Thread-2

      16:00:23,923 INFO  [SchedulerSignalerImpl] Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl

      16:00:23,924 INFO  [QuartzScheduler] Quartz Scheduler v.1.8.3 created.

      16:00:23,927 INFO  [RAMJobStore] RAMJobStore initialized.

      16:00:23,929 INFO  [QuartzScheduler] Scheduler meta-data: Quartz Scheduler (v1.8.3) 'JBossQuartzScheduler' with instanceId 'NON_CLUSTERED'

        Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.

        NOT STARTED.

        Currently in standby mode.

        Number of jobs executed: 0

        Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 10 threads.

        Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persistence. and is not clustered.

       

      16:00:23,930 INFO  [StdSchedulerFactory] Quartz scheduler 'JBossQuartzScheduler' initialized from an externally opened InputStream.

      16:00:23,930 INFO  [StdSchedulerFactory] Quartz scheduler version: 1.8.3

      16:00:23,931 INFO  [QuartzScheduler] Scheduler JBossQuartzScheduler_$_NON_CLUSTERED started.

      16:00:24,976 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'

      16:00:25,684 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'

      16:00:26,081 INFO  [xnio] XNIO Version 2.1.0.CR2

      16:00:26,103 INFO  [nio] XNIO NIO Implementation Version 2.1.0.CR2

      16:00:26,646 INFO  [remoting] JBoss Remoting version 3.1.0.Beta2

      16:00:26,796 INFO  [TomcatDeployment] deploy, ctxPath=/

      16:00:26,842 INFO  [service] Removing bootstrap log handlers

      16:00:26,909 ERROR [ProfileServiceBootstrap] Failed to load profile:: org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

       

      DEPLOYMENTS IN ERROR:

        Deployment "vfs:///opt/jboss-6.0.0.Final/server/default/deploy/solr.war" is in error due to the following reason(s): org.xml.sax.SAXException: Element type "tlibversion" must be declared. @ vfs:///opt/jboss-6.0.0.Final/server/default/deploy/solr.war/WEB-INF/lib/velocity-tools-2.0-beta3.jar/META-INF/velocity-view.tld[19,16]

       

              at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:1228) [:2.2.0.GA]

              at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:905) [:2.2.0.GA]

              at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.checkComplete(MainDeployerPlugin.java:87) [:6.0.0.Final]

              at org.jboss.profileservice.deployment.ProfileDeployerPluginRegistry.checkAllComplete(ProfileDeployerPluginRegistry.java:107) [:0.2.2]

              at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:135) [:6.0.0.Final]

              at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:56) [:6.0.0.Final]

              at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:827) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]

              at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:417) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]

              at java.lang.Thread.run(Thread.java:636) [:1.6.0_20]

       

      16:00:26,942 INFO  [org.apache.coyote.http11.Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080

      16:00:26,945 INFO  [org.apache.coyote.ajp.AjpProtocol] Starting Coyote AJP/1.3 on ajp-0.0.0.0-8009

      16:00:26,946 INFO  [org.jboss.bootstrap.impl.base.server.AbstractServer] JBossAS [6.0.0.Final "Neo"] Started in 39s:900ms

       

      please help me to solve problem

       

      Thanks

       

      Vishal Parekh

        • 1. org.jboss.deployers.spi.DeploymentException: Error creating managed object for vfs
          alesj

          Looks like .tld parsing is very strict:

           

          Caused by: org.xml.sax.SAXException: Element type "tlibversion" must be declared. @ vfs:///opt/jboss-6.0.0.Final/server/default/deploy/solr.war/WEB-INF/lib/velocity-tools-2.0-beta3.jar/META-INF/velocity-view.tld[19,16]

           

          Try fixing this, and re-package to see if it will run afterwards.

          Perhaps xml validation could be disabled then on the deployer itself.

          • 2. org.jboss.deployers.spi.DeploymentException: Error creating managed object for vfs
            vrparekh

            Thanks Ales

             

            below is velocity-view.tld file

             

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

            <!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN" "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">

            <!--

             

             

               Licensed under the Apache License, Version 2.0 (the "License");

               you may not use this file except in compliance with the License.

               You may obtain a copy of the License at

             

                   http://www.apache.org/licenses/LICENSE-2.0

             

               Unless required by applicable law or agreed to in writing, software

               distributed under the License is distributed on an "AS IS" BASIS,

               WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

               See the License for the specific language governing permissions and

               limitations under the License.

            -->

            <taglib>

              <tlibversion>1.0</tlibversion>

              <jspversion>1.2</jspversion>

              <shortname>velocity</shortname>

              <uri>http://velocity.apache.org/velocity-view</uri>

              <display-name>VelocityView Tag</display-name>

              <description><![CDATA[Support for using Velocity and VelocityTools within JSP files and tags.

                                    This makes it trivial to render VTL (Velocity Template Language)

                                    or process a Velocity template from within JSP using the current

                                    context.  This also provides the typical VelocityView support

                                    for accessing and configuring both custom and provided

                                    VelocityTools.]]></description>

              <tag>

                <name>view</name>

                <tagclass>org.apache.velocity.tools.view.jsp.VelocityViewTag</tagclass>

                <bodycontent>tagdependent</bodycontent>

                <attribute>

                  <name>id</name>

                  <required>false</required>

                  <rtexprvalue>true</rtexprvalue>

                  <description><![CDATA[A id unique to this usage of the VelocityViewTag.  This id is used to uniquely identify this tag in log messages and hopefully at some point serve as a key under which any body for this tag may be cached as an already-parsed template for improved performance. If no id is specified, then a unique is automatically generated, though that will understandably be less useful in log messages.]]></description>

                </attribute>

                <attribute>

                  <name>var</name>

                  <required>false</required>

                  <rtexprvalue>true</rtexprvalue>

                  <description><![CDATA[A variable name whose value should be set to the rendered result of this tag.]]></description>

                </attribute>

                <attribute>

                  <name>scope</name>

                  <required>false</required>

                  <rtexprvalue>true</rtexprvalue>

                  <description><![CDATA[This property is meaningless unless a 'var' attribute is also set.  When it is, this determines the scope into which the resulting variable is set.]]></description>

                </attribute>

                <attribute>

                  <name>template</name>

                  <required>false</required>

                  <rtexprvalue>true</rtexprvalue>

                  <description><![CDATA[The name of a template to be requested from the configured Velocity resource loaders and rendered into the page (or variable if the 'var' attribute is set) using the current context.  If this tag also has body content, then the body will be rendered first and placed into the context used to render the template as '$bodyContent'; this approximates the "two-pass render" used by the VelocityLayoutServlet.]]></description>

                </attribute>

                <attribute>

                  <name>bodyContentKey</name>

                  <required>false</required>

                  <rtexprvalue>true</rtexprvalue>

                  <description><![CDATA[This property is meaningless unless a 'template' attribute is set and the tag has body content in it.  When it is, this changes the key under which the rendered result of the body content is placed into the context for use by the specified template.  The default value is "bodyContent" and should be sufficient for nearly all users.]]></description>

                </attribute>

              </tag>

            </taglib>

            • 3. org.jboss.deployers.spi.DeploymentException: Error creating managed object for vfs
              alesj

              Strange, as this <tlibversion>1.0</tlibversion> is clearly there.

              But I'm no .tld expert ...

              • 4. org.jboss.deployers.spi.DeploymentException: Error creating managed object for vfs
                jaikiran

                The .tld is incorrect. The xsd expects it to be tlib-version and jsp-version (note the -).