[kepler-dev] error uploading actor to repository

Chad Berkley berkley at nceas.ucsb.edu
Wed Mar 19 16:57:04 PDT 2008


Yeah, you just need to check the checkbox under the search field that 
says "search the repository".

chad

Eric Magaha wrote:
> I already set the props in repositoryBundle.properties.  That allowed me 
> to upload actors to the repository.  Can I also search the repository 
> from Kepler thick client?  If so, how?
> 
> On Wed, Mar 19, 2008 at 7:13 PM, Chad Berkley <berkley at nceas.ucsb.edu 
> <mailto:berkley at nceas.ucsb.edu>> wrote:
> 
>     the config for the repository is in the repositoryBundle.properties
>     file.  that file is in configs/ptolemy/configs/kepler.
> 
>     chad
> 
> 
>     Eric Magaha wrote:
>      > Jing/Ben/All,
>      >
>      > Ok, I can browse/search and find the actors I have uploaded to my
>      > repository using the "kepler" skin.
>      >
>      > One last question, how do I access these actors in the Kepler thick
>      > client?  Looks like there is a config.xml in the lib folder, do I
>     have
>      > to configure that?
>      >
>      > Thanks.
>      >
>      > Eric
>      >
>      > On Wed, Mar 19, 2008 at 5:06 PM, Jing Tao <tao at nceas.ucsb.edu
>     <mailto:tao at nceas.ucsb.edu>
>      > <mailto:tao at nceas.ucsb.edu <mailto:tao at nceas.ucsb.edu>>> wrote:
>      >
>      >     Eric:
>      >
>      >     I am not sure which skin you used to search the repository,
>     but I guess
>      >     you used the default skin. The default skin only returns eml
>     documents,
>      >     so you actor wouldn't show up. If you want search the actor, you
>      >     should go to
>      >     http://localhost:8080/knb/style/skins/kepler to do a search.
>      >
>      >     Hope this is helpful.
>      >
>      >     Jing
>      >
>      >     Jing Tao
>      >     National Center for Ecological
>      >     Analysis and Synthesis (NCEAS)
>      >     735 State St. Suite 204
>      >     Santa Barbara, CA 93101
>      >
>      >     On Wed, 19 Mar 2008, Eric Magaha wrote:
>      >
>      >      > Ok.  Looks like it was the ant task for "register-schemas".  I
>      >     did that and
>      >      > Kepler states that "Component successfully uploaded".
>      >      >
>      >      > I can directly query the postgres db xml_nodes table and
>     see the
>      >     object got
>      >      > inserted.
>      >      >
>      >      > I accessed the "Data Catalog Search" servlet and it doesn't
>      >     return me any
>      >      > results for my search.  Why?
>      >      >
>      >      > Also how do I search the remote repository from Kepler?
>      >      >
>      >      > Thanks.
>      >      >
>      >      > Eric
>      >      >
>      >      > On Wed, Mar 19, 2008 at 1:58 PM, ben leinfelder
>      >     <leinfelder at nceas.ucsb.edu <mailto:leinfelder at nceas.ucsb.edu>
>     <mailto:leinfelder at nceas.ucsb.edu <mailto:leinfelder at nceas.ucsb.edu>>>
>      >      > wrote:
>      >      >
>      >      >> Eric,
>      >      >> You might try manually inserting a test EML document into
>     your
>      >     Metacat
>      >      >> instance.  A very direct way to do this would be to use
>     the "dev"
>      >      >> skin.  (I'll use localhost for my example URLs.)
>      >      >>
>      >      >> First login to metacat (this will work with your new auth
>     interface
>      >      >> implementation):
>      >      >> http://localhost:8080/knb/style/skins/dev/login.html
>      >      >> Then try to insert a sample document (paste XML into the
>     first text
>      >      >> area, but leave the DTD box blank):
>      >      >> http://localhost:8080/knb/style/skins/dev/loadxml.html
>      >      >>
>      >      >> If this is a brand-spankin'-new installation of Metacat,
>     make sure
>      >      >> you've run the "register-schemas" ant target so that your
>      >     Metacat can
>      >      >> locate the EML schemas for validation when inserting the
>     documents
>      >      >> (it's an often overlooked step in the installation).
>      >      >>
>      >      >> -ben
>      >      >>
>      >      >> On Mar 19, 2008, at 10:47 AM, Eric Magaha wrote:
>      >      >>
>      >      >>> Hi,
>      >      >>>
>      >      >>> I am encountering an error dialog when trying to upload
>     an actor to
>      >      >>> an external repository.
>      >      >>>
>      >      >>> I have my own installation of metacat/ecogrid running on
>     a private
>      >      >>> network.  I wrote a custom Authentication class instead
>     of using
>      >      >>> LDAP.  That works.  I login and kepler asks me "Would
>     you like your
>      >      >>> component to be publicly accessible in the library?".  I
>     select
>      >     yes,
>      >      >>> and after a brief progress bar I get an error dialog as
>     follows:
>      >      >>>
>      >      >>> There was a problem uploading the data:
>      >     java.rmi.RemoteException: <?
>      >      >>> xml version="1.0"?>
>      >      >>> <error>
>      >      >>> Error in processing EML.
>      >      >>> </error>
>      >      >>>
>      >      >>> Any help/ideas?
>      >      >>>
>      >      >>> Thanks.
>      >      >>>
>      >      >>> Eric
>      >      >>> _______________________________________________
>      >      >>> Kepler-dev mailing list
>      >      >>> Kepler-dev at ecoinformatics.org
>     <mailto:Kepler-dev at ecoinformatics.org>
>      >     <mailto:Kepler-dev at ecoinformatics.org
>     <mailto:Kepler-dev at ecoinformatics.org>>
>      >      >>>
>      >    
>     http://mercury.nceas.ucsb.edu/ecoinformatics/mailman/listinfo/kepler-dev
>      >      >>
>      >      >>
>      >      >
>      >
>      >
>      >
>      >
>     ------------------------------------------------------------------------
>      >
>      > _______________________________________________
>      > Kepler-dev mailing list
>      > Kepler-dev at ecoinformatics.org <mailto:Kepler-dev at ecoinformatics.org>
>      >
>     http://mercury.nceas.ucsb.edu/ecoinformatics/mailman/listinfo/kepler-dev
> 
> 


More information about the Kepler-dev mailing list