Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Scout » Deploy problem with WAR file and Tomcat(Eclipse Kepler Scout 3.9.2 - Tomcat 7.0.82)
Deploy problem with WAR file and Tomcat [message #1844824] Mon, 27 September 2021 09:29 Go to next message
Marco Giudici is currently offline Marco GiudiciFriend
Messages: 19
Registered: July 2020
Junior Member
Hi all,
I have one old scout project in Kepler with scout 3.9.2 that I made some small adaptation and I deployed on my Tomcat, but to my sad surprise I found the following errors and it is the first time I run into them.
Any specific advice on how to fix them?

Thanks in advance for the help

Sep 27, 2021 10:22:04 AM org.apache.catalina.loader.WebappClassLoaderBase openJARs
WARNING: Failed to open JAR [null]
java.io.FileNotFoundException: D:\apache-tomcat-7.0.82-Test-realipr\webapps\MyProject\WEB-INF\lib\servletbridge.jar (The system cannot find the path specified)
	at java.util.zip.ZipFile.open(Native Method)
	at java.util.zip.ZipFile.<init>(ZipFile.java:215)
	at java.util.zip.ZipFile.<init>(ZipFile.java:145)
	at java.util.jar.JarFile.<init>(JarFile.java:154)
	at java.util.jar.JarFile.<init>(JarFile.java:118)
	at org.apache.catalina.loader.WebappClassLoaderBase.openJARs(WebappClassLoaderBase.java:3108)
	at org.apache.catalina.loader.WebappClassLoaderBase.findResourceInternal(WebappClassLoaderBase.java:3397)
	at org.apache.catalina.loader.WebappClassLoaderBase.findClassInternal(WebappClassLoaderBase.java:3140)
	at org.apache.catalina.loader.WebappClassLoaderBase.findClass(WebappClassLoaderBase.java:1373)
	at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1861)
	at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1735)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:274)
	at java.sql.DriverManager.isDriverAllowed(DriverManager.java:463)
	at java.sql.DriverManager.isDriverAllowed(DriverManager.java:455)
	at java.sql.DriverManager.getDrivers(DriverManager.java:356)
	at org.apache.catalina.loader.JdbcLeakPrevention.clearJdbcDriverRegistrations(JdbcLeakPrevention.java:60)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesJdbc(WebappClassLoaderBase.java:2305)
	at org.apache.catalina.loader.WebappClassLoaderBase.clearReferences(WebappClassLoaderBase.java:2223)
	at org.apache.catalina.loader.WebappClassLoaderBase.stop(WebappClassLoaderBase.java:2123)
	at org.apache.catalina.loader.WebappLoader.stopInternal(WebappLoader.java:663)
	at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:221)
	at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5875)
	at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:221)
	at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:1135)
	at org.apache.catalina.startup.HostConfig.undeploy(HostConfig.java:1598)
	at org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1506)
	at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1784)
	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:366)
	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
	at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
	at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1500)
	at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1671)
	at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1681)
	at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1649)
	at java.lang.Thread.run(Thread.java:745)

Sep 27, 2021 10:22:04 AM org.apache.catalina.loader.WebappClassLoaderBase checkThreadLocalMapForLeaks


Sep 27, 2021 10:22:54 AM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet [EquinoxBridge] in context with path [/MyProject] threw exception
java.lang.SecurityException: Cannot initialize application
	at org.eclipse.scout.rt.ui.rap.AbstractStandaloneRwtEnvironment.createApplicationContent(AbstractStandaloneRwtEnvironment.java:142)
	at org.eclipse.scout.rt.ui.rap.AbstractStandaloneRwtEnvironment.createUI(AbstractStandaloneRwtEnvironment.java:99)
	at org.eclipse.rap.rwt.internal.lifecycle.RWTLifeCycle.createUI(RWTLifeCycle.java:186)
	at org.eclipse.rap.rwt.internal.lifecycle.RWTLifeCycle$UIThreadController.run(RWTLifeCycle.java:298)
	at java.lang.Thread.run(Thread.java:745)
	at org.eclipse.rap.rwt.internal.lifecycle.UIThread.run(UIThread.java:104)
Re: Deploy problem with WAR file and Tomcat [message #1847786 is a reply to message #1844824] Mon, 08 November 2021 09:42 Go to previous messageGo to next message
Beat Schwarzentrub is currently offline Beat SchwarzentrubFriend
Messages: 201
Registered: November 2010
Senior Member
Quote:
java.io.FileNotFoundException: D:\apache-tomcat-7.0.82-Test-realipr\webapps\MyProject\WEB-INF\lib\servletbridge.jar (The system cannot find the path specified)


It seems the Equinox Servlet Bridge is missing from your deployment. I think you need to re-export the application or copy the JAR from your old deployment. (Old documentation).

Please note that Scout 3.9 is [i]very/[i] old. It has not received support or updates (not even security fixes) for many years. If you continue to use it, you are probably on your own.

Regards,
Beat
Re: Deploy problem with WAR file and Tomcat [message #1849397 is a reply to message #1847786] Mon, 17 January 2022 14:14 Go to previous message
Marco Giudici is currently offline Marco GiudiciFriend
Messages: 19
Registered: July 2020
Junior Member
Hi Beat,
I discovered my mostake during the creation of the WAR file, I have mixed inadvertently the versions between server and client and for this that it did not work and it returned me this error
Previous Topic:js not found when dev mode is turned off
Next Topic:New Scout version 10 released
Goto Forum:
  


Current Time: Sat Feb 24 13:45:09 GMT 2024

Powered by FUDForum. Page generated in 0.03501 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top