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
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