0 Replies Latest reply on Jun 18, 2007 7:25 AM by Björn Karpenstein

    Context an Deployment of uncompiled apps (only dir)

    Björn Karpenstein Newbie

      Hello!

      I am trying to deploy an old Tomcat application to JBoss and have some problems.

      The first problem is, that i have no archives but an directory which needs to be copied. That leads to a hot deployment error - is the /deploy dir only accepting compiled archives?

      The second problem is, that i have to set the context like it was in Tomcat. How can i do like this: (the file was in conf/catalina):

      <?xml version='1.0' encoding='utf-8'?>
      <Context docBase="D:\dev\workspace\FAQ-DB-Backend\target\bbraun-faq-db-backend" path="/faqdb" workDir="work\Catalina\localhost\faqdb" reloadable="true">
       <Resource name="jdbc/FAQ_DB" type="javax.sql.DataSource"/>
       <ResourceParams name="jdbc/FAQ_DB">
       <parameter>
       <name>username</name>
       <value>user</value>
       </parameter>
       <parameter>
       <name>password</name>
       <value>pass</value>
       </parameter>
       <parameter>
       <name>url</name>
       <value>jdbc:microsoft:sqlserver://localhost:1433;SelectMethod=cursor</value>
       </parameter>
       <parameter>
       <name>driverClassName</name>
       <value>com.microsoft.jdbc.sqlserver.SQLServerDriver</value>
       </parameter>
       <parameter>
       <name>maxWait</name>
       <value>5000</value>
       </parameter>
       <parameter>
       <name>maxActive</name>
       <value>4</value>
       </parameter>
       <parameter>
       <name>maxIdle</name>
       <value>2</value>
       </parameter>
       </ResourceParams>
      </Context>