Question

6
Replies
303
Views
Close popover
Alvaro Hidalgo Romera (AlvaroH3)
Accenture Technology

Accenture Technology
ES
AlvaroH3 Member since 2018 5 posts
Accenture Technology
Posted: November 16, 2018
Last activity: November 20, 2018
Closed

error data source for pega marketing 8.1 tomcat

Hi,

I am installing Pega Marketing 8.1. I am creating the data source in order to be able to create de database externalmktData.

So to create it, in my context.xml I added the following

    <Resource
         name="jdbc/mktDataSource" auth="Container"
         type="javax.sql.DataSource"
         driverClassName="oracle.jdbc.OracleDriver"
         url="jdbc:oracle:thin:@//xxxxxxxxx:1521/PEGA"
         username="APPMKT"
         password=xxxxxxxxx
         maxTotal="100"
         maxIdle="30"
         maxWaitMillis="10000"

     />

    <Environment
         name="prconfig/database/databases/mktDataSource/dataSource"
         value="java:comp/env/jdbc/mktDataSource"
         type="java.lang.String"
     />

    <Environment
         name="prconfig/database/databases/mktDataSource/defaultSchema"
         value="APPMKT"
         type="java.lang.String"
     />

but when I create the database ExternalMKTData i get this error

The JNDI name of the Data Source used to connect to this DB—
The DataSource jdbc/mktDataSource is invalid: Unable to obtain DataSource object: code: <none> SQLState: Name [jdbc/mktDataSource] is not bound in this Context. Unable to find [jdbc]. Message: <none>
DatabaseException caused by prior exception: javax.naming.NameNotFoundException: Name [jdbc/mktDataSource] is not bound in this Context. Unable to find [jdbc].

The DataSource jdbc/mktDataSource is invalid: A connection could not be obtained.

can anyone help me? I am more use to use weblogic as a app server, but it seems to have an error with pega 8.1

thank you

Pega Marketing System Administration Installation and Deployment
Moderation Team has archived post,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.