EJB WIzard Bugs

There seem to be several bugs in the EJB wizard:
1. If I change various fields to not be primary keys, sometimes this does not affect the generated PK class consistently (I have seen a couple of cases where the old or older versions of the constructor are present with fields that used to be primary keys still there).
2. When I change method names, the "Create Sample Java Client" still uses the old names (or the field names, same thing) for accessors instead of the new method names.
3. When using the "Create CMP from table" -- why does it ignore data types? Why not ask what are the primary keys?
Finally, the documentation on running using the internal OC4j OAS should tell users to start the server first by doing a run on the ejb object before trying to run the generated test program (or any other client).
Best,
Joe McDaniel

I've the SAME problems and no luck changing our regional settings
We read it before, in that "French" case, but no luck to us
Out regional setting is Spanish, nothing works better if we use English
And why embedded OC4J doesn't create tables for entities in EJB3? It does if we use EJB2.1, but those wizards doesn't works

Similar Messages

  • JDeveloper3.1.1.2 - EJB wizard....

    Hi,
    On selecting New/EJB,
    takes to wizards to create home/remote interfaces,
    In step 2/3 it gives u the methods in the
    home/remote interface,
    but the feature....
    which methods do you want to include in the Remote Interface(also home)?
    doesn't allow me to enter a new method , or
    even modify the signature of the methods listed there...
    why is it so?
    actually the wizard should have allowed me to edit the methods...isn't?
    TIA
    bye
    cheers
    SAR.
    null

    In JDeveloper 3.2 we have totally revamped the EJB wizard which gives you an EJB Designer to add/update/delete methods , attributes and other EJB functionality. On top of this it also has support for EJB 1.1 spec.
    3.2 would be available on OTN within few weeks time , Check on OTN for the updates.
    raghu

  • EJB Wizard

    Hi,
    I wonder why you in the EJB Wizard in JDeveloper 3.1 for the EJB Class need to declare a RemoteException on those methods that shall be accessable to for the remote interface ?
    Shouldn't the RemoteException only be declared on the remote interface and NOT on the methods in the EJB class ?
    Please comment on this.
    Best regards
    Magnus Wistrvm
    null

    public class RemoteException
    extends IOException
    Magnus, if you look at the online
    help for RemoteException,
    you will see:
    A RemoteException is the common superclass for a number of communication-related
    exceptions that may occur during the execution of a remote method call. Each method of a remote interface, an interface that extends java.rmi.Remote, must list RemoteException in its throws clause.
    Since the methods of an EJB class are
    also called from remote JVMs, they must list the 'throws RemoteException' at their method declarations.
    Also, there is no way to declare acceptance
    of a throw some-exception at the interface
    level - this is a method level attribute.
    I hope this helps,
    -John
    null

  • NullPointerException in MinusNode with EJB-QL, bug?

    Hi, I have an EJB 2.1 application with a simple EJB-QL query:
    SELECT OBJECT(a) from ApprovalDataBean a WHERE a.approvalid=?1 and (a.status=-1 or a.status=0 or a.status=-2)
    This query generates the following error in the query parser of Toplink.
    I Use OC4J 10.1.3.3.
    Regards,
    Tomas
    Nested exception is:
    java.lang.NullPointerException
    at oracle.toplink.internal.parsing.MinusNode.generateExpression(MinusNode.java:31)
    at oracle.toplink.internal.parsing.EqualsNode.generateExpression(EqualsNode.java:43)
    at oracle.toplink.internal.parsing.OrNode.generateExpression(OrNode.java:34)
    at oracle.toplink.internal.parsing.AndNode.generateExpression(AndNode.java:31)
    at oracle.toplink.internal.parsing.WhereNode.generateExpression(WhereNode.java:26)
    at oracle.toplink.internal.parsing.ParseTree.generateExpression(ParseTree.java:153)
    at oracle.toplink.internal.parsing.ParseTree.setSelectionCriteriaForQuery(ParseTree.java:326)
    at oracle.toplink.internal.parsing.EJBQLParseTree.populateQuery(EJBQLParseTree.java:64)
    at oracle.toplink.internal.parsing.ejbql.EJBQLParserFactory.populateQuery(EJBQLParserFactory.java:36)
    at oracle.toplink.queryframework.EJBQLCall.populateQuery(EJBQLCall.java:168)
    at oracle.toplink.internal.parsing.ejbql.EJBQLCallQueryMechanism.buildSelectionCriteria(EJBQLCallQueryMechanism.java:61)
    at oracle.toplink.queryframework.DatabaseQuery.buildSelectionCriteria(DatabaseQuery.java:293)
    at oracle.toplink.queryframework.ObjectLevelReadQuery.prePrepare(ObjectLevelReadQuery.java:1592)
    at oracle.toplink.queryframework.ObjectLevelReadQuery.checkPrePrepare(ObjectLevelReadQuery.java:574)
    at oracle.toplink.queryframework.ObjectLevelReadQuery.isLockQuery(ObjectLevelReadQuery.java:1495)
    at oracle.toplink.internal.ejb.cmp.finders.Finder.checkLockQuery(Finder.java:285)

    An update on this:
    This EJB-QL query:
    SELECT OBJECT(a) from ApprovalDataBean a WHERE (a.status>-3) and a.approvalid=?1
    Generates this SQL:
    SELECT ID, STATUS, APPROVALID, APPROVALDATA, ENDENTITYPROFILEID, REQUESTDATA, REQADMINCERTISSUERDN, REQUESTDATE, APPROVALTYPE, EXPIREDATE, REQADMINCERTSN
    , REMAININGAPPROVALS, CAID FROM APPROVALDATA WHERE (STATUS > (APPROVALID = -306188630))
    Which in turn naturally generates this error:
    Caused by: Exception [TOPLINK-4002] (TopLink (Oracle OC4J CMP) - 10g Release 3 (10.1.3.3.0) (Build 070608)): oracle.toplink.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: ORA-00907: missing right parenthesis
    This surely looks like a bug to me. Are there any workaround?
    Cheers,
    Tomas

  • Wizard bug - conditional validation

    Hello,
    We require validation on a wizard to prevent the user from navigating from a particular page to the next page unless they have checked a checkbox. The underlying column is not mandatory because the user may not have to visit this particular page depending on the answers he gave on previous pages.
    The only place we have found to put the validation is the "nextActionListener" of the singleStepButtonBar. However, there seems to be a bug in the generator because we cannot override the WizardPageContent template at the ItemRegion level. We only want the validation to fire if the user is in this particular page, so modifying the template at the Group level is not appropriate. As a result we have to make a post-generation change. Can anyone suggest another way of achieving this?
    thanks,
    Michael

    Steven,
    Sorry to be still bugging you about this but I'm still having problems getting it working OK. The first problem was that the error message was being added to the page 4 times (presumably one for each step). I see in the checkFocusRowIndex method of the WizardProcessModel does a check to see if the page has changed so figured I may have to do something similar. As a work around I check the FacesContext to see if any error messages have been added already and don't add it again. That much worked but I now have the problem that the error message is being displayed on the second wizard page as well. Here is my getNextAction()
        public String getNextAction()
           String nextAction = super.getNextAction();
           FacesMessage.Severity sev =  FacesContext.getCurrentInstance().getMaximumSeverity();     
           if (JsfUtils.getFacesContext().getViewRoot().getViewId().equals("/pages/GHDScreeningStart.jspx")
               && nextAction.equals("WizardGHDScreeningSubjectDetails")) {
               // Getting ready to move to second page.  Need to check that on
               // the current page, both checkboxes are ticked
                boolean inclusionCriteria = ((Boolean)JsfUtils.getExpressionValue
                        ("#{bindings.GHDScreeningInclusionCriteriaMet.inputValue}"))
                        .booleanValue();                  
                boolean exclusionCriteria = ((Boolean)JsfUtils.getExpressionValue
                        ("#{bindings.GHDScreeningExclusionCrirteriaNotMet.inputValue}"))
                        .booleanValue();
                if (!(inclusionCriteria && exclusionCriteria)) {
                    if (sev == null) {
                      JsfUtils.getInstance().addError("SCREEN_WIZARD_CHECKBOX_FAILURE");
                    // Stay on same page
                    return null;
           return nextAction;
        }I'd really appreciate some more help/guidance here !
    Cheers,
    Brent

  • ViewLink wizard bug

    Trying to create a view link based on a many-to-many association where the destination entity is also the destination in another association.
    After selecting the association on the Source Attributes step, the Destination Attributes step does not automatically reflect the selected association. I have to explicitly select the association again. Now, on the View Link SQL step, the query does not include the Intersection Entity object, just a direct join between the source and destination entity objects.
    When there is no ambigutiy on the Destination Attributes step, i.e. there is only one association to select (the one that was selected on the Source Attributes tab), the Link SQL step correctly reflects the Intersection Entity object in the Query Clause preview.
    Is this a bug in version 9.0.2.8.2 (BC4J 9.0.2.7.99)
    Also, are there BC4J patches that will be delivered separately from a new version of JDeveloper?
    Thanks.

    Trying to create a view link based on a many-to-many association where the destination entity is also the destination in another association.
    After selecting the association on the Source Attributes step, the Destination Attributes step does not automatically reflect the selected association. I have to explicitly select the association again. Now, on the View Link SQL step, the query does not include the Intersection Entity object, just a direct join between the source and destination entity objects.
    When there is no ambigutiy on the Destination Attributes step, i.e. there is only one association to select (the one that was selected on the Source Attributes tab), the Link SQL step correctly reflects the Intersection Entity object in the Query Clause preview.
    Is this a bug in version 9.0.2.8.2 (BC4J 9.0.2.7.99)Sounds like it from your description. The wizard should automatically fill in the intersection info if you picked the many-to-many association end to pariticipate in the ViewLink.

  • EJB NameNotFoundException bug ?

    I intermittently get the following error during weblogic startup:
    =====================================================================
    javax.naming.NameNotFoundException: Unable to resolve
    IMS.INVENTORY_SERVICE Resolved: '' Unresolved:'IMS' ; remaining name
    'INVENTORY_SERVICE'
    =====================================================================
    If I rename the ejb under weblogic/applications directory
    mv ejb_ims_inventoryservice.jar anyname.jar
    and restart the server, the problem seems to disappear.
    Seems like a Weblogic bug?
    Thanks,
    Arun.

    What did you make ?
    I am with the same error, but i not found the solution.
    can you help me ?
    Regards Raphael.

  • No response from EJB Wizard

    I tried to use wizard to create ejb. JDev take no action after I press "Finish" and stay there. This happen for existing project. If I create a new project, wizard work fine. Does anyone know how to fix it? Thx.

    Hi,
    Can you please provide the following info
    - What JDeveloper version are you using?
    - Are there any exceptions in the console when you press the finish button?
    - What wizard are you talking about? The CMP entity wizard or the Session bean wizard?
    Thanks
    Prashanth

  • Fx Webservice Introspection wizard bug

    It seems the Fx Webservice Introspection is not interpreting
    the wsdl correctly. By using TCPMonitor I was able to capture my
    soap request from my java spring-ws junit test. The correct
    response is as follows:
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="
    http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP-ENV:Header/>
    <SOAP-ENV:Body>
    <ns4:ProcessChucksPick3LotteryNumberRequest
    xmlns:ns2="
    http://www.chuckspick3.com/WebserviceClient"
    xmlns:ns3="
    http://www.chuckspick3.com/lotterysystem/common-schemas"
    xmlns:ns4="
    http://www.chuckspick3.com/lotterysystem/schemas">
    <ns2:webServiceClient>
    <ns2:id>0</ns2:id>
    <ns2:customerName>test</ns2:customerName>
    <ns2:customerUserName>test</ns2:customerUserName>
    <ns2:custoemrPw>test</ns2:custoemrPw>
    </ns2:webServiceClient>
    <ns3:chucksPick3LotteryNumber>
    <ns3:number>345</ns3:number>
    <ns3:requestDate>2008-10-29T20:32:37.171-05:00</ns3:requestDate>
    <ns3:drawingType>MidDay</ns3:drawingType>
    </ns3:chucksPick3LotteryNumber>
    </ns4:ProcessChucksPick3LotteryNumberRequest>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    Using the code generated from the Fx Webservice Introspection
    wizard I get the following invalid soap request:
    notice that there are no namespaces specified.
    <SOAP-ENV:Envelope>
    <SOAP-ENV:Body>
    <tns:webServiceClient>
    <tns:id>1</tns:id>
    <tns:customerName>test</tns:customerName>
    <tns:customerUserName>test</tns:customerUserName>
    <tns:custoemrPw>test</tns:custoemrPw>
    </tns:webServiceClient>
    <ns0:chucksPick3LotteryNumber>
    <ns0:number>234</ns0:number>
    <ns0:requestDate xsi:nil="true"/>
    <ns0:drawingType>Day</ns0:drawingType>
    <ns0:type>Customer Provided Winning Pick 3 Lottery
    Number</ns0:type>
    </ns0:chucksPick3LotteryNumber>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    I think there is a bug in the code generated from the Fx
    Webservice Introspection wizard. You can download or view my wsdl
    by clicking
    here.
    If this is not a bug, can some one please tell me what I am
    doing wrong.
    I hope someone will respond to this post as I really want to
    use flex for webservices; but have not been successful.
    Thanks!

    Hi Randy,
    This seems to be caused by a missing import in that class.
    Try adding this line on top of the file (next to the other import
    statements) and see if it solves the problem:
    import mx.utils.ObjectProxy;
    This should be fixed in the next release, but if you can file
    a bug and attach the wsdl file so we can reproduce the bug and
    confirm it does not happen anymore it would be very helpful.
    Thanks,
    Cristian

  • EJB-QL and ejb-name bug

    Hi,
    I think I found a bug when using EJB-QL with oc4j.
    If the name of your bean (<ejb-name> tag) is set to something with a "dot". E.g. "mytests.MyLocalBean" then the finder methods (using EJB-QL) will return an SQL exception. The exception says that no table named "MyLocalBean" can be found. The "mytests" prefix seems to be missing in the dynamically generated SQL statement.
    If I change the bean name to "MylocalBean" everything works fine.
    I'm currently using Iterbase DB, but I think this is an error in the oc4j container.
    /johan

    Johan -- I will take a look at it.
    Thanks -- Jeff

  • N73 Setting Wizard Bug

    i have the latest version of the software version (4.) on the N73 vanilla one.........
    have just notice that there is a bug in the Setting Wizard software when i choose Operator it will detect the operator then it will close down without creat the Access Point that's odd one but if i choose to Cinfigure E.mails in the Setting Wizard it will creat the Access Point but it doesn't have the the old list it has just the gmail i guess and other............. does anybody have the same poroblem too.
    Thanks.

    Hey even I've that exact same problem!
    the moment I installed new firmware in that process it already gave me all the required Settings for my SAUDI ARABIA mobile operator, mobily. And I deleted those settings and tried getting them from the Settings Wizard.. just closes without creating
    Anyways for now you can request the settings online and get it on your N73
    http://europe.nokia.com/link?cid=PLAIN_TEXT_228512
    Nokia 5800 XpressMusic (11) [Product ID: 0559416]
    V 21.0.025 (date: 02-04-2009)
    network: mobily (etihad etisalat)

  • URGENT:Report Wizard Bug or incomplete feature ?

    Hello,
    3.0.7.6.2 NT/SP6, 8.1.6.2 Aix
    I am at a loss to explain this bug, 'cause it is so stupid (excuse my language). Valid Report package, report worked well, with good performance i.e no problems. Made a change to the query (removed one join) and saved the report. Now, my template has reset to the defualt report template, the buttons on the parameter form have disappeared. Also, when I click on edit report link, the report wizard changes the name to the current date. I don't have the faintest idea why this happened. No error messages, nothing.
    I retrieved the previous version, checked the html code added in the adv. formatting. Still nothing.
    Any tips (apart from if it aint broke, don't fix it) ?
    Thanks
    Sanjay

    Sunil,
    it is in 3.0.7.6.2, SQL Report.It happens intemittently, which is why it is difficult to analyze the problem. Some other factors could be a large number of versions of the componenent, large blocks of pl/sql code and length of sql query is long (but below the limit for the textarea). However, I don't see why this would prevent the show_params from executing correctly. Will a null value for a bind variable name cause this behaviour ?
    Sanjay

  • Chart Wizard Bugs

    1. If I set ONE of the chart series data label to "none" or
    "value" sometimes it affects ALL chart series. It seems like it's
    an all or nothing deal.
    2. In the advanced mode in Query Builder, there is an option
    to set the "variable containing query object". This does not work.
    I have tried to set this several times and clicked Save, only to go
    back and its reset back to "CFReportDataQuery".
    3. Under the Lines and Markers tab in the chart wizard, there
    is an option to set the maximum Y axis value. Setting this has no
    effect. The chart still does what it wants.
    I find *very little* support for the chart wizard. I know
    this is a new thing and I'm hoping in the next update these issues
    will be fixed. But in the mean time, has anyone else found a way
    around this besides creating the chart manually?

    Hi Ingo,
    Pls. see my responses below.
    1) How can I achieve, that the chart only shows one key figure? I would like to choose either the first or the second one.
    Answer:In the properties of the chart you have a list of "Series" option, you can set the Series 1 or Series 2 as Hidden.Hence u can achieve to show only one key figure.
    2) What is the meaning in the chart wizard (Step 2) of "Select a Data Source". Then I can count up or down - what's the sense?
    Answer:I didnt get this.can you please elaborate this a bit more.
    hope it helps,
    regards,
    Parth.

  • Create JSP Wizard Bug

    JDeveloper 11g does not provide a Create JSP wizard, with a provision to add tag libraries to a JSP page, as JDeveloper 10g does. If tag libraries
    are required, the tag libraries have to be added after creating the jsp page and also the tag library JAR files have to be copied to the WEB-INF/lib directory.

    A project containing JSPs and servlets is a web project. But, the create application wizard does not have the provision to add tag libraries.
    Create application with File>New. Categories>Applications and Items>Generic Application. Specify Application Name in Create Generic Application and Next.
    In Name your Generic project select JSP and Servlets Project technologies. But, tag libraries are not provided.
    Even if the Web Project template is selected, the project does not include the tag library JAR files in the WEB-INF/lib directory. Also if a JSP is added to a Web Project,
    the JSP does not contain the tag library directives.
    The following features are requested to be added:
    1. When a project is created with the Web Project template the WEB-INF/lib directory should contain the tag library JAR files, which are required to run the web application in a server other than the integrated WebLogic server.
    2. When a JSP is added to a Web Project template project the JSP should contain the tag library directives for the tag libraries in the Web Project. Even if the Add Jsp Page option is selected while creating the Web Project, the tag library directives are not added to the JSP page.
    3. The tag libraries should also be available for other project technologies such as JSP and Servlets and JSP for Business Components that may include tag libraries.
    Edited by: dvohra on Nov 12, 2008 1:34 PM

  • Question deploying ejbs, possible bug

    I am deploying my ejbs with an ear file and I specified for only 3 beans to be created
    at start up but I saw it created the Bean more than 3 times when the server is started.
    Is this normal?
    I'm also having problems with the auto redeploy. It never redeploy in the correct
    order forcing me to restart the server. Any help would be greatly appreciated.

    Hi.
    Server version? Are you using the latest service pack?
    Regards,
    Michael
    Kye wrote:
    I am deploying my ejbs with an ear file and I specified for only 3 beans to be created
    at start up but I saw it created the Bean more than 3 times when the server is started.
    Is this normal?
    I'm also having problems with the auto redeploy. It never redeploy in the correct
    order forcing me to restart the server. Any help would be greatly appreciated.--
    Michael Young
    Developer Relations Engineer
    BEA Support

Maybe you are looking for

  • Windows not working, please help me

    Hi ... I have a problem with windows 8 in my macbook pro, in the past year it happens twice, first time it was solved by itself and now happened again and take too long around tow weeks, the problem is " Whenever i turn the windows 8 it just gives me

  • Vendor account suddenly denied after 2 years?

    Hello, Last week I got an email from the BlackBerry World team that my vendor account was denied because of the following reason: - "Unable to verify identity of person or company". This is very confusing because my vendor account was approved 2 year

  • NVGRE Gateway Cluster Problem

    Hello We have following setup: Management Hyper-V hosts running WAP, SPF and SCVMM 2012 R2 components Gateway Hyper-V host: single node gateway hyper-v host, configured as a single node cluster to be able to join extra hardware in the future this Hyp

  • Iweb not allowing me to go to all of my pages on my wed site

    I have created a site and I cannot move from page to page. It will only allow me to see the Welcome page when I visit. Also the photos on the Photo page were doing the slide show and now it will not. Trina

  • Anyone know anything about mackeeper

    I keep getting ads about mac keeper does anyone know if its any good or anything about it