WebSphere Application Server & Liberty

WebSphere Application Server & Liberty

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  java.io.FileNotFoundException

    Posted Tue January 24, 2017 05:28 PM

    Hi All,
    Iam starting a server on 8.5.5.10 through the command ./startServer.sh servername

    Iam able to see exception in startServer.log.

    Please suggest on this.

    Current trace specification = *=info
    ************* End Display Current Environment *************
    [1/24/17 15:21:27:930 CST] 00000001 ManagerAdmin I TRAS0017I: The startup trace state is *=info.
    [1/24/17 15:21:27:988 CST] 00000001 AdminTool A ADMU0128I: Starting tool with the AppServer profile
    [1/24/17 15:21:27:990 CST] 00000001 AdminTool A ADMU3100I: Reading configuration for server: SOWSdyncluster
    [1/24/17 15:21:27:999 CST] 00000001 ImplFactory W WSVR0072W: Ignoring undeclared override of interface, com.ibm.websphere.cluster.topography.DescriptionManager, with implementation, com.ibm.ws.cluster.propagation.bulletinboard.BBDescriptionManager
    [1/24/17 15:21:28:046 CST] 00000001 WsServerLaunc E ADMU3002E: Exception attempting to process server SOWSdyncluster
    [1/24/17 15:21:28:046 CST] 00000001 WsServerLaunc E ADMU3007E: Exception java.io.FileNotFoundException: /websphere_8/appserver/profiles/AppServer/config/cells/jeedmq01Cell01/nodes/n1lmcjeeapq03Node01/servers/SOWSdyncluster/server.xml (No such file or directory)
    at java.io.FileInputStream.<init>(FileInputStream.java:158)
    at java.io.FileInputStream.<init>(FileInputStream.java:113)
    at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:104)
    at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:202)
    at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
    at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(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.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
    at javax.xml.parsers.SAXParser.parse(Unknown Source)
    at com.ibm.ws.runtime.config.ConfigDocumentImpl.load(ConfigDocumentImpl.java:200)
    at com.ibm.ws.runtime.config.ConfigServiceImpl.getDocument(ConfigServiceImpl.java:182)
    at com.ibm.ws.runtime.config.ConfigServiceImpl.getDocumentObjects(ConfigServiceImpl.java:126)
    at com.ibm.ws.runtime.config.ConfigServiceImpl.getDocumentObjects(ConfigServiceImpl.java:120)
    at com.ibm.ws.management.tools.WsServerLauncher.initializeRepositoryAndLauncher(WsServerLauncher.java:409)
    at com.ibm.ws.management.tools.WsServerLauncher.runTool(WsServerLauncher.java:279)
    at com.ibm.ws.management.tools.AdminTool.executeUtility(AdminTool.java:271)
    at com.ibm.ws.management.tools.WsServerLauncher.main(WsServerLauncher.java:134)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:56)
    at java.lang.reflect.Method.invoke(Method.java:620)
    at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:280)

    [1/24/17 15:21:28:055 CST] 00000001 AdminTool E ADMU0111E: Program exiting with error: java.io.FileNotFoundException: /websphere_8/appserver/profiles/AppServer/config/cells/jeedmq01Cell01/nodes/n1lmcjeeapq03Node01/servers/SOWSdyncluster/server.xml (No such file or directory)
    at java.io.FileInputStream.<init>(FileInputStream.java:158)
    at java.io.FileInputStream.<init>(FileInputStream.java:113)
    at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:104)
    at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:202)
    at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
    at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(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.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
    at javax.xml.parsers.SAXParser.parse(Unknown Source)
    at com.ibm.ws.runtime.config.ConfigDocumentImpl.load(ConfigDocumentImpl.java:200)
    at com.ibm.ws.runtime.config.ConfigServiceImpl.getDocument(ConfigServiceImpl.java:182)
    at com.ibm.ws.runtime.config.ConfigServiceImpl.getDocumentObjects(ConfigServiceImpl.java:126)
    at com.ibm.ws.runtime.config.ConfigServiceImpl.getDocumentObjects(ConfigServiceImpl.java:120)
    at com.ibm.ws.management.tools.WsServerLauncher.initializeRepositoryAndLauncher(WsServerLauncher.java:409)
    at com.ibm.ws.management.tools.WsServerLauncher.runTool(WsServerLauncher.java:279)
    at com.ibm.ws.management.tools.AdminTool.executeUtility(AdminTool.java:271)
    at com.ibm.ws.management.tools.WsServerLauncher.main(WsServerLauncher.java:134)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:56)
    at java.lang.reflect.Method.invoke(Method.java:620)
    at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:280)

    [1/24/17 15:21:28:056 CST] 00000001 AdminTool A ADMU0111E: Program exiting with error: java.io.FileNotFoundException: /websphere_8/appserver/profiles/AppServer/config/cells/jeedmq01Cell01/nodes/n1lmcjeeapq03Node01/servers/SOWSdyncluster/server.xml (No such file or directory)
    at java.io.FileInputStream.<init>(FileInputStream.java:158)
    at java.io.FileInputStream.<init>(FileInputStream.java:113)
    at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:104)
    at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:202)
    at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
    at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(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.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
    at javax.xml.parsers.SAXParser.parse(Unknown Source)
    at com.ibm.ws.runtime.config.ConfigDocumentImpl.load(ConfigDocumentImpl.java:200)
    at com.ibm.ws.runtime.config.ConfigServiceImpl.getDocument(ConfigServiceImpl.java:182)
    at com.ibm.ws.runtime.config.ConfigServiceImpl.getDocumentObjects(ConfigServiceImpl.java:126)
    at com.ibm.ws.runtime.config.ConfigServiceImpl.getDocumentObjects(ConfigServiceImpl.java:120)
    at com.ibm.ws.management.tools.WsServerLauncher.initializeRepositoryAndLauncher(WsServerLauncher.java:409)
    at com.ibm.ws.management.tools.WsServerLauncher.runTool(WsServerLauncher.java:279)
    at com.ibm.ws.management.tools.AdminTool.executeUtility(AdminTool.java:271)
    at com.ibm.ws.management.tools.WsServerLauncher.main(WsServerLauncher.java:134)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:56)
    at java.lang.reflect.Method.invoke(Method.java:620)
    at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:280)

    [1/24/17 15:21:28:057 CST] 00000001 AdminTool A ADMU1211I: To obtain a full trace of the failure, use the -trace option.
    [1/24/17 15:21:28:058 CST] 00000001 AdminTool A ADMU0211I: Error details may be seen in the file: /websphere_8/appserver/profiles/AppServer/logs/SOWSdyncluster/startServer.log

    kalyan.



  • 2.  RE: java.io.FileNotFoundException

    Posted Wed January 25, 2017 03:21 AM

    Hi Kalyan,

      The server is not starting because is not finding the server.xml file
     
      /websphere_8/appserver/profiles/AppServer/config/cells/jeedmq01Cell01/nodes/n1lmcjeeapq03Node01/servers/SOWSdyncluster/server.xml
     
      Please review if the file exists at:
     
      /websphere_8/appserver/profiles/AppServer/config/cells/jeedmq01Cell01/nodes/n1lmcjeeapq03Node01/servers/SOWSdyncluster/server.xml
     
      If exists review file permissions.
     
      If not exists review if the file server.xml exist in DMGR profile
     
      /websphere_8/appserver/profiles/DMGR_PROFILE/config/cells/jeedmq01Cell01/nodes/n1lmcjeeapq03Node01/servers/SOWSdyncluster/
     
      If the file exists in DMGR_PROFILE do a syncNode:
     
      1.- /websphere_8/appserver/profiles/AppServer/bin/stopNode.sh
      2.- /websphere_8/appserver/profiles/AppServer/bin/syncNode.sh DMGR_HOST DMGR_PORT

      3.- /websphere_8/appserver/profiles/AppServer/bin/startNode.sh
     
      After syncNode review if the file exists:
     
      /websphere_8/appserver/profiles/AppServer/config/cells/jeedmq01Cell01/nodes/n1lmcjeeapq03Node01/servers/SOWSdyncluster/server.xml
     
      If exists start Server, if not review your /websphere_8/appserver/profiles/AppServer/logs/syncNode.log
     
      Hope this helps. Tell us if you need more support
     
    Regards