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

OpenClinica 3.0.4.2 and Tomcat error

Hello!
We were trying to upgrade our exisiting OpenClinica installation to 3.0.4.2
(due to upgrades to the 3.1.x branch not working). We are running OC with
the following components:
- OS Debian 7.3
- OpenClinica 3.0.4.2
- Postgresql 8.4.19 (compiled from source since it is not an up-to-date
version)
- Java(TM) SE Runtime Environment (build 1.6.0_45-b06) (from Oracle)
- Apache Tomcat 6.0.35 (from Debian)
We did a full upgrade process to a new server, migrating the OC data
directory and the Postgresql database content. After a few tests on the new
server we hit the Java permanent size limit, increased the permanent size
limit of the Java VM, restarted the Tomcat process, and could not login any
more. The login screen appears, but after entering any valid user account
Tomcat immediately show the following error message:
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:500)
org.akaza.openclinica.web.filter.OpenClinicaAuthenticationProcessingFilter.attemptAuthentication(OpenClinicaAuthenticationProcessingFilter.java:106)
org.springframework.security.ui.AbstractProcessingFilter.doFilterHttp(AbstractProcessingFilter.java:258)
org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
org.springframework.security.ui.logout.LogoutFilter.doFilterHttp(LogoutFilter.java:89)
org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235)
org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:175)
org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:236)
org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.35 logs.
Apache Tomcat/6.0.35
The Tomcat logs show the same error, no additional information. There is no
interaction with the Postgresql (we checked with tshark on TCP/IP, though
the OC process maintains two active database connections from the start of
the JVM). When we hit the error for the first time, we were able to correct
it by deleting the Tomcat cache and reinstalling OC. This process doesn't
work any more. We get the same result even if we completely reinstall OC
from scratch (including the web application, all OC data and the database).
Do you have any helpful hints regarding this error?
Best regards,
René.
-- )\._.,--....,'``. fL Let GNU/Linux work for you while you take a nap. /, _.. \ _\ (`._ ,. R. Pfeiffer + http://web.luchs.at/ `._.-(,_..'--(,_..'`-.;.' - System administration + Consulting + Teaching - Got mail delivery problems? http://web.luchs.at/information/blockedmail.php
This discussion has been closed.