Meaningless Drivel is fun!*
The moose likes Websphere and the fly likes abstract schema name is not defined Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "abstract schema name is not defined" Watch "abstract schema name is not defined" New topic
Author

abstract schema name is not defined

Abbas Alafoo
Greenhorn

Joined: Feb 06, 2003
Posts: 24
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)


SCJP
Bharat Ramchandani
Greenhorn

Joined: Feb 09, 2003
Posts: 21
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

Joined: Aug 10, 2001
Posts: 3879
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


Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
Abbas Alafoo
Greenhorn

Joined: Feb 06, 2003
Posts: 24
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: abstract schema name is not defined
 
Similar Threads
ejbdeploy exception
Not able to deploy Entity Bean..!!!
error in generating deploy RMIC code for entity bean
Urgent: Really weird CMP mapping problem with WSAD 4 and WAS 4
EJB Deployment problem