ATG DynamoSystemResource Protocol

321 views
Skip to first unread message

Patil Dinesh

unread,
Nov 13, 2014, 3:03:37 AM11/13/14
to atg_...@googlegroups.com

Unable to Parse Xml file using SAX Parser..Error is java.net.MalformedURLException: unknown protocol: dynamosystemresource

This question is Not Answered.(Mark as assumed answered)

aa779ed4-2b15-434c-882f-b1968d0de976Newbie
aa779ed4-2b15-434c-882f-b1968d0de976 Nov 13, 2014 1:56 AM

    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

    Ramachandran Ravikumar

    unread,
    May 12, 2016, 6:41:08 AM5/12/16
    to ATG_Tech
    Where you able to resolve this issue Dinesh?
    Reply all
    Reply to author
    Forward
    0 new messages