Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-2863

Unable to start standalone business central without internet access

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 7.11.0.Final
    • Component/s: None
    • Labels:
    • Environment:

      Machine without internet access

    • Sprint:
      2018 Week 30-32, 2018 Week 33-35
    • Docs QE Status:
      NEW
    • QE Status:
      NEW

      Description

      Running business-central standalone on a machine without internet access fails to start:

      $ java -jar ~/Downloads/rhpam-7.0.0.GA-business-central-standalone.jar -s application-config.yaml
       
      ...
      2018-06-26 12:38:32,597 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: WildFly Swarm 7.1.0.redhat-72 (WildFly Core 3.0.12.Final-redhat-1) started in 1462ms - Started 187 of 214 services (52 services are lazy, passive or on-demand)
      2018-06-26 12:38:35,342 ERROR [stderr] (main) org.wildfly.swarm.container.DeploymentException: java.lang.RuntimeException: org.jboss.shrinkwrap.descriptor.api.DescriptorImportException: Could not import XML from stream
      2018-06-26 12:38:35,342 ERROR [stderr] (main) 	at org.wildfly.swarm.container.runtime.RuntimeDeployer.deploy(RuntimeDeployer.java:301)
      2018-06-26 12:38:35,342 ERROR [stderr] (main) 	at org.wildfly.swarm.container.runtime.RuntimeDeployer.deploy(RuntimeDeployer.java:174)
      2018-06-26 12:38:35,342 ERROR [stderr] (main) 	at org.wildfly.swarm.container.runtime.RuntimeDeployer.deploy(RuntimeDeployer.java:107)
      2018-06-26 12:38:35,342 ERROR [stderr] (main) 	at org.wildfly.swarm.container.runtime.RuntimeDeployer$Proxy$_$$_WeldClientProxy.deploy(Unknown Source)
      2018-06-26 12:38:35,342 ERROR [stderr] (main) 	at org.wildfly.swarm.Swarm.deploy(Swarm.java:473)
      2018-06-26 12:38:35,342 ERROR [stderr] (main) 	at org.wildfly.swarm.Swarm.main(Swarm.java:744)
      2018-06-26 12:38:35,342 ERROR [stderr] (main) 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2018-06-26 12:38:35,342 ERROR [stderr] (main) 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      2018-06-26 12:38:35,343 ERROR [stderr] (main) 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      2018-06-26 12:38:35,343 ERROR [stderr] (main) 	at java.lang.reflect.Method.invoke(Method.java:498)
      2018-06-26 12:38:35,343 ERROR [stderr] (main) 	at org.wildfly.swarm.bootstrap.MainInvoker.invoke(MainInvoker.java:53)
      2018-06-26 12:38:35,343 ERROR [stderr] (main) 	at org.wildfly.swarm.bootstrap.Main.run(Main.java:132)
      2018-06-26 12:38:35,343 ERROR [stderr] (main) 	at org.wildfly.swarm.bootstrap.Main.main(Main.java:85)
      2018-06-26 12:38:35,343 ERROR [stderr] (main) Caused by: java.lang.RuntimeException: org.jboss.shrinkwrap.descriptor.api.DescriptorImportException: Could not import XML from stream
      2018-06-26 12:38:35,343 ERROR [stderr] (main) 	at org.wildfly.swarm.spi.api.ClassLoading.withTCCL(ClassLoading.java:45)
      2018-06-26 12:38:35,343 ERROR [stderr] (main) 	at org.wildfly.swarm.undertow.descriptors.JBossWebAsset.<init>(JBossWebAsset.java:41)
      2018-06-26 12:38:35,343 ERROR [stderr] (main) 	at org.wildfly.swarm.undertow.descriptors.JBossWebContainer.findJbossWebAsset(JBossWebContainer.java:88)
      2018-06-26 12:38:35,343 ERROR [stderr] (main) 	at org.wildfly.swarm.undertow.descriptors.JBossWebContainer.getContextRoot(JBossWebContainer.java:49)
      2018-06-26 12:38:35,343 ERROR [stderr] (main) 	at org.wildfly.swarm.undertow.runtime.ContextPathArchivePreparer.process(ContextPathArchivePreparer.java:60)
      2018-06-26 12:38:35,343 ERROR [stderr] (main) 	at org.wildfly.swarm.undertow.runtime.ContextPathArchivePreparer$Proxy$_$$_WeldClientProxy.process(Unknown Source)
      2018-06-26 12:38:35,344 ERROR [stderr] (main) 	at org.wildfly.swarm.container.runtime.RuntimeDeployer.deploy(RuntimeDeployer.java:233)
      2018-06-26 12:38:35,344 ERROR [stderr] (main) 	... 12 more
      2018-06-26 12:38:35,344 ERROR [stderr] (main) Caused by: org.jboss.shrinkwrap.descriptor.api.DescriptorImportException: Could not import XML from stream
      2018-06-26 12:38:35,344 ERROR [stderr] (main) 	at org.jboss.shrinkwrap.descriptor.spi.node.dom.XmlDomNodeImporterImpl.importAsNode(XmlDomNodeImporterImpl.java:75)
      2018-06-26 12:38:35,344 ERROR [stderr] (main) 	at org.jboss.shrinkwrap.descriptor.spi.node.dom.XmlDomNodeImporter.importAsNode(XmlDomNodeImporter.java:45)
      2018-06-26 12:38:35,344 ERROR [stderr] (main) 	at org.jboss.shrinkwrap.descriptor.spi.node.NodeDescriptorImporterBase.fromStream(NodeDescriptorImporterBase.java:70)
      2018-06-26 12:38:35,344 ERROR [stderr] (main) 	at org.jboss.shrinkwrap.descriptor.spi.DescriptorImporterBase.fromStream(DescriptorImporterBase.java:147)
      2018-06-26 12:38:35,344 ERROR [stderr] (main) 	at org.wildfly.swarm.undertow.descriptors.JBossWebAsset.lambda$new$1(JBossWebAsset.java:43)
      2018-06-26 12:38:35,344 ERROR [stderr] (main) 	at org.wildfly.swarm.spi.api.ClassLoading.withTCCL(ClassLoading.java:43)
      2018-06-26 12:38:35,344 ERROR [stderr] (main) 	... 18 more
      2018-06-26 12:38:35,345 ERROR [stderr] (main) Caused by: java.net.UnknownHostException: www.jboss.org
      2018-06-26 12:38:35,345 ERROR [stderr] (main) 	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
      2018-06-26 12:38:35,345 ERROR [stderr] (main) 	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
      2018-06-26 12:38:35,345 ERROR [stderr] (main) 	at java.net.Socket.connect(Socket.java:589)
      2018-06-26 12:38:35,345 ERROR [stderr] (main) 	at java.net.Socket.connect(Socket.java:538)
      2018-06-26 12:38:35,345 ERROR [stderr] (main) 	at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
      2018-06-26 12:38:35,345 ERROR [stderr] (main) 	at sun.net.www.http.HttpClient.openServer(HttpClient.java:463)
      2018-06-26 12:38:35,345 ERROR [stderr] (main) 	at sun.net.www.http.HttpClient.openServer(HttpClient.java:558)
      2018-06-26 12:38:35,345 ERROR [stderr] (main) 	at sun.net.www.http.HttpClient.<init>(HttpClient.java:242)
      2018-06-26 12:38:35,345 ERROR [stderr] (main) 	at sun.net.www.http.HttpClient.New(HttpClient.java:339)
      2018-06-26 12:38:35,345 ERROR [stderr] (main) 	at sun.net.www.http.HttpClient.New(HttpClient.java:357)
      2018-06-26 12:38:35,345 ERROR [stderr] (main) 	at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1220)
      2018-06-26 12:38:35,346 ERROR [stderr] (main) 	at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1156)
      2018-06-26 12:38:35,346 ERROR [stderr] (main) 	at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1050)
      2018-06-26 12:38:35,346 ERROR [stderr] (main) 	at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:984)
      2018-06-26 12:38:35,346 ERROR [stderr] (main) 	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1564)
      2018-06-26 12:38:35,346 ERROR [stderr] (main) 	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492)
      2018-06-26 12:38:35,346 ERROR [stderr] (main) 	at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:991)
      2018-06-26 12:38:35,346 ERROR [stderr] (main) 	at org.apache.xerces.impl.XMLEntityManager.startEntity(XMLEntityManager.java:902)
      2018-06-26 12:38:35,346 ERROR [stderr] (main) 	at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(XMLEntityManager.java:869)
      2018-06-26 12:38:35,346 ERROR [stderr] (main) 	at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(XMLDTDScannerImpl.java:241)
      2018-06-26 12:38:35,346 ERROR [stderr] (main) 	at org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(XMLDocumentScannerImpl.java:1001)
      2018-06-26 12:38:35,346 ERROR [stderr] (main) 	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:324)
      2018-06-26 12:38:35,346 ERROR [stderr] (main) 	at org.apache.xerces.parsers.XML11Configuration.parse(XML11Configuration.java:875)
      2018-06-26 12:38:35,346 ERROR [stderr] (main) 	at org.apache.xerces.parsers.XML11Configuration.parse(XML11Configuration.java:798)
      2018-06-26 12:38:35,346 ERROR [stderr] (main) 	at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:108)
      2018-06-26 12:38:35,347 ERROR [stderr] (main) 	at org.apache.xerces.parsers.DOMParser.parse(DOMParser.java:230)
      2018-06-26 12:38:35,347 ERROR [stderr] (main) 	at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:298)
      2018-06-26 12:38:35,347 ERROR [stderr] (main) 	at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:121)
      2018-06-26 12:38:35,347 ERROR [stderr] (main) 	at org.jboss.shrinkwrap.descriptor.spi.node.dom.XmlDomNodeImporterImpl.importAsNode(XmlDomNodeImporterImpl.java:65)
      2018-06-26 12:38:35,347 ERROR [stderr] (main) 	... 23 more
      2018-06-26 12:38:35,355 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0008: Undertow HTTP listener default suspending
      2018-06-26 12:38:35,357 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0007: Undertow HTTP listener default stopped, was bound to [0:0:0:0:0:0:0:0]:8080
      2018-06-26 12:38:35,359 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-4) WFLYUT0004: Undertow 1.4.18.SP2-redhat-1 stopping
      2018-06-26 12:38:35,377 INFO  [org.jboss.as] (MSC service thread 1-5) WFLYSRV0050: WildFly Swarm 7.1.0.redhat-72 (WildFly Core 3.0.12.Final-redhat-1) stopped in 23ms
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  Rikkola Toni Rikkola
                  Reporter:
                  Rikkola Toni Rikkola
                  Tester:
                  Dominik Hanak
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: