openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "C N Davies" <...@cndavies.com>
Subject RE: EntityManager.find() working fine, but simple queries are failing with odd error
Date Fri, 18 Dec 2009 02:21:45 GMT
Not sure if this is your issue but I'd check the query that is being
generated just to be sure I is going to be ok. The other thing I notice is
that your method parameter "id" is a string and you are using it as I guess
an integer in your query,


    public Category getCategoryWithProducts(String id) {
        Category    result  = null;
	String sQuery = String.format("select c from
com.att.ecom.dynamiccontent.domain.Category c where id = '%s'", id);
System.out.println(String.format("Generated query is: %s", sQuery));
        Query   query   =
            entityManager.createQuery(sQuery);
        result  = (Category) query.getSingleResult();
                                
        return (result);
    }


-----Original Message-----
From: KARR, DAVID (ATTCINW) [mailto:dk068x@att.com] 
Sent: Friday, 18 December 2009 12:26 PM
To: users@openjpa.apache.org
Subject: EntityManager.find() working fine, but simple queries are failing
with odd error

I'm having no trouble with EntityManager.find() results, but when I try
to run a simple query, I'm getting the somewhat confusing stack traces
that follow this.  The initial traces just say it couldn't instantiate
"Catalog", but later ones say that there was a NPE deep in the OpenJPA
"kernel", in PCPath.initialize(), indicating that it couldn't find the
metadata for a variable.

The trivial method in my code with the query is the following:

    public Category getCategoryWithProducts(String id) {
        Category    result  = null;
        Query   query   =
            entityManager.createQuery("select c from
com.att.ecom.dynamiccontent.domain.Category c " +
                                      "where id = :id");
        query.setParameter("id", id);
        result  = (Category) query.getSingleResult();
                                
        return (result);
    }

The portion of the orm.xml is this:
------------------
    <entity name="Category"
class="com.att.ecom.dynamiccontent.domain.Category">
        <table name="DCS_CATEGORY"/>
        <attributes>
            <id name="id">
                <column name="CATEGORY_ID"/>
            </id>
            <basic name="displayName">
                <column name="DISPLAY_NAME"/>
            </basic>
            <basic name="creationDate">
                <column name="CREATION_DATE"/>
            </basic>
        </attributes>
    </entity>
-----------------

The domain class (minus getters/setters) is the following:
-----------------
@Entity
public class Category {
    @Id
    private String  id;
    @Basic
    private String  displayName;
    @Temporal(TemporalType.DATE)
    private Date    creationDate;
    @OneToMany(fetch = FetchType.EAGER)
    @OrderColumn(name = "SEQUENCE_NUM")
    @JoinTable(name = "DCS_CAT_CHLDCAT",
               joinColumns = @JoinColumn(name = "CATEGORY_ID",
referencedColumnName = "CATEGORY_ID"),
               inverseJoinColumns = @JoinColumn(name = "CHILD_CAT_ID",
referencedColumnName = "CATEGORY_ID"))
    private List<Category>   childCategories;
    
    @OneToMany
    @OrderColumn(name = "SEQUENCE_NUM")
    @JoinTable(name = "DCS_CAT_CHLDPRD",
               joinColumns = @JoinColumn(name = "CATEGORY_ID",
referencedColumnName = "CATEGORY_ID"),
               inverseJoinColumns = @JoinColumn(name = "CHILD_PRD_ID",
referencedColumnName = "PRODUCT_ID"))
    private List<Product>   childProducts;
}
-----------------

I tried to remove some pieces from this output that obviously weren't
relevant, but I couldn't be sure about removing much of it, so this is
pretty long, I'm afraid.

WARNING: Application has thrown exception, unwinding now
org.apache.cxf.interceptor.Fault: org.xml.sax.SAXException:
zip:C:/bea/user_projects/domains/dyncontent9001/servers/AdminServer/tmp/
_WL_user/DynamicContent/ajz8vm/war/WEB-INF/lib/_wl_cls_gen.jar!/com/att/
ecom/dynamiccontent/domain/orm.xml [Location: Line: 9, C: 79]: Type
"com.att.ecom.dynamiccontent.domain.Catalog" could not be instantiated.
[deleted]
Caused by: org.xml.sax.SAXException:
zip:C:/bea/user_projects/domains/dyncontent9001/servers/AdminServer/tmp/
_WL_user/DynamicContent/ajz8vm/war/WEB-INF/lib/_wl_cls_gen.jar!/com/att/
ecom/dynamiccontent/domain/orm.xml [Location: Line: 9, C: 79]: Type
"com.att.ecom.dynamiccontent.domain.Catalog" could not be instantiated.
	at
org.apache.openjpa.lib.meta.XMLMetaDataParser.getException(XMLMetaDataPa
rser.java:656)
	at
org.apache.openjpa.lib.meta.CFMetaDataParser.classForName(CFMetaDataPars
er.java:287)
	at
org.apache.openjpa.persistence.XMLPersistenceMetaDataParser.classForName
(XMLPersistenceMetaDataParser.java:1701)
	at
org.apache.openjpa.persistence.XMLPersistenceMetaDataParser.startClass(X
MLPersistenceMetaDataParser.java:730)
	at
org.apache.openjpa.lib.meta.CFMetaDataParser.startElement(CFMetaDataPars
er.java:108)
	at
org.apache.openjpa.lib.meta.XMLMetaDataParser.startElement(XMLMetaDataPa
rser.java:432)
	at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElemen
t(AbstractSAXParser.java:501)
	at
com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startEleme
nt(XMLSchemaValidator.java:688)
	at
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanSta
rtElement(XMLNSDocumentScannerImpl.java:400)
	at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$F
ragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2747)
	at
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLD
ocumentScannerImpl.java:648)
	at
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XM
LNSDocumentScannerImpl.java:140)
	at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.s
canDocument(XMLDocumentFragmentScannerImpl.java:510)
	at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML1
1Configuration.java:807)
	at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML1
1Configuration.java:737)
	at
com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.jav
a:107)
	at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Abstr
actSAXParser.java:1205)
	at
com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.pars
e(SAXParserImpl.java:522)
	at
weblogic.xml.jaxp.WebLogicXMLReader.parse(WebLogicXMLReader.java:133)
	at
weblogic.xml.jaxp.RegistryXMLReader.parse(RegistryXMLReader.java:173)
	at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
	at
org.apache.openjpa.lib.meta.XMLMetaDataParser.parseNewResource(XMLMetaDa
taParser.java:376)
	... 71 more
Dec 17, 2009 4:55:28 PM org.apache.cxf.phase.PhaseInterceptorChain
doIntercept
WARNING: Application has thrown exception, unwinding now
org.apache.cxf.interceptor.Fault: org.xml.sax.SAXException:
zip:C:/bea/user_projects/domains/dyncontent9001/servers/AdminServer/tmp/
_WL_user/DynamicContent/ajz8vm/war/WEB-INF/lib/_wl_cls_gen.jar!/com/att/
ecom/dynamiccontent/domain/orm.xml [Location: Line: 9, C: 79]: Type
"com.att.ecom.dynamiccontent.domain.Catalog" could not be instantiated.
	at
org.apache.cxf.service.invoker.AbstractInvoker.createFault(AbstractInvok
er.java:155)
	at
org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.ja
va:121)
	at
org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:130)
	at
org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:82)
	at
org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvoke
rInterceptor.java:58)
	at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
	at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at
org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor
.java:37)
	at
org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(Servi
ceInvokerInterceptor.java:106)
	at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorC
hain.java:236)
	at
org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiati
onObserver.java:109)
	at
org.apache.cxf.transport.servlet.ServletDestination.invoke(ServletDestin
ation.java:98)
	at
org.apache.cxf.transport.servlet.ServletController.invokeDestination(Ser
vletController.java:394)
	at
org.apache.cxf.transport.servlet.ServletController.invoke(ServletControl
ler.java:133)
	at
org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCXFSe
rvlet.java:142)
	at
org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(Abstr
actHTTPServlet.java:179)
	at
org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTPS
ervlet.java:108)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
	at
org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTT
PServlet.java:159)
	at
weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(St
ubSecurityHelper.java:227)
	at
weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityH
elper.java:125)
	at
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:2
92)
	at
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:1
75)
	at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.r
un(WebAppServletContext.java:3594)
	at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSu
bject.java:321)
	at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121
)
	at
weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServ
letContext.java:2202)
	at
weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletCont
ext.java:2108)
	at
weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java
:1432)
	at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
	at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused by: <openjpa-1.2.1-r752877:753278 nonfatal general error>
org.apache.openjpa.persistence.PersistenceException:
org.xml.sax.SAXException:
zip:C:/bea/user_projects/domains/dyncontent9001/servers/AdminServer/tmp/
_WL_user/DynamicContent/ajz8vm/war/WEB-INF/lib/_wl_cls_gen.jar!/com/att/
ecom/dynamiccontent/domain/orm.xml [Location: Line: 9, C: 79]: Type
"com.att.ecom.dynamiccontent.domain.Catalog" could not be instantiated.
	at
org.apache.openjpa.persistence.PersistenceMetaDataFactory.parseXML(Persi
stenceMetaDataFactory.java:249)
	at
org.apache.openjpa.persistence.PersistenceMetaDataFactory.load(Persisten
ceMetaDataFactory.java:198)
	at
org.apache.openjpa.meta.MetaDataRepository.getMetaDataInternal(MetaDataR
epository.java:474)
	at
org.apache.openjpa.meta.MetaDataRepository.getMetaData(MetaDataRepositor
y.java:294)
	at
org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.getClassMetaData(JP
QLExpressionBuilder.java:170)
	at
org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.resolveClassMetaDat
a(JPQLExpressionBuilder.java:139)
	at
org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.getCandidateMetaDat
a(JPQLExpressionBuilder.java:225)
	at
org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.getCandidateMetaDat
a(JPQLExpressionBuilder.java:195)
	at
org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.getCandidateType(JP
QLExpressionBuilder.java:188)
	at
org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.access$600(JPQLExpr
essionBuilder.java:69)
	at
org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder$ParsedJPQL.populate
(JPQLExpressionBuilder.java:1756)
	at
org.apache.openjpa.kernel.jpql.JPQLParser.populate(JPQLParser.java:56)
	at
org.apache.openjpa.kernel.ExpressionStoreQuery.populateFromCompilation(E
xpressionStoreQuery.java:153)
	at
org.apache.openjpa.kernel.QueryImpl.newCompilation(QueryImpl.java:658)
	at
org.apache.openjpa.kernel.QueryImpl.compilationFromCache(QueryImpl.java:
639)
	at
org.apache.openjpa.kernel.QueryImpl.compileForCompilation(QueryImpl.java
:605)
	at
org.apache.openjpa.kernel.QueryImpl.compileForExecutor(QueryImpl.java:66
7)
	at
org.apache.openjpa.kernel.QueryImpl.getOperation(QueryImpl.java:1492)
	at
org.apache.openjpa.kernel.DelegatingQuery.getOperation(DelegatingQuery.j
ava:123)
	at
org.apache.openjpa.persistence.QueryImpl.execute(QueryImpl.java:243)
	at
org.apache.openjpa.persistence.QueryImpl.getSingleResult(QueryImpl.java:
317)
	at
com.att.ecom.dynamiccontent.dao.CategoryDAOImpl.getCategoryWithProducts(
CategoryDAOImpl.java:32)
	at
com.att.ecom.dynamiccontent.service.CatalogService.getCategory(CatalogSe
rvice.java:34)
	at
com.att.ecom.dynamiccontent.service.CatalogService$$FastClassByCGLIB$$d6
1755f1.invoke(<generated>)
	at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
	at
org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.i
nvokeJoinpoint(Cglib2AopProxy.java:700)
	at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Ref
lectiveMethodInvocation.java:149)
	at
org.springframework.transaction.interceptor.TransactionInterceptor.invok
e(TransactionInterceptor.java:106)
	at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Ref
lectiveMethodInvocation.java:171)
	at
org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedIntercept
or.intercept(Cglib2AopProxy.java:635)
	at
com.att.ecom.dynamiccontent.service.CatalogService$$EnhancerByCGLIB$$51d
b48ec.getCategory(<generated>)
	at
com.att.ecom.dynamiccontent.content.Content.getCategory(Content.java:51)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at
org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(Abstrac
tInvoker.java:173)
	at
org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.ja
va:89)
	... 30 more
Caused by: java.io.IOException: org.xml.sax.SAXException:
zip:C:/bea/user_projects/domains/dyncontent9001/servers/AdminServer/tmp/
_WL_user/DynamicContent/ajz8vm/war/WEB-INF/lib/_wl_cls_gen.jar!/com/att/
ecom/dynamiccontent/domain/orm.xml [Location: Line: 9, C: 79]: Type
"com.att.ecom.dynamiccontent.domain.Catalog" could not be instantiated.
	at
org.apache.openjpa.lib.meta.XMLMetaDataParser.parseNewResource(XMLMetaDa
taParser.java:379)
	at
org.apache.openjpa.lib.meta.XMLMetaDataParser.parse(XMLMetaDataParser.ja
va:318)
	at
org.apache.openjpa.lib.meta.XMLMetaDataParser.parse(XMLMetaDataParser.ja
va:295)
	at
org.apache.openjpa.lib.meta.XMLMetaDataParser.parse(XMLMetaDataParser.ja
va:268)
	at
org.apache.openjpa.persistence.PersistenceMetaDataFactory.parseXML(Persi
stenceMetaDataFactory.java:247)
	... 67 more
Caused by: org.xml.sax.SAXException:
zip:C:/bea/user_projects/domains/dyncontent9001/servers/AdminServer/tmp/
_WL_user/DynamicContent/ajz8vm/war/WEB-INF/lib/_wl_cls_gen.jar!/com/att/
ecom/dynamiccontent/domain/orm.xml [Location: Line: 9, C: 79]: Type
"com.att.ecom.dynamiccontent.domain.Catalog" could not be instantiated.
	at
org.apache.openjpa.lib.meta.XMLMetaDataParser.getException(XMLMetaDataPa
rser.java:656)
	at
org.apache.openjpa.lib.meta.CFMetaDataParser.classForName(CFMetaDataPars
er.java:287)
	at
org.apache.openjpa.persistence.XMLPersistenceMetaDataParser.classForName
(XMLPersistenceMetaDataParser.java:1701)
	at
org.apache.openjpa.persistence.XMLPersistenceMetaDataParser.startClass(X
MLPersistenceMetaDataParser.java:730)
	at
org.apache.openjpa.lib.meta.CFMetaDataParser.startElement(CFMetaDataPars
er.java:108)
	at
org.apache.openjpa.lib.meta.XMLMetaDataParser.startElement(XMLMetaDataPa
rser.java:432)
	at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElemen
t(AbstractSAXParser.java:501)
	at
com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startEleme
nt(XMLSchemaValidator.java:688)
	at
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanSta
rtElement(XMLNSDocumentScannerImpl.java:400)
	at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$F
ragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2747)
	at
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLD
ocumentScannerImpl.java:648)
	at
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XM
LNSDocumentScannerImpl.java:140)
	at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.s
canDocument(XMLDocumentFragmentScannerImpl.java:510)
	at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML1
1Configuration.java:807)
	at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML1
1Configuration.java:737)
	at
com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.jav
a:107)
	at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Abstr
actSAXParser.java:1205)
	at
com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.pars
e(SAXParserImpl.java:522)
	at
weblogic.xml.jaxp.WebLogicXMLReader.parse(WebLogicXMLReader.java:133)
	at
weblogic.xml.jaxp.RegistryXMLReader.parse(RegistryXMLReader.java:173)
	at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
	at
org.apache.openjpa.lib.meta.XMLMetaDataParser.parseNewResource(XMLMetaDa
taParser.java:376)
	... 71 more
Dec 17, 2009 4:55:28 PM org.apache.cxf.phase.PhaseInterceptorChain
unwind
WARNING: Exception in handleFault on interceptor
org.apache.cxf.binding.xml.interceptor.XMLFaultOutInterceptor@587918
org.apache.cxf.interceptor.Fault: org.xml.sax.SAXException:
zip:C:/bea/user_projects/domains/dyncontent9001/servers/AdminServer/tmp/
_WL_user/DynamicContent/ajz8vm/war/WEB-INF/lib/_wl_cls_gen.jar!/com/att/
ecom/dynamiccontent/domain/orm.xml [Location: Line: 9, C: 79]: Type
"com.att.ecom.dynamiccontent.domain.Catalog" could not be instantiated.
	at
org.apache.cxf.service.invoker.AbstractInvoker.createFault(AbstractInvok
er.java:155)
	at
org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.ja
va:121)
	at
org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:130)
	at
org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:82)
	at
org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvoke
rInterceptor.java:58)
	at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
	at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at
org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor
.java:37)
	at
org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(Servi
ceInvokerInterceptor.java:106)
	at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorC
hain.java:236)
	at
org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiati
onObserver.java:109)
	at
org.apache.cxf.transport.servlet.ServletDestination.invoke(ServletDestin
ation.java:98)
	at
org.apache.cxf.transport.servlet.ServletController.invokeDestination(Ser
vletController.java:394)
	at
org.apache.cxf.transport.servlet.ServletController.invoke(ServletControl
ler.java:133)
	at
org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCXFSe
rvlet.java:142)
	at
org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(Abstr
actHTTPServlet.java:179)
	at
org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTPS
ervlet.java:108)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
	at
org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTT
PServlet.java:159)
	at
weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(St
ubSecurityHelper.java:227)
	at
weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityH
elper.java:125)
	at
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:2
92)
	at
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:1
75)
	at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.r
un(WebAppServletContext.java:3594)
	at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSu
bject.java:321)
	at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121
)
	at
weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServ
letContext.java:2202)
	at
weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletCont
ext.java:2108)
	at
weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java
:1432)
	at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
	at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused by: <openjpa-1.2.1-r752877:753278 nonfatal general error>
org.apache.openjpa.persistence.PersistenceException:
org.xml.sax.SAXException:
zip:C:/bea/user_projects/domains/dyncontent9001/servers/AdminServer/tmp/
_WL_user/DynamicContent/ajz8vm/war/WEB-INF/lib/_wl_cls_gen.jar!/com/att/
ecom/dynamiccontent/domain/orm.xml [Location: Line: 9, C: 79]: Type
"com.att.ecom.dynamiccontent.domain.Catalog" could not be instantiated.
	at
org.apache.openjpa.persistence.PersistenceMetaDataFactory.parseXML(Persi
stenceMetaDataFactory.java:249)
	at
org.apache.openjpa.persistence.PersistenceMetaDataFactory.load(Persisten
ceMetaDataFactory.java:198)
	at
org.apache.openjpa.meta.MetaDataRepository.getMetaDataInternal(MetaDataR
epository.java:474)
	at
org.apache.openjpa.meta.MetaDataRepository.getMetaData(MetaDataRepositor
y.java:294)
	at
org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.getClassMetaData(JP
QLExpressionBuilder.java:170)
	at
org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.resolveClassMetaDat
a(JPQLExpressionBuilder.java:139)
	at
org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.getCandidateMetaDat
a(JPQLExpressionBuilder.java:225)
	at
org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.getCandidateMetaDat
a(JPQLExpressionBuilder.java:195)
	at
org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.getCandidateType(JP
QLExpressionBuilder.java:188)
	at
org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.access$600(JPQLExpr
essionBuilder.java:69)
	at
org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder$ParsedJPQL.populate
(JPQLExpressionBuilder.java:1756)
	at
org.apache.openjpa.kernel.jpql.JPQLParser.populate(JPQLParser.java:56)
	at
org.apache.openjpa.kernel.ExpressionStoreQuery.populateFromCompilation(E
xpressionStoreQuery.java:153)
	at
org.apache.openjpa.kernel.QueryImpl.newCompilation(QueryImpl.java:658)
	at
org.apache.openjpa.kernel.QueryImpl.compilationFromCache(QueryImpl.java:
639)
	at
org.apache.openjpa.kernel.QueryImpl.compileForCompilation(QueryImpl.java
:605)
	at
org.apache.openjpa.kernel.QueryImpl.compileForExecutor(QueryImpl.java:66
7)
	at
org.apache.openjpa.kernel.QueryImpl.getOperation(QueryImpl.java:1492)
	at
org.apache.openjpa.kernel.DelegatingQuery.getOperation(DelegatingQuery.j
ava:123)
	at
org.apache.openjpa.persistence.QueryImpl.execute(QueryImpl.java:243)
	at
org.apache.openjpa.persistence.QueryImpl.getSingleResult(QueryImpl.java:
317)
	at
com.att.ecom.dynamiccontent.dao.CategoryDAOImpl.getCategoryWithProducts(
CategoryDAOImpl.java:32)
	at
com.att.ecom.dynamiccontent.service.CatalogService.getCategory(CatalogSe
rvice.java:34)
	at
com.att.ecom.dynamiccontent.service.CatalogService$$FastClassByCGLIB$$d6
1755f1.invoke(<generated>)
	at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
	at
org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.i
nvokeJoinpoint(Cglib2AopProxy.java:700)
	at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Ref
lectiveMethodInvocation.java:149)
	at
org.springframework.transaction.interceptor.TransactionInterceptor.invok
e(TransactionInterceptor.java:106)
	at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Ref
lectiveMethodInvocation.java:171)
	at
org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedIntercept
or.intercept(Cglib2AopProxy.java:635)
	at
com.att.ecom.dynamiccontent.service.CatalogService$$EnhancerByCGLIB$$51d
b48ec.getCategory(<generated>)
	at
com.att.ecom.dynamiccontent.content.Content.getCategory(Content.java:51)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at
org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(Abstrac
tInvoker.java:173)
	at
org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.ja
va:89)
	... 30 more
Caused by: java.io.IOException: org.xml.sax.SAXException:
zip:C:/bea/user_projects/domains/dyncontent9001/servers/AdminServer/tmp/
_WL_user/DynamicContent/ajz8vm/war/WEB-INF/lib/_wl_cls_gen.jar!/com/att/
ecom/dynamiccontent/domain/orm.xml [Location: Line: 9, C: 79]: Type
"com.att.ecom.dynamiccontent.domain.Catalog" could not be instantiated.
	at
org.apache.openjpa.lib.meta.XMLMetaDataParser.parseNewResource(XMLMetaDa
taParser.java:379)
	at
org.apache.openjpa.lib.meta.XMLMetaDataParser.parse(XMLMetaDataParser.ja
va:318)
	at
org.apache.openjpa.lib.meta.XMLMetaDataParser.parse(XMLMetaDataParser.ja
va:295)
	at
org.apache.openjpa.lib.meta.XMLMetaDataParser.parse(XMLMetaDataParser.ja
va:268)
	at
org.apache.openjpa.persistence.PersistenceMetaDataFactory.parseXML(Persi
stenceMetaDataFactory.java:247)
	... 67 more
Caused by: org.xml.sax.SAXException:
zip:C:/bea/user_projects/domains/dyncontent9001/servers/AdminServer/tmp/
_WL_user/DynamicContent/ajz8vm/war/WEB-INF/lib/_wl_cls_gen.jar!/com/att/
ecom/dynamiccontent/domain/orm.xml [Location: Line: 9, C: 79]: Type
"com.att.ecom.dynamiccontent.domain.Catalog" could not be instantiated.
	at
org.apache.openjpa.lib.meta.XMLMetaDataParser.getException(XMLMetaDataPa
rser.java:656)
	at
org.apache.openjpa.lib.meta.CFMetaDataParser.classForName(CFMetaDataPars
er.java:287)
	at
org.apache.openjpa.persistence.XMLPersistenceMetaDataParser.classForName
(XMLPersistenceMetaDataParser.java:1701)
	at
org.apache.openjpa.persistence.XMLPersistenceMetaDataParser.startClass(X
MLPersistenceMetaDataParser.java:730)
	at
org.apache.openjpa.lib.meta.CFMetaDataParser.startElement(CFMetaDataPars
er.java:108)
	at
org.apache.openjpa.lib.meta.XMLMetaDataParser.startElement(XMLMetaDataPa
rser.java:432)
	at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElemen
t(AbstractSAXParser.java:501)
	at
com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startEleme
nt(XMLSchemaValidator.java:688)
	at
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanSta
rtElement(XMLNSDocumentScannerImpl.java:400)
	at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$F
ragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2747)
	at
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLD
ocumentScannerImpl.java:648)
	at
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XM
LNSDocumentScannerImpl.java:140)
	at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.s
canDocument(XMLDocumentFragmentScannerImpl.java:510)
	at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML1
1Configuration.java:807)
	at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML1
1Configuration.java:737)
	at
com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.jav
a:107)
	at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Abstr
actSAXParser.java:1205)
	at
com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.pars
e(SAXParserImpl.java:522)
	at
weblogic.xml.jaxp.WebLogicXMLReader.parse(WebLogicXMLReader.java:133)
	at
weblogic.xml.jaxp.RegistryXMLReader.parse(RegistryXMLReader.java:173)
	at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
	at
org.apache.openjpa.lib.meta.XMLMetaDataParser.parseNewResource(XMLMetaDa
taParser.java:376)
	... 71 more
Dec 17, 2009 4:55:28 PM
org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver onMessage
SEVERE: Error occurred during error handling, give up!
org.apache.cxf.interceptor.Fault: org.xml.sax.SAXException:
zip:C:/bea/user_projects/domains/dyncontent9001/servers/AdminServer/tmp/
_WL_user/DynamicContent/ajz8vm/war/WEB-INF/lib/_wl_cls_gen.jar!/com/att/
ecom/dynamiccontent/domain/orm.xml [Location: Line: 9, C: 79]: Type
"com.att.ecom.dynamiccontent.domain.Catalog" could not be instantiated.
	at
org.apache.cxf.service.invoker.AbstractInvoker.createFault(AbstractInvok
er.java:155)
	at
org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.ja
va:121)
	at
org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:130)
	at
org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:82)
	at
org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvoke
rInterceptor.java:58)
	at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
	at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at
org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor
.java:37)
	at
org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(Servi
ceInvokerInterceptor.java:106)
	at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorC
hain.java:236)
	at
org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiati
onObserver.java:109)
	at
org.apache.cxf.transport.servlet.ServletDestination.invoke(ServletDestin
ation.java:98)
	at
org.apache.cxf.transport.servlet.ServletController.invokeDestination(Ser
vletController.java:394)
	at
org.apache.cxf.transport.servlet.ServletController.invoke(ServletControl
ler.java:133)
	at
org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCXFSe
rvlet.java:142)
	at
org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(Abstr
actHTTPServlet.java:179)
	at
org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTPS
ervlet.java:108)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
	at
org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTT
PServlet.java:159)
	at
weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(St
ubSecurityHelper.java:227)
	at
weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityH
elper.java:125)
	at
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:2
92)
	at
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:1
75)
	at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.r
un(WebAppServletContext.java:3594)
	at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSu
bject.java:321)
	at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121
)
	at
weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServ
letContext.java:2202)
	at
weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletCont
ext.java:2108)
	at
weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java
:1432)
	at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
	at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused by: <openjpa-1.2.1-r752877:753278 nonfatal general error>
org.apache.openjpa.persistence.PersistenceException:
org.xml.sax.SAXException:
zip:C:/bea/user_projects/domains/dyncontent9001/servers/AdminServer/tmp/
_WL_user/DynamicContent/ajz8vm/war/WEB-INF/lib/_wl_cls_gen.jar!/com/att/
ecom/dynamiccontent/domain/orm.xml [Location: Line: 9, C: 79]: Type
"com.att.ecom.dynamiccontent.domain.Catalog" could not be instantiated.
	at
org.apache.openjpa.persistence.PersistenceMetaDataFactory.parseXML(Persi
stenceMetaDataFactory.java:249)
	at
org.apache.openjpa.persistence.PersistenceMetaDataFactory.load(Persisten
ceMetaDataFactory.java:198)
	at
org.apache.openjpa.meta.MetaDataRepository.getMetaDataInternal(MetaDataR
epository.java:474)
	at
org.apache.openjpa.meta.MetaDataRepository.getMetaData(MetaDataRepositor
y.java:294)
	at
org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.getClassMetaData(JP
QLExpressionBuilder.java:170)
	at
org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.resolveClassMetaDat
a(JPQLExpressionBuilder.java:139)
	at
org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.getCandidateMetaDat
a(JPQLExpressionBuilder.java:225)
	at
org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.getCandidateMetaDat
a(JPQLExpressionBuilder.java:195)
	at
org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.getCandidateType(JP
QLExpressionBuilder.java:188)
	at
org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.access$600(JPQLExpr
essionBuilder.java:69)
	at
org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder$ParsedJPQL.populate
(JPQLExpressionBuilder.java:1756)
	at
org.apache.openjpa.kernel.jpql.JPQLParser.populate(JPQLParser.java:56)
	at
org.apache.openjpa.kernel.ExpressionStoreQuery.populateFromCompilation(E
xpressionStoreQuery.java:153)
	at
org.apache.openjpa.kernel.QueryImpl.newCompilation(QueryImpl.java:658)
	at
org.apache.openjpa.kernel.QueryImpl.compilationFromCache(QueryImpl.java:
639)
	at
org.apache.openjpa.kernel.QueryImpl.compileForCompilation(QueryImpl.java
:605)
	at
org.apache.openjpa.kernel.QueryImpl.compileForExecutor(QueryImpl.java:66
7)
	at
org.apache.openjpa.kernel.QueryImpl.getOperation(QueryImpl.java:1492)
	at
org.apache.openjpa.kernel.DelegatingQuery.getOperation(DelegatingQuery.j
ava:123)
	at
org.apache.openjpa.persistence.QueryImpl.execute(QueryImpl.java:243)
	at
org.apache.openjpa.persistence.QueryImpl.getSingleResult(QueryImpl.java:
317)
	at
com.att.ecom.dynamiccontent.dao.CategoryDAOImpl.getCategoryWithProducts(
CategoryDAOImpl.java:32)
	at
com.att.ecom.dynamiccontent.service.CatalogService.getCategory(CatalogSe
rvice.java:34)
	at
com.att.ecom.dynamiccontent.service.CatalogService$$FastClassByCGLIB$$d6
1755f1.invoke(<generated>)
	at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
	at
org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.i
nvokeJoinpoint(Cglib2AopProxy.java:700)
	at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Ref
lectiveMethodInvocation.java:149)
	at
org.springframework.transaction.interceptor.TransactionInterceptor.invok
e(TransactionInterceptor.java:106)
	at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Ref
lectiveMethodInvocation.java:171)
	at
org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedIntercept
or.intercept(Cglib2AopProxy.java:635)
	at
com.att.ecom.dynamiccontent.service.CatalogService$$EnhancerByCGLIB$$51d
b48ec.getCategory(<generated>)
	at
com.att.ecom.dynamiccontent.content.Content.getCategory(Content.java:51)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at
org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(Abstrac
tInvoker.java:173)
	at
org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.ja
va:89)
	... 30 more
Caused by: java.io.IOException: org.xml.sax.SAXException:
zip:C:/bea/user_projects/domains/dyncontent9001/servers/AdminServer/tmp/
_WL_user/DynamicContent/ajz8vm/war/WEB-INF/lib/_wl_cls_gen.jar!/com/att/
ecom/dynamiccontent/domain/orm.xml [Location: Line: 9, C: 79]: Type
"com.att.ecom.dynamiccontent.domain.Catalog" could not be instantiated.
	at
org.apache.openjpa.lib.meta.XMLMetaDataParser.parseNewResource(XMLMetaDa
taParser.java:379)
	at
org.apache.openjpa.lib.meta.XMLMetaDataParser.parse(XMLMetaDataParser.ja
va:318)
	at
org.apache.openjpa.lib.meta.XMLMetaDataParser.parse(XMLMetaDataParser.ja
va:295)
	at
org.apache.openjpa.lib.meta.XMLMetaDataParser.parse(XMLMetaDataParser.ja
va:268)
	at
org.apache.openjpa.persistence.PersistenceMetaDataFactory.parseXML(Persi
stenceMetaDataFactory.java:247)
	... 67 more
Caused by: org.xml.sax.SAXException:
zip:C:/bea/user_projects/domains/dyncontent9001/servers/AdminServer/tmp/
_WL_user/DynamicContent/ajz8vm/war/WEB-INF/lib/_wl_cls_gen.jar!/com/att/
ecom/dynamiccontent/domain/orm.xml [Location: Line: 9, C: 79]: Type
"com.att.ecom.dynamiccontent.domain.Catalog" could not be instantiated.
	at
org.apache.openjpa.lib.meta.XMLMetaDataParser.getException(XMLMetaDataPa
rser.java:656)
	at
org.apache.openjpa.lib.meta.CFMetaDataParser.classForName(CFMetaDataPars
er.java:287)
	at
org.apache.openjpa.persistence.XMLPersistenceMetaDataParser.classForName
(XMLPersistenceMetaDataParser.java:1701)
	at
org.apache.openjpa.persistence.XMLPersistenceMetaDataParser.startClass(X
MLPersistenceMetaDataParser.java:730)
	at
org.apache.openjpa.lib.meta.CFMetaDataParser.startElement(CFMetaDataPars
er.java:108)
	at
org.apache.openjpa.lib.meta.XMLMetaDataParser.startElement(XMLMetaDataPa
rser.java:432)
	at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElemen
t(AbstractSAXParser.java:501)
	at
com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startEleme
nt(XMLSchemaValidator.java:688)
	at
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanSta
rtElement(XMLNSDocumentScannerImpl.java:400)
	at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$F
ragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2747)
	at
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLD
ocumentScannerImpl.java:648)
	at
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XM
LNSDocumentScannerImpl.java:140)
	at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.s
canDocument(XMLDocumentFragmentScannerImpl.java:510)
	at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML1
1Configuration.java:807)
	at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML1
1Configuration.java:737)
	at
com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.jav
a:107)
	at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Abstr
actSAXParser.java:1205)
	at
com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.pars
e(SAXParserImpl.java:522)
	at
weblogic.xml.jaxp.WebLogicXMLReader.parse(WebLogicXMLReader.java:133)
	at
weblogic.xml.jaxp.RegistryXMLReader.parse(RegistryXMLReader.java:173)
	at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
	at
org.apache.openjpa.lib.meta.XMLMetaDataParser.parseNewResource(XMLMetaDa
taParser.java:376)
	... 71 more
<Dec 17, 2009 4:55:28 PM PST> <Error> <HTTP> <BEA-101020>
<[ServletContext@17555298[app:DynamicContent module:DynamicContent
path:/DynamicContent spec-version:2.5]] Servlet failed with Exception
java.lang.RuntimeException: org.apache.cxf.interceptor.Fault:
org.xml.sax.SAXException:
zip:C:/bea/user_projects/domains/dyncontent9001/servers/AdminServer/tmp/
_WL_user/DynamicContent/ajz8vm/war/WEB-INF/lib/_wl_cls_gen.jar!/com/att/
ecom/dynamiccontent/domain/orm.xml [Location: Line: 9, C: 79]: Type
"com.att.ecom.dynamiccontent.domain.Catalog" could not be instantiated.
	at
org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessage
(AbstractFaultChainInitiatorObserver.java:99)
	at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorC
hain.java:284)
	at
org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiati
onObserver.java:109)
	at
org.apache.cxf.transport.servlet.ServletDestination.invoke(ServletDestin
ation.java:98)
	at
org.apache.cxf.transport.servlet.ServletController.invokeDestination(Ser
vletController.java:394)
	Truncated. see log file for complete stacktrace

Caused By: org.apache.cxf.interceptor.Fault: org.xml.sax.SAXException:
zip:C:/bea/user_projects/domains/dyncontent9001/servers/AdminServer/tmp/
_WL_user/DynamicContent/ajz8vm/war/WEB-INF/lib/_wl_cls_gen.jar!/com/att/
ecom/dynamiccontent/domain/orm.xml [Location: Line: 9, C: 79]: Type
"com.att.ecom.dynamiccontent.domain.Catalog" could not be instantiated.
	at
org.apache.cxf.service.invoker.AbstractInvoker.createFault(AbstractInvok
er.java:155)
	at
org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.ja
va:121)
	at
org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:130)
	at
org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:82)
	at
org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvoke
rInterceptor.java:58)
	Truncated. see log file for complete stacktrace

Caused By: <openjpa-1.2.1-r752877:753278 nonfatal general error>
org.apache.openjpa.persistence.PersistenceException:
org.xml.sax.SAXException:
zip:C:/bea/user_projects/domains/dyncontent9001/servers/AdminServer/tmp/
_WL_user/DynamicContent/ajz8vm/war/WEB-INF/lib/_wl_cls_gen.jar!/com/att/
ecom/dynamiccontent/domain/orm.xml [Location: Line: 9, C: 79]: Type
"com.att.ecom.dynamiccontent.domain.Catalog" could not be instantiated.
	at
org.apache.openjpa.persistence.PersistenceMetaDataFactory.parseXML(Persi
stenceMetaDataFactory.java:249)
	at
org.apache.openjpa.persistence.PersistenceMetaDataFactory.load(Persisten
ceMetaDataFactory.java:198)
	at
org.apache.openjpa.meta.MetaDataRepository.getMetaDataInternal(MetaDataR
epository.java:474)
	at
org.apache.openjpa.meta.MetaDataRepository.getMetaData(MetaDataRepositor
y.java:294)
	at
org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.getClassMetaData(JP
QLExpressionBuilder.java:170)
	Truncated. see log file for complete stacktrace

Caused By: java.io.IOException: org.xml.sax.SAXException:
zip:C:/bea/user_projects/domains/dyncontent9001/servers/AdminServer/tmp/
_WL_user/DynamicContent/ajz8vm/war/WEB-INF/lib/_wl_cls_gen.jar!/com/att/
ecom/dynamiccontent/domain/orm.xml [Location: Line: 9, C: 79]: Type
"com.att.ecom.dynamiccontent.domain.Catalog" could not be instantiated.
	at
org.apache.openjpa.lib.meta.XMLMetaDataParser.parseNewResource(XMLMetaDa
taParser.java:379)
	at
org.apache.openjpa.lib.meta.XMLMetaDataParser.parse(XMLMetaDataParser.ja
va:318)
	at
org.apache.openjpa.lib.meta.XMLMetaDataParser.parse(XMLMetaDataParser.ja
va:295)
	at
org.apache.openjpa.lib.meta.XMLMetaDataParser.parse(XMLMetaDataParser.ja
va:268)
	at
org.apache.openjpa.persistence.PersistenceMetaDataFactory.parseXML(Persi
stenceMetaDataFactory.java:247)
	Truncated. see log file for complete stacktrace

Caused By: org.xml.sax.SAXException:
zip:C:/bea/user_projects/domains/dyncontent9001/servers/AdminServer/tmp/
_WL_user/DynamicContent/ajz8vm/war/WEB-INF/lib/_wl_cls_gen.jar!/com/att/
ecom/dynamiccontent/domain/orm.xml [Location: Line: 9, C: 79]: Type
"com.att.ecom.dynamiccontent.domain.Catalog" could not be instantiated.
	at
org.apache.openjpa.lib.meta.XMLMetaDataParser.getException(XMLMetaDataPa
rser.java:656)
	at
org.apache.openjpa.lib.meta.CFMetaDataParser.classForName(CFMetaDataPars
er.java:287)
	at
org.apache.openjpa.persistence.XMLPersistenceMetaDataParser.classForName
(XMLPersistenceMetaDataParser.java:1701)
	at
org.apache.openjpa.persistence.XMLPersistenceMetaDataParser.startClass(X
MLPersistenceMetaDataParser.java:730)
	at
org.apache.openjpa.lib.meta.CFMetaDataParser.startElement(CFMetaDataPars
er.java:108)
	Truncated. see log file for complete stacktrace
> 
Dec 17, 2009 4:56:10 PM org.apache.cxf.interceptor.LoggingInInterceptor
logging
INFO: Inbound Message
----------------------------
ID: 2
Address: /DynamicContent/rest/content/category/cat2060040
Encoding: 
Content-Type: 
Headers: {Host=[localhost:9001], User-Agent=[Jakarta
Commons-HttpClient/3.1], accept-encoding=[gzip,deflate],
Content-Type=[null]}
Payload: 
--------------------------------------
Dec 17, 2009 4:56:40 PM org.apache.cxf.phase.PhaseInterceptorChain
doIntercept
WARNING: Application has thrown exception, unwinding now
org.apache.cxf.interceptor.Fault
	at
org.apache.cxf.service.invoker.AbstractInvoker.createFault(AbstractInvok
er.java:155)
	at
org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.ja
va:121)
	at
org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:130)
	at
org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:82)
	at
org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvoke
rInterceptor.java:58)
	at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
	at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at
org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor
.java:37)
	at
org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(Servi
ceInvokerInterceptor.java:106)
	at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorC
hain.java:236)
	at
org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiati
onObserver.java:109)
	at
org.apache.cxf.transport.servlet.ServletDestination.invoke(ServletDestin
ation.java:98)
	at
org.apache.cxf.transport.servlet.ServletController.invokeDestination(Ser
vletController.java:394)
	at
org.apache.cxf.transport.servlet.ServletController.invoke(ServletControl
ler.java:133)
	at
org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCXFSe
rvlet.java:142)
	at
org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(Abstr
actHTTPServlet.java:179)
	at
org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTPS
ervlet.java:108)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
	at
org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTT
PServlet.java:159)
	at
weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(St
ubSecurityHelper.java:227)
	at
weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityH
elper.java:125)
	at
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:2
92)
	at
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:1
75)
	at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.r
un(WebAppServletContext.java:3594)
	at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSu
bject.java:321)
	at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121
)
	at
weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServ
letContext.java:2202)
	at
weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletCont
ext.java:2108)
	at
weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java
:1432)
	at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
	at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused by: <openjpa-1.2.1-r752877:753278 nonfatal user error>
org.apache.openjpa.persistence.ArgumentException: null
	at
org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:857)
	at
org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:779)
	at
org.apache.openjpa.kernel.DelegatingQuery.execute(DelegatingQuery.java:5
25)
	at
org.apache.openjpa.persistence.QueryImpl.execute(QueryImpl.java:254)
	at
org.apache.openjpa.persistence.QueryImpl.getSingleResult(QueryImpl.java:
317)
	at
com.att.ecom.dynamiccontent.dao.CategoryDAOImpl.getCategoryWithProducts(
CategoryDAOImpl.java:32)
	at
com.att.ecom.dynamiccontent.service.CatalogService.getCategory(CatalogSe
rvice.java:34)
	at
com.att.ecom.dynamiccontent.service.CatalogService$$FastClassByCGLIB$$d6
1755f1.invoke(<generated>)
	at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
	at
org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.i
nvokeJoinpoint(Cglib2AopProxy.java:700)
	at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Ref
lectiveMethodInvocation.java:149)
	at
org.springframework.transaction.interceptor.TransactionInterceptor.invok
e(TransactionInterceptor.java:106)
	at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Ref
lectiveMethodInvocation.java:171)
	at
org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedIntercept
or.intercept(Cglib2AopProxy.java:635)
	at
com.att.ecom.dynamiccontent.service.CatalogService$$EnhancerByCGLIB$$51d
b48ec.getCategory(<generated>)
	at
com.att.ecom.dynamiccontent.content.Content.getCategory(Content.java:51)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at
org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(Abstrac
tInvoker.java:173)
	at
org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.ja
va:89)
	... 30 more
Caused by: java.lang.NullPointerException
	at
org.apache.openjpa.jdbc.kernel.exps.PCPath.initialize(PCPath.java:446)
	at
org.apache.openjpa.jdbc.kernel.exps.CompareEqualExpression.initialize(Co
mpareEqualExpression.java:78)
	at
org.apache.openjpa.jdbc.kernel.exps.SelectConstructor.initialize(SelectC
onstructor.java:180)
	at
org.apache.openjpa.jdbc.kernel.exps.SelectConstructor.newSelect(SelectCo
nstructor.java:121)
	at
org.apache.openjpa.jdbc.kernel.exps.SelectConstructor.evaluate(SelectCon
structor.java:75)
	at
org.apache.openjpa.jdbc.kernel.JDBCStoreQuery.createWhereSelects(JDBCSto
reQuery.java:339)
	at
org.apache.openjpa.jdbc.kernel.JDBCStoreQuery.executeQuery(JDBCStoreQuer
y.java:179)
	at
org.apache.openjpa.kernel.ExpressionStoreQuery$DataStoreExecutor.execute
Query(ExpressionStoreQuery.java:681)
	at
org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:988)
	at
org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:848)
	... 51 more
Dec 17, 2009 4:56:40 PM org.apache.cxf.phase.PhaseInterceptorChain
doIntercept
WARNING: Application has thrown exception, unwinding now
org.apache.cxf.interceptor.Fault
	at
org.apache.cxf.service.invoker.AbstractInvoker.createFault(AbstractInvok
er.java:155)
	at
org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.ja
va:121)
	at
org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:130)
	at
org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:82)
	at
