Jump to content
We've recently updated our Privacy Statement, available here ×

[SOLVED] CustomDataSource not working with js3.7


englbrechtful

Recommended Posts

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
Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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>
 

 

Link to comment
Share on other sites

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...