当前位置:Gxlcms > mysql > 关于Oracle启动无法启动netmgr问题的解决

关于Oracle启动无法启动netmgr问题的解决

时间:2021-07-01 10:21:17 帮助过:66人阅读

看下面演示:$ cat .bash_profile。。。 。。。#PATH=$PATH:$HOME/bin #export PATH ORACLE_SID=ltyORACLE_BASE=/u01

看下面演示:
$ cat .bash_profile
。。。 。。。
#PATH=$PATH:$HOME/bin

#export PATH

Oracle_SID=lty
ORACLE_BASE=/u01
ORACLE_HOME=/u01/oracle
#PATH=$ORACLE_HOME/bin:$PATH
#LD_ASSUME_KERNEL=2.4.19
LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib:/usr/local/lib:/usr/X11R6/lib
TNS_ADMIN=$ORACLE_HOME/network/admin
ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
ORACLE_OWNER=oracle
ORACLE_TERM=xterm
PATH=/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:$ORACLE_HOME/bin
DISPLAY=192.168.1.200:0.0

export ORACLE_SID ORACLE_BASE ORACLE_HOME PATH LD_LIBRARY_PATH TNS_ADMIN ORA_NLS33 ORACLE_OWNER ORACLE_TERM DISPLAY

stty erase ^h

$ netmgr
。。。 。。。
Exception in thread "main" java.lang.VerifyError: (class: oracle/net/mgr/servicename/DBPanel$1, method: actionPerformed signature: (Ljava/awt/event/ActionEvent;)V) Illegal use of nonvirtual function call
at oracle.net.mgr.servicename.DBPanel.(DBPanel.java)
at oracle.net.mgr.servicename.ConnectInfoEditor.(ConnectInfoEditor.java)
at oracle.net.mgr.servicename.ServiceNameComponent.(ServiceNameComponent.java)
at oracle.net.mgr.container.NetContainer.loadComponents(NetContainer.java)
at oracle.net.mgr.container.NetContainer.initClient(NetContainer.java)
at oracle.sysman.emSDK.client.appComponent.BaseAppComponent.init(BaseAppComponent.java:242)
at oracle.sysman.emSDK.client.appContainer.WebApplication.addApplicationComponent(WebApplication.java:1168)
at oracle.net.mgr.container.NetApplication.init(NetApplication.java)
at oracle.sysman.emSDK.client.appContainer.WebApplication.launch(WebApplication.java:3443)
at oracle.sysman.emSDK.client.appContainer.WebApplication.main(WebApplication.java:3326)

解决方法:
$ vi ~/bin/netmgr
第139行:$JRE -classpath $CLASSPATH oracle.net.mgr.container.NetApplication oracle.net.mgr.container.NetApplication
改为: $JRE -classpath $CLASSPATH -noverify oracle.net.mgr.container.NetApplication oracle.net.mgr.container.NetApplication

linux

人气教程排行