On Nov 11, 2:54 pm, IBWT <[email protected]> wrote:
[snip]
> static public void main(String[] args) {
> try {
> TracInitializer tracInitializer = new
> TracInitializer("http://modelum.es/trac/mylyntest", "user", "pass");
> tracInitializer.getTicket(2);
> } catch (MalformedURLException e) {
> // TODO Auto-generated catch block
> e.printStackTrace();
> }
[snip]
> Caused by: org.apache.xmlrpc.XmlRpcException: Failed to create input
> stream: Server returned HTTP response code: 401 for
> URL:http://modelum.es/trac/mylyntest
Your URL seems bad. It gets a 401 (not authorized), and I then doubt
that that URL challenges for authentication - and even if it does it
still lacks a call to the actual RPC handler. The URL should look
something like this (assuming "mylyntest" is a your project):
http://modelum.es/trac/mylyntest/login/rpc
:::simon
--
You received this message because you are subscribed to the Google Groups "Trac
Users" 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/trac-users?hl=en.