Jump to content

Recommended Posts

Posted

Hey everybody,

I recently updated my JasperServer 3.5 CE installation to JasperServer 3.7 CE RC.

My custom datasource isnt working anymore since then. I did not change anything and cannot explain the problem myself.

I found a similar error on the bugtracker (http://jasperforge.org/projects/jasperserver/tracker/view.php?id=4466)

I need my custom datasource to be working, so my question is if that is a problem on jaspersoft or on my side and if it will be fixed soon or if i have to downgrade back to 3.5.

Thanks!                                                

Code:



Post Edited by englbrechtful at 01/25/2010 13:16



Post Edited by englbrechtful at 01/25/2010 14:42
  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted
UPDATE: just upgraded from RC to final version of jasperserver 3.7.0 CE and theres still the same problem. Jasperserver application is not starting, while same configs works for Jasperserver 3.5.0
Posted

JasperServer 3.7 made one minor change to the configuration file for custom data source.  Notice that the property name 'value' has one additional child element: <property name="valueType".... Once you change yours, JasperServer starts fine.

    <!-- add your message catalog -->
    <bean class="com.jaspersoft.jasperserver.api.common.util.spring.GenericBeanUpdater">
     <property name="definition" ref="addMessageCatalog"/>
     <property name="value">
            <list>
                <value>WEB-INF/bundles/[your resource bundle]</value>
            </list>
        </property>
        <property name="valueType" value="stringList"/>
    </bean>
 

 

Posted

Thats it. Works!!!!

THANK YOU SO MUCH!!! Ive been sitting on that problem 24/7 for almost a week, completely rewrote my classes and shit, and its just those two lines, haha.

again thank you !

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...