【案例6】NC安装部署常见问题

目录

 

问题1:Too many open files

问题现象

解决办法

问题2:图形化报错

问题现象

解决办法

问题3:nmc启动报环境不符合

问题现象

解决办法

问题4:64位系统安装了32位的软件

问题现象

解决办法

问题5:参数配置

问题6:部署EJB,SOAPConnectorClient异常

问题现象

解决办法

问题7:重置拒绝会话证书存储

问题现象

解决办法


问题1:Too many open files

问题现象

解决办法

ulimit -n 65535

问题2:图形化报错

问题现象

解决办法

export DISPLAY=IP:0.0

问题3:nmc启动报环境不符合

问题现象

解决办法

    nmc-bin文件夹下所有文件都赋予权限。

问题4:64位系统安装了32位的软件

问题现象

解决办法

sudo yum install libgcc.i686

问题5:参数配置

"-server -Xmx768m -XX:PermSize=128m -XX:MaxPermSize=512m -Duser.timezone=GMT+8 -Djava.awt.headless=true

建议使用64位JDK,堆内存设置为:-Xms1024M –Xmx2048M

当系统部署有预算产品时可添加“-Xss10m”参数,提高效率

在Solaris环境下都要在java进程上增加“-XX:PermSize=512m -XX:MaxPermSize=768m“参数。在部署前,如果JVM参数中设置有“–Xshareclasses:none”,删除“–Xshareclasses:none”,否则有可能会导致中间件无法启动。

参数: 当中间件是IBM WebSphere 8.5.0.1时,对应参数设置在相关文件中,用户通过"sysConfig.bat"进行设置。 具体选择"deployment""JVM",可以设置最小堆大小,最大堆大小,引导参数。

问题6:部署EJB,SOAPConnectorClient异常

问题现象

解决办法

重启Dmgr和NodeAgent,重新部署。

问题7:重置拒绝会话证书存储

问题现象

Java 插件10.51.2.13
使用 JRE 版本 1.7.0_51-b13 Java HotSpot(TM) Client VM
用户主目录 = C:\Users\Administrator
----------------------------------------------------
c:   清除控制台窗口
f:   终结在结束队列上的对象
g:   垃圾收集
h:   显示此帮助消息
l:   转储类加载器列表
m:   打印内存使用情况
o:   触发日志记录
q:   隐藏控制台
r:   重新加载策略配置
s:   转储系统和部署属性
t:   转储线程列表
v:   转储线程堆栈
x:   清除类加载器高速缓存
0-5: 设置跟踪级别为<n>
----------------------------------------------------
Missing 
Application-Name 
manifest attribute for: http://20.10.80.15:8080/Client/appletjar/UAP_Login_v6.jar
跟踪级别设置为 5: 全部... 完成。security: 用户只对此会话的代码授予权限
security: 正在将证书保存到部署会话证书存储
security: 已将证书保存至部署会话证书存储
security: Grant socket perm for http://20.10.80.15:8080/Client/appletjar/UAP_Login_v6.jar : java.security.Permissions@12e4ff9 (
 ("java.net.SocketPermission" "20.10.80.15" "connect,accept,resolve")
)
security: 可信: http://20.10.80.15:8080/Client/appletjar/UAP_Login_v6.jar已结束: Thu Jan 01 08:00:00 CST 1970
security: 
Missing 
Codebase manifest attribute for: http://20.10.80.15:8080/Client/appletjar/UAP_Login_v6.jar
security: 
Missing 
Application-Library-Allowable-Codebase 
manifest attribute for: http://20.10.80.15:8080/Client/appletjar/UAP_Login_v6.jar
security: 使用 CertPath API 验证证书链
basic: Plugin2ClassLoader.getPermissions CeilingPolicy allPerms
Missing 
Permissions 
manifest attribute in main jar: http://20.10.80.15:8080/Client/appletjar/UAP_Login_v6.jar
security: 
Missing 
Codebase manifest attribute for: http://20.10.80.15:8080/Client/appletjar/UAP_Login_v6.jar
security: 
Missing 
Application-Library-Allowable-Codebase 
manifest attribute for: http://20.10.80.15:8080/Client/appletjar/UAP_Login_v6.jar
security: 使用 CertPath API 验证证书链
ruleset: Non-jnlp rule id: 
        title: NCApplet
        location: http://20.10.80.15:8080/
        jar location: http://20.10.80.15:8080/
        jar version: null
        isArtifact: true
ruleset: finding Deployment Rule Set for 
        title: NCApplet
        location: http://20.10.80.15:8080/
        jar location: http://20.10.80.15:8080/
        jar version: null
        isArtifact: true
ruleset: RuleId compare: (http, 20.10.80.15, 9082, /) to url: http://20.10.80.15:8080/
ruleset: RuleId compare: (https, 20.10.80.15, -1, ) to url: http://20.10.80.15:8080/
ruleset: RuleId compare: (http, 20.10.80.15, 8080, /) to url: http://20.10.80.15:8080/
ruleset: Exception List entry exists for: http://20.10.80.15:8080/
no DRS rule applies, returning Exception Rule
security: SSV validation:
    running: 1.7.0_51
    requested: null
    range: null
    javaVersionParam: null
    Rule Set version: null
network: Created version ID: 1.7.0.51
network: Created version ID: 1.7.0.51
security: continue with running version
network: Created version ID: 1.7.0.51
network: Created version ID: 1.7
network: Created version ID: 2.2.51
security:  --- parseCommandLine converted : 
into:
[]
preloader: Delivering: AppletInitEvent[type=CallConstructor]
preloader: Start progressCheck thread
basic: 已加载小应用程序。
basic: 已调整小应用程序大小且已将其添加到父容器中
preloader: Delivering: AppletInitEvent[type=CallInit]
ui: missing resource: java.util.MissingResourceException: Can't find resource for bundle com.sun.deploy.resources.Deployment, key PERF: AppletExecutionRunnable - applet.init() BEGIN ; jvmLaunch dt 483189 us, pluginInit dt 9226088 us, TotalTime: 9709277 us 
basic: PERF: AppletExecutionRunnable - applet.init() BEGIN ; jvmLaunch dt 483189 us, pluginInit dt 9226088 us, TotalTime: 9709277 us
network: 找不到高速缓存条目 [url: http://20.10.80.15:8080/, 版本: null]
network: 正在使用代理 DIRECT 连接 http://20.10.80.15:8080/
network: 正在连接 http://20.10.80.15:8080/ 与 cookie "sessionCode=0; TE3=N0:C N1:E N2:E N3:E N4:C N5:C N6:E N7:E N8:C N9:C N10:C N11:C N12:C N13:C N14:C N15:C N16:C N17:C N18:C N19:C N20:C N21:C N22:C N23:C N24:C N25:C N26:C N27:C N28:C N29:C N30:C N31:C N32:C N33:C N34:C N35:C; JSESSIONID=0000mnWJRbjy5vrUXNN1uGgxE51:ncMem01"
cache: http://20.10.80.15:8080/ is not cacheable.
network: 找不到高速缓存条目 
[url: http://20.10.80.15:8080/nc/bs/mw/fm/ServiceManager.class, 版本: null]
network: 正在使用代理 
DIRECT 连接 http://20.10.80.15:8080/nc/bs/mw/fm/ServiceManager.class
network: 正在连接 http://20.10.80.15:8080/nc/bs/mw/fm/ServiceManager.class 与 cookie "sessionCode=0; TE3=N0:C N1:E N2:E N3:E N4:C N5:C N6:E N7:E N8:C N9:C N10:C N11:C N12:C N13:C N14:C N15:C N16:C N17:C N18:C N19:C N20:C N21:C N22:C N23:C N24:C N25:C N26:C N27:C 
N28:C 
N29:C 
N30:C 
N31:C N32:C N33:C N34:C N35:C; JSESSIONID=0000mnWJRbjy5vrUXNN1uGgxE51:ncMem01"
debug: 
download 
pack 
index: H-2bc35ffffffbeffffffe7fffffffd32ffffffdffffGffff53e755f68ffffff87ffffffd1ffffffc7581be1e-Y
network: 正在使用代理 DIRECT 连接 http://20.10.80.15:8080/provision
network: 正在使用代理 DIRECT 连接 http://20.10.80.15:8080/
network: 正在连接 http://20.10.80.15:8080/provision 与 cookie "sessionCode=0; TE3=N0:C N1:E N2:E N3:E N4:C N5:C N6:E N7:E N8:C N9:C N10:C N11:C N12:C N13:C N14:C N15:C N16:C N17:C N18:C N19:C N20:C N21:C N22:C N23:C N24:C N25:C N26:C N27:C N28:C N29:C N30:C N31:C N32:C N33:C N34:C N35:C; JSESSIONID=0000mnWJRbjy5vrUXNN1uGgxE51:ncMem01"
java.lang.ExceptionInInitializerError
	at nc.sfbase.applet.NCApplet.setNCClassLoader(NCApplet.java:317)
	at nc.sfbase.applet.NCApplet.init(NCApplet.java:258)
	at com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter.init(Unknown Source)
	at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Caused by: nc.bs.framework.provision.ProvisionException: can not init pack index
	at nc.bs.framework.provision.ProvisionClassLoader.init(ProvisionClassLoader.java:164)
	at nc.bs.framework.provision.ProvisionClassLoader.<init>(ProvisionClassLoader.java:148)
	at nc.bs.framework.provision.ProvisionClassLoader.newInstance(ProvisionClassLoader.java:121)
	at nc.bs.framework.provision.ProvisionClassLoader.<clinit>(ProvisionClassLoader.java:93)
	... 5 more
Caused by: java.io.IOException: Server returned HTTP response code: 500 for URL: http://20.10.80.15:8080/provision
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
	at nc.bs.framework.provision.ProvisionUtil.downloadPackIndex(ProvisionUtil.java:196)
	at nc.bs.framework.provision.PackManager.downloadPackIndex(PackManager.java:158)
	at nc.bs.framework.provision.PackManager.getPackIndex(PackManager.java:131)
	at nc.bs.framework.provision.ProvisionClassLoader.init(ProvisionClassLoader.java:160)
	... 8 more
preloader: Delivering: ErrorEvent[url=http://20.10.80.15:8080/ label=null cause=null
basic: 已删除进度监听程序: sun.plugin.util.ProgressMonitorAdapter@1a78298 
ui: Show default error panel
preloader: Preloader shutdown after ErrorEvent
preloader: Stop progressCheck thread
security: 重置拒绝会话证书存储

解决办法

看日志,D:\IBM\WebSphere\AppServer\profiles\App001\logs\ncMem01,发现EJB报错。

查看\nchome\ierp\bin\prop.xml和sysconfig服务器信息是否匹配。点击保存。

已标记关键词 清除标记
©️2020 CSDN 皮肤主题: 黑客帝国 设计师:白松林 返回首页