We hope you'll join us for our 4/23 webinar on using data tables to apply reference ranges and AE codes in OC4. For more information and to register, visit https://register.gotowebinar.com/register/2882170018956684555

exception/unable to login as root with new 3.1.2 installation

Not actually, i didn't get any email back.
-----Original Message-----
On Behalf Of Michael Bluett
Sent: quinta-feira, 29 de Novembro de 2012 11:07
To: [email protected]
Subject: Re: [Users] exception/unable to login as root with new 3.1.2
installation
Dear Ricardo,
I've seen three mails from you to [email protected] this morning. One
thing that happens, presumably due to clever mailing list software, is that
if a recipient is on both the developers and users list, and a mail goes to
both lists, then the recipient is only sent one copy of the mail. As a
result, perhaps you saw your mail to both lists coming back only from
[email protected]?
Yours,
Michael
-----Original Message-----
On Behalf Of Ricardo Simões
Sent: 29 November 2012 10:51
To: [email protected]
Subject: Re: [Users] exception/unable to login as root with new 3.1.2
installation
Sorry for using your email but i can't seem to send new email for
[email protected]
Can someone help me out.
I have a import data testing file and its giving me error. I think it's the
subjectkey since I cant seem to find it. Can someone check if this is right?
The error message is:
"
Your XML is not well-formed, and does not comply with the ODM 1.3 Schema.
Please check it, and try again. It returned the message: The processing
instruction target matching "[xX][mM][lL]" is not allowed.
"
<?xml version="1.0" encoding="UTF-8"?>














Thanks
Ricardo Simões
-----Original Message-----
On Behalf Of Michael Bluett
Sent: quinta-feira, 29 de Novembro de 2012 09:28
To: [email protected]
Subject: Re: [Users] exception/unable to login as root with new 3.1.2
installation
Dear Ira,
Your latest configuration sounds good (later versions of Tomcat and
PostgreSQL don't work, this is due to be fixed in 3.1.4).
Are you sure you have the datainfo.properties file set up correctly, and did
the db deploy correctly? Rather than spend a long time on this issue, I'd
be tempted to try redeploying OpenClinica from the war file - to a fresh
database and update the datainfo.properties file appropriately.
Yours,
Michael
-----Original Message-----
On Behalf Of Ira Grollman
Sent: 28 November 2012 21:39
To: [email protected]
Subject: [Users] exception/unable to login as root with new 3.1.2
installation
How should I debug what is causing an exception? Should I be asking in the
developers forum?
Regards, Ira
32 bit virtual machine, Windows Server Enterprise 2003 R2 SP2, Java SE jdk
6u24, Tomcat 6.0.36, PostgreSQL 8.4.14.1, followed directions from "Open
Clinica Reference Guide", section 9.2, Install OpenClinica on Windows
Systems". This is a 3.1.2 OpenClinica kit.
I also tried various other versions of JDK including latest, different OS's
(XP SP3 32 bit and Windows Server R2 64 bit), and latest PostgreSQL, and
latest Tomcat on both 32 bit and 64 virtual machines respectively.
All successfully completed and got to the OpenClinica login window. Trying
the last step of verifying the installation using the root username and
default password cause an exception:
HTTP Status 500 -
----------------------------------------------------------------------------
----
type Exception report
message
description The server encountered an internal error that prevented it from
fulfilling this request.
exception
java.lang.NullPointerException
org.akaza.openclinica.dao.login.UserAccountDAO.findByUserName(UserAccountDAO
.java:530)
org.akaza.openclinica.web.filter.OpenClinicaUsernamePasswordAuthenticationFi
lter.attemptAuthentication(OpenClinicaUsernamePasswordAuthenticationFilter.j
ava:123)
org.springframework.security.web.authentication.AbstractAuthenticationProces
singFilter.doFilter(AbstractAuthenticationProcessingFilter.java:199)
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilte
r(FilterChainProxy.java:380)
org.springframework.security.web.authentication.logout.LogoutFilter.doFilter
(LogoutFilter.java:105)
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilte
r(FilterChainProxy.java:380)
org.springframework.security.web.context.SecurityContextPersistenceFilter.do
Filter(SecurityContextPersistenceFilter.java:79)
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilte
r(FilterChainProxy.java:380)
org.springframework.security.web.session.ConcurrentSessionFilter.doFilter(Co
ncurrentSessionFilter.java:109)
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilte
r(FilterChainProxy.java:380)
org.springframework.security.oauth2.provider.verification.BasicUserApprovalF
ilter.doFilter(BasicUserApprovalFilter.java:41)
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilte
r(FilterChainProxy.java:380)
org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.
java:169)
org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(Delegati
ngFilterProxy.java:237)
org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilt
erProxy.java:167)
com.planetj.servlet.filter.compression.CompressingFilter.doFilter(Compressin
gFilter.java:217)
org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(Char
acterEncodingFilter.java:88)
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestF
ilter.java:76)
note The full stack trace of the root cause is available in the Apache
Tomcat/6.0.36 logs.
----------------------------------------------------------------------------
----
Apache Tomcat/6.0.36

