openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From catalina wei <catalina....@gmail.com>
Subject Re: EntityManager.find() working fine, but simple queries are failing with odd error
Date Fri, 18 Dec 2009 18:08:58 GMT
Karr,
Based on the following error:
> > _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.

There could be a problem in your orm.xml for the Catalog entity.
Could you change your query to select ... from  ...Catalog,  see if that
works ?

Catalina
On Fri, Dec 18, 2009 at 9:41 AM, KARR, DAVID (ATTCINW) <dk068x@att.com>wrote:

> > -----Original Message-----
> > From: catalina wei [mailto:catalina.wei@gmail.com]
> > Sent: Friday, December 18, 2009 9:13 AM
> > To: users@openjpa.apache.org
> > Subject: Re: EntityManager.find() working fine, but simple queries are
> > failing with odd error
> >
> > Karr,
> >  JPQL syntax, unlike SQL,  does not allow a direct reference of the
> > field -
> > "id" in your query.
> > A path should be expressed in using the "range variable" followed by
> > "."
> > followed by "field name".
> > The only exception is using the range variable all by itself (which is
> > equivalent to object(c) in selection - e.g. select c from..., or an
> > entity
> > comparision if used in where clause,  e.g.  where c = ?1)
> >
> > Your query if changed to the following should work.
>
> Yes, you're right, but that doesn't help my real problem.  I noticed
> that discrepancy right after posting the original note.  I neglected to
> point out that I fixed that.
>
> The corrected query code is now:
>
> Query   query   =
>  entityManager.createQuery("select c from
> com.att.ecom.dynamiccontent.domain.Category c " +
>                             "where c.id = :id");
>
> When I run this without debugging, I get exceptions like this (Note that
> "Catalog" is another domain class like "Category":
>
>  [Location: Line: 9, C: 79]: Type
> "com.att.ecom.dynamiccontent.domain.Catalog" could not be instantiated.
>
> Which makes no sense, as I've had no trouble with getting results from
> "EntityManager.find()", I just can't get queries working yet.  On the
> other hand, my "unit" test outside of the container that runs this same
> query (not the same method, however), works fine.
>
> When I run my container test in the debugger, it still fails, but I get
> a different error:
>
> org.apache.openjpa.lib.jdbc.ReportingSQLException: ORA-00942: table or
> view does not exist
>  {prepstmnt 8 SELECT t0.id, t0.creationDate, t0.displayName FROM
> Category t0 WHERE (t0.id = ?) [params=(String) cat2060040]} [code=942,
> state=42000]
>
> For some reason it ended up with just "Category" instead of the actual
> table name it's mapped to, and "id" instead of the column name it's
> mapped to.
>
> >
> > "select c from  com.att.ecom.dynamiccontent.domain.Category c " +
> > >                                      "where c.id = :id")
> >
> >
> > or
> >
> >     "select c from Category c " +
> >
> > >                                      "where c.id = :id")
> >
> >
> > I agree that  error message is misleading, JPQL parser is building a
> > PCPath
> > out of a Variable "id" but "id" is never defined which caused NPE.
> >
> > Catalina
> >
> > On Thu, Dec 17, 2009 at 5:25 PM, KARR, DAVID (ATTCINW)
> > <dk068x@att.com>wrote:
> >
> > > 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(XMLMetaDataP
> > a
> > > rser.java:656)
> > >        at
> > >
> >
> org.apache.openjpa.lib.meta.CFMetaDataParser.classForName(CFMetaDataPar
> > s
> > > er.java:287)
> > >        at
> > >
> >
> org.apache.openjpa.persistence.XMLPersistenceMetaDataParser.classForNam
> > e
> > > (XMLPersistenceMetaDataParser.java:1701)
> > >        at
> > >
> >
> org.apache.openjpa.persistence.XMLPersistenceMetaDataParser.startClass(
> > X
> > > MLPersistenceMetaDataParser.java:730)
> > >        at
> > >
> >
> org.apache.openjpa.lib.meta.CFMetaDataParser.startElement(CFMetaDataPar
> > s
> > > er.java:108)
> > >        at
> > >
> >
> org.apache.openjpa.lib.meta.XMLMetaDataParser.startElement(XMLMetaDataP
> > a
> > > rser.java:432)
> > >        at
> > >
> >
> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startEleme
> > n
> > > t(AbstractSAXParser.java:501)
> > >        at
> > >
> >
> com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElem
> > e
> > > nt(XMLSchemaValidator.java:688)
> > >        at
> > >
> >
> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanSt
> > a
> > > 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(XML
> > D
> > > ocumentScannerImpl.java:648)
> > >        at
> > >
> >
> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(X
> > M
> > > 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(XML
> > 1
> > > 1Configuration.java:807)
> > >        at
> > >
> >
> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML
> > 1
> > > 1Configuration.java:737)
> > >        at
> > >
> >
> com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.ja
> > v
> > > a:107)
> > >        at
> > >
> >
> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Abst
> > r
> > > actSAXParser.java:1205)
> > >        at
> > >
> >
> com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.par
> > s
> > > 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(XMLMetaD
> > a
> > > 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(AbstractInvo
> > k
> > > er.java:155)
> > >        at
> > >
> >
> org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.j
> > a
> > > 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(ServiceInvok
> > e
> > > 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(SynchronousExecuto
> > r
> > > .java:37)
> > >        at
> > >
> >
> org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(Serv
> > i
> > > ceInvokerInterceptor.java:106)
> > >        at
> > >
> >
> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptor
> > C
> > > hain.java:236)
> > >        at
> > >
> >
> org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiat
> > i
> > > onObserver.java:109)
> > >        at
> > >
> >
> org.apache.cxf.transport.servlet.ServletDestination.invoke(ServletDesti
> > n
> > > ation.java:98)
> > >        at
> > >
> >
> org.apache.cxf.transport.servlet.ServletController.invokeDestination(Se
> > r
> > > vletController.java:394)
> > >        at
> > >
> >
> org.apache.cxf.transport.servlet.ServletController.invoke(ServletContro
> > l
> > > ler.java:133)
> > >        at
> > >
> >
> org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCXFS
> > e
> > > rvlet.java:142)
> > >        at
> > >
> >
> org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(Abst
> > r
> > > actHTTPServlet.java:179)
> > >        at
> > >
> >
> org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTP
> > S
> > > ervlet.java:108)
> > >        at
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
> > >        at
> > >
> >
> org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHT
> > T
> > > PServlet.java:159)
> > >        at
> > >
> >
> weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(S
> > t
> > > ubSecurityHelper.java:227)
> > >        at
> > >
> >
> weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurity
> > H
> > > 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(AuthenticatedS
> > u
> > > bject.java:321)
> > >        at
> > >
> >
> weblogic.security.service.SecurityManager.runAs(SecurityManager.java:12
> > 1
> > > )
> > >        at
> > >
> >
> weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppSer
> > v
> > > letContext.java:2202)
> > >        at
> > >
> >
> weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletCon
> > t
> > > ext.java:2108)
> > >        at
> > >
> >
> weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.jav
> > a
> > > :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(Pers
> > i
> > > stenceMetaDataFactory.java:249)
> > >        at
> > >
> >
> org.apache.openjpa.persistence.PersistenceMetaDataFactory.load(Persiste
> > n
> > > ceMetaDataFactory.java:198)
> > >        at
> > >
> >
> org.apache.openjpa.meta.MetaDataRepository.getMetaDataInternal(MetaData
> > R
> > > epository.java:474)
> > >        at
> > >
> >
> org.apache.openjpa.meta.MetaDataRepository.getMetaData(MetaDataReposito
> > r
> > > y.java:294)
> > >        at
> > >
> >
> org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.getClassMetaData(J
> > P
> > > QLExpressionBuilder.java:170)
> > >        at
> > >
> >
> org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.resolveClassMetaDa
> > t
> > > a(JPQLExpressionBuilder.java:139)
> > >        at
> > >
> >
> org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.getCandidateMetaDa
> > t
> > > a(JPQLExpressionBuilder.java:225)
> > >        at
> > >
> >
> org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.getCandidateMetaDa
> > t
> > > a(JPQLExpressionBuilder.java:195)
> > >        at
> > >
> >
> org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.getCandidateType(J
> > P
> > > QLExpressionBuilder.java:188)
> > >        at
> > >
> >
> org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.access$600(JPQLExp
> > r
> > > essionBuilder.java:69)
> > >        at
> > >
> >
> org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder$ParsedJPQL.populat
> > e
> > > (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.jav
> > a
> > > :605)
> > >        at
> > >
> >
> org.apache.openjpa.kernel.QueryImpl.compileForExecutor(QueryImpl.java:6
> > 6
> > > 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(CatalogS
> > e
> > > rvice.java:34)
> > >        at
> > >
> >
> com.att.ecom.dynamiccontent.service.CatalogService$$FastClassByCGLIB$$d
> > 6
> > > 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(Re
> > f
> > > lectiveMethodInvocation.java:149)
> > >        at
> > >
> >
> org.springframework.transaction.interceptor.TransactionInterceptor.invo
> > k
> > > e(TransactionInterceptor.java:106)
> > >        at
> > >
> >
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Re
> > f
> > > lectiveMethodInvocation.java:171)
> > >        at
> > >
> >
> org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedIntercep
> > t
> > > or.intercept(Cglib2AopProxy.java:635)
> > >        at
> > >
> >
> com.att.ecom.dynamiccontent.service.CatalogService$$EnhancerByCGLIB$$51
> > d
> > > 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.ja
> > v
> > > a:39)
> > >        at
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso
> > r
> > > Impl.java:25)
> > >        at java.lang.reflect.Method.invoke(Method.java:597)
> > >        at
> > >
> >
> org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(Abstra
> > c
> > > tInvoker.java:173)
> > >        at
> > >
> >
> org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.j
> > a
> > > 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(XMLMetaD
> > a
> > > taParser.java:379)
> > >        at
> > >
> >
> org.apache.openjpa.lib.meta.XMLMetaDataParser.parse(XMLMetaDataParser.j
> > a
> > > va:318)
> > >        at
> > >
> >
> org.apache.openjpa.lib.meta.XMLMetaDataParser.parse(XMLMetaDataParser.j
> > a
> > > va:295)
> > >        at
> > >
> >
> org.apache.openjpa.lib.meta.XMLMetaDataParser.parse(XMLMetaDataParser.j
> > a
> > > va:268)
> > >        at
> > >
> >
> org.apache.openjpa.persistence.PersistenceMetaDataFactory.parseXML(Pers
> > i
> > > 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(XMLMetaDataP
> > a
> > > rser.java:656)
> > >        at
> > >
> >
> org.apache.openjpa.lib.meta.CFMetaDataParser.classForName(CFMetaDataPar
> > s
> > > er.java:287)
> > >        at
> > >
> >
> org.apache.openjpa.persistence.XMLPersistenceMetaDataParser.classForNam
> > e
> > > (XMLPersistenceMetaDataParser.java:1701)
> > >        at
> > >
> >
> org.apache.openjpa.persistence.XMLPersistenceMetaDataParser.startClass(
> > X
> > > MLPersistenceMetaDataParser.java:730)
> > >        at
> > >
> >
> org.apache.openjpa.lib.meta.CFMetaDataParser.startElement(CFMetaDataPar
> > s
> > > er.java:108)
> > >        at
> > >
> >
> org.apache.openjpa.lib.meta.XMLMetaDataParser.startElement(XMLMetaDataP
> > a
> > > rser.java:432)
> > >        at
> > >
> >
> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startEleme
> > n
> > > t(AbstractSAXParser.java:501)
> > >        at
> > >
> >
> com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElem
> > e
> > > nt(XMLSchemaValidator.java:688)
> > >        at
> > >
> >
> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanSt
> > a
> > > 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(XML
> > D
> > > ocumentScannerImpl.java:648)
> > >        at
> > >
> >
> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(X
> > M
> > > 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(XML
> > 1
> > > 1Configuration.java:807)
> > >        at
> > >
> >
> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML
> > 1
> > > 1Configuration.java:737)
> > >        at
> > >
> >
> com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.ja
> > v
> > > a:107)
> > >        at
> > >
> >
> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Abst
> > r
> > > actSAXParser.java:1205)
> > >        at
> > >
> >
> com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.par
> > s
> > > 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(XMLMetaD
> > a
> > > 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(AbstractInvo
> > k
> > > er.java:155)
> > >        at
> > >
> >
> org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.j
> > a
> > > 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(ServiceInvok
> > e
> > > 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(SynchronousExecuto
> > r
> > > .java:37)
> > >        at
> > >
> >
> org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(Serv
> > i
> > > ceInvokerInterceptor.java:106)
> > >        at
> > >
> >
> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptor
> > C
> > > hain.java:236)
> > >        at
> > >
> >
> org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiat
> > i
> > > onObserver.java:109)
> > >        at
> > >
> >
> org.apache.cxf.transport.servlet.ServletDestination.invoke(ServletDesti
> > n
> > > ation.java:98)
> > >        at
> > >
> >
> org.apache.cxf.transport.servlet.ServletController.invokeDestination(Se
> > r
> > > vletController.java:394)
> > >        at
> > >
> >
> org.apache.cxf.transport.servlet.ServletController.invoke(ServletContro
> > l
> > > ler.java:133)
> > >        at
> > >
> >
> org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCXFS
> > e
> > > rvlet.java:142)
> > >        at
> > >
> >
> org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(Abst
> > r
> > > actHTTPServlet.java:179)
> > >        at
> > >
> >
> org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTP
> > S
> > > ervlet.java:108)
> > >        at
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
> > >        at
> > >
> >
> org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHT
> > T
> > > PServlet.java:159)
> > >        at
> > >
> >
> weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(S
> > t
> > > ubSecurityHelper.java:227)
> > >        at
> > >
> >
> weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurity
> > H
> > > 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(AuthenticatedS
> > u
> > > bject.java:321)
> > >        at
> > >
> >
> weblogic.security.service.SecurityManager.runAs(SecurityManager.java:12
> > 1
> > > )
> > >        at
> > >
> >
> weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppSer
> > v
> > > letContext.java:2202)
> > >        at
> > >
> >
> weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletCon
> > t
> > > ext.java:2108)
> > >        at
> > >
> >
> weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.jav
> > a
> > > :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(Pers
> > i
> > > stenceMetaDataFactory.java:249)
> > >        at
> > >
> >
> org.apache.openjpa.persistence.PersistenceMetaDataFactory.load(Persiste
> > n
> > > ceMetaDataFactory.java:198)
> > >        at
> > >
> >
> org.apache.openjpa.meta.MetaDataRepository.getMetaDataInternal(MetaData
> > R
> > > epository.java:474)
> > >        at
> > >
> >
> org.apache.openjpa.meta.MetaDataRepository.getMetaData(MetaDataReposito
> > r
> > > y.java:294)
> > >        at
> > >
> >
> org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.getClassMetaData(J
> > P
> > > QLExpressionBuilder.java:170)
> > >        at
> > >
> >
> org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.resolveClassMetaDa
> > t
> > > a(JPQLExpressionBuilder.java:139)
> > >        at
> > >
> >
> org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.getCandidateMetaDa
> > t
> > > a(JPQLExpressionBuilder.java:225)
> > >        at
> > >
> >
> org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.getCandidateMetaDa
> > t
> > > a(JPQLExpressionBuilder.java:195)
> > >        at
> > >
> >
> org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.getCandidateType(J
> > P
> > > QLExpressionBuilder.java:188)
> > >        at
> > >
> >
> org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.access$600(JPQLExp
> > r
> > > essionBuilder.java:69)
> > >        at
> > >
> >
> org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder$ParsedJPQL.populat
> > e
> > > (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.jav
> > a
> > > :605)
> > >        at
> > >
> >
> org.apache.openjpa.kernel.QueryImpl.compileForExecutor(QueryImpl.java:6
> > 6
> > > 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(CatalogS
> > e
> > > rvice.java:34)
> > >        at
> > >
> >
> com.att.ecom.dynamiccontent.service.CatalogService$$FastClassByCGLIB$$d
> > 6
> > > 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(Re
> > f
> > > lectiveMethodInvocation.java:149)
> > >        at
> > >
> >
> org.springframework.transaction.interceptor.TransactionInterceptor.invo
> > k
> > > e(TransactionInterceptor.java:106)
> > >        at
> > >
> >
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Re
> > f
> > > lectiveMethodInvocation.java:171)
> > >        at
> > >
> >
> org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedIntercep
> > t
> > > or.intercept(Cglib2AopProxy.java:635)
> > >        at
> > >
> >
> com.att.ecom.dynamiccontent.service.CatalogService$$EnhancerByCGLIB$$51
> > d
> > > 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.ja
> > v
> > > a:39)
> > >        at
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso
> > r
> > > Impl.java:25)
> > >        at java.lang.reflect.Method.invoke(Method.java:597)
> > >        at
> > >
> >
> org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(Abstra
> > c
> > > tInvoker.java:173)
> > >        at
> > >
> >
> org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.j
> > a
> > > 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(XMLMetaD
> > a
> > > taParser.java:379)
> > >        at
> > >
> >
> org.apache.openjpa.lib.meta.XMLMetaDataParser.parse(XMLMetaDataParser.j
> > a
> > > va:318)
> > >        at
> > >
> >
> org.apache.openjpa.lib.meta.XMLMetaDataParser.parse(XMLMetaDataParser.j
> > a
> > > va:295)
> > >        at
> > >
> >
> org.apache.openjpa.lib.meta.XMLMetaDataParser.parse(XMLMetaDataParser.j
> > a
> > > va:268)
> > >        at
> > >
> >
> org.apache.openjpa.persistence.PersistenceMetaDataFactory.parseXML(Pers
> > i
> > > 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(XMLMetaDataP
> > a
> > > rser.java:656)
> > >        at
> > >
> >
> org.apache.openjpa.lib.meta.CFMetaDataParser.classForName(CFMetaDataPar
> > s
> > > er.java:287)
> > >        at
> > >
> >
> org.apache.openjpa.persistence.XMLPersistenceMetaDataParser.classForNam
> > e
> > > (XMLPersistenceMetaDataParser.java:1701)
> > >        at
> > >
> >
> org.apache.openjpa.persistence.XMLPersistenceMetaDataParser.startClass(
> > X
> > > MLPersistenceMetaDataParser.java:730)
> > >        at
> > >
> >
> org.apache.openjpa.lib.meta.CFMetaDataParser.startElement(CFMetaDataPar
> > s
> > > er.java:108)
> > >        at
> > >
> >
> org.apache.openjpa.lib.meta.XMLMetaDataParser.startElement(XMLMetaDataP
> > a
> > > rser.java:432)
> > >        at
> > >
> >
> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startEleme
> > n
> > > t(AbstractSAXParser.java:501)
> > >        at
> > >
> >
> com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElem
> > e
> > > nt(XMLSchemaValidator.java:688)
> > >        at
> > >
> >
> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanSt
> > a
> > > 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(XML
> > D
> > > ocumentScannerImpl.java:648)
> > >        at
> > >
> >
> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(X
> > M
> > > 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(XML
> > 1
> > > 1Configuration.java:807)
> > >        at
> > >
> >
> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML
> > 1
> > > 1Configuration.java:737)
> > >        at
> > >
> >
> com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.ja
> > v
> > > a:107)
> > >        at
> > >
> >
> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Abst
> > r
> > > actSAXParser.java:1205)
> > >        at
> > >
> >
> com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.par
> > s
> > > 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(XMLMetaD
> > a
> > > 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(AbstractInvo
> > k
> > > er.java:155)
> > >        at
> > >
> >
> org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.j
> > a
> > > 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(ServiceInvok
> > e
> > > 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(SynchronousExecuto
> > r
> > > .java:37)
> > >        at
> > >
> >
> org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(Serv
> > i
> > > ceInvokerInterceptor.java:106)
> > >        at
> > >
> >
> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptor
> > C
> > > hain.java:236)
> > >        at
> > >
> >
> org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiat
> > i
> > > onObserver.java:109)
> > >        at
> > >
> >
> org.apache.cxf.transport.servlet.ServletDestination.invoke(ServletDesti
> > n
> > > ation.java:98)
> > >        at
> > >
> >
> org.apache.cxf.transport.servlet.ServletController.invokeDestination(Se
> > r
> > > vletController.java:394)
> > >        at
> > >
> >
> org.apache.cxf.transport.servlet.ServletController.invoke(ServletContro
> > l
> > > ler.java:133)
> > >        at
> > >
> >
> org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCXFS
> > e
> > > rvlet.java:142)
> > >        at
> > >
> >
> org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(Abst
> > r
> > > actHTTPServlet.java:179)
> > >        at
> > >
> >
> org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTP
> > S
> > > ervlet.java:108)
> > >        at
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
> > >        at
> > >
> >
> org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHT
> > T
> > > PServlet.java:159)
> > >        at
> > >
> >
> weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(S
> > t
> > > ubSecurityHelper.java:227)
> > >        at
> > >
> >
> weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurity
> > H
> > > 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(AuthenticatedS
> > u
> > > bject.java:321)
> > >        at
> > >
> >
> weblogic.security.service.SecurityManager.runAs(SecurityManager.java:12
> > 1
> > > )
> > >        at
> > >
> >
> weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppSer
> > v
> > > letContext.java:2202)
> > >        at
> > >
> >
> weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletCon
> > t
> > > ext.java:2108)
> > >        at
> > >
> >
> weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.jav
> > a
> > > :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(Pers
> > i
> > > stenceMetaDataFactory.java:249)
> > >        at
> > >
> >
> org.apache.openjpa.persistence.PersistenceMetaDataFactory.load(Persiste
> > n
> > > ceMetaDataFactory.java:198)
> > >        at
> > >
> >
> org.apache.openjpa.meta.MetaDataRepository.getMetaDataInternal(MetaData
> > R
> > > epository.java:474)
> > >        at
> > >
> >
> org.apache.openjpa.meta.MetaDataRepository.getMetaData(MetaDataReposito
> > r
> > > y.java:294)
> > >        at
> > >
> >
> org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.getClassMetaData(J
> > P
> > > QLExpressionBuilder.java:170)
> > >        at
> > >
> >
> org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.resolveClassMetaDa
> > t
> > > a(JPQLExpressionBuilder.java:139)
> > >        at
> > >
> >
> org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.getCandidateMetaDa
> > t
> > > a(JPQLExpressionBuilder.java:225)
> > >        at
> > >
> >
> org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.getCandidateMetaDa
> > t
> > > a(JPQLExpressionBuilder.java:195)
> > >        at
> > >
> >
> org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.getCandidateType(J
> > P
> > > QLExpressionBuilder.java:188)
> > >        at
> > >
> >
> org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.access$600(JPQLExp
> > r
> > > essionBuilder.java:69)
> > >        at
> > >
> >
> org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder$ParsedJPQL.populat
> > e
> > > (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.jav
> > a
> > > :605)
> > >        at
> > >
> >
> org.apache.openjpa.kernel.QueryImpl.compileForExecutor(QueryImpl.java:6
> > 6
> > > 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(CatalogS
> > e
> > > rvice.java:34)
> > >        at
> > >
> >
> com.att.ecom.dynamiccontent.service.CatalogService$$FastClassByCGLIB$$d
> > 6
> > > 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(Re
> > f
> > > lectiveMethodInvocation.java:149)
> > >        at
> > >
> >
> org.springframework.transaction.interceptor.TransactionInterceptor.invo
> > k
> > > e(TransactionInterceptor.java:106)
> > >        at
> > >
> >
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Re
> > f
> > > lectiveMethodInvocation.java:171)
> > >        at
> > >
> >
> org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedIntercep
> > t
> > > or.intercept(Cglib2AopProxy.java:635)
> > >        at
> > >
> >
> com.att.ecom.dynamiccontent.service.CatalogService$$EnhancerByCGLIB$$51
> > d
> > > 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.ja
> > v
> > > a:39)
> > >        at
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso
> > r
> > > Impl.java:25)
> > >        at java.lang.reflect.Method.invoke(Method.java:597)
> > >        at
> > >
> >
> org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(Abstra
> > c
> > > tInvoker.java:173)
> > >        at
> > >
> >
> org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.j
> > a
> > > 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(XMLMetaD
> > a
> > > taParser.java:379)
> > >        at
> > >
> >
> org.apache.openjpa.lib.meta.XMLMetaDataParser.parse(XMLMetaDataParser.j
> > a
> > > va:318)
> > >        at
> > >
> >
> org.apache.openjpa.lib.meta.XMLMetaDataParser.parse(XMLMetaDataParser.j
> > a
> > > va:295)
> > >        at
> > >
> >
> org.apache.openjpa.lib.meta.XMLMetaDataParser.parse(XMLMetaDataParser.j
> > a
> > > va:268)
> > >        at
> > >
> >
> org.apache.openjpa.persistence.PersistenceMetaDataFactory.parseXML(Pers
> > i
> > > 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(XMLMetaDataP
> > a
> > > rser.java:656)
> > >        at
> > >
> >
> org.apache.openjpa.lib.meta.CFMetaDataParser.classForName(CFMetaDataPar
> > s
> > > er.java:287)
> > >        at
> > >
> >
> org.apache.openjpa.persistence.XMLPersistenceMetaDataParser.classForNam
> > e
> > > (XMLPersistenceMetaDataParser.java:1701)
> > >        at
> > >
> >
> org.apache.openjpa.persistence.XMLPersistenceMetaDataParser.startClass(
> > X
> > > MLPersistenceMetaDataParser.java:730)
> > >        at
> > >
> >
> org.apache.openjpa.lib.meta.CFMetaDataParser.startElement(CFMetaDataPar
> > s
> > > er.java:108)
> > >        at
> > >
> >
> org.apache.openjpa.lib.meta.XMLMetaDataParser.startElement(XMLMetaDataP
> > a
> > > rser.java:432)
> > >        at
> > >
> >
> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startEleme
> > n
> > > t(AbstractSAXParser.java:501)
> > >        at
> > >
> >
> com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElem
> > e
> > > nt(XMLSchemaValidator.java:688)
> > >        at
> > >
> >
> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanSt
> > a
> > > 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(XML
> > D
> > > ocumentScannerImpl.java:648)
> > >        at
> > >
> >
> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(X
> > M
> > > 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(XML
> > 1
> > > 1Configuration.java:807)
> > >        at
> > >
> >
> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML
> > 1
> > > 1Configuration.java:737)
> > >        at
> > >
> >
> com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.ja
> > v
> > > a:107)
> > >        at
> > >
> >
> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Abst
> > r
> > > actSAXParser.java:1205)
> > >        at
> > >
> >
> com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.par
> > s
> > > 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(XMLMetaD
> > a
> > > 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.onMessag
> > e
> > > (AbstractFaultChainInitiatorObserver.java:99)
> > >        at
> > >
> >
> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptor
> > C
> > > hain.java:284)
> > >        at
> > >
> >
> org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiat
> > i
> > > onObserver.java:109)
> > >        at
> > >
> >
> org.apache.cxf.transport.servlet.ServletDestination.invoke(ServletDesti
> > n
> > > ation.java:98)
> > >        at
> > >
> >
> org.apache.cxf.transport.servlet.ServletController.invokeDestination(Se
> > r
> > > 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(AbstractInvo
> > k
> > > er.java:155)
> > >        at
> > >
> >
> org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.j
> > a
> > > 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(ServiceInvok
> > e
> > > 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(Pers
> > i
> > > stenceMetaDataFactory.java:249)
> > >        at
> > >
> >
> org.apache.openjpa.persistence.PersistenceMetaDataFactory.load(Persiste
> > n
> > > ceMetaDataFactory.java:198)
> > >        at
> > >
> >
> org.apache.openjpa.meta.MetaDataRepository.getMetaDataInternal(MetaData
> > R
> > > epository.java:474)
> > >        at
> > >
> >
> org.apache.openjpa.meta.MetaDataRepository.getMetaData(MetaDataReposito
> > r
> > > y.java:294)
> > >        at
> > >
> >
> org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.getClassMetaData(J
> > P
> > > 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(XMLMetaD
> > a
> > > taParser.java:379)
> > >        at
> > >
> >
> org.apache.openjpa.lib.meta.XMLMetaDataParser.parse(XMLMetaDataParser.j
> > a
> > > va:318)
> > >        at
> > >
> >
> org.apache.openjpa.lib.meta.XMLMetaDataParser.parse(XMLMetaDataParser.j
> > a
> > > va:295)
> > >        at
> > >
> >
> org.apache.openjpa.lib.meta.XMLMetaDataParser.parse(XMLMetaDataParser.j
> > a
> > > va:268)
> > >        at
> > >
> >
> org.apache.openjpa.persistence.PersistenceMetaDataFactory.parseXML(Pers
> > i
> > > 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(XMLMetaDataP
> > a
> > > rser.java:656)
> > >        at
> > >
> >
> org.apache.openjpa.lib.meta.CFMetaDataParser.classForName(CFMetaDataPar
> > s
> > > er.java:287)
> > >        at
> > >
> >
> org.apache.openjpa.persistence.XMLPersistenceMetaDataParser.classForNam
> > e
> > > (XMLPersistenceMetaDataParser.java:1701)
> > >        at
> > >
> >
> org.apache.openjpa.persistence.XMLPersistenceMetaDataParser.startClass(
> > X
> > > MLPersistenceMetaDataParser.java:730)
> > >        at
> > >
> >
> org.apache.openjpa.lib.meta.CFMetaDataParser.startElement(CFMetaDataPar
> > s
> > > 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(AbstractInvo
> > k
> > > er.java:155)
> > >        at
> > >
> >
> org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.j
> > a
> > > 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(ServiceInvok
> > e
> > > 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(SynchronousExecuto
> > r
> > > .java:37)
> > >        at
> > >
> >
> org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(Serv
> > i
> > > ceInvokerInterceptor.java:106)
> > >        at
> > >
> >
> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptor
> > C
> > > hain.java:236)
> > >        at
> > >
> >
> org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiat
> > i
> > > onObserver.java:109)
> > >        at
> > >
> >
> org.apache.cxf.transport.servlet.ServletDestination.invoke(ServletDesti
> > n
> > > ation.java:98)
> > >        at
> > >
> >
> org.apache.cxf.transport.servlet.ServletController.invokeDestination(Se
> > r
> > > vletController.java:394)
> > >        at
> > >
> >
> org.apache.cxf.transport.servlet.ServletController.invoke(ServletContro
> > l
> > > ler.java:133)
> > >        at
> > >
> >
> org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCXFS
> > e
> > > rvlet.java:142)
> > >        at
> > >
> >
> org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(Abst
> > r
> > > actHTTPServlet.java:179)
> > >        at
> > >
> >
> org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTP
> > S
> > > ervlet.java:108)
> > >        at
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
> > >        at
> > >
> >
> org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHT
> > T
> > > PServlet.java:159)
> > >        at
> > >
> >
> weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(S
> > t
> > > ubSecurityHelper.java:227)
> > >        at
> > >
> >
> weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurity
> > H
> > > 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(AuthenticatedS
> > u
> > > bject.java:321)
> > >        at
> > >
> >
> weblogic.security.service.SecurityManager.runAs(SecurityManager.java:12
> > 1
> > > )
> > >        at
> > >
> >
> weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppSer
> > v
> > > letContext.java:2202)
> > >        at
> > >
> >
> weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletCon
> > t
> > > ext.java:2108)
> > >        at
> > >
> >
> weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.jav
> > a
> > > :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(CatalogS
> > e
> > > rvice.java:34)
> > >        at
> > >
> >
> com.att.ecom.dynamiccontent.service.CatalogService$$FastClassByCGLIB$$d
> > 6
> > > 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(Re
> > f
> > > lectiveMethodInvocation.java:149)
> > >        at
> > >
> >
> org.springframework.transaction.interceptor.TransactionInterceptor.invo
> > k
> > > e(TransactionInterceptor.java:106)
> > >        at
> > >
> >
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Re
> > f
> > > lectiveMethodInvocation.java:171)
> > >        at
> > >
> >
> org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedIntercep
> > t
> > > or.intercept(Cglib2AopProxy.java:635)
> > >        at
> > >
> >
> com.att.ecom.dynamiccontent.service.CatalogService$$EnhancerByCGLIB$$51
> > d
> > > 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.ja
> > v
> > > a:39)
> > >        at
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso
> > r
> > > Impl.java:25)
> > >        at java.lang.reflect.Method.invoke(Method.java:597)
> > >        at
> > >
> >
> org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(Abstra
> > c
> > > tInvoker.java:173)
> > >        at
> > >
> >
> org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.j
> > a
> > > 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(C
> > o
> > > mpareEqualExpression.java:78)
> > >        at
> > >
> >
> org.apache.openjpa.jdbc.kernel.exps.SelectConstructor.initialize(Select
> > C
> > > onstructor.java:180)
> > >        at
> > >
> >
> org.apache.openjpa.jdbc.kernel.exps.SelectConstructor.newSelect(SelectC
> > o
> > > nstructor.java:121)
> > >        at
> > >
> >
> org.apache.openjpa.jdbc.kernel.exps.SelectConstructor.evaluate(SelectCo
> > n
> > > structor.java:75)
> > >        at
> > >
> >
> org.apache.openjpa.jdbc.kernel.JDBCStoreQuery.createWhereSelects(JDBCSt
> > o
> > > reQuery.java:339)
> > >        at
> > >
> >
> org.apache.openjpa.jdbc.kernel.JDBCStoreQuery.executeQuery(JDBCStoreQue
> > r
> > > y.java:179)
> > >        at
> > >
> >
> org.apache.openjpa.kernel.ExpressionStoreQuery$DataStoreExecutor.execut
> > e
> > > 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(AbstractInvo
> > k
> > > er.java:155)
> > >        at
> > >
> >
> org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.j
> > a
> > > 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(ServiceInvok
> > e
> > > 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(SynchronousExecuto
> > r
> > > .java:37)
> > >        at
> > >
> >
> org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(Serv
> > i
> > > ceInvokerInterceptor.java:106)
> > >        at
> > >
> >
> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptor
> > C
> > > hain.java:236)
> > >        at
> > >
> >
> org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiat
> > i
> > > onObserver.java:109)
> > >        at
> > >
> >
> org.apache.cxf.transport.servlet.ServletDestination.invoke(ServletDesti
> > n
> > > ation.java:98)
> > >        at
> > >
> >
> org.apache.cxf.transport.servlet.ServletController.invokeDestination(Se
> > r
> > > vletController.java:394)
> > >        at
> > >
> >
> org.apache.cxf.transport.servlet.ServletController.invoke(ServletContro
> > l
> > > ler.java:133)
> > >        at
> > >
> >
> org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCXFS
> > e
> > > rvlet.java:142)
> > >        at
> > >
> >
> org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(Abst
> > r
> > > actHTTPServlet.java:179)
> > >        at
> > >
> >
> org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTP
> > S
> > > ervlet.java:108)
> > >        at
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
> > >        at
> > >
> >
> org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHT
> > T
> > > PServlet.java:159)
> > >        at
> > >
> >
> weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(S
> > t
> > > ubSecurityHelper.java:227)
> > >        at
> > >
> >
> weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurity
> > H
> > > 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(AuthenticatedS
> > u
> > > bject.java:321)
> > >        at
> > >
> >
> weblogic.security.service.SecurityManager.runAs(SecurityManager.java:12
> > 1
> > > )
> > >        at
> > >
> >
> weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppSer
> > v
> > > letContext.java:2202)
> > >        at
> > >
> >
> weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletCon
> > t
> > > ext.java:2108)
> > >        at
> > >
> >
> weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.jav
> > a
> > > :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(CatalogS
> > e
> > > rvice.java:34)
> > >        at
> > >
> >
> com.att.ecom.dynamiccontent.service.CatalogService$$FastClassByCGLIB$$d
> > 6
> > > 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(Re
> > f
> > > lectiveMethodInvocation.java:149)
> > >        at
> > >
> >
> org.springframework.transaction.interceptor.TransactionInterceptor.invo
> > k
> > > e(TransactionInterceptor.java:106)
> > >        at
> > >
> >
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Re
> > f
> > > lectiveMethodInvocation.java:171)
> > >        at
> > >
> >
> org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedIntercep
> > t
> > > or.intercept(Cglib2AopProxy.java:635)
> > >        at
> > >
> >
> com.att.ecom.dynamiccontent.service.CatalogService$$EnhancerByCGLIB$$51
> > d
> > > 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.ja
> > v
> > > a:39)
> > >        at
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso
> > r
> > > Impl.java:25)
> > >        at java.lang.reflect.Method.invoke(Method.java:597)
> > >        at
> > >
> >
> org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(Abstra
> > c
> > > tInvoker.java:173)
> > >        at
> > >
> >
> org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.j
> > a
> > > 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(C
> > o
> > > mpareEqualExpression.java:78)
> > >        at
> > >
> >
> org.apache.openjpa.jdbc.kernel.exps.SelectConstructor.initialize(Select
> > C
> > > onstructor.java:180)
> > >        at
> > >
> >
> org.apache.openjpa.jdbc.kernel.exps.SelectConstructor.newSelect(SelectC
> > o
> > > nstructor.java:121)
> > >        at
> > >
> >
> org.apache.openjpa.jdbc.kernel.exps.SelectConstructor.evaluate(SelectCo
> > n
> > > structor.java:75)
> > >        at
> > >
> >
> org.apache.openjpa.jdbc.kernel.JDBCStoreQuery.createWhereSelects(JDBCSt
> > o
> > > reQuery.java:339)
> > >        at
> > >
> >
> org.apache.openjpa.jdbc.kernel.JDBCStoreQuery.executeQuery(JDBCStoreQue
> > r
> > > y.java:179)
> > >        at
> > >
> >
> org.apache.openjpa.kernel.ExpressionStoreQuery$DataStoreExecutor.execut
> > e
> > > 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(AbstractInvo
> > k
> > > er.java:155)
> > >        at
> > >
> >
> org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.j
> > a
> > > 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(ServiceInvok
> > e
> > > 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(SynchronousExecuto
> > r
> > > .java:37)
> > >        at
> > >
> >
> org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(Serv
> > i
> > > ceInvokerInterceptor.java:106)
> > >        at
> > >
> >
> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptor
> > C
> > > hain.java:236)
> > >        at
> > >
> >
> org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiat
> > i
> > > onObserver.java:109)
> > >        at
> > >
> >
> org.apache.cxf.transport.servlet.ServletDestination.invoke(ServletDesti
> > n
> > > ation.java:98)
> > >        at
> > >
> >
> org.apache.cxf.transport.servlet.ServletController.invokeDestination(Se
> > r
> > > vletController.java:394)
> > >        at
> > >
> >
> org.apache.cxf.transport.servlet.ServletController.invoke(ServletContro
> > l
> > > ler.java:133)
> > >        at
> > >
> >
> org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCXFS
> > e
> > > rvlet.java:142)
> > >        at
> > >
> >
> org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(Abst
> > r
> > > actHTTPServlet.java:179)
> > >        at
> > >
> >
> org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTP
> > S
> > > ervlet.java:108)
> > >        at
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
> > >        at
> > >
> >
> org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHT
> > T
> > > PServlet.java:159)
> > >        at
> > >
> >
> weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(S
> > t
> > > ubSecurityHelper.java:227)
> > >        at
> > >
> >
> weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurity
> > H
> > > 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(AuthenticatedS
> > u
> > > bject.java:321)
> > >        at
> > >
> >
> weblogic.security.service.SecurityManager.runAs(SecurityManager.java:12
> > 1
> > > )
> > >        at
> > >
> >
> weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppSer
> > v
> > > letContext.java:2202)
> > >        at
> > >
> >
> weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletCon
> > t
> > > ext.java:2108)
> > >        at
> > >
> >
> weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.jav
> > a
> > > :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(CatalogS
> > e
> > > rvice.java:34)
> > >        at
> > >
> >
> com.att.ecom.dynamiccontent.service.CatalogService$$FastClassByCGLIB$$d
> > 6
> > > 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(Re
> > f
> > > lectiveMethodInvocation.java:149)
> > >        at
> > >
> >
> org.springframework.transaction.interceptor.TransactionInterceptor.invo
> > k
> > > e(TransactionInterceptor.java:106)
> > >        at
> > >
> >
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Re
> > f
> > > lectiveMethodInvocation.java:171)
> > >        at
> > >
> >
> org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedIntercep
> > t
> > > or.intercept(Cglib2AopProxy.java:635)
> > >        at
> > >
> >
> com.att.ecom.dynamiccontent.service.CatalogService$$EnhancerByCGLIB$$51
> > d
> > > 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.ja
> > v
> > > a:39)
> > >        at
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso
> > r
> > > Impl.java:25)
> > >        at java.lang.reflect.Method.invoke(Method.java:597)
> > >        at
> > >
> >
> org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(Abstra
> > c
> > > tInvoker.java:173)
> > >        at
> > >
> >
> org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.j
> > a
> > > 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(C
> > o
> > > mpareEqualExpression.java:78)
> > >        at
> > >
> >
> org.apache.openjpa.jdbc.kernel.exps.SelectConstructor.initialize(Select
> > C
> > > onstructor.java:180)
> > >        at
> > >
> >
> org.apache.openjpa.jdbc.kernel.exps.SelectConstructor.newSelect(SelectC
> > o
> > > nstructor.java:121)
> > >        at
> > >
> >
> org.apache.openjpa.jdbc.kernel.exps.SelectConstructor.evaluate(SelectCo
> > n
> > > structor.java:75)
> > >        at
> > >
> >
> org.apache.openjpa.jdbc.kernel.JDBCStoreQuery.createWhereSelects(JDBCSt
> > o
> > > reQuery.java:339)
> > >        at
> > >
> >
> org.apache.openjpa.jdbc.kernel.JDBCStoreQuery.executeQuery(JDBCStoreQue
> > r
> > > y.java:179)
> > >        at
> > >
> >
> org.apache.openjpa.kernel.ExpressionStoreQuery$DataStoreExecutor.execut
> > e
> > > 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(AbstractInvo
> > k
> > > er.java:155)
> > >        at
> > >
> >
> org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.j
> > a
> > > 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(ServiceInvok
> > e
> > > 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(SynchronousExecuto
> > r
> > > .java:37)
> > >        at
> > >
> >
> org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(Serv
> > i
> > > ceInvokerInterceptor.java:106)
> > >        at
> > >
> >
> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptor
> > C
> > > hain.java:236)
> > >        at
> > >
> >
> org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiat
> > i
> > > onObserver.java:109)
> > >        at
> > >
> >
> org.apache.cxf.transport.servlet.ServletDestination.invoke(ServletDesti
> > n
> > > ation.java:98)
> > >        at
> > >
> >
> org.apache.cxf.transport.servlet.ServletController.invokeDestination(Se
> > r
> > > vletController.java:394)
> > >        at
> > >
> >
> org.apache.cxf.transport.servlet.ServletController.invoke(ServletContro
> > l
> > > ler.java:133)
> > >        at
> > >
> >
> org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCXFS
> > e
> > > rvlet.java:142)
> > >        at
> > >
> >
> org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(Abst
> > r
> > > actHTTPServlet.java:179)
> > >        at
> > >
> >
> org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTP
> > S
> > > ervlet.java:108)
> > >        at
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
> > >        at
> > >
> >
> org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHT
> > T
> > > PServlet.java:159)
> > >        at
> > >
> >
> weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(S
> > t
> > > ubSecurityHelper.java:227)
> > >        at
> > >
> >
> weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurity
> > H
> > > 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(AuthenticatedS
> > u
> > > bject.java:321)
> > >        at
> > >
> >
> weblogic.security.service.SecurityManager.runAs(SecurityManager.java:12
> > 1
> > > )
> > >        at
> > >
> >
> weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppSer
> > v
> > > letContext.java:2202)
> > >        at
> > >
> >
> weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletCon
> > t
> > > ext.java:2108)
> > >        at
> > >
> >
> weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.jav
> > a
> > > :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(CatalogS
> > e
> > > rvice.java:34)
> > >        at
> > >
> >
> com.att.ecom.dynamiccontent.service.CatalogService$$FastClassByCGLIB$$d
> > 6
> > > 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(Re
> > f
> > > lectiveMethodInvocation.java:149)
> > >        at
> > >
> >
> org.springframework.transaction.interceptor.TransactionInterceptor.invo
> > k
> > > e(TransactionInterceptor.java:106)
> > >        at
> > >
> >
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Re
> > f
> > > lectiveMethodInvocation.java:171)
> > >        at
> > >
> >
> org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedIntercep
> > t
> > > or.intercept(Cglib2AopProxy.java:635)
> > >        at
> > >
> >
> com.att.ecom.dynamiccontent.service.CatalogService$$EnhancerByCGLIB$$51
> > d
> > > 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.ja
> > v
> > > a:39)
> > >        at
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso
> > r
> > > Impl.java:25)
> > >        at java.lang.reflect.Method.invoke(Method.java:597)
> > >        at
> > >
> >
> org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(Abstra
> > c
> > > tInvoker.java:173)
> > >        at
> > >
> >
> org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.j
> > a
> > > 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(C
> > o
> > > mpareEqualExpression.java:78)
> > >        at
> > >
> >
> org.apache.openjpa.jdbc.kernel.exps.SelectConstructor.initialize(Select
> > C
> > > onstructor.java:180)
> > >        at
> > >
> >
> org.apache.openjpa.jdbc.kernel.exps.SelectConstructor.newSelect(SelectC
> > o
> > > nstructor.java:121)
> > >        at
> > >
> >
> org.apache.openjpa.jdbc.kernel.exps.SelectConstructor.evaluate(SelectCo
> > n
> > > structor.java:75)
> > >        at
> > >
> >
> org.apache.openjpa.jdbc.kernel.JDBCStoreQuery.createWhereSelects(JDBCSt
> > o
> > > reQuery.java:339)
> > >        at
> > >
> >
> org.apache.openjpa.jdbc.kernel.JDBCStoreQuery.executeQuery(JDBCStoreQue
> > r
> > > y.java:179)
> > >        at
> > >
> >
> org.apache.openjpa.kernel.ExpressionStoreQuery$DataStoreExecutor.execut
> > e
> > > 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.onMessag
> > e
> > > (AbstractFaultChainInitiatorObserver.java:99)
> > >        at
> > >
> >
> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptor
> > C
> > > hain.java:284)
> > >        at
> > >
> >
> org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiat
> > i
> > > onObserver.java:109)
> > >        at
> > >
> >
> org.apache.cxf.transport.servlet.ServletDestination.invoke(ServletDesti
> > n
> > > ation.java:98)
> > >        at
> > >
> >
> org.apache.cxf.transport.servlet.ServletController.invokeDestination(Se
> > r
> > > 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(AbstractInvo
> > k
> > > er.java:155)
> > >        at
> > >
> >
> org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.j
> > a
> > > 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(ServiceInvok
> > e
> > > 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(C
> > o
> > > mpareEqualExpression.java:78)
> > >        at
> > >
> >
> org.apache.openjpa.jdbc.kernel.exps.SelectConstructor.initialize(Select
> > C
> > > onstructor.java:180)
> > >        at
> > >
> >
> org.apache.openjpa.jdbc.kernel.exps.SelectConstructor.newSelect(SelectC
> > o
> > > nstructor.java:121)
> > >        at
> > >
> >
> org.apache.openjpa.jdbc.kernel.exps.SelectConstructor.evaluate(SelectCo
> > n
> > > structor.java:75)
> > >        Truncated. see log file for complete stacktrace
> > >
>

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