Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

SendRedirect Fails on Oracle HTTP Server 12c

User_5S8POJul 5 2022 — edited Jul 5 2022

Hi All,
We have 2 war files deployed on standalone JVM in Weblogic 12.2.1.3 and request is routed using ProxyPass module on Apache 2.4.33.
Application 1 with context root (NAS) uses sendRedirect method in servlet to access module in Application 2 with context root(PTS) which is also deployed on the same weblogic JVM & port.
LoadBalancer -> Apache (Standalone) mod_proxy -> Weblogic (Standalone)
The application module is accessible & works fine when Apache HTTP server is used as proxy on Oracle Weblogic Server.
The same application module fails with Page not found error when Oracle HTTP Server is used as proxy server. (Application fails with mod_wl plugin & ProxyPass). Weblogic plugin is enabled on Weblogic. NAS is the application which uses sendRedirect method to call module in (PTS) war file deployed on same weblogic JVM & PORT.
LoadBalancer -> OHS (Standalone) mod_proxy -> Weblogic (Standalone)
LoadBalancer -> OHS (Standalone) mod_wl -> Weblogic (Standalone)
NAS application is accesible with Loadbalancer URL (nasonline.asm.com) which is working fine when tested with both plugins. PTS module is clicked on NAS application page when the sendRedirect code is initiated and that request fails with page not found error with weblogic IP & port displayed on the client browser.
Appreciate any assistance or help on the issue.

Comments

HAJMEL

Hi
You can add mail.smtps.ssl.protocols property (not specified in API) but its referenced implementation.

User_UW1FS

Hi,
Thank you for your reply. Will that property works for javamail1.4.2?
Thanks,
Juni.

HAJMEL

Hi,
I don't know the complete context of your project but Only tests can confirm this.
I suggest also upgrading to Javamail1.6 that already support TLS1.2.
A

HAJMEL

Hi
this worked ?

User_UW1FS

I can't use javamail 1.6. Must stay with javamail1.4.x to be compatible with EE6.
That is why I am asking if you know if there is javamail1.4.x that works.

HAJMEL

I'll give a try and come back !

HAJMEL
look here
https://stackoverflow.com/questions/411331/using-javamail-with-tls
Kristof Neirynck's answer ( on the bottom)
User_UW1FS

I took a look that link but not seeing any information of what javamail version of 1.4 that I can use with TLSv1.2.
I am trying to find out what javamail1.4.x version that support/work with TLSv1.2 as I have to stay with javamail1.4.x
Try to figure out the x. I know javamail1.4.2 does not work with TLSv1.2.

HAJMEL

There no explicit and official documentation of support of TLS1.2+ by javamail 1.4.x but 1.5.x does.
Java SE 6 Advanced (0 Bytes)Path 1 : Workaround: can you use an alternative JCE implementation (Bouncy Castle)
INFO: If your application runs on Java 1.6 prior to update 111, or earlier, TLS 1.1 and 1.2 are not supported.
Q: any error or debug information to help spot it?
Warning: EE6 is full of vulnerabilities, I hope your app is not exposed.

1 - 9

Post Details

Added on Jul 5 2022
0 comments
254 views