title: Liferay Web Application Integration (WAI) problem
body: <p>I am trying to get an existing application to show up as a portlet in Liferay.  I have confirmed that the WAR file will deploy in Tomcat/Jetty.  Apparently, I should be able to simply copy the WAR file to Liferay's deploy folder and Liferay will take care of the rest.</p>
  
  <p>The portlet does show up in the 'Add' menu, but I get a 404 error once I have added it.  The path seems to be wrong.</p>
  
  <p>The path Liferay seems to try to go to is: <a href="http://localhost:8080/web/guest/home/-/waiapp/jms-gui/" rel="nofollow">http://localhost:8080/web/guest/home/-/waiapp/jms-gui/</a></p>
  
  <p>However, the application is running at: <a href="http://localhost:8080/jms-gui/secure/jmsPortlet" rel="nofollow">http://localhost:8080/jms-gui/secure/jmsPortlet</a></p>
  
  <p>I'm not sure what to change or how to configure this to get it to work.  Any help would be appreciated.</p>
  
  <p>Thanks,
  Michael Kolakowski</p>