Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

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.

War file does not deploy

Featured Replies

I am trying to install the mirror sync application on an ec2 linux instance and I am having trouble. I copy the war file into the /var/lib/tomcat8/webapps directory. Nothing happens after that except that I get a new folder in the /etc/tomcat8/Catalina/localhost directory called MirrorSync.xml, which I edited as I needed with username/password/hash. But, the MirrorSync folder that is supposed to populate in the webapps folder does not populate. So I basically end up with nothing and can't obviously run the set up. Any thoughts? 

 

Also, my linux is a little rusty (been a few years). But, I installed java, tomcat8, removed tomcat7 (which comes on an ec2 instance standard), set up tomcat without an issue. I configured the tomcat installation and can access it with my w3m editor at http://localhost:8080. Can't access the .../mirrorsync address though obviously as the war file doesn't seem to explode or create the mirrorsync directory with all of the classes. 

Screen-Shot-2019-07-21-at-12-32-45-PM.pn

What happens if you try the URL http://localhost:8080/MirrorSync (Capital M and S are important)?

Also, make sure that Tomcat has write permissions to that webapps directory. Do some google for 'unpackWAR', that's the setting that controls whether or not to expand the .war file into a directory. We have that set to true in the MirrorSync.war file, but it's possible that some setting in Tomcat is overriding it.

  • Author

Hi Jesse—

Thank you for the reply. Crazy but when I go to that web address today, it works. Didn't yesterday. Still, I don't see the WAR unpacked anywhere in the /var/lib/tomcat8/webapps folder. Did it possibly unpack in another location? 

  • Author

I ran 

Screen-Shot-2019-07-22-at-11-43-18-AM.pn

Not sure if it might have unpacked to another location - it's also possible for Tomcat to run the webapp directly from the compressed .war file without unpacking it at all (that's what the unpackWAR setting is for).

  • Author

So I ran the command unzip -qq /var/lib/tomcat8/webapps/MirrorSync.war -d /var/lib/tomcat8/webapps and as you can see it created those new files in that webapps directory. Still don't see the MirrorSync directory. I assumed it would be created automatically by the war file. Do I need to run one of these files? 

Thank you for the help!

So if I can access the http://localhost:8080/MirrorSync then I'm good?

  • Author

Hey Jesse! That worked out for me but when I try to connect, I have an issue. I will post the screenshot with the error message I get. Mirror sync is set up to log in with an account I created for mirror sync. I wonder if there is anything I need to do for this account to make it work. Screen-Shot-2019-07-22-at-3-22-56-PM.png

  • Author

Even with my EC2-User account, it will not let me. Seems like it should be a port issue. 

  • Author

Jesse,

Thank you for your help. As soon as I opened up the security group, I was able to finish the set up process and run a sync. Excellent product and superb support. I really appreciate your help! 

M.

That's great Matt, sometimes a screen share is worth a thousand posts 🙂

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

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.