1 Reply Latest reply on Mar 9, 2009 3:14 PM by Peter Johnson

    Migration from Tomcat to Jboss 4.0.4

    Gonçalo Almeida Newbie

      Hi people,
      in my company i have a web application running in Tomcat 6. That application connects to an oracle database. These configuration is defined in context.xml:

      <Context path="/ngincard" reloadable="true" docBase="ngincard.war"
       antiJARLocking = "true" antiResourceLocking = "true">
       <Resource name="jdbc/ngincard" auth="Container"
       type="oracle.jdbc.pool.OracleConnectionPoolDataSource"
       driverClassName="oracle.jdbc.OracleDriver"
       factory="oracle.jdbc.pool.OracleDataSourceFactory"
       url="jdbc:oracle:thin:clicardv2_06/xxxxxxx@xxx.xxx.xxx.xxx:1521:YYYY"
       maxActive="20" maxIdle="10" maxWait="-1"
       />
       <Environment name="userDb" value="ADMINCARDV2_06"
       type="java.lang.String" override="false" />
       <WatchedResource>WEB-INF/web.xml</WatchedResource>
      </Context>
      


      But now, because company policy, we are migrating the application to run in JBOSS 4.0.4.

      My question is... where can i define these parameters/configuration in Jboss to make possible my application run?


      Thanks a lot for your time.