org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvoke
rInterceptor.java:58)
	at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
	at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at
org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor
.java:37)
	at
org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(Servi
ceInvokerInterceptor.java:106)
	at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorC
hain.java:236)
	at
org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiati
onObserver.java:109)
	at
org.apache.cxf.transport.servlet.ServletDestination.invoke(ServletDestin
ation.java:98)
	at
org.apache.cxf.transport.servlet.ServletController.invokeDestination(Ser
vletController.java:394)
	at
org.apache.cxf.transport.servlet.ServletController.invoke(ServletControl
ler.java:133)
	at
org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCXFSe
rvlet.java:142)
	at
org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(Abstr
actHTTPServlet.java:179)
	at
org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTPS
ervlet.java:108)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
	at
org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTT
PServlet.java:159)
	at
weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(St
ubSecurityHelper.java:227)
	at
weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityH
elper.java:125)
	at
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:2
92)
	at
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:1
75)
	at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.r
un(WebAppServletContext.java:3594)
	at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSu
bject.java:321)
	at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121
)
	at
weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServ
letContext.java:2202)
	at
weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletCont
ext.java:2108)
	at
weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java
:1432)
	at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
	at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused by: <openjpa-1.2.1-r752877:753278 nonfatal user error>
org.apache.openjpa.persistence.ArgumentException: null
	at
org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:857)
	at
org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:779)
	at
org.apache.openjpa.kernel.DelegatingQuery.execute(DelegatingQuery.java:5
25)
	at
org.apache.openjpa.persistence.QueryImpl.execute(QueryImpl.java:254)
	at
org.apache.openjpa.persistence.QueryImpl.getSingleResult(QueryImpl.java:
317)
	at
com.att.ecom.dynamiccontent.dao.CategoryDAOImpl.getCategoryWithProducts(
CategoryDAOImpl.java:32)
	at
com.att.ecom.dynamiccontent.service.CatalogService.getCategory(CatalogSe
rvice.java:34)
	at
com.att.ecom.dynamiccontent.service.CatalogService$$FastClassByCGLIB$$d6
1755f1.invoke(<generated>)
	at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
	at
org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.i
nvokeJoinpoint(Cglib2AopProxy.java:700)
	at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Ref
lectiveMethodInvocation.java:149)
	at
org.springframework.transaction.interceptor.TransactionInterceptor.invok
e(TransactionInterceptor.java:106)
	at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Ref
lectiveMethodInvocation.java:171)
	at
org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedIntercept
or.intercept(Cglib2AopProxy.java:635)
	at
com.att.ecom.dynamiccontent.service.CatalogService$$EnhancerByCGLIB$$51d
b48ec.getCategory(<generated>)
	at
com.att.ecom.dynamiccontent.content.Content.getCategory(Content.java:51)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at
org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(Abstrac
tInvoker.java:173)
	at
org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.ja
va:89)
	... 30 more
Caused by: java.lang.NullPointerException
	at
org.apache.openjpa.jdbc.kernel.exps.PCPath.initialize(PCPath.java:446)
	at
org.apache.openjpa.jdbc.kernel.exps.CompareEqualExpression.initialize(Co
mpareEqualExpression.java:78)
	at
org.apache.openjpa.jdbc.kernel.exps.SelectConstructor.initialize(SelectC
onstructor.java:180)
	at
org.apache.openjpa.jdbc.kernel.exps.SelectConstructor.newSelect(SelectCo
nstructor.java:121)
	at
org.apache.openjpa.jdbc.kernel.exps.SelectConstructor.evaluate(SelectCon
structor.java:75)
	at
org.apache.openjpa.jdbc.kernel.JDBCStoreQuery.createWhereSelects(JDBCSto
reQuery.java:339)
	at
org.apache.openjpa.jdbc.kernel.JDBCStoreQuery.executeQuery(JDBCStoreQuer
y.java:179)
	at
org.apache.openjpa.kernel.ExpressionStoreQuery$DataStoreExecutor.execute
Query(ExpressionStoreQuery.java:681)
	at
org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:988)
	at
org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:848)
	... 51 more
Dec 17, 2009 4:56:40 PM org.apache.cxf.phase.PhaseInterceptorChain
unwind
WARNING: Exception in handleFault on interceptor
org.apache.cxf.binding.xml.interceptor.XMLFaultOutInterceptor@587918
org.apache.cxf.interceptor.Fault
	at
org.apache.cxf.service.invoker.AbstractInvoker.createFault(AbstractInvok
er.java:155)
	at
org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.ja
va:121)
	at
org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:130)
	at
org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:82)
	at
org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvoke
rInterceptor.java:58)
	at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
	at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at
org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor
.java:37)
	at
org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(Servi
ceInvokerInterceptor.java:106)
	at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorC
hain.java:236)
	at
org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiati
onObserver.java:109)
	at
org.apache.cxf.transport.servlet.ServletDestination.invoke(ServletDestin
ation.java:98)
	at
org.apache.cxf.transport.servlet.ServletController.invokeDestination(Ser
vletController.java:394)
	at
org.apache.cxf.transport.servlet.ServletController.invoke(ServletControl
ler.java:133)
	at
org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCXFSe
rvlet.java:142)
	at
org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(Abstr
actHTTPServlet.java:179)
	at
org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTPS
ervlet.java:108)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
	at
org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTT
PServlet.java:159)
	at
weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(St
ubSecurityHelper.java:227)
	at
weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityH
elper.java:125)
	at
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:2
92)
	at
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:1
75)
	at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.r
un(WebAppServletContext.java:3594)
	at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSu
bject.java:321)
	at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121
)
	at
weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServ
letContext.java:2202)
	at
weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletCont
ext.java:2108)
	at
weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java
:1432)
	at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
	at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused by: <openjpa-1.2.1-r752877:753278 nonfatal user error>
org.apache.openjpa.persistence.ArgumentException: null
	at
org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:857)
	at
org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:779)
	at
org.apache.openjpa.kernel.DelegatingQuery.execute(DelegatingQuery.java:5
25)
	at
org.apache.openjpa.persistence.QueryImpl.execute(QueryImpl.java:254)
	at
org.apache.openjpa.persistence.QueryImpl.getSingleResult(QueryImpl.java:
317)
	at
com.att.ecom.dynamiccontent.dao.CategoryDAOImpl.getCategoryWithProducts(
CategoryDAOImpl.java:32)
	at
com.att.ecom.dynamiccontent.service.CatalogService.getCategory(CatalogSe
rvice.java:34)
	at
com.att.ecom.dynamiccontent.service.CatalogService$$FastClassByCGLIB$$d6
1755f1.invoke(<generated>)
	at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
	at
org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.i
nvokeJoinpoint(Cglib2AopProxy.java:700)
	at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Ref
lectiveMethodInvocation.java:149)
	at
org.springframework.transaction.interceptor.TransactionInterceptor.invok
e(TransactionInterceptor.java:106)
	at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Ref
lectiveMethodInvocation.java:171)
	at
org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedIntercept
or.intercept(Cglib2AopProxy.java:635)
	at
com.att.ecom.dynamiccontent.service.CatalogService$$EnhancerByCGLIB$$51d
b48ec.getCategory(<generated>)
	at
com.att.ecom.dynamiccontent.content.Content.getCategory(Content.java:51)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at
org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(Abstrac
tInvoker.java:173)
	at
org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.ja
va:89)
	... 30 more
Caused by: java.lang.NullPointerException
	at
org.apache.openjpa.jdbc.kernel.exps.PCPath.initialize(PCPath.java:446)
	at
org.apache.openjpa.jdbc.kernel.exps.CompareEqualExpression.initialize(Co
mpareEqualExpression.java:78)
	at
