• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

schema name not found in depolyment descriptor

 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have an entity bean with textId (Integer), tagListId (Intger), data (clob). I have created a simple finder method with this code:

SELECT OBJECT(t) FROM Text AS t

This is the error that is being returned:

java.rmi.ServerException: java.rmi.RemoteException: [line 1, col 23] The schema name <Text> was not found in the deployment descriptor; nested exception is:
com.borland.ejb.ql.QueryError: [line 1, col 23] The schema name <Text> was not found in the deployment descriptor
at com.inprise.ejb.EJBHome$RemoteStrategyImpl.getSystemException(EJBHome.java:851)
at com.inprise.ejb.Dispatcher.doInvoke(Dispatcher.java:1407)
at com.inprise.ejb.Dispatcher.invokeSecurityCheck(Dispatcher.java:1023)
at com.inprise.ejb.Dispatcher.invoke(Dispatcher.java:816)
at com.inprise.ejb.Dispatcher.find(Dispatcher.java:695)
at com.inprise.ejb.EntityHome.doFind(EntityHome.java:221)
at com.inprise.ejb.EntityHome.find(EntityHome.java:235)
at com.inprise.ejb.EJBHome.invoke(EJBHome.java:369)
at com.inprise.ejb.EJBHome.access$300(EJBHome.java:6)
at com.inprise.ejb.EJBHome$RemoteStrategyImpl.invoke(EJBHome.java:740)
at text.TextRemoteHomePOAInvokeHandler.findTOCData(TextRemoteHomePOAInvokeHandler.java:36)
at text.TextRemoteHomePOAInvokeHandler.findTOCData(TextRemoteHomePOAInvokeHandler.java:107)
at text.TextRemoteHomePOA._invoke(TextRemoteHomePOA.java:62)
at text.TextRemoteHomePOA._invoke(TextRemoteHomePOA.java:44)
at com.inprise.vbroker.poa.POAImpl.invoke(POAImpl.java:2693)
at com.inprise.vbroker.poa.ActivationRecord.invoke(ActivationRecord.java:109)
at com.inprise.vbroker.poa.ServerInterceptorManager$ARWrapper.invoke(ServerInterceptorManager.java:110)
at com.inprise.vbroker.GIOP.GiopProtocolAdapter.doRequest(GiopProtocolAdapter.java:824)
at com.inprise.vbroker.IIOP.ServerProtocolAdapter.doRequest(ServerProtocolAdapter.java:68)
at com.inprise.vbroker.GIOP.GiopProtocolAdapter.dispatchMessage(GiopProtocolAdapter.java:1106)
at com.inprise.vbroker.orb.TPDispatcherImpl$TPDispatcher.run(TPDispatcherImpl.java:106)
at com.inprise.vbroker.orb.ThreadPool$PoolWorker.run(ThreadPool.java:76)
Caused by: com.borland.ejb.ql.QueryError: [line 1, col 23] The schema name <Text> was not found in the deployment descriptor
at com.borland.ejb.ql.QueryError.raiseQueryError(QueryError.java:139)
at com.borland.ejb.ql.QueryError.unknownSchemaName(QueryError.java:56)
at com.borland.ejb.ql.VariableDeclaration.attribute(VariableDeclaration.java:36)
at com.borland.ejb.ql.BaseAst.requiredType(BaseAst.java:106)
at com.borland.ejb.ql.SelectAst.attribute(SelectAst.java:47)
at com.borland.ejb.ql.QueryTranslater.translate(QueryTranslater.java:39)
at com.borland.ejb.pm.JdbcQlFinder.translateQuery(JdbcQlFinder.java:195)
at com.borland.ejb.pm.JdbcEntityManager.prepareJdbcQlFinder(JdbcEntityManager.java:460)
at com.borland.ejb.pm.JdbcEntityManager.getFinder(JdbcEntityManager.java:316)
at com.borland.ejb.pm.JdbcEntityManager.findCollection(JdbcEntityManager.java:828)
at com.borland.ejb.pm.JdbcEntityManager.findCollection(JdbcEntityManager.java:815)
at text.TextBean_PM.ejbFindTOCData(TextBean_PM.java:55)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.inprise.ejb.ConcreteMethod.invoke(ConcreteMethod.java:32)
at com.inprise.ejb.EJBContext.invoke(EJBContext.java:166)
at com.inprise.ejb.Dispatcher.doInvoke(Dispatcher.java:1301)
... 20 more
; nested exception is:
java.rmi.RemoteException: [line 1, col 23] The schema name <Text> was not found in the deployment descriptor; nested exception is:
com.borland.ejb.ql.QueryError: [line 1, col 23] The schema name <Text> was not found in the deployment descriptor-- Failed: findTOCData()
at text._TextRemoteHome_Stub.findTOCData(_TextRemoteHome_Stub.java:116)
at text.TextTestClient8.findTOCData(TextTestClient8.java:108)
at text.TextTestClient8.main(TextTestClient8.java:398)
Caused by: java.rmi.RemoteException: [line 1, col 23] The schema name <Text> was not found in the deployment descriptor; nested exception is:
com.borland.ejb.ql.QueryError: [line 1, col 23] The schema name <Text> was not found in the deployment descriptor
at com.inprise.vbroker.orb.DelegateImpl.handleReply(DelegateImpl.java:850)
at com.inprise.vbroker.orb.DelegateImpl.invoke(DelegateImpl.java:689)
at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:457)
at text._TextRemoteHome_Stub.findTOCData(_TextRemoteHome_Stub.java:26)
... 2 more
Caused by: com.borland.ejb.ql.QueryError: [line 1, col 23] The schema name <Text> was not found in the deployment descriptor
at com.borland.ejb.ql.QueryError.raiseQueryError(QueryError.java:139)
at com.borland.ejb.ql.QueryError.unknownSchemaName(QueryError.java:56)
at com.borland.ejb.ql.VariableDeclaration.attribute(VariableDeclaration.java:36)
at com.borland.ejb.ql.BaseAst.requiredType(BaseAst.java:106)
at com.borland.ejb.ql.SelectAst.attribute(SelectAst.java:47)
at com.borland.ejb.ql.QueryTranslater.translate(QueryTranslater.java:39)
at com.borland.ejb.pm.JdbcQlFinder.translateQuery(JdbcQlFinder.java:195)
at com.borland.ejb.pm.JdbcEntityManager.prepareJdbcQlFinder(JdbcEntityManager.java:460)
at com.borland.ejb.pm.JdbcEntityManager.getFinder(JdbcEntityManager.java:316)
at com.borland.ejb.pm.JdbcEntityManager.findCollection(JdbcEntityManager.java:828)
at com.borland.ejb.pm.JdbcEntityManager.findCollection(JdbcEntityManager.java:815)
at text.TextBean_PM.ejbFindTOCData(TextBean_PM.java:55)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.inprise.ejb.ConcreteMethod.invoke(ConcreteMethod.java:32)
at com.inprise.ejb.EJBContext.invoke(EJBContext.java:166)
at com.inprise.ejb.Dispatcher.doInvoke(Dispatcher.java:1301)
at com.inprise.ejb.Dispatcher.invokeSecurityCheck(Dispatcher.java:1023)
at com.inprise.ejb.Dispatcher.invoke(Dispatcher.java:816)
at com.inprise.ejb.Dispatcher.find(Dispatcher.java:695)
at com.inprise.ejb.EntityHome.doFind(EntityHome.java:221)
at com.inprise.ejb.EntityHome.find(EntityHome.java:235)
at com.inprise.ejb.EJBHome.invoke(EJBHome.java:369)
at com.inprise.ejb.EJBHome.access$300(EJBHome.java:6)
at com.inprise.ejb.EJBHome$RemoteStrategyImpl.invoke(EJBHome.java:740)
at text.TextRemoteHomePOAInvokeHandler.findTOCData(TextRemoteHomePOAInvokeHandler.java:36)
at text.TextRemoteHomePOAInvokeHandler.findTOCData(TextRemoteHomePOAInvokeHandler.java:107)
at text.TextRemoteHomePOA._invoke(TextRemoteHomePOA.java:62)
at text.TextRemoteHomePOA._invoke(TextRemoteHomePOA.java:44)
at com.inprise.vbroker.poa.POAImpl.invoke(POAImpl.java:2693)
at com.inprise.vbroker.poa.ActivationRecord.invoke(ActivationRecord.java:109)
at com.inprise.vbroker.poa.ServerInterceptorManager$ARWrapper.invoke(ServerInterceptorManager.java:110)
at com.inprise.vbroker.GIOP.GiopProtocolAdapter.doRequest(GiopProtocolAdapter.java:824)
at com.inprise.vbroker.IIOP.ServerProtocolAdapter.doRequest(ServerProtocolAdapter.java:68)
at com.inprise.vbroker.GIOP.GiopProtocolAdapter.dispatchMessage(GiopProtocolAdapter.java:1106)
at com.inprise.vbroker.orb.TPDispatcherImpl$TPDispatcher.run(TPDispatcherImpl.java:106)
at com.inprise.vbroker.orb.ThreadPool$PoolWorker.run(ThreadPool.java:76)
-- Return value from findTOCData(): null.
Exception = null

I have checked the deployment descriptor editor and can find the entity Text. I have created other finder methods without clobs and have had no problem.

can anyone set me straight???
 
I knew that guy would be trouble! Thanks tiny ad!
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic