怎样修改Weblogic7中的adminurl(100分)

B

booboo

Unregistered / Unconfirmed
GUEST, unregistred user!
我每次部署war时adminurl都是我的机器名:
http://Zhang:7001
这样是找不到这个地址的,使用localhost获127.0.0.1是可以的。
请问应该在哪里修改这个参数?
 
B

booboo

Unregistered / Unconfirmed
GUEST, unregistred user!
附出错信息:
Unable to connect server t3://Zhang:7001 as user system.
Reason: javax.naming.CommunicationException [Root exception is java.net.ConnectException: t3://Zhang:7001: Destination unreachable;
nested exception is:
java.net.ConnectException: Connection refused: connect;
No available router to destination]
Check option -adminurl, -user and -password.
 

小猪

Unregistered / Unconfirmed
GUEST, unregistred user!
这个跟weblogic没有关系。
No available router to destination《----注意这个,没有可用的路由
我可以肯定,你的网卡肯定没有接网线。也就是说,你的本地连接是不可用的。
使用机器名来访问的时候,必须是在有可用网络连接的情况下才行。至于为什么
用localhost或者127的地址可以,是因为这个地址被定义为本地环回路由,本身
不需要网络接口的支持。
你可以在命令提示符下执行以下命令:
route print
看看得到的结果,如果你看不懂,那么,你需要补补关于网络方面的知识了。
 
S

skytree

Unregistered / Unconfirmed
GUEST, unregistred user!
如果没有网卡,或者网卡没有插好,你可以安装一个Lookup驱动程序,就可以在没有网卡和网卡没有插好的情况下使用网络功能了。采用从列表中查找驱动,厂商位Microsoft。[:D][:D]
 
B

booboo

Unregistered / Unconfirmed
GUEST, unregistred user!
这个问题我已经解决了,跟网卡无关,在EJBModual属性的Deployment页中修改Admin url就可以了。
不过默认的是机器名,这个问题怎么解决?
 
顶部