Add new attachment

Only authorized users are allowed to upload new attachments.

This page (revision-30) was last changed on 14-Mar-2008 00:06 by JanneJalkanen  

This page was created on 27-Apr-2002 12:42 by JanneJalkanen

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Difference between version and

At line 386 removed 57 lines
----
Hey Folks,
works the XML-RPC-Interface in the new 2.4.100 Version of JSPWiki properly?
I tried this code:
{{{
<%@ page import="org.mahlen.hula.rpcclient.LinkInfo"%>
<%@ page import="org.mahlen.hula.rpcclient.RPCClient"%>
<%@ page import="org.apache.log4j.*" %>
<%@ page import="com.ecyrd.jspwiki.*" %>
<%@ page import="java.util.*" %>
<%@ page import="com.ecyrd.jspwiki.tags.WikiTagBase" %>
<%@ page errorPage="/Error.jsp" %>
<%@ taglib uri="/WEB-INF/jspwiki.tld" prefix="wiki" %>
<%!
public void jspInit()
{
wiki = WikiEngine.getInstance( getServletConfig() );
}
WikiEngine wiki;
%>
<%
String wikiName = wiki.safeGetParameter( request,"wiki");
RPCClient client = new RPCClient("http://myurl.de:15984/"+wikiName+"/RPC2/");
String[] allPages = client.getAllPages(); // <- Line of Failure
}}}
In my Old JSPWiki-Installation it works.. but in the new Version appears an JAVA-Error :
{{{JSPWiki has detected an error
Error Message
Exception
java.io.IOException
Place where detected
org.apache.xmlrpc.XmlRpcClient$Worker.execute(), line -1
If you have changed the templates, please do check them. This error message may show up because of that. If you have not changed them, and you are either installing JSPWiki for the first time or have changed configuration, then you might want to check your configuration files. If you are absolutely sure that JSPWiki was running quite okay or you can't figure out what is going on, then by all means, come over to jspwiki.org and tell us. There is more information in the log file (like the full stack trace, which you should add to any error report).
And don't worry - it's just a computer program. Nothing really serious is probably going on: at worst you can lose a few nights sleep. It's not like it's the end of the world.
}}}
Any Ideas?
Please [AnswerMe]!
Thanks!
--Martin U, 17-Apr-2007
Version Date Modified Size Author Changes ... Change note
30 14-Mar-2008 00:06 28.323 kB JanneJalkanen to previous
29 13-Mar-2008 04:21 28.517 kB 124.160.32.226 to previous | to last
28 13-Mar-2008 04:18 28.353 kB 124.160.32.226 to previous | to last
27 13-Mar-2008 04:11 28.337 kB 124.160.32.226 to previous | to last
26 13-Mar-2008 04:09 28.333 kB 124.160.32.226 to previous | to last
25 13-Mar-2008 03:56 28.323 kB 124.160.32.226 to previous | to last
24 13-Mar-2008 03:54 28.32 kB 124.160.32.226 to previous | to last
23 13-Mar-2008 03:53 28.334 kB 124.160.32.226 to previous | to last
22 13-Mar-2008 03:51 28.33 kB 124.160.32.226 to previous | to last
21 12-Mar-2008 15:24 28.178 kB JanneJalkanen to previous | to last
« This page (revision-30) was last changed on 14-Mar-2008 00:06 by JanneJalkanen