Bc4j,jsp,jdev3.22:Error using custom Domain

I have created a domain subclassing from oracle.jbo.domain.Number, to allow for the formatting of numbers.
I attached this new domain to a attribute of an entity object e.g. bid. When using the tester, the number is displayed correctly.
When assessing the view (e.g bidView), from the JSP client, i get the error:
java.lang.VerifyError: package6.common.num
What am i doing wrong or is there a better way to format numbers when using jsp and bc4j?
The code is as follows:
package package6.common;
import oracle.jbo.server.*;
import oracle.jbo.domain.DomainOwnerInterface;
import oracle.jbo.domain.DomainInterface;
import oracle.jbo.JboException;
import oracle.jbo.domain.Number;
import java.text.*;
import java.math.*;
import java.sql.*;
public class num extends Number {
* This is the default constructor (do not remove)
public num() {
public num(String value) throws SQLException, ParseException {
super(new BigDecimal(NumberFormat.getInstance().parse(value).doubleValue()));
//validate();
public String toString() {
NumberFormat nf = NumberFormat.getInstance();
nf.setMinimumFractionDigits(2);
return nf.format(this.doubleValue());

Take the code of the jsp file :
<%@ page language="java" %>
<%@ taglib uri="WEB-INF/struts-html.tld" prefix="html" %>
<html>
   <head>
     <title> First Struts Application </title>
   </head>
     <body>
        <table width="500" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td> </td>
        </tr>
        <tr bgcolor="#36566E">
          <td height="68" width="48%">
            <div align="left">
              <img src="images/hht.gif" width="220" height="74">
            </div>
          </td>
        </tr>
        <tr>
         <td> </td>
        </tr>     
       </table>
       <html:form action="Lookup"
                  name="lookupForm"
                  type="wiley.LookupForm" >
       <table width="45%" border="0">
        <tr>
          <td>Symbol:</td>
          <td><html:text property="symbol" /> </td>
        </tr>
         <tr>       
          <td colspan="2" align="center"><html:submit/> </td>
         </tr>       
        </table>              
      </html:form>
     </body>
</html>

Similar Messages

  • Error Using Custom Tag

    I am trying to use a custom tag but receive an error when I use it on a jsp page.
    I have a tag handler class file, tag library descriptor file, specified the path to the .tld in the web.xml file.
    The error implies that it cannot find the SimpleTag.class file, though I put it in the \webapps\examples\WEB-INF\classes\ directory.
    Here is the error. Does anyone know what else it could be?
    org.apache.jasper.JasperException: Unable to compile class for JSP
    Generated servlet error:
    C:\jakarta-tomcat-4.0.1\work\localhost\examples\jsp\jspVisual\ch10\using_0005ftag$jsp.java:63: Class org.apache.SimpleTag not found.
    SimpleTag_jspx_th_myFirstTag_SimpleTag_0 = new SimpleTag();

    I could not see any obvious mistakes. But what you could try, in order to isolate the problem, is to bypass the web.xml. In other words access the TLD directly by doing this in your JSP
    <%@ taglib uri="/WEB-INF/jsp/tag_library_descriptor.tld" prefix="myFirstTag" %>
    if that does work then move the your TLD out of the jsp folder and into WEB-INF , then try
    <%@ taglib uri="/WEB-INF/tag_library_descriptor.tld" prefix="myFirstTag" %>
    Maybe someone else has better idea.

  • FRM-40815: Form Error, using CUSTOM.pll

    Hello,
    I am trying to customize WIP Lot Transactions Oracle Standard Form using CUSTOM.pll.
    Upon navigating to one of the 3 blocks in the form(RESULTING_LOT), I am getting following error message:
    "FRM-40815: Variable GLOBAL.CLRREC_NOVALIDATE does not exist"
    This global variable is not used in CUSTOM.pll at all. But is initialized and used in the standard form only.
    When custom code is turned off, there is no error message.
    Please advise.
    Thanks,
    Krishna.

    Hi,
    Thanks for the response.
    I have created a custom profile and attached it users and Profile value has the organization names.I want the User A with Org1 value in the profile to see all the GL Batches which is created by any other user who belongs to only Org1. Say another user User B with Org2 as the profile value should not see any GL batches created by any other user in the GL Journal Form belonging to other Org's.I'm able to restrict the batches using the below query using the personalizations in the Record Group for the Batch Name.But if the user doesnt give any search criteria and then selects Find then the main form displays all the batches. Hence I want to overide the Data Block where to display accordingly.
    select a.name from gl_je_batches a
    where 1=1
    and a.created_by in (select b.user_id from
    fnd_user b,
    fnd_profile_option_values c,
    fnd_profile_options d
    where c.profile_option_id =d.profile_option_id
    AND c.level_value = b.user_id
    AND profile_option_name='KAP_USER_ORGANIZATION'
    AND c.profile_option_value =(select profile_option_value
    from fnd_profile_option_values e
    where e.level_value =fnd_profile.value('USER_ID')
    and profile_option_id=d.profile_option_id)
    Thanks,
    Ashwini.

  • Stopped recieving mail through Outlook using custom domain..

    I had a custom domain through Office small business addition, and have 5 mailboxes that I access through Outlook.com. All accounts have stopped receiving any mail for the last 10 days, though I'm able to send emails just fine. Nothing has changed
    on my end, e.g. domain name is active, and no changes to the e-mail client(s). I tried to send a message to one of the affected mailboxes, and here is what happens:
    Notification of delayed delivery with no action required
    In a couple of days, delivery failure "Unable to deliver message to the following recipients, due to being unable to connect successfully to the destination mail server."
    I have looked around the community, and found no helpful information, this is impacting our ability to manage daily communication needs.
    Thanks,
    P.S. I'm sure this question is better suited for another forum, but the support personal is in disagreement

    Thanks for the reply, I'm unable to receive mail through the web interface. I'm accessing this through Outlook.com and so far have found no helpful information to unblock these accounts. Here is a snippet from the bounce:
    x-store-info:D6taffyBScEUZsL+ZXbbDgLbVGSV1R4drFk9v1u13k2/tq+mYtmGMytxV5UYJXR/n7VUgSm2cyY2+/Z1UsuX4ibJs8KgaJB8BrKuwTJFXu4nrFoUZj1HkzQtfXbltnHM/o2MgYooOBIMuG8889K0Sw==
    Authentication-Results: hotmail.com; spf=none (sender IP is 65.55.116.103; identity alignment result is pass and alignment mode is relaxed) smtp.helo=BLU004-OMC3S28.hotmail.com; dkim=none (identity alignment result is pass and alignment mode is relaxed) header.d=mail.hotmail.com; x-hmca=none [email protected]
    X-SID-PRA: [email protected]
    X-AUTH-Result: NONE
    X-SID-Result: NONE
    X-Message-Delivery: Vj0xLjE7RD0wO0dEPTA7U0NMPTk7bD0xO3VzPTE=
    X-Message-Info: AuEzbeVr9u5fkDpn2vR5iCu5wb6HBeY4iruBjnutBzpStnUabbM/X3OHG1tkHI7a3kMiU15mwZkdItk0fkPUd26iJME4hbgAI/g6pso0Zyh7O0XVOq5g8hCf8Efy9J5lKkdwprP9EhP7RM0PyiUzXHkNE5r5dNzX
    Received: from BLU004-OMC3S28.hotmail.com ([65.55.116.103]) by SNT004-MC2F26.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.22712);
    Sat, 8 Nov 2014 11:18:17 -0800
    From: [email protected]
    To: [email protected]
    Date: Sat, 8 Nov 2014 11:17:56 -0800
    MIME-Version: 1.0
    Content-Type: multipart/report; report-type=delivery-status;
    boundary="9B095B5ADSN=_01CFF3BDCD6A2C340008C947BLU004?OMC3S28.h"
    X-DSNContext: 7ce717b1 - 1386 - 00000002 - C00402D1
    Message-ID: <[email protected]>
    Subject: Delivery Status Notification (Failure)
    Return-Path: <>
    X-OriginalArrivalTime: 08 Nov 2014 19:18:17.0465 (UTC) FILETIME=[C0229690:01CFFB88]
    This is a MIME-formatted message.
    Portions of this message may be unreadable without a MIME-capable mail program.
    --9B095B5ADSN=_01CFF3BDCD6A2C340008C947BLU004?OMC3S28.h
    Content-Type: text/plain; charset=unicode-1-1-utf-7
    This is an automatically generated Delivery Status Notification.
    Unable to deliver message to the following recipients, due to being unable to connect successfully to the destination mail server.
    [email protected]
    --9B095B5ADSN=_01CFF3BDCD6A2C340008C947BLU004?OMC3S28.h
    Content-Type: message/delivery-status
    Reporting-MTA: dns;BLU004-OMC3S28.hotmail.com
    Received-From-MTA: dns;BLU202-W4
    Arrival-Date: Thu, 6 Nov 2014 11:14:39 -0800
    Final-Recipient: rfc822;[email protected]
    Action: failed
    Status: 4.4.7
    --9B095B5ADSN=_01CFF3BDCD6A2C340008C947BLU004?OMC3S28.h
    Content-Type: message/rfc822
    Received: from BLU202-W4 ([65.55.116.74]) by BLU004-OMC3S28.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.22751);
    Thu, 6 Nov 2014 11:14:39 -0800
    X-TMN: [4iGQEvJDpRhS8BVNGwHgj/yrk4x7pbGkHgmdrcWWd5g=]
    X-Originating-Email: [[email protected]]
    Message-ID: <[email protected]>
    Return-Path: [email protected]
    Content-Type: multipart/alternative;
    boundary="_02feff9f-34cc-4fa8-9da4-4885f1209a8a_"
    From: "x .x .x" <[email protected]>
    To: xxx xxx <[email protected]>
    Subject: Blah
    Date: Thu, 6 Nov 2014 11:14:38 -0800
    Importance: Normal
    MIME-Version: 1.0
    X-OriginalArrivalTime: 06 Nov 2014 19:14:39.0771 (UTC) FILETIME=[E98D9EB0:01CFF9F5]
    --_02feff9f-34cc-4fa8-9da4-4885f1209a8a_
    Content-Type: text/plain; charset="iso-8859-1"
    Content-Transfer-Encoding: quoted-printable
    =
    --_02feff9f-34cc-4fa8-9da4-4885f1209a8a_
    Content-Type: text/html; charset="iso-8859-1"
    Content-Transfer-Encoding: quoted-printable
    <html>
    <head>
    <style><!--
    .hmmessage P
    margin:0px=3B
    padding:0px
    body.hmmessage
    font-size: 12pt=3B
    font-family:Calibri
    --></style></head>
    <body class=3D'hmmessage'><div dir=3D'ltr'> </div></body>
    </html>=
    --_02feff9f-34cc-4fa8-9da4-4885f1209a8a_--
    --9B095B5ADSN=_01CFF3BDCD6A2C340008C947BLU004?OMC3S28.h--

  • New issue breaking Gmail when using custom domain name

    I have been using my own domain name in conjunction with Gmail since the launch of Gmail.  The use case is fairly straightforward -- I have my own domain name and have created an email address alias on this domain ("custom email address') that forwards email to my Gmail account.  I have configured Gmail to override the From field with this custom email address.  With this configuration, Gmail is happy.  
    On my Z10, I had created a Gmail email integration account via the Advanced Settings with my custom email address in the "email address" field and my gmail email address as the username with the appropriate gmail server settings.  When I continue from the advanced screen, I was taken to the Google account login screen where I grant permissions for my BlackBerry to access my account.  On this screen, I logged in using my gmail email address.  This worked fine and I received email without incident on my Z10 since I bought it on the Feb launch date ... until this past weekend.  My Z10 then suddenly reported that my settings had changed and nothing I could do could convince it to accept the above settings as correct.
    If you have a similar configuration and have noticed recent issues, there is a solution.  This new "issue" appears to be that when you log into the Google permissions screen during the BB10 email account configuration process (i.e. the Google login page after you enter all the server settings in Advanced section of BB email account setup), you are no longer allowed to enter a username that differs with the custom email address you are setting up.  It won't ever tell you that this is the problem.  You just get a vague email settings error at the end of the process and you can't get your mail.  It is possible that Google is the one who introduced this glitch, since the solution is within your Google account configuration, not BlackBerry.  Simply put, you must associate your custom email address with your gmail account login within Google.
    To do this, log in to Gmail using your usual gmail address.  Click on your Gmail address in the top right corner, select the "Account" link in the drop down.  Click the "Edit" link to the right of the Email heading.  At the bottom of this edit page add your custom email address in the field next to the label "Add a new alternate address".  After you add it, you will need to verify this address via an email that will be in your Gmail account.  I probably should have done this long ago, but never had the need to until now.
    Now you can get BB email working again.  Go back to the BB10 account settings page for your Gmail account.  This time when are kicked over to the Google login page to grant permissions to your BlackBerry to access your account, use your custom email address as your Google username and use your usual Gmail password.

    Amazing, Thanks !

  • Execute infopackage error, using custom FM Datasource

    hi, experts,
    I have a problem with the data load from FM datasource to psa. (sourcesystem is oneself BI system).
    Moitor status message:
    Request still running
    Diagnosis
    No errors found. The current process has probably not finished yet.
    System Response
    The ALE inbox of BI is identical to the ALE outbox of the source system
    or
    the maximum wait time for this request has not yet been exceeded
    or
    the background job has not yet finished in the source system.
    Current status
    in the source system .
    Moitor Details message:
    Requests (messages): Everything OK
    Extraction (messages): Missing messages
    Data request received
    Data selection scheduled
    104 Records sent ( 104 Records received )
    Missing message: Selection completed
    Transfer (IDocs and TRFC): Everything OK
    Processing (data packet): Everything OK
    job log:
    Job started
    Step 001 started (program SBIE0001, variant &0000000001394, user ID sunsh)
    Asynchronous transmission of info IDoc 2 in task 0001 (0 parallel tasks)
    DATASOURCE = ZDST_DETAILDAYS
    Call customer enhancement EXIT_SAPLRSAP_001 (CMOD) with 104 records
    Result of customer enhancement: 104 records
    Asynchronous send of data package 1 in task 0002 (1 parallel tasks)
    tRFC: Data Package = 0, TID = , Duration = 00:00:02, ARFCSTATE =
    tRFC: Start = 2009/10/13 09:43:22, End = 2009/10/13 09:43:24
    tRFC: Data Package = 1, TID = 0A00920601194AD3DB3C19D6, Duration = 00:00:00, ARFCSTATE = RECORDED
    tRFC: Start = 2009/10/13 09:43:24, End = 2009/10/13 09:43:24
    Asynchronous transmission of info IDoc 3 in task 0003 (0 parallel tasks)
    I have validate the data using RSA3, that is OK, and the data already load to PSA table and can be display, but the status aways "yellow".
    I have re-active and replicate the datasource .
    can someone tell me how to solve this issue ?
    thanks in advance
    xwu.

    hi,    Ansel
        if not return any data, the exception NO_MORE_DATA will be raised correctly.
    but it contain 104 records,  the FM code like , :
       call function GET_DATA
        IF SY-SUBRC <> 0.
          RAISE NO_MORE_DATA.
        ENDIF.
        S_COUNTER_DATAPAKID = S_COUNTER_DATAPAKID + 1.
    maybe the FM contains some error,  verify using RSA3 that is ok.
    thanks a lot.
    Edited by: xwu wu on Oct 14, 2009 8:23 AM

  • Error using custom xpath function with XSL transformations in BPM

    Hi,
    We have created a custom xpath function for use with SOA Suite and BPM. This has been built as per specified within the http://docs.oracle.com/cd/E29597_01/dev.1111/e10224/bp_appx_functs.htm#SOASE11100. We have also reviewed the Oracle Sample for mapper-107-ExtensionFunctions (sample demonstrates the use of user-defined extension functions). This has been registered with jDeveloper and SOA within the oracle.soa.ext_11.1.1 (run ant to include in oracle.soa.ext.jar)
    We ideally want to use this is BPM within an xsl. However when consuming this function is either BPEL or BPM using an xsl, the xsl fails with an error such as:
    XPath expression failed to execute. An error occurs while processing the XPath expression; the expression is ora:doXSLTransformForDoc("xsl/Transformation_1.xsl", $inputVariable.payload). The XPath expression failed to execute; the reason was: javax.xml.transform.TransformerException: oramds:/deployed-composites/default/gwCustomXpathUtil_rev1.0/xsl/Transformation_1.xsl<Line 9, Column 113>: XML-22043: (Error) Extension function error: Method not found 'getWeekDayDate'. Check the detailed root cause described in the exception message text and verify that the XPath query is correct.
    In an Assign it operates fine and returns the expected result. We have included a combination of both of the Config files (ext-mapper-xpath-functions-config.xml and ext-soa-xpath-functions-config.xml) in the META-INF folder, however neither allow the use of this function in the XSL.
    I believe there may be an issue getting the custom xpath functions within XSL files. Hence I have also raised an SR. Has anyone experiences of this?
    Our SOA / BPM suite environment is using 11.1.1.6.4 and has the following patches applied:
    13801175
    14406487 (11.1.1.6.4 SOA Bundle)
    13896993
    13088538
    Regards Dave
    Edited by: DavidGaskell on Mar 14, 2013 10:08 PM

    Hi All,
    I am also facing the same issue...Experts can you please help us.
    hi DavidGaskell, did you find any resolution, if so can you share it with me.....
    Thanks,
    RR

  • Illegal Access Error : using Custom Tags

    Ive a very simple custom tag that try to print curent date on webpage but when I try to run it gives me following error
    java.lang.IllegalAccessError: try to access class com.sun.xml.tree.ParentNode from class org.apache.jasper.compiler.TagLibraryInfoImpl
    java.lang.IllegalAccessError: try to access class com.sun.xml.tree.ParentNode fr
    om class org.apache.jasper.compiler.TagLibraryInfoImpl
    Here is my jsp code
    <html>
    <head>
    <%@ taglib uri="http://127.0.0.1:8080/examples/cdate.tld" prefix="examples"%>
    </head>
    <body>
    The file is <examples:cdate/>
    </body>
    </html>
    here goes cdate.tld code
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN" "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
    <taglib>
    <tlibversion>1.0</tlibversion>
    <jspversion>1.1</jspversion>
    <shortname>examples</shortname>
    <uri>http://www.mycompany.com/taglib</uri>
    <info>An example tag library</info>
    <tag>
    <name>cdate</name>
         <tagclass>datex.DateTag</tagclass>
    <info>Returns Current Date</info>
    </tag>
    </taglib>
    here is web.xml entry
    <taglib>
         <taglib-uri>
              http://127.0.0.1:8080/examples/WEB-INF/cdate.tld
         </taglib-uri>
         <taglib-location>
              /WEB-INF/cdate.tld
         </taglib-location>
    </taglib>
    here is the taghandler class code
    package datex;
    import java.io.*;
    import java.util.Date;
    import javax.servlet.jsp.*;
    import javax.servlet.jsp.tagext.*;
    public class DateTag extends javax.servlet.jsp.tagext.TagSupport {
    private String date;
    public int doStartTag() throws JspException {
              StringBuffer html = new StringBuffer();
              date = new Date().toString();
         html.append("Current Date : ");
         html.append(date);
         try {
         pageContext.getOut().write(html.toString());
         } catch (IOException ioe) {
         throw new JspException(ioe.getMessage());
    return EVAL_BODY_INCLUDE;
    public void setDate(String s) {
    this.date = s;
    can any one plz hlp me

    when i put the struts tags into the subforld such as /web-inf/tags , the jsp page tell me parsing tags error.
    should i must put all this tags in the right fold?
    i configure the url location in the web.xml as the route /web-inf/tags/....tld why invalid?

  • Error using custom tag library

    Hi All,
              I am getting the following error:
              On the browzer page when I invoke the foo.jsp page containing a tag
              library.
              Parsing of JSP File '/jsp/foo.jsp' failed:
              /jsp/foo.jsp(7): Could not parse deployment descriptor:
              org.xml.sax.SAXParseException: Could not parse taglib, starting at
              line 5
              probably occurred due to an error in /jsp/foo.jsp line 7:
              <%@ taglib uri="example-taglib.tld" prefix="eg" %>
              Wed Mar 27 13:17:49 PST 2002
              The configutation is as follows
              Foo.jsp in documentRoot/jsp
              tld file in documentRoot/WEB-INF
              class files in documentRoot/WEB-INF/classes/examples.
              The server is spitting out the following code:
              weblogic.servlet.jsp.JspException: (line 7): Could not parse
              deployment descript
              or: org.xml.sax.SAXParseException: Could not parse taglib, starting at
              line 5
              at java.lang.Throwable.fillInStackTrace(Native Method)
              at java.lang.Throwable.fillInStackTrace(Compiled Code)
              at java.lang.Throwable.<init>(Compiled Code)
              at java.lang.Exception.<init>(Compiled Code)
              at java.lang.RuntimeException.<init>(RuntimeException.java:47)
              at weblogic.servlet.jsp.JspException.<init>(JspException.java:9)
              Can anyone help me with this ?
              Thanks for your help!!
              SundayFunday!
              

    Could anyone please let me know what is going on here?
              SundayFunday!
              [email protected] (SundayFunday) wrote in message news:<[email protected]>...
              > Can anyone help me with this?!!
              >
              > Thanks!
              >
              > Sundayfunday.
              >
              > [email protected] (SundayFunday) wrote in message news:<[email protected]>...
              > > Hi All,
              > >
              > > I am getting the following error:
              > >
              > > On the browzer page when I invoke the foo.jsp page containing a tag
              > > library.
              > >
              > > Parsing of JSP File '/jsp/foo.jsp' failed:
              > > --------------------------------------------------------------------------------
              > > /jsp/foo.jsp(7): Could not parse deployment descriptor:
              > > org.xml.sax.SAXParseException: Could not parse taglib, starting at
              > > line 5
              > > probably occurred due to an error in /jsp/foo.jsp line 7:
              > > <%@ taglib uri="example-taglib.tld" prefix="eg" %>
              > > --------------------------------------------------------------------------------
              > > Wed Mar 27 13:17:49 PST 2002
              > >
              > >
              > >
              > > The configutation is as follows
              > >
              > > Foo.jsp in documentRoot/jsp
              > >
              > > tld file in documentRoot/WEB-INF
              > > class files in documentRoot/WEB-INF/classes/examples.
              > >
              > >
              > >
              > > The server is spitting out the following code:
              > >
              > > weblogic.servlet.jsp.JspException: (line 7): Could not parse
              > > deployment descript
              > > or: org.xml.sax.SAXParseException: Could not parse taglib, starting at
              > > line 5
              > > at java.lang.Throwable.fillInStackTrace(Native Method)
              > > at java.lang.Throwable.fillInStackTrace(Compiled Code)
              > > at java.lang.Throwable.<init>(Compiled Code)
              > > at java.lang.Exception.<init>(Compiled Code)
              > > at java.lang.RuntimeException.<init>(RuntimeException.java:47)
              > > at weblogic.servlet.jsp.JspException.<init>(JspException.java:9)
              > >
              > >
              > > Can anyone help me with this ?
              > >
              > > Thanks for your help!!
              > >
              > > SundayFunday!
              

  • Issue when SelectOneChoice is used with Domain data type in JDev 11.1.2.0.0

    Hi,
    I am facing one issue while working with SelectOneChoice along with Custom Domain data type. Sample app to simulate the issue is available at http://www.filejumbo.com/Download/6FDF6ECF2922BD24
    Issue Details.
    Base view object’s attribute is of type CustomString, for which another static VO’s attribute is attached as LOV. LOV attribute is of type String. Because of this data type mismatch between LOV VO attribute and Base VO attribute, while working in screen, initially we were facing Class cast exception.
    Cannot convert <<LOV Attr. Val.>> of type class java.lang.String to class model.domain.common.CustomString This is not only for this type of SelectOneChoice but also for InputText field whose underlying VO attribute is of type CustomString (i.e. any Custom Domain type)
    On raising this in Jdeveloper forum, I came to know that adding a default oracle converter against the UI Component will take care of converting to respective data type. After added the converter for InputText and SelectOneChoice components, this issue got resolved. This was our lesson while working in Jdeveloper version 11.1.1.3.0. Converter we used,
    <f:converter converterId="oracle.genericDomain"/> When we try the same scenario in Jdev Version 11.1.1.4.0, without having the oracle converter itself, SelectOneChoice started working fine!! (i.e. it is able to set the base attribute with LOV attribute’s value but with proper base attribute’s domain data type). Anyhow, converter is required for InputText.
    When we try the same scenario in Jdeveloper new version 11.1.2.0.0, it started giving class cast exception when we don’t have oracle converter for SelectOneChoice. But by adding it, though it didn’t give such class cast exception message, though a selection is made in SelectOneChoice, VO attribute has not been updated with the new value. Instead it is updated with null value (Checked the setter method of view row impl by having break point) . Because of this, after a selection is made, when we try to read the attribute value from VO on button click, VO attribute always returns null.
    We have also tried our own converters but there is no change in the behavior.
    The above misbehavior can be tested either by having SOP programmatically or by refreshing the SelectOneChoice by giving its id as Partial trigger to itself with autosubmit set to true, so that the selected value will be reset to null irrespective of the selection made.
    For convenience, Issue details with Sample application is shared. Shared link : http://www.filejumbo.com/Download/6FDF6ECF2922BD24
    Shared folder contains
    1. Sample App developed on Jdev 11.1.1.4.0 to ensure it didn’t give this error.
    2. Sample App developed on Jdev 11.1.2.0.0 to simulate this error.
    3. Error details in a document.
    Can anybody have a look at this and tell me why this misbehavior and is it a bug? If so, any workaround available to continue the development?
    Thanks in Advance.
    Raghu
    Edited by: Raguraman on Sep 10, 2011 10:31 AM

    Sorry for the late reply John and Frank. Ya i did. Thank you.
    One more detail:
    I tested the behavior in Jdeveloper 11.1.2.0.0. The recent surprise is Select One Choice is behaving perfectly when it used in Grid layout and fail to work when it is form layout. I am getting surprised why behavior of component varies based on the way it refers the binding.
    for form layout,
    value=#{bindings.
    for grid layout,
    value=#{row.bindings.
    The bug details (#/title) are Bug 12968871 - RUNTIME CONVERSION FAILURE WHEN USING CUSTOM DOMAIN OBJECT VALIDATION IN EO
    Edited by: Raguraman on Sep 12, 2011 8:23 PM
    Edited by: Raguraman on Sep 12, 2011 8:31 PM

  • Usage of custom domains for primary keys

    Hi,
    I have a question regarding the possibility to use custom domains on primary key attributes: are there any special requirements/constraints in order to do this (like for example providing consistent equals() and hash() methods...)?
    Thanks,
    Dan

    Dan:
    Yes. Provide the correct equals() and hash() is the most important thing you need to do. There are other things you need to think about if the domain is NOT a scalar domain (single value). But, BC4J assumes that the PK is a scalar value, so your custom domain should be a scalar value value ==> equals and hash are two thing you'd need.
    Thanks.
    Sung

  • How to solve the error while  Deploy a BC4J JSP Application using tomcat,

    hello,
    how to avoid the following error?
    i am using jdevloper for devloping jsp applications.
    after that i am calling the jsp page using tomcat4.0 ,i followed the steps according docs by jdev team,
    i am getting the following error how to solve this,
    can one help?
    =============================
    type Exception report
    message Internal Server Error
    description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.
    exception
    org.apache.jasper.compiler.CompileException: /AccountView_Browse.jsp(4,0) Unable to load class oracle.jbo.html.jsp.datatags.ApplicationModuleTag
    at org.apache.jasper.compiler.TagBeginGenerator.init(TagBeginGenerator.java:139)
    at org.apache.jasper.compiler.JspParseEventListener$GeneratorWrapper.init(JspParseEventListener.java:829)
    at org.apache.jasper.compiler.JspParseEventListener.addGenerator(JspParseEventListener.java:153)
    at org.apache.jasper.compiler.JspParseEventListener.handleTagBegin(JspParseEventListener.java:1039)
    at org.apache.jasper.compiler.DelegatingListener.handleTagBegin(DelegatingListener.java:221)
    at org.apache.jasper.compiler.DelegatingListener.handleTagBegin(DelegatingListener.java:216)
    at org.apache.jasper.compiler.Parser$Tag.accept(Parser.java:852)
    at org.apache.jasper.compiler.Parser.parse(Parser.java:1145)
    at org.apache.jasper.compiler.Parser.parse(Parser.java:1103)
    at org.apache.jasper.compiler.Parser.parse(Parser.java:1099)
    at org.apache.jasper.compiler.ParserController.parse(ParserController.java:214)
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:210)
    at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:548)
    at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:176)
    at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:188)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027)
    at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
    at java.lang.Thread.run(Thread.java:536)
    ====================
    thanks
    pullareddy

    I had very similar problems with adding the correct JDeveloper .jar files to Tomcat's lib folder, but did eventually resolve my issues.
    The problem I am having now, however, is the following error message:
    Error Message: oracle.jbo.html.RequestParameters.addParameter(Ljava/lang/String;Ljava/lang/String;)V
    Yes, I have deployed the bc4jhtml.jar file from JDeveloper to Tomcat\common\lib!
    My web-app is a very simple BC4J JSP application. I have one BC4J component in its own project and JAR file, and one JSP referencing that BC4J component - I deploy the BC4J JAR along with the WAR file from the JSP project. Needless to say, the JSP works fine within JDeveloper..!
    I'm using JDev 9.0.3 and Tomcat 4.1.12. Does anyone have any suggestions?
    Thanks,
    S.

  • Unknown namespace prefix Error - when using custom Aliases with RDF aliases

    I am getting unknown namespace prefix error when I use custome SEM_ALIAS with rdf SEM_ALIAS. It seems once you specify custom SEM_ALIAS, the default rdf alias is not recognized. Following are the details of queries
    I have a sem_Model "test" which has "event" as a class and "Merger" as a sub-class of event, with "acquiringorg" as a property having the domain "org". "Org" is also defined as a class with the literal attribute "hasname". I have added one instance of "merger" class with appropriate values for "acquiringorg" property. There is one instance or "Org" as well for reference in the instance above.
    the following query(return all objects having property "acquiringorg" and its .e. "hasName" attribute for the object) runs fine and returns appropriate resultset
    select x event,z acquiringorg ,l acquireeorg from table(SEM_MATCH(
    '(?x Evnt:AcquiringOrg ?y)(?k orgn:hasName ?l)',
    SEM_MODELS('test'),
    null,
    SEM_ALIASES(SEM_ALIAS('Evnt','http://www.abc.com/Event/Merger/'),
    SEM_ALIAS('orgn','http://www.abc.com/Org/')),
    null));
    However when I want to add another criteria i.e. show me events of type merger(?x rdf:type :Merger) , the query fails with the "unknown namespace prefix error" as above
    select x event,z acquiringorg ,l acquireeorg from table(SEM_MATCH(
    '(?x rdf:type :Merger)(?x Evnt:AcquiringOrg ?y)(?k orgn:hasName ?l)',
    SEM_MODELS('test'),
    null,
    SEM_ALIASES(SEM_ALIAS('Evnt','http://www.abc.com/Event/Merger/'),
    SEM_ALIAS('orgn','http://www.abc.com/Org/')),
    null));
    specifying "rdf" ALIAS explicitly also does not work
    select x event,z acquiringorg ,l acquireeorg from table(SEM_MATCH(
    '(?x rdf:type :Merger)(?x Evnt:AcquiringOrg ?y)(?k orgn:hasName ?l)',
    SEM_MODELS('test'),
    null,
    SEM_ALIASES(_SEM_ALIAS('rdf', 'http://www.w3.org/1999/02/22-rdf-syntax-ns#'),_
    SEM_ALIAS('Evnt','http://www.abc.com/Event/Merger/'),
    SEM_ALIAS('orgn','http://www.abc.com/Org/')),
    null));
    I am unable to figure out why default namespace i.e. rdf is returning this error
    Stuck at this point badly!!Any pointers would be useful!!

    Full error details are as below
    ORA-29532: Java call terminated by uncaught Java exception: oracle.spatial.rdf.server.ParseException: Unknown namespace prefix ''
    ORA-06512: at "MDSYS.RDF_MATCH_IMPL_T", line 153
    ORA-06512: at "MDSYS.RDF_MATCH_IMPL_T", line 842
    ORA-06512: at "MDSYS.RDF_MATCH_IMPL_T", line 235
    ORA-06512: at line 1
    29532. 00000 - "Java call terminated by uncaught Java exception: %s"
    *Cause:    A Java exception or error was signaled and could not be
    resolved by the Java code.
    *Action:   Modify Java code, if this behavior is not intended.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Error using 10.1.3 Security Provider:3rd party LDAP or Custom Login Module

    Hello all,
    After deploying my JSF/ADF application using Jdeveloper 10.1.3 to Oracle Application Server 10.1.3, I used the Application Server control to change the 'Security Provider' configuration:
    1. Using 3rd Party LDAP Provider (Novell eDirectory)
    I get the following error when restarting the application with the new config.
    06/06/21 16:42:32 Error while configuring security provider MBean for application AccessList
    06/06/21 16:42:32 java.lang.ClassNotFoundException: oracle/security/jazn/jmx/CustomLDAPSecurityProvider
    2. Using Custom Login Module (again programmatically talks to eDirectory and it works in UIX/10.1.2 application)
    I get the following error when restarting the application with the new config.
    06/06/21 14:31:19 Error while configuring security provider MBean for application AccessList
    06/06/21 14:31:19 java.lang.ClassNotFoundException: oracle/security/jazn/jmx/LoginModuleSecurityProviderAlso, I get this error with both the settings..
    06/06/21 14:31:19 WARNING: Application.setConfig Application: AccessList is in failed state as initialization failedjava.lang.
    InstantiationException
    Jun 21, 2006 2:31:19 PM com.evermind.server.Application setConfig
    WARNING: Application: AccessList is in failed state as initialization failedjava.lang.InstantiationException
    06/06/21 14:31:19 java.lang.InstantiationException
    06/06/21 14:31:19       at com.evermind.server.ApplicationStateRunning.initDataSources(ApplicationStateRunning.java:1424)
    06/06/21 14:31:19       at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:195)
    java.lang.ClassNotFoundException error leads me to believe, I am just missing to include some libraries..
    I have included "bc4j.security" in my web project and I am not sure if that is what is needed!
    Will appreciate your help..
    Thanks,
    Karthik

    The problem i had with my Custom login module was that JDeveloper includes the datasources listed in the connection tab.
    When JDeveloper does that it writes the username and password in the jazn-data.xml. But with the Custom Login module the reference in de data-source declaration cannot find the password. that's why i got the InstantiationException at the initDataSources point.
    In tools>preferences>deployment you can uncheck the option:
    Bundle Default data-sources.xml During Deployment.
    The problem with this is when i specify a datasource in the data-sources.xml i included myself, jdeveloper will also put de datasources under the Connections tab in the data-sources.xml.
    Does anyone knows how to stop jdeveloper putting the datasources automatic in the file, or how to prevent jdeveloper storing the password in jazn-data.xml?

  • Using MySQL with JDeveloper 3.2 in a BC4J JSP Application

    Hi!
    I'm trying to create a BC4J JSP application using MySQL.
    I'm using the mm.mysql-2.0.4-bin.jar which I've registered in
    IDE and ClassPath. I created a connection with the option Other
    JDBC.
    I tested successfully the connection in the Connection Manager.
    After, I created a new project with BC4J. Using the 'tester' I
    got an error: no suitable driver.
    While editing the created view object I got a SQLException when
    I clicked in Attribute Mapping.
    How to solve this problem? I realized that other people here had
    this kind of problem but nobody gave a definitive solution.
    Thanks.

    Ok, I'm doing exactly the same Jdevloper BC4J over mySQL.
    I got one step further.
    In order to solve your problem:
    1. Add AddJavaLibFile ../lib/mysql_comp.jar (or whereever
    is your mysql driver) in bin/jdev.conf.
    resart the application
    In that case your driver will be available for all tasks.
    It works for me.
    My problem:
    When I run the Tester for my generated module, I obtain:
    No attribute with the Primary key property was found...
    Can you emeil me the procedure if you find how to use
    BC4J over mysql

Maybe you are looking for

  • Flash Movie Works in Preview (Ctrl+enter) but not in Published

    Hi All- I hope somebody on here can help me out. I'm not sure what else to try. I have a flash project that I have been working on for a while, today its stopped functioning properly. To be clear. It still runs JUST FINE when I preview it (CTRL+ENTER

  • Reports.sh file missing in ORAHOME \bin directory

    I have successfully started the reports server from DOS and looked for the reports.sh file to change the REPORTS_PATH system variable but no file exists on my computer. I am also running the following code which opens a blank web page but then nothin

  • Error Message code 1900 in syntax check and code LV_ERR in user interface

    In my webdynpro component when i did the code inspector check i have an error message in syntax check which says "Message code 1900: ObjectType WDYN Object name ZXXXX Row 1 Column 0 the size of the PXA buffer reached a critical value at 158 percent.

  • Capture Change in Sales Order Status

    Dear All, I have an issue in which i need to capture all the sales order in which change has taken place in a given day. I have checked CDHDR & CDPOS but they arent helpful as they are not updated when there is change in status of sales order. Could

  • Cancel out of Application

    Hi, We have WD form we are calling from GP. We are implementing a cancel button and stuck with the functionality. Already created a sdn post on WD Java forum no results. We thought since the call to the form originates from a GP interface may be you