Location of a bean

Hi
I have a basic question about java beans.
I have created a bean class.
I use that bean class in one of my jsp pages, where is the bean object created ? on the server or the client.....
The reason I ask this question is, I have a database and i get a list of data from the database( required for all users) what i want to figure out is if i can make a vector as a static object in the bean class and populate that vector from the database only once, this way i can save multiple access to the database and also save memory in case this bean is located on the server.
thanx
deepak

I use that bean class in one of my jsp pages, where is the bean object
created ? on the server or the client.....Take a look at the acronym. JSP: Java server pages.
With JSP everything java related is on the server. As far as the client is concerned, it just gets back an html page (possibly with javascript in it)
i get a list of data from the database( required for all users) Sounds like you want to have your bean/list in application scope.
Application scope relates to the ServletContext attributes.
Application scope attributes are shared/accessible to all users of a web app.
// store the data
List myData = getMyDataFromWhereever();
ServletContext application = getServletConfig().getServletContext();
application.setAttribute("myGlobalData", myData);
// retrieving it
<jsp:useBean name="myGlobalData" class="java.util.List"/>
// or
List myData = (List) application.getAttribute("myGlobalData");Cheers,
evnafets

Similar Messages

  • Error calling Method on Managed Bean from another Managed Bean

    Hi
    (Jdev 11.1.1.2.0)
    Help please:
    I have a managed bean (page flow scope) which is used by my main page for dynamic region flow navigation:
    *public class RegionNavigationBean implements Serializable{*+
    private String dynamicTaskFlowId = "/WEB-INF/home-task-flow-definition.xml#home-task-flow-definition";+
    *public RegionNavigationBean() {*+
    *public TaskFlowId getDynamicTaskFlowId() {*+
    return TaskFlowId.parse(dynamicTaskFlowId);+
    *public void setDynamicTaskFlowId(String taskFlowId) {*+
    this.dynamicTaskFlowId = taskFlowId;+
    taskFlowId property on main page def is set to +*${pageFlowScope.regionNavigationBean.dynamicTaskFlowId}*+
    In a DB table (i.e. View Object on my model layer) I store a menu ID and a corresponding task_flow_id.
    Then I have created an action listener class (RegionNavigationListener - page flow scope) which I link to my menu items on my main page (action listener property on menu item = +*#{pageFlowScope.regionNavigationAction.processAction}*+ )
    In this action listener (processAction method), I retrieve the row set from the menu VO and find the record which matches my menu ID which caused the action event, thereby retrieving the task_flow_id which must be navigated to.
    I then try to retrieve the instance of the RegionNavigationBean with the following statement: RegionNavigationBean regNav = (RegionNavigationBean)JSFUtils.getManagedBeanValue("regionNavigationBean");+
    This seems to work fine, but as soon as I try and use this I get NullPointerException error, e.g.:
    regNav.setDynamicTaskFlowId(menusRow.gettaskFlowId());+
    or even:
    System.out.println("%%% " + regNav.toString());+
    This is all quite new to me... any help would be appreciated!
    Thanks
    Mario

    Hi Mario,
    I think JSFUtils.getManagedBeanValue(String) has difficult to evaluate the "regionNavigationBean" managed bean.
    What JSFUtils.getManagedBeanValue(String) do is important. I remember that "JSF scoped" bean can be found by JSF style find method, such as requestScope, sessionScope, applicationScope. For a managed bean put in these scope, scope prefix is not needed, for example: using #{beanName} to locate a requestScope bean. The #{requestScope} prefix is not needed.
    But pageFlowScope is different. If a bean is put in the pageFlowScope, you must use #{pageFlowScope.beanName} to locate it.
    Say, ManagedBean is the java class of your manged bean.
    FacesContext ctx = FacesContext.getCurrentInstance();
    Application app = ctx.getApplication();
    ManagedBean mb = (ManagedBean)app.evaluateExpressionGet(ctx, "#{pageFlowScope.managedBeanName}", ManagedBean.class);
    Hope it helps.
    Todd
    Edited by: Todd Bao on Nov 26, 2009 9:58 PM

  • Stateful Session Bean Question

    I have a stateful session bean being invoked by my web tier on several request/response transactions. What would be the best way to locate the same session bean ? Would that be the create method in the Home i/f or would i need to supply a finder method for locating an existing bean?

    Hi,
    Store HomeObject or EJB Object in the Session in the WebTier.
    Anil

  • How to attach a java bean in forms6i

    Hi,
    I am new to oracle forms6i. i just want to ask on how to attach a java bean to forms6i.i did putting the full directory path to the implementation class but it has an error, bean not found. what should i do?
    Your help is highly appreciated.

    The implementation class should contain the package and class name of the bean e.g. com.groundside.beans.DateFieldBean, not a directory location. The bean itself is loaded from the JAR files specified to be downloaded with the applet.
    If you are running client server then you can't use JavaBeans this way - it's a web only feature.

  • Can we define path for a bean out side work space?

    <bean id="HSBCMarketsReports"
                   class="HSBCMarketsReportsConfiguration">
                   <property name="reports">
                        <map>
                        <entry key="PinnacleReportsConfig" value="PinnacleReportsConfig.xml"/>
                        <entry key="PinnacleReportsData" value="PinnacleDummyData.xml"/>
                        </map>
                   </property>
         </bean>it works well but when make the same as
    <bean id="HSBCMarketsReports"
                   class="HSBCMarketsReportsConfiguration">
                   <property name="reports">
                        <map>
                        <entry key="PinnacleReportsConfig" value="PinnacleReportsConfig.xml"/>
                        <entry key="PinnacleReportsData" value="C:\PinnacleDummyData.xml"/>
                        </map>
                   </property>
         </bean>
    it says C:\PinnacleDummyData.xml not found i work space , how to make it look for the file out side work space (particularly given location)

    LoveOpensource wrote:
    <bean id="HSBCMarketsReports"
                   class="HSBCMarketsReportsConfiguration">
                   <property name="reports">
                        <map>
                        <entry key="PinnacleReportsConfig" value="PinnacleReportsConfig.xml"/>
                        <entry key="PinnacleReportsData" value="PinnacleDummyData.xml"/>
                        </map>
                   </property>
         </bean>it works well but when make the same as
    <bean id="HSBCMarketsReports"
                   class="HSBCMarketsReportsConfiguration">
                   <property name="reports">
                        <map>
                        <entry key="PinnacleReportsConfig" value="PinnacleReportsConfig.xml"/>
                        <entry key="PinnacleReportsData" value="C:\PinnacleDummyData.xml"/>
                        </map>
                   </property>
         </bean>
    it says C:\PinnacleDummyData.xml not found i work space , how to make it look for the file out side work space (particularly given location)Why dont you include the xml file in your workspace/web application?
    All these are custom tags, right? So somewhere in the code for the custom tags, it would load the xml file for parsing.
    There are different ways to load a file. The first is to use the absolute path (not recommended) and anyways I dont think your application does it that way because then your file would have been loaded even if it's outside the web application folder.
    The better approach is to load the file as a resource stream.
    The ServletContext object has a method getResourceAsStream() to load files from the web application path. But then the xml file has to be inside the web application and if this is indeed how your tags have been coded, you have no other option but to include the xml file in your web application.
    There is another way - to use the ClassLoader's getResourceAsStream() method. The ClassLoader looks up the classpath variable to search for files. In this case, you need to add your xml file location (c:/dir or whatever) to the application server's classpath. Look up in the startup scripts for your application.
    As I said, it all depends upon the tag code that looks up the xml file and whether you can tweak it.
    cheers,
    ram.

  • Problems with the Form Editor and beans.

    Hi All!
    I created some visual beans, added it to the palette, and made use of it using the form editor. But somehow, I decided to move the bean to another package. Now, the problem is when I try to build my project, the forms referencing that moved bean is not updated. They still show(as fully qualified class names) the old package location of the bean. In simple saying, they were not refactored together with the moved bean. Please Help Me With this...

    Bet you had errors during refactoring saying that the occurrence is in guarded section and can not be refactored.
    Try to replace old references in *.from/*.java files outside the IDE.

  • 60 Second Delays in Client Getting Entity Bean (after finder method)

    I am running WLS5.1 with SP10. I have a stateless EJB that gets a
    read-write BMP entity EJB. My test client that executes the stateless
    session bean periodically encounters long delays (60 seconds or more)
    when acquiring the entity bean using its finder method. Logging shows
    the finder method is executing properly, and typically takes 180 ms to
    locate the entity bean; however, from the stateless session beans side,
    it appears to take 60 seconds. The test client is only a single thread,
    so I know the pool is not depleted, or anything like that. Something
    appears to be going haywire with the container.
    Does anybody have an idea what might be going on?
    Thanks.
    Greg

    Hi Greg,
    On a whim, I tried the same test with the thin driver, and the same
    delay occurred. This time, instead of a rollback being at the top ofthe
    thread dump stack trace, it was in some other Oracle call, with the
    top of the stack trace being a socketreader.are you using MTS? Is the db-server a SMP-box? Which exact patch level
    does your Oracle instance have? If yes, can you try to force a dedicated
    server connection and see if the problem disappears? I guess for an OCI
    connection you will have to edit tnsnames.ora, for a
    thin-driver-connection you would have to modify the connect string to
    something like this:
    jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOS
    T=<dnsname>)(PORT=1521)))(CONNECT_DATA=(SID=<your
    sid>)(SERVER=DEDICATED))))
    There is a bug in 8.1.6.0 which is supposed to be fixed in 8.1.6.3, but
    I can still reproduce it in 9i :-(. It makes the MTS-dispatcher hang for
    60 seconds if you have an SMP box with low load, so maybe this could be
    your problem.
    Daniel
    -----Original Message-----
    From: Greg Crider [mailto:[email protected]]
    Posted At: Wednesday, November 28, 2001 8:17 AM
    Posted To: ejb
    Conversation: 60 Second Delays in Client Getting Entity Bean (after
    finder method)
    Subject: Re: 60 Second Delays in Client Getting Entity Bean (after
    finder method)
    My client has been using OCI in production and development
    with JTS for
    over a year now without a problem. We went to OCI because
    there was some
    other problem with the thin driver. I'm not sure what the
    problem was,
    but Oracle acknowledged it, but said it wouldn't be corrected until
    Oracle 9i came out. We're still using 8.1.6, so from what I'm
    told, we
    don't use the thin driver.
    On a whim, I tried the same test with the thin driver, and the same
    delay occurred. This time, instead of a rollback being at the
    top of the
    thread dump stack trace, it was in some other Oracle call, with the
    top of the stack trace being a socketreader.
    Somebody else suggested that there may be a problem with
    transactions.
    Does this ring a bell? Again, I have a stateless session bean
    invoking a
    read-write entity bean, invoking a read-only entity bean. From
    everything I read, including weblogic docs, I should just rely on my
    deployment descriptor to control transactions and stay away from JTA.
    Hi Greg,
    I remeber long ago there were an issue with jts/oci driver combination
    when the connections were opened but never used...
    Buy the way, are there any specific reasons to use OCI instead of
    thin driver?
    "Greg Crider" <[email protected]> wrote in message
    news:[email protected]...
    I know. That's what I don't get. BTW Slava, I am using the
    latest OCI
    driver; thanks for the suggestion. I tried tweaking some of the Solaris
    kernel settings as relates to TCP, but that didn't clear up the problem
    either; however, it did change the frequency. Modifying the retransmit
    settings (very small values, sub 1.5 seconds) seemed to make it occur
    less frequently.
    It seems like its time for me to contact BEA Support and see what they
    can turn up. Thanks for the suggestions. If anybody else has an idea,
    let me know. I'm betting this is a simple, stupid config problem. I'll
    post back here when I find out what's up.
    But for some reason WebLogic code called the rollback:
    ... rollback
    at
    weblogic.jdbc.common.internal.ConnectionEnv.cleanup(Connection
    Env.java:499)
    at
    weblogic.jdbc.common.internal.ConnectionEnv.destroy(Connection
    Env.java:417)
    at
    weblogic.jdbc.common.internal.ConnectionEnv.destroy(Connection
    Env.java:393)
    at weblogic.jdbcbase.jts.Connection.close(Connection.java:274)
    at weblogic.jdbcbase.jts.Connection.commit(Connection.java:530)
    at
    weblogic.jdbcbase.jts.TxConnection.commitOnePhase(TxConnection
    .java:55)
    at
    weblogic.jts.internal.CoordinatorImpl.commitSecondPhase(Coordi
    natorImpl.java
    :484)
    at
    weblogic.jts.internal.CoordinatorImpl.commit(CoordinatorImpl.java:383)
    at weblogic.jts.internal.TxContext.commit(TxContext.java:255)
    Slava Imeshev <[email protected]> wrote:
    Hi Greg,
    Which version of OCI driver do you use? OCI driver proved to be
    not that stable as the thin driver. Could you try to download
    and to install the latest version of the OCI driver and
    let us know
    if it helps?
    Regards,
    Slava Imeshev
    [email protected]
    "Greg Crider" <[email protected]> wrote in message
    news:[email protected]...
    Yup, get fresh connection from the db connection pool,
    and close it
    >when
    I'm done. The logs don't indicate that I've ever exhausted the
    connection pool.
    It's interesting to note these problems are occurring on
    Solaris with
    Oracle OCI connections. Running the same code under Linux with thin
    driver connections works just fine.
    Weird. Do you obtain database connection from a
    datasource and close
    >it
    every time
    you use it?
    Greg Crider <[email protected]> wrote:
    Okay, this appears to be the offending thread. As it
    turns out, the
    >same
    behavior as first described in my initial post, is
    occurring this
    >time
    in the
    business method of the entity bean, as opposed to the
    finder. The
    getNextURL() is the business method in this case. I am using BMP, and
    the
    ejbLoad() and ejbStore() methods are not throwing any
    SQLExceptions.
    Also, I
    don't see anything in the error logs that indicate a
    EJB transaction
    failure.
    This being the case, why would an Oracle rollback be
    attempted? Am I
    misinterpretting this stack trace?
    "ExecuteThread-67" daemon prio=5 tid=0x14e300 nid=0x51 runnable
    [0xe7880000..0xe7881a30]
    at oracle.jdbc.oci8.OCIDBAccess.do_rollback(Native Method)
    at oracle.jdbc.oci8.OCIDBAccess.rollback(OCIDBAccess.java:417)
    at
    oracle.jdbc.driver.OracleConnection.rollback(OracleConnection.java:510)
    at
    weblogic.jdbc.common.internal.ConnectionEnv.cleanup(ConnectionEnv.java:4
    >99
    at
    weblogic.jdbc.common.internal.ConnectionEnv.destroy(Conne
    ctionEnv.java:4
    >17
    at
    weblogic.jdbc.common.internal.ConnectionEnv.destroy(Conne
    ctionEnv.java:3
    >93
    at weblogic.jdbcbase.jts.Connection.close(Connection.java:274)
    at weblogic.jdbcbase.jts.Connection.commit(Connection.java:530)
    at
    weblogic.jdbcbase.jts.TxConnection.commitOnePhase(TxConnec
    tion.java:55)
    at
    weblogic.jts.internal.CoordinatorImpl.commitSecondPhase(CoordinatorImpl.
    >ja
    va:484)
    at
    weblogic.jts.internal.CoordinatorImpl.commit(CoordinatorIm
    pl.java:383)
    at weblogic.jts.internal.TxContext.commit(TxContext.java:255)
    at
    weblogic.ejb.internal.StatefulEJBObject.postInvokeOurTx(StatefulEJBObjec
    >t.
    java:320)
    at
    weblogic.ejb.internal.BaseEJBObject.postInvoke(BaseEJBObje
    ct.java:845)
    at
    com.pi.speechport.ETO.LoadShare.ETOLoadShareEJBEOImpl.getNextURL(ETOLoad
    >Sh
    areEJBEOImpl.java:114)
    at
    com.pi.speechport.ETO.Transcription.ETOTranscriptionBusin
    ess.getVendorUR
    >L(
    ETOTranscriptionBusiness.java:146)
    at
    com.pi.speechport.ETO.Transcription.ETOTranscriptionBusin
    ess.transcribe(
    >ET
    OTranscriptionBusiness.java:193)
    at
    com.pi.speechport.ETO.Transcription.ETOTranscriptionEJBEO
    Impl.transcribe
    >(E
    TOTranscriptionEJBEOImpl.java:188)
    at
    com.pi.speechport.ETO.Transcription.ETOTranscriptionEJBEO
    Impl_WLSkel.inv
    >ok
    e(ETOTranscriptionEJBEOImpl_WLSkel.java:223)
    at
    weblogic.rmi.extensions.BasicServerObjectAdapter.invoke(B
    asicServerObjec
    >tA
    dapter.java:347)
    at
    weblogic.rmi.extensions.BasicRequestHandler.handleRequest
    (BasicRequestHa
    >nd
    ler.java:86)
    at
    weblogic.rmi.internal.BasicExecuteRequest.execute(BasicEx
    ecuteRequest.ja
    >va
    :15)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)
    Dimitri Rakitine wrote:
    Make a thread dump during these 60 seconds to see
    what server is
    >doing.
    Greg Crider <[email protected]> wrote:
    I am running WLS5.1 with SP10. I have a stateless
    EJB that gets a
    read-write BMP entity EJB. My test client that executes the
    stateless
    session bean periodically encounters long delays (60
    seconds or
    >more)
    when acquiring the entity bean using its finder
    method. Logging
    >shows
    the finder method is executing properly, and
    typically takes 180 ms
    >to
    locate the entity bean; however, from the stateless
    session beans
    side,
    it appears to take 60 seconds. The test client is
    only a single
    thread,
    so I know the pool is not depleted, or anything like that.
    Something
    appears to be going haywire with the container.
    Does anybody have an idea what might be going on?
    Thanks.
    Greg
    Dimitri
    Greg
    >__
    GREGORY K. CRIDER, Emerging Digital Concepts
    Systems Integration/Enterprise Solutions/Web &
    Telephony Integration
    (e-mail) [email protected]
    (web) http://www.EmergingDigital.com
    (voicemail) 866-474-4147
    (phone) 703-335-0974
    (cell) 703-851-5073
    (fax) 703-365-0223

  • Find all beans referenced on a JSF page for PhaseListener

    I am trying to implement a PhaseListener to do some application specific stuff just before the render response phase. I am trying to find all of the managed beans referenced in the currently executing JSF page. So for example, if I had this in a page:
    <h:selectOneListBox id="foo" value="#{foo.bar}">
      <f:selectItems value="#{bazz.list}"/>
    </h:selectOneListBox>I would want to be able to locate both the beans "foo" and "bazz" (both are managed beans) inside the PhaseListener without using their names (unless I can first discover all the names referenced on the page).
    Basically, I am looking for a generic way to process all managed beans that are used on a page just before the response is rendered.. Anyone have any ideas on this?

    Do something likepublic class MyPhaseListener implements PhaseListener {
        public void beforePhase(PhaseEvent event) {
            // Do nothing.
        public void afterPhase(PhaseEvent event) {
            List children = (List) ((ArrayList) event.getFacesContext().getViewRoot().getChildren()).clone();
            List bindings = new ArrayList();
            for (Iterator iter = children.iterator(); iter.hasNext();) {
                UIComponent component = (UIComponent) iter.next();
                children.addAll(component.getChildren());
                ValueBinding binding = component.getValueBinding("value"); // Get the "value" attribute.
                if (binding != null) {
                    bindings.add(binding.getExpressionString()); // Get the EL string, eg. #{myBean.value}.
            // Do your thing with the bindings.
        public PhaseId getPhaseId() {
            return PhaseId.RENDER_RESPONSE;
    }

  • Help requested: call session bean over network

    Hi
    I want to know how to call a session bean on the application server from a normal java program on another machine on the network.
    I plan to create a stateful bean in the application server; Make it return its context ( i assume i need to serialise it before sending the context over) to my program. Alternatively I can try to send the EJB handle back.
    once my program gets the context or the handle back, I will create a new stateless bean in the application server and pass this context or handle so that it can locate the stateful bean to get the data in it
    please advise
    thanx
    Gaurav
    ps> I know the issue involves RMI and security issues but I dont know in depth exactly how to go about it .

    Just code a simple client and hit the EJB. (Assuming the m/c is in the LAN).
    If there is a firewall between the m/cs, i am sorry my dear friend you will have to go extra miles to do so.
    Refer to:
    http://www.ftponline.com/javapro/2002_09/online/j2ee_asankaran_09_03_02/default_pf.aspx
    Kshitij.

  • Local Interfaces & location transparency

    hi,
    i would realy like to hear your oppinions on this:
    How does local interfaces go along with ejb location transparency ?
    When using local objects, arn't you compromising location transparency
    because you are stating, that this bean runs on the same vm as your client bean. Using remote calls, the client does not make any assumptions as to the location of the bean it is accessing.
    How does this go along with like bean-level fail-over stategies, load balancing or other concepts based in distributing beans over different servers.
    Thanks for any insights
    volker

    I must admit that I've not thought about this all that much before!
    You're right that it assumes that the local bean is indeed local. There are mitigations (in my opinion) for this not being as crucial as for a remote bean.
    A local bean is really just the halfway-house between a remote EJB and vanilla Java code. It provides various conveniences needed for the construction of enterprise applications but addresses the overhead inherent in a typical remote EJB.
    So why not simply use a Java class that's not a local EJB? That's always an option but you'd be losing the ability of that code to participate with the EJB session in a transparent fashion.
    The severity of not having bean-level failover etc. is perhaps marginal as the bean is already being invoked from a scaleable component (a remote EJB). Under what circumstances would the local bean fail but the calling remote bean be able to continue? There are undoubtedly some cases where even this wouldn't be sufficient but in such cases a remote EJB is still available to the application developer.
    At the end of the day it's a fairly straightforward compromise between flexibility and performance.
    The benefits of local beans are hopefully clear (and no doubt espoused in the EJB spec) and the costs are pretty much as you've described.
    I, too, would be interested to hear other people's opinions...

  • Urgent - (session bean calling Entity bean )Help Need for me - Plzzzzzzzzzz

    Hi
    I am created two beans one is Entity bean another one is session . the two beans deployed using diffrent jar files
    . I call the Entity bean methods using session bean
    But i couldn't locate the entity bean Home object through session bean(
    Sub is created but i couldn't get it that home obj stub)
    i get the following error messgae CorbaBad Operation
    i deployed two bean using same jar means my program is working
    Help meeeeeee

    I Send part of code to u
    public String logic1(rsp.ejbbm.ex.studVO s) {
              rsp.ejbbm.student.studentRemote r=null;
              String id = null;
              try {
    System.out.println("sdfsdfsdfs");
              Object obj = ctx.lookup("ejb/student");
              System.out.println("Lookup Succeded ");
              System.out.println("Object value" +obj.toString());
    /// HERE I GOT THE ERRO I COULDn'T Locate IT
    EJBHome obj1 =(EJBHome)javax.rmi.PortableRemoteObject.narrow(obj,rsp.ejbbm.student.studentHome.class);
              System.out.println("Object value" +obj1.toString());
              rsp.ejbbm.student.studentHome home=(rsp.ejbbm.student.studentHome)obj1;
              //studentHome hom=(studentHome)ctx.lookup("ejb/student");
         System.out.println("Object value" +obj.toString() );
         System.out.println("Lookup Converted ");
              home.create(s.getRollno(),s.getName());
              System.out.println("student Record isInserted in Oracle ");
              r= (rsp.ejbbm.student.studentRemote) home.findByPrimaryKey(s.getRollno());
              System.out.println("Student 5555 Name is "+ r.getName());
              id = r.getName();
              catch(Exception e ){
              System.out.println(e.toString());}
              return id;
    * @see javax.ejb.SessionSynchronization#afterBegin()
    public void afterBegin() {
    * @see javax.ejb.SessionSynchronization#afterCompletion(boolean)
    public void afterCompletion(boolean committed) {
    * @see javax.ejb.SessionSynchronization#beforeCompletion()
    public void beforeCompletion() {
    * See section 7.10.3 of the EJB 2.0 specification
    public void ejbCreate() {
              Properties p = new Properties();
              p.put("java.naming.factory.initial", "com.sun.jndi.cosnaming.CNCtxFactory");
              try{
         ctx = new InitialContext(p);
         catch(Exception e) {System.out.println("Create Exception "+e.toString());}
    }

  • Error in deploying EJB to oc4j 10g standalone

    Trying to deploy a simple EJB created with JDeveloper (version - 9.0.5.0.0 Build 1375 ) wizard for Dept table ( just two columns). When I try to deploy it to stand alone OC4J ( 10g ) version - Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview (build 030829.1701)
    I get following error: Any thoughts?
    ---- Deployment started. ---- Oct 8, 2003 2:38:05 PM
    Target platform is Standalone OC4J (AppServerConnection1).
    Wrote EJB JAR file to D:\JDev10g\jdev\mywork\Application2\Model\deploy\ejb2.jar
    Wrote EAR file to D:\JDev10g\jdev\mywork\Application2\Model\deploy\ejb2.ear
    Invoking OC4J admin tool...
    D:\JDev10g\jdk\jre\bin\javaw.exe -jar D:\JDev10g\j2ee\home\admin.jar ormi://localhost/ admin **** -deploy -file D:\JDev10g\jdev\mywork\Application2\Model\deploy\ejb2.ear -deploymentName ejb2
    Notification ==> Application Deployer for ejb2 STARTS [ 2003-10-08T14:38:07.383EDT ]
    Notification ==> Undeploy previous deployment
    Notification ==> Copy the archive to D:\oc4j10g\j2ee\home\applications\ejb2.ear
    Notification ==> Unpacking ejb2.ear
    Notification ==> Done unpacking ejb2.ear
    Notification ==> Initialize ejb2.ear begins...
    Notification ==> Initialize ejb2.ear ends...
    Notification ==> Processing EJB module ejb2.jar
    Notification ==> Compiling EJB generated code
    Notification ==> ERROR
    com.evermind.compiler.CompilationException: Syntax error in source
         at com.evermind.compiler.FileLinkedCompilation.loadObjects(FileLinkedCompilation.java:201)
         at com.evermind.compiler.FileLinkedCompilation.run(FileLinkedCompilation.java:142)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.evermind.compiler.FileLinkedCompiler.compile(FileLinkedCompiler.java:63)
         at com.evermind.server.ejb.compilation.Compilation.compileClasses(Compilation.java:430)
         at com.evermind.server.ejb.compilation.Compilation.compile(Compilation.java:248)
         at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:1668)
         at com.evermind.server.Application.postInit(Application.java:635)
         at com.evermind.server.Application.setConfig(Application.java:206)
         at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1654)
         at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(ApplicationDeployer.java:414)
         at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:132)
         at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:76)
         at com.evermind.server.administration.DefaultApplicationServerAdministrator.internalDeploy(DefaultApplicationServerAdministrator.java:378)
         at com.evermind.server.administration.DefaultApplicationServerAdministrator.deploy(DefaultApplicationServerAdministrator.java:278)
         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.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:140)
         at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:54)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:199)
         at java.lang.Thread.run(Thread.java:534)
    Exit status of OC4J admin tool (-deploy): 0
    Elapsed time for deployment: 5 seconds
    ---- Deployment finished. ---- Oct 8, 2003 2:38:10 PM

    This is ths stack trace on the console. It seems it is looking for Toplink CMP. I did not do any Toplink configuration unless Toplink CMP is default. Do I need to switch to native CMP. If yes how?
    thanks
    Ravi
    D:\oc4j10g\j2ee\home>java -jar oc4j.jar
    03/10/14 12:27:05 Node started with id=25939003222084
    03/10/14 12:27:08 Auto-deploying ../../home/applications/OrderManagement.jar (Class 'orderMgmt.Order
    Management' had been updated)... done.
    03/10/14 12:27:59 Auto-deploying ejb1.jar (No previous deployment found)... java.lang.RuntimeExcepti
    on: Exception [EJB - 10036]: Error during code generation: [Exception [TOPLINK-14028] (TopLink (Orac
    le OC4J CMP) - 10g (10.0.3) Developer Preview (Build 030826.1654)): oracle.toplink.ejb.DeploymentExc
    eption
    Exception Description: The descriptor for [gov.va.med.ohrs.model.DeptBean] does not contain a corres
    ponding mapping for the container managed attribute [deptno].]
    server stacktrace is:
    Local Exception Stack:
    Exception [TOPLINK-14028] (TopLink (Oracle OC4J CMP) - 10g (10.0.3) Developer Preview (Build 030826.
    1654)): oracle.toplink.ejb.DeploymentException
    Exception Description: The descriptor for [gov.va.med.ohrs.model.DeptBean] does not contain a corres
    ponding mapping for the container managed attribute [deptno].
    at oracle.toplink.ejb.DeploymentException.noSuchMapping(DeploymentException.java:257)
    at oracle.toplink.internal.ejb.cmp.oc4j.Oc4jCodeGenPlatform.addPersistentAttributesAndMethod
    s(Oc4jCodeGenPlatform.java:623)
    at oracle.toplink.internal.ejb.cmp.codegen.CmpCodeGenPlatform.addContainerManagedAttributesA
    ndMethods(CmpCodeGenPlatform.java:291)
    at oracle.toplink.internal.ejb.cmp.oc4j.Oc4jCodeGenPlatform.generateConcreteClass(Oc4jCodeGe
    nPlatform.java:745)
    at oracle.toplink.internal.ejb.cmp.codegen.ConcreteClassGenerator.generateConcreteClass(Conc
    reteClassGenerator.java:33)
    at oracle.toplink.internal.ejb.cmp.PersistenceManagerBase.generateBeanSubclass(PersistenceMa
    nagerBase.java:176)
    at oracle.toplink.internal.ejb.cmp.oc4j.Oc4jPersistenceManager.generateBeanSubclass(Oc4jPers
    istenceManager.java:119)
    at com.evermind.server.ejb.deployment.EJBPackage.notifyPMs(EJBPackage.java:2332)
    at com.evermind.server.ejb.compilation.Compilation.compile(Compilation.java:227)
    at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:1668)
    at com.evermind.server.Application.postInit(Application.java:635)
    at com.evermind.server.Application.setConfig(Application.java:206)
    at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1654)
    at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1621)
    at com.evermind.server.ApplicationServer.initializeApplications(ApplicationServer.java:1594)
    at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1226)
    at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:93)
    at java.lang.Thread.run(Thread.java:534)
    03/10/14 12:28:00 at oracle.toplink.internal.ejb.cmp.EJBExceptionFactory.errorDuringCodeGen(EJ
    BExceptionFactory.java:399)
    03/10/14 12:28:00 at oracle.toplink.internal.ejb.cmp.PersistenceManagerBase.generateBeanSubcla
    ss(PersistenceManagerBase.java:182)
    03/10/14 12:28:00 at oracle.toplink.internal.ejb.cmp.oc4j.Oc4jPersistenceManager.generateBeanS
    ubclass(Oc4jPersistenceManager.java:119)
    03/10/14 12:28:00 at com.evermind.server.ejb.deployment.EJBPackage.notifyPMs(EJBPackage.java:2
    332)
    03/10/14 12:28:00 at com.evermind.server.ejb.compilation.Compilation.compile(Compilation.java:
    227)
    03/10/14 12:28:00 at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:1668)
    03/10/14 12:28:00 at com.evermind.server.Application.postInit(Application.java:635)
    03/10/14 12:28:00 at com.evermind.server.Application.setConfig(Application.java:206)
    03/10/14 12:28:00 at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.ja
    va:1654)
    03/10/14 12:28:00 at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.ja
    va:1621)
    03/10/14 12:28:00 at com.evermind.server.ApplicationServer.initializeApplications(ApplicationS
    erver.java:1594)
    03/10/14 12:28:00 at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:12
    26)
    03/10/14 12:28:00 at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLaunch
    er.java:93)
    03/10/14 12:28:00 at java.lang.Thread.run(Thread.java:534)
    03/10/14 12:28:00 caught exception notifying PPMs operation[GENERATE_CODE]: Exception [EJB - 10036]:
    Error during code generation: [Exception [TOPLINK-14028] (TopLink (Oracle OC4J CMP) - 10g (10.0.3)
    Developer Preview (Build 030826.1654)): oracle.toplink.ejb.DeploymentException
    Exception Description: The descriptor for [gov.va.med.ohrs.model.DeptBean] does not contain a corres
    ponding mapping for the container managed attribute [deptno].]
    server stacktrace is:
    Local Exception Stack:
    Exception [TOPLINK-14028] (TopLink (Oracle OC4J CMP) - 10g (10.0.3) Developer Preview (Build 030826.
    1654)): oracle.toplink.ejb.DeploymentException
    Exception Description: The descriptor for [gov.va.med.ohrs.model.DeptBean] does not contain a corres
    ponding mapping for the container managed attribute [deptno].
    at oracle.toplink.ejb.DeploymentException.noSuchMapping(DeploymentException.java:257)
    at oracle.toplink.internal.ejb.cmp.oc4j.Oc4jCodeGenPlatform.addPersistentAttributesAndMethod
    s(Oc4jCodeGenPlatform.java:623)
    at oracle.toplink.internal.ejb.cmp.codegen.CmpCodeGenPlatform.addContainerManagedAttributesA
    ndMethods(CmpCodeGenPlatform.java:291)
    at oracle.toplink.internal.ejb.cmp.oc4j.Oc4jCodeGenPlatform.generateConcreteClass(Oc4jCodeGe
    nPlatform.java:745)
    at oracle.toplink.internal.ejb.cmp.codegen.ConcreteClassGenerator.generateConcreteClass(Conc
    reteClassGenerator.java:33)
    at oracle.toplink.internal.ejb.cmp.PersistenceManagerBase.generateBeanSubclass(PersistenceMa
    nagerBase.java:176)
    at oracle.toplink.internal.ejb.cmp.oc4j.Oc4jPersistenceManager.generateBeanSubclass(Oc4jPers
    istenceManager.java:119)
    at com.evermind.server.ejb.deployment.EJBPackage.notifyPMs(EJBPackage.java:2332)
    at com.evermind.server.ejb.compilation.Compilation.compile(Compilation.java:227)
    at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:1668)
    at com.evermind.server.Application.postInit(Application.java:635)
    at com.evermind.server.Application.setConfig(Application.java:206)
    at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1654)
    at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1621)
    at com.evermind.server.ApplicationServer.initializeApplications(ApplicationServer.java:1594)
    at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1226)
    at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:93)
    at java.lang.Thread.run(Thread.java:534)
    Dept_RemoteEntityBeanWrapper2.java:408: cannot resolve symbol
    symbol : class Dept_ConcreteSubClass0
    location: class Dept_RemoteEntityBeanWrapper2
    Dept_ConcreteSubClass0 object;
    ^
    DeptLocal_LocalEntityBeanWrapper0.java:401: cannot resolve symbol
    symbol : class Dept_ConcreteSubClass0
    location: class DeptLocal_LocalEntityBeanWrapper0
    Dept_ConcreteSubClass0 object;
    ^
    Dept_RemoteEntityBeanWrapper2.java:60: cannot resolve symbol
    symbol : class Dept_ConcreteSubClass0
    location: class Dept_RemoteEntityBeanWrapper2
    response = ((Dept_ConcreteSubClass0)context.getBean()).getDeptno();
    ^
    Dept_RemoteEntityBeanWrapper2.java:147: cannot resolve symbol
    symbol : class Dept_ConcreteSubClass0
    location: class Dept_RemoteEntityBeanWrapper2
    ((Dept_ConcreteSubClass0)context.getBean()).setDeptno( argument0);
    ^
    Dept_RemoteEntityBeanWrapper2.java:218: cannot resolve symbol
    symbol : class Dept_ConcreteSubClass0
    location: class Dept_RemoteEntityBeanWrapper2
    response = ((Dept_ConcreteSubClass0)context.getBean()).getDname();
    ^
    Dept_RemoteEntityBeanWrapper2.java:289: cannot resolve symbol
    symbol : class Dept_ConcreteSubClass0
    location: class Dept_RemoteEntityBeanWrapper2
    ((Dept_ConcreteSubClass0)context.getBean()).setDname( argument0);
    ^
    Dept_RemoteEntityBeanWrapper2.java:422: cannot resolve symbol
    symbol : class Dept_ConcreteSubClass0
    location: class Dept_RemoteEntityBeanWrapper2
    this.object = (Dept_ConcreteSubClass0)context.object;
    ^
    DeptHome_RemoteEntityHomeWrapper3.java:65: cannot resolve symbol
    symbol : class Dept_ConcreteSubClass0
    location: class DeptHome_RemoteEntityHomeWrapper3
    Dept_ConcreteSubClass0 bean = (Dept_ConcreteSubClass0)ctx.object;
    ^
    DeptHome_RemoteEntityHomeWrapper3.java:65: cannot resolve symbol
    symbol : class Dept_ConcreteSubClass0
    location: class DeptHome_RemoteEntityHomeWrapper3
    Dept_ConcreteSubClass0 bean = (Dept_ConcreteSubClass0)ctx.object;
    ^
    DeptHome_RemoteEntityHomeWrapper3.java:69: cannot resolve symbol
    symbol : class Dept_ConcreteSubClass0
    location: class DeptHome_RemoteEntityHomeWrapper3
    bean = (Dept_ConcreteSubClass0)context.getBean();
    ^
    DeptHome_RemoteEntityHomeWrapper3.java:434: cannot resolve symbol
    symbol : class Dept_ConcreteSubClass0
    location: class DeptHome_RemoteEntityHomeWrapper3
    return (EntityBean) new Dept_ConcreteSubClass0();
    ^
    DeptLocal_LocalEntityBeanWrapper0.java:60: cannot resolve symbol
    symbol : class Dept_ConcreteSubClass0
    location: class DeptLocal_LocalEntityBeanWrapper0
    response = ((Dept_ConcreteSubClass0)context.getBean()).getDeptno();
    ^
    DeptLocal_LocalEntityBeanWrapper0.java:141: cannot resolve symbol
    symbol : class Dept_ConcreteSubClass0
    location: class DeptLocal_LocalEntityBeanWrapper0
    ((Dept_ConcreteSubClass0)context.getBean()).setDeptno( argument0);
    ^
    DeptLocal_LocalEntityBeanWrapper0.java:212: cannot resolve symbol
    symbol : class Dept_ConcreteSubClass0
    location: class DeptLocal_LocalEntityBeanWrapper0
    response = ((Dept_ConcreteSubClass0)context.getBean()).getDname();
    ^
    DeptLocal_LocalEntityBeanWrapper0.java:283: cannot resolve symbol
    symbol : class Dept_ConcreteSubClass0
    location: class DeptLocal_LocalEntityBeanWrapper0
    ((Dept_ConcreteSubClass0)context.getBean()).setDname( argument0);
    ^
    DeptLocal_LocalEntityBeanWrapper0.java:415: cannot resolve symbol
    symbol : class Dept_ConcreteSubClass0
    location: class DeptLocal_LocalEntityBeanWrapper0
    this.object = (Dept_ConcreteSubClass0)context.object;
    ^
    DeptLocalHome_LocalEntityHomeWrapper1.java:65: cannot resolve symbol
    symbol : class Dept_ConcreteSubClass0
    location: class DeptLocalHome_LocalEntityHomeWrapper1
    Dept_ConcreteSubClass0 bean = (Dept_ConcreteSubClass0)ctx.object;
    ^
    DeptLocalHome_LocalEntityHomeWrapper1.java:65: cannot resolve symbol
    symbol : class Dept_ConcreteSubClass0
    location: class DeptLocalHome_LocalEntityHomeWrapper1
    Dept_ConcreteSubClass0 bean = (Dept_ConcreteSubClass0)ctx.object;
    ^
    DeptLocalHome_LocalEntityHomeWrapper1.java:69: cannot resolve symbol
    symbol : class Dept_ConcreteSubClass0
    location: class DeptLocalHome_LocalEntityHomeWrapper1
    bean = (Dept_ConcreteSubClass0)context.getBean();
    ^
    DeptLocalHome_LocalEntityHomeWrapper1.java:370: cannot resolve symbol
    symbol : class Dept_ConcreteSubClass0
    location: class DeptLocalHome_LocalEntityHomeWrapper1
    return (EntityBean) new Dept_ConcreteSubClass0();
    ^
    20 errors
    Error compiling D:\oc4j10g\j2ee\home\applications\ejb1/ejb1.jar: Syntax error in source
    03/10/14 12:28:04 java.lang.RuntimeException: PM generated class Dept_ConcreteSubClass0not found: De
    pt_ConcreteSubClass0
    03/10/14 12:28:04 at com.oracle.server.ejb.container.deployment.EntityDescriptorImpl.getConcre
    teBeanClass(EntityDescriptorImpl.java:131)
    03/10/14 12:28:04 at oracle.toplink.internal.ejb.cmp.oc4j.Oc4jDescriptorBuilder.buildDescripto
    rPostCodeGen(Oc4jDescriptorBuilder.java:64)
    03/10/14 12:28:04 at oracle.toplink.internal.ejb.cmp.api.impl.DescriptorBuilder.buildEntityDes
    criptorsPostCodeGen(DescriptorBuilder.java:115)
    03/10/14 12:28:04 at oracle.toplink.internal.ejb.cmp.api.impl.EntityDescriptorImpl.initPostCod
    eGen(EntityDescriptorImpl.java:369)
    03/10/14 12:28:04 at oracle.toplink.internal.ejb.cmp.api.impl.EntityDescriptorImpl.getConcrete
    BeanClass(EntityDescriptorImpl.java:148)
    03/10/14 12:28:04 at oracle.toplink.internal.ejb.cmp.EJBFactory.initializePrimaryKeyFields(EJB
    Factory.java:335)
    03/10/14 12:28:04 at oracle.toplink.internal.ejb.cmp.EJBFactory.<init>(EJBFactory.java:52)
    03/10/14 12:28:04 at oracle.toplink.internal.ejb.cmp.oc4j.Oc4jEJBFactory.<init>(Oc4jEJBFactory
    .java:20)
    03/10/14 12:28:04 at oracle.toplink.internal.ejb.cmp.oc4j.Oc4jPersistenceManager.createEJBFact
    ory(Oc4jPersistenceManager.java:666)
    03/10/14 12:28:04 at oracle.toplink.internal.ejb.cmp.PersistenceManagerBase.preDeploy(Persiste
    nceManagerBase.java:102)
    03/10/14 12:28:04 at oracle.toplink.internal.ejb.cmp.oc4j.Oc4jPersistenceManager.postInit(Oc4j
    PersistenceManager.java:152)
    03/10/14 12:28:04 at com.evermind.server.ejb.deployment.EJBPackage.notifyPMs(EJBPackage.java:2
    338)
    03/10/14 12:28:04 at com.evermind.server.ejb.EJBPackageDeployment.notifyPMs(EJBPackageDeployme
    nt.java:1106)
    03/10/14 12:28:04 at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:1758)
    03/10/14 12:28:04 at com.evermind.server.Application.postInit(Application.java:635)
    03/10/14 12:28:04 at com.evermind.server.Application.setConfig(Application.java:206)
    03/10/14 12:28:04 at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.ja
    va:1654)
    03/10/14 12:28:04 at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.ja
    va:1621)
    03/10/14 12:28:04 at com.evermind.server.ApplicationServer.initializeApplications(ApplicationS
    erver.java:1594)
    03/10/14 12:28:04 at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:12
    26)
    03/10/14 12:28:04 at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLaunch
    er.java:93)
    03/10/14 12:28:04 at java.lang.Thread.run(Thread.java:534)
    03/10/14 12:28:04 caught exception notifying PPMs operation[POSTINIT]: PM generated class Dept_Concr
    eteSubClass0not found: Dept_ConcreteSubClass0
    03/10/14 12:28:04 Auto-deploying deptejb1.jar (No previous deployment found)... java.lang.RuntimeExc
    eption: Exception [EJB - 10036]: Error during code generation: [Exception [TOPLINK-14028] (TopLink (
    Oracle OC4J CMP) - 10g (10.0.3) Developer Preview (Build 030826.1654)): oracle.toplink.ejb.Deploymen
    tException
    Exception Description: The descriptor for [gov.va.med.ohrs.model.DeptBean] does not contain a corres
    ponding mapping for the container managed attribute [deptno].]
    server stacktrace is:
    Local Exception Stack:
    Exception [TOPLINK-14028] (TopLink (Oracle OC4J CMP) - 10g (10.0.3) Developer Preview (Build 030826.
    1654)): oracle.toplink.ejb.DeploymentException
    Exception Description: The descriptor for [gov.va.med.ohrs.model.DeptBean] does not contain a corres
    ponding mapping for the container managed attribute [deptno].
    at oracle.toplink.ejb.DeploymentException.noSuchMapping(DeploymentException.java:257)
    at oracle.toplink.internal.ejb.cmp.oc4j.Oc4jCodeGenPlatform.addPersistentAttributesAndMethod
    s(Oc4jCodeGenPlatform.java:623)
    at oracle.toplink.internal.ejb.cmp.codegen.CmpCodeGenPlatform.addContainerManagedAttributesA
    ndMethods(CmpCodeGenPlatform.java:291)
    at oracle.toplink.internal.ejb.cmp.oc4j.Oc4jCodeGenPlatform.generateConcreteClass(Oc4jCodeGe
    nPlatform.java:745)
    at oracle.toplink.internal.ejb.cmp.codegen.ConcreteClassGenerator.generateConcreteClass(Conc
    reteClassGenerator.java:33)
    at oracle.toplink.internal.ejb.cmp.PersistenceManagerBase.generateBeanSubclass(PersistenceMa
    nagerBase.java:176)
    at oracle.toplink.internal.ejb.cmp.oc4j.Oc4jPersistenceManager.generateBeanSubclass(Oc4jPers
    istenceManager.java:119)
    at com.evermind.server.ejb.deployment.EJBPackage.notifyPMs(EJBPackage.java:2332)
    at com.evermind.server.ejb.compilation.Compilation.compile(Compilation.java:227)
    at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:1668)
    at com.evermind.server.Application.postInit(Application.java:635)
    at com.evermind.server.Application.setConfig(Application.java:206)
    at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1654)
    at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1621)
    at com.evermind.server.ApplicationServer.initializeApplications(ApplicationServer.java:1594)
    at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1226)
    at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:93)
    at java.lang.Thread.run(Thread.java:534)
    03/10/14 12:28:04 at oracle.toplink.internal.ejb.cmp.EJBExceptionFactory.errorDuringCodeGen(EJ
    BExceptionFactory.java:399)
    03/10/14 12:28:04 at oracle.toplink.internal.ejb.cmp.PersistenceManagerBase.generateBeanSubcla
    ss(PersistenceManagerBase.java:182)
    03/10/14 12:28:04 at oracle.toplink.internal.ejb.cmp.oc4j.Oc4jPersistenceManager.generateBeanS
    ubclass(Oc4jPersistenceManager.java:119)
    03/10/14 12:28:04 at com.evermind.server.ejb.deployment.EJBPackage.notifyPMs(EJBPackage.java:2
    332)
    03/10/14 12:28:04 at com.evermind.server.ejb.compilation.Compilation.compile(Compilation.java:
    227)
    03/10/14 12:28:04 at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:1668)
    03/10/14 12:28:04 at com.evermind.server.Application.postInit(Application.java:635)
    03/10/14 12:28:04 at com.evermind.server.Application.setConfig(Application.java:206)
    03/10/14 12:28:04 at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.ja
    va:1654)
    03/10/14 12:28:04 at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.ja
    va:1621)
    03/10/14 12:28:04 at com.evermind.server.ApplicationServer.initializeApplications(ApplicationS
    erver.java:1594)
    03/10/14 12:28:04 at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:12
    26)
    03/10/14 12:28:04 at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLaunch
    er.java:93)
    03/10/14 12:28:04 at java.lang.Thread.run(Thread.java:534)
    03/10/14 12:28:04 caught exception notifying PPMs operation[GENERATE_CODE]: Exception [EJB - 10036]:
    Error during code generation: [Exception [TOPLINK-14028] (TopLink (Oracle OC4J CMP) - 10g (10.0.3)
    Developer Preview (Build 030826.1654)): oracle.toplink.ejb.DeploymentException
    Exception Description: The descriptor for [gov.va.med.ohrs.model.DeptBean] does not contain a corres
    ponding mapping for the container managed attribute [deptno].]
    server stacktrace is:
    Local Exception Stack:
    Exception [TOPLINK-14028] (TopLink (Oracle OC4J CMP) - 10g (10.0.3) Developer Preview (Build 030826.
    1654)): oracle.toplink.ejb.DeploymentException
    Exception Description: The descriptor for [gov.va.med.ohrs.model.DeptBean] does not contain a corres
    ponding mapping for the container managed attribute [deptno].
    at oracle.toplink.ejb.DeploymentException.noSuchMapping(DeploymentException.java:257)
    at oracle.toplink.internal.ejb.cmp.oc4j.Oc4jCodeGenPlatform.addPersistentAttributesAndMethod
    s(Oc4jCodeGenPlatform.java:623)
    at oracle.toplink.internal.ejb.cmp.codegen.CmpCodeGenPlatform.addContainerManagedAttributesA
    ndMethods(CmpCodeGenPlatform.java:291)
    at oracle.toplink.internal.ejb.cmp.oc4j.Oc4jCodeGenPlatform.generateConcreteClass(Oc4jCodeGe
    nPlatform.java:745)
    at oracle.toplink.internal.ejb.cmp.codegen.ConcreteClassGenerator.generateConcreteClass(Conc
    reteClassGenerator.java:33)
    at oracle.toplink.internal.ejb.cmp.PersistenceManagerBase.generateBeanSubclass(PersistenceMa
    nagerBase.java:176)
    at oracle.toplink.internal.ejb.cmp.oc4j.Oc4jPersistenceManager.generateBeanSubclass(Oc4jPers
    istenceManager.java:119)
    at com.evermind.server.ejb.deployment.EJBPackage.notifyPMs(EJBPackage.java:2332)
    at com.evermind.server.ejb.compilation.Compilation.compile(Compilation.java:227)
    at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:1668)
    at com.evermind.server.Application.postInit(Application.java:635)
    at com.evermind.server.Application.setConfig(Application.java:206)
    at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1654)
    at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1621)
    at com.evermind.server.ApplicationServer.initializeApplications(ApplicationServer.java:1594)
    at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1226)
    at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:93)
    at java.lang.Thread.run(Thread.java:534)
    DeptLocal_LocalEntityBeanWrapper4.java:401: cannot resolve symbol
    symbol : class Dept_ConcreteSubClass1
    location: class DeptLocal_LocalEntityBeanWrapper4
    Dept_ConcreteSubClass1 object;
    ^
    Dept_RemoteEntityBeanWrapper6.java:408: cannot resolve symbol
    symbol : class Dept_ConcreteSubClass1
    location: class Dept_RemoteEntityBeanWrapper6
    Dept_ConcreteSubClass1 object;
    ^
    DeptLocal_LocalEntityBeanWrapper4.java:60: cannot resolve symbol
    symbol : class Dept_ConcreteSubClass1
    location: class DeptLocal_LocalEntityBeanWrapper4
    response = ((Dept_ConcreteSubClass1)context.getBean()).getDeptno();
    ^
    DeptLocal_LocalEntityBeanWrapper4.java:141: cannot resolve symbol
    symbol : class Dept_ConcreteSubClass1
    location: class DeptLocal_LocalEntityBeanWrapper4
    ((Dept_ConcreteSubClass1)context.getBean()).setDeptno( argument0);
    ^
    DeptLocal_LocalEntityBeanWrapper4.java:212: cannot resolve symbol
    symbol : class Dept_ConcreteSubClass1
    location: class DeptLocal_LocalEntityBeanWrapper4
    response = ((Dept_ConcreteSubClass1)context.getBean()).getDname();
    ^
    DeptLocal_LocalEntityBeanWrapper4.java:283: cannot resolve symbol
    symbol : class Dept_ConcreteSubClass1
    location: class DeptLocal_LocalEntityBeanWrapper4
    ((Dept_ConcreteSubClass1)context.getBean()).setDname( argument0);
    ^
    DeptLocal_LocalEntityBeanWrapper4.java:415: cannot resolve symbol
    symbol : class Dept_ConcreteSubClass1
    location: class DeptLocal_LocalEntityBeanWrapper4
    this.object = (Dept_ConcreteSubClass1)context.object;
    ^
    DeptHome_RemoteEntityHomeWrapper7.java:65: cannot resolve symbol
    symbol : class Dept_ConcreteSubClass1
    location: class DeptHome_RemoteEntityHomeWrapper7
    Dept_ConcreteSubClass1 bean = (Dept_ConcreteSubClass1)ctx.object;
    ^
    DeptHome_RemoteEntityHomeWrapper7.java:65: cannot resolve symbol
    symbol : class Dept_ConcreteSubClass1
    location: class DeptHome_RemoteEntityHomeWrapper7
    Dept_ConcreteSubClass1 bean = (Dept_ConcreteSubClass1)ctx.object;
    ^
    DeptHome_RemoteEntityHomeWrapper7.java:69: cannot resolve symbol
    symbol : class Dept_ConcreteSubClass1
    location: class DeptHome_RemoteEntityHomeWrapper7
    bean = (Dept_ConcreteSubClass1)context.getBean();
    ^
    DeptHome_RemoteEntityHomeWrapper7.java:434: cannot resolve symbol
    symbol : class Dept_ConcreteSubClass1
    location: class DeptHome_RemoteEntityHomeWrapper7
    return (EntityBean) new Dept_ConcreteSubClass1();
    ^
    DeptLocalHome_LocalEntityHomeWrapper5.java:65: cannot resolve symbol
    symbol : class Dept_ConcreteSubClass1
    location: class DeptLocalHome_LocalEntityHomeWrapper5
    Dept_ConcreteSubClass1 bean = (Dept_ConcreteSubClass1)ctx.object;
    ^
    DeptLocalHome_LocalEntityHomeWrapper5.java:65: cannot resolve symbol
    symbol : class Dept_ConcreteSubClass1
    location: class DeptLocalHome_LocalEntityHomeWrapper5
    Dept_ConcreteSubClass1 bean = (Dept_ConcreteSubClass1)ctx.object;
    ^
    DeptLocalHome_LocalEntityHomeWrapper5.java:69: cannot resolve symbol
    symbol : class Dept_ConcreteSubClass1
    location: class DeptLocalHome_LocalEntityHomeWrapper5
    bean = (Dept_ConcreteSubClass1)context.getBean();
    ^
    DeptLocalHome_LocalEntityHomeWrapper5.java:370: cannot resolve symbol
    symbol : class Dept_ConcreteSubClass1
    location: class DeptLocalHome_LocalEntityHomeWrapper5
    return (EntityBean) new Dept_ConcreteSubClass1();
    ^
    Dept_RemoteEntityBeanWrapper6.java:60: cannot resolve symbol
    symbol : class Dept_ConcreteSubClass1
    location: class Dept_RemoteEntityBeanWrapper6
    response = ((Dept_ConcreteSubClass1)context.getBean()).getDeptno();
    ^
    Dept_RemoteEntityBeanWrapper6.java:147: cannot resolve symbol
    symbol : class Dept_ConcreteSubClass1
    location: class Dept_RemoteEntityBeanWrapper6
    ((Dept_ConcreteSubClass1)context.getBean()).setDeptno( argument0);
    ^
    Dept_RemoteEntityBeanWrapper6.java:218: cannot resolve symbol
    symbol : class Dept_ConcreteSubClass1
    location: class Dept_RemoteEntityBeanWrapper6
    response = ((Dept_ConcreteSubClass1)context.getBean()).getDname();
    ^
    Dept_RemoteEntityBeanWrapper6.java:289: cannot resolve symbol
    symbol : class Dept_ConcreteSubClass1
    location: class Dept_RemoteEntityBeanWrapper6
    ((Dept_ConcreteSubClass1)context.getBean()).setDname( argument0);
    ^
    Dept_RemoteEntityBeanWrapper6.java:422: cannot resolve symbol
    symbol : class Dept_ConcreteSubClass1
    location: class Dept_RemoteEntityBeanWrapper6
    this.object = (Dept_ConcreteSubClass1)context.object;
    ^
    20 errors
    Error compiling D:\oc4j10g\j2ee\home\applications\deptejb1/deptejb1.jar: Syntax error in source
    03/10/14 12:28:07 java.lang.RuntimeException: PM generated class Dept_ConcreteSubClass1not found: De
    pt_ConcreteSubClass1
    03/10/14 12:28:07 at com.oracle.server.ejb.container.deployment.EntityDescriptorImpl.getConcre
    teBeanClass(EntityDescriptorImpl.java:131)
    03/10/14 12:28:07 at oracle.toplink.internal.ejb.cmp.oc4j.Oc4jDescriptorBuilder.buildDescripto
    rPostCodeGen(Oc4jDescriptorBuilder.java:64)
    03/10/14 12:28:07 at oracle.toplink.internal.ejb.cmp.api.impl.DescriptorBuilder.buildEntityDes
    criptorsPostCodeGen(DescriptorBuilder.java:115)
    03/10/14 12:28:07 at oracle.toplink.internal.ejb.cmp.api.impl.EntityDescriptorImpl.initPostCod
    eGen(EntityDescriptorImpl.java:369)
    03/10/14 12:28:07 at oracle.toplink.internal.ejb.cmp.api.impl.EntityDescriptorImpl.getConcrete
    BeanClass(EntityDescriptorImpl.java:148)
    03/10/14 12:28:07 at oracle.toplink.internal.ejb.cmp.EJBFactory.initializePrimaryKeyFields(EJB
    Factory.java:335)
    03/10/14 12:28:07 at oracle.toplink.internal.ejb.cmp.EJBFactory.<init>(EJBFactory.java:52)
    03/10/14 12:28:07 at oracle.toplink.internal.ejb.cmp.oc4j.Oc4jEJBFactory.<init>(Oc4jEJBFactory
    .java:20)
    03/10/14 12:28:07 at oracle.toplink.internal.ejb.cmp.oc4j.Oc4jPersistenceManager.createEJBFact
    ory(Oc4jPersistenceManager.java:666)
    03/10/14 12:28:07 at oracle.toplink.internal.ejb.cmp.PersistenceManagerBase.preDeploy(Persiste
    nceManagerBase.java:102)
    03/10/14 12:28:07 at oracle.toplink.internal.ejb.cmp.oc4j.Oc4jPersistenceManager.postInit(Oc4j
    PersistenceManager.java:152)
    03/10/14 12:28:07 at com.evermind.server.ejb.deployment.EJBPackage.notifyPMs(EJBPackage.java:2
    338)
    03/10/14 12:28:07 at com.evermind.server.ejb.EJBPackageDeployment.notifyPMs(EJBPackageDeployme
    nt.java:1106)
    03/10/14 12:28:07 at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:1758)
    03/10/14 12:28:07 at com.evermind.server.Application.postInit(Application.java:635)
    03/10/14 12:28:07 at com.evermind.server.Application.setConfig(Application.java:206)
    03/10/14 12:28:07 at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.ja
    va:1654)
    03/10/14 12:28:07 at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.ja
    va:1621)
    03/10/14 12:28:07 at com.evermind.server.ApplicationServer.initializeApplications(ApplicationS
    erver.java:1594)
    03/10/14 12:28:07 at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:12
    26)
    03/10/14 12:28:07 at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLaunch
    er.java:93)
    03/10/14 12:28:07 at java.lang.Thread.run(Thread.java:534)
    03/10/14 12:28:07 caught exception notifying PPMs operation[POSTINIT]: PM generated class Dept_Concr
    eteSubClass1not found: Dept_ConcreteSubClass1
    03/10/14 12:28:07 Auto-deploying ejb2.jar (No previous deployment found)... java.lang.RuntimeExcepti
    on: Exception [EJB - 10036]: Error during code generation: [Exception [TOPLINK-14028] (TopLink (Orac
    le OC4J CMP) - 10g (10.0.3) Developer Preview (Build 030826.1654)): oracle.toplink.ejb.DeploymentExc
    eption
    Exception Description: The descriptor for [gov.va.med.ohrs.model.DeptBean] does not contain a corres
    ponding mapping for the container managed attribute [deptno].]
    server stacktrace is:
    Local Exception Stack:
    Exception [TOPLINK-14028] (TopLink (Oracle OC4J CMP) - 10g (10.0.3) Developer Preview (Build 030826.
    1654)): oracle.toplink.ejb.DeploymentException
    Exception Description: The descriptor for [gov.va.med.ohrs.model.DeptBean] does not contain a corres
    ponding mapping for the container managed attribute [deptno].
    at oracle.toplink.ejb.DeploymentException.noSuchMapping(DeploymentException.java:257)
    at oracle.toplink.internal.ejb.cmp.oc4j.Oc4jCodeGenPlatform.addPersistentAttributesAndMethod
    s(Oc4jCodeGenPlatform.java:623)
    at oracle.toplink.internal.ejb.cmp.codegen.CmpCodeGenPlatform.addContainerManagedAttributesA
    ndMethods(CmpCodeGenPlatform.java:291)
    at oracle.toplink.internal.ejb.cmp.oc4j.Oc4jCodeGenPlatform.generateConcreteClass(Oc4jCodeGe
    nPlatform.java:745)
    at oracle.toplink.internal.ejb.cmp.codegen.ConcreteClassGenerator.generateConcreteClass(Conc
    reteClassGenerator.java:33)
    at oracle.toplink.internal.ejb.cmp.PersistenceManagerBase.generateBeanSubclass(PersistenceMa
    nagerBase.java:176)
    at oracle.toplink.internal.ejb.cmp.oc4j.Oc4jPersistenceManager.generateBeanSubclass(Oc4jPers
    istenceManager.java:119)
    at com.evermind.server.ejb.deployment.EJBPackage.notifyPMs(EJBPackage.java:2332)
    at com.evermind.server.ejb.compilation.Compilation.compile(Compilation.java:227)
    at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:1668)
    at com.evermind.server.Application.postInit(Application.java:635)
    at com.evermind.server.Application.setConfig(Application.java:206)
    at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1654)
    at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1621)
    at com.evermind.server.ApplicationServer.initializeApplications(ApplicationServer.java:1594)
    at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1226)
    at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:93)
    at java.lang.Thread.run(Thread.java:534)
    03/10/14 12:28:07 at oracle.toplink.internal.ejb.cmp.EJBExceptionFactory.errorDuringCodeGen(EJ
    BExceptionFactory.java:399)
    03/10/14 12:28:07 at oracle.toplink.internal.ejb.cmp.PersistenceManagerBase.generateBeanSubcla
    ss(PersistenceManagerBase.java:182)
    03/10/14 12:28:07 at oracle.toplink.internal.ejb.cmp.oc4j.Oc4jPersistenceManager.generateBeanS
    ubclass(Oc4jPersistenceManager.java:119)
    03/10/14 12:28:07 at com.evermind.server.ejb.deployment.EJBPackage.notifyPMs(EJBPackage.java:2
    332)
    03/10/14 12:28:07 at com.evermind.server.ejb.compilation.Compilation.compile(Compilation.java:
    227)
    03/10/14 12:28:07 at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:1668)
    03/10/14 12:28:07 at com.evermind.server.Application.postInit(Application.java:635)
    03/10/14 12:28:07 at com.evermind.server.Application.setConfig(Application.java:206)
    03/10/14 12:28:07 at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.ja
    va:1654)
    03/10/14 12:28:07 at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.ja
    va:1621)
    03/10/14 12:28:07 at com.evermind.server.ApplicationServer.initializeApplications(ApplicationS
    erver.java:1594)
    03/10/14 12:28:07 at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:12
    26)
    03/10/14 12:28:07 at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLaunch
    er.java:93)
    03/10/14 12:28:07 at java.lang.Thread.run(Thread.java:534)
    03/10/14 12:28:07 caught exception notifying PPMs operation[GENERATE_CODE]: Exception [EJB - 10036]:
    Error during code generation: [Exception [TOPLINK-14028] (TopLink (Oracle OC4J CMP) - 10g (10.0.3)
    Developer Preview (Build 030826.1654)): oracle.toplink.ejb.DeploymentException
    Exception Description: The descriptor for [gov.va.med.ohrs.model.DeptBean] does not contain a corres
    ponding mapping for the container managed attribute [deptno].]
    server stacktrace is:
    Local Exception Stack:
    Exception [TOPLINK-14028] (TopLink (Oracle OC4J CMP) - 10g (10.0.3) Developer Preview (Build 030826.
    1654)): oracle.toplink.ejb.DeploymentException
    Exception Description: The descriptor for [gov.va.med.ohrs.model.DeptBean] does not contain a corres
    ponding mapping for the container managed attribute [deptno].
    at oracle.toplink.ejb.DeploymentException.noSuchMapping(DeploymentException.java:257)
    at oracle.toplink.internal.ejb.cmp.oc4j.Oc4jCodeGenPlatform.addPersistentAttributesAndMethod
    s(Oc4jCodeGenPlatform.java:623)
    at oracle.toplink.internal.ejb.cmp.codegen.CmpCodeGenPlatform.addContainerManagedAttributesA
    ndMethods(CmpCodeGenPlatform.java:291)
    at oracle.toplink.internal.ejb.cmp.oc4j.Oc4jCodeGenPlatform.generateConcreteClass(Oc4jCodeGe
    nPlatform.java:745)
    at oracle.toplink.internal.ejb.cmp.codegen.ConcreteClassGenerator.generateConcreteClass(Conc
    reteClassGenerator.java:33)
    at oracle.toplink.internal.ejb.cmp.PersistenceManagerBase.generateBeanSubclass(PersistenceMa
    nagerBase.java:176)
    at oracle.toplink.internal.ejb.cmp.oc4j.Oc4jPersistenceManager.generateBeanSubclass(Oc4jPers
    istenceManager.java:119)
    at com.evermind.server.ejb.deployment.EJBPackage.notifyPMs(EJBPackage.java:2332)
    at com.evermind.server.ejb.compilation.Compilation.compile(Compilation.java:227)
    at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:1668)
    at com.evermind.server.Application.postInit(Application.java:635)
    at com.evermind.server.Application.setConfig(Application.java:206)
    at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1654)
    at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1621)
    at com.evermind.server.ApplicationServer.initializeApplications(ApplicationServer.java:1594)
    at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1226)
    at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:93)
    at java.lang.Thread.run(Thread.java:534)
    DeptLocal_LocalEntityBeanWrapper8.java:402: cannot resolve symbol
    symbol : class Dept_ConcreteSubClass2
    location: class DeptLocal_LocalEntityBeanWrapper8
    Dept_ConcreteSubClass2 object;
    ^
    Dept_RemoteEntityBeanWrapper10.java:408: cannot resolve symbol
    symbol : class Dept_ConcreteSubClass2
    location: class Dept_RemoteEntityBeanWrapper10
    Dept_ConcreteSubClass2 object;
    ^
    DeptHome_RemoteEntityHomeWrapper11.java:65: cannot resolve symbol
    symbol : class Dept_ConcreteSubClass2
    location: class DeptHome_RemoteEntityHomeWrapper11
    Dept_ConcreteSubClass2 bean = (Dept_ConcreteSubClass2)ctx.object;
    ^
    DeptHome_RemoteEntityHomeWrapper11.java:65: cannot resolve symbol
    symbol : class Dept_ConcreteSubClass2
    location: class DeptHome_RemoteEntityHomeWrapper11
    Dept_ConcreteSubClass2 bean = (Dept_ConcreteSubClass2)ctx.object;
    ^
    DeptHome_RemoteEntityHomeWrapper11.java:69: cannot resolve symbol
    symbol : class Dept_ConcreteSubClass2
    location: class DeptHome_RemoteEntityHomeWrapper11
    bean = (Dept_ConcreteSubClass2)context.getBean();
    ^
    DeptHome_RemoteEntityHomeWrapper11.java:434: cannot resolve symbol
    symbol : class Dept_ConcreteSubClass2
    location: class DeptHome_RemoteEntityHomeWrapper11
    return (EntityBean) new Dept_ConcreteSubClass2();
    ^
    DeptLocalHome_LocalEntityHomeWrapper9.java:65: cannot resolve symbol
    symbol : class Dept_ConcreteSubClass2
    location: class DeptLocalHome_LocalEntityHomeWrapper9
    Dept_ConcreteSubClass2 bean = (Dept_ConcreteSubClass2)ctx.object;
    ^
    DeptLocalHome_LocalEntityHomeWrapper9.java:65: cannot resolve symbol
    symbol : class Dept_ConcreteSubClass2
    location: class DeptLocalHome_LocalEntityHomeWrapper9
    Dept_ConcreteSubClass2 bean = (Dept_ConcreteSubClass2)ctx.object;
    ^
    DeptLocalHome_LocalEntityHomeWrapper9.java:69: cannot resolve symbol
    symbol : class Dept_ConcreteSubClass2
    location: class DeptLocalHome_LocalEntityHomeWrapper9
    bean = (Dept_ConcreteSubClass2)context.getBean();
    ^
    DeptLocalHome_LocalEntityHomeWrapper9.java:370: cannot resolve symbol
    symbol : class Dept_ConcreteSubClass2
    location: class DeptLocalHome_LocalEntityHomeWrapper9
    return (EntityBean) new Dept_ConcreteSubClass2();
    ^
    DeptLocal_LocalEntityBeanWrapper8.java:61: cannot resolve symbol
    symbol : class Dept_ConcreteSubClass2
    location: class DeptLocal_LocalEntityBeanWrapper8
    response = ((Dept_ConcreteSubClass2)context.getBean()).getDeptno();
    ^
    DeptLocal_LocalEntityBeanWrapper8.java:142: cannot resolve symbol
    symbol : class Dept_ConcreteSubClass2
    location: class DeptLocal_LocalEntityBeanWrapper8
    ((Dept_ConcreteSubClass2)context.getBean()).setDeptno( argument0);
    ^
    DeptLocal_LocalEntityBeanWrapper8.java:213: cannot resolve symbol
    symbol : class Dept_ConcreteSubClass2
    location: class DeptLocal_LocalEntityBeanWrapper8
    response = ((Dept_ConcreteSubClass2)context.getBean()).getDname();
    ^
    DeptLocal_LocalEntityBeanWrapper8.java:284: cannot resolve symbol
    symbol : class Dept_ConcreteSubClass2
    location: class DeptLocal_LocalEntityBeanWrapper8
    ((Dept_ConcreteSubClass2)context.getBean()).setDname( argument0);
    ^
    DeptLocal_LocalEntityBeanWrapper8.java:416: cannot resolve symbol
    symbol : class Dept_ConcreteSubClass2
    location: class DeptLocal_LocalEntityBeanWrapper8
    this.object = (Dept_ConcreteSubClass2)context.object;
    ^
    Dept_RemoteEntityBeanWrapper10.java:60: cannot resolve symbol
    symbol : class Dept_ConcreteSubClass2
    location: class Dept_RemoteEntityBeanWrapper10
    response = ((Dept_ConcreteSubClass2)context.getBean()).getDeptno();
    ^
    Dept_RemoteEntityBeanWrapper10.java:147: cannot resolve symbol
    symbol : class Dept_ConcreteSubClass2
    location: class Dept_RemoteEntityBeanWrapper10
    ((Dept_ConcreteSubClass2)context.getBean()).setDeptno( argument0);
    ^
    Dept_RemoteEntityBeanWrapper10.java:218: cannot resolve symbol
    symbol : class Dept_ConcreteSubClass2
    location: class Dept_RemoteEntityBeanWrapper10
    response = ((Dept_ConcreteSubClass2)context.getBean()).getDname();
    ^
    Dept_RemoteEntityBeanWrapper10.java:289: cannot resolve symbol
    symbol : class Dept_ConcreteSubClass2
    location: class Dept_RemoteEntityBeanWrapper10
    ((Dept_ConcreteSubClass2)context.getBean()).setDname( argument0);
    ^
    Dept_RemoteEntityBeanWrapper10.java:422: cannot resolve symbol
    symbol : class Dept_ConcreteSubClass2
    location: class Dept_RemoteEntityBeanWrapper10
    this.object = (Dept_ConcreteSubClass2)context.object;
    ^
    20 errors
    Error compiling D:\oc4j10g\j2ee\home\applications\ejb2/ejb2.jar: Syntax error in source
    03/10/14 12:28:10 java.lang.RuntimeException: PM generated class Dept_ConcreteSubClass2not found: De
    pt_ConcreteSubClass2
    03/10/14 12:28:10 at com.oracle.server.ejb.container.deployment.EntityDescriptorImpl.getConcre
    teBeanClass(EntityDescriptorImpl.java:131)
    03/10/14 12:28:10 at oracle.toplink.internal.ejb.cmp.oc4j.Oc4jDescriptorBuilder.buildDescripto
    rPostCodeGen(Oc4jDescriptorBuilder.java:64)
    03/10/14 12:28:10 at oracle.toplink.internal.ejb.cmp.api.impl.DescriptorBuilder.buildEntityDes
    criptorsPostCodeGen(DescriptorBuilder.java:115)
    03/10/14 12:28:10 at oracle.toplink.internal.ejb.cmp.api.impl.EntityDescriptorImpl.initPostCod
    eGen(EntityDescriptorImpl.java:369)
    03/10/14 12:28:10 at oracle.toplink.internal.ejb.cmp.api.impl.EntityDescriptorImpl.getConcrete
    BeanClass(EntityDescriptorImpl.java:148)
    03/10/14 12:28:10 at oracle.toplink.internal.ejb.cmp.EJBFactory.initializePrimaryKeyFields(EJB
    Factory.java:335)
    03/10/14 12:28:10 at oracle.toplink.internal.ejb.cmp.EJBFactory.<init>(EJBFactory.java:52)
    03/10/14 12:28:10 at oracle.toplink.internal.ejb.cmp.oc4j.Oc4jEJBFactory.<init>(Oc4jEJBFactory
    .java:20)
    03/10/14 12:28:10 at oracle.toplink.internal.ejb.cmp.oc4j.Oc4jPersistenceManager.createEJBFact
    ory(Oc4jPersistenceManager.java:666)
    03/10/14 12:28:10 at oracle.toplink.internal.ejb.cmp.PersistenceManagerBase.preDeploy(Persiste
    nceManagerBase.java:102)
    03/10/14 12:28:10 at oracle.toplink.internal.ejb.cmp.oc4j.Oc4jPersistenceManager.postInit(Oc4j
    PersistenceManager.java:152)
    03/10/14 12:28:10 at com.evermind.server.ejb.deployment.EJBPackage.notifyPMs(EJBPackage.java:2
    338)
    03/10/14 12:28:10 at com.evermind.server.ejb.EJBPackageDeployment.notifyPMs(EJBPackageDeployme
    nt.java:1106)
    03/10/14 12:28:10 at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:1758)
    03/10/14 12:28:10 at com.evermind.server.Application.postInit(Application.java:635)
    03/10/14 12:28:10 at com.evermind.server.Application.setConfig(Application.java:206)
    03/10/14 12:28:10 at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.ja
    va:1654)
    03/10/14 12:28:10 at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.ja
    va:1621)
    03/10/14 12:28:10 at com.evermind.server.ApplicationServer.initializeApplications(ApplicationS
    erver.java:1594)
    03/10/14 12:28:10 at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:12
    26)
    03/10/14 12:28:10 at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLaunch
    er.java:93)
    03/10/14 12:28:10 at java.lang.Thread.run(Thread.java:534)
    03/10/14 12:28:10 caught exception notifying PPMs operation[POSTINIT]: PM generated class Dept_Concr
    eteSubClass2not found: Dept_ConcreteSubClass2
    Oct 14, 2003 12:28:13 PM org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
    Oct 14, 2003 12:28:13 PM org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
    Oct 14, 2003 12:28:14 PM org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.webapp.example.AlternateApplicationResources', returnN
    ull=true
    Oct 14, 2003 12:28:14 PM org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.webapp.example.ApplicationResources', returnNull=true
    Oct 14, 2003 12:28:14 PM org.apache.struts.webapp.example.memory.MemoryDatabasePlugIn init
    INFO: Initializing memory database plug in from '/WEB-INF/database.xml'
    Oct 14, 2003 12:28:14 PM org.apache.struts.validator.ValidatorPlugIn initResources
    INFO: Loading validation rules file from '/WEB-INF/validator-rules.xml'
    Oct 14, 2003 12:28:14 PM org.apache.struts.validator.ValidatorPlugIn initResources
    INFO: Loading validation rules file from '/WEB-INF/validation.xml'
    03/10/14 12:28:14 Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview
    initialized

  • Running BDK1.1 in JDK1.5.0

    I tried to run BDK1.1 located in .\beans\beanbox\run.bat, using
    JDK1.5.0 (my environment is winXP), but there are error messages
    in the console:
    C:\Program Files\Java\bdk1_1\beans\jars\buttons.jar: jar load failed: java.lang.Error: java.beans.In
    trospectionException: Method "actionPerformed" should have argument "ActionPerformedEvent"
    java.lang.Error: java.beans.IntrospectionException: Method "actionPerformed" should have argument "A
    ctionPerformedEvent"
    at sunw.demo.buttons.ExplicitButtonBeanInfo.getEventSetDescriptors(ExplicitButtonBeanInfo.ja
    va:60)
    at java.beans.Introspector.getTargetEventInfo(Unknown Source)
    at java.beans.Introspector.getBeanInfo(Unknown Source)
    at java.beans.Introspector.getBeanInfo(Unknown Source)
    at sun.beanbox.JarInfo.<init>(JarInfo.java:66)
    at sun.beanbox.JarLoader.createJarInfo(JarLoader.java:292)
    at sun.beanbox.JarLoader.loadJar(JarLoader.java:197)
    at sun.beanbox.JarLoader.loadJarDoOnBean(JarLoader.java:207)
    at sun.beanbox.ToolBoxPanel.addBeansInJar(ToolBox.java:175)
    at sun.beanbox.ToolBoxPanel.<init>(ToolBox.java:105)
    at sun.beanbox.ToolBoxScrollPane.<init>(ToolBox.java:69)
    at sun.beanbox.ToolBox.<init>(ToolBox.java:28)
    at sun.beanbox.BeanBoxFrame.<init>(BeanBoxFrame.java:124)
    at sun.beanbox.BeanBoxFrame.main(BeanBoxFrame.java:91)
    Any hints to solve these error messages?
    Thank you in advance.
    John

    Hi!
    I know it's not the exactly right topic, but I've nearly the same problem with a https connection for a webService. I'm not using turkish locale, I'm using BouncyCastle and the "Unlimited Strength" policy files. I've no problems if i start my application with eclipse, starting it with jdk1.5.0_03\jre\bin\java or jre1.5.0_03\bin\java form commandline i get the same stacktrace:
    javax.net.ssl.SSLKeyException: RSA premaster secret error
    Caused by: javax.net.ssl.SSLKeyException: RSA premaster secret error
    Caused by: java.security.NoSuchAlgorithmException: Cannot find any provider supporting RSA/ECB/PKCS1Padding
    Caused by: java.lang.IllegalArgumentException: can't support mode ECB
    if i try to get the cipher with
    Cipher c = Cipher.getInstance("RSA/ECB/PKCS1Padding");
    I'll get the same stacktrace, with
    Cipher c = Cipher.getInstance("RSA/ECB/PKCS1Padding", "BC");
    i works fine, but I've no idea how to run this code out of axis...
    Thanks & Regards
    Helmut

  • Error with  Statement

    hello i have some errors here:
    statement = connect.createStatement();
    resultSet = statement.executeQuery("SELECT * FROM DEMO.info");
    the first line :
    cannot find symbol
    symbol: method executeQuery(java.lang.String)
    location: class java.beans.Statement
    the other is:
    cannot find symbol
    symbol: method executeQuery(java.lang.String)
    location: class java.beans.Statement
    my imports are:
    import java.beans.Statement;
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.PreparedStatement;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    import java.util.ArrayList;
    import java.util.Calendar;
    import java.util.Date;
    import java.util.regex.Matcher;
    import java.util.regex.Pattern;
    thanks for helping

    user12163960 wrote:
    hello i have some errors here:
    statement = connect.createStatement();
    resultSet = statement.executeQuery("SELECT * FROM DEMO.info");
    the first line :
    cannot find symbol
    symbol: method executeQuery(java.lang.String)
    location: class java.beans.StatementThe error message is telling you exactly what's wrong. You're trying to call a method executeQuery(String) on a java.beans.Statement object, but java.beans.Statement does not have any such method. Where did you get th idea that it does?
    >
    the other is:
    cannot find symbol
    symbol: method executeQuery(java.lang.String)
    location: class java.beans.StatementThis is exactly the same as your first error.
    my imports are:
    import java.beans.Statement;
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.PreparedStatement;
    import java.sql.ResultSet;
    import java.sql.SQLException;Nothing looks just a tiny bit out of place here?

  • JDeveloper / OC4J rewriting my orion-ejb-jar.xml

    Hi All.
    Im having a play around with OC4J and CMP entity beans and struts at the moment learning some stuff for a new job, so ive started to write a little test app to get used to things.
    Ive created a CMP entity - CustomerEntityEJB, manually defined the tables etc wrote and built it using JDeveloper 10.
    Ive created all the necessary classes and descriptors in JDeveloper and the bean compiles and deploys fine, however no matter what i do, the table attribute of the <entity-deployment> elemnt is ALWAYS removed from the orion-ejb-jar.xml file before its deployed and i have no idea why.
    Here are some snippets form the xml config files im using....
    ejb-jar.xml :
    <entity>
    <description>Entity Bean ( CMP )</description>
    <display-name>CustomerEntityEJB</display-name>
    <ejb-name>CustomerEntityEJB</ejb-name>
    <local-home>com.gb.ejb.entity.customer.CustomerEntityEJBLocalHome</local-home>
    <local>com.gb.ejb.entity.customer.CustomerEntityEJBLocal</local>
    <ejb-class>com.gb.ejb.entity.customer.CustomerEntityEJBBean</ejb-class>
    <persistence-type>Container</persistence-type>
    <prim-key-class>java.lang.Long</prim-key-class>
    <reentrant>false</reentrant>
    <cmp-version>2.x</cmp-version>
    <abstract-schema-name>CustomerEntityEJB</abstract-schema-name>
    <cmp-field>
    <field-name>id</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>title</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>forename</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>surname</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>email</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>password</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>active</field-name>
    </cmp-field>
    <primkey-field>id</primkey-field>
    <query>
    <query-method>
    <method-name>findAll</method-name>
    <method-params/>
    </query-method>
    <ejb-ql>SELECT OBJECT(c) FROM CustomerEntityEJB c</ejb-ql>
    </query>
    </entity>
    orion-ejb-jar.xml as in JDeveloper:
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <orion-ejb-jar xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/schema/orion-ejb-jar-10_0.xsd" schema-major-version="10" schema-minor-version="0">
    <enterprise-beans>
    <persistence-manager name="toplink"/>
    <session-deployment name="CustomerSessionEJB" local-location="CustomerSessionEJB" />
    <entity-deployment name="CustomerEntityEJB" data-source="jdbc/PostgresDS" table="Customer" local-location="CustomerEntityEJB">
    <primkey-mapping>
    <cmp-field-mapping name="id"/>
    </primkey-mapping>
    <cmp-field-mapping name="active"/>
    <cmp-field-mapping name="email"/>
    <cmp-field-mapping name="forename"/>
    <cmp-field-mapping name="id"/>
    <cmp-field-mapping name="password"/>
    <cmp-field-mapping name="surname"/>
    <cmp-field-mapping name="title"/>
    </entity-deployment>
    </enterprise-beans>
    </orion-ejb-jar>
    orion-ejb-jar.xml as viewed in the OC4J enterprise manager.     
    <?xml version="1.0" encoding="utf-8"?>
    <orion-ejb-jar xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/schema/orion-ejb-jar-10_0.xsd" deployment-version="10.1.3.3.0" deployment-time="1151415a0e3" schema-major-version="10" schema-minor-version="0" >
    <enterprise-beans>
    <persistence-manager name="toplink" class="oracle.toplink.internal.ejb.cmp.oc4j.Oc4jPersistenceManager" descriptor="toplink-ejb-jar.xml">
    </persistence-manager>
    <session-deployment name="CustomerSessionEJB" location="CustomerSessionEJB" local-location="CustomerSessionEJB" persistence-filename="CustomerSessionEJB">
    <ejb-ref-mapping name="ejb/local/CustomerEntityEJB" location="TWA-EJB_CustomerEntityEJBLocal" />
    </session-deployment>
    <entity-deployment name="CustomerEntityEJB" location="CustomerEntityEJB" local-location="CustomerEntityEJB" concrete-bean-class="CustomerEntityEJB_ConcreteSubClass3" data-source="jdbc/PostgresDS" local-wrapper="CustomerEntityEJBLocalHome_LocalEntityHomeWrapper5">
    </entity-deployment>
    </enterprise-beans>
    <assembly-descriptor>
    <default-method-access>
    <security-role-mapping name="<default-ejb-caller-role>" impliesAll="true" />
    </default-method-access>
    </assembly-descriptor>
    </orion-ejb-jar>
    As you can see, the orion-ejb-jar.xml that been deployed on the server has had extra attributes defined in it (like concrete-bean-class) which makessense - its adding in the bits i didnt to get th bean to deploy - however the table attribue is just removed, meaning my bean cant find the table - hence my app not working.
    i just dont know how to stop this and would be extremely grateful if someone could give me a clue how to get my bean up and working properly as this is driving me insane.
    Thanks in advance..
    Gareth.

    sorted - the <persistence-manager name="toplink"/> element was automatically generated by JDeveloper and put in my orion-ejb-jar.xml appears to be un necessary and seemed to be breaking eveything - as soon as i removed it, the bean seemed to deploy ok and pick up the table name =]
    as a bit of an aside does anyone know why it was automatically put there in the first place if it breaks things?

Maybe you are looking for

  • Oracle Application server 10g installation

    Hi, I have installed oracle 10g Express edition on my Vista home premium. It will be a great help, if anybody reply me how to access the oracle application server ..... I am new to this installation. whether I need to install the s/w or I need to con

  • What is "sessionstore.js.tmp" and how can I get rid of it?

    It's been happening ever since July 31st. Any time I start or re-start Firefox, or when it crashes and I have to open it back up, it completely reverts to my Firefox session from July 31st, and not the current session. An attempt to delete from my Fi

  • Do Adobe Palettepanel and Adobe Air work together?

    Hallo! when I am working with Flex and the Adobe Flash Player everything is fine. I even can use the Adobe Paltettepanel to integrate my Flex applications in Adobe Indesign. But when I want to use the Palletepanel in an Adobe AIR application nothing

  • Workflow not Progressing

    My agency has a custom approval workflow comprised of seven steps.  Beginning in step four we have a few different ways the workflow can progress: - it can be completed at step four; - it can be routed to step 5 (which, in turn can be routed to step

  • Timefinder mirror  BCV issues after installing Solaris Cluster 3.2

    I just installed Solaris Cluster 3.2, and since then, my BVC's will no longer mount. I have a case open with EMC already, just thought I check and see if anyone here has ever ran into the same issues and found a fix. The BCV job runs just fine until