Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

450
Visualizações
IBM Websphere - Websockets (wss) - Connection to a websocket server in other profile

Good afternoon, I come to request support here to try to understand a behavior that I have noticed in my application and that I cannot explain the reason why it happens.

Settings

I'm using Webshepere, version 9.0.0.11, in which a spring mvc application is running over HTTPS in a profile. This application performs the definition of values ​​in session (HttpSession), so that later, through the JSP, it is possible to obtain this data to be displayed in the browser. On the client side, through js, a connection is made via WebSocket. The WebSocket server is located in another WebShepere profile.

Unexpected behavior

Whenever the websocket connection is successfully performed, all session data is deleted. Only the data that was recorded after successful connection is kept.

Additional data

  • If the WebSocket Server is installed in the same profile, the reported behavior no longer occurs, and the application works as expected.
  • if the application uses HTTP, the behaviour isn't presente.
  • on wildfly server, even with HTTPS, the behaviour is as expected, that means that session data isn`t deleted.

Default configuration

  • Application Address: https://myappurl:9444/
  • webSocket Server address: wss://myappurl:9450/websocket
about 4 years ago · Santiago Trujillo
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda