Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-35606

unable to change context path

    XMLWordPrintable

Details

    • Support Request
    • Resolution: Support Request
    • Medium
    • None
    • 6.0.5
    • None

    Description

      the context path is actual set to /jira - I wolould like to set it to /jira-test but the system does not get up.
      the context path is only set in the server.xml:

      <Context path="/jira-test" docBase="/var/apphome/jira/catalina_base/webapps/jira/">
      <Resource name="UserTransaction" auth="Container" type="javax.transaction.UserTransaction"
      factory="org.objectweb.jotm.UserTransactionFactory" jotm.timeout="60"/>
      <Manager pathname=""/>
      </Context>

      When I set the context path back to /jira it will work again.

      Tomcat 7.0.41
      Java 1.7.0_25
      Linux 2.6.32-358.11.1.el6.x86_64
      Oracle JDBC driver 11.2.0.3.0
      Jira Version 6.0.5
      Jira Build Number 6102

      ERROR [NoModule] Error getting datasource via DBCP: JdbcDatasourceInfo{uri='jdbc:oracle:thin:@XXXXXXX/aenjira6_e.XXXXXXXXX', driverClassName='oracle.jdbc.OracleDriver', username='AENJIRA6', password='********', isolationLevel='null', connectionProperties=null, connectionPoolInfo=ConnectionPoolInfo{maxSize=20, minSize=20, initialSize=null, maxIdle=20, maxWait=30000, sleepTime=300000, lifeTime=600000, deadLockMaxWait=600000, deadLockRetryWait=10000, validationQuery=null, minEvictableTimeMillis=null, timeBetweenEvictionRunsMillis=null, poolPreparedStatements=null, testOnBorrow=null, testOnReturn=null, testWhileIdle=null, maxOpenPreparedStatements=null, numTestsPerEvictionRun=null, removeAbandonedTimeout=300, validationQueryTimeout=null, defaultCatalog=null}}
      java.lang.RuntimeException: javax.management.InstanceAlreadyExistsException: com.atlassian.jira:name=BasicDataSource

      ....
      2013-11-04 13:42:49,301 localhost-startStop-1 WARN [core.entity.transaction.JNDIFactory] NamingException while finding UserTransaction named java:comp/env/UserTransaction in JNDI.
      javax.naming.NameNotFoundException: Name [UserTransaction] is not bound in this Context. Unable to find [UserTransaction].
      at org.apache.naming.NamingContext.lookup(NamingContext.java:820)
      at org.apache.naming.NamingContext.lookup(NamingContext.java:154)
      at org.apache.naming.NamingContext.lookup
      ...

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              cc40fe279ca4 Michael
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: