Default Logging Loaded from a file.
ParseConfig: parseForConnection
java.io.FileNotFoundException: data{namespace_id}\kbcontent-import-{full\diff}.
xml (The system cannot find the path specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at com.apelon.common.util.db.ParseConfig.parseForConnection(ParseConfig.
java:92)
at com.apelon.common.util.db.ParseConfig.parseForConnection(ParseConfig.
java:83)
at com.apelon.dts.db.admin.DbContentMgr.loadProperties(DbContentMgr.java
:175)
at com.apelon.dts.db.admin.DbContentMgr.<init>(DbContentMgr.java:78)
at com.apelon.dts.db.admin.DbContentMgr.main(DbContentMgr.java:916)
DbContentMgr: loadProperties
org.xml.sax.SAXException: error in parse data{namespace_id}\kbcontent-import-{f
ull\diff}.xml (The system cannot find the path specified)
at com.apelon.common.util.db.ParseConfig.parseForConnection(ParseConfig.
java:136)
at com.apelon.common.util.db.ParseConfig.parseForConnection(ParseConfig.
java:83)
at com.apelon.dts.db.admin.DbContentMgr.loadProperties(DbContentMgr.java
:175)
at com.apelon.dts.db.admin.DbContentMgr.<init>(DbContentMgr.java:78)
at com.apelon.dts.db.admin.DbContentMgr.main(DbContentMgr.java:916)
cannot load properties: error in parse data{namespace_id}\kbcontent-import-{ful
l\diff}.xml (The system cannot find the path specified)
java.io.IOException: cannot load properties: error in parse data{namespace_id}\
kbcontent-import-{full\diff}.xml (The system cannot find the path specified)
at com.apelon.dts.db.admin.DbContentMgr.loadProperties(DbContentMgr.java
:218)
at com.apelon.dts.db.admin.DbContentMgr.<init>(DbContentMgr.java:78)
at com.apelon.dts.db.admin.DbContentMgr.main(DbContentMgr.java:916)
Press any key to continue . . .
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It looks like you need to replace values in 2 places in the batch job, {namespace_id} and {full/diff}, to match the import you�re trying accomplish. However, so far in DTS v4 Alpha releases we are experiencing other problems with content imports via the batch job, so even with these changes your import may not work. We plan to have this fixed in a future release.
Subscription content is more often imported using the DTS Subscription Import Wizard GUI application, which can be launched from the Start Programs menu in Windows, or in Linux, by executing subscriptionimportWizard.sh from the <DTS Home="">\bin folder.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Problem:
I get an exception when importing sample subscription content from the apelondts.org site.
I'm running the following file within the Apelon DTS 4 download:
C:\Program Files\Apelon DTS 4.0 Alpha\bin\kb\content\import\kbcontent-import.bat
Here is the code being run:
cd ......
REM
REM Switch -t kb/target-connection.xml is required here as the connection parameters are read from the target-connection.xml file.
REM
call runApp_cw 512 com.apelon.dts.db.admin.DbContentMgr -c com.apelon.dts.db.admin.config.DBContentMgrConfig -p data/{namespace_id}/kbcontent-import-{full/diff}.xml -action import -t kb/target-connection.xml
cd kb\content\import
Here is the exception I get:
Default Logging Loaded from a file.
ParseConfig: parseForConnection
java.io.FileNotFoundException: data{namespace_id}\kbcontent-import-{full\diff}.
xml (The system cannot find the path specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at com.apelon.common.util.db.ParseConfig.parseForConnection(ParseConfig.
java:92)
at com.apelon.common.util.db.ParseConfig.parseForConnection(ParseConfig.
java:83)
at com.apelon.dts.db.admin.DbContentMgr.loadProperties(DbContentMgr.java
:175)
at com.apelon.dts.db.admin.DbContentMgr.<init>(DbContentMgr.java:78)
at com.apelon.dts.db.admin.DbContentMgr.main(DbContentMgr.java:916)
DbContentMgr: loadProperties
org.xml.sax.SAXException: error in parse data{namespace_id}\kbcontent-import-{f
ull\diff}.xml (The system cannot find the path specified)
at com.apelon.common.util.db.ParseConfig.parseForConnection(ParseConfig.
java:136)
at com.apelon.common.util.db.ParseConfig.parseForConnection(ParseConfig.
java:83)
at com.apelon.dts.db.admin.DbContentMgr.loadProperties(DbContentMgr.java
:175)
at com.apelon.dts.db.admin.DbContentMgr.<init>(DbContentMgr.java:78)
at com.apelon.dts.db.admin.DbContentMgr.main(DbContentMgr.java:916)
cannot load properties: error in parse data{namespace_id}\kbcontent-import-{ful
l\diff}.xml (The system cannot find the path specified)
java.io.IOException: cannot load properties: error in parse data{namespace_id}\ kbcontent-import-{full\diff}.xml (The system cannot find the path specified)
at com.apelon.dts.db.admin.DbContentMgr.loadProperties(DbContentMgr.java
:218)
at com.apelon.dts.db.admin.DbContentMgr.<init>(DbContentMgr.java:78)
at com.apelon.dts.db.admin.DbContentMgr.main(DbContentMgr.java:916)
Press any key to continue . . .
Hi Wanta Be,
It looks like you need to replace values in 2 places in the batch job, {namespace_id} and {full/diff}, to match the import you�re trying accomplish. However, so far in DTS v4 Alpha releases we are experiencing other problems with content imports via the batch job, so even with these changes your import may not work. We plan to have this fixed in a future release.
Subscription content is more often imported using the DTS Subscription Import Wizard GUI application, which can be launched from the Start Programs menu in Windows, or in Linux, by executing subscriptionimportWizard.sh from the <DTS Home="">\bin folder.