ESGF / esgf-installer

ESGF P2P Node Installer
https://esgf.llnl.gov/
Other
20 stars 21 forks source link

null pointer #57

Closed mattben closed 9 years ago

mattben commented 10 years ago

I just ran

export GIT_SSL_NO_VERIFY=1
./esg-node --install --type all --devel

it finishes with no reported errors.

I can bring up the front end but when I click to login --> create account Tomcat returns a null pointer...


[root@esgf-dev bin]# ./esg-node --install --type all --devel Please select the ESGF distribution mirror for this installation (fastest to slowest):

 [1] http://dist.ceda.ac.uk/esgf/dist 
 [2] http://distrib-coffee.ipsl.jussieu.fr/pub/esgf/dist 
-------------------------------------------

select [1] > 1 1 node type set to: all

EEEEEEEEEEEEEEEEEEEEEE SSSSSSSSSSSSSSS GGGGGGGGGGGGGFFFFFFFFFFFFFFFFFFFFFF E::::::::::::::::::::E SS:::::::::::::::S GGG::::::::::::GF::::::::::::::::::::F E::::::::::::::::::::ES:::::SSSSSS::::::S GG:::::::::::::::GF::::::::::::::::::::F EE::::::EEEEEEEEE::::ES:::::S SSSSSSS G:::::GGGGGGGG::::GFF::::::FFFFFFFFF::::F E:::::E EEEEEES:::::S G:::::G GGGGGG F:::::F FFFFFF E:::::E S:::::S G:::::G F:::::F E::::::EEEEEEEEEE S::::SSSS G:::::G F::::::FFFFFFFFFF E:::::::::::::::E SS::::::SSSSS G:::::G GGGGGGGGGG F:::::::::::::::F E:::::::::::::::E SSS::::::::SS G:::::G G::::::::G F:::::::::::::::F E::::::EEEEEEEEEE SSSSSS::::S G:::::G GGGGG::::G F::::::FFFFFFFFFF E:::::E S:::::SG:::::G G::::G F:::::F E:::::E EEEEEE S:::::S G:::::G G::::G F:::::F EE::::::EEEEEEEE:::::ESSSSSSS S:::::S G:::::GGGGGGGG::::GFF:::::::FF E::::::::::::::::::::ES::::::SSSSSS:::::S GG:::::::::::::::GF::::::::FF E::::::::::::::::::::ES:::::::::::::::SS GGG::::::GGG:::GF::::::::FF EEEEEEEEEEEEEEEEEEEEEE SSSSSSSSSSSSSSS GGGGGG GGGGFFFFFFFFFFF.org

Checking that you have root privs on esgf-dev.llnl.gov... [OK] Checking requisites...

WARNING: ./esg-node could not be verified!! (This file, ./esg-node, may have been tampered with or there is a newer version posted at the distribution server. Please update this script.)

Do you wish to Update and exit [u], continue anyway [c] or simply exit [x]? [u/c/X]: c Continuing...


ESGF Node Installation Program

 The goal of this script is to automate as many tasks as possible
 regarding the installation, maintenance and use of the ESGF
 software stack that is know as the "ESGF Node".  A software
 stack is a collection of tools that work in concert to perform a
 particular task or set of tasks that are semantically united. The
 software stack is comprised of: Tomcat, Thredds, CDAT & CDMS,
 PostgreSQL, MyProxy, and several ESGF.org custom software
 applications running on a LINUX (RedHat/CentOS) operating system.

 Through the installation process there are different accounts
 that are created that facilitate the communication between the
 software stack entities.  These credentials are internal to the
 stack.  It is recommended that you use the defaults provided
 throughout this installation.  The security impact with regards
 to the visibility and accessibility of the constituent components
 of the stack depends on other factors to be addressed by your
 organization.

 Please be sure that you have gotten your created an account on
 your ESGF IDP Peer.

 The primary IDP Peer for ESGF is pcmdi9.llnl.gov
 You may register for an account at PCMDI9 at the following URL:
 http://pcmdi9.llnl.gov/esgf-web-fe/createAccount

 Note: Account creation is prerequisite for publication!

 ESGF P2P Node:                                             ESGF P2P Node:
  ---------                                                   ---------
 |Tomcat   |                                                 |Tomcat   |
 |-Node Mgr|   <================= P2P =================>     |-Node Mgr|
 |-Thredds |                                                 |-Thredds |
 |-ORP     |                                                 |-ORP     |
 |---------|                                                 |---------|
 |CDAT/CDMS|                                                 |CDAT/CDMS|
 |---------|                                                 |---------|
 |Postgres |                                                 |Postgres |
 |---------|                                                 |---------|
 | MyProxy |  <===(HTTPS)===> [ESGF Peer Node(s)]*           | MyProxy |
 |---------|                                                 |---------|
 | GridFTP |  <=============> [End User(s)]*                 | GridFTP |
 >---------<                                                 >---------<
 | CentOS  |                                                 | CentOS  |
 |(Virtual)|                                                 |(Virtual)|
 | Machine |                                                 | Machine |
 |---------|                                                 |---------|
  ---------                                                   ---------

 (Visit http://esgf.org , http://github.com/ESGF/esgf.github.io/wiki for more information)

EEEEEEEEEEEEEEEEEEEEEE SSSSSSSSSSSSSSS GGGGGGGGGGGGGFFFFFFFFFFFFFFFFFFFFFF E::::::::::::::::::::E SS:::::::::::::::S GGG::::::::::::GF::::::::::::::::::::F E::::::::::::::::::::ES:::::SSSSSS::::::S GG:::::::::::::::GF::::::::::::::::::::F EE::::::EEEEEEEEE::::ES:::::S SSSSSSS G:::::GGGGGGGG::::GFF::::::FFFFFFFFF::::F E:::::E EEEEEES:::::S G:::::G GGGGGG F:::::F FFFFFF E:::::E S:::::S G:::::G F:::::F E::::::EEEEEEEEEE S::::SSSS G:::::G F::::::FFFFFFFFFF E:::::::::::::::E SS::::::SSSSS G:::::G GGGGGGGGGG F:::::::::::::::F E:::::::::::::::E SSS::::::::SS G:::::G G::::::::G F:::::::::::::::F E::::::EEEEEEEEEE SSSSSS::::S G:::::G GGGGG::::G F::::::FFFFFFFFFF E:::::E S:::::SG:::::G G::::G F:::::F E:::::E EEEEEE S:::::S G:::::G G::::G F:::::F EE::::::EEEEEEEE:::::ESSSSSSS S:::::S G:::::GGGGGGGG::::GFF:::::::FF E::::::::::::::::::::ES::::::SSSSSS:::::S GG:::::::::::::::GF::::::::FF E::::::::::::::::::::ES:::::::::::::::SS GGG::::::GGG:::GF::::::::FF EEEEEEEEEEEEEEEEEEEEEE SSSSSSSSSSSSSSS GGGGGG GGGGFFFFFFFFFFF.org

 -ESGF.org 

 ----------------------------------------------------------
 Please make sure you have installed ALL the prerequisites
 Please read the prerequisite list here:
 https://github.com/ESGF/esgf.github.io/wiki/ESGFNode%7CFAQ#what-do-i-need-on-my-system-before-i-install
 Before continuing make sure they are ALL present on this system!!!!!!
     If you intend on publishing from this node please check the publishing network prerequisites
     http://github.com/ESGF/esgf.github.io/wiki/ESGFNode%7CFAQ#prerequisites
 ----------------------------------------------------------

(Installing DEVELOPMENT tree...)

Are you ready to begin the installation? [Y/n] Using IP: 128.115.184.94 (data node type selected) (index node type selected) (idp node type selected) (compute node type selected)


Welcome to the ESGF Node installation program! :-)

esgf_host = [esgf-dev.llnl.gov] esg_root_id = [llnl] node_short_name = [esgf_devel_node] node_long_name = [devel node only no production publications] node_namespace = [gov.llnl] node_peer_group = [esgf-test] esgf_default_peer = [vesgint-idx.ipsl.jussieu.fr] esgf_index_peer = [vesgint-idx.ipsl.jussieu.fr] mail_admin_address = [support@ipsl.fr] db connection string = [postgresql://dbsuper@localhost:5432/esgcet] [external = no] publisher_db_user = [esgcet]

db publisher connection string = [postgresql://esgcet@localhost:5432/esgcet]


LOADING installer for security... ==> ./esg-security is up to date Checking for esgf security (lib) [2.5.0-phoenix-1.7.2-devel] The detected version of esgf-security [2.5.0] is not between [2.5.0-phoenix-1.7.2-devel] and []


Configuring Postgres... for ESGF Security


pg_ctl: server is running (PID: 29656) /usr/local/pgsql/bin/postgres "-D" "/usr/local/pgsql/data" psql: FATAL: password authentication failed for user "dbsuper" psql: FATAL: password authentication failed for user "dbsuper" Creating ESGF database: [esgcet] ==> esgf-user-migrate is up to date

==> esgf-policy-check is up to date


LOADING installer for idp... ==> ./esg-idp is up to date Checking for idp services 2.4.5-phoenix-1.7.2-devel Sorry, the detected version of esgf-idp [2.4.5] is older than required minimum version [2.4.5-phoenix-1.7.2-devel]


Setting up The ESGF Idp Services


Detected an existing idp services installation... Do you want to continue with idp services installation and setup? [Y/n] Do you want to make a back up of the existing distribution?? [Y/n] Creating a backup archive of this web application /usr/local/tomcat/webapps/esgf-idp Backup - Creating a backup archive of /usr/local/apache-tomcat-7.0.55/webapps/esgf-idp Created backup: /esg/backups/esgf-idp.2014_09_04_101337.tgz

==> /usr/local/src/esgf/workbench/esg/esgf-idp.war is up to date Tomcat (jsvc) process is running...

stop tomcat: /usr/local/tomcat/bin/jsvc -pidfile /var/run/tomcat-jsvc.pid -stop org.apache.catalina.startup.Bootstrap (please wait) Moving Previous Installation of esgf-idp... /usr/local/tomcat/webapps/esgf-idp' ->/usr/local/tomcat/webapps/esgf-idp.bak' Expanding war /usr/local/src/esgf/workbench/esg/esgf-idp.war in /usr/local/tomcat/webapps/esgf-idp

Removing Previous Installation of esgf-idp... [OK]

sanity checking webapps' web.xml files accordingly... |--setting ownership of web.xml files... to tomcat.tomcat |--inspecting web.xml files for proper authorization service assignment... ** ROOT app in place... [OK] Cleared tomcat cache... starting services... (60) Running startup hooks... ESGCET (Publisher) Startup Hook: Setting perms... :-) TDS (THREDDS) Startup Hook: Setting perms... :-) ORP Startup Hook: Syncing Credential Tokens... Oo.:-) Security Startup Hook: Setup policy and whitelists... (p) Could not determine location of security jar, exiting... Web-FE Startup Hook... :-) Desktop Startup Hook: Setting up config file(s) for desktop... :-) Search Startup Hook... :-) Publisher Resources... (https://github.com/ESGF/esgf-publisher-resources.git) Fetching origin Already up-to-date. Fetching federation certificates... [OK] Fetching federation truststore..... [OK] ntpd (pid 8824) is running... pg_ctl: server is running (PID: 29656) /usr/local/pgsql/bin/postgres "-D" "/usr/local/pgsql/data" Starting Tomcat (jsvc)... JAVA_HOME=/usr/local/java /usr/local/tomcat/bin/jsvc -Djava.awt.headless=true -Dcom.sun.enterprise.server.ss.ASQuickStartup=false -Dcatalina.home=/usr/local/tomcat -pidfile /var/run/tomcat-jsvc.pid -cp /usr/local/apache-tomcat-7.0.55/bin/tomcat-juli.jar:/usr/local/apache-tomcat-7.0.55/bin/bootstrap.jar:/usr/local/apache-tomcat-7.0.55/bin/commons-daemon.jar -outfile /usr/local/tomcat/logs/catalina.out -errfile /usr/local/tomcat/logs/catalina.err -user tomcat -Xmx2048m -server -Xms1024m -XX:MaxPermSize=512m -Dsun.security.ssl.allowUnsafeRenegotiation=false org.apache.catalina.startup.Bootstrap ..Tomcat (jsvc) process is running...

check_tomcat_process [OK] Starting dashboard provider... Starting Globus Services for Data-Node... (GridFTP server(s)) : [bdm end-user] Starting Globus services for datanode GridFTP - Starting server... bdm end-user

---------esgsaml_auth.conf---------

AUTHSERVICE=https:///esg-orp/saml/soap/secure/authorizationService.htm


Setting up GridFTP... chroot jail


Creating chroot jail @ /esg/gridftp_root

Finished setting up a chroot dir at /esg/gridftp_root.

You may wish to create data directories or use mount --bind datadir /esg/gridftp_root/datadir to link in external directories.

Reading ESGINI=[/esg/config/esgcet/esg.ini] for thredds_dataset_roots to mount... mounting [/esg/data] into chroot jail [/esg/gridftp_root/] as [esg_dataroot] mount: special device /esg/data does not exist * writing sanitized passwd file to [/esg/gridftp_root/etc/passwd] [OK] writing sanitized group file to [/esg/gridftp_root/etc/group] [OK] syncing local certificates into chroot jail... [OK] configuring publisher to use this GridFTP server... [OK] gridftp-server process is running on port [2812]... gridftp-server process is running on port [2811]... Starting Globus Services for IDP-Node... (MyProxy server) Starting Globus services for gateway MyProxy - Starting server... Starting up MyProxy server... Failed to start MyProxy server! Could Not Start Globus IDP Node related services (MyProxy) Starting search services... master slave Solr process for slave running on port [8983]... Solr process for master running on port [8984]...


Running Node Services...

node type: data index idp compute

jsvc 1204 tomcat 40u IPv6 681118 0t0 TCP :80 (LISTEN) jsvc 1204 tomcat 41u IPv6 681125 0t0 TCP :443 (LISTEN) postgres 29656 postgres 3u IPv4 673142 0t0 TCP 127.0.0.1:5432 (LISTEN) globus-gr 30544 root 9u IPv4 675260 0t0 TCP :2812 (LISTEN) globus-gr 30552 root 9u IPv4 675338 0t0 TCP :2811 (LISTEN) java 30642 root 50u IPv6 675581 0t0 TCP *:8983 (LISTEN)

java 30711 root 49u IPv6 675802 0t0 TCP *:8984 (LISTEN)

==> /usr/local/src/esgf/workbench/esg/bash-completion-20060301-1.noarch.rpm is up to date warning: bash-completion-20060301-1.noarch.rpm: Header V3 DSA/SHA1 Signature, key ID bfbaf0e8: NOKEY error: Failed dependencies: bash-completion < 20080705 conflicts with rpmdevtools-7.5-2.el6.noarch

Finished!... In order to see if this node has been installed properly you may direct your browser to: http://esgf-dev.llnl.gov/ http://esgf-dev.llnl.gov/esgf-node-manager http://esgf-dev.llnl.gov/esgf-dashboard http://esgf-dev.llnl.gov/thredds http://esgf-dev.llnl.gov/esg-orp http://esgf-dev.llnl.gov/esgf-desktop http://esgf-dev.llnl.gov/esgf-web-fe http://esgf-dev.llnl.gov/las

Your peer group membership -- : [esgf-test] Your specified "default" peer : [vesgint-idx.ipsl.jussieu.fr] Your specified "index" peer - : [vesgint-idx.ipsl.jussieu.fr](url = http://vesgint-idx.ipsl.jussieu.fr/) Your specified "idp" peer --- : [](name =)

[Note: Use UNIX group permissions on /esg/content/thredds/esgcet to enable users to be able to publish thredds catalogs from data therein] %> chgrp -R /esg/content/thredds

    -------------------------------------------------------
    Administrators of this node should subscribe to the
    esgf-node-admins@lists.llnl.gov by sending email to: majordomo@lists.llnl.gov
    with the body: subscribe esgf-node-admins
    -------------------------------------------------------

v0.0.0-devel


HTTP Status 500 - Request processing failed; nested exception is java.lang.NullPointerException

type Exception report

message Request processing failed; nested exception is java.lang.NullPointerException

description The server encountered an internal error that prevented it from fulfilling this request.

exception

org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.lang.NullPointerException org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:948) org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:827) javax.servlet.http.HttpServlet.service(HttpServlet.java:620) org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:812) javax.servlet.http.HttpServlet.service(HttpServlet.java:727) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) org.tuckey.web.filters.urlrewrite.NormalRewrittenUrl.doRewrite(NormalRewrittenUrl.java:195) org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:159) org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:141) org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:90) org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:417) org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330) org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118) org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84) org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113) org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:103) org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113) org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54) org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45) org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:183) org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105) org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87) org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) org.springframework.security.web.access.channel.ChannelProcessingFilter.doFilter(ChannelProcessingFilter.java:144) org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) org.esgf.security.OpenidCookieFilter.doFilter(OpenidCookieFilter.java:81) org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192) org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160) org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346) org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259) org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88) org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)

root cause

java.lang.NullPointerException org.esgf.accounts.CreateAccountController.formBackingObject(CreateAccountController.java:91) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:601) org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:219) org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:132) org.springframework.web.method.annotation.ModelFactory.invokeModelAttributeMethods(ModelFactory.java:123) org.springframework.web.method.annotation.ModelFactory.initModel(ModelFactory.java:97) org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:722) org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:686) org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80) org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:925) org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856) org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:936) org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:827) javax.servlet.http.HttpServlet.service(HttpServlet.java:620) org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:812) javax.servlet.http.HttpServlet.service(HttpServlet.java:727) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) org.tuckey.web.filters.urlrewrite.NormalRewrittenUrl.doRewrite(NormalRewrittenUrl.java:195) org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:159) org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:141) org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:90) org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:417) org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330) org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118) org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84) org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113) org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:103) org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113) org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54) org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45) org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:183) org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105) org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87) org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) org.springframework.security.web.access.channel.ChannelProcessingFilter.doFilter(ChannelProcessingFilter.java:144) org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) org.esgf.security.OpenidCookieFilter.doFilter(OpenidCookieFilter.java:81) org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192) org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160) org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346) org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259) org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88) org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)

note The full stack trace of the root cause is available in the Apache Tomcat/7.0.55 logs. Apache Tomcat/7.0.55

mattben commented 10 years ago

I think its due to the wrong java

[root@esgf-dev bin]# which java
/usr/bin/java
[root@esgf-dev bin]# java -version
java version "1.7.0_65" 
OpenJDK Runtime Environment (rhel-2.5.1.2.el6_5-x86_64 u65-b17)
OpenJDK 64-Bit Server VM (build 24.65-b04, mixed mode)
mattben commented 10 years ago

I removed open java and all its friends

yum erase java

that removed 105 packages

I then added this to my .bashrc (to point to the esgf java and ant)

export JAVA_HOME=/usr/local/java
export ANT_HOME=/usr/local/ant
export CATALINA_HOME=/usr/local/tomcat/libexec
export TOMCAT_HOME=$CATALINA_HOME
export PATH=$PATH:$JAVA_HOME/bin:$ANT_HOME/bin

now

harris112@esgf-dev [~]$ which java
  /usr/local/java/bin/java
harris112@esgf-dev [~]$ java -version
  java version "1.7.0_21"
  Java(TM) SE Runtime Environment (build 1.7.0_21-b11)
  Java HotSpot(TM) 64-Bit Server VM (build 23.21-b01, mixed mode)
harris112@esgf-dev [~]$ which ant
  /usr/local/ant/bin/ant
harris112@esgf-dev [~]$ ant -version
  Apache Ant(TM) version 1.9.1 compiled on May 15 2013

I restarted the server

./esg-node restart

and no dice I still can't create an account

HTTP Status 500 - Request processing failed; nested exception is java.lang.NullPointerException
see above
ncarenton commented 9 years ago

This should not be done manually. The installer will download and install oracle jdk 1.7.0_21 available on each ESGF dist mirrors and set the needed environment variables in /etc/esg.env