org.apache.openjpa.jdbc.kernel.exps.SelectConstructor.initialize(SelectC
onstructor.java:180)
	at
org.apache.openjpa.jdbc.kernel.exps.SelectConstructor.newSelect(SelectCo
nstructor.java:121)
	at
org.apache.openjpa.jdbc.kernel.exps.SelectConstructor.evaluate(SelectCon
structor.java:75)
	at
org.apache.openjpa.jdbc.kernel.JDBCStoreQuery.createWhereSelects(JDBCSto
reQuery.java:339)
	at
org.apache.openjpa.jdbc.kernel.JDBCStoreQuery.executeQuery(JDBCStoreQuer
y.java:179)
	at
org.apache.openjpa.kernel.ExpressionStoreQuery$DataStoreExecutor.execute
Query(ExpressionStoreQuery.java:681)
	at
org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:988)
	at
org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:848)
	... 51 more
Dec 17, 2009 4:56:40 PM
org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver onMessage
SEVERE: Error occurred during error handling, give up!
org.apache.cxf.interceptor.Fault
	at
org.apache.cxf.service.invoker.AbstractInvoker.createFault(AbstractInvok
er.java:155)
	at
org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.ja
va:121)
	at
org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:130)
	at
org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:82)
	at
org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvoke
rInterceptor.java:58)
	at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
	at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at
org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor
.java:37)
	at
org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(Servi
ceInvokerInterceptor.java:106)
	at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorC
hain.java:236)
	at
org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiati
onObserver.java:109)
	at
org.apache.cxf.transport.servlet.ServletDestination.invoke(ServletDestin
ation.java:98)
	at
org.apache.cxf.transport.servlet.ServletController.invokeDestination(Ser
vletController.java:394)
	at
org.apache.cxf.transport.servlet.ServletController.invoke(ServletControl
ler.java:133)
	at
org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCXFSe
rvlet.java:142)
	at
org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(Abstr
actHTTPServlet.java:179)
	at
org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTPS
ervlet.java:108)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
	at
org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTT
PServlet.java:159)
	at
weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(St
ubSecurityHelper.java:227)
	at
weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityH
elper.java:125)
	at
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:2
92)
	at
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:1
75)
	at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.r
un(WebAppServletContext.java:3594)
	at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSu
bject.java:321)
	at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121
)
	at
weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServ
letContext.java:2202)
	at
weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletCont
ext.java:2108)
	at
weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java
:1432)
	at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
	at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused by: <openjpa-1.2.1-r752877:753278 nonfatal user error>
org.apache.openjpa.persistence.ArgumentException: null
	at
org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:857)
	at
org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:779)
	at
org.apache.openjpa.kernel.DelegatingQuery.execute(DelegatingQuery.java:5
25)
	at
org.apache.openjpa.persistence.QueryImpl.execute(QueryImpl.java:254)
	at
org.apache.openjpa.persistence.QueryImpl.getSingleResult(QueryImpl.java:
317)
	at
com.att.ecom.dynamiccontent.dao.CategoryDAOImpl.getCategoryWithProducts(
CategoryDAOImpl.java:32)
	at
com.att.ecom.dynamiccontent.service.CatalogService.getCategory(CatalogSe
rvice.java:34)
	at
com.att.ecom.dynamiccontent.service.CatalogService$$FastClassByCGLIB$$d6
1755f1.invoke(<generated>)
	at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
	at
org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.i
nvokeJoinpoint(Cglib2AopProxy.java:700)
	at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Ref
lectiveMethodInvocation.java:149)
	at
org.springframework.transaction.interceptor.TransactionInterceptor.invok
e(TransactionInterceptor.java:106)
	at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Ref
lectiveMethodInvocation.java:171)
	at
org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedIntercept
or.intercept(Cglib2AopProxy.java:635)
	at
com.att.ecom.dynamiccontent.service.CatalogService$$EnhancerByCGLIB$$51d
b48ec.getCategory(<generated>)
	at
com.att.ecom.dynamiccontent.content.Content.getCategory(Content.java:51)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at
org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(Abstrac
tInvoker.java:173)
	at
org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.ja
va:89)
	... 30 more
Caused by: java.lang.NullPointerException
	at
org.apache.openjpa.jdbc.kernel.exps.PCPath.initialize(PCPath.java:446)
	at
org.apache.openjpa.jdbc.kernel.exps.CompareEqualExpression.initialize(Co
mpareEqualExpression.java:78)
	at
org.apache.openjpa.jdbc.kernel.exps.SelectConstructor.initialize(SelectC
onstructor.java:180)
	at
org.apache.openjpa.jdbc.kernel.exps.SelectConstructor.newSelect(SelectCo
nstructor.java:121)
	at
org.apache.openjpa.jdbc.kernel.exps.SelectConstructor.evaluate(SelectCon
structor.java:75)
	at
org.apache.openjpa.jdbc.kernel.JDBCStoreQuery.createWhereSelects(JDBCSto
reQuery.java:339)
	at
org.apache.openjpa.jdbc.kernel.JDBCStoreQuery.executeQuery(JDBCStoreQuer
y.java:179)
	at
org.apache.openjpa.kernel.ExpressionStoreQuery$DataStoreExecutor.execute
Query(ExpressionStoreQuery.java:681)
	at
org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:988)
	at
org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:848)
	... 51 more
<Dec 17, 2009 4:56:40 PM PST> <Error> <HTTP> <BEA-101020>
<[ServletContext@17555298[app:DynamicContent module:DynamicContent
path:/DynamicContent spec-version:2.5]] Servlet failed with Exception
java.lang.RuntimeException: org.apache.cxf.interceptor.Fault
	at
org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessage
(AbstractFaultChainInitiatorObserver.java:99)
	at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorC
hain.java:284)
	at
org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiati
onObserver.java:109)
	at
org.apache.cxf.transport.servlet.ServletDestination.invoke(ServletDestin
ation.java:98)
	at
org.apache.cxf.transport.servlet.ServletController.invokeDestination(Ser
vletController.java:394)
	Truncated. see log file for complete stacktrace

Caused By: org.apache.cxf.interceptor.Fault
	at
org.apache.cxf.service.invoker.AbstractInvoker.createFault(AbstractInvok
er.java:155)
	at
org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.ja
va:121)
	at
org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:130)
	at
org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:82)
	at
org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvoke
rInterceptor.java:58)
	Truncated. see log file for complete stacktrace

Caused By: <openjpa-1.2.1-r752877:753278 nonfatal user error>
org.apache.openjpa.persistence.ArgumentException: null
	at
org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:857)
	at
org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:779)
	at
org.apache.openjpa.kernel.DelegatingQuery.execute(DelegatingQuery.java:5
25)
	at
org.apache.openjpa.persistence.QueryImpl.execute(QueryImpl.java:254)
	at
org.apache.openjpa.persistence.QueryImpl.getSingleResult(QueryImpl.java:
317)
	Truncated. see log file for complete stacktrace

Caused By: java.lang.NullPointerException
	at
org.apache.openjpa.jdbc.kernel.exps.PCPath.initialize(PCPath.java:446)
	at
org.apache.openjpa.jdbc.kernel.exps.CompareEqualExpression.initialize(Co
mpareEqualExpression.java:78)
	at
org.apache.openjpa.jdbc.kernel.exps.SelectConstructor.initialize(SelectC
onstructor.java:180)
	at
org.apache.openjpa.jdbc.kernel.exps.SelectConstructor.newSelect(SelectCo
nstructor.java:121)
	at
org.apache.openjpa.jdbc.kernel.exps.SelectConstructor.evaluate(SelectCon
structor.java:75)
	Truncated. see log file for complete stacktrace


Mime
View raw message