openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prem Mallavalli" <TC02...@emirates.com>
Subject Urgent help required
Date Sat, 29 Mar 2008 14:33:42 GMT

Hi

I am getting the following errors when I deploy my ejb3.0 application
in weblogic 10 server. I tried using Kodo also instaed of open jpa but
still getting the same error.Please help me immediately. Thanks in
advance.


org.apache.openjpa.persistence.PersistenceException: User: EH_CHM,
failed to be authenticated.
        at
org.apache.openjpa.jdbc.sql.DBDictionary.newStoreException(DBDictionary.
java:3765)
        at
org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:94
)
        at
org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:80
)
        at
org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:56
)
        at
org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connect(JDBCStoreManager
.java:724)
        at
org.apache.openjpa.jdbc.kernel.JDBCStoreManager.getConnection(JDBCStoreM
anager.java:208)
        at
org.apache.openjpa.jdbc.sql.SelectImpl.execute(SelectImpl.java:316)
        at kodo.jdbc.sql.KodoSelectImpl.execute(KodoSelectImpl.java:28)
        at
org.apache.openjpa.jdbc.sql.SelectImpl.execute(SelectImpl.java:296)
        at
org.apache.openjpa.jdbc.sql.LogicalUnion$UnionSelect.execute(LogicalUnio
n.java:402)
        at
org.apache.openjpa.jdbc.sql.LogicalUnion.execute(LogicalUnion.java:213)
        at kodo.jdbc.sql.TrueUnion.execute(TrueUnion.java:169)
        at
org.apache.openjpa.jdbc.sql.LogicalUnion.execute(LogicalUnion.java:203)
        at
org.apache.openjpa.jdbc.kernel.SelectResultObjectProvider.open(SelectRes
ultObjectProvider.java:91)
        at
org.apache.openjpa.lib.rop.EagerResultList.<init>(EagerResultList.java:3
1)
        at
org.apache.openjpa.kernel.QueryImpl.toResult(QueryImpl.java:1214)
        at
org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:981)
        at
org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:791)
        at
org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:761)
        at kodo.kernel.KodoQuery.execute(KodoQuery.java:43)
        at
org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:757)
        at kodo.kernel.KodoQuery.execute(KodoQuery.java:39)
        at
org.apache.openjpa.kernel.DelegatingQuery.execute(DelegatingQuery.java:5
12)
        at
org.apache.openjpa.persistence.QueryImpl.execute(QueryImpl.java:225)
        at
org.apache.openjpa.persistence.QueryImpl.getResultList(QueryImpl.java:26
4)

My persistence.xml file is as below

<?xml version="1.0" encoding="windows-1252" ?> 
- <>  <persistence xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence
http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
version="1.0" xmlns="http://java.sun.com/xml/ns/persistence"> 
- <>  <persistence-unit name="CHM" transaction-type="JTA"> 
<provider>org.apache.openjpa.persistence.PersistenceProviderImpl</provid
er> 
<jta-data-source>OracleDS</jta-data-source> 
<class>com.emirates.chm.apptier.persistence.ejb.ChmAddressMastBean</clas
s> 
<class>com.emirates.chm.apptier.persistence.ejb.ChmAuditedOutcomeMastBea
n</class> 
<class>com.emirates.chm.apptier.persistence.ejb.ChmBookingTransBean</cla
ss> 
<class>com.emirates.chm.apptier.persistence.ejb.ChmCompensationTransBean
</class> 
<class>com.emirates.chm.apptier.persistence.ejb.ChmCustomerMastBean</cla
ss> 
<class>com.emirates.chm.apptier.persistence.ejb.ChmFeedBackAttachmentTra
nsBean</class> 
<class>com.emirates.chm.apptier.persistence.ejb.ChmFeedbackRespHistoryTr
ansBean</class> 
<class>com.emirates.chm.apptier.persistence.ejb.ChmFeedbackResponseMsgTr
ansBean</class> 
<class>com.emirates.chm.apptier.persistence.ejb.ChmFeedbackStatusMastBea
n</class> 
<class>com.emirates.chm.apptier.persistence.ejb.ChmFeedBackTrackerTransB
ean</class> 
<class>com.emirates.chm.apptier.persistence.ejb.ChmFeedBackTransBean</cl
ass> 
<class>com.emirates.chm.apptier.persistence.ejb.ChmIssTypeMastBean</clas
s> 
<class>com.emirates.chm.apptier.persistence.ejb.ChmIssueMastBean</class>

<class>com.emirates.chm.apptier.persistence.ejb.ChmIssuesTransBean</clas
s> 
<class>com.emirates.chm.apptier.persistence.ejb.ChmNumberMastBean</class
> 
<class>com.emirates.chm.apptier.persistence.ejb.ChmPassportMastBean</cla
ss> 
<class>com.emirates.chm.apptier.persistence.ejb.ChmPaxTransBean</class> 
<class>com.emirates.chm.apptier.persistence.ejb.ChmPhoneNoMastBean</clas
s> 
- <>  <properties> 
<property name="openjpa.ConnectionURL"
value="jdbc:oracle:thin:@harpoon:1526:EHT" /> 
<property name="openjpa.ConnectionDriverName"
value="oracle.jdbc.OracleDriver" /> 
<property name="openjpa.ConnectionUserName" value="EH_CHM" /> 
<property name="openjpa.ConnectionPassword" value="EH_CHM" /> 
<property name="openjpa.jdbc.DBDictionary"
value="oracle(DriverVendor=oracle92)" /> 
</properties> 
</persistence-unit> 
- <>  <persistence-unit name="ITOS" transaction-type="JTA"> 
<provider>org.apache.openjpa.persistence.PersistenceProviderImpl</provid
er> 
<jta-data-source>ItosDS</jta-data-source> 
<class>com.emirates.chm.apptier.persistence.ejb.EhOcBookingPaxVwBean</cl
ass> 
<class>com.emirates.chm.apptier.persistence.ejb.EhOcBookingVwBean</class
> 
<class>com.emirates.chm.apptier.persistence.ejb.EhOcAddressVwBean</class
> 
<class>com.emirates.chm.apptier.persistence.ejb.EhOcBookingDetailVwBean<
/class> 
<class>com.emirates.chm.apptier.persistence.ejb.EhOcBusinessPartnerVwBea
n</class> 
<exclude-unlisted-classes>true</exclude-unlisted-classes> 
- <>  <properties> 
<property name="openjpa.ConnectionURL"
value="jdbc:oracle:thin:@harpoon:1526:EHT" /> 
<property name="openjpa.ConnectionDriverName"
value="oracle.jdbc.OracleDriver" /> 
<property name="openjpa.ConnectionUserName" value="ITOS" /> 
<property name="openjpa.ConnectionPassword" value="NAECOITOS" /> 
<property name="openjpa.jdbc.DBDictionary"
value="oracle(DriverVendor=oracle92)" /> 
</properties> 
</persistence-unit> 
</persistence>

  



> Prem Mallavalli
> 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message