Hi Group,
I am trying to deploy xwiki-0.9.536.war into Jetspeed-2. I encountered the following error in the xWiki Portlet. Can any one tell me what could the problem be. If anyone has instructions as to how to deploy XWiki in Jetspeed-2 as a portlet, can u please send me the link or the war if possible..
ERROR:-
Cannot create Portlet instance com.xpn.xwiki.web.XWikiPortlet for
Portlet Application xwiki-0.9.536
I even tried replacing the following line in Utils.java, but its still not working.
URL url = XWiki.getRequestURL(request);
replaced with
URL url;
try {
url = new URL("http://localhost:8080");
System.out.println("CREATED URL = "+url.toString());
context.setURL(url);
// Push the URL into the Log4j NDC context
MDC.put("url", url);
} catch (MalformedURLException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
Thank you in advance,
Chandra
Shekar.