Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem with openJPA

 
Kumar Mallavalli
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I'm facing a problem while running the deployed ear file. We used EJB3.0 with Weblogic 10. I have my persistence.xml file as follows:

<?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>kodo.persistence.PersistenceProviderImpl</provider>
<jta-data-source>OracleDS</jta-data-source>
<class>com.emirates.chm.apptier.persistence.ejb.ChmAddressMastBean</class>
<class>com.emirates.chm.apptier.persistence.ejb.ChmAuditedOutcomeMastBean</class>
<class>com.emirates.chm.apptier.persistence.ejb.ChmBookingTransBean</class>
<class>com.emirates.chm.apptier.persistence.ejb.ChmCompensationTransBean</class>
<class>com.emirates.chm.apptier.persistence.ejb.ChmCustomerMastBean</class>
<class>com.emirates.chm.apptier.persistence.ejb.ChmFeedBackAttachmentTransBean</class>
<class>com.emirates.chm.apptier.persistence.ejb.ChmFeedbackRespHistoryTransBean</class>
<class>com.emirates.chm.apptier.persistence.ejb.ChmFeedbackResponseMsgTransBean</class>
<class>com.emirates.chm.apptier.persistence.ejb.ChmFeedbackStatusMastBean</class>
<class>com.emirates.chm.apptier.persistence.ejb.ChmFeedBackTrackerTransBean</class>
<class>com.emirates.chm.apptier.persistence.ejb.ChmFeedBackTransBean</class>
<class>com.emirates.chm.apptier.persistence.ejb.ChmIssTypeMastBean</class>
<class>com.emirates.chm.apptier.persistence.ejb.ChmIssueMastBean</class>
<class>com.emirates.chm.apptier.persistence.ejb.ChmIssuesTransBean</class>
<class>com.emirates.chm.apptier.persistence.ejb.ChmNumberMastBean</class>
<class>com.emirates.chm.apptier.persistence.ejb.ChmPassportMastBean</class>
<class>com.emirates.chm.apptier.persistence.ejb.ChmPaxTransBean</class>
<class>com.emirates.chm.apptier.persistence.ejb.ChmPhoneNoMastBean</class>

<properties>
<property name="kodo.jdbc.DBDictionary" value="oracle(DriverVendor=oracle92)"/>
<property name="kodo.ConnectionURL" value="jdbc racle:thin:@harpoon:1526:EHT"/>
<property name="kodo.ConnectionDriverName" value="oracle.jdbc.OracleDriver"/>
<property name="kodo.ConnectionUserName" value="EH_CHM"/>
<property name="kodo.ConnectionPassword" value="EH_CHM"/>
</properties>
</persistence-unit>
<persistence-unit name="ITOS" transaction-type="JTA" >
<provider>kodo.persistence.PersistenceProviderImpl</provider>
<jta-data-source>ItosDS</jta-data-source>
<class>com.emirates.chm.apptier.persistence.ejb.EhOcBookingPaxVwBean</class>
<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.EhOcBusinessPartnerVwBean</class>
<exclude-unlisted-classes>true</exclude-unlisted-classes>

<properties>
<property name="kodo.jdbc.DBDictionary" value="oracle(DriverVendor=oracle92)"/>
<property name="kodo.ConnectionURL" value="jdbc racle:thin:@harpoon:1526:EHT"/>
<property name="kodo.ConnectionDriverName" value="oracle.jdbc.OracleDriver"/>
<property name="kodo.ConnectionUserName" value="ITOS"/>
<property name="kodo.ConnectionPassword" value="NAECOITOS"/>
</properties>
</persistence-unit>
</persistence>


And when the application is accessed, I get the following error trace in Weblogic.

