To the JDeveloper Team

please bear with me. I have lost afew too many hairs over this code. Here is the sqlj file I am using in the jdeveloper 3.2.
===========================================
package ReviwerPkg;
import sqlj.runtime.*;
import sqlj.runtime.ref.*;
import java.sql.*;
import java.util.ArrayList;
* A Sqlj class.
* <P>
* @author Natural Resources
public class DBInsertclsBean {
private String relaID = null; // relationship ID
private String busPrtyID= null; // business Party ID
// Method to set the relaID property
public synchronized void setrelaID(String relaID) {
this.relaID = relaID;
// Method to set the busPrtyID property
public synchronized void setbusPrtyID(String busPrtyID) {
this.busPrtyID = busPrtyID;
public DefaultContext fctx = null; // database connection context
//-- Pre defgined FPARScontext in the tab ---
// Method to process the submitted classfications
public synchronized String processClassfications (String sAllFlg, ArrayList classfication) {
sAllFlg = sAllFlg == null?"N":sAllFlg;
if (((classfication == null) &#0124; &#0124; (classfication.size() == 0))&&((sAllFlg == "")&#0124; &#0124;(sAllFlg == "N"))) {
return ("No classfication items to insert!");
try {
// Connect to the database
fctx = oracle.sqlj.runtime.Oracle.getConnection("jdbc:oracle:thin:@146.76.1.19:1521:devl", "pgat490", "pgat490");
//fctx = oracle.sqlj.runtime.Oracle.getConnection("jdbc:oracle:oci8:@", "pgat490", "pgat490");
// Insert the classfications into database
//------------------------------------------------------debug 1/31/2001----
//set default connection to url, user, password specified in the
//connection.properties file.
//Oracle.connect(FPARSconnection.class, "connect.properties");
//Connection conn = DefaultContext.getDefaultContext().getConnection();
DBInsert(sAllFlg,classfication);
//DBInsert(sAllFlg,classfication,conn);
// No errors occurred!
return ("Classfications processed successfully!");
} catch (SQLException e) {
String str = new String();
str = e.getMessage();
return ("SQL Error:" + e.getMessage());
} finally {
try {
// Disconnect from the database
fctx.close();
} catch (SQLException e) {}
// DBInsert expects a 'Y' or 'N' value for sAllFlg, with 'Y' signifying selection -
private void DBInsert(String sAllFlg, ArrayList classfication) throws SQLException {
//private void DBInsert(String sAllFlg, ArrayList classfication, Connection conn) throws SQLException {
//Statement stmt = conn.createStatement();
//String sqry = new String();
if (sAllFlg.equals("Y")) { //process the all selection.
//sqry = "DELETE fprevr_fp_class WHERE bus_prty_rela_id = " + relaID;
//stmt.executeUpdate(sqry);
// First, delete all entries in the class relation ship table
#sql [fctx] { DELETE fprevr_fp_class
WHERE bus_prty_rela_id = parseLong(:relaID) };
//--- WHERE bus_prty_rela_id = 400 };
//sqry = "UPDATE bus_prty_rela SET fprevw_all_class_flg = '" + sAllFlg + "' ";
//sqry = sqry + " WHERE bus_prty_id = " + busPrtyID + " and bus_prty_rela_id = " + relaID;
//stmt.executeUpdate(sqry);
// Next, update the BUS_PRTY_RELA table. Set the all flag
#sql [fctx] { UPDATE bus_prty_rela
SET fprevw_all_class_flg = ':sAllFlg'
WHERE bus_prty_id = parseLong(:busPrtyID) and bus_prty_rela_id = parseLong(:relaID) };
//--- SET fprevw_all_class_flg = 'Y'
//--- WHERE bus_prty_id = 183 and bus_prty_rela_id = 400 };
#sql [fctx] { COMMIT };
} else { //process the individual class codes
//sqry = "DELETE FROM fprevr_fp_class WHERE bus_prty_rela_id = " + relaID;
//stmt.executeUpdate(sqry);
// First, delete all entries in the class relation ship table
#sql [fctx] { DELETE FROM fprevr_fp_class
WHERE bus_prty_rela_id = parseLong(:relaID) };
//sqry = "UPDATE bus_prty_rela SET fprevw_all_class_flg = '" + sAllFlg + "' ";
//sqry = sqry + "WHERE bus_prty_id = " + busPrtyID + " and bus_prty_rela_id =" + relaID;
//stmt.executeUpdate(sqry);
// Next, update the BUS_PRTY_RELA table. Set the all flag
#sql [fctx] { UPDATE bus_prty_rela
SET fprevw_all_class_flg = ':sAllFlg'
WHERE bus_prty_id = parseLong(:busPrtyID) and bus_prty_rela_id = parseLong(:relaID) };
// Now, insert each line items from the submitted classfication
for (int i = 0; i < classfication.size(); i++) {
//sqry = "INSERT INTO fprevr_fp_class( bus_prty_rela_id,fp_cl_ty_cd ) VALUES (";
//sqry = sqry + relaID + ",'" + classfication.get(i) + "') ";
//stmt.executeUpdate(sqry);
#sql [fctx] { INSERT INTO fprevr_fp_class
( bus_prty_rela_id,fp_cl_ty_cd )
VALUES (parseLong(:relaID),':(classfication.get(i))') };
#sql [fctx] { COMMIT };
} //end else
} //end DBInsert
=======================================
Now here is the jsp file that calls this as a bean.
========================================
<%@ page language="java" import="java.util.ArrayList" session="true" autoFlush="true" isThreadSafe="true" contentType="text/html; charset=ISO-8859-1" isErrorPage="false" %>
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=WINDOWS-1252">
<META NAME="GENERATOR" CONTENT="Oracle JDeveloper">
<TITLE>
<jsp:useBean class="ReviwerPkg.DBInsertclsBean" id="dbInsert" scope="page" ></jsp:useBean>
</TITLE>
</HEAD>
<BODY>
DBupdcls.jsp : Attempting to update the database........<BR>
<%
String sbusPrtyID = request.getParameter("ReviewerID"); //busPrtyID
String srelaID = request.getParameter("hidBusPrtyRelaID"); //relaID
//special handling for the possible array of values returned for selected classes
String[] sArrClassCodes = request.getParameterValues("chkcls"); //delimited list of selected class codes.
String sAllclsCD = request.getParameter("chkAllcls"); //all class codes flag.
ArrayList arL = new ArrayList();
if (sArrClassCodes != null) {
if (sArrClassCodes.length > 0 ) { //don't process loop unless we have something.
for (int i = 0; i < sArrClassCodes.length; i++) {
arL.add(sArrClassCodes); //add all strings to the array list.
%>
<jsp:setProperty name="dbInsert" property="busPrtyID" value="<%=sbusPrtyID%>" />
<jsp:setProperty name="dbInsert" property="relaID" value="<%=srelaID%>" />
<%= dbInsert.processClassfications(sAllclsCD,arL) %>
<H2>The following output is from JSP code:</H2><P><% out.println("Hello World"); %></P>
</BODY>
</HTML>
==========================================
I keep getting the following error from sqlj file. : SQL Error:ORA-00904: invalid column name . Actually all the tables and columns exist. I use sql plus, same connection, and everything is fine. As you can see in the sqlj file, I have tried everything including JDBC. It simply wont work. I use the same connection for BC4J, it works. The connection works in SQLJ too, but My co-workers and I can't figure why it doesn't work. We have looked at the Oracle samples without luck. Can someone tell us what to do with this? It would be greatly appretiated.

Hi Guys, isn't this frustrating? Anyway, I gave up on that issue and decided to create a bean to replace that SQLJ code. Strange as it may sound, the bean didn't work either. Another developer suggested rebooting the machine, and voila; The bean works without a hitch. I still have no clue why SQLJ didn't work. Here is the bean implimentation.
============================================
package ReviwerPkg;
import javax.ejb.*;
import java.util.*;
import java.sql.*;
public class DBinsertClsEJBBean implements SessionBean{
private String relaID;
private String busPrtyID;
private String usrNM;
private String password;
private String schema;
private String conURL;
private Connection conn;
public DBinsertClsEJBBean() {
public void ejbCreate() throws CreateException {
// TODO: Add custom implementation.
public void ejbActivate() {
public void ejbPassivate() {
public void ejbRemove() {
public void setSessionContext(SessionContext ctx) {
public String getrelaID() {
return relaID;
public synchronized void setrelaID(String newRelaID) {
relaID = newRelaID;
public String getbusPrtyID() {
return busPrtyID;
public synchronized void setbusPrtyID(String newBusPrtyID) {
busPrtyID = newBusPrtyID;
public void setUsrNM(String newUsrNM) {
usrNM = newUsrNM;
public void setPassword(String newPassword) {
password = newPassword;
public String getSchema() {
return schema;
public void setSchema(String newSchema) {
schema = newSchema;
public String getConURL() {
return conURL;
public void setConURL(String newConURL) {
conURL = newConURL;
public void setConn(Connection newConn) {
conn = newConn;
public synchronized String processClassfications(String sAllFlg, ArrayList classfication) {
sAllFlg = sAllFlg == null?"N":sAllFlg;
if (((classfication == null) &#0124; &#0124; (classfication.size() == 0))&&((sAllFlg == "")&#0124; &#0124;(sAllFlg == "N"))) {
return ("No classfication items to insert!");
try {
// Connect to the database
DBInsert(sAllFlg,classfication);
// No errors occurred!
return ("Classfications processed successfully!");
} catch (SQLException e) {
String str = new String();
str = e.getMessage();
return ("SQL Error:" + e.getMessage());
} finally {
try {
// Disconnect from the database
conn.close();
} catch (Exception e) {}
private void DBInsert(String sAllFlg, ArrayList classfication) throws SQLException {
Statement stmt = conn.createStatement();
String sqry = new String();
if (sAllFlg.equals("Y")) { //process the all selection.
// First, delete all entries in the class relation ship table
sqry = "DELETE FROM fprevr_fp_class WHERE bus_prty_rela_id = " + relaID;
stmt.executeUpdate(sqry);
// Next, update the BUS_PRTY_RELA table. Set the all flag
sqry = "UPDATE bus_prty_rela SET fprevw_all_class_flg = '" + sAllFlg + "' ";
sqry = sqry + " WHERE bus_prty_id = " + busPrtyID + " and bus_prty_rela_id = " + relaID;
stmt.executeUpdate(sqry);
} else { //process the individual class codes
// First, delete all entries in the class relation ship table
sqry = "DELETE FROM fprevr_fp_class WHERE bus_prty_rela_id = " + relaID;
stmt.executeUpdate(sqry);
// Next, update the BUS_PRTY_RELA table. Set the all flag
sqry = "UPDATE bus_prty_rela SET fprevw_all_class_flg = '" + sAllFlg + "' ";
sqry = sqry + "WHERE bus_prty_id = " + busPrtyID + " and bus_prty_rela_id =" + relaID;
stmt.executeUpdate(sqry);
// Now, insert each line items from the submitted classfication
for (int i = 0; i < classfication.size(); i++) {
sqry = "INSERT INTO fprevr_fp_class( bus_prty_rela_id,fp_cl_ty_cd ) VALUES (";
sqry = sqry + relaID + ",'" + classfication.get(i) + "') ";
stmt.executeUpdate(sqry);
} //end else
=============================================
here is the call from JSP.
=============================================
<%@ page language="java" import="java.util.ArrayList, java.sql.*, oracle.jdbc.driver.* " errorPage="errorpage.jsp" session="true" autoFlush="true" isThreadSafe="true" contentType="text/html; charset=ISO-8859-1" isErrorPage="false" %>
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=WINDOWS-1252">
<META NAME="GENERATOR" CONTENT="Oracle JDeveloper">
<TITLE>
<jsp:useBean class="ReviwerPkg.DBinsertClsEJBBean" id="dbInsert" scope="page" ></jsp:useBean>
</TITLE>
</HEAD>
<BODY>
<span><STRONG><FONT size=12 color=#008000>Posting changes to the database .......</FONT> </STRONG></span><BR><p>
<%
String sbusPrtyID = request.getParameter("ReviewerID"); //busPrtyID
String srelaID = request.getParameter("hidBusPrtyRelaID"); //relaID
//special handling for the possible array of values returned for selected classes
String[] sArrClassCodes = request.getParameterValues("chkcls"); //delimited list of selected class codes.
String sAllclsCD = request.getParameter("chkAllcls"); //all class codes flag.
ArrayList arL = new ArrayList();
if (sArrClassCodes != null) {
if (sArrClassCodes.length > 0 ) { //don't process loop unless we have something.
for (int i = 0; i < sArrClassCodes.length; i++) {
arL.add(sArrClassCodes); //add all strings to the array list.
//create a jdbc connection for use with the EJB
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
//open a connection for the thin driver
Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@146.76.1.19:1521:devl", "pgat490", "pgat490");
%>
<jsp:setProperty name="dbInsert" property="busPrtyID" value="<%=sbusPrtyID%>" />
<jsp:setProperty name="dbInsert" property="relaID" value="<%=srelaID%>" />
<jsp:setProperty name="dbInsert" property="Conn" value="<%=conn%>" />
<span><STRONG><FONT size=12 color=#008000>
<%= dbInsert.processClassfications(sAllclsCD,arL) %>
</FONT></STRONG></span>
</BODY>
</HTML>
=============================================
Here is the same connection but done the way the documentation shows. IT DOESN'T WORK. Compare that to the one above.
String myhost = "146.76.1.19";
Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@(description=(address=(host=myhost)(protocol=tcp)(port=1521))(connect_data=(sid=devl)))", "pgat490", "pgat490");
If you ask me, I suspect that the second syntax won't register the driver. Anyone know why it doesn't work? I still have a lot of unanswered questions eg the SQLJ ones. So simple yet a bear to get working. I am worn out from having to discover everything by trial and error. I know Java but this tool is something else.

Similar Messages

  • JDeveloper Team: How Do I minimize the number of Oracle Sessions using Data Tags?

    I am trying to create a stateful application thru my JSP pages. Everytime there is a reference to the application module using the data tag, it looks like it creates a new Oracle Session. But thats not what I want to do.
    I have a module in which my first JSP page allows viewing of the data and in subsequent pages I allow insert, update, delete, commit etc.
    My Questions:
    1) The problem that I am encountering is that every new page that I go to creates a new Oracle session even though I specify the "Stateful" release mode.
    How do I avoid this?
    It looks like , if one browser user can potentially create 10-20 oracle sessions thru one module, imagine what the impact will be when we have hundreds of users.
    2) The sample JSP pages I saw has the username and password hard coded in it every time. Why? For a stateful application can I not specify the username and password just once and have the other JSP pages use the same userid and password.
    What are the pros and cons? I thought if I don't use the username and password in all the JSP pages then it probably will not create additional Oracle sessions but that is not true!!
    3) If it creates several Oracle sessions , will it not cause locking problems? If so, How do I minimize locking problems in a stateful application.
    JDeveloper Team Please advise!!
    AM I missing something? I would appreciate if someone can help me out!
    null

    Thanks a lot for the information. That thread was indeed very helpful. But it still didn't answer all my questions:
    1) In the thread you mentioned, it mostly talks about Web beans. In a jsp page (using Web bean) we need to first invoke setReleaseApplicationResources(true) and then invoke releaseApplicationResources().
    Does this apply to data tags? I mean I have a tag <jbo:ReleasePageResources releasemode="Stateful" />. Is this enough to release the application module back to the pool or do I have to have something equivalent of setReleaseApplicationResources(true)?
    2. In a stateful application, the state of an application is maintained between requests via a browser cookie. For each browser, you can have one state per application module class. I was attempting to run "several browser sessions from the same machine" and the end result was that I got errors and unpredictable results ie it returned me far fewer rows then I saw originally. Should I be actually be running the browser session from different machines?
    3. In JDeveloper Documentation (section About Application Module pooling) there is a note section : "If the application module is not recycled the data stays the same. However if the application module was recycled and then activated through a failover, the activation logic re-executes the view objects, so it may bring in more or less rows then originally seen by the clients due to any database updates that have occured."
    This is exactly what is happening to me? How do I get rid of this problem? I want to be able to see all the original rows + any new rows That have been committed. Please advise!
    4. Are the JDBC connections tied to application module instances? Is it one JDBC connection per application module instance? So, in a stateful JSP, if I end up using a different application I also get a different JDBC connection. IS this true?
    5. Does the no of application module instances depend on the no of available JDBC connections? Because it looks like if you set the max no of connections to "5" and set the max no of application module instances to "10", It will be able to instantiate only "5" application module instances due to the limitation set by connection pool.
    6. At times I get errors which indicates that the row in view object does not exist. Is this something familiar? Or is it the same problem that John discussed in his thread.
    Thanks in advance!

  • Clarity On Use of EJB: For the Jdeveloper Product team

    Hi,
    I want to deploy a three tier application with EJB(both Session
    and Entity Beans) on OAS 4.0 and Stored Procedures in Oracle 8i.
    But I fear the following issues
    i) Support for Entity EJBs
    ii) Issue of JDBC over the firewall to acess the stored
    procedures.IS JDBC 2.0 a part of the Jdeveloper 2.0
    regards
    Arvinder
    null

    Dear Brijesh,
    This indicator will determine the component how it should get produced either individually or collectively
    Example
    Fert 1 - strategy 20, requirement for this fert Via sales order is 10
    Fert 2 - strategy 40  requirement for this fert Via sales order/demand management is 10
    ROH is used in both Ferts and mainatined in BOM and also set to indicator 2 ( Colletive ) in MMR
    ROH requiement for fert 1 -1 ( BOM )
    ROH requiement for fert 2 -1 ( BOM )
    after MRP system will create only 1 PR for total qty 20
    If ROH is set to 1 ( individually ) then
    after MRP system will create 2 PR's as 10 each
    Hope it answers your query
    Regards
    Madhu

  • Java API's supported in the Jdeveloper, IAS, and RDBMS product components

    If there are any technical errors or "mistatement of the facts" in this posting, please let me know about them ..
    This article is being delivered in Draft form and may contain
    errors. Please use the MetaLink "Feedback" button to advise
    Oracle of any issues related to this article.
    PURPOSE
    This article describes the "Enterprise Java Beans" (EJB), "Java Server Pages"
    (JSP) and servlets Application Programming Interfaces (API) supported by the
    Oracle products, Jdeveloper, Internet Application Server (IAS) and the Oracle
    RDBMS release 2 and release 3, also known as Version 8.1.6 and 8.1.7,
    respectively.
    SCOPE & APPLICATION
    All parties interested in the Java API's supported by these products.
    Java API's supported in the Jdeveloper, IAS, and RDBMS product components
    JDEVELOPER
    JDEVELOPER is Oracle's Java development tool designed for coding / development,
    testing / debugging, and deployment of Java Applications to the IAS and
    RDBMS platforms.
    With the java software api's being in a constant state of evolution, each new
    release of Jdeveloper adds support for the "then current" version of the java
    software api's, if it does not already have it implemented.
    JDEVELOPER SERVLET API JSP API EJB API
    VERSION VERSION VERSION VERSION
    3.2.X.X 2.2 1.1 1.1
    3.1.X.X 2.1 1.0 1.0
    NOTE :
    Sun Microsystems and their advisory teams (Oracle is on it) is working on
    "draft" specifications for the next version of all of these API's
    EJB -------> http://java.sun.com/products/ejb/index.html
    JSP -------> http://java.sun.com/products/jsp/index.html
    Servlets --> http://java.sun.com/products/servlet/?frontpage-javaplatform
    It is anticipated that future releases of Jdeveloper will continue to be
    upgraded to include support for the next version of each api.
    To obtain the latest information on Oracle's Internet Development Suite (IDS)
    of tools, please review the "Internet Developer Suite" information located
    on Oracle's technet web site at :
    http://technet.oracle.com/products/index.htm
    IAS
    IAS is Oracle's next evolution of the web server and application server
    product technology superceeding the Web Application Server (WAS) and Oracle
    Application Server (OAS) product lines.
    IAS SERVLET API JSP API EJB API EJE VERSION
    VERSION VERSION VERSION VERSION SUPPORTED
    9I(1.0.2) 2.2 1.1 1.1 817
    8i(1.0.1-NT) 2.0 1.0 1.0 816
    8i(1.0.0-UNIX) 2.0 1.0 1.0 816
    The IAS product contains two Java Virtual Machines (JVM) within it's
    architecture.
    They are called :
    1) APACHE JSERV servlet engine
    2) ORACLE ENTERPRISE JAVA ENGINE (EJE)
    APACHE JSERV servlet engine
    The APACHE JSERV servlet engine is an EXISTING product licensed from the
    apache group which supports the servlet api 2.0.ONLY.
    The APACHE JSERV product does not support ANY JSP's unless the customer
    installs a third party jsp engine.
    The IAS 8i/9i which has the APACHE JSERV product embedded in it, comes with
    Oracle's JSP engine (OJSP) already integrated into it. OJSP supports JSP's up
    to the specific JSP engine version documented in the Oracle Universal
    Installer (OUI) for the 8.1.7 RDBMS or the IAS products. It is also documented
    in the product's release notes.
    Oracle ENTERPRISE JAVA ENGINE (EJE)
    The EJE formerly known as :
    1) Oracle 8i Java Virtual Machine (JVM)
    2) JSERVER component,
    3) Aurora JVM
    was originally releas ed in the RDBMS 8.1.5 database with jdk 1.1.6 based java
    support.
    The currently supported versions of the Oracle 8i RDBMS, versions 2 and 3,
    also known as Version 8.1.6 and 8.1.7, respectively, provides a jdk 1.2.1
    based java virtual machine support.
    "EJE" Version 816
    This EJE, found in rdbms 8.1.6 and IAS 8i, contains support for the ejb
    api 1.0, corba, and java stored procedures.
    "EJE" Version 817
    This EJE, found in rdbms 8.1.7 and IAS 9i, contains support for the ejb,
    corba, and java stored procedures as well as the Oracle Servlet Engine (OSE)
    which provides support for the servlets 2.2 api and JSP 1.1 api.
    Note :
    EJB support in the "EJE" Version 817 has been upgraded to comply with the EJB
    1.1 api specification which includes "entity beans" support.
    What is the bottom line ??
    1) Servlets deployed to the APACHE JSERV must comply with servlet api 2.0.
    2) Servlets 2.1 or higher are only supported in EJE's OSE component found in
    the rdbms 817 or ias 9i products. Servlets api 2.0 can also run in the OSE.
    References
    1) "Oracle9i Application Server Technical White Paper" located at :
    http://technet.oracle.com/products/ias/pdf/9ias_102.pdf
    2) "Whats New? Oracle8i JVM Accelerator, Oracle Servlet Engine, OracleJSP ..."
    located at :
    http://technet.oracle.com/products/oracle8i/pdf/504.pdf
    3) "Oracle8i Release 3 New Features Summary" located at :
    http://technet.oracle.com/products/oracle8i/pdf/8iR3_nfs.pdf
    null

    which jvm is used by jserv ?? EJE or a separate jdk ?
    The Jserv servlet engine is running in a separate jdk JVM external to the EJE jvm which is embedded within the "database" component of ias and the RDBMS.
    See the reference below for more details ...
    if jserv only support old apis, why it is in oracle's products ?
    i would assume that the oracle servlet engine was under development when ias 8i was released and became available in time for the ias 9i and rdbms 817 products.
    looking back in history leads me to believe ias 8i was a migration path to get to ias 9i or rdbms 817.
    Based upon the long history of new releases of every oracle product being upgraded with new features, it's reasonable to assume that these products will continue to evolve.
    when I deploy a jsp how to deploy in the right servlet container ("EJE") ?
    as documented in the reference below, you can deploy JSP's to either the apache jserv jvm or the EJE since the ORACLE JSP engine functionality is in both jvm's.
    there are many posts where you can see that people have deploy in jserv and they have problems because they don't use the right container (servlet 2.0 instead of
    servlet 2.2) http://technet.oracle.com:89/ubb/Forum2/HTML/006349.html
    when ias 8i came out this was clearly an issue since servlet support was at api 2.0, and the current servlet api was probably at 2.1.
    oracle clearly made every effort to get ias 9i released quickly to supply a servlet 2.1 and 2.2 capable engine to resolve this issue.
    since ias 9i and rdbms 8.1.7 are available this is no longer an issue.
    The reference below explains the architecture and understanding it would eliminate a lot of "deploy to the wrong ias 9i component" issues.
    so why jserv is bundled with oracle 8i/9ias since EJE support the right api version ?
    if in ias 9i release , oracle had removed the jserv component without any advance warning, many customers would have been very upset since oracle makes every attempt to give advance notice before removal of functionality.
    References
    1) "Oracle9i Application Server Technical White Paper" located at :
    http://technet.oracle.com/products/ias/pdf/9ias_102.pdf

  • JDeveloper Team - Refers: How do I display multiple rows in a gridControl

    JDeveloper Team
    With reference to the previous reply..
    My query is not based on a view object. It uses the executeRetrieval command to do the select statement.
    The query obtains the correct number of rows but it displays only the first record out of the selected rows.
    pls help me find a solution.
    null

    Can you try to list the row values using the dataitem that the executeRetrieval method returns.
    ex.,
    import javax.infobus.*;
    DbAccess db = sessionInfo.getDbAccess();
    ScrollableRowsetAccess scr =
    (ScrollableRowsetAccess)db.executeRetrieval("select * from dept", "infobus:/oracle/Session1/DynamicQuery", null);
    System.out.println(scr.getRowCount());
    null

  • The JDeveloper can't normally debug the java project

    SOS!!!
    OS: XP SP2 PRO
    JDeveloper version:10.1.2
    JDK version:j2sdk1.4.2_06
    Before the System repairing,it works well.but after I do the System repairing action, it can't work well. but if I copy the whole directory in which the JDeveloper was installed the debug function is work well. And if I disconnect the local networkconnection, it can work well. And even the simple program "Hello world" can't debug
    The following is the start time log:
    D:\jdev10g10121\jdev1012_base\jdev\system10.1.2.1.0.1913\oc4j-config>
    C:\j2sdk1.4.2_06\bin\javaw.exe -server -Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=1990 -classpath D:\jdev10g10121\jdev1012_base\j2ee\home\oc4j.jar;D:\jdev10g10121\jdev1012_base\jdev\lib\jdev-oc4j.jar -Xverify:none -Ddisable.checkForUpdate=true -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doracle.dms.sensors=NONE -Doc4j.jms.usePersistenceLockFiles=false com.evermind.server.OC4JServer -config D:\jdev10g10121\jdev1012_base\jdev\system10.1.2.1.0.1913\oc4j-config\server.xml
    [waiting for the server to complete its initialization...]
    Debugger unable to connect to local process.
    Process exited with exit code 0.
    Any one in the JDEV Team can give any advice? Thanks very much for previous.

    there are specific instructions in the release notes for setting up and using the jdbc oci driver.
    oci drivers require a matching oracle client be installed also.
    816 driver ---> 8.1.6 client.
    null

  • For jdeveloper team

    I'm hoping I can get some feedback on a couple of issues regarding the usage of bc4j framework in a web-application. I've found some other posts asking some of the same questions, but have not been able to find any posts with answers. I apologize in advance if I've missed them:
    1) post vs. get: Within the OC4J container (when run from inside Jdeveloper), using the post method on forms seems broken. Specifically, I have a page which posts with the form's action set to a controller servlet. Using debug mode, I can see that as the controller servlet receives the request, the parameters do exist. However, the controller then forwards to a view page which, when debugged, shows that the request's parameters are empty. On a side note, doing the very same thing under tomcat (this very same application) works fine (i.e., the 'view' jsp receives the parameters from the original request. According to my reading of the spec, a forward should preserve the request parameters. Finally, using the 'get' method does preserve the request parameters under oc4j.
    2) JSP-centric development: While digging through the web-application samples and various HOWTO documents, it appears that the recommended way of building web-applications is to make use of the bc4j datatags. This is not necessarily the way many folks want to develop non-trivial web-apps these days. Keeping with the philosophy that JSP code should be related to the 'view' only, and that all 'controller' code should be separate, what (if any) plans do the jdeveloper/bc4j teams have to open the functionality available in the jsp datatags for servlet development? I certainly understand that pretty anything I can do using datatags are possible to do from a servlet by using the given bc4j API; however, even just getting the application module from the pool ends up being significantly more work than using the <jbo:ApplicationModule> tag. Additionally, when I've looked into using pieces of code in the datatag implementations, and I then check the javadocs, I see an awful lot of "Internal: Applications should not use this method", or worse yet, no explanation of what the method is supposed to do. So at this point, I've got much more "code" in my JSP's that I'd like, and my controller-servlet and related modules are really not doing as much as I'd like them to do.
    Thanks in advance for any input!

    John,
    For the first question, the only thing I can related to this problem is a bug in OC4J which has been fix in the 9.0.2 release. I do not know which version of OC4J you are using but that might be the problem. More specifically, it had to do with the use of the JAZN request handler no processing the request parameters correctly after a forward or an include. May be you should post a message on the oc4j message list.
    As for the second question, your are identifying correctly some problems associated the 9.0.2 BC4J JSP application wizards. The Controller written into View problem is actually not because of the BC4J datatags themself but more because of the missing controller part.
    The BC4J datatags provides a great way to retrieve the model information and display it in the view. But infortunately we had to build the controlling part using JSP and that become very messy (even if we tried very hard to put of controlling code in one file called DataHandlerComponent.jsp and use as many tags as possible).
    In our next release (9.0.3) we are extending our model by integrating with the Struts Controller.
    Here is a list of current problems that Struts will help us fix:
    * The execution of the business logic and the event handling is done in the JSP page itself forcing you to write a lot of java code in scriptlet not easily portable.
    * Missing page flow control.
    * No Runtime NLS support.
    * The application pool management is error prone because of the requirement of the ApplicationModel and ReleasePageResource tag in specific place in the JSP file.
    * Tricky error handling.
    So using the servlet controller is the right thing to do, would it be your own or Struts. We can help you with the code to manage the ApplicationModules with the pool or you can wait for 9.0.3 where this will be handle with Struts.
    Charles.

  • IMPORTANT MESSAGE: THIS FORUM HAS MOVED TO THE JDEVELOPER FORUM

    THIS IS AN IMPORTANT NOTE FROM THE JDEVELOPER ADF UIX DEVELOPMENT TEAM
    With the release of JDeveloper 10g and Oracle ADF (ADF UIX, ADF Business Components, ADF JClient) we are consolidating our resources to one forum - the JDeveloper forum. All current posts/threads within this forum will, in time, be moved over to the JDeveloper forum. Meanwhile you should post all new questions to the JDeveloper forum, since this forum from now on will not be monitored by the JDeveloper ADF UIX development team. The JDeveloper ADF UIX development team will focus on answering UIX questions on the JDeveloper and ADF.
    Regards,
    JDeveloper Product Management
    [Edited by: jjacobi on Nov 21, 2003 5:32 PM]

    Do you have an add-on called Adblocker Plus in your Add-on Manager?
    'Tools' > 'Add-ons' or '3bar menu icon' > 'Add-ons'
    Disable this addon and test. It has been known to cause some issues.

  • Frustrated with DATA TAGS (JDEVELOPER TEAM)

    I have been trying to delete a record from an HTML form using data tags and unfortunately I am unable to make any progress.
    It keeps telling me that I got to use either
    "rowkey" or "rowkeyparam" and when I try to use it, it gives me a jsp exception.
    This is the same case with me when I try to locate a record using the "Find" action.
    So how am I to delete or update a record which is displayed in an HTML form?
    I saw the "howto" on using the "rowkeyparam" but it simply doesn't work as advertised.
    I always end up getting a JSP exception and the end result being I am unable to "UPDATE" OR "DELETE" any record from an HTML form.
    JDeveloper Team, Please advice. Do you have any sample examples of "UPDATING" and "DELETING" a record from an HTML form?
    I am really frustrated!!!!
    null

    To see a quick example of a working UPDATE example simply use the "DataPage" Wizard.
    When you choose the Edit Form generation option from the wizard, it will generate a working example of an "Edit Form"
    JSP app using the Data Tags and a RowKey parameter.
    For more info on the DataPage Wizard see: http://otn.oracle.com/products/jdev/info/jdev/datapage/s000.html
    As for deleting a record, this is also done with the Row tag.
    Instead of
    <jbo:Row id="myrow" datasource="ds" rowkeyparam="MyRowKey" action="Update">
    <jbo:SetAttribute dataitem="*"/>
    </jbo:Row>
    You can use:
    <jbo:Row id="myrow" datasource="ds" rowkeyparam="MyRowKey" action="Delete"></jbo:Row>
    Providing you pass the rowkey value as the Html parameter "MyRowKey"..
    null

  • Does the Dreamweaver team work at Adobe?

    Here's why I ask.  We're in CS6 now, which is what, the 12th version of dreamweaver?  I keep thinking, maybe there's going to be bridge integration someday.  Mini-bridge would be awesome.  But it's like the dreamweaver team has never seen another Adobe product.  Yes, there's a place in dreamweaver as a bridge option (if the image is already resized, and you want it stored in your root directory), but from Dreamweaver there's no preview in bridge (we can explore with Windows file explorer, that's an option, but no mention of bridge).  I keep hoping I can draw an image placeholder in golive, select a file in bridge, and the option 'Place an optimized file created in these dimensions in your current directories files' will appear, but that option isn't there.  Contribute had that back in CS1, but Dreamweaver makes me work for it.  It gives me the ability to draw a placeholder to dimensions, but then I have to open photoshop, resize it, save it, and find it. 
    And finding images is hard, because there's no mini-bridge!  Want to view all the images you have in a directory so you can select the right thumbnail to place on your page?  Better use another program.  Sure, there's the asset view, where you can wait while dreamweaver creates microscopic thumnails of every image in every directory, but something as simple as view files as thumbnails - not this time.  Maybe CS7?
    And as long as I'm griping about features that every other program in the world seems to have mastered, would it be so hard to have real-time spell check?  I don't think I own another program (or device) that let's me mis-type as happily as dreamweaver.  Yes, if I remember I can run a command to spell check, but why make me remember?  Why not incorporate the same (dare I say technology?) that Microsoft has used for all of this century and much of the last, and just put a squiggly line under my screw-ups? 
    Please, Adobe, spend a little more time thinking about the people that use your products (I know I'm not the only person who puts images on web pages!), and less time coming up with new programs like Muse so we don't have to use the programs we already love.

    Although I know it's never been considered DW is always looking for ways to expand.  I can hear where you are coming from, however, from a priorities perspective from other posts I've seen, removing the old functionality and trying to bring in the standards of HTML5 and CSS3 is more important, because as Nancy and PZ eluded to, people have been doing it this way for years and competitors are coming out with better ways to handle the new technologies and DW needs to be on the cutting edge there.  Based on the web fonts that was introduced in CS6, I would like to see integration with Font Management tools.  With InDesign and Photoshop you don't know how often I rely on those external (non-Adobe) tools to tell me what fonts are in use and to be able to select any font on my system to use on the webpage (given that you have the rights to the font of course). 
    I will say this about your last paragraph.  I did recently upgrade to the CS6 suite, but your comment there is one of the reasons I have not gone into the Cloud.  I feel like my money would be supporting that product when I don't need/want to use it.

  • Downloaded the A-Team to my ipod video but can't find it

    hello, I had just recently purchased the ipod video and over the weekend decided to test it out and I downloaded from apple's website the A-team now i can view it on my itunes under tv show but when i look for it on my ipod video there is no drop down menu for TV show i see videos,music,photos but no menu for TV show what can i do?
    thanks

    i can view it on my itunes under tv show but when i look for it on my ipod video there is no drop down menu for TV show
    I would contact ITMS and "REQUEST" they correct the matter. Whoever created the file did not properly include all of the required meta-data information which would create a valid path for file display on the iPod. Further, there seems to be a growing occurance (i.e., the lack of quality control) during the production of these files. While I might expect a small number of such files to crop up on occasion, I expect a commercial marketer to respond in a professional manner or suffer the legal ramifications of their failure to correct known product defects.
    Be that as it may, you can of course, temporarily work around the problem by creating a "Playlist" to contain your TV episodes by series title. Just remember to order them properly within the playlist to maintain proper play order.

  • I just bought a iTunes card and its not accepting it.  It already sent it to the support team and they said they were going to get back to my within 24 hours and i am trying to buy a program in the app store for work.  How can I expedite this process?

    I just bought a iTunes card and its not accepting it.  It already sent it to the support team and they said they were going to get back to my within 24 hours and i am trying to buy a program in the app store for work.  How can I expedite this process?

    Has it been 24 hours?
    I take it this was a gift card.  iTunes Store:  Invalid, Inactive, or Illegible codes http://support.apple.com/kb/TS1292 - gift cards
    I don't know if this provides an alternative means: https://expresslane.apple.com ; select 'iTunes' in the first column; 'iTunes Store' in the second column
    If you are really desperate you could buy the app yourself, then request reimbursement.

  • HT3702 I'm trying to open an iTunes account and was asked to provide one of each:credit card details or gift card details.i provided a gift card details and yet I'm being asked to contact the support team!!! Pls can someone help me out on this..thanx. Bre

    I'm trying to open an iTunes account and was asked to provide one of each:credit card details or gift card details.i provided a gift card details and yet I'm being asked to contact the support team!!! Pls can someone help me out on this as I cant enjoy my new iPad 3 without buying apps

    Brenda, the easiest way to contact the support team is thru the iTunes Customer Service website:
    http://www.apple.com/support/itunes/contact/

  • OT: The Dreamweaver team's blog post about the Dreamweaver modernization effort

    Hi all,
    The Dreamweaver team has shared its thoughts on the rationale behind changes in Dreamweaver CC in its blog post http://blogs.adobe.com/dreamweaver/2013/06/a-look-at-the-modernized-dreamweaver-cc.html. The blog post also touches upon what's ahead while providing alternatives to some of the older features that did not make it to Dreamweaver CC.
    The team has taken into account feedback from several quarters before formulating a reply. I thank all of you on this forum who have provided us with inputs and constructive feedback to help us respond to your concerns.
    I would like to particularly call attention to this sentence from the blog post:
    We have just begun the modernization process and invite you to voice your opinion. We are committed to taking action on customer feedback and remaining as transparent as possible about our future plans.
    In this context, it is worth noting that the Creative Cloud provides us with the flexibility to  quickly try and address issues and areas that fall within the purview of our shared vision for Dreamweaver.
    Thanks,
    Preran

    Namaste Preranji,
    That URL that you posted is broken it should not be "dr eamweaver" but "dreamweaver" I hope that is not a bad omen. (-;
    VL Branko

  • I have received an email from The iWork Team 15912319 Is this to be trusted

    I received this message. Is this to be trusted
    Hello there,
        We have heard about your issue from the discussion thread below:
    https://discussions.apple.com/thread/5829899?tstart=0
    We would like to know if you would be able to provide the following:
    1. Which version of Keynote?
    2. An example document that illustrates the problem (preferrably the 5.3 version of the document before the import).
    3. A system profile.
    4. Any console or crash logs.
    5. Where is the document being stored while being edited (i.e. local hard disk, iCloud, DropBox, GDrive, network share, etc).
    6. Was the document duplicated or stored using a backup program or file synchronization program (e.g. Synchronize Plus)?
    Apple System Report
    1. Click on the Apple icon on the upper left corner
    2. Select 'About This Mac'
    3. Click on the 'More Info…' button
    4. Click 'System Report' button
    5. Select File>Save
    6. Send this back to us
    Console logs:
    1.  Launch Console app from your Applications/Utilities folder
    2.  Click the Clear Display icon on the Tool Bar
    3.  Launch your app and your steps to reproduce your issue
    4.  Copy the log on the right pane
    5.  Email this back to us
    Crashlogs:
    OSX
    Crashlogs:
    Location of Crash logs can be found in the following directory for Lion:
    Users/Library/Logs/CrashReporter
    Here's a shortcut.
    1.  In Finder, Select the Go>Go to Folder
    2.  Enter the following:
        ~/Library/Logs/DiagnosticReports
    3. Look for the specific log for the app that crashed.
    4. Copy the log and email it back to us.
    iOS
    Crashlogs:
    1. Sync your device to iTunes
    2. The crash logs will be located here:
    Mac OS X : ~/Library/Logs/CrashReporter/MobileDevice/DEVICE
    Windows XP: C:\Documents and Settings\<USERNAME>\Application Data\Apple computer\Logs\CrashReporter/<DEVICE_NAME>
    Windows Vista, 7 & 8: C:\Users\<USERNAME>\AppData\Roaming\Apple computer\Logs\CrashReporter/MobileDevice/<DEVICE_NAME>
    3. Reply to this email and attach the latest few files for <App name>.
    Thank you,
    The iWork Team
    15912319

    Yes, Apple need every support we can give them to sort out all the Keynote problems.
    Just check that the return email has an Apple.com address.

Maybe you are looking for

  • NUMERO DE NOTA FISCAL

    Bom dia pessoal, Tudo bem? Estou com um problema, o seguinte, tenho um processo normal de vendas, crio a ordem, remessa, e documento de faturamento, por ultimo gero a nota fiscal e impressão, mas não esta gerando o numero da nota fiscal, o campo nume

  • HRMS Button not appearing in Work Center

    Hi friend, As we have HR module here, we have a requirement of maintaining the Personal number and work center link. But in the Transaction code IR01,02,03 HRMS button is not appearing. Whether any setting missing especially from HR side anything mis

  • Can i import java fx in jsp or html?

    can i import java fx in jsp or html?

  • Strange goings on with the intel iMac

    Ive been having a few glitches with my brand new iMac which I had only today. for one it was crashing when I clicked the date & time section of system preferences but now one of the icons has gone horribly wrong. On another note can anyone direct me

  • Lightening imovies taken in low light places

    Hi, I did a wonderful video of my niece's wedding but no one listened to me (as usual) when I explained that there needs to be plenty of light reflecting off the faces of the subjects. I did not want to use an obnoxous camera light at the delicate ce