Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

abstract schema name is not defined

 
Abbas Alafoo
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When I try to generate deployment code for the CMP EJB bean, I get an error message (Cannot Generate Code forDeployment) and the following dump.
I'm using EJB 1.1.
Any clues?

>com.ibm.etools.ejbdeploy.EJBDeploymentException (WQRY0025E: The abstract schema name KtbProduct is not defined
)
>com.ibm.etools.ejbdeploy.plugin.InternalErrorGenerationException (WQRY0025E: The abstract schema name KtbProduct is not defined
)
com.ibm.websphere.ejbquery.QueryException: WQRY0025E: The abstract schema name KtbProduct is not defined

at com.ibm.ObjectQuery.engine.OSQLMain.sqlParser(OSQLMain.java:421)
at com.ibm.ObjectQuery.engine.QueryProcessor.processQuery(QueryProcessor.java:684)
at com.ibm.ObjectQuery.IObjectQueryServiceImpl.prepareQuery(IObjectQueryServiceImpl.java:404)
at com.ibm.ObjectQuery.crud.schema.DataStoreMap.prepareOOSQLQuery(DataStoreMap.java:634)
at com.ibm.ObjectQuery.crud.schema.DataStoreMap.prepareOOSQLQuery(DataStoreMap.java:568)
at com.ibm.ObjectQuery.crud.queryplan.ReadQueryCreator.createOOSQLFinderQuery(ReadQueryCreator.java:175)
at com.ibm.ObjectQuery.crud.queryplan.ReadQueryCreator.createOOSQLFinderQuery(ReadQueryCreator.java:195)
at com.ibm.ObjectQuery.crud.queryplan.ReadQueryCreator.createOOSQLFinderQuery(ReadQueryCreator.java:198)
at com.ibm.etools.ejbdeploy.generators.mb.PersisterFinderMBGenerator.run(PersisterFinderMBGenerator.java:241)
at com.ibm.etools.codegen.BaseGenerator.runDependents(BaseGenerator.java(Compiled Code))
at com.ibm.etools.java.codegen.JavaMethodGenerator.getBody(JavaMethodGenerator.java(Compiled Code))
at com.ibm.etools.java.codegen.JavaMethodGenerator.generateMethod(JavaMethodGenerator.java(Compiled Code))
at com.ibm.etools.java.codegen.JavaMethodGenerator.calculateMergeResults(JavaMethodGenerator.java(Compiled Code))
at com.ibm.etools.java.codegen.JavaMethodGenerator.calculateMergeResults(JavaMethodGenerator.java(Compiled Code))
at com.ibm.etools.java.codegen.JavaMemberGenerator.analyze(JavaMemberGenerator.java(Compiled Code))
at com.ibm.etools.codegen.BaseGenerator.analyzeChildren(BaseGenerator.java(Compiled Code))
at com.ibm.etools.codegen.BaseGenerator.primAnalyze(BaseGenerator.java(Compiled Code))
at com.ibm.etools.java.codegen.JavaMemberGenerator.analyze(JavaMemberGenerator.java(Compiled Code))
at com.ibm.etools.java.codegen.JavaMemberGenerator.analyze(JavaMemberGenerator.java(Compiled Code))
at com.ibm.etools.codegen.BaseGenerator.analyzeChildren(BaseGenerator.java(Compiled Code))
at com.ibm.etools.java.codegen.JavaCompilationUnitGenerator.analyzeChildren(JavaCompilationUnitGenerator.java:656)
at com.ibm.etools.codegen.BaseGenerator.primAnalyze(BaseGenerator.java(Compiled Code))
at com.ibm.etools.codegen.BaseGenerator.analyze(BaseGenerator.java(Compiled Code))
at com.ibm.etools.java.codegen.JavaCompilationUnitGenerator.analyze(JavaCompilationUnitGenerator.java:125)
at com.ibm.etools.codegen.BaseGenerator.analyzeChildren(BaseGenerator.java(Compiled Code))
at com.ibm.etools.codegen.BaseGenerator.primAnalyze(BaseGenerator.java(Compiled Code))
at com.ibm.etools.codegen.BaseGenerator.analyze(BaseGenerator.java(Compiled Code))
at com.ibm.etools.ejbdeploy.plugin.EJBDeployOperation.deployCMP1_1(EJBDeployOperation.java:595)
at com.ibm.etools.ejbdeploy.plugin.EJBDeployOperation.deployCMP(EJBDeployOperation.java:540)
at com.ibm.etools.ejbdeploy.plugin.EJBDeployOperation.runCMP(EJBDeployOperation.java:1548)
at com.ibm.etools.ejbdeploy.plugin.EJBDeployOperation.run(EJBDeployOperation.java:1345)
at com.ibm.etools.j2ee.common.ui.RunnableWithProgressWrapper.run(RunnableWithProgressWrapper.java:58)
at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:299)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:249)
at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:376)
at com.ibm.etools.ejbdeploy.ui.plugin.DeployRMICBeansOperation.generateDeployCode(DeployRMICBeansOperation.java:245)
at com.ibm.etools.ejbdeploy.ui.plugin.DeployRMICBeansOperation.run(DeployRMICBeansOperation.java:555)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java(Compiled Code))
at com.ibm.etools.ejbdeploy.ui.plugin.DeployOneBeanMenuAction.run(DeployOneBeanMenuAction.java:196)
at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:210)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:407)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent(ActionContributionItem.java(Compiled Code))
at org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent(ActionContributionItem.java(Compiled Code))
at org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent(ActionContributionItem.java(Compiled Code))
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java(Compiled Code))
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java(Compiled Code))
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java(Compiled Code))
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java(Compiled Code))
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java(Compiled Code))
at org.eclipse.ui.internal.Workbench.run(Workbench.java:1326)
at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:831)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462)
at java.lang.reflect.Method.invoke(Native Method)
at org.eclipse.core.launcher.Main.basicRun(Main.java:247)
at org.eclipse.core.launcher.Main.run(Main.java:703)
at org.eclipse.core.launcher.Main.main(Main.java:539)
 
Bharat Ramchandani
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hopefully this link will help you. Am not much into ejb's
http://otn.oracle.com/sample_code/tutorials/fbs/eql/concepts.htm
 
Kyle Brown
author
Ranch Hand
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you SURE that you are using EJB 1.1? This strangely looks like an EJB-QL problem, which means you'd be using EJB 2.0 in WAS 5.0...
Kyle
 
Abbas Alafoo
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Kyle,
I'm using WSAD 5, but the EJB is imported within a jar file that I exported from WSAD 4.
while importing, it asked if I want to import it as EJB 1.1 or 2, I said 1.1
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic