如何在WebLogic中运行t3服务以使用WLST
在设置JAVA_HOME后启动我的WLST(Weblogic脚本工具)时,我能够进入WLST,但作为启动工作的一部分,我尝试了如何在WebLogic中运行t3服务以使用WLST,weblogic,weblogic12c,wlst,Weblogic,Weblogic12c,Wlst,在设置JAVA_HOME后启动我的WLST(Weblogic脚本工具)时,我能够进入WLST,但作为启动工作的一部分,我尝试了connect()命令,该命令反过来需要为我尝试使用WLST的Weblogic服务器绑定t3协议 C:\bea\bea_12.1.2\wlserver\common\bin>wlst Java HotSpot(TM) Client VM warning: ignoring option UseSpinning; support was rem oved in 7.0
connect()
命令,该命令反过来需要为我尝试使用WLST的Weblogic服务器绑定t3协议
C:\bea\bea_12.1.2\wlserver\common\bin>wlst
Java HotSpot(TM) Client VM warning: ignoring option UseSpinning; support was rem
oved in 7.0_40
Initializing WebLogic Scripting Tool (WLST) ...
Welcome to WebLogic Server Administration Scripting Shell
Type help() for help on available commands
wls:/offline> connect()
Please enter your username :system
Please enter your password :
Please enter your server URL [t3://localhost:7001] :
Connecting to t3://localhost:7001 with userid system ...
Traceback (innermost last):
File "<console>", line 1, in ?
File "<iostream>", line 19, in connect
File "<iostream>", line 520, in raiseWLSTException
WLSTException: Error occurred while performing connect : Error getting the initi
al context. There is no server running at t3://localhost:7001
Use dumpStack() to view the full stacktrace :
wls:/offline> connect()
Please enter your username :system
Please enter your password :
Please enter your server URL [t3://localhost:7001] :
C:\bea\bea_12.1.2\wlserver\common\bin>wlst
Java HotSpot(TM)客户端VM警告:忽略选项UseSpining;支持是rem
爱在7.0(40)
正在初始化WebLogic脚本工具(WLST)。。。
欢迎使用WebLogic服务器管理脚本Shell
键入help()以获取有关可用命令的帮助
wls:/offline>connect()
请输入您的用户名:system
请输入您的密码:
请输入您的服务器URL[t3://localhost:7001]:
正在使用用户ID系统连接到t3://localhost:7001。。。
回溯(最里面的最后一个):
文件“”,第1行,是否在中?
文件“”,第19行,在connect中
文件“”,第520行,在raiseWLSTException中
WLSTException:执行连接时出错:获取初始值时出错
语境。t3://localhost:7001上没有运行的服务器
使用dumpStack()查看完整的堆栈跟踪:
wls:/offline>connect()
请输入您的用户名:system
请输入您的密码:
请输入您的服务器URL[t3://localhost:7001]:
如何为我的weblogic实例运行t3服务。通过
weblogic管理控制台
,为weblogic实例的http默认端口创建http隧道
&创建t3通道
,我们可以将WLST连接到实例并执行操作,我的答案很快就会给出。所以WLST命令变成这样,不离线,避免发生任何事情<代码>连接('system','w3bl0g1c','http://localhost:62600)。端口将是您的实例端口。因此,http不是通过t3
,而是通过tunnel
检查此链接的配置。接受频道
配置的所有默认设置。您应该已经启动并运行AdminServer,以便通过我在本地系统中尝试的T3连接。我没有任何WebLogic的托管实例。我只知道AdminServer在62600上运行,但无法通过t3连接WLST。我是否需要启用某些功能才能启用t3
文件协议。