Chris, At present application configured on one of app server and jars located on different server.
So we have shared the jars folder and given the shared path of classpath on tomcat end. But in tomcat 7 version is working fine but same shared path of jars classpath it's not working on tomcat 8 version and observed the below errors. So we have enabled changes on context file end and it's working. Can you please validate and let me know if any proper solution for this. 25-Aug-2017 23:58:40.282 WARNING [localhost-startStop-1] org.apache.tomcat.util.scan.StandardJarScanner.scan Failed to scan [file://msbpo120/config/workflow/] from classloader hierarchy java.io.IOException at org.apache.tomcat.util.scan.StandardJarScanner.process(StandardJarScanner.java:339) at org.apache.tomcat.util.scan.StandardJarScanner.scan(StandardJarScanner.java:245) at org.apache.catalina.startup.ContextConfig.processJarsForWebFragments(ContextConfig.java:1887) at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1127) at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:779) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:306) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:95) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5150) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:587) at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1798) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.IllegalArgumentException: URI has an authority component at java.io.File.<init>(File.java:423) at org.apache.tomcat.util.scan.StandardJarScanner.process(StandardJarScanner.java:318) ... 19 more Regards, Naga -----Original Message----- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Tuesday, August 29, 2017 5:30 PM To: users@tomcat.apache.org Subject: Re: applicatio shared path is not working on tomcat8 version -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Naga, On 8/28/17 12:38 PM, Naga Ramesh wrote: > Chris, We don’t have the context file on app/WEB-INF path You need to create a new one. > , that’s why we have done on /tomcat/conf/context.xml file. You have modified the defaults for the whole server. If you deploy another web application, it will also have the JarScanner disabled, even if you need JAR scanning enabled. Please fix your global defaults file and configure your application correctly. > After that issue is resolved, but how do I resolve the issue, please > guide me Which issue? You said that disabling JAR scanning has fixed your original report (which doesn't actually make any sense to me). so what problem are you now facing? - -chris > -----Original Message----- From: Christopher Schultz > [mailto:ch...@christopherschultz.net] Sent: Monday, August 28, > 2017 9:09 PM To: users@tomcat.apache.org Subject: Re: applicatio > shared path is not working on tomcat8 version > > Naga, > > On 8/28/17 11:23 AM, Naga Ramesh wrote: >> Thanks Chris.. issues is resolved.. > >> We have enabled the below thing on context file and it's working >> fine. > > >> tomcat8/conf/context.xml: added the below line and restarted the >> service. > >> <JarScanner scanClassPath="false" scanAllFiles="false" >> scanAllDirectories="false"/> > > STOP. Undo what you have just done. > > You only want to disable the JAR scanner for your application. > What you have done is disable the JAR scanner for the entire server. > > The file you want is $yourapplication/WEB-INF/context.xml not > $CATALINA_BASE/conf/context.xml > > -chris > >> -----Original Message----- From: Christopher Schultz >> [mailto:ch...@christopherschultz.net] Sent: Monday, August 28, >> 2017 8:11 PM To: users@tomcat.apache.org Subject: Re: applicatio >> shared path is not working on tomcat8 version > >> Naga, > >> On 8/27/17 12:24 PM, Naga Ramesh wrote: >>> Christopher, > >>> We have done the load balancer configuration and one of the >>> properties file need to give the shared path and that shared path >>> need to give the tomcat end for some functionality purpose. > >>> So we have set the class path on tomcat7 and it's working fine but >>> same thing we have tried on tomcat8 version, here throwing the below >>> mentioned errors. > >>> Please suggest any alternative solution for this. > >> Please post your configuration showing how you are setting the >> CLASSPATH . > >> -chris -----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBCAAGBQJZpVc9AAoJEBzwKT+lPKRY3IcP/jXCNSf0CJ/WXyyBR9ErO742 Jp9N2JN2hEi3JzZU3PttQwpmosYQpxlyIpMn56Hii1keb18YYuGRkEp9dxO73bhd ikv6DLgj9hAE57Q8IT1y06uiLE6QvJ4QrQNcsMuZSWSS+0jBOM/+mhPt0zila/3+ VGCU3WbCDAVRNVuKyr/JEqkw4YEtFLniyanrFKroTjnCEvleifCEamcv9Xscq4IC 4jGzfFKgiLoyfijOTGgP+Kxgtrih6KOjrW3qfeH+WWGPZAdAogSPphag6HBiiLjL Jhegmuq2ACcQZTPpwxPakb48qUMwEZFy2TfqqmEYxMTtJqh8yqYDUCdGFRj9d67n vHByFzuS0FsOo5vGPqW8tuQzW7SS8rZWwT68YnIgKNvJsc95+PZbtXx6j9g9uEh8 V1DR4DD0DL0MNyBTsPEcf3PSRnkdbuXDrAbCpbLEhnTRK9Lj2tkjeMC39rcTnuKk gcbNWMBa9I65iJ6v9UDyRmpEcnt0FUyg74mN1MADHXCFwszjXJOOtq2UHkKX1qWE 0Vl43Og2qDZ+QNto8CSCYmU5AEJw6KG6BIlV1p+xqv5WBTKAZUut5R8vy7zAInIN QWJErq4YXuXkYZqBoyU8n66sExH6NlKnvbU+SnyThXF4S8TPpHtEcI4AUkfwmSyJ wwquS99TaJStG5hFHEcp =jtZZ -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org