<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to deploy the web application (war) file in JBOSS deploy folder in SAS 9.2 in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-deploy-the-web-application-war-file-in-JBOSS-deploy/m-p/98131#M290586</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have web application developed in J2EE (mainly of Servlets and JSPs ), application uses SAS 9.2 BI Web Service to call STPs.&lt;/P&gt;&lt;P&gt;I use JBOSS 4.2.3 GA application server. After updating SAS 9.2's web service end points in application properties of&amp;nbsp; Lomboz (Eclipse) JavaEE development system. Built application's WAR file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I ran the application locally (&lt;A href="http://localhost:8080/"&gt;http://localhost:8080/&lt;/A&gt;), I saw communication between Java application and SAS happend perfectly fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I deployed the WAR file server where JBOSS is installed (location where WAR file is deployed in the server - JBOSSHOME/server/SASWeb(Web Application Server Name)/deploy)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Restarted remote services and JBOSS. I got Login page when I tried accessing application using &lt;A href="http://hostname:8080/applicationname/jsp/login.jsp"&gt;http://hostname:8080/applicationname/jsp/login.jsp&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but when I provided credentials for login, its not going beyond login page that however it was working when I tested in the Eclipse enviornment using localhost (I even saw STP log for confirmation)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could anyone of you help me which folder and how to host the application in JBOSS installation folder. I see lot of deploy folders under JBOSS and deploy and deploy_sas folders in SAS Web Application server folder&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is little urgent... your help much appriciated.. Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, SonuSAS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 19 Aug 2012 14:14:08 GMT</pubDate>
    <dc:creator>Gen_SAS</dc:creator>
    <dc:date>2012-08-19T14:14:08Z</dc:date>
    <item>
      <title>How to deploy the web application (war) file in JBOSS deploy folder in SAS 9.2</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-deploy-the-web-application-war-file-in-JBOSS-deploy/m-p/98131#M290586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have web application developed in J2EE (mainly of Servlets and JSPs ), application uses SAS 9.2 BI Web Service to call STPs.&lt;/P&gt;&lt;P&gt;I use JBOSS 4.2.3 GA application server. After updating SAS 9.2's web service end points in application properties of&amp;nbsp; Lomboz (Eclipse) JavaEE development system. Built application's WAR file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I ran the application locally (&lt;A href="http://localhost:8080/"&gt;http://localhost:8080/&lt;/A&gt;), I saw communication between Java application and SAS happend perfectly fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I deployed the WAR file server where JBOSS is installed (location where WAR file is deployed in the server - JBOSSHOME/server/SASWeb(Web Application Server Name)/deploy)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Restarted remote services and JBOSS. I got Login page when I tried accessing application using &lt;A href="http://hostname:8080/applicationname/jsp/login.jsp"&gt;http://hostname:8080/applicationname/jsp/login.jsp&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but when I provided credentials for login, its not going beyond login page that however it was working when I tested in the Eclipse enviornment using localhost (I even saw STP log for confirmation)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could anyone of you help me which folder and how to host the application in JBOSS installation folder. I see lot of deploy folders under JBOSS and deploy and deploy_sas folders in SAS Web Application server folder&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is little urgent... your help much appriciated.. Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, SonuSAS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Aug 2012 14:14:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-deploy-the-web-application-war-file-in-JBOSS-deploy/m-p/98131#M290586</guid>
      <dc:creator>Gen_SAS</dc:creator>
      <dc:date>2012-08-19T14:14:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to deploy the web application (war) file in JBOSS deploy folder in SAS 9.2</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-deploy-the-web-application-war-file-in-JBOSS-deploy/m-p/98132#M290587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you're not getting a 404 from JBoss when you access your app then it sounds like it has been deployed (at least to some extent).&amp;nbsp; Can you post relevant sections/stacktraces from your JBoss log?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Aug 2012 22:38:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-deploy-the-web-application-war-file-in-JBOSS-deploy/m-p/98132#M290587</guid>
      <dc:creator>PaulHomes</dc:creator>
      <dc:date>2012-08-19T22:38:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to deploy the web application (war) file in JBOSS deploy folder in SAS 9.2</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-deploy-the-web-application-war-file-in-JBOSS-deploy/m-p/98133#M290588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Paul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply. Below is the log in server.log&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN lang="EN"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;2012-08-20 09:43:50,412 INFO [STDOUT] Request&amp;lt;StoredProcess name="SLA: Login"&amp;gt;&amp;lt;Parameter name="tablename"&amp;gt;InData&amp;lt;/Parameter&amp;gt;&amp;lt;Stream name="instream"&amp;gt;&amp;lt;Table&amp;gt;&amp;lt;InData&amp;gt;&amp;lt;USER_ID&amp;gt;xxxx&amp;lt;/USER_ID&amp;gt;&amp;lt;USER_PWD&amp;gt;xxxx&amp;lt;/USER_PWD&amp;gt;&amp;lt;/InData&amp;gt;&amp;lt;/Table&amp;gt;&amp;lt;/Stream&amp;gt;&amp;lt;/StoredProcess&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN lang="EN"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;2012-08-20 09:45:27,465 ERROR [STDERR] Aug 20, 2012 9:45:27 AM com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection post&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN lang="EN"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;SEVERE: SAAJ0008: Bad Response; Service Unavailable&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN lang="EN"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;2012-08-20 09:45:27,466 INFO [STDOUT] Responsenull&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN lang="EN"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, SonuSAS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2012 13:59:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-deploy-the-web-application-war-file-in-JBOSS-deploy/m-p/98133#M290588</guid>
      <dc:creator>Gen_SAS</dc:creator>
      <dc:date>2012-08-20T13:59:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to deploy the web application (war) file in JBOSS deploy folder in SAS 9.2</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-deploy-the-web-application-war-file-in-JBOSS-deploy/m-p/98134#M290589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Paul, forgot to mention below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes you are right, I am not getting HTTP 404 unavailable message, login page is coming up. But when I click on submit button after providing credentials, its throwing up error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But this is not the case when I run the application from my local system where application war is deployed in local JBOSS installation. I am able to communicate with BI Services.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2012 14:03:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-deploy-the-web-application-war-file-in-JBOSS-deploy/m-p/98134#M290589</guid>
      <dc:creator>Gen_SAS</dc:creator>
      <dc:date>2012-08-20T14:03:06Z</dc:date>
    </item>
  </channel>
</rss>

