Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/google-chrome/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何在WebLogic中运行t3服务以使用WLST_Weblogic_Weblogic12c_Wlst - Fatal编程技术网

如何在WebLogic中运行t3服务以使用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

在设置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_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
文件协议。