Comments

  • Dear Ricardo,
    Some points mentioned on http://en.wikibooks.org/wiki/OpenClinica_User_Manual/ImportingData
    Are the OIDs correct for the study, events, forms (you may need to specify a particular form version) and subjects?
    I found I had to schedule the Event for the subject before I could import data into the event?
    Are the values valid?
    Yours,
    Michael
    -----Original Message-----
    Sent: 29 November 2012 11:06
    To: [email protected]
    Subject: Re: [Users] exception/unable to login as root with new 3.1.2 installation
    Now i have this error
    "
    Passed XML Validation...
    Passed Study Check...
    Passed OID Metadata Check...
    Passed Event CRF Status Check...
    An error was thrown while reviewing validation errors. It could be that one of several event CRFs is not scheduled. If you are trying to import data for a repeating event, please make sure all occurrences of the repeat have been scheduled.
    "
    Thanks
    Ricardo
    -----Original Message-----
    On Behalf Of Ricardo Simões
    Sent: quinta-feira, 29 de Novembro de 2012 10:51
    To: [email protected]
    Subject: Re: [Users] exception/unable to login as root with new 3.1.2 installation
    Sorry for using your email but i can't seem to send new email for [email protected]
    Can someone help me out.
    I have a import data testing file and its giving me error. I think it's the subjectkey since I cant seem to find it. Can someone check if this is right?
    The error message is:
    "
    Your XML is not well-formed, and does not comply with the ODM 1.3 Schema.
    Please check it, and try again. It returned the message: The processing instruction target matching "[xX][mM][lL]" is not allowed.
    "
    <?xml version="1.0" encoding="UTF-8"?>














    Thanks
    Ricardo Simões
    -----Original Message-----
    On Behalf Of Michael Bluett
    Sent: quinta-feira, 29 de Novembro de 2012 09:28
    To: [email protected]
    Subject: Re: [Users] exception/unable to login as root with new 3.1.2 installation
    Dear Ira,
    Your latest configuration sounds good (later versions of Tomcat and PostgreSQL don't work, this is due to be fixed in 3.1.4).
    Are you sure you have the datainfo.properties file set up correctly, and did the db deploy correctly? Rather than spend a long time on this issue, I'd be tempted to try redeploying OpenClinica from the war file - to a fresh database and update the datainfo.properties file appropriately.
    Yours,
    Michael
    -----Original Message-----
    On Behalf Of Ira Grollman
    Sent: 28 November 2012 21:39
    To: [email protected]
    Subject: [Users] exception/unable to login as root with new 3.1.2 installation
    How should I debug what is causing an exception? Should I be asking in the developers forum?
    Regards, Ira
    32 bit virtual machine, Windows Server Enterprise 2003 R2 SP2, Java SE jdk 6u24, Tomcat 6.0.36, PostgreSQL 8.4.14.1, followed directions from "Open Clinica Reference Guide", section 9.2, Install OpenClinica on Windows Systems". This is a 3.1.2 OpenClinica kit.
    I also tried various other versions of JDK including latest, different OS's (XP SP3 32 bit and Windows Server R2 64 bit), and latest PostgreSQL, and latest Tomcat on both 32 bit and 64 virtual machines respectively.
    All successfully completed and got to the OpenClinica login window. Trying the last step of verifying the installation using the root username and default password cause an exception:
    HTTP Status 500 -
    ----------------------------------------------------------------------------
    ----
    type Exception report
    message
    description The server encountered an internal error that prevented it from fulfilling this request.
    exception
    java.lang.NullPointerException
    org.akaza.openclinica.dao.login.UserAccountDAO.findByUserName(UserAccountDAO
    .java:530)
    org.akaza.openclinica.web.filter.OpenClinicaUsernamePasswordAuthenticationFi
    lter.attemptAuthentication(OpenClinicaUsernamePasswordAuthenticationFilter.j
    ava:123)
    org.springframework.security.web.authentication.AbstractAuthenticationProces
    singFilter.doFilter(AbstractAuthenticationProcessingFilter.java:199)
    org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilte
    r(FilterChainProxy.java:380)
    org.springframework.security.web.authentication.logout.LogoutFilter.doFilter
    (LogoutFilter.java:105)
    org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilte
    r(FilterChainProxy.java:380)
    org.springframework.security.web.context.SecurityContextPersistenceFilter.do
    Filter(SecurityContextPersistenceFilter.java:79)
    org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilte
    r(FilterChainProxy.java:380)
    org.springframework.security.web.session.ConcurrentSessionFilter.doFilter(Co
    ncurrentSessionFilter.java:109)
    org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilte
    r(FilterChainProxy.java:380)
    org.springframework.security.oauth2.provider.verification.BasicUserApprovalF
    ilter.doFilter(BasicUserApprovalFilter.java:41)
    org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilte
    r(FilterChainProxy.java:380)
    org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.
    java:169)
    org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(Delegati
    ngFilterProxy.java:237)
    org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilt
    erProxy.java:167)
    com.planetj.servlet.filter.compression.CompressingFilter.doFilter(Compressin
    gFilter.java:217)
    org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(Char
    acterEncodingFilter.java:88)
    org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestF
    ilter.java:76)
    note The full stack trace of the root cause is available in the Apache
    Tomcat/6.0.36 logs.
    ----------------------------------------------------------------------------
    ----
    Apache Tomcat/6.0.36
This discussion has been closed.