# NGClient and SmartClient on the same Tomcat

**URL:** <https://forum.servoy.com/t/ngclient-and-smartclient-on-the-same-tomcat/19907>\
**Category:** Classic Servoy\
**Created:** [February 18, 2019, 4:40pm UTC](https://forum.servoy.com/t/ngclient-and-smartclient-on-the-same-tomcat/19907 "2019-02-18T16:40:56Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![marco.rossi](https://avatars.discourse-cdn.com/v4/letter/m/58f4c7/32.png) [@marco.rossi](https://forum.servoy.com/u/marco.rossi)\
**Post date:** [February 18, 2019, 4:40pm UTC](https://forum.servoy.com/t/ngclient-and-smartclient-on-the-same-tomcat/19907/1 "2019-02-18T16:40:56Z")

</div>

Hi All,

I loaded my solution on Tomcat and the NGClient works like a charm.  
The problem cames when I try to run the SmartClient from the same application-server instance.

The error I get is:

> com.sun.deploy.net.FailedDownloadException: Unable to load resource: ([http://localhost:9090/prism/lib/log4j.j … 0331928873](http://localhost:9090/prism/lib/log4j.jar?version-id=ERROR_1550331928873), ERROR\_1550331928873)  
> at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)  
> at com.sun.deploy.net.DownloadEngine.downloadResource(Unknown Source)  
> at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)  
> at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)  
> at com.sun.javaws.LaunchDownload$DownloadTask.call(Unknown Source)  
> at java.util.concurrent.FutureTask.run(Unknown Source)  
> at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)  
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)  
> at java.lang.Thread.run(Unknown Source)

and also:

> java.io.FileNotFoundException: [http://localhost:9090/prism/lib/log4j.j … 0331928873](http://localhost:9090/prism/lib/log4j.jar?version-id=ERROR_1550331928873)  
> at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)  
> at sun.net.www.protocol.http.HttpURLConnection.access$200(Unknown Source)  
> at sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source)  
> at sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source)  
> at java.security.AccessController.doPrivileged(Native Method)  
> at java.security.AccessController.doPrivilegedWithCombiner(Unknown Source)  
> at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)  
> at com.sun.deploy.net.HttpUtils.followRedirects(Unknown Source)  
> at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)  
> at com.sun.deploy.net.BasicHttpRequest.doGetRequestEX(Unknown Source)  
> at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)  
> at com.sun.deploy.net.DownloadEngine.downloadResource(Unknown Source)  
> at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)  
> at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)  
> at com.sun.javaws.LaunchDownload$DownloadTask.call(Unknown Source)  
> at java.util.concurrent.FutureTask.run(Unknown Source)  
> at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)  
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)  
> at java.lang.Thread.run(Unknown Source)

Seems that it’s looking for a version of “log4j” that doesn’t exist.  
I tried also to put “eager” within the related .jnlp file founded within “…\apache-tomcat\webapps\prism\plugins\it2be-core” but doesn’t solve the problem.

Any idea?

 ![3.PNG](https://canada1.discourse-cdn.com/flex010/uploads/servoy/original/2X/1/198de95f9323cb04b7c357d6e59dc90c2eb7ac04.png)

 ![2.PNG](https://canada1.discourse-cdn.com/flex010/uploads/servoy/original/2X/c/ca7f2fbce06082238148d1cf9ebbd8d194455634.png)

 ![1.PNG](https://canada1.discourse-cdn.com/flex010/uploads/servoy/original/2X/f/fcbe7133c5321e4f3adc0e3bf7aba4b078984f13.png)

---

<div class="post-metadata">

**Author:** ![sbutler](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/sbutler/32/4393_2.png) [@sbutler](https://forum.servoy.com/u/sbutler)\
**Post date:** [February 19, 2019, 3:19am UTC](https://forum.servoy.com/t/ngclient-and-smartclient-on-the-same-tomcat/19907/2 "2019-02-19T03:19:31Z")

</div>

See: [viewtopic.php?f=15&t=22404](https://forum.servoy.com/viewtopic.php?f=15&t=22404)

You need to upgrade your IT2BE components to the latest version.

---

<div class="post-metadata">

**Author:** ![marco.rossi](https://avatars.discourse-cdn.com/v4/letter/m/58f4c7/32.png) [@marco.rossi](https://forum.servoy.com/u/marco.rossi)\
**Post date:** [February 22, 2019, 5:10pm UTC](https://forum.servoy.com/t/ngclient-and-smartclient-on-the-same-tomcat/19907/3 "2019-02-22T17:10:40Z")

</div>

Hi Scott,  
thank you for replying.

I did what you suggested but it’s still not working.  
I downloaded the it2be installer and I re-installed the two components we’re using: “tools” and “data”. They’re both up to date:  
Data:  
[attachment=2]up to date.PNG[/attachment]  
Tools  
[attachment=1]up to date 2.PNG[/attachment].

I don’t know if it can be helpful but here is how log4j is deployed under NGClient webapp folder:  
[attachment=0]how it is on ngclient.PNG[/attachment]

Thank you for your help

 ![how it is on ngclient.PNG](https://canada1.discourse-cdn.com/flex010/uploads/servoy/original/2X/f/f6144f6f3af450369ae9a2c1d3e7d7f6726e099d.png)

 ![up to date 2.PNG](https://canada1.discourse-cdn.com/flex010/uploads/servoy/original/2X/4/4b84b94aea751ce93f09f0ab0beb0e06a7a48f69.png)

 ![up to date.PNG](https://canada1.discourse-cdn.com/flex010/uploads/servoy/original/2X/5/52c8f8544dfc087f622fd61d93fb50a8e3ee9ac8.png)

---

<div class="post-metadata">

**Author:** ![sbutler](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/sbutler/32/4393_2.png) [@sbutler](https://forum.servoy.com/u/sbutler)\
**Post date:** [February 26, 2019, 8:00pm UTC](https://forum.servoy.com/t/ngclient-and-smartclient-on-the-same-tomcat/19907/4 "2019-02-26T20:00:08Z")

</div>

The conflict might be with another plugin then possibly? In Servoy 8.4 (which I assume you are using) log4j.jar was removed. The IT2BE plugins were depending on those, so we released an update that resolved that issue. log4j2.jar is now what Servoy 8.4 uses.  
So, that means you likely still have a .jnlp file looking for the old log4j.jar, so you would need to find that and fix it. If you updated your IT2BE to latest version, the IT2BE jnlp’s should already be fixed.

---

<div class="post-metadata">

**Author:** ![marco.rossi](https://avatars.discourse-cdn.com/v4/letter/m/58f4c7/32.png) [@marco.rossi](https://forum.servoy.com/u/marco.rossi)\
**Post date:** [March 1, 2019, 10:57pm UTC](https://forum.servoy.com/t/ngclient-and-smartclient-on-the-same-tomcat/19907/5 "2019-03-01T22:57:59Z")

</div>

Yes, I’m using Servoy 8.4.  
Following your suggestion I found another plugin (drmaison) that was using another version of log4j.jar. By fixing that all works fine.  
Thank you
