3 Replies Latest reply on Dec 11, 2009 1:38 PM by Sanjay Bhatt

    another test error: Error installing to Parse: name=vfsfile:

    Gabriella Turek Newbie
      Full error:
      ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] Error installing to Parse: name=vfsfile:/Users/turekg/dev/java/workspace/riskscapemr_seam/bootstrap/deploy/riskscapemr_seam-test-ds.xml state=Not Installed mode=Manual requiredState=Parse
      org.jboss.deployers.spi.DeploymentException: Error creating managed object for vfsfile:/Users/turekg/dev/java/workspace/riskscapemr_seam/bootstrap/deploy/riskscapemr_seam-test-ds.xml

      I am really struggling to get a simple test running. What does this error mean?
      Thanks
      gaby
        • 1. Re: another test error: Error installing to Parse: name=vfsfile:
          Sanjay Bhatt Newbie

          Hi Gaby,


          Did u get the solution for this?


          I am also getting the same issue and not able to do simple testing.


          ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] Error installing to Parse: name=vfsfile:/D:/TNT/workspaces/trunk/umbrella-parent/umbrella-ejb/target/test-classes/ state=Not Installed mode=Manual requiredState=Parse
          org.jboss.deployers.spi.DeploymentException: Error creating managed object for vfsfile:/D:/TNT/workspaces/trunk/umbrella-parent/umbrella-ejb/target/test-classes/umbrella-dev-ds.xml
               at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
               at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:232)
               at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:199)
               at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.deploy(AbstractParsingDeployerWithOutput.java:162)
               at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:169)
               at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:853)
               at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:906)
               at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:794)
               at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:327)
               at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1309)
               at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:734)
               at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:862)
               at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:784)
               at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:622)
               at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:411)
               at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:498)
               at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:506)
               at org.jboss.embedded.DeploymentGroup.process(DeploymentGroup.java:127)
               at org.jboss.embedded.Bootstrap.deployResourceBases(Bootstrap.java:289)
               at org.jboss.seam.mock.EmbeddedBootstrap.startAndDeployResources(EmbeddedBootstrap.java:19)
               at org.jboss.seam.mock.AbstractSeamTest.startJbossEmbeddedIfNecessary(AbstractSeamTest.java:1025)
               at org.jboss.seam.mock.AbstractSeamTest.startSeam(AbstractSeamTest.java:916)
               at org.jboss.seam.mock.SeamTest.startSeam(SeamTest.java:58)
               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:585)
               at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:607)
               at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:417)
               at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:154)
               at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:88)
               at org.testng.SuiteRunner.privateRun(SuiteRunner.java:284)
               at org.testng.SuiteRunner.run(SuiteRunner.java:204)
               at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:877)
               at org.testng.TestNG.runSuitesLocally(TestNG.java:842)
               at org.testng.TestNG.run(TestNG.java:751)
               at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:73)
               at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:124)
          Caused by: javax.xml.bind.UnmarshalException
           - with linked exception:
          [java.net.ConnectException: Connection timed out: connect]
               at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:213)
               at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:190)
               at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:241)
               at org.jboss.resource.deployers.ManagedConnectionFactoryParserDeployer.parse(ManagedConnectionFactoryParserDeployer.java:121)
               at org.jboss.resource.deployers.ManagedConnectionFactoryParserDeployer.parse(ManagedConnectionFactoryParserDeployer.java:59)
               at org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.parse(AbstractVFSParsingDeployer.java:112)
               at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:225)
               ... 36 more
          Caused by: java.net.ConnectException: Connection timed out: connect
               at java.net.PlainSocketImpl.socketConnect(Native Method)
               at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
               at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
               at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
               at java.net.Socket.connect(Socket.java:519)
               at java.net.Socket.connect(Socket.java:469)
               at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
               at sun.net.www.http.HttpClient.openServer(HttpClient.java:382)
               at sun.net.www.http.HttpClient.openServer(HttpClient.java:494)
               at sun.net.www.http.HttpClient.<init>(HttpClient.java:231)
               at sun.net.www.http.HttpClient.New(HttpClient.java:304)
               at sun.net.www.http.HttpClient.New(HttpClient.java:316)
               at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:817)
               at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:769)
               at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:694)
               at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:938)
               at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
               at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source)
               at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown Source)
               at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown Source)
               at org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.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 com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:211)
               ... 42 more
          FAILED CONFIGURATION: @BeforeSuite startSeam
          org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
          


          • 2. Re: another test error: Error installing to Parse: name=vfsfile:
            Paul Keogh Novice
            Are you using 1.6 JRE ?

            If so you need to add the VM argument of -Dsun.lang.ClassLoader.allowArraySyntax=true to the test configuration (Run As/Run Configuration/Arguments tab).
            • 3. Re: another test error: Error installing to Parse: name=vfsfile:
              Sanjay Bhatt Newbie

              Thanks for your reply.


              No, I am using Java 1.5 and Seam 2.1.0 SP1.