This is the actual xml file i want to parse
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE gsa-template SYSTEM "dynamosystemresource:/atg/dtds/gsa/gsa_1.0.dtd">
<gsa-template>
<import-items>
<add-item item-descriptor="catalogFolder" id="dressbarncatalogfolder" >
<set-property name="name">Dress barn catalog folder</set-property>
<set-property name="childItems">dressbarndbcatalog</set-property>
<set-property name="siteIds">600003.0</set-property>
<set-property name="type">catalogFolder</set-property>
</add-item>
</import-items>
</gsa-template>
This is the error i am getting on the consloe
java.net.MalformedURLException: unknown protocol: dynamosystemresource
at java.net.URL.(URL.java:574)
at java.net.URL.(URL.java:464)
at java.net.URL.(URL.java:413)
Actually everything was working fine in ATG 10.1.2(Jboss 5.1 as) but when i migrated code to ATG11(with JBoss 6.1 eap ) this is issue i am facing..In the above xml file when i remove DTD it wont throw any error but parsing is not happenign properly.
I tried some changes to fix this but no use still same error it is throwing.Here are the chnages i tried
1.)Copied Protocol.jar to lib folder of my custom module and upated ATG-classpath in metainf file
2.)A this protocol.jar to C:\jboss\jboss-eap-6.1\standalone\lib folder
3.)set env varible CLASSPATH to C:\ATG11.0\DAS\lib\protocol.jar
4.)added this line in standalone.conf.bat file set "JAVA_OPTS=%JAVA_OPTS% -Djava.endorsed.dirs=C:\ATG\ATG11.0\DAS\lib\protocol.jar"
5.)checked this property in dyn admin http://localhost:8080/dyn/admin/nucleus/VMSystem/?op=listProperties everything looks fine ..i mean values are mapped correctly.it looks like
java.protocol.handler.pkgs = org.jboss.net.protocol|atg.net.www.protocol|
Please help me out to fix this Issue..
Thanks
Dinesh