JasperReport help (jdev 10.3)

Dear All,
Good day,
I try to make jasper report more than 1000000000000000000000000000 times but ( always fail!!)
and this exception will be appear:
net.sf.jasperreports.engine.JRException: Errors were encountered when compiling report expressions class file:
C:\jdevstudio1013\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\config\44_1154547616116_774206.java:21: <identifier> expected
public class 44_1154547616116_774206 extends JREvaluator
^
C:\jdevstudio1013\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\config\44_1154547616116_774206.java:274: '{' expected
^
2 errors
I added these libraries to my project (view & model):
1- commons-beanutils
2- commons-collections-3.2
3- commons-digester-1.7
4- itext-1.4.5
5- jasperreports-1.7
6- poi-2.5.1-final-20040804
7- commons-logging-1.1

JasperReports and Jdeveloper

Similar Messages

  • JasperReport help

    He all... i have a problem with jasperReport tool
    i must make a pdf from a model, and i must insert data from my application...
    i choose iReport for make this work... but i found a lot of problems
    my code is:
    import java.util.HashMap;
    import org.apache.log4j.BasicConfigurator;
    import org.apache.log4j.Logger;
    import net.sf.jasperreports.engine.JREmptyDataSource;
    import net.sf.jasperreports.engine.JRException;
    import net.sf.jasperreports.engine.JasperFillManager;
    import net.sf.jasperreports.engine.JasperCompileManager;
    public class Application
    public static void main(String[] args)
         Logger log = Logger.getLogger(Application.class);
         BasicConfigurator.configure();
         try
         System.out.println("Compiling report...");
         JasperCompileManager.compileReportToFile("c:/a/reports/FirstReport.jrxml");
         System.out.println("Done!");
         catch (JRException e)
         e.printStackTrace();
    try
    System.out.println("Filling report...");
    JasperFillManager.fillReportToFile("c:/a/reports/FirstReport.jasper",
    new HashMap(), new JREmptyDataSource());
    System.out.println("Done!");
    catch (JRException e)
    e.printStackTrace();
    and the error is:
    import java.util.HashMap;
    import org.apache.log4j.BasicConfigurator;
    import org.apache.log4j.Logger;
    import net.sf.jasperreports.engine.JREmptyDataSource;
    import net.sf.jasperreports.engine.JRException;
    import net.sf.jasperreports.engine.JasperFillManager;
    import net.sf.jasperreports.engine.JasperCompileManager;
    public class Application
    public static void main(String[] args)
         Logger log = Logger.getLogger(Application.class);
         BasicConfigurator.configure();
         try
         System.out.println("Compiling report...");
         JasperCompileManager.compileReportToFile("c:/a/reports/FirstReport.jrxml");
         System.out.println("Done!");
         catch (JRException e)
         e.printStackTrace();
    try
    System.out.println("Filling report...");
    JasperFillManager.fillReportToFile("c:/a/reports/FirstReport.jasper",
    new HashMap(), new JREmptyDataSource());
    System.out.println("Done!");
    catch (JRException e)
    e.printStackTrace();
    can anyone help me? thanks a lot!

    i'm sorry... i copy wrong code...
    the error is this...
    Exception in thread "main" org.apache.commons.logging.LogConfigurationException: java.lang.NullPointerException
         at org.apache.commons.logging.LogFactory.newFactory(LogFactory.java:558)
         at org.apache.commons.logging.LogFactory.getFactory(LogFactory.java:355)
         at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:409)
         at org.apache.commons.digester.Digester.<init>(Digester.java:304)
         at net.sf.jasperreports.engine.xml.JRXmlDigester.<init>(JRXmlDigester.java:62)
         at net.sf.jasperreports.engine.xml.JRXmlDigesterFactory.createDigester(JRXmlDigesterFactory.java:975)
         at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:203)
         at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:168)
         at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:152)
         at net.sf.jasperreports.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:90)
         at pdf.Application.main(Application.java:15)
    Caused by: java.lang.NullPointerException
         at org.apache.commons.logging.LogFactory.newFactory(LogFactory.java:543)
         ... 10 more

  • Help :  JDev 11 [TP4] Saved Data as a Rubbish    ??????????

    Hi all
    I use a non Latin letters Language and I do not have any problems with the interface but my problem is with data;
    after I insert or update data and Press Commit the data displays and Saved as a Rubbish .
    Note : my O/S windows XP and I use Jdeveloper 11g TP4
    and I do not have this problem in Jdeveloper 10.1.3
    I tried to Add Nls_charset12.jar Library in my Project Properties Libraries.
    and tried to add the following statement below in faces-config.xml file
    <locale-config>
    <default-locale>en</default-locale>
    .<supported-locale>................
    </locale-config>
    all this did not work
    Anybody can help???
    Thanks
    Forakora

    Hi,
    seems your encodings are not correct.
    I had similar problem and I solved it with UTF8-encoding of the JSPX.
    ==============
    <?xml version='1.0' encoding='UTF8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
    xmlns:c="http://java.sun.com/jsp/jstl/core"
    xmlns:tr="http://myfaces.apache.org/trinidad">
    <jsp:directive.page contentType="text/html;charset=UTF8"/>
    ================================
    But also database-, browser-, Oracle client-, .... settings may cause this problem :-(
    hope this helps.
    regards
    Peter

  • Please Help: jdev 10.1.3EA embedded server java/lang/StackOverflowError

    When I running my application after 1 page application server exit with following message.
    Fatal error: Cannot find class java/lang/StackOverflowError
    Process exited with exit code -1.
    I have 1.18gb intel M processor with 1GB ram & 1gb swap file.

    I installed base version with JDK 1.5 update 5 installed separately.
    jDev installed directory without spaces C:\Oracle\jDev1013.
    1) Login - Success
    2) startPage - Success
    I have af:table on startPage having command button which takes to 3rd page. I have put the comments in action method I can see method completes successful then I get message. e.g.
    05/11/01 16:47:10 Completed NeutralTableBean.
    05/11/01 16:47:13 Completed ShowCaseFromList.
    Fatal error: Cannot find class java/lang/StackOverflowError
    Process exited with exit code -1.
    This is started this morning. I am developing this application since 4 weeks I was able to navigate to rest of pages till yesterday.
    Thanks for the prompt reply.
    Yogesh

  • Problem with range page with SQL Server

    Please help
    JDev version JDEVADF_11.1.1.7.0_GENERIC_130226.1400.6493
    I am using range paging for one of the VOs. The VO is based on single table. The VO is bounded to af:table. We need to support both Oracle and SQL server.
    When database is Oracle , the range paging works fine.
    But when database is SQLServer only first page is fetched properly, all the other pages are just copy of first page. The pagesize is default (25).
    Did I miss anything ?
    With accessMode=Scrollable the table show correct data for both Oracle and SQLServer.
    This is my VO XML
    <?xml version="1.0" encoding="windows-1252" ?>
    <!DOCTYPE ViewObject SYSTEM "jbo_03_01.dtd">
    <!---->
    <ViewObject
      xmlns="http://xmlns.oracle.com/bc4j"
      Name="MessagesROVO"
      Version="11.1.1.64.93"
      InheritPersonalization="true"
      OrderBy='"TIMESTAMP" desc'
      BindingStyle="JDBC"
      CustomQuery="true"
      RowClass="model.bc4j.queries.admin.MessagesROVORowImpl"
      ComponentClass="model.bc4j.queries.admin.MessagesROVOImpl"
      FetchMode="FETCH_AS_NEEDED"
      PageIterMode="Full"
      UseGlueCode="false"
      Passivate="All"
      AccessMode="RANGE_PAGING">
      <DesignTime>
        <Attr Name="_codeGenFlag2" Value="Access|Coll|VarAccess"/>
        <Attr Name="_isExpertMode" Value="true"/>
        <Attr Name="_isCodegen" Value="true"/>
      </DesignTime>
      <Properties>
        <SchemaBasedProperties>
          <LABEL
            ResId="model.bc4j.queries.admin.MessagesROVO_LABEL"/>
        </SchemaBasedProperties>
      </Properties>
      <Variable
        Name="BINDApplicationName"
        Kind="viewcriteria"
        Type="java.lang.String">
        <AttrArray Name="ExtendedDataInts">
          <Item Value="0"/>
        </AttrArray>
      </Variable>
      <Variable
        Name="BINDServerName"
        Kind="viewcriteria"
        Type="java.lang.String">
        <AttrArray Name="ExtendedDataInts">
          <Item Value="1"/>
        </AttrArray>
      </Variable>
      <Variable
        Name="BINDStartTimestamp"
        Kind="viewcriteria"
        Type="java.lang.Float">
        <AttrArray Name="ExtendedDataInts">
          <Item Value="3"/>
        </AttrArray>
      </Variable>
      <Variable
        Name="BINDEndTimestamp"
        Kind="viewcriteria"
        Type="java.lang.Float">
        <AttrArray Name="ExtendedDataInts">
          <Item Value="4"/>
        </AttrArray>
      </Variable>
      <SQLQuery>
        <![CDATA[SELECT
        ERRORLOG.SGUID GUID,
        ERRORLOG.LLOGTYPE LOGTYPE,
        ERRORLOG.DTIMESTAMP TIMESTAMP,
        ERRORLOG.SSERVERNAME SERVERNAME,
        ERRORLOG.SAPPNAME APPNAME,
        ERRORLOG.SXMLERROR XMLERROR
    FROM
        ERRORLOG ERRORLOG]]>
      </SQLQuery>
      <ViewAttribute
        Name="Guid"
        IsUpdateable="false"
        IsPersistent="false"
        IsNotNull="true"
        PrecisionRule="true"
        Precision="40"
        Scale="0"
        Type="java.lang.String"
        ColumnType="NVARCHAR2"
        AliasName="GUID"
        Expression="GUID"
        SQLType="VARCHAR">
        <DesignTime>
          <Attr Name="_DisplaySize" Value="40"/>
        </DesignTime>
      </ViewAttribute>
      <ViewAttribute
        Name="LogType"
        IsUpdateable="false"
        IsPersistent="false"
        PrecisionRule="true"
        Precision="6"
        Scale="0"
        Type="java.lang.Integer"
        ColumnType="NUMBER"
        AliasName="LOGTYPE"
        Expression="LOGTYPE"
        SQLType="INTEGER">
        <DesignTime>
          <Attr Name="_DisplaySize" Value="7"/>
        </DesignTime>
      </ViewAttribute>
      <ViewAttribute
        Name="Timestamp"
        IsUpdateable="false"
        IsPersistent="false"
        PrecisionRule="true"
        Precision="54"
        Scale="0"
        Type="java.lang.Float"
        ColumnType="FLOAT"
        AliasName="TIMESTAMP"
        Expression="TIMESTAMP"
        SQLType="FLOAT">
        <DesignTime>
          <Attr Name="_DisplaySize" Value="18"/>
        </DesignTime>
        <Dependencies>
          <Item
            Value="OccuredAt"/>
        </Dependencies>
      </ViewAttribute>
      <ViewAttribute
        Name="ServerName"
        IsUpdateable="false"
        IsPersistent="false"
        PrecisionRule="true"
        Precision="64"
        Scale="0"
        Type="java.lang.String"
        ColumnType="NVARCHAR2"
        AliasName="SERVERNAME"
        Expression="SERVERNAME"
        SQLType="VARCHAR">
        <DesignTime>
          <Attr Name="_DisplaySize" Value="64"/>
        </DesignTime>
      </ViewAttribute>
      <ViewAttribute
        Name="AppName"
        IsUpdateable="false"
        IsPersistent="false"
        PrecisionRule="true"
        Precision="10"
        Scale="0"
        Type="java.lang.String"
        ColumnType="NVARCHAR2"
        AliasName="APPNAME"
        Expression="APPNAME"
        SQLType="VARCHAR">
        <DesignTime>
          <Attr Name="_DisplaySize" Value="10"/>
        </DesignTime>
      </ViewAttribute>
      <ViewAttribute
        Name="XmlError"
        IsUpdateable="false"
        IsQueriable="false"
        IsPersistent="false"
        PrecisionRule="true"
        Type="java.lang.String"
        ColumnType="LONGVARCHAR"
        AliasName="XMLERROR"
        Expression="XMLERROR"
        SQLType="VARCHAR"/>
      <ViewAttribute
        Name="OccuredAt"
        IsUpdateable="false"
        IsSelected="false"
        IsPersistent="false"
        PrecisionRule="true"
        Type="java.sql.Date"
        ColumnType="DATE"
        AliasName="VIEW_ATTR"
        SQLType="DATE"/>
      <ViewAttribute
        Name="Summary"
        IsUpdateable="false"
        IsSelected="false"
        IsPersistent="false"
        PrecisionRule="true"
        Type="java.lang.String"
        ColumnType="VARCHAR2"
        AliasName="VIEW_ATTR"
        SQLType="VARCHAR"/>
      <ViewAttribute
        Name="TechnicalError"
        IsUpdateable="false"
        IsSelected="false"
        IsPersistent="false"
        PrecisionRule="true"
        Type="java.lang.String"
        ColumnType="VARCHAR2"
        AliasName="VIEW_ATTR"
        SQLType="VARCHAR"/>
      <ViewCriteria
        Name="MessagesROVOCriteria"
        ViewObjectName="model.bc4j.queries.admin.MessagesROVO"
        Conjunction="AND">
        <Properties>
          <CustomProperties>
            <Property
              Name="displayOperators"
              Value="InAdvancedMode"/>
            <Property
              Name="autoExecute"
              Value="false"/>
            <Property
              Name="allowConjunctionOverride"
              Value="true"/>
            <Property
              Name="showInList"
              Value="false"/>
            <Property
              Name="mode"
              Value="Basic"/>
          </CustomProperties>
        </Properties>
        <ViewCriteriaRow
          Name="vcrow6"
          UpperColumns="1">
          <ViewCriteriaItem
            Name="Timestamp"
            ViewAttribute="Timestamp"
            Operator="BETWEEN"
            Conjunction="AND"
            Required="Optional">
            <ViewCriteriaItemValue
              Name="MessagesROVOCriteria_vcrow6_Timestamp_vcval0"
              Value=":BINDStartTimestamp"
              IsBindVarValue="true"/>
            <ViewCriteriaItemValue
              Name="MessagesROVOCriteria_vcrow6_Timestamp_vcval1"
              Value=":BINDEndTimestamp"
              IsBindVarValue="true"/>
          </ViewCriteriaItem>
          <ViewCriteriaItem
            Name="ServerName"
            ViewAttribute="ServerName"
            Operator="="
            Conjunction="AND"
            Value=":BINDServerName"
            IsBindVarValue="true"
            Required="Optional"/>
          <ViewCriteriaItem
            Name="MessagesROVOCriteria_vcrow6_AppName"
            ViewAttribute="AppName"
            Operator="="
            Conjunction="AND"
            Value=":BINDApplicationName"
            IsBindVarValue="true"
            Required="Optional"/>
        </ViewCriteriaRow>
      </ViewCriteria>
      <AttrArray Name="KeyAttributes">
        <Item Value="Guid"/>
      </AttrArray>
      <ResourceBundle>
        <XliffBundle
          id="model.resource.ViewObjectsBundle_en"/>
      </ResourceBundle>
    </ViewObject>

    ADF does not support VO Range Paging with MS SQL Server. ADF supports VO Range Paging only with Oracle DB:
    Oracle ADF Business Components with Multiple Databases
    As far as the document above is not quite clear, I took a look inside the source code of the methods buildRangePagingQuery(...) of classes oracle.jbo.server.ViewObjectImpl, oracle.jbo.server.BaseSQLBuildeImpl, oracle.jbo.server.SQLServerSQLBuilderImpl and oracle.jbo.server.OracleSQLBuilderImpl (ADF 11.1.1.7) in order to confirm my statement.
    In my opinion, it is possible to add Range Paging support for a SQLServer-backed VO by implementing a custom VO class and overriding the method ViewObjectImpl.buildRangePagingQuery(...). Your method implementation should take into account the specifics of MS SQL Server and its SQL syntax.
    Dimitar
    Message was edited by: DimitarDimitrov
    P.S. The oracle.jbo.server.SQLServerSQLBuilderImpl class does not implement its own buildRangePagingQuery() method and uses the method implementation from its base class oracle.jbo.server.BaseSQLBuilderImpl, The base implementation just returns the original VO query intact. This is the reason you get the same rows as from the 1st page when you try to navigate through the pages.

  • Minor editor bug

    Hi,
    I noticed couple problems with JDev editor:
    1) editor only shows "Brace Mismatch" when cursor is positioned next to it. So when code you think that there is no errors but when you compile errors are reported.
    2) some times syntax error are not shown instantly but only when file is closed and opened again.
    I hope this would help JDev team.
    Thanks,
    Uros.

    filed bug# 6121949
    thanks.

  • OAAdvancedTableBean.queryData doesn't use dynamic filter on VO

    My page contains two regions:
    1. Search region with fields and button Go
    2. Search results
    At first search results region was made on ordinary table and I used initQuery method to set filter and execute query. table displayed results of execution query.
    Then I changed it to advancedTable and had to use it as in devguide:
    1. initQuery with executeQuery=>false 2. queryData with checkForExecuted=>false
    It populates advancedTable with data but... without dynamic filter wich I set in initQuery. I'm getting full VO without where condition
    There's my mistake? Pls help
    JDev for apps 11 RUP6

    Hi ealex,
    I create one search page & Results advanced table(Based upon VO) on same page based upon VO. I want to show the all search records in Table/Advanced Table. Now my page is running fine if I click on GO button page is refreshed but no results in results table. It shows the default message like "No search Found".
    How can I display the records in either normal Table or Advanced Table?
    If u have the sample code for displaying the records in Table please forward to me. My mail id: [email protected]
    Here is my SQL script & CO, AM & VO codes please correct on my code anything I missed here.
    Any mistakes in my code?
    I am using JDeveloper 9.0.3
    OAFramework version is 11.5.10.K
    Please help me on this ASAP. It's urgent.
    Thanks in Advance.
    My Select Stmt:
    SELECT * FROM
    (select wn.nid notification_id
    ,ou.name company
    ,I.PAY_GROUP_LOOKUP_CODE paygroup
    ,'AP' source
    ,pf.full_name initiator
    ,pv.vendor_name supplier_name
    ,I.GL_DATE FROM_TO_DATE
    from ap_invoices_all i
    , po_vendors pv
    , hr_operating_units ou
    , per_all_people_f pf
    , FND_USER FU
    , (SELECT trim(substr(substr(substr(WN.subject,(instr(WN.subject,'Invoice ') + 8),100),1,100),
    1,instr(substr(substr(WN.subject,(instr(WN.subject,'Invoice ') + 8),100),1,100),' for'))) inv_no
    ,notification_id nid
    FROM WF_NOTIFICATIONS WN
    WHERE WN.MESSAGE_TYPE = 'APINV'
    AND WN.STATUS NOT IN ('CANCELED','CLOSED')) wn
    where i.vendor_id = pv.vendor_id
    and i.invoice_num = wn.inv_no
    and i.WFAPPROVAL_STATUS = 'REQUIRED'
    and pv.vendor_name = nvl(:vendor_name,pv.vendor_name)
    and i.org_id = OU.organization_id
    AND OU.name like nvl(:company_name,name)
    and i.pay_group_lookup_code = nvl(:pay_group,i.pay_group_lookup_code)
    and exists (select ad.invoice_id
    from ap_invoice_distributions_all ad
    where ad.invoice_id = i.invoice_id
    and ad.accounting_date between nvl(:from_date,ad.accounting_date)
    and nvl(:to_date,ad.accounting_date))
    and 'AP' = nvl(:source,'AP')
    and i.created_by = fu.user_id
    AND fu.EMPLOYEE_ID = pf.person_id
    AND pf.full_name like nvl(:initiator, pf.full_name)
    UNION ALL
    select po_num.nid notification_id
    ,ou.name company
    ,ps.PAY_GROUP_LOOKUP_CODE paygroup
    ,'PO' source
    ,pf.full_name initiator
    ,pv.vendor_name supplier_name
    ,P.CREATION_DATE FROM_TO_DATE
    from po_headers_all p
    ,po_vendors pv
    ,po_vendor_sites_all ps
    ,hr_operating_units ou
    ,per_all_people_f pf
    ,(select trim(substr(wn.subject,24,instr(wn.subject,' for')-24)) po_no, notification_id nid
    FROM WF_NOTIFICATIONS WN
    WHERE WN.MESSAGE_TYPE = 'POAPPRV'
    AND WN.STATUS NOT IN ('CANCELED','CLOSED')
    and wn.subject like 'Standard Purchase Order%') po_num
    where p.SEGMENT1 = po_num.po_no
    and p.vendor_id = pv.vendor_id
    and p.org_id in(select organization_id
    from hr_operating_units
    where name like nvl(:company_name,name))
    and pv.vendor_name = nvl(:vendor_name,pv.vendor_name)
    and p.AUTHORIZATION_STATUS = 'IN PROCESS'
    and p.CANCEL_FLAG = 'N'
    and 'PO' = nvl(:source,'PO')
    and p.agent_id = pf.person_id
    and pf.full_name like nvl(:initiator, pf.full_name)
    and pv.vendor_id = ps.vendor_id
    and ps.org_id = ou.organization_id
    and ou.name like nvl(:company_name,name)
    and ps.PAY_GROUP_LOOKUP_CODE = nvl(:pay_group,ps.PAY_GROUP_LOOKUP_CODE)
    and trunc(p.creation_date) between nvl(:from_date,trunc(p.creation_date)) and nvl(:to_date,trunc(p.creation_date))
    In CO PFR Code:
    if (pageContext.getParameter("Go") != null)
    OAQueryUtils.checkSelectiveSearchCriteria(pageContext, webBean);
    String COMPANY = pageContext.getParameter("COMPANY");
    String PAYGROUP = pageContext.getParameter("PAYGROUP");
    String SOURCE = pageContext.getParameter("SOURCE");
    String INITIATOR = pageContext.getParameter("INITIATOR");
    String SUPPLIER_NAME = pageContext.getParameter("SUPPLIER_NAME");
    Boolean executeQuery = BooleanUtils.getBoolean(false);
    Serializable[] parameters = { COMPANY, PAYGROUP, SOURCE, INITIATOR, SUPPLIER_NAME, executeQuery};
    Class[] paramTypes = { String.class, String.class, String.class, String.class, String.class, Boolean.class };
    am.invokeMethod("initSearch", parameters, paramTypes);
    OAAdvancedTableBean table = (OAAdvancedTableBean)webBean.findChildRecursive("ResultsTable");
    table.queryData(pageContext, false);
    AM invoke Method():
    public void initSearch(String company,
    String paygroup,
    String source,
    String initiator,
    String supplier_name,
    Boolean executeQuery)
    WorklistFindVOImpl vo = getWorklistFindVO1();
    if (vo == null)
    MessageToken[] tokens = { new MessageToken("OBJECT_NAME", "WorklistFindVO1") };
    throw new OAException("AK", "FWK_TBX_OBJECT_NOT_FOUND", tokens);
    vo.initQuery(company, paygroup, source, initiator, supplier_name, executeQuery);
    VO Code:
    public void initQuery(String company,
    String paygroup,
    String source,
    String initiator,
    String supplier_name,
    Boolean executeQuery)
    StringBuffer whereClause = new StringBuffer(500);
    Vector parameters = new Vector(5);
    int clauseCount = 0;
    int bindCount = 0;
    setWhereClauseParams(null); // Always reset
    if ((company != null))
    String companyname = null;
    try
    companyname = new String(company);
    catch(Exception e) {}
    whereClause.append("COMPANY= :COMPANY");
    whereClause.append(++bindCount);
    parameters.addElement(company);
    clauseCount++;
    if ((paygroup != null) && (!("".equals(paygroup))))
    if (clauseCount > 0)
    whereClause.append(" AND ");
    whereClause.append("PAYGROUP = :PAYGROUP");
    whereClause.append(++bindCount);
    parameters.addElement(paygroup);
    clauseCount++;
    if ((source != null) && (!("".equals(source))))
    if (clauseCount > 0)
    whereClause.append(" AND ");
    whereClause.append("SOURCE = :SOURCE");
    whereClause.append(++bindCount);
    parameters.addElement(source);
    clauseCount++;
    if ((initiator != null) && (!("".equals(initiator))))
    if (clauseCount > 0)
    whereClause.append(" AND ");
    whereClause.append("INITIATOR = :INITIATOR");
    whereClause.append(++bindCount);
    parameters.addElement(initiator);
    clauseCount++;
    if ((supplier_name != null) && (!("".equals(supplier_name))))
    if (clauseCount > 0)
    whereClause.append(" AND ");
    whereClause.append("SUPPLIER_NAME = :SUPPLIER_NAME");
    whereClause.append(++bindCount);
    parameters.addElement(supplier_name);
    clauseCount++;
    setWhereClause(whereClause.toString());
    if (bindCount > 0)
    Object[] params = new ObjectbindCount;
    parameters.copyInto(params);
    setWhereClauseParams(params);
    if ((executeQuery != null) && (executeQuery.booleanValue()))
    executeQuery();
    } // end initQuery()

  • URGENT: Need help to add files to OA Project in JDev 9i

    Hi,
    OA Framework Version 11.5.10.6RUP
    JDeveloper 9.0.3.5 (Build 1453)
    1. The standard iProcurement NonCatalogRequestPG page is running fine in PRODUCTION and I have been asked to do enhancements like VO extn etc so I am trying to import files from server to JDev on my local machine.
    2. FTP $JAVA_TOP/oracle/apps/icx/*.* to c:/jdeveloper/jdevhome/jdev/myclasses/oracle/apps/icx
    and FTP $ICX_TOP/mds/*.* to c:/jdeveloper/jdevhome/jdev/myprojects/oracle/apps/icx
    4. Open Jdev and create OA Workspace & OA Project (default package: oracle.apps.icx)
    5. When trying to Add files and directories to OA Project, created in step 4, its bringing all files at one level. I dont see any hierarchical directory structure i.e. I dont see package like oracle.apps.icx with sub-directories like punchout, icatalog, lov,etc What I see is all files at one level under xxicx.jpr
    What am I missing here, PLEASE HELP...
    Thanks a lot!

    What you are doing is very simple job and I am sure you will achieve whatever you want.
    create a directory structure od seeded VO in your myprojects dir. then just copy vo.xml, voimpl.java and vorowimpl.java in that dir. create a BC4J component for thsi dir structure and then create new Vo with extends property as this seeded VO.
    If you still have a problem, please upload screenshot of problem to some website, I will download from there.
    --Parag Narkhede                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Jdev version problems .. please help!

    Hi ,
    I had devleoped a project using jdev 10g .. now need to open that project in Jdev 9i .. cant use jdev 10g anymore due to some issues..
    But when i try to open the project in JDev 9i , it gives a warning .. that the projects will be migrated and cant be opened with a lower version of JDEV ..
    Can anyone please help on this ! Its very urgent ..
    Regards,
    Preeti

    Preeti,
    As sumit suggested you try to fix the R12 error, else raise a SR with support and get fixed.
    Btw, Re: Regd JDEV set up .. error running default toolbox.jsp page
    is the thread you discussed about the R12 issue?
    Check the following, it may add some value for fixing your issue.
    1) Can you run the following URL in your R12 instance,
    http://<hostname>:<port>/OA_HTML/jsp/fnd/aoljtest.jsp
    and do the testings and see any error you are getting related to Guest user.
    2) Check the password for the Guest user,
    and use the same in the following query
    select fnd_web_sec.validate_login('GUEST','<PASSWORD FROM DBC FILE>') from dual;
    This should return "Y', If it returns "N', you need to change the password for GUESTin the database
    (More details check the metalink note - 458064.1)
    3) Are you able to login in your instance and access the pages without any error?
    Thanks.
    With Regards,
    Kali.
    OSSI.

  • Please help - We can't get JDEV 9.0.3.1035 to work for us

    Hi, we installed and configured JDEV 9.0.3.1035 and are experiencing this persistent problem, whenever we try to run our app the second or any subsequent time:
    C:\JDEV\jdk\bin\javaw.exe -ojvm -classpath C:\JDEV\j2ee\home\oc4j.jar -Dhttp.proxyHost=DELL -Dhttp.proxyPort=8080 -Dhttp.nonProxyHosts= -Xverify:none -Doracle.j2ee.dont.use.memory.archive=true com.evermind.server.OC4JServer -config C:\JDEV\jdev\system9.0.3.1035\oc4j-config\server.xml
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    [waiting for the server to complete its initialization...]
    Error starting HTTP-Server: Address in use: JVM_Bind
    Error creating the ORB :
    Oracle9iAS (9.0.3.0.0) Containers for J2EE initialized
    **** Warning: JDeveloper timed out waiting for OC4J to startup.
    **** Please check your HTTP proxy server settings in the IDE Preferences dialog.
    Embedded OC4J startup time: 120156 ms.
    This is happening since we switched from JDEV 9.0.2 which always started up cleanly. It appears that the port is not being released on OC4J server termination. We are not running any other web servers and verified that there are no open ports with netstat -a.

    Hi Raghu, thank you for your response and help.
    Here is the beginning of the log from the first run that works:
    C:\JDEV\jdk\bin\javaw.exe -ojvm -classpath C:\JDEV\j2ee\home\oc4j.jar -Xverify:none -Doracle.j2ee.dont.use.memory.archive=true com.evermind.server.OC4JServer -config C:\JDEV\jdev\system9.0.3.1035\oc4j-config\server.xml
    [Starting OC4J using the following ports: HTTP=8999, RMI=23891, JMS=9227.]
    [waiting for the server to complete its initialization...]
    Embedded OC4J startup time: 3024 ms.
    Target URL -- http://martinator2.ESTAR2K:8999/eStarGlobal-eStarGlobal-context-root/servlet/com.estar.servlet.eStarMainServlet
    Oracle9iAS (9.0.3.0.0) Containers for J2EE initialized
    doGet Character Encoding: null
    ***** NEW SESSION *****
    // Connected to Database: Microsoft SQL Server Microsoft SQL Server 2000 - 8.00.194 (Intel
    X86) Aug 6 2000 00:57:48 Copyright (c) 1988-2000 Microsoft Corporation Enterprise Edition
    on Windows NT 5.0 (Build 2195: Service Pack 2) with JDBC driver: SQLServer 2.2.0002
    Then I killed the browser session and terminated the Embedded OC4J Server .
    There was a javaw.exe task, I killed it but still get the same error. I also noticed that the Terminate Embedded OC4J Server can take quite a long time.
    Here is the log from a second run:
    C:\JDEV\jdk\bin\javaw.exe -ojvm -classpath C:\JDEV\j2ee\home\oc4j.jar -Xverify:none -Doracle.j2ee.dont.use.memory.archive=true com.evermind.server.OC4JServer -config C:\JDEV\jdev\system9.0.3.1035\oc4j-config\server.xml
    [Starting OC4J using the following ports: HTTP=8999, RMI=23891, JMS=9227.]
    [waiting for the server to complete its initialization...]
    Error starting HTTP-Server: Address in use: JVM_Bind
    Error creating the ORB :
    Oracle9iAS (9.0.3.0.0) Containers for J2EE initialized
    **** Warning: JDeveloper timed out waiting for OC4J to startup.
    **** Please check your HTTP proxy server settings in the IDE Preferences dialog.
    Embedded OC4J startup time: 120173 ms.
    Target URL -- http://martinator2.ESTAR2K:8999/eStarGlobal-eStarGlobal-context-root/servlet/com.estar.servlet.eStarMainServlet
    Process exited.
    Here is the result of netstat -a. Note four references to port 8999 even after I terminate the OC4J server:
    Active Connections
    Proto Local Address Foreign Address State
    TCP martinator2:epmap dell.ESTAR2K:0 LISTENING
    TCP martinator2:microsoft-ds dell.ESTAR2K:0 LISTENING
    TCP martinator2:1047 dell.ESTAR2K:0 LISTENING
    TCP martinator2:1061 dell.ESTAR2K:0 LISTENING
    TCP martinator2:1079 dell.ESTAR2K:0 LISTENING
    TCP martinator2:1175 dell.ESTAR2K:0 LISTENING
    TCP martinator2:1180 dell.ESTAR2K:0 LISTENING
    TCP martinator2:1232 dell.ESTAR2K:0 LISTENING
    TCP martinator2:8999 dell.ESTAR2K:0 LISTENING
    TCP martinator2:1046 dell.ESTAR2K:0 LISTENING
    TCP martinator2:1051 dell.ESTAR2K:0 LISTENING
    TCP martinator2:1075 dell.ESTAR2K:0 LISTENING
    TCP martinator2:1135 dell.ESTAR2K:0 LISTENING
    TCP martinator2:1174 dell.ESTAR2K:0 LISTENING
    TCP martinator2:1178 dell.ESTAR2K:0 LISTENING
    TCP martinator2:1184 dell.ESTAR2K:0 LISTENING
    TCP martinator2:1243 dell.ESTAR2K:0 LISTENING
    TCP martinator2:1250 martinator2.ESTAR2K:8999 TIME_WAIT
    TCP martinator2:netbios-ssn dell.ESTAR2K:0 LISTENING
    TCP martinator2:netbios-ssn dell.ESTAR2K:0 LISTENING
    TCP martinator2:netbios-ssn dell.ESTAR2K:0 LISTENING
    TCP martinator2:1079 DELL:ldap CLOSE_WAIT
    TCP martinator2:1175 DELL:ms-sql-s ESTABLISHED
    TCP martinator2:1180 DELL:ms-sql-s ESTABLISHED
    TCP martinator2:1181 DELL:microsoft-ds TIME_WAIT
    TCP martinator2:1223 dell.ESTAR2K:0 LISTENING
    TCP martinator2:1223 ANDY:netbios-ssn ESTABLISHED
    TCP martinator2:1227 dell.ESTAR2K:0 LISTENING
    TCP martinator2:1227 PLUTO:netbios-ssn ESTABLISHED
    TCP martinator2:1232 JOE:microsoft-ds ESTABLISHED
    TCP martinator2:8999 DELL:37723 FIN_WAIT_2
    TCP martinator2:8999 DELL:37724 FIN_WAIT_2
    UDP martinator2:epmap *:*
    UDP martinator2:microsoft-ds *:*
    UDP martinator2:1026 *:*
    UDP martinator2:1040 *:*
    UDP martinator2:1054 *:*
    UDP martinator2:1078 *:*
    UDP martinator2:1302 *:*
    UDP martinator2:1645 *:*
    UDP martinator2:1646 *:*
    UDP martinator2:radius *:*
    UDP martinator2:radacct *:*
    UDP martinator2:2967 *:*
    UDP martinator2:1062 *:*
    UDP martinator2:1063 *:*
    UDP martinator2:1139 *:*
    UDP martinator2:1185 *:*
    UDP martinator2:netbios-ns *:*
    UDP martinator2:netbios-dgm *:*
    UDP martinator2:isakmp *:*
    UDP martinator2:netbios-ns *:*
    UDP martinator2:netbios-dgm *:*
    UDP martinator2:isakmp *:*
    UDP martinator2:netbios-ns *:*
    UDP martinator2:netbios-dgm *:*
    UDP martinator2:isakmp *:*

  • JDev 10.1.3 generates incorrect getter/setter for CMP EJB 3.0 - Please help

    Hi,
    I am using JDev 10.1.3 Production and using the EJB3.0 CMP wizard to generate the code from a MySQL database. No matter what type I specify for my database columns in schema, code generator always generates the properties of type String only. e.g if a column called Age is specified as Integer in schema, the generator generates setters/getters with String type.
    Can somebody please help me.
    Regards
    Vimal

    I was able to reproduce the problem and logged bug 5035459 for now. -- thanks

  • Help on creating Java Classes from WSDL in JDev 10.1.3

    Hi all,
    I am creating Java Web Service Class in JDev 10.1.3 based on my WSDL file, but I am getting a JAVA class for each Element in my WSDL, and each class has its own methods. But what I need is to have Only ONE Class with the Elements wrapped as methods in this class (this is the result I had when I was using JDev 9.0.2 but I had Datatype conversion issue, so now I am trying to do the same with JDev 10.1.3)
    My WSDL file is as follows:
    - <s:schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/">
    - <s:element name="Connect">
    <s:complexType />
    </s:element>
    - <s:element name="ConnectResponse">
    <s:complexType />
    </s:element>
    - <s:element name="Disconnect">
    <s:complexType />
    </s:element>
    - <s:element name="DisconnectResponse">
    <s:complexType />
    </s:element>
    - <s:element name="GetPIValue">
    - <s:complexType>
    - <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="piTAG" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="piTS" type="s:string" />
    </s:sequence>
    </s:complexType>
    </s:element>
    - <s:element name="GetPIValueResponse">
    - <s:complexType>
    - <s:sequence>
    <s:element minOccurs="1" maxOccurs="1" name="GetPIValueResult" type="s:double" />
    </s:sequence>
    </s:complexType>
    </s:element>
    <s:element name="double" type="s:double" />
    </s:schema>
    When creating the JAVA Classes in JDev, I am getting the following:
    Connect.java
    ConnectResponse.java
    Disconnect.java
    DisconnectResponse.java
    GetPIValue.java
    GetPIValueResponse.java
    But what I actually need is to have a Method GetPiValue that should take in 2 paramters as strings and return a Double Value. Now the GetPIValue looks like this:
    package ConnecttoPI;
    public class GetPIValue implements java.io.Serializable {
    protected java.lang.String piTAG;
    protected java.lang.String piTS;
    public GetPIValue() {
    public java.lang.String getPiTAG() {
    return piTAG;
    public void setPiTAG(java.lang.String piTAG) {
    this.piTAG = piTAG;
    public java.lang.String getPiTS() {
    return piTS;
    public void setPiTS(java.lang.String piTS) {
    this.piTS = piTS;
    With this class Generated, how can I call the Class Methods and get the response?
    Do I have to change the way/settings when I am creating the Java Classes using the Wizard? Why is the Wrapper wrapping the WSDL in multiple classes?
    Thanks to anyone's help in advance.
    Regards,
    Baz

    An update to my previous Post:
    After creating the Web Service proxy based on my WSDL file, I tested the Web Service Call from the Java Class (Service1SoapClient) and it is properly Calling the Web Service passing in String Paramters (2 Strings) and returning a Double Datatype. The Class is as below:
    package project1.proxy;
    import oracle.webservices.transport.ClientTransport;
    import oracle.webservices.OracleStub;
    import javax.xml.rpc.ServiceFactory;
    import javax.xml.rpc.Stub;
    public class Service1SoapClient {
    private project1.proxy.Service1Soap _port;
    public Service1SoapClient() throws Exception {
    ServiceFactory factory = ServiceFactory.newInstance();
    _port = ((project1.proxy.Service1)factory.loadService(project1.proxy.Service1.class)).getService1Soap();
    * @param args
    public static void main(String[] args) {
    try {
    project1.proxy.Service1SoapClient myPort = new project1.proxy.Service1SoapClient();
    System.out.println("calling " + myPort.getEndpoint());
    // Add your own code here
    double testResponse = myPort.getPIValue("A3LI004.pv", "9/9/2007 9:20 am");
    System.out.println("response from PI " + testResponse);
    } catch (Exception ex) {
    ex.printStackTrace();
    * delegate all operations to the underlying implementation class.
    Connect to PI Server
    public void connect() throws java.rmi.RemoteException {
    _port.connect();
    Disconnect from PI Server
    public void disconnect() throws java.rmi.RemoteException {
    _port.disconnect();
    Retrieve PI Values
    public double getPIValue(String piTAG, String piTS) throws java.rmi.RemoteException {
    return _port.getPIValue(piTAG, piTS);
    Now I am trying to IMPORT this class into Oracle Forms, but I am getting the following Error:
    Importing Class project1.proxy.Service1SoapClient...
    Exception occurred: java.lang.NoClassDefFoundError: oracle/webservices/transport/ClientTransport
    First, is this the Correct Class that should be Imported into Oracle Forms in order to Trigger the Java Class to Call the Web Service? Why am I getting this Error? I have read that this could be because of my CLASSPATH environment variable or the J2SE version compiling the java class???
    Can someone help me to IMPORT this Java Class properly into Oracle Forms and Call the Web Service?
    Many thanks for your help,
    Baz

  • To Jdev, Help Please...

    Env
    OS Nt SP 4
    ORACLE 8.1.6.0
    Jdev 3.2
    Oracle 8.1.7 Jdbc
    java.sql.SQLException: ORA-01722: invalid number void oracle.jdbc.dbaccess.DBError.throwSqlException(java.lang.String, java.lang.String, int) (DBError.java:168) int oracle.jdbc.oci8.OCIDBAccess.check_error(int, oracle.jdbc.oci8.OCIDBStatement) (OCIDBAccess.java:1597) int oracle.jdbc.oci8.OCIDBAccess.fetch(oracle.jdbc.dbaccess.DBStatement, oracle.jdbc.dbaccess.DBDataSet, int) (OCIDBAccess.java:1410) void oracle.jdbc.driver.OracleStatement.doExecuteQuery() (OracleStatement.java:1681) void oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout() (OracleStatement.java:1870) java.sql.ResultSet oracle.jdbc.driver.OracleStatement.executeQuery(java.lang.String) (OracleStatement.java:538) void Boa.BoaPantallas.paquetes(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse) (BoaPantallas.java:1186) void Boa.BoaPantallas.execute(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse) (BoaPantallas.java:1377) void Boa.BoaProject.performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse) (BoaProject.java:180) void Boa.BoaProject.doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse) (BoaProject.java:46) void javax.servlet.http.HttpServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse) (HttpServlet.java:760) void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse) (HttpServlet.java:853) void oracle.lite.web.JupServlet.service(oracle.lite.web.JupRequest, oracle.lite.web.JupResponse) (JupServlet.java:186) void oracle.lite.web.AppServletHandler.handle(java.lang.String, int, oracle.lite.web.JupRequest, oracle.lite.web.JupResponse) (AppServletHandler.java:280) void oracle.lite.web.JupApplication.service(oracle.lite.web.JupRequest, oracle.lite.web.JupResponse) (JupApplication.java:301) void oracle.lite.web.JupHandler.handle(oracle.lite.web.JupRequest, oracle.lite.web.JupResponse) (JupHandler.java:94) void oracle.lite.web.HTTPServer.process(oracle.lite.web.JupRequest, oracle.lite.web.JupResponse) (HTTPServer.java:295) boolean oracle.lite.web.HTTPServer.handleRequest(oracle.lite.web.JupInputStream, oracle.lite.web.JupOutputStream) (HTTPServer.java:162) boolean oracle.lite.web.JupServer.handle(oracle.lite.web.JupInputStream, oracle.lite.web.JupOutputStream) (JupServer.java:280) void oracle.lite.web.SocketListener.process(java.net.Socket) (SocketListener.java:148) void oracle.lite.web.SocketListener$ReqHandler.run() (SocketListener.java:199)
    Select
    SUBSTR(A.RAZONSOCIAL_ASE,1,30) ASEGURADORA,
    A.CVE_ASE CVE_ASEGURADORA,
    TO_CHAR (SUM (DECODE (SUBSTR(P.DESCRIPCION_PAQ,1,2),'AM',TO_NUMBER(PRO.FORMULA),0)),'FM$999,999,990.00') AMPLIA,
    SUM (DECODE (SUBSTR(P.DESCRIPCION_PAQ,1,2),'AM',PRO.CVE_PRODUCTO,0)) PROAM,
    TO_CHAR (SUM (DECODE (SUBSTR(P.DESCRIPCION_PAQ,1,2),'LI',TO_NUMBER(PRO.FORMULA),0)),'FM$999,999,990.00') LIMITADA,
    SUM (DECODE (SUBSTR(P.DESCRIPCION_PAQ,1,2),'LI',PRO.CVE_PRODUCTO,0)) PROLI,
    TO_CHAR (SUM (DECODE (SUBSTR(P.DESCRIPCION_PAQ,1,2),'RC',TO_NUMBER(PRO.FORMULA),0)),'FM$999,999,990.00') RC,
    SUM (DECODE (SUBSTR(P.DESCRIPCION_PAQ,1,2),'RC',PRO.CVE_PRODUCTO,0)) PRORC
    FROM ASEGURADORA A, CONVENIO C, PAQUETES P, PRODUCTOS PRO
    WHERE
    *********** Problem Lines
    PRO.CVE_VEHICULO = 25468
    AND PRO.CVE_MODELO = 1996
    *********** Problem Lines
    AND PRO.CVE_CONVENIO <> 'CNVTND01'
    AND PRO.CVE_CONVENIO LIKE '%TV%'
    AND C.CVE_CONVENIO = PRO.CVE_CONVENIO
    AND C.CVE_ASE = A.CVE_ASE
    AND PRO.CVE_PAQUETE = P.CVE_PAQUETE
    GROUP BY SUBSTR(A.RAZONSOCIAL_ASE,1,30), A.CVE_ASE
    ORDER BY 1
    Hi, I need your help with that query
    It runs ok in SQL-PLUS
    And If the Problem lines are changed for
    this:
    "PRO.CVE_VEHICULO = 1
    AND PRO.CVE_MODELO = 2000" runs ok
    I4ve been testing with thin driver and It4s the same thing.
    What4s wrong with my query.
    Thank very much for your help.

    Env
    OS Nt SP 4
    ORACLE 8.1.6.0
    Jdev 3.2
    Oracle 8.1.7 Jdbc
    java.sql.SQLException: ORA-01722: invalid number void oracle.jdbc.dbaccess.DBError.throwSqlException(java.lang.String, java.lang.String, int) (DBError.java:168) int oracle.jdbc.oci8.OCIDBAccess.check_error(int, oracle.jdbc.oci8.OCIDBStatement) (OCIDBAccess.java:1597) int oracle.jdbc.oci8.OCIDBAccess.fetch(oracle.jdbc.dbaccess.DBStatement, oracle.jdbc.dbaccess.DBDataSet, int) (OCIDBAccess.java:1410) void oracle.jdbc.driver.OracleStatement.doExecuteQuery() (OracleStatement.java:1681) void oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout() (OracleStatement.java:1870) java.sql.ResultSet oracle.jdbc.driver.OracleStatement.executeQuery(java.lang.String) (OracleStatement.java:538) void Boa.BoaPantallas.paquetes(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse) (BoaPantallas.java:1186) void Boa.BoaPantallas.execute(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse) (BoaPantallas.java:1377) void Boa.BoaProject.performTask(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse) (BoaProject.java:180) void Boa.BoaProject.doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse) (BoaProject.java:46) void javax.servlet.http.HttpServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse) (HttpServlet.java:760) void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse) (HttpServlet.java:853) void oracle.lite.web.JupServlet.service(oracle.lite.web.JupRequest, oracle.lite.web.JupResponse) (JupServlet.java:186) void oracle.lite.web.AppServletHandler.handle(java.lang.String, int, oracle.lite.web.JupRequest, oracle.lite.web.JupResponse) (AppServletHandler.java:280) void oracle.lite.web.JupApplication.service(oracle.lite.web.JupRequest, oracle.lite.web.JupResponse) (JupApplication.java:301) void oracle.lite.web.JupHandler.handle(oracle.lite.web.JupRequest, oracle.lite.web.JupResponse) (JupHandler.java:94) void oracle.lite.web.HTTPServer.process(oracle.lite.web.JupRequest, oracle.lite.web.JupResponse) (HTTPServer.java:295) boolean oracle.lite.web.HTTPServer.handleRequest(oracle.lite.web.JupInputStream, oracle.lite.web.JupOutputStream) (HTTPServer.java:162) boolean oracle.lite.web.JupServer.handle(oracle.lite.web.JupInputStream, oracle.lite.web.JupOutputStream) (JupServer.java:280) void oracle.lite.web.SocketListener.process(java.net.Socket) (SocketListener.java:148) void oracle.lite.web.SocketListener$ReqHandler.run() (SocketListener.java:199)
    Select
    SUBSTR(A.RAZONSOCIAL_ASE,1,30) ASEGURADORA,
    A.CVE_ASE CVE_ASEGURADORA,
    TO_CHAR (SUM (DECODE (SUBSTR(P.DESCRIPCION_PAQ,1,2),'AM',TO_NUMBER(PRO.FORMULA),0)),'FM$999,999,990.00') AMPLIA,
    SUM (DECODE (SUBSTR(P.DESCRIPCION_PAQ,1,2),'AM',PRO.CVE_PRODUCTO,0)) PROAM,
    TO_CHAR (SUM (DECODE (SUBSTR(P.DESCRIPCION_PAQ,1,2),'LI',TO_NUMBER(PRO.FORMULA),0)),'FM$999,999,990.00') LIMITADA,
    SUM (DECODE (SUBSTR(P.DESCRIPCION_PAQ,1,2),'LI',PRO.CVE_PRODUCTO,0)) PROLI,
    TO_CHAR (SUM (DECODE (SUBSTR(P.DESCRIPCION_PAQ,1,2),'RC',TO_NUMBER(PRO.FORMULA),0)),'FM$999,999,990.00') RC,
    SUM (DECODE (SUBSTR(P.DESCRIPCION_PAQ,1,2),'RC',PRO.CVE_PRODUCTO,0)) PRORC
    FROM ASEGURADORA A, CONVENIO C, PAQUETES P, PRODUCTOS PRO
    WHERE
    *********** Problem Lines
    PRO.CVE_VEHICULO = 25468
    AND PRO.CVE_MODELO = 1996
    *********** Problem Lines
    AND PRO.CVE_CONVENIO <> 'CNVTND01'
    AND PRO.CVE_CONVENIO LIKE '%TV%'
    AND C.CVE_CONVENIO = PRO.CVE_CONVENIO
    AND C.CVE_ASE = A.CVE_ASE
    AND PRO.CVE_PAQUETE = P.CVE_PAQUETE
    GROUP BY SUBSTR(A.RAZONSOCIAL_ASE,1,30), A.CVE_ASE
    ORDER BY 1
    Hi, I need your help with that query
    It runs ok in SQL-PLUS
    And If the Problem lines are changed for
    this:
    "PRO.CVE_VEHICULO = 1
    AND PRO.CVE_MODELO = 2000" runs ok
    I4ve been testing with thin driver and It4s the same thing.
    What4s wrong with my query.
    Thank very much for your help.

  • Urgent Help:java.lang.ExceptionInInitializerError in JasperReports

    the following is the java code:
    Map params = new HashMap();
    params.put("order_type", "This is Test Print");
    JRXmlDataSource ds = new JRXmlDataSource(outXML, "/Order");
    InputStream is =Class.forName(                    "com.w3c.dom.Document").getResourceAsStream
    "/TestPrint.jasper");
    net.sf.jasperreports.engine.JasperPrint jp =
                   JasperFillManager.fillReport(is, params, ds);
    JasperExportManager.exportReportToPdf(jp);
    i reckon iam getting this error in the above highlighted code...
    i have all the necessary jars in weblogic's classpath!!
    just a thought...is this because of any mismatch in the jar version?
    on refreshing the page the cause becomes java.lang.NoClassDefFoundError
    ANY POINTERS TO WHY THIS IS HAPPENING???
    java.lang.ExceptionInInitializerError
    at net.sf.jasperreports.engine.fill.JRFillObjectFactory.getStaticText(JRFillObjectFactory.java:494)
    at net.sf.jasperreports.engine.base.JRBaseStaticText.getCopy(JRBaseStaticText.java:93)
    at net.sf.jasperreports.engine.fill.JRFillElementGroup.<init>(JRFillElementGroup.java:88)
    at net.sf.jasperreports.engine.fill.JRFillElementContainer.<init>(JRFillElementContainer.java:88)
    at net.sf.jasperreports.engine.fill.JRFillBand.<init>(JRFillBand.java:77)
    at net.sf.jasperreports.engine.fill.JRFillObjectFactory.getBand(JRFillObjectFactory.java:374)
    at net.sf.jasperreports.engine.fill.JRBaseFiller.<init>(JRBaseFiller.java:386)
    at net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:92)
    at net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:74)
    at net.sf.jasperreports.engine.fill.JRFiller.createFiller(JRFiller.java:147)
    at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:83)
    at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:601)
    at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:582)
    at com.yantra.interop.services.flowcomponents.TestPrint1.testPrint(TestPrint1.java:48)
    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.yantra.interop.services.api.ApiHelper.invoke(ApiHelper.java:155)
    at com.yantra.interop.services.flowcomponents.ApiFlowComponent.execute(ApiFlowComponent.java:161)
    at com.yantra.interop.services.flowcomponents.ApiFlowComponent.send(ApiFlowComponent.java:200)
    at com.yantra.integration.adapter.FlowExecutor.execute(FlowExecutor.java:359)
    at com.yantra.integration.adapter.SynchronousIntegrationFlow.executeFlow(SynchronousIntegrationFlow.java:215)
    at com.yantra.interop.services.api.ApiRequestDispatcher.executeFlow(ApiRequestDispatcher.java:90)
    at com.yantra.interop.client.InteropHttpServlet.processRequest(InteropHttpServlet.java:156)
    at com.yantra.interop.client.InteropHttpServlet.doPost(InteropHttpServlet.java:80)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:996)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6452)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3661)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2630)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: java.lang.NullPointerException
    at com.trend.iwss.jscan.appscan.runtime.PolicyRuntime.getB64StrProp(PolicyRuntime.java:188)
    at com.trend.iwss.jscan.appscan.runtime.PolicyRuntime.<init>(PolicyRuntime.java:91)
    at com.trend.iwss.jscan.appscan.runtime.MiscPolicyRuntime.<init>(MiscPolicyRuntime.java:132)
    at com.trend.iwss.jscan.appscan.runtime.MiscPolicyRuntime$Factory.make(MiscPolicyRuntime.java:254)
    at com.trend.iwss.jscan.appscan.runtime.PolicyRuntime.accessInstance(PolicyRuntime.java:225)
    at com.trend.iwss.jscan.appscan.runtime.PolicyRuntime.preFilter(PolicyRuntime.java:127)
    at com.trend.iwss.jscan.appscan.runtime.MiscPolicyRuntime.preFilter(MiscPolicyRuntime.java:142)
    at org.apache.commons.logging.LogFactory.getFactory(LogFactory.java:277)
    at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:390)
    at net.sf.jasperreports.engine.fill.JRFillTextElement.<clinit>(JRFillTextElement.java:61)
    ... 38 more
    java.lang.ExceptionInInitializerError
    at net.sf.jasperreports.engine.fill.JRFillObjectFactory.getStaticText(JRFillObjectFactory.java:494)
    at net.sf.jasperreports.engine.base.JRBaseStaticText.getCopy(JRBaseStaticText.java:93)
    at net.sf.jasperreports.engine.fill.JRFillElementGroup.<init>(JRFillElementGroup.java:88)
    at net.sf.jasperreports.engine.fill.JRFillElementContainer.<init>(JRFillElementContainer.java:88)
    at net.sf.jasperreports.engine.fill.JRFillBand.<init>(JRFillBand.java:77)
    at net.sf.jasperreports.engine.fill.JRFillObjectFactory.getBand(JRFillObjectFactory.java:374)
    at net.sf.jasperreports.engine.fill.JRBaseFiller.<init>(JRBaseFiller.java:386)
    at net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:92)
    at net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:74)
    at net.sf.jasperreports.engine.fill.JRFiller.createFiller(JRFiller.java:147)
    at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:83)
    at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:601)
    at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:582)
    at com.yantra.interop.services.flowcomponents.TestPrint1.testPrint(TestPrint1.java:48)
    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.yantra.interop.services.api.ApiHelper.invoke(ApiHelper.java:155)
    at com.yantra.interop.services.flowcomponents.ApiFlowComponent.execute(ApiFlowComponent.java:161)
    at com.yantra.interop.services.flowcomponents.ApiFlowComponent.send(ApiFlowComponent.java:200)
    at com.yantra.integration.adapter.FlowExecutor.execute(FlowExecutor.java:359)
    at com.yantra.integration.adapter.SynchronousIntegrationFlow.executeFlow(SynchronousIntegrationFlow.java:215)
    at com.yantra.interop.services.api.ApiRequestDispatcher.executeFlow(ApiRequestDispatcher.java:90)
    at com.yantra.interop.client.InteropHttpServlet.processRequest(InteropHttpServlet.java:156)
    at com.yantra.interop.client.InteropHttpServlet.doPost(InteropHttpServlet.java:80)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:996)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6452)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3661)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2630)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: java.lang.NullPointerException
    at com.trend.iwss.jscan.appscan.runtime.PolicyRuntime.getB64StrProp(PolicyRuntime.java:188)
    at com.trend.iwss.jscan.appscan.runtime.PolicyRuntime.<init>(PolicyRuntime.java:91)
    at com.trend.iwss.jscan.appscan.runtime.MiscPolicyRuntime.<init>(MiscPolicyRuntime.java:132)
    at com.trend.iwss.jscan.appscan.runtime.MiscPolicyRuntime$Factory.make(MiscPolicyRuntime.java:254)
    at com.trend.iwss.jscan.appscan.runtime.PolicyRuntime.accessInstance(PolicyRuntime.java:225)
    at com.trend.iwss.jscan.appscan.runtime.PolicyRuntime.preFilter(PolicyRuntime.java:127)
    at com.trend.iwss.jscan.appscan.runtime.MiscPolicyRuntime.preFilter(MiscPolicyRuntime.java:142)
    at org.apache.commons.logging.LogFactory.getFactory(LogFactory.java:277)
    at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:390)
    at net.sf.jasperreports.engine.fill.JRFillTextElement.<clinit>(JRFillTextElement.java:61)
    ... 38 more

    Patrick-
    My best guess is that you did not include some required library in the
    runtime "required libraries" for your project. My first guess is that
    you missed the JDO library jar, since missing that would certainly
    result in an ExceptionInInitializerError when loading your persistent
    classes.
    You might also run the program in the debugger and see if you get a more
    telling stack trace.
    In article <bkuuef$9di$[email protected]>, Patrick Pracht wrote:
    Hello all,
    I am currently developing a webapp using Kodo-2.5.3, MySQL-DB, JBuilder9,
    Tomcat4.1.
    Everything worked as expected until I have been running the Metadata tool
    and Schematool from within JBuilder for a new class.
    After doing this , when I attempt to run the webapp from within JBuilder,
    the build process stops with the following message displayed in the
    build-panel of JBuilder: java.lang.ExceptionInInitializerError
    Since I have no further indication of what causes the problem (Filename,
    location, Stacktrace, etc.) I really don't know how to proceed. The only
    thing that I can see by looking at the kodo msg panel is, that Kodo did not
    parse all the persistent classes.
    Can anybody tell me how this problem could be tracked down?
    Is there any log-file I could have a look at?
    Thanks in advance for your help.
    regards
    Patrick
    Marc Prud'hommeaux [email protected]
    SolarMetric Inc. http://www.solarmetric.com

  • How to add to JDev help?

    Can I extend the standard JDev help to include extra API documentation, such as the Mail API doco?

    No, not directly but several indirect ways.
    Let me explain.
    The online help system for JDeveloper is available in two flavors:
    HTML Help (Compressed *.chm files)
    To view this version of the online help, you must have Microsoft Internet Explorer 4.0 or higher installed on your machine. This documentation is packaged in compressed *.chm files. It offers full-text search capabilities.
    **** Because we use compressed CHUM (*.chm) files, it is not possible for you to add your Chum files (even if you had them) to the JDeveloper set.
    WebHelp (Regular HTML files)
    This documentation is packaged in uncompressed *.html files. Note that if you are installing onto a FAT file system (rather than to NTFS), you may need a large amount of disk space because the documentation consists of a large number of small files. The actual disk requirement will depend upon the size of the hard drive and of the sector.
    To add your own help files, you need:
    1. Help Viewer
    2. Help Documentation
    3. Link from JDeveloper or Start menu to the help system.
    You must choose a help viewer (#1) and this will dictate the format of your Help Documentation (#2).
    To get JDeveloper to invoke your help system,
    you can do one of several things:
    1. You can add a menu to the JDeveloper Tools menu simply by editing the [Jdev]\bin\Tools.cfg and inserting a help invocation line in this file.
    2. You can do a similar thing but make the invocation as a link from your windows Start menu (probably in the JDeveloper folder)
    3. You can write an Addin and add the help system to any other location other then the tools menu (e.g. the Help menu).
    So, although you can not link directly into the JDeveloper help system, this is not as much of a restriction as it may seem.
    I hope this helps,
    John - JDeveloper Team
    null

Maybe you are looking for