[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Help needed with Prowler



 hi all,

  i am new to using prowler. 
  this is basically to retrive all documents using an XpathQuery.
   Using ozone backend and XMLRepository .addDocument() and
XMLRepository.documentsForURL()method is it possible to get all documents ??
remember my previous query (thanks!!)

when i run the following piece of code

 Prowler pw = new Prowler("-fProperties.xml");
 adapterID = pw.newAdapterID("ozone");
 ProwlerSession session = pw.newSession ("", "");
 session.open (null);
 XMLResourceRepository rep = new XMLResourceRepository();
 rep.addDocument(session, newDoc, adapterID, accessPath); 
 org.w3c.dom.Document[] =rep.documentsForURL(ProwlerSession session,
                   ProwlerDocumentURL documentURL) 

i have initialized the properties file to my ozone server
the following is the extract of properties

<adapter alias="document"
        factory="org.infozone.prowler.adapter.ProwlerDocumentAdapter"
xmlcache="ozonexml"/>
    <resource alias="ozoneodmg"
factory="org.infozone.prowler.resource.ozone.OzoneODMGResource">
        <prop name="url" value="ozonedb:remote://132.148.132.450:3333"/>
    </resource>
    <resource alias="ozonexml"
factory="org.infozone.prowler.resource.ozone.OzoneXMLResource">
        <prop name="url" value="ozonedb:local://ozonexml"/>
    </resource>



it gives the following  trace and hangs??
 
[info] (560) Prowler: Initializing resource manager ...
[info] (560) ResourceManager: initialize resources 'ozoneodmg'...
remote 192.168.192.5 3333
send command: [DbOpen]
sent
waiting for result ...
DxClient.receiving ...

how does prowler work after connecting to remote ozone server.
prowler offers many features but proper documentation is not there.
except for api's.
please let me know the details and how to proceed.

thanks in advance


____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1