title: Applications failing to start under Weblogic 12.2.1.3.0 (jaxws-tubes-default.xml not found)
body: <p>Can anyone explain what the file <strong>jaxws-tubes-default.xml</strong> does and why it's all of a sudden needed when upgrading to <strong>Weblogic 12.2.1.3.0</strong> and <strong>Java 1.8</strong>?</p>
  
  <hr>
  
  <p>Our IT dept recently upgraded some <strong>Weblogic 12.1.2.0.0</strong> servers to <strong>Weblogic 12.2.1.3.0</strong> and at the same time upgraded from <strong>Java 1.7</strong> to <strong>Java 1.8</strong>.</p>
  
  <p>I wouldn't expect major breakages in such a minor version change, but there are.</p>
  
  <p>My team is responsible for 2 applications running on these servers and they no longer start after the upgrade.</p>
  
  <p>We get the below error message when we try to start either application:</p>
  
  <pre><code>Error java.lang.IllegalStateException: MASM0001: Default configuration file [ jaxws-tubes-default.xml ] was not found
  </code></pre>
  
  <p>Nobody on my team had anything to do with creating these applications, but now we have to fix them.</p>
  
  <p>The previous version of the applications never made any reference to the <strong>jaxws-tubes-default.xml</strong> file nor was that file in our project at all.</p>
  
  <hr>
  
  <p>These are the dependencies in the project:</p>
  
  <pre><code>&lt;dependencies&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;com.sun.xml.ws&lt;/groupId&gt;
          &lt;artifactId&gt;jaxws-rt&lt;/artifactId&gt;
          &lt;version&gt;2.1.3&lt;/version&gt;
          &lt;scope&gt;provided&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;javax&lt;/groupId&gt;
          &lt;artifactId&gt;javaee-api&lt;/artifactId&gt;
          &lt;version&gt;6.0&lt;/version&gt;
          &lt;scope&gt;provided&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;bea.weblogic&lt;/groupId&gt;
          &lt;artifactId&gt;wrapper&lt;/artifactId&gt;
          &lt;version&gt;1.3&lt;/version&gt;
          &lt;scope&gt;provided&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;bea.weblogic&lt;/groupId&gt;
          &lt;artifactId&gt;datasource&lt;/artifactId&gt;
          &lt;version&gt;1.4&lt;/version&gt;
          &lt;scope&gt;provided&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;bea.weblogic&lt;/groupId&gt;
          &lt;artifactId&gt;resourcepool&lt;/artifactId&gt;
          &lt;version&gt;1.4&lt;/version&gt;
          &lt;scope&gt;provided&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;bea.weblogic&lt;/groupId&gt;
          &lt;artifactId&gt;utils&lt;/artifactId&gt;
          &lt;version&gt;1.4&lt;/version&gt;
          &lt;scope&gt;provided&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;com.oracle&lt;/groupId&gt;
          &lt;artifactId&gt;ojdbc6&lt;/artifactId&gt;
          &lt;version&gt;11.2.0.3&lt;/version&gt;
          &lt;scope&gt;provided&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;log4j&lt;/groupId&gt;
          &lt;artifactId&gt;log4j&lt;/artifactId&gt;
          &lt;version&gt;1.2.16&lt;/version&gt;
          &lt;scope&gt;compile&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;commons-lang&lt;/groupId&gt;
          &lt;artifactId&gt;commons-lang&lt;/artifactId&gt;
          &lt;version&gt;2.5&lt;/version&gt;
          &lt;scope&gt;provided&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;junit&lt;/groupId&gt;
          &lt;artifactId&gt;junit&lt;/artifactId&gt;
          &lt;version&gt;4.10&lt;/version&gt;
          &lt;scope&gt;test&lt;/scope&gt;
      &lt;/dependency&gt;
  &lt;/dependencies&gt;
  </code></pre>
  
  <p>I've tried some of the solutions in other SO threads, but so far no luck.</p>
  
  <ul>
  <li><a href="https://stackoverflow.com/a/29296606/1827349">https://stackoverflow.com/a/29296606/1827349</a></li>
  <li><a href="https://stackoverflow.com/a/52124436/1827349">https://stackoverflow.com/a/52124436/1827349</a></li>
  <li><a href="https://stackoverflow.com/a/35404774/1827349">https://stackoverflow.com/a/35404774/1827349</a></li>
  </ul>
  
  <p>I've tried putting the sample <strong>jaxws-tubes-default.xml</strong> file in all of the below folders of the WAR file and still the error says that it can't find this file:</p>
  
  <pre><code>- META-INF
      - jaxws-tubes-default.xml
  - WEB-INF
      - classes
          - META-INF
              - jaxws-tubes-default.xml
          - jaxws-tubes-default.xml
      - jaxws-tubes-default.xml
  </code></pre>
  
  <p><strong>Update 1:</strong>
  I've also added the <strong>jaxws-tubes-default.xml</strong> file to the WEB-INF folder, as-per a suggestion, but this also isn't working.</p>
  
  <p>I'm at a point where I think I'm going to have to rewrite this process... but I really don't want to as it'll take some time.</p>
  
  <p><strong>Update 2:</strong>
  I finally got access to the actual WL server that our app is deployed to and was able to extract the logs.</p>
  
  <p>It looks like it's the <strong>jaxws</strong> library that is causing the issues.</p>
  
  <p>Below is the entire stack-trace that resulted from me trying to startup the application.</p>
  
  <pre><code>####&lt;Feb 11, 2019 11:36:56,502 AM EST&gt; &lt;Info&gt; &lt;J2EE Deployment SPI&gt; &lt;devvm0183&gt; &lt;AdminServer&gt; &lt;[ACTIVE] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'&gt; &lt;devadmin&gt; &lt;&gt; &lt;d1ab1b9d-51c3-4e04-84fb-1d7d9bab855a-00007328&gt; &lt;1549903016502&gt; &lt;[severity-value: 64] [rid: 0] [partition-id: 0] [partition-name: DOMAIN] &gt; &lt;BEA-260121&gt; &lt;Initiating start operation for application, myapp_20190211_002 [archive: null], to Payer-AUX .&gt; 
  ####&lt;Feb 11, 2019 11:36:56,518 AM EST&gt; &lt;Info&gt; &lt;Deployer&gt; &lt;devvm0183&gt; &lt;AdminServer&gt; &lt;[ACTIVE] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'&gt; &lt;devadmin&gt; &lt;&gt; &lt;d1ab1b9d-51c3-4e04-84fb-1d7d9bab855a-00007328&gt; &lt;1549903016518&gt; &lt;[severity-value: 64] [rid: 0] [partition-id: 0] [partition-name: DOMAIN] &gt; &lt;BEA-149038&gt; &lt;Initiating task for myapp_20190211_002 : [Deployer:149026]start application myapp_20190211_002 on Payer-AUX..&gt; 
  ####&lt;Feb 11, 2019 11:36:58,196 AM EST&gt; &lt;Info&gt; &lt;WorkManager&gt; &lt;devvm0183&gt; &lt;AdminServer&gt; &lt;Timer-2&gt; &lt;&lt;WLS Kernel&gt;&gt; &lt;&gt; &lt;d1ab1b9d-51c3-4e04-84fb-1d7d9bab855a-00000012&gt; &lt;1549903018196&gt; &lt;[severity-value: 64] [rid: 0] [partition-id: 0] [partition-name: DOMAIN] &gt; &lt;BEA-002959&gt; &lt;Self-tuning thread pool contains 1 running threads, 0 idle threads, and 12 standby threads&gt; 
  ####&lt;Feb 11, 2019 11:37:02,762 AM EST&gt; &lt;Warning&gt; &lt;Deployer&gt; &lt;devvm0183&gt; &lt;AdminServer&gt; &lt;[STANDBY] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'&gt; &lt;&lt;WLS Kernel&gt;&gt; &lt;&gt; &lt;d1ab1b9d-51c3-4e04-84fb-1d7d9bab855a-0000732a&gt; &lt;1549903022762&gt; &lt;[severity-value: 16] [rid: 0] [partition-id: 0] [partition-name: DOMAIN] &gt; &lt;BEA-149004&gt; &lt;Failures were detected while initiating start task for application "myapp_20190211_002".&gt; 
  ####&lt;Feb 11, 2019 11:37:02,762 AM EST&gt; &lt;Warning&gt; &lt;Deployer&gt; &lt;devvm0183&gt; &lt;AdminServer&gt; &lt;[STANDBY] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'&gt; &lt;&lt;WLS Kernel&gt;&gt; &lt;&gt; &lt;d1ab1b9d-51c3-4e04-84fb-1d7d9bab855a-0000732a&gt; &lt;1549903022762&gt; &lt;[severity-value: 16] [rid: 0] [partition-id: 0] [partition-name: DOMAIN] &gt; &lt;BEA-149078&gt; &lt;Stack trace for message 149004
  weblogic.application.ModuleException: java.lang.IllegalStateException: MASM0001: Default configuration file [ jaxws-tubes-default.xml ] was not found
      at weblogic.application.internal.ExtensibleModuleWrapper.start(ExtensibleModuleWrapper.java:140)
      at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:124)
      at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:233)
      at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:228)
      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:45)
      at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:78)
      at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:52)
      at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:752)
      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:45)
      at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:262)
      at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:52)
      at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:165)
      at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:90)
      at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:631)
      at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:171)
      at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:121)
      at weblogic.deploy.internal.targetserver.operations.StartOperation.doCommit(StartOperation.java:151)
      at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:348)
      at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:907)
      at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1468)
      at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:459)
      at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:181)
      at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:217)
      at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:14)
      at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:69)
      at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:678)
      at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:352)
      at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:337)
      at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:57)
      at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)
      at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:652)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:420)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:360)
  Caused By: java.lang.IllegalStateException: MASM0001: Default configuration file [ jaxws-tubes-default.xml ] was not found
      at com.sun.xml.ws.assembler.MetroConfigLoader.getConfigInputStream(MetroConfigLoader.java:280)
      at com.sun.xml.ws.assembler.MetroConfigLoader.loadMetroConfig(MetroConfigLoader.java:255)
      at com.sun.xml.ws.assembler.MetroConfigLoader.init(MetroConfigLoader.java:147)
      at com.sun.xml.ws.assembler.MetroConfigLoader.&lt;init&gt;(MetroConfigLoader.java:121)
      at com.sun.xml.ws.assembler.TubelineAssemblyController.getTubeCreators(TubelineAssemblyController.java:122)
      at com.sun.xml.ws.assembler.MetroTubelineAssembler.createServer(MetroTubelineAssembler.java:173)
      at com.sun.xml.ws.server.WSEndpointImpl.&lt;init&gt;(WSEndpointImpl.java:193)
      at com.sun.xml.ws.server.EndpointFactory.create(EndpointFactory.java:337)
      at com.sun.xml.ws.server.EndpointFactory.create(EndpointFactory.java:332)
      at com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:164)
      at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:578)
      at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:560)
      at com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parseAdapters(DeploymentDescriptorParser.java:303)
      at com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parse(DeploymentDescriptorParser.java:179)
      at com.sun.xml.ws.transport.http.servlet.WSServletContextListener.parseAdaptersAndCreateDelegate(WSServletContextListener.java:131)
      at com.sun.xml.ws.transport.http.servlet.WSServletContextListener.contextInitialized(WSServletContextListener.java:152)
      at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:705)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:326)
      at weblogic.security.service.SecurityManager.runAsForUserCode(SecurityManager.java:197)
      at weblogic.servlet.provider.WlsSecurityProvider.runAsForUserCode(WlsSecurityProvider.java:203)
      at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:71)
      at weblogic.servlet.internal.EventsManager.executeContextListener(EventsManager.java:251)
      at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:204)
      at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:189)
      at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1921)
      at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3101)
      at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1843)
      at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:884)
      at weblogic.application.internal.ExtensibleModuleWrapper$StartStateChange.next(ExtensibleModuleWrapper.java:360)
      at weblogic.application.internal.ExtensibleModuleWrapper$StartStateChange.next(ExtensibleModuleWrapper.java:356)
      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:45)
      at weblogic.application.internal.ExtensibleModuleWrapper.start(ExtensibleModuleWrapper.java:138)
      at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:124)
      at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:233)
      at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:228)
      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:45)
      at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:78)
      at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:52)
      at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:752)
      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:45)
      at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:262)
      at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:52)
      at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:165)
      at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:90)
      at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:631)
      at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:171)
      at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:121)
      at weblogic.deploy.internal.targetserver.operations.StartOperation.doCommit(StartOperation.java:151)
      at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:348)
      at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:907)
      at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1468)
      at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:459)
      at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:181)
      at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:217)
      at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:14)
      at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:69)
      at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:678)
      at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:352)
      at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:337)
      at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:57)
      at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)
      at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:652)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:420)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:360)
  &gt; 
  </code></pre>