Re: Factory already defined error with Tomcat 9

2023-06-14 Thread Nitish Chitta
Thanks for the help. Nitish On Wed, Jun 14, 2023 at 9:57 PM Mark Thomas wrote: > Call TomcatURLStreamHandlerFactory.disable() before you start Tomcat. > > Note that this means that if your Tomcat instance is using WAR files it > will only work if the WAR files are unpacked to a directory first.

Re: Factory already defined error with Tomcat 9

2023-06-14 Thread Mark Thomas
Call TomcatURLStreamHandlerFactory.disable() before you start Tomcat. Note that this means that if your Tomcat instance is using WAR files it will only work if the WAR files are unpacked to a directory first. Mark On 14/06/2023 14:51, Nitish Chitta wrote: Please let me know in case a more d

Re: Factory already defined error with Tomcat 9

2023-06-14 Thread Nitish Chitta
Please let me know in case a more detailed stack trace is required. Nitish On Wed, Jun 14, 2023 at 6:10 PM Nitish Chitta wrote: > Missed Tomcat 7 version : 7.0.94 > > Nitish > > On Wed, Jun 14, 2023 at 5:10 PM Nitish Chitta wrote: > >> Tomcat version : 9.0.44 >> Stack Trace : >> >> Caused by:

Re: Factory already defined error with Tomcat 9

2023-06-14 Thread Nitish Chitta
Missed Tomcat 7 version : 7.0.94 Nitish On Wed, Jun 14, 2023 at 5:10 PM Nitish Chitta wrote: > Tomcat version : 9.0.44 > Stack Trace : > > Caused by: java.lang.Error: factory already defined > at java.net.URL.setURLStreamHandlerFactory(URL.java:1159) > at > org.apache.catalina.w

Re: Factory already defined error with Tomcat 9

2023-06-14 Thread Nitish Chitta
Tomcat version : 9.0.44 Stack Trace : Caused by: java.lang.Error: factory already defined at java.net.URL.setURLStreamHandlerFactory(URL.java:1159) at org.apache.catalina.webresources.TomcatURLStreamHandlerFactory.(TomcatURLStreamHandlerFactory.java:130) at org.apache.catal

Re: Factory already defined error with Tomcat 9

2023-06-14 Thread Mark Thomas
On 14/06/2023 12:16, Nitish Chitta wrote: Hello, I am trying to connect to a Weblogic server and have an embedded Tomcat 9 instance running in my application as well. I suppose the factory is being set twice and hence I am getting this error. I wanted to know why this issue was not occuring wit

Factory already defined error with Tomcat 9

2023-06-14 Thread Nitish Chitta
Hello, I am trying to connect to a Weblogic server and have an embedded Tomcat 9 instance running in my application as well. I suppose the factory is being set twice and hence I am getting this error. I wanted to know why this issue was not occuring with Tomcat 7? Regards, Nitish