[fyi: Aaron should be on the sail-dev list -- right Aaron?] Which SDS are you using?
I'm also curious which portal realm and jnlp you are having problems with. There are two portal realms setup for PRP: 4: PAS Researcher Pack testing 6: Pas Researcher Pack #4 looks to be full of malformed resources Many of the 100 or so jnlp resources created point to google or point to a curnit jar. Seems like the SDS should prevent creation of invalid resources like this and return errors. One of the reasons Aaron took the time to document how to create your own instatiation of an SDS is so that you cold easily do testing like this and just wipe out the data and start over. For security reasons right now resources can't easily be deleted in the production database -- and at intervals we erase the dev database and modify and transfer all the data in the production database over to the dev database. At 7:00 AM -0700 5/1/07, laurel wrote: >Hi all, > >Hoping someone can help me with a JNLP issue which I am running into >via the portal. > >We are retrieving a JNLP from the SDS via HttpUnit calls and then >parsing the response using JDom (ie. >org.jdom.input.SAXBuilder.builder.build(responseStream)) > >The body of the response is as follows (but I've removed the text >within the <body> element because it is really long. > ><jnlp> > <name>d fault</name> > <last-modified>Fri Feb 23 10:40:02 -0500 2007</last-modified> > <body></body> > <portal-id>4</portal-id> ><url>http://www.encorewiki.org/download/attachments/2113/converted- >wise-dev.berkeley.edu-16704.jar</url> > <id>528</id> > <filename>converted-wise-dev.berkeley.edu-16704.jar</filename> > <always-update nil="true"></always-update> ></jnlp> Take a closer look at the value of the url attribute: it's not a reference to a jnlp -- it's a reference to a jar! I can certainly imagine you won't be able to parse that. Of course: 1) the SDS shouldn't have allowed you to make this resource 2) if the sds jnlp resource exists and it's url attribute doesn't point to a real jnlp the SDS shouldn't process the resource the url points to any further and certainly not give it back to you! In fact the sds jnlp.body attribute should probably not be returned to you at all when you request a cml representation of the jnlp. The validity of the url you created could perhaps be reported back as an attribute of the jnlp.url element itself. -- - Stephen Bannasch Concord Consortium, http://www.concord.org --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SAIL-Dev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/SAIL-Dev?hl=en -~----------~----~----~----~------~----~------~--~---
