设置监视身份验证文件.AMSetupServlet.processRequest:> errorjava.lang.NullPointerException

时间:2014-09-28 09:30:51

标签: openam

我在命令行上从现有部署安装openam时出错。

环境:jdk 1.7.0_60 + OpenAM11 我的配置文件是:

ADMIN_PWD=*******
SERVER_URL=http://openam.example.com:8080
locale=en_US
PLATFORM_LOCALE=en_US
BASE_DIR=/root/openam
AM_ENC_KEY=
DEPLOYMENT_URI=/openam
AMLDAPUSERPASSWD=*****************
SERVER_HOST=openam.example.com

# Embedded configuration data store
DATA_STORE=embedded
DIRECTORY_SSL=SIMPLE
DIRECTORY_SERVER=openam.example.com
DIRECTORY_PORT=50389
DIRECTORY_ADMIN_PORT=4444
DIRECTORY_JMX_PORT=1689
ROOT_SUFFIX=dc=example,dc=com
DS_DIRMGRDN=cn=Directory Manager
DS_DIRMGRPASSWD=*********

DS_EMB_REPL_FLAG=embReplFlag
DS_EMB_REPL_REPLPORT1=58989
DS_EMB_REPL_HOST2=localhost
DS_EMB_REPL_ADMINPORT2=5444
DS_EMB_REPL_REPLPORT2=50889
existingserverid=http://www.openam.example.com:8080/openam

LB_SITE_NAME=lb
LB_PRIMARY_URL=http://lb.example.com/openam
LB_SESSION_HA_SFO=true

/root/openam/install.log: 设置监视身份验证文件.AMSetupServlet.processRequest:errorjava.lang.NullPointerException

at java.net.URLEncoder.encode(URLEncoder.java:205)
        at com.sun.identity.setup.BootstrapCreator.getBootStrapURL(BootstrapCreator.java:190)
        at com.sun.identity.setup.BootstrapCreator.update(BootstrapCreator.java:105)
        at com.sun.identity.setup.BootstrapCreator.updateBootstrap(BootstrapCreator.java:83)
        at com.sun.identity.common.configuration.ServerConfigXMLObserver.update(ServerConfigXMLObserver.java:108)
        at com.sun.identity.setup.AMSetupServlet.processRequest(AMSetupServlet.java:658)
        at com.sun.identity.setup.AMSetupServlet.doPost(AMSetupServlet.java:583)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:643)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.forgerock.openam.validation.ResponseValidationFilter.doFilter(ResponseValidationFilter.java:44)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at com.sun.identity.setup.AMSetupFilter.doFilter(AMSetupFilter.java:115)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
        at java.lang.Thread.run(Thread.java:745)

这是成功的最后一步。但是当我从网络浏览器安装它时,我没有遇到同样的问题。

如何解决此问题? 感谢

0 个答案:

没有答案