|
Java學习者论坛
在jb7+wb7+mysql的实体ejb發布成功,但執行客户端出现如下错误(我也配置了连接池,和數据源)
C:\bea\jdk131_03\bin\javaw -classpath "D:\CMPDemo\classes;C:\bea\weblogic700\server\lib\weblogic_sp.jar;C:\bea\weblogic700\server\lib\weblogic.jar;C:\mysql-connector-java-2.0.14-bin.jar;C:\bea\jdk131_03\jre\lib\i18n.jar;C:\bea\jdk131_03\jre\lib\jaws.jar;C:\bea\jdk131_03\jre\lib\rt.jar;C:\bea\jdk131_03\jre\lib\sunrsasign.jar;C:\bea\jdk131_03\lib\dt.jar;C:\bea\jdk131_03\lib\HTMLconverter.jar;C:\bea\jdk131_03\lib\tools.jar" cmpdemo.EmployeesTestClient1
Initializing bean access.
javax.naming.CommunicationException. Root exception is java.net.ConnectException: t3://mamingzhi:7001: Destination unreachable; nested exception is:
java.io.InterruptedIOException: Read timed out; No available router to destination
at weblogic.rJVM.RJVMFinder.findOrCreate(RJVMFinder.java:173)
at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:262)
-- Unable to connect to WebLogic server at t3://mamingzhi:7001
-- Please make sure that the server is running.
-- Failed initializing bean access.
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:323)
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:221)
at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:149)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:660)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:241)
at javax.naming.InitialContext.init(InitialContext.java:217)
at javax.naming.InitialContext.<init>(InitialContext.java:193)
at cmpdemo.EmployeesTestClient1.getInitialContext(EmployeesTestClient1.java:59)
at cmpdemo.EmployeesTestClient1.<init>(EmployeesTestClient1.java:24)
at cmpdemo.EmployeesTestClient1.main(EmployeesTestClient1.java:314)
-- Calling create(113, mmz, mmz)
java.lang.NullPointerException
at cmpdemo.EmployeesTestClient1.create(EmployeesTestClient1.java:79)
at cmpdemo.EmployeesTestClient1.main(EmployeesTestClient1.java:317)
-- Failed: create(113, mmz, mmz)
-- Return value from create(113, mmz, mmz): null.
歡迎来到Java学习者论坛,转载请注明地址:http://www.javaxxz.com. |
|