<0|false|0.9.7> 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(JDBCStoreManager.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(LogicalUnion.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(SelectResultObjectProvider.java:91)
at org.apache.openjpa.lib.rop.EagerResultList.<init>(EagerResultList.java:31)
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:512)
at org.apache.openjpa.persistence.QueryImpl.execute(QueryImpl.java:225)
at org.apache.openjpa.persistence.QueryImpl.getResultList(QueryImpl.java:264)
Caused by: java.sql.SQLException: User: EH_CHM, failed to be authenticated.
at weblogic.jdbc.common.internal.RmiDataSource.getSubject(RmiDataSource.java:304)
at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:240)
at org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:110)
at org.apache.openjpa.lib.jdbc.DecoratingDataSource.getConnection(DecoratingDataSource.java:90)
at org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:110)
at org.apache.openjpa.jdbc.schema.DataSourceFactory$DefaultsDataSource.getConnection(DataSourceFactory.java:261)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connectInternal(JDBCStoreManager.java:735)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connect(JDBCStoreManager.java:720)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.getConnection(JDBCStoreManager.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(LogicalUnion.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(SelectResultObjectProvider.java:91)
at org.apache.openjpa.lib.rop.EagerResultList.<init>(EagerResultList.java:31)
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:512)
at org.apache.openjpa.persistence.QueryImpl.execute(QueryImpl.java:225)
at org.apache.openjpa.persistence.QueryImpl.getResultList(QueryImpl.java:264)
at kodo.persistence.KodoQueryImpl.getResultList(KodoQueryImpl.java:213)
at com.emirates.chm.webtier.MyActionListHelper.fetchMyActionList(MyActionListHelper.java:44)
at com.emirates.chm.webtier.HomePageBuilder.getMyActionList(HomePageBuilder.java:27)
at com.emirates.chm.webtier.HomePageBuilder.buildHomePage(HomePageBuilder.java:75)
homePageObj.getMyActionListObj().getClass().getName() in buildHomePage() in HomePageBuilder.java is : -->com.emirates.chm
.commons.MyActionList
strCityName is : -->Dubai
startDate is : -->Sat Mar 01 10:13:12 GST 2008
endDate is : -->Mon Mar 31 10:13:12 GST 2008
strCity is : -->Dubai
startDate is : -->Sat Mar 01 10:13:12 GST 2008
endDate is : -->Mon Mar 31 10:13:12 GST 2008
Exception occured in buildAllCityPieChart() in DashBoardBuilder.java.
<4|true|0.9.7> org.apache.openjpa.persistence.ArgumentException: Could not locate metadata for the class using alias "chm
feedbacktrans". Registered alias mappings: "{ChmFeedbackStatusMastBean=[class com.emirates.chm.apptier.persistence.ejb.Ch
mFeedbackStatusMastBean], Movie=[class examples.ejb.ejb30.domain.Movie], EhOcBookingDetailVwBean=[class com.emirates.chm.
apptier.persistence.ejb.EhOcBookingDetailVwBean], WLSCredMapCollectionInfo=[class com.bea.common.security.store.data.WLSC
redMapCollectionInfo], ChmPaxTransBean=[class com.emirates.chm.apptier.persistence.ejb.ChmPaxTransBean], ChmFeedbackRespH
istoryTransBean=[class com.emirates.chm.apptier.persistence.ejb.ChmFeedbackRespHistoryTransBean], Music=[class examples.e
jb.ejb30.domain.Music], ResourceMap=[class com.bea.common.security.store.data.ResourceMap], Person=[class examples.ejb.ej
b30.domain.Person], Book=[class examples.ejb.ejb30.domain.Book], ChmIssTypeMastBean=[class com.emirates.chm.apptier.persi
stence.ejb.ChmIssTypeMastBean], ChmFeedbackResponseMsgTransBean=[class com.emirates.chm.apptier.persistence.ejb.ChmFeedba
ckResponseMsgTransBean], ChmAddressMastBean=[class com.emirates.chm.apptier.persistence.ejb.ChmAddressMastBean], BEASAMLR
elyingParty=[class com.bea.common.security.store.data.BEASAMLRelyingParty], Review=[class examples.ejb.ejb30.domain.Revie
w], XACMLRoleAssignmentPolicy=[class com.bea.common.security.store.data.XACMLRoleAssignmentPolicy], Reviewer=[class examp
les.ejb.ejb30.domain.Reviewer], ChmPassportMastBean=[class com.emirates.chm.apptier.persistence.ejb.ChmPassportMastBean],
PKITypeScope=[class com.bea.common.security.store.data.PKITypeScope], XACMLTypeScope=[class com.bea.common.security.stor
e.data.XACMLTypeScope], EhOcBookingVwBean=[class com.emirates.chm.apptier.persistence.ejb.EhOcBookingVwBean], BEASAMLPart
ner=[class com.bea.common.security.store.data.BEASAMLPartner], ChmIssueMastBean=[class com.emirates.chm.apptier.persisten
ce.ejb.ChmIssueMastBean], UserPasswordCredential=[class com.bea.common.security.store.data.UserPasswordCredential], Partn
er=[class com.bea.common.security.store.data.Partner], EhOcBusinessPartnerVwBean=[class com.emirates.chm.apptier.persiste
nce.ejb.EhOcBusinessPartnerVwBean], XACMLEntry=[class com.bea.common.security.store.data.XACMLEntry], XACMLAuthorizationP
olicy=[class com.bea.common.security.store.data.XACMLAuthorizationPolicy], DomainRealmScope=[class com.bea.common.securit
y.store.data.DomainRealmScope], CredentialMap=[class com.bea.common.security.store.data.CredentialMap], EhOcBookingPaxVwB
ean=[class com.emirates.chm.apptier.persistence.ejb.EhOcBookingPaxVwBean], Item=[class examples.ejb.ejb30.domain.Item], A
rtist=[class examples.ejb.ejb30.domain.Artist], chmfeedbacktrans=null, EhOcAddressVwBean=[class com.emirates.chm.apptier.
persistence.ejb.EhOcAddressVwBean], BEASAMLAssertingParty=[class com.bea.common.security.store.data.BEASAMLAssertingParty
], ChmFeedBackTransBean=[class com.emirates.chm.apptier.persistence.ejb.ChmFeedBackTransBean], ChmFeedBackTrackerTransBea
n=[class com.emirates.chm.apptier.persistence.ejb.ChmFeedBackTrackerTransBean], PKIResourceMap=[class com.bea.common.secu
rity.store.data.PKIResourceMap], IdPPartner=[class com.bea.common.security.store.data.IdPPartner], ChmCompensationTransBe
an=[class com.emirates.chm.apptier.persistence.ejb.ChmCompensationTransBean], ChmPhoneNoMastBean=[class com.emirates.chm.
apptier.persistence.ejb.ChmPhoneNoMastBean], ChmFeedBackAttachmentTransBean=[class com.emirates.chm.apptier.persistence.e
jb.ChmFeedBackAttachmentTransBean], Credential=[class com.bea.common.security.store.data.Credential], ChmAuditedOutcomeMa
stBean=[class com.emirates.chm.apptier.persistence.ejb.ChmAuditedOutcomeMastBean], ChmBookingTransBean=[class com.emirate
s.chm.apptier.persistence.ejb.ChmBookingTransBean], ChmIssuesTransBean=[class com.emirates.chm.apptier.persistence.ejb.Ch
mIssuesTransBean], WLSPolicyCollectionInfo=[class com.bea.common.security.store.data.WLSPolicyCollectionInfo], ChmCustome
rMastBean=[class com.emirates.chm.apptier.persistence.ejb.ChmCustomerMastBean], WLSRoleCollectionInfo=[class com.bea.comm
on.security.store.data.WLSRoleCollectionInfo], Top=[class com.bea.common.security.store.data.Top], WLSCertRegEntry=[class
com.bea.common.security.store.data.WLSCertRegEntry], ChmNumberMastBean=[class com.emirates.chm.apptier.persistence.ejb.C
hmNumberMastBean], Endpoint=[class com.bea.common.security.store.data.Endpoint], SPPartner=[class com.bea.common.security
.store.data.SPPartner], PasswordCredentialMap=[class com.bea.common.security.store.data.PasswordCredentialMap], PasswordC
redential=[class com.bea.common.security.store.data.PasswordCredential], RegistryScope=[class com.bea.common.security.sto
re.data.RegistryScope]}"
at org.apache.openjpa.meta.MetaDataRepository.getMetaData(MetaDataRepository.java:345)
at org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.getClassMetaData(JPQLExpressionBuilder.java:164)
at org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.resolveClassMetaData(JPQLExpressionBuilder.java:142)
at org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.getCandidateMetaData(JPQLExpressionBuilder.java:211)
at org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.getCandidateMetaData(JPQLExpressionBuilder.java:181)
at org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.getCandidateType(JPQLExpressionBuilder.java:174)
at org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.access$500(JPQLExpressionBuilder.java:61)
at org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder$ParsedJPQL.populate(JPQLExpressionBuilder.java:1668)
at org.apache.openjpa.kernel.jpql.JPQLParser.populate(JPQLParser.java:52)
at org.apache.openjpa.kernel.ExpressionStoreQuery.populateFromCompilation(ExpressionStoreQuery.java:145)
at org.apache.openjpa.kernel.QueryImpl.newCompilation(QueryImpl.java:644)
at org.apache.openjpa.kernel.QueryImpl.compilationFromCache(QueryImpl.java:625)
at org.apache.openjpa.kernel.QueryImpl.compileForCompilation(QueryImpl.java:591)
at org.apache.openjpa.kernel.QueryImpl.compileForExecutor(QueryImpl.java:653)
at org.apache.openjpa.kernel.QueryImpl.getOperation(QueryImpl.java:1475)
at org.apache.openjpa.kernel.DelegatingQuery.getOperation(DelegatingQuery.java:120)
at org.apache.openjpa.persistence.QueryImpl.execute(QueryImpl.java:214)
at org.apache.openjpa.persistence.QueryImpl.getResultList(QueryImpl.java:264)
at kodo.persistence.KodoQueryImpl.getResultList(KodoQueryImpl.java:213)
at kodo.persistence.KodoQueryImpl.getResultList(KodoQueryImpl.java:213)
at com.emirates.chm.webtier.DashBoardBuilder.buildAllCityPieChart(DashBoardBuilder.java:111)
at com.emirates.chm.webtier.DashBoardBuilder.buildHomePageDashBoard(DashBoardBuilder.java:50)
at com.emirates.chm.webtier.HomePageBuilder.getDashBoard(HomePageBuilder.java:56)
at com.emirates.chm.webtier.HomePageBuilder.buildHomePage(HomePageBuilder.java:77)
at com.emirates.chm.webtier.HomePageCmd.execute(HomePageCmd.java:29)
at com.emirates.chm.webtier.ChmApplicationCtrlSvlt.process(ChmApplicationCtrlSvlt.java:79)
at com.emirates.chm.webtier.ChmApplicationCtrlSvlt.doPost(ChmApplicationCtrlSvlt.java:46)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
vcPieData.size() in buildAllCityPieChart() is : -->0
dashBoardObj.getPieDataObj1().getClass().getName() is : -->com.emirates.chm.commons.PieData
startDate is : -->Sat Mar 01 10:13:12 GST 2008
endDate is : -->Mon Mar 31 10:13:12 GST 2008
strCityName is : -->Dubai
1172 CHM WARN [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] openjpa.MetaData - Fou
nd duplicate query "ChmFeedBackTransBean.findAll" in "class com.emirates.chm.apptier.persistence.ejb.ChmFeedBackTransBean
". Ignoring.
Exception occured in buildIssuePieChart() in DashBoardBuilder.java.
<0|false|0.9.7> 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(JDBCStoreManager.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(LogicalUnion.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(SelectResultObjectProvider.java:91)
at org.apache.openjpa.lib.rop.EagerResultList.<init>(EagerResultList.java:31)
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:834)
at org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:765)
at kodo.kernel.KodoQuery.execute(KodoQuery.java:47)
at org.apache.openjpa.kernel.DelegatingQuery.execute(DelegatingQuery.java:520)
at org.apache.openjpa.persistence.QueryImpl.execute(QueryImpl.java:224)
at org.apache.openjpa.persistence.QueryImpl.getResultList(QueryImpl.java:264)
at kodo.persistence.KodoQueryImpl.getResultList(KodoQueryImpl.java:213)
at com.emirates.chm.webtier.DashBoardBuilder.buildIssuePieChart(DashBoardBuilder.java:196)
Caused by: java.sql.SQLException: User: EH_CHM, failed to be authenticated.
at weblogic.jdbc.common.internal.RmiDataSource.getSubject(RmiDataSource.java:304)
at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:240)
at org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:110)
at org.apache.openjpa.lib.jdbc.DecoratingDataSource.getConnection(DecoratingDataSource.java:90)
at org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:110)
at org.apache.openjpa.jdbc.schema.DataSourceFactory$DefaultsDataSource.getConnection(DataSourceFactory.java:261)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connectInternal(JDBCStoreManager.java:735)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connect(JDBCStoreManager.java:720)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.getConnection(JDBCStoreManager.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(LogicalUnion.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(SelectResultObjectProvider.java:91)
at org.apache.openjpa.lib.rop.EagerResultList.<init>(EagerResultList.java:31)
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:834)
at org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:765)
at kodo.kernel.KodoQuery.execute(KodoQuery.java:47)
at org.apache.openjpa.kernel.DelegatingQuery.execute(DelegatingQuery.java:520)
at org.apache.openjpa.persistence.QueryImpl.execute(QueryImpl.java:224)
at org.apache.openjpa.persistence.QueryImpl.getResultList(QueryImpl.java:264)
at kodo.persistence.KodoQueryImpl.getResultList(KodoQueryImpl.java:213)
at com.emirates.chm.webtier.DashBoardBuilder.buildIssuePieChart(DashBoardBuilder.java:196)
at com.emirates.chm.webtier.DashBoardBuilder.buildHomePageDashBoard(DashBoardBuilder.java:52)
at com.emirates.chm.webtier.HomePageBuilder.getDashBoard(HomePageBuilder.java:56)
at com.emirates.chm.webtier.HomePageBuilder.buildHomePage(HomePageBuilder.java:77)
at com.emirates.chm.webtier.HomePageCmd.execute(HomePageCmd.java:29)
dashBoardObj.getPieDataObj2().getClass().getName() is : -->com.emirates.chm.commons.PieData
startDate is : -->Sat Mar 01 10:13:12 GST 2008
endDate is : -->Mon Mar 31 10:13:12 GST 2008
strCityName is : -->Dubai
Exception occured in buildTreeGraph() in DashBoardBuilder.java.
<0|false|0.9.7> 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(JDBCStoreManager.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(LogicalUnion.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(SelectResultObjectProvider.java:91)
at org.apache.openjpa.kernel.QueryImpl$PackingResultObjectProvider.open(QueryImpl.java:1936)
at org.apache.openjpa.kernel.QueryImpl.singleResult(QueryImpl.java:1270)
at org.apache.openjpa.kernel.QueryImpl.toResult(QueryImpl.java:1206)
at org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:981)
at org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:834)
at org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:765)
at kodo.kernel.KodoQuery.execute(KodoQuery.java:47)
at org.apache.openjpa.kernel.DelegatingQuery.execute(DelegatingQuery.java:520)
at org.apache.openjpa.persistence.QueryImpl.execute(QueryImpl.java:224)
at org.apache.openjpa.persistence.QueryImpl.getResultList(QueryImpl.java:264)
at kodo.persistence.KodoQueryImpl.getResultList(KodoQueryImpl.java:213)
Caused by: java.sql.SQLException: User: EH_CHM, failed to be authenticated.
at weblogic.jdbc.common.internal.RmiDataSource.getSubject(RmiDataSource.java:304)
at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:240)
at org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:110)
at org.apache.openjpa.lib.jdbc.DecoratingDataSource.getConnection(DecoratingDataSource.java:90)
at org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:110)
at org.apache.openjpa.jdbc.schema.DataSourceFactory$DefaultsDataSource.getConnection(DataSourceFactory.java:261)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connectInternal(JDBCStoreManager.java:735)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connect(JDBCStoreManager.java:720)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.getConnection(JDBCStoreManager.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(LogicalUnion.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(SelectResultObjectProvider.java:91)
at org.apache.openjpa.kernel.QueryImpl$PackingResultObjectProvider.open(QueryImpl.java:1936)
at org.apache.openjpa.kernel.QueryImpl.singleResult(QueryImpl.java:1270)
at org.apache.openjpa.kernel.QueryImpl.toResult(QueryImpl.java:1206)
at org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:981)
at org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:834)
at org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:765)
at kodo.kernel.KodoQuery.execute(KodoQuery.java:47)
at org.apache.openjpa.kernel.DelegatingQuery.execute(DelegatingQuery.java:520)
at org.apache.openjpa.persistence.QueryImpl.execute(QueryImpl.java:224)
at org.apache.openjpa.persistence.QueryImpl.getResultList(QueryImpl.java:264)
at kodo.persistence.KodoQueryImpl.getResultList(KodoQueryImpl.java:213)
at com.emirates.chm.webtier.DashBoardBuilder.buildTreeGraph(DashBoardBuilder.java:228)
at com.emirates.chm.webtier.DashBoardBuilder.buildHomePageDashBoard(DashBoardBuilder.java:54)
at com.emirates.chm.webtier.HomePageBuilder.getDashBoard(HomePageBuilder.java:56)
at com.emirates.chm.webtier.HomePageBuilder.buildHomePage(HomePageBuilder.java:77)
dashBoardObj.getPaxGraphObj().getClass().getName() is : -->com.emirates.chm.commons.PaxGraph
homePageObj.getMyActionListObj().getClass().getName() in buildHomePage() in HomePageBuilder.java is : -->com.emirates.chm
.commons.MyActionList
Exception occured in execute() in HomePageCmd.java...
java.lang.NullPointerException
at com.emirates.chm.webtier.HomePageCmd.execute(HomePageCmd.java:30)
at com.emirates.chm.webtier.ChmApplicationCtrlSvlt.process(ChmApplicationCtrlSvlt.java:79)
at com.emirates.chm.webtier.ChmApplicationCtrlSvlt.doPost(ChmApplicationCtrlSvlt.java:46)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3370)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.AuthenticatedSubject;Lweblogic
.security.acl.internal.AuthenticatedSubject;Ljava.security.PrivilegedAction Ljava.lang.Object;(Unknown Source)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2117)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2023)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1359)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
returnObj.getClass().getName() is : -->com.emirates.chm.commons.ReturnObj
strPageId is : -->null
strRespMsg is : -->null
strRespPageName is : -->null
java.lang.NullPointerException
at com.emirates.chm.webtier.ViewHelper.requestDispatcher(ViewHelper.java:13)
at com.emirates.chm.webtier.ChmApplicationCtrlSvlt.process(ChmApplicationCtrlSvlt.java:99)
at com.emirates.chm.webtier.ChmApplicationCtrlSvlt.doPost(ChmApplicationCtrlSvlt.java:46)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3370)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.AuthenticatedSubject;Lweblogic
.security.acl.internal.AuthenticatedSubject;Ljava.security.PrivilegedAction Ljava.lang.Object;(Unknown Source)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2117)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2023)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1359)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
<30-Mar-2008 10:13:12 o'clock GST> <Error> <HTTP> <BEA-101017> <[weblogic.servlet.internal.WebAppServletContext@67afda -
appName: 'chm', name: '/ChmWeb', context-path: '/ChmWeb'] Root cause of ServletException.
java.lang.NullPointerException
at com.emirates.chm.webtier.ViewHelper.requestDispatcher(ViewHelper.java:13)
at com.emirates.chm.webtier.ChmApplicationCtrlSvlt.process(ChmApplicationCtrlSvlt.java:99)
at com.emirates.chm.webtier.ChmApplicationCtrlSvlt.doPost(ChmApplicationCtrlSvlt.java:46)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
Truncated. see log file for complete stacktrace

Someone kindly help.

Thanks in advance.

Regards,
Mallavalli.
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to JavaRanch.

The root cause seems to be
Caused by: java.sql.SQLException: User: EH_CHM, failed to be authenticated.

Is that user set up correctly so that it can log into the DB?
 
Kumar Mallavalli
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I've checked that and i'm able to login into the datbase with the same username and password.

Regards,
Mallavalli.
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just out of curiosity, what if you change the case to lower case for username password?

Anyway, is there any special security on the OracleDS in Weblogic, maybe that is where the authentication fails. Or something Weblogicky

Mark
 
Kumar Mallavalli
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Mark,

There is nothing like that as mentioned by you.

Regards,
Mallavalli.
 
Andy Killinger
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Kumar,

I note you reference a JTA data source as well as login information for hibernate.
Assuming you have a JDBC datasource with a JNDI name CHM, you can eliminate the following from your persistence.xml file:

<property name="kodo.ConnectionURL" value="jdbc racle:thin:@harpoon:1526:EHT"/>
<property name="kodo.ConnectionUserName" value="EH_CHM"/>
<property name="kodo.ConnectionPassword" value="EH_CHM"/>

Try this and get back to us?
Regards,

Andy Killinger

Kumar Mallavalli wrote:Hi,

I'm facing a problem while running the deployed ear file. We used EJB3.0 with Weblogic 10. I have my persistence.xml file as follows:

<?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>kodo.persistence.PersistenceProviderImpl</provider>
<jta-data-source>OracleDS</jta-data-source>
<class>com.emirates.chm.apptier.persistence.ejb.ChmAddressMastBean</class>
<class>com.emirates.chm.apptier.persistence.ejb.ChmAuditedOutcomeMastBean</class>
<class>com.emirates.chm.apptier.persistence.ejb.ChmBookingTransBean</class>
<class>com.emirates.chm.apptier.persistence.ejb.ChmCompensationTransBean</class>
<class>com.emirates.chm.apptier.persistence.ejb.ChmCustomerMastBean</class>
<class>com.emirates.chm.apptier.persistence.ejb.ChmFeedBackAttachmentTransBean</class>
<class>com.emirates.chm.apptier.persistence.ejb.ChmFeedbackRespHistoryTransBean</class>
<class>com.emirates.chm.apptier.persistence.ejb.ChmFeedbackResponseMsgTransBean</class>
<class>com.emirates.chm.apptier.persistence.ejb.ChmFeedbackStatusMastBean</class>
<class>com.emirates.chm.apptier.persistence.ejb.ChmFeedBackTrackerTransBean</class>
<class>com.emirates.chm.apptier.persistence.ejb.ChmFeedBackTransBean</class>
<class>com.emirates.chm.apptier.persistence.ejb.ChmIssTypeMastBean</class>
<class>com.emirates.chm.apptier.persistence.ejb.ChmIssueMastBean</class>
<class>com.emirates.chm.apptier.persistence.ejb.ChmIssuesTransBean</class>
<class>com.emirates.chm.apptier.persistence.ejb.ChmNumberMastBean</class>
<class>com.emirates.chm.apptier.persistence.ejb.ChmPassportMastBean</class>
<class>com.emirates.chm.apptier.persistence.ejb.ChmPaxTransBean</class>
<class>com.emirates.chm.apptier.persistence.ejb.ChmPhoneNoMastBean</class>

