Update of
/var/cvs/contributions/CMSContainer_Portlets/portlets-jforum/src/java/org/jahia/portlet/jforum
In directory james.mmbase.org:/tmp/cvs-serv17387/java/org/jahia/portlet/jforum
Modified Files:
JForumPortletBridge.java
Log Message:
CMSC-1104 JForum portlet does not work on test environment
See also:
http://cvs.mmbase.org/viewcvs/contributions/CMSContainer_Portlets/portlets-jforum/src/java/org/jahia/portlet/jforum
See also: http://www.mmbase.org/jira/browse/CMSC-1104
Index: JForumPortletBridge.java
===================================================================
RCS file:
/var/cvs/contributions/CMSContainer_Portlets/portlets-jforum/src/java/org/jahia/portlet/jforum/JForumPortletBridge.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- JForumPortletBridge.java 16 Mar 2009 09:24:58 -0000 1.10
+++ JForumPortletBridge.java 23 Mar 2009 06:00:10 -0000 1.11
@@ -555,7 +555,7 @@
reqW.setAttribute("admin_pass1",
StringUtils.isEmpty(SystemGlobals.getValue("admin.password")) ? "admin2k" :
SystemGlobals.getValue("admin.password"));
reqW.setAttribute("db_connection_type", "ds");
reqW.setAttribute("site_link", "");
- reqW.setAttribute("dbdatasource",
StringUtils.isEmpty(SystemGlobals.getValue("database.dbdatasource")) ?
"java:comp/env/jdbc/jforum" : SystemGlobals.getValue("database.dbdatasource"));
+ reqW.setAttribute("dbdatasource",
StringUtils.isEmpty(SystemGlobals.getValue("database.datasource.name")) ?
"java:comp/env/jdbc/jforum" :
SystemGlobals.getValue("database.datasource.name"));
try {
net.jforum.context.RequestContext requestContext = new
WebRequestContext(reqW);
ResponseContext responseContext = new WebResponseContext(respW);
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs