load balance and weblogic t3 protocol

Diogo Andrade 1 Reputation point
2021-06-16T13:40:51.87+00:00

hi,

i am trying to connect to a oracle weblogic instance with t3 protocol using a load balance ip.
I able to connect with http protocol in telnet, wget and firefox.

is it possible to use T3 protocol with Load balance?

[azureuser@klabin02 ~]$ wget http://10.0.0.6:7001/console
--2021-06-16 12:59:49-- http://10.0.0.6:7001/console
Conectando-se a 10.0.0.6:7001... conectado.
A requisição HTTP foi enviada, aguardando resposta... 302 Moved Temporarily
Localização: http://10.0.0.6:7001/console/ [redirecionando]
--2021-06-16 12:59:49-- http://10.0.0.6:7001/console/
Reaproveitando a conexão existente para 10.0.0.6:7001.
A requisição HTTP foi enviada, aguardando resposta... 302 Moved Temporarily
Localização: http://10.0.0.6:7001/console/login/LoginForm.jsp [redirecionando]
--2021-06-16 12:59:49-- http://10.0.0.6:7001/console/login/LoginForm.jsp
Reaproveitando a conexão existente para 10.0.0.6:7001.
A requisição HTTP foi enviada, aguardando resposta... 200 OK
Tamanho: 3235 (3,2K) [text/html]
Salvando em: “console”

100%[====================================================================================================================================================================================================>] 3.235 --.-K/s em 0s

2021-06-16 12:59:49 (174 MB/s) - “console” salvo [3235/3235]

[azureuser@klabin02 ~]$ /u01/middleware/oracle_common/common/bin/wlst.sh

Initializing WebLogic Scripting Tool (WLST) ...

Welcome to WebLogic Server Administration Scripting Shell

Type help() for help on available commands

wls:/offline> username = 'weblogic'
wls:/offline> password = 'password'
wls:/offline> adminURL = '10.0.0.4:7001'
wls:/offline> connect(username, password, adminURL)
Connecting to t3://10.0.0.4:7001 with userid weblogic ...
Successfully connected to Admin Server "AdminServer" that belongs to domain "base_domain".

Warning: An insecure protocol was used to connect to the server.
To ensure on-the-wire security, the SSL port or Admin port should be used instead.

wls:/base_domain/serverConfig/> disconnect()
Disconnected from weblogic server: AdminServer

wls:/offline> adminURL = '10.0.0.6:7001'
wls:/offline> connect(username, password, adminURL)
Connecting to t3://10.0.0.6:7001 with userid ...

WLST detected that the RuntimeMBeanServer is not enabled. This
might happen if the RuntimeMBeanServer is disabled via the JMXMBean.
Please ensure that this MBeanServer is enabled. Online WLST cannot
function without this MBeanServer.
Traceback (innermost last):
File "<console>", line 1, in ?
File "<iostream>", line 19, in connect
File "<iostream>", line 553, in raiseWLSTException
WLSTException: Error occurred while performing connect : "Cannot connect to WLST." : Anonymous attempt to get to a JNDI resource

Azure Load Balancer
Azure Load Balancer
An Azure service that delivers high availability and network performance to applications.
431 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. TravisCragg-MSFT 5,681 Reputation points Microsoft Employee
    2021-06-22T00:21:23.523+00:00

    I have seen some examples of T3 working with Azure Load Balancer & weblogic, but there are some limits & special things you need to do.

    This template description discusses getting it working. Look for the question titled "WebLogic Server expects public and private ports to be the same for T3 access (for example, when using Enterprise JavaBeans)."

    It discusses how to add additional parameters, and to make sure that public & private ports are the same with T3.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.