Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Unable to create new process from webapp inside tomcat

Featured Replies

I have java web application running inside tomcat 6. And I am trying to launch another standard java utility application from my webapp class say from a servlet. But In docker container this process doesn't seem to work.

 

in my servlet class i have the code like

 

Runtime.getRuntime().exec("/usr/bin/java -Dsysproperty1=value1 --jar /home/speedtest/speedtest.jar")

 

When servlet is invoked speedtest application should be launched in another JVM. This is working fine in VMWare and KVM.

 

If i run the same piece of code in standard java class, which is not inside a tomcat container, it works fine.

 

My environment is Ubuntu14.04, Jdk7, Tomcat 6 all inside a single container.

Can any one tell me how i can fix this.

 

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.