jboss3.2.3web程式和應用程式分開部署問題,緊急求救啊!
我在兩臺伺服器分別安裝jboss3.2.3分別釋出web程式和應用程式,遇到這樣的問題,InitialContext第一次呼叫初始化每個ejb都成功,但是第二次呼叫就不行了,會報如下錯誤,而且把應用伺服器的jboss變得奇慢。連進入jmx-console都進不去
-- Initializing bean access.
context:javax.naming.InitialContext@1e97676
javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
java.net.SocketTimeoutException: Read timed out]
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:647)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:507)
at javax.naming.InitialContext.lookup(InitialContext.java:347)-- Failed initializing bean access.
at com.shine.icid.ejb.esystem.test.esystemTestClient1.initialize(esystemTestClient1.java:38)
at com.shine.icid.ejb.esystem.test.esystemTestClient1.<init>(esystemTestClient1.java:23)
at com.shine.icid.ejb.esystem.test.esystemTestClient1.main(esystemTestClient1.java:2396)
Caused by: java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
java.net.SocketTimeoutException: Read timed out
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:274)
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:101)
at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:528)
... 5 more
Caused by: java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
at java.io.BufferedInputStream.read(BufferedInputStream.java:201)
at java.io.DataInputStream.readByte(DataInputStream.java:331)
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:215)
... 9 more
java.lang.NullPointerException
at com.shine.icid.ejb.esystem.test.esystemTestClient1.create(esystemTestClient1.java:76)-- Calling create()
-- Failed: create()
at com.shine.icid.ejb.esystem.test.esystemTestClient1.main(esystemTestClient1.java:2402)
-- Return value from create(): null.
Error in getInfoSystem(): Remote interface reference is null. It must be created by calling one of the Home interface methods first.
-- Initializing bean access.
context:javax.naming.InitialContext@1e97676
javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
java.net.SocketTimeoutException: Read timed out]
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:647)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:507)
at javax.naming.InitialContext.lookup(InitialContext.java:347)-- Failed initializing bean access.
at com.shine.icid.ejb.esystem.test.esystemTestClient1.initialize(esystemTestClient1.java:38)
at com.shine.icid.ejb.esystem.test.esystemTestClient1.<init>(esystemTestClient1.java:23)
at com.shine.icid.ejb.esystem.test.esystemTestClient1.main(esystemTestClient1.java:2396)
Caused by: java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
java.net.SocketTimeoutException: Read timed out
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:274)
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:101)
at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:528)
... 5 more
Caused by: java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
at java.io.BufferedInputStream.read(BufferedInputStream.java:201)
at java.io.DataInputStream.readByte(DataInputStream.java:331)
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:215)
... 9 more
java.lang.NullPointerException
at com.shine.icid.ejb.esystem.test.esystemTestClient1.create(esystemTestClient1.java:76)-- Calling create()
-- Failed: create()
at com.shine.icid.ejb.esystem.test.esystemTestClient1.main(esystemTestClient1.java:2402)
-- Return value from create(): null.
Error in getInfoSystem(): Remote interface reference is null. It must be created by calling one of the Home interface methods first.
// 在此輸入java程式碼 <p class="indent"> |
相關文章
- [緊急求救]關於動態建立物件的問題物件
- jboss 下 部署 多個應用程式的資源問題,急,謝謝!!
- 緊急求救!!為什麼在JBoss下無法部署EJB模組
- 求救:jboss4中部署ejb,classpath怎麼設定?緊急
- loadModelById的問題,求救啊
- 資料庫無響應問題的緊急處理和分析資料庫
- 緊急求救,我的Tomcat Server 會當機!!!TomcatServer
- 求救。我編的一個整數階乘的程式出問題了。急!
- 緊急求助!jive安裝問題。
- hibernate中oracle的問題,,急啊?Oracle
- 急!~安裝FC5但不能進桌面,求救啊~~~(轉)
- 關於sequence問題的緊急處理
- 一個JAVA程式呼叫外部程式的問題!(急)Java
- fastreport3分組指令碼問題,急,急,急AST指令碼
- ZooKeeper 基礎知識、部署和應用程式
- 我的Eclipse出大問題啦!不能顯示HTML啊!求救!EclipseHTML
- RAC環境中的應用程式部署——RAC部署和效能
- 應用jivejdon論壇出現問題! 急求助!
- 低程式碼、快速的應用程式開發和數字轉換的挑戰問題 -Bozho
- 客戶服務管理:CRM實現緊急應對客戶常見問題
- 開發Web應用程式中Cookie使用的問題 (轉)WebCookie
- 請教:JdonFramework應用Demo程式問題Framework
- 輕鬆部署 Laravel 應用 | 《08. 手動部署 - 部署應用程式碼》Laravel
- 救命啊!哪位大哥幫幫忙啊 程式出來很大的問題哦
- Kubernetes-應用部署問題定位和處理
- [求助]JSP應用中出現的問題!! 急求!!JS
- 遇到緊急問題,不要慌:抓包分析來救你(一)
- merge語句導致的效能問題緊急優化優化
- 介紹RAC環境中的應用程式部署——RAC部署和效能
- 在jboss上部署應用的問題。
- 編譯和分發 Chez Scheme 應用程式編譯Scheme
- 急問:開發Struts比較便利的工具是什麼啊
- Azure Terraform(三)部署 Web 應用程式ORMWeb
- zt_websphere如何部署應用程式Web
- 緊急問題:我級聯資料表怎麼查資料庫有問題呢???資料庫
- 學用Java Web Start 部署應用程式 (轉)JavaWeb
- WinForm 應用程式的打包和部署_簡單版(圖文)ORM
- Qt 5.3.1 版本應用程式的釋出問題QT