java.io.FileNotFoundException: /home/webservice/tomcat/webapps/portal/WEB-INF/classes/properties/PersonDirs.xml (No such file or directory)

Apereo Issues | Michael | 10 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    The installation instructions at http://code.google.com/p/toro-channels/wiki/Installation pass for uPortal 2.6 M1, but fail for both RC1 and RC2 First the install fails because PersonDirs.xml is not present. mergeUPortalConfiguration: [java] Merging xml changes to /home/webservice/tomcat/webapps/portal/WEB-INF/classes/properties/groups/compositeGroupServices.xml [java] Replacing text at path: /servicelist/service[name='local']/service_factory with: net.unicon.portal.groups.framework.eve.caching.CachingGroupServiceFactory [java] Replacing text at path: /servicelist/service[name='local']/entity_store_factory with: net.unicon.portal.groups.framework.eve.EntityStoreFactory [java] Replacing text at path: /servicelist/service[name='local']/group_store_factory with: net.unicon.portal.groups.framework.eve.GroupStoreFactory [java] Merging xml changes to /home/webservice/tomcat/webapps/portal/WEB-INF/classes/properties/personDirectory.xml [java] Replacing node at path: /beans/bean[@id='personAttributeDao'] [java] Merging xml changes to /home/webservice/tomcat/webapps/portal/WEB-INF/classes/properties/PersonDirs.xml [java] java.io.FileNotFoundException: /home/webservice/tomcat/webapps/portal/WEB-INF/classes/properties/PersonDirs.xml (No such file or directory) [java] at java.io.FileInputStream.open(Native Method) [java] at java.io.FileInputStream.<init>(FileInputStream.java:106) [java] at net.unicon.portal.tools.MergeUPortalConfiguration.backupOriginalFile(MergeUPortalConfiguration.java:332) [java] at net.unicon.portal.tools.MergeUPortalConfiguration.mergeXmlChanges(MergeUPortalConfiguration.java:162) [java] at net.unicon.portal.tools.MergeUPortalConfiguration.mergeChanges(MergeUPortalConfiguration.java:120) [java] at net.unicon.portal.tools.MergeUPortalConfiguration.execute(MergeUPortalConfiguration.java:109) [java] at net.unicon.portal.tools.MergeUPortalConfiguration.main(MergeUPortalConfiguration.java:359) Copying the PersonDirs.xml file from the M1 snapshot into basedir/src/portal/properties/PersonDirs.xml fixes the issue for RC1, and the portal successfully installs. However, the RC2 install still fails even after providing the PersonDirs.xml file. Error below: mergeUPortalConfiguration: [java] Merging xml changes to /home/webservice/tomcat/webapps/portal/WEB-INF/classes/properties/groups/compositeGroupServices.xml [java] Replacing text at path: /servicelist/service[name='local']/service_factory with: net.unicon.portal.groups.framework.eve.caching.CachingGroupServiceFactory [java] Replacing text at path: /servicelist/service[name='local']/entity_store_factory with: net.unicon.portal.groups.framework.eve.EntityStoreFactory [java] Replacing text at path: /servicelist/service[name='local']/group_store_factory with: net.unicon.portal.groups.framework.eve.GroupStoreFactory [java] Merging xml changes to /home/webservice/tomcat/webapps/portal/WEB-INF/classes/properties/personDirectory.xml [java] Replacing node at path: /beans/bean[@id='personAttributeDao'] [java] Merging xml changes to /home/webservice/tomcat/webapps/portal/WEB-INF/classes/properties/PersonDirs.xml [java] Replacing node at path: /PersonDirs [java] Merging properties changes to /home/webservice/tomcat/webapps/portal/WEB-INF/classes/properties/portal.properties [java] Merging xml changes to /home/webservice/tomcat/webapps/portal/WEB-INF/classes/properties/services.xml [java] Merging properties changes to /home/webservice/tomcat/webapps/portal/WEB-INF/classes/properties/worker.properties [java] Merging web.xml changes to /home/webservice/tomcat/webapps/portal/WEB-INF/web.xml [java] java.lang.StringIndexOutOfBoundsException: String index out of range: -1 [java] at java.lang.String.substring(String.java:1768) [java] at net.unicon.portal.tools.MergeUPortalConfiguration$DtdAwareSAXWriter.write(MergeUPortalConfiguration.java:610) [java] at org.dom4j.io.SAXWriter.parse(SAXWriter.java:603) [java] at net.unicon.portal.tools.MergeUPortalConfiguration.mergeWebChanges(MergeUPortalConfiguration.java:312) [java] at net.unicon.portal.tools.MergeUPortalConfiguration.mergeChanges(MergeUPortalConfiguration.java:118) [java] at net.unicon.portal.tools.MergeUPortalConfiguration.execute(MergeUPortalConfiguration.java:109) [java] at net.unicon.portal.tools.MergeUPortalConfiguration.main(MergeUPortalConfiguration.java:359) [java] java.lang.StringIndexOutOfBoundsException: String index out of range: -1 [java] at java.lang.String.substring(String.java:1768) [java] at net.unicon.portal.tools.MergeUPortalConfiguration$DtdAwareSAXWriter.write(MergeUPortalConfiguration.java:610) [java] at org.dom4j.io.SAXWriter.parse(SAXWriter.java:603) [java] at net.unicon.portal.tools.MergeUPortalConfiguration.mergeWebChanges(MergeUPortalConfiguration.java:312) [java] at net.unicon.portal.tools.MergeUPortalConfiguration.mergeChanges(MergeUPortalConfiguration.java:118) [java] at net.unicon.portal.tools.MergeUPortalConfiguration.execute(MergeUPortalConfiguration.java:109) [java] at net.unicon.portal.tools.MergeUPortalConfiguration.main(MergeUPortalConfiguration.java:359)

    Apereo Issues | 10 years ago | Michael
    java.io.FileNotFoundException: /home/webservice/tomcat/webapps/portal/WEB-INF/classes/properties/PersonDirs.xml (No such file or directory)
  2. 0

    The installation instructions at http://code.google.com/p/toro-channels/wiki/Installation pass for uPortal 2.6 M1, but fail for both RC1 and RC2 First the install fails because PersonDirs.xml is not present. mergeUPortalConfiguration: [java] Merging xml changes to /home/webservice/tomcat/webapps/portal/WEB-INF/classes/properties/groups/compositeGroupServices.xml [java] Replacing text at path: /servicelist/service[name='local']/service_factory with: net.unicon.portal.groups.framework.eve.caching.CachingGroupServiceFactory [java] Replacing text at path: /servicelist/service[name='local']/entity_store_factory with: net.unicon.portal.groups.framework.eve.EntityStoreFactory [java] Replacing text at path: /servicelist/service[name='local']/group_store_factory with: net.unicon.portal.groups.framework.eve.GroupStoreFactory [java] Merging xml changes to /home/webservice/tomcat/webapps/portal/WEB-INF/classes/properties/personDirectory.xml [java] Replacing node at path: /beans/bean[@id='personAttributeDao'] [java] Merging xml changes to /home/webservice/tomcat/webapps/portal/WEB-INF/classes/properties/PersonDirs.xml [java] java.io.FileNotFoundException: /home/webservice/tomcat/webapps/portal/WEB-INF/classes/properties/PersonDirs.xml (No such file or directory) [java] at java.io.FileInputStream.open(Native Method) [java] at java.io.FileInputStream.<init>(FileInputStream.java:106) [java] at net.unicon.portal.tools.MergeUPortalConfiguration.backupOriginalFile(MergeUPortalConfiguration.java:332) [java] at net.unicon.portal.tools.MergeUPortalConfiguration.mergeXmlChanges(MergeUPortalConfiguration.java:162) [java] at net.unicon.portal.tools.MergeUPortalConfiguration.mergeChanges(MergeUPortalConfiguration.java:120) [java] at net.unicon.portal.tools.MergeUPortalConfiguration.execute(MergeUPortalConfiguration.java:109) [java] at net.unicon.portal.tools.MergeUPortalConfiguration.main(MergeUPortalConfiguration.java:359) Copying the PersonDirs.xml file from the M1 snapshot into basedir/src/portal/properties/PersonDirs.xml fixes the issue for RC1, and the portal successfully installs. However, the RC2 install still fails even after providing the PersonDirs.xml file. Error below: mergeUPortalConfiguration: [java] Merging xml changes to /home/webservice/tomcat/webapps/portal/WEB-INF/classes/properties/groups/compositeGroupServices.xml [java] Replacing text at path: /servicelist/service[name='local']/service_factory with: net.unicon.portal.groups.framework.eve.caching.CachingGroupServiceFactory [java] Replacing text at path: /servicelist/service[name='local']/entity_store_factory with: net.unicon.portal.groups.framework.eve.EntityStoreFactory [java] Replacing text at path: /servicelist/service[name='local']/group_store_factory with: net.unicon.portal.groups.framework.eve.GroupStoreFactory [java] Merging xml changes to /home/webservice/tomcat/webapps/portal/WEB-INF/classes/properties/personDirectory.xml [java] Replacing node at path: /beans/bean[@id='personAttributeDao'] [java] Merging xml changes to /home/webservice/tomcat/webapps/portal/WEB-INF/classes/properties/PersonDirs.xml [java] Replacing node at path: /PersonDirs [java] Merging properties changes to /home/webservice/tomcat/webapps/portal/WEB-INF/classes/properties/portal.properties [java] Merging xml changes to /home/webservice/tomcat/webapps/portal/WEB-INF/classes/properties/services.xml [java] Merging properties changes to /home/webservice/tomcat/webapps/portal/WEB-INF/classes/properties/worker.properties [java] Merging web.xml changes to /home/webservice/tomcat/webapps/portal/WEB-INF/web.xml [java] java.lang.StringIndexOutOfBoundsException: String index out of range: -1 [java] at java.lang.String.substring(String.java:1768) [java] at net.unicon.portal.tools.MergeUPortalConfiguration$DtdAwareSAXWriter.write(MergeUPortalConfiguration.java:610) [java] at org.dom4j.io.SAXWriter.parse(SAXWriter.java:603) [java] at net.unicon.portal.tools.MergeUPortalConfiguration.mergeWebChanges(MergeUPortalConfiguration.java:312) [java] at net.unicon.portal.tools.MergeUPortalConfiguration.mergeChanges(MergeUPortalConfiguration.java:118) [java] at net.unicon.portal.tools.MergeUPortalConfiguration.execute(MergeUPortalConfiguration.java:109) [java] at net.unicon.portal.tools.MergeUPortalConfiguration.main(MergeUPortalConfiguration.java:359) [java] java.lang.StringIndexOutOfBoundsException: String index out of range: -1 [java] at java.lang.String.substring(String.java:1768) [java] at net.unicon.portal.tools.MergeUPortalConfiguration$DtdAwareSAXWriter.write(MergeUPortalConfiguration.java:610) [java] at org.dom4j.io.SAXWriter.parse(SAXWriter.java:603) [java] at net.unicon.portal.tools.MergeUPortalConfiguration.mergeWebChanges(MergeUPortalConfiguration.java:312) [java] at net.unicon.portal.tools.MergeUPortalConfiguration.mergeChanges(MergeUPortalConfiguration.java:118) [java] at net.unicon.portal.tools.MergeUPortalConfiguration.execute(MergeUPortalConfiguration.java:109) [java] at net.unicon.portal.tools.MergeUPortalConfiguration.main(MergeUPortalConfiguration.java:359)

    Apereo Issues | 10 years ago | Michael
    java.io.FileNotFoundException: /home/webservice/tomcat/webapps/portal/WEB-INF/classes/properties/PersonDirs.xml (No such file or directory)
  3. 0

    OpenGrok leaving too many open files. (Bugzilla #17127)

    GitHub | 4 years ago | vladak
    java.io.FileNotFoundException: /usr/local/tomcat/conf/web.xml (Too many open files)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How to typically start kestrel on windows... in simple steps.

    GitHub | 6 years ago | nutharsh
    java.io.FileNotFoundException: \etc\kestrel.conf (The system cannot find the path specified)
  6. 0

    Graph Window in Overview Tab Fails to Load

    GitHub | 6 years ago | mbastian
    java.io.FileNotFoundException: /platform/modules/* (No such file or directory)

  1. Handemelindo 3 times, last 2 days ago
  2. jf-ast 1 times, last 6 days ago
  3. Casper 1 times, last 3 weeks ago
  4. Dunmer 8 times, last 3 weeks ago
  5. Eric 2 times, last 4 weeks ago
57 more registered users
38 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.io.FileNotFoundException

    /home/webservice/tomcat/webapps/portal/WEB-INF/classes/properties/PersonDirs.xml (No such file or directory)

    at java.io.FileInputStream.open()
  2. Java RT
    FileInputStream.<init>
    1. java.io.FileInputStream.open(Native Method)
    2. java.io.FileInputStream.<init>(FileInputStream.java:106)
    2 frames
  3. net.unicon.portal
    MergeUPortalConfiguration.main
    1. net.unicon.portal.tools.MergeUPortalConfiguration.backupOriginalFile(MergeUPortalConfiguration.java:332)
    2. net.unicon.portal.tools.MergeUPortalConfiguration.mergeXmlChanges(MergeUPortalConfiguration.java:162)
    3. net.unicon.portal.tools.MergeUPortalConfiguration.mergeChanges(MergeUPortalConfiguration.java:120)
    4. net.unicon.portal.tools.MergeUPortalConfiguration.execute(MergeUPortalConfiguration.java:109)
    5. net.unicon.portal.tools.MergeUPortalConfiguration.main(MergeUPortalConfiguration.java:359)
    5 frames