[kepler-dev] metacat question
Eric Magaha
ericmagaha at gmail.com
Wed Mar 19 09:55:55 PDT 2008
Hi Ben,
Yes I replaced the server name for submission on the listserv.
Ok. Hitting the servlet directly with the parameters you specified gives me
the 500 error, with a stack trace showing a NullPointerException in
AuthSession.java:85. I will troubleshoot.
Thanks!
Eric
On Wed, Mar 19, 2008 at 12:49 PM, ben leinfelder <leinfelder at nceas.ucsb.edu>
wrote:
> Eric,
> It looks like your EcoGrid authentication service is not finding your
> Metacat instance. Is "http://path/to/myServer:8080/knb/metacat"
> literally returned in the error, or did you replace your server name
> to protect it's location when sending to the list? That url needs to
> be correct (of course).
>
> You can test the Metacat portion of your new AuthInterface with a
> simple request to the servlet:
> http://your_host_name/knb/metacat?
> action=login&username=leinfelder&password=blank
>
> The EcoGrid portion looks up the Metacat URL from a metacat.properties
> file (different from the main metacat.properties file). This one is
> in your_context/WEB-INF/classes directory and should have only one
> line that specifies the metacatURL. This is created and packaged as
> part of the EcoGrid build.
>
> hope that points you in a good direction
> -ben
>
> On Mar 19, 2008, at 9:15 AM, Eric Magaha wrote:
>
> > Hi,
> >
> > I have installed metacat with ecogrid. I am trying NOT to use
> > authentication i.e. LDAP. I created a custom class that implements
> > the AuthInterface. I just want to "trick" kepler into thinking the
> > user was authenticated. Is there something I have to specifically
> > return in the methods for AuthInterface, data in some format? In
> > Kepler, I am getting an error in Kepler when trying to auth
> > anonymously.
> >
> > I get a dialog as follows....
> >
> > "Error authenticating: Error authenticating:
> > java.rmi.RemoteException: Server returned HTTP response code: 500
> > for URL: http://path/to/myServer:8080/knb/metacat"
> >
> > I am not sure how to troubleshoot this.
> >
> > Thanks for any help.
> >
> > Eric
> > _______________________________________________
> > Kepler-dev mailing list
> > Kepler-dev at ecoinformatics.org
> > http://mercury.nceas.ucsb.edu/ecoinformatics/mailman/listinfo/kepler-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mercury.nceas.ucsb.edu/kepler/pipermail/kepler-dev/attachments/20080319/8bc5e74e/attachment.html>
More information about the Kepler-dev
mailing list