Dan - 2009-04-28

Recently got XPlanner running on a Windows XP box with Tomcat 5.0 and JDK 1.4.2

Had to modify the spring-beans.xml file as described below (and restart Tomcat afterwards) to get the login page to come up (see cut/paste below)

[jira] Commented: (XPR-391) Deployment fails with Tomcat 5.5 with JDK 1.6  by JIRA jira@codehaus.org Oct 03, 2007; 04:01am :: Rate this Message:    - Use ratings to moderate (?)

Reply | Reply to Author | Print | View Threaded | Show Only this Message

    [ http://jira.codehaus.org/browse/XPR-391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_108921 ]

Alex Borshik commented on XPR-391:
----------------------------------

If anyone wants a quick workaround for this issue without having to re-build from source then you can do the following in the spring config:

1.  Open /xplanner/WEB-INF/classes/sbring-beans.xml
2.  Find the bean id="metaRepository"
3.  Replace
     <property name="repositories"><map>......</map></property>
     with
    <property name="repositories">
        <bean class="java.util.HashMap">
        <constructor-arg>
        <map>.....</map>
        </constructor-arg>
        </bean>
    </property>

This will cause spring to create a HashMap populated with the contents os the spring created map.

Info above found at:
http://www.nabble.com/-xplanner-dev---jira--Created:-\(XPR-391)-Deployment-fails-with-Tomcat-5.5-with-JDK-1.6-td9576704.html