<properties>
<property name="kodo.jdbc.DBDictionary" value="oracle(DriverVendor=oracle92)"/>
<property name="kodo.ConnectionURL" value="jdbc racle:thin:@harpoon:1526:EHT"/>
<property name="kodo.ConnectionDriverName" value="oracle.jdbc.OracleDriver"/>
<property name="kodo.ConnectionUserName" value="EH_CHM"/>
<property name="kodo.ConnectionPassword" value="EH_CHM"/>
</properties>
</persistence-unit>
<persistence-unit name="ITOS" transaction-type="JTA" >
<provider>kodo.persistence.PersistenceProviderImpl</provider>
<jta-data-source>ItosDS</jta-data-source>
<class>com.emirates.chm.apptier.persistence.ejb.EhOcBookingPaxVwBean</class>
<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.EhOcBusinessPartnerVwBean</class>
<exclude-unlisted-classes>true</exclude-unlisted-classes>

<properties>
<property name="kodo.jdbc.DBDictionary" value="oracle(DriverVendor=oracle92)"/>
<property name="kodo.ConnectionURL" value="jdbc racle:thin:@harpoon:1526:EHT"/>
<property name="kodo.ConnectionDriverName" value="oracle.jdbc.OracleDriver"/>
<property name="kodo.ConnectionUserName" value="ITOS"/>
<property name="kodo.ConnectionPassword" value="NAECOITOS"/>
</properties>
</persistence-unit>
</persistence>


And when the application is accessed, I get the following error trace in Weblogic.

<0|false|0.9.7> 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(JDBCStoreManager.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(LogicalUnion.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(SelectResultObjectProvider.java:91)
at org.apache.openjpa.lib.rop.EagerResultList.<init>(EagerResultList.java:31)
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:512)
at org.apache.openjpa.persistence.QueryImpl.execute(QueryImpl.java:225)
at org.apache.openjpa.persistence.QueryImpl.getResultList(QueryImpl.java:264)
Caused by: java.sql.SQLException: User: EH_CHM, failed to be authenticated.
at weblogic.jdbc.common.internal.RmiDataSource.getSubject(RmiDataSource.java:304)
at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:240)
at org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:110)
at org.apache.openjpa.lib.jdbc.DecoratingDataSource.getConnection(DecoratingDataSource.java:90)
at org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:110)
at org.apache.openjpa.jdbc.schema.DataSourceFactory$DefaultsDataSource.getConnection(DataSourceFactory.java:261)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connectInternal(JDBCStoreManager.java:735)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connect(JDBCStoreManager.java:720)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.getConnection(JDBCStoreManager.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(LogicalUnion.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(SelectResultObjectProvider.java:91)
at org.apache.openjpa.lib.rop.EagerResultList.<init>(EagerResultList.java:31)
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:512)
at org.apache.openjpa.persistence.QueryImpl.execute(QueryImpl.java:225)
at org.apache.openjpa.persistence.QueryImpl.getResultList(QueryImpl.java:264)
at kodo.persistence.KodoQueryImpl.getResultList(KodoQueryImpl.java:213)
at com.emirates.chm.webtier.MyActionListHelper.fetchMyActionList(MyActionListHelper.java:44)
at com.emirates.chm.webtier.HomePageBuilder.getMyActionList(HomePageBuilder.java:27)
at com.emirates.chm.webtier.HomePageBuilder.buildHomePage(HomePageBuilder.java:75)
homePageObj.getMyActionListObj().getClass().getName() in buildHomePage() in HomePageBuilder.java is : -->com.emirates.chm
.commons.MyActionList
strCityName is : -->Dubai
startDate is : -->Sat Mar 01 10:13:12 GST 2008
endDate is : -->Mon Mar 31 10:13:12 GST 2008
strCity is : -->Dubai
startDate is : -->Sat Mar 01 10:13:12 GST 2008
endDate is : -->Mon Mar 31 10:13:12 GST 2008
Exception occured in buildAllCityPieChart() in DashBoardBuilder.java.
<4|true|0.9.7> org.apache.openjpa.persistence.ArgumentException: Could not locate metadata for the class using alias "chm
feedbacktrans". Registered alias mappings: "{ChmFeedbackStatusMastBean=[class com.emirates.chm.apptier.persistence.ejb.Ch
mFeedbackStatusMastBean], Movie=[class examples.ejb.ejb30.domain.Movie], EhOcBookingDetailVwBean=[class com.emirates.chm.
apptier.persistence.ejb.EhOcBookingDetailVwBean], WLSCredMapCollectionInfo=[class com.bea.common.security.store.data.WLSC
redMapCollectionInfo], ChmPaxTransBean=[class com.emirates.chm.apptier.persistence.ejb.ChmPaxTransBean], ChmFeedbackRespH
istoryTransBean=[class com.emirates.chm.apptier.persistence.ejb.ChmFeedbackRespHistoryTransBean], Music=[class examples.e
jb.ejb30.domain.Music], ResourceMap=[class com.bea.common.security.store.data.ResourceMap], Person=[class examples.ejb.ej
b30.domain.Person], Book=[class examples.ejb.ejb30.domain.Book], ChmIssTypeMastBean=[class com.emirates.chm.apptier.persi
stence.ejb.ChmIssTypeMastBean], ChmFeedbackResponseMsgTransBean=[class com.emirates.chm.apptier.persistence.ejb.ChmFeedba
ckResponseMsgTransBean], ChmAddressMastBean=[class com.emirates.chm.apptier.persistence.ejb.ChmAddressMastBean], BEASAMLR
elyingParty=[class com.bea.common.security.store.data.BEASAMLRelyingParty], Review=[class examples.ejb.ejb30.domain.Revie
w], XACMLRoleAssignmentPolicy=[class com.bea.common.security.store.data.XACMLRoleAssignmentPolicy], Reviewer=[class examp
les.ejb.ejb30.domain.Reviewer], ChmPassportMastBean=[class com.emirates.chm.apptier.persistence.ejb.ChmPassportMastBean],
PKITypeScope=[class com.bea.common.security.store.data.PKITypeScope], XACMLTypeScope=[class com.bea.common.security.stor
e.data.XACMLTypeScope], EhOcBookingVwBean=[class com.emirates.chm.apptier.persistence.ejb.EhOcBookingVwBean], BEASAMLPart
ner=[class com.bea.common.security.store.data.BEASAMLPartner], ChmIssueMastBean=[class com.emirates.chm.apptier.persisten
ce.ejb.ChmIssueMastBean], UserPasswordCredential=[class com.bea.common.security.store.data.UserPasswordCredential], Partn
er=[class com.bea.common.security.store.data.Partner], EhOcBusinessPartnerVwBean=[class com.emirates.chm.apptier.persiste
nce.ejb.EhOcBusinessPartnerVwBean], XACMLEntry=[class com.bea.common.security.store.data.XACMLEntry], XACMLAuthorizationP
olicy=[class com.bea.common.security.store.data.XACMLAuthorizationPolicy], DomainRealmScope=[class com.bea.common.securit
y.store.data.DomainRealmScope], CredentialMap=[class com.bea.common.security.store.data.CredentialMap], EhOcBookingPaxVwB
ean=[class com.emirates.chm.apptier.persistence.ejb.EhOcBookingPaxVwBean], Item=[class examples.ejb.ejb30.domain.Item], A
rtist=[class examples.ejb.ejb30.domain.Artist], chmfeedbacktrans=null, EhOcAddressVwBean=[class com.emirates.chm.apptier.
persistence.ejb.EhOcAddressVwBean], BEASAMLAssertingParty=[class com.bea.common.security.store.data.BEASAMLAssertingParty
], ChmFeedBackTransBean=[class com.emirates.chm.apptier.persistence.ejb.ChmFeedBackTransBean], ChmFeedBackTrackerTransBea
n=[class com.emirates.chm.apptier.persistence.ejb.ChmFeedBackTrackerTransBean], PKIResourceMap=[class com.bea.common.secu
rity.store.data.PKIResourceMap], IdPPartner=[class com.bea.common.security.store.data.IdPPartner], ChmCompensationTransBe
an=[class com.emirates.chm.apptier.persistence.ejb.ChmCompensationTransBean], ChmPhoneNoMastBean=[class com.emirates.chm.
apptier.persistence.ejb.ChmPhoneNoMastBean], ChmFeedBackAttachmentTransBean=[class com.emirates.chm.apptier.persistence.e
jb.ChmFeedBackAttachmentTransBean], Credential=[class com.bea.common.security.store.data.Credential], ChmAuditedOutcomeMa
stBean=[class com.emirates.chm.apptier.persistence.ejb.ChmAuditedOutcomeMastBean], ChmBookingTransBean=[class com.emirate
s.chm.apptier.persistence.ejb.ChmBookingTransBean], ChmIssuesTransBean=[class com.emirates.chm.apptier.persistence.ejb.Ch
mIssuesTransBean], WLSPolicyCollectionInfo=[class com.bea.common.security.store.data.WLSPolicyCollectionInfo], ChmCustome
rMastBean=[class com.emirates.chm.apptier.persistence.ejb.ChmCustomerMastBean], WLSRoleCollectionInfo=[class com.bea.comm
on.security.store.data.WLSRoleCollectionInfo], Top=[class com.bea.common.security.store.data.Top], WLSCertRegEntry=[class
com.bea.common.security.store.data.WLSCertRegEntry], ChmNumberMastBean=[class com.emirates.chm.apptier.persistence.ejb.C
hmNumberMastBean], Endpoint=[class com.bea.common.security.store.data.Endpoint], SPPartner=[class com.bea.common.security
.store.data.SPPartner], PasswordCredentialMap=[class com.bea.common.security.store.data.PasswordCredentialMap], PasswordC
redential=[class com.bea.common.security.store.data.PasswordCredential], RegistryScope=[class com.bea.common.security.sto
re.data.RegistryScope]}"
at org.apache.openjpa.meta.MetaDataRepository.getMetaData(MetaDataRepository.java:345)
at org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.getClassMetaData(JPQLExpressionBuilder.java:164)
at org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.resolveClassMetaData(JPQLExpressionBuilder.java:142)
at org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.getCandidateMetaData(JPQLExpressionBuilder.java:211)
at org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.getCandidateMetaData(JPQLExpressionBuilder.java:181)
at org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.getCandidateType(JPQLExpressionBuilder.java:174)
at org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.access$500(JPQLExpressionBuilder.java:61)
at org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder$ParsedJPQL.populate(JPQLExpressionBuilder.java:1668)
at org.apache.openjpa.kernel.jpql.JPQLParser.populate(JPQLParser.java:52)
at org.apache.openjpa.kernel.ExpressionStoreQuery.populateFromCompilation(ExpressionStoreQuery.java:145)
at org.apache.openjpa.kernel.QueryImpl.newCompilation(QueryImpl.java:644)
at org.apache.openjpa.kernel.QueryImpl.compilationFromCache(QueryImpl.java:625)
at org.apache.openjpa.kernel.QueryImpl.compileForCompilation(QueryImpl.java:591)
at org.apache.openjpa.kernel.QueryImpl.compileForExecutor(QueryImpl.java:653)
at org.apache.openjpa.kernel.QueryImpl.getOperation(QueryImpl.java:1475)
at org.apache.openjpa.kernel.DelegatingQuery.getOperation(DelegatingQuery.java:120)
at org.apache.openjpa.persistence.QueryImpl.execute(QueryImpl.java:214)
at org.apache.openjpa.persistence.QueryImpl.getResultList(QueryImpl.java:264)
at kodo.persistence.KodoQueryImpl.getResultList(KodoQueryImpl.java:213)
at kodo.persistence.KodoQueryImpl.getResultList(KodoQueryImpl.java:213)
at com.emirates.chm.webtier.DashBoardBuilder.buildAllCityPieChart(DashBoardBuilder.java:111)
at com.emirates.chm.webtier.DashBoardBuilder.buildHomePageDashBoard(DashBoardBuilder.java:50)
at com.emirates.chm.webtier.HomePageBuilder.getDashBoard(HomePageBuilder.java:56)
at com.emirates.chm.webtier.HomePageBuilder.buildHomePage(HomePageBuilder.java:77)
at com.emirates.chm.webtier.HomePageCmd.execute(HomePageCmd.java:29)
at com.emirates.chm.webtier.ChmApplicationCtrlSvlt.process(ChmApplicationCtrlSvlt.java:79)
at com.emirates.chm.webtier.ChmApplicationCtrlSvlt.doPost(ChmApplicationCtrlSvlt.java:46)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
vcPieData.size() in buildAllCityPieChart() is : -->0
dashBoardObj.getPieDataObj1().getClass().getName() is : -->com.emirates.chm.commons.PieData
startDate is : -->Sat Mar 01 10:13:12 GST 2008
endDate is : -->Mon Mar 31 10:13:12 GST 2008
strCityName is : -->Dubai
1172 CHM WARN [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] openjpa.MetaData - Fou
nd duplicate query "ChmFeedBackTransBean.findAll" in "class com.emirates.chm.apptier.persistence.ejb.ChmFeedBackTransBean
". Ignoring.
Exception occured in buildIssuePieChart() in DashBoardBuilder.java.
<0|false|0.9.7> 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(JDBCStoreManager.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(LogicalUnion.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(SelectResultObjectProvider.java:91)
at org.apache.openjpa.lib.rop.EagerResultList.<init>(EagerResultList.java:31)
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:834)
at org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:765)
at kodo.kernel.KodoQuery.execute(KodoQuery.java:47)
at org.apache.openjpa.kernel.DelegatingQuery.execute(DelegatingQuery.java:520)
at org.apache.openjpa.persistence.QueryImpl.execute(QueryImpl.java:224)
at org.apache.openjpa.persistence.QueryImpl.getResultList(QueryImpl.java:264)
at kodo.persistence.KodoQueryImpl.getResultList(KodoQueryImpl.java:213)
at com.emirates.chm.webtier.DashBoardBuilder.buildIssuePieChart(DashBoardBuilder.java:196)
Caused by: java.sql.SQLException: User: EH_CHM, failed to be authenticated.
at weblogic.jdbc.common.internal.RmiDataSource.getSubject(RmiDataSource.java:304)
at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:240)
at org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:110)
at org.apache.openjpa.lib.jdbc.DecoratingDataSource.getConnection(DecoratingDataSource.java:90)
at org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:110)
at org.apache.openjpa.jdbc.schema.DataSourceFactory$DefaultsDataSource.getConnection(DataSourceFactory.java:261)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connectInternal(JDBCStoreManager.java:735)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connect(JDBCStoreManager.java:720)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.getConnection(JDBCStoreManager.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(LogicalUnion.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(SelectResultObjectProvider.java:91)
at org.apache.openjpa.lib.rop.EagerResultList.<init>(EagerResultList.java:31)
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:834)
at org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:765)
at kodo.kernel.KodoQuery.execute(KodoQuery.java:47)
at org.apache.openjpa.kernel.DelegatingQuery.execute(DelegatingQuery.java:520)
at org.apache.openjpa.persistence.QueryImpl.execute(QueryImpl.java:224)
at org.apache.openjpa.persistence.QueryImpl.getResultList(QueryImpl.java:264)
at kodo.persistence.KodoQueryImpl.getResultList(KodoQueryImpl.java:213)
at com.emirates.chm.webtier.DashBoardBuilder.buildIssuePieChart(DashBoardBuilder.java:196)
at com.emirates.chm.webtier.DashBoardBuilder.buildHomePageDashBoard(DashBoardBuilder.java:52)
at com.emirates.chm.webtier.HomePageBuilder.getDashBoard(HomePageBuilder.java:56)
at com.emirates.chm.webtier.HomePageBuilder.buildHomePage(HomePageBuilder.java:77)
at com.emirates.chm.webtier.HomePageCmd.execute(HomePageCmd.java:29)
dashBoardObj.getPieDataObj2().getClass().getName() is : -->com.emirates.chm.commons.PieData
startDate is : -->Sat Mar 01 10:13:12 GST 2008
endDate is : -->Mon Mar 31 10:13:12 GST 2008
strCityName is : -->Dubai
Exception occured in buildTreeGraph() in DashBoardBuilder.java.
<0|false|0.9.7> 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(JDBCStoreManager.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(LogicalUnion.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(SelectResultObjectProvider.java:91)
at org.apache.openjpa.kernel.QueryImpl$PackingResultObjectProvider.open(QueryImpl.java:1936)
at org.apache.openjpa.kernel.QueryImpl.singleResult(QueryImpl.java:1270)
at org.apache.openjpa.kernel.QueryImpl.toResult(QueryImpl.java:1206)
at org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:981)
at org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:834)
at org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:765)
at kodo.kernel.KodoQuery.execute(KodoQuery.java:47)
at org.apache.openjpa.kernel.DelegatingQuery.execute(DelegatingQuery.java:520)
at org.apache.openjpa.persistence.QueryImpl.execute(QueryImpl.java:224)
at org.apache.openjpa.persistence.QueryImpl.getResultList(QueryImpl.java:264)
at kodo.persistence.KodoQueryImpl.getResultList(KodoQueryImpl.java:213)
Caused by: java.sql.SQLException: User: EH_CHM, failed to be authenticated.
at weblogic.jdbc.common.internal.RmiDataSource.getSubject(RmiDataSource.java:304)
at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:240)
at org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:110)
at org.apache.openjpa.lib.jdbc.DecoratingDataSource.getConnection(DecoratingDataSource.java:90)
at org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:110)
at org.apache.openjpa.jdbc.schema.DataSourceFactory$DefaultsDataSource.getConnection(DataSourceFactory.java:261)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connectInternal(JDBCStoreManager.java:735)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connect(JDBCStoreManager.java:720)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.getConnection(JDBCStoreManager.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(LogicalUnion.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(SelectResultObjectProvider.java:91)
at org.apache.openjpa.kernel.QueryImpl$PackingResultObjectProvider.open(QueryImpl.java:1936)
at org.apache.openjpa.kernel.QueryImpl.singleResult(QueryImpl.java:1270)
at org.apache.openjpa.kernel.QueryImpl.toResult(QueryImpl.java:1206)
at org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:981)
at org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:834)
at org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:765)
at kodo.kernel.KodoQuery.execute(KodoQuery.java:47)
at org.apache.openjpa.kernel.DelegatingQuery.execute(DelegatingQuery.java:520)
at org.apache.openjpa.persistence.QueryImpl.execute(QueryImpl.java:224)
at org.apache.openjpa.persistence.QueryImpl.getResultList(QueryImpl.java:264)
at kodo.persistence.KodoQueryImpl.getResultList(KodoQueryImpl.java:213)
at com.emirates.chm.webtier.DashBoardBuilder.buildTreeGraph(DashBoardBuilder.java:228)
at com.emirates.chm.webtier.DashBoardBuilder.buildHomePageDashBoard(DashBoardBuilder.java:54)
at com.emirates.chm.webtier.HomePageBuilder.getDashBoard(HomePageBuilder.java:56)
at com.emirates.chm.webtier.HomePageBuilder.buildHomePage(HomePageBuilder.java:77)
dashBoardObj.getPaxGraphObj().getClass().getName() is : -->com.emirates.chm.commons.PaxGraph
homePageObj.getMyActionListObj().getClass().getName() in buildHomePage() in HomePageBuilder.java is : -->com.emirates.chm
.commons.MyActionList
Exception occured in execute() in HomePageCmd.java...
java.lang.NullPointerException
at com.emirates.chm.webtier.HomePageCmd.execute(HomePageCmd.java:30)
at com.emirates.chm.webtier.ChmApplicationCtrlSvlt.process(ChmApplicationCtrlSvlt.java:79)
at com.emirates.chm.webtier.ChmApplicationCtrlSvlt.doPost(ChmApplicationCtrlSvlt.java:46)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3370)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.AuthenticatedSubject;Lweblogic
.security.acl.internal.AuthenticatedSubject;Ljava.security.PrivilegedAction Ljava.lang.Object;(Unknown Source)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2117)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2023)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1359)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
returnObj.getClass().getName() is : -->com.emirates.chm.commons.ReturnObj
strPageId is : -->null
strRespMsg is : -->null
strRespPageName is : -->null
java.lang.NullPointerException
at com.emirates.chm.webtier.ViewHelper.requestDispatcher(ViewHelper.java:13)
at com.emirates.chm.webtier.ChmApplicationCtrlSvlt.process(ChmApplicationCtrlSvlt.java:99)
at com.emirates.chm.webtier.ChmApplicationCtrlSvlt.doPost(ChmApplicationCtrlSvlt.java:46)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3370)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.AuthenticatedSubject;Lweblogic
.security.acl.internal.AuthenticatedSubject;Ljava.security.PrivilegedAction Ljava.lang.Object;(Unknown Source)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2117)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2023)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1359)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
<30-Mar-2008 10:13:12 o'clock GST> <Error> <HTTP> <BEA-101017> <[weblogic.servlet.internal.WebAppServletContext@67afda -
appName: 'chm', name: '/ChmWeb', context-path: '/ChmWeb'] Root cause of ServletException.
java.lang.NullPointerException
at com.emirates.chm.webtier.ViewHelper.requestDispatcher(ViewHelper.java:13)
at com.emirates.chm.webtier.ChmApplicationCtrlSvlt.process(ChmApplicationCtrlSvlt.java:99)
at com.emirates.chm.webtier.ChmApplicationCtrlSvlt.doPost(ChmApplicationCtrlSvlt.java:46)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
Truncated. see log file for complete stacktrace

Someone kindly help.

Thanks in advance.

Regards,
Mallavalli.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic