JAXB unmarshalling exception

Hi,
I've installed OpenClinica-web and Rule Designer 1.3.1. start wiht Tomcat 7.0.65 on Ubuntu 14.04.

I've changed the datainfo.properties configuration of OpenClinica-web in this way: Everithing works fine, but when i click the Rule Designer button, i get this link: http://localhost:8080/Designer/access?host=http://localhost:8080&app=OpenClinica-web&study_oid=S_DEFAULTS1&provider_user=root&path=pages/studymodule.

When i press the button I got this error:




org.springframework.oxm.UnmarshallingFailureException: JAXB unmarshalling exception; nested exception is javax.xml.bind.UnmarshalException: unexpected element (uri:"http://www.w3.org/1999/xhtml", local:"html"). Expected elements are <{http://www.cdisc.org/ns/odm/v1.3}Address>,<{http://www.cdisc.org/ns/odm/v1.3}AdminData>,
... 81 more
set 08, 2016 10:01:29 AM org.apache.catalina.core.StandardWrapperValve invoke
GRAVE: Servlet.service() for servlet [Designer] in context with path [/Designer] threw exception [Request processing failed; nested exception is java.lang.NullPointerException] with root cause
java.lang.NullPointerException
at org.akaza.openclinica.designer.web.controller.UIODMBuilder.initMultiSelectList(UIODMBuilder.java:491)
at org.akaza.openclinica.designer.web.controller.UIODMBuilder.(UIODMBuilder.java:35)
at org.akaza.openclinica.designer.web.controller.AccessResourceController.createForm(AccessResourceController.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at

Anyone can help me? Thanks

Comments

  • nromanonromano Posts: 2
    The problems seems to be an authentication mistake. When Designer try to contact OC by authenticationManager ( using this configuration ??? )

    <!-- Configure Authentication mechanism -->
    <authentication-manager alias="authenticationManager">
    <!-- SHA-256 values can be produced using 'echo -n your_desired_password | sha256sum' (using normal *nix environments) -->
    <authentication-provider>
    <password-encoder hash="sha-256"/>
    <user-service>
    <user name="root" password="a3adf26e70b8d8ab53da3d36b159ccb341d014e6" authorities="ROLE_ADMIN"/>
    <user name="admin" password="8c6976e5b5410415bde908bd4dee15dfb167a9c873fc4bb8a81f6f2ab448a918" authorities="ROLE_ADMIN"/>
    <user name="user" password="04f8996da763b7a969b1028ee3007569eaf3a635486ddab211d512c85b9df8fb" authorities="ROLE_USER"/>
    </user-service>
    </authentication-provider>
    </authentication-manager>


    the OC returns login page instead the correct metadata of study.

    What is the correct configuration of authentication? I have to set the user and the password of OC user in applicationContext-security.xml of Designer?

    Thanks
Sign In or Register to comment.