日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當(dāng)前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

java.rmi.server.port_java.rmi.server.ExportException: internal error: ObjID already in use报错处理...

發(fā)布時(shí)間:2025/3/12 编程问答 30 豆豆
生活随笔 收集整理的這篇文章主要介紹了 java.rmi.server.port_java.rmi.server.ExportException: internal error: ObjID already in use报错处理... 小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.

由于在server.xml文件中使用配置了

在catalina.sh中也指定了對(duì)應(yīng)

CATALINA_OPTS="$CATALINA_OPTS -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=12340 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Djava.rmi.server.hostname=192.168.40.103"這里設(shè)置了對(duì)應(yīng)的設(shè)置

catalina.out報(bào)錯(cuò)

May 26, 2017 3:48:15 PM org.apache.catalina.core.AprLifecycleListener init

INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib

May 26, 2017 3:48:15 PM org.apache.coyote.http11.Http11Protocol init

INFO: Initializing ProtocolHandler ["http-bio-8080"]

May 26, 2017 3:48:15 PM org.apache.catalina.startup.Catalina load

INFO: Initialization processed in 974 ms

May 26, 2017 3:48:15 PM org.apache.catalina.mbeans.JmxRemoteLifecycleListener createServer

SEVERE: Unable to create the RMI registry for the Platform server using port 12340

java.rmi.server.ExportException: internal error: ObjID already in use

at sun.rmi.transport.ObjectTable.putTarget(ObjectTable.java:186)

at sun.rmi.transport.Transport.exportObject(Transport.java:92)

at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:248)

at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:411)

at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:147)

at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:207)

at sun.rmi.registry.RegistryImpl.setup(RegistryImpl.java:122)

at sun.rmi.registry.RegistryImpl.(RegistryImpl.java:98)

at java.rmi.registry.LocateRegistry.createRegistry(LocateRegistry.java:239)

at org.apache.catalina.mbeans.JmxRemoteLifecycleListener.createServer(JmxRemoteLifecycleListener.java:302)

at org.apache.catalina.mbeans.JmxRemoteLifecycleListener.lifecycleEvent(JmxRemoteLifecycleListener.java:284)

at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)

at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)

at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:402)

at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:347)

at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:725)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

at org.apache.catalina.startup.Catalina.start(Catalina.java:691)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:606)

at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:322)

at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:456)

May 26, 2017 3:48:15 PM org.apache.catalina.core.StandardService startInternal

INFO: Starting service Catalina

May 26, 2017 3:48:15 PM org.apache.catalina.core.StandardEngine startInternal

INFO: Starting Servlet Engine: Apache Tomcat/7.0.42

解決辦法 把文件server.xml中的 刪除即可

總結(jié)

以上是生活随笔為你收集整理的java.rmi.server.port_java.rmi.server.ExportException: internal error: ObjID already in use报错处理...的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。