Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    problem of deploying application to tomcat

    I installed the application all files from war file folder to tomcat machine,but it do not connect database,then i writed a test jsp,i worked fine,so I was wondering if you can tell me what am I doing wrong.
    server.proporties.
    Code:
    webRoot: __AUTODETECT__
    
    isomorphicPathRootRelative: test/sc
    apps.adminConsole.location: $webRoot/test/tools
    ui.adminConsole.location: $webRoot/test/tools
    sql.defaultDatabase: Oracle
    project.datasources: $webRoot/ds
    project.ui: $webRoot/shared/ui
    project.apps: $webRoot/shared/app
    #for development
    RPCManager.enabledBuiltinMethods: *
    FilesystemDataSource.enabled: false
    sql.Oracle.driver.serverName: 192.168.1.16
    sql.Oracle.driver.portNumber: 1521
    sql.Oracle.driver.databaseName: test
    sql.Oracle.driver.user: root
    sql.Oracle.driver.password: kaka
    context.xml
    Code:
    <Context>
      <Listener className="org.apache.catalina.startup.TldConfig"/>
      <Resource
        auth="Container"
        description="oracle"
        name="Oracle"
        type="javax.sql.DataSource"
        maxActive="4"
        maxIdle="2"
        username="root"
        maxWait="5000"
        driverClassName="oracle.jdbc.OracleDriver"
        password="kaka"
        url="jdbc:oracle:thin:@192.168.1.16:1521:test"/>
    </Context>
Working...
X