REPOST(JDEV TEAM) Kindly respond!!!
SUBJECT: Strange Behavior in TOMCAT although it runs OK in Jdeveloper.
This is actually a repost and I am hoping that someone would answer:
I am encountering some strange behavior when I deploy my application to TOMCAT.
If I run in JDeveloper (webtogo) everything works fine but the behavior changes completely in TOMCAT.
Let me try and explain my situation here.
I have 3 jsps :
1.iss_listApps.jsp which is used to browse all the available records, allows the user to navigate to a specific record and edit or delete.
2. app_edit.jsp which is used to edit/delete a specific row passed from iss_listApps.jsp.
3. app_edit_post.jsp which is used to save the changes.
Note that I use an anchor ">Edit</a> to pass a row from the browser page to the edit page.
For your convenience I have listed all the source files below.
Now here are my problems:
Problem 1. If I run it in JDeveloper, I am able to browse the records and go to a specific record to edit and delete by clicking on the "Edit" anchor provided in the browser page.
I can also go to the edit page and backout out of it by not saving the changes. In that case I am back in my browser page and I can again click on the "Edit" anchor to go to a specific record.
However if I am in TOMCAT, I am able to browse and go to a specific record so long as I make changes to it and save it. If for any reason, I do not save a record and I go back to my browser
page then any subsequent calls to to edit a specific record goes to the same OLD RECORD that I did not save.
I fail to understand why? Maybe the "webtogo" server automatically refreshes when I click on the "back tab". If so, how do I automatically refresh a jsp page when I click on the "back tab" in TOMCAT.
I would sincerely appreciate any help on this.
Problem 2. I have an include jsp tag in my browser page. defined as
<jsp:include page="Message.jsp" flush="true">
<jsp:param name="colspan" value="2"/>
</jsp:include>.
This section of the code is currently commented out because if I uncomment it then it runs ok in JDeveloper but in Tomcat it causes the browser page to always navigate to the first record if I want to edit a specific record.
I would sincerely appreciate any answer on this.
Here are my source files:
1. iss_ListApps.jsp (browser page). Please see how the anchor is formed. It causes no problems
in JDeveloper.
<%@ page contentType="text/html;charset=WINDOWS-1252"%>
<HTML>
<base target="contentsframe">
<head>
</head>
<body>
<%@ taglib uri="/webapp/DataTags.tld" prefix="jbo" %>
<jbo:ApplicationModule id="NewBC4J.NewBC4JModule" configname="NewBC4J.NewBC4JModule.NewBC4JModuleLocal" username="issue" password="issue"/>
<jbo:RollBack appid="NewBC4J.NewBC4JModule" />
<jbo:DataSource id="app_vo" appid="NewBC4J.NewBC4JModule" viewobject="ApplicationsView" ></jbo:DataSource>
<jbo:RefreshDataSource datasource="app_vo" />
<table width="100%" bgcolor="tan" border="0" align="center" cellpadding="3" cellspacing="0">
<%--
<jsp:include page="Message.jsp" flush="true">
<jsp:param name="colspan" value="2"/>
</jsp:include> --%>
<form name="list" target="body" action="app_edit.jsp" method="post">
<tr><th colspan="4">List of Valid Applications</th></tr>
<tr>
<th> </th>
<th align="left"><u>Code</u></th>
<th align="left"><u>Name</u></th>
<th align="left"><u>Description</u></th>
</tr>
<tr>
<jbo:RowsetIterate datasource="app_vo">
<td>
<a href="app_edit.jsp?RowKeyValue=<jbo:ShowValue datasource="app_vo" dataitem="RowKey"/>">Edit</a>
</td>
<td>
<jbo:ShowValue datasource="app_vo" dataitem="Code" />
</td>
<td>
<jbo:ShowValue dat asource="app_vo" dataitem="Name" />
</td>
<td>
<jbo:ShowValue datasource="app_vo" dataitem="AppDesc" />
</td>
</tr>
</jbo:RowsetIterate>
</form>
</table>
<table width="100%" bgcolor="skyblue" align="center" cellpadding="10" cellspacing="0" >
<tr>
<form NAME="AddForm" action="app_add.jsp">
<td>
<input type = "submit" name="submit" value="Add" align="center" >
</td>
</form>
</tr>
</table>
</body>
<jbo:ReleasePageResources releasemode="Stateful" appid="NewBC4J.NewBC4JModule" />
</html>
2. Second Source File: app_edit.jsp (Allows editing of a record)
<%@ page contentType="text/html;charset=WINDOWS-1252"%>
<HTML>
<base target="contentsframe">
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=WINDOWS-1252">
<META NAME="GENERATOR" CONTENT="Oracle JDeveloper">
<TITLE>
</TITLE>
</HEAD>
<BODY>
<%@ taglib uri="/webapp/DataTags.tld" prefix="jbo" %>
<jbo:ApplicationModule id="NewBC4J.NewBC4JModule" configname="NewBC4J.NewBC4JModule.NewBC4JModuleLocal" />
<jbo:DataSource id="app_vo" appid="NewBC4J.NewBC4JModule" viewobject="ApplicationsView" />
<jbo:Row id="myrow" datasource="app_vo" rowkeyparam="RowKeyValue" action="Find">
<jbo:SetAttribute dataitem="*"/>
</jbo:Row>
<table width="100%" bgcolor="skyblue" border="0" align="center">
<tr>
<td>
<table width="100%" bgcolor="tan" border="0" align="center" cellpadding="3" cellspacing="0">
<form NAME="iForm" action="app_edit_post.jsp">
<tr>
<th colspan="2">
"Edit/Delete Applications"
</th>
</tr>
<jsp:include page="Message.jsp" flush="true">
<jsp:param name="colspan" value="2"/>
</jsp:include>
<tr>
<td align="right"><b><font color="red"> Name:</font></b></td>
<td> <jbo:InputText datasource="app_vo" dataitem="Name" cols="50" />
</td>
</tr>
<tr>
<td align="Right"><b><font color="red"> Description: </font></b></td>
<td> <jbo:InputTextArea datasource="app_vo" dataitem="AppDesc" cols="50" rows="5" />
</td>
</tr>
</table>
<!-- Create a table for the save and Delete Buttons -->
<table width="100%" bgcolor="skyblue" align="center" cellpadding="10" cellspacing="0" >
<tr>
<input name="RowKeyValue" type="hidden" value="<jbo:ShowValue datasource="app_vo" dataitem="RowKey"/>" />
<td>
<input type = "submit" name="submit" value="Save">
</td>
</form>
<form NAME="DelForm" action="app_del_post.jsp">
<input name="RowKeyVal" type="hidden" value="<jbo:ShowValue datasource="app_vo" dataitem="RowKey"/>" />
<td>
<input type = "submit" name="submit" value="Delete">
</td>
</form>
</tr>
</table>
</td>
</tr>
</table>
</BODY>
</HTML>
<jbo:ReleasePageResources releasemode="Stateful" />
3. Third source file app_edit_post.jsp (ALlows saving the changes made to a specific record)
<%@ page contentType="text/html;charset=ISO-8859-1"%>
<HTML>
<BODY>
<%@ taglib uri="/webapp/DataTags.tld" prefix="jbo" %>
<jbo:ApplicationModule id="NewBC4J.NewBC4JModule" configname="NewBC4J.NewBC4JModule.NewBC4JModuleLocal" />
<jbo:DataSource id="app_vo" appid="NewBC4J.NewBC4JModule" viewobject="ApplicationsView" ></jbo:DataSource>
<%
try
%>
<jbo:Row id="row3" datasource="app_vo" rowkeyparam="RowKeyValue" action="Update" >
<jbo:SetAttribute dataitem="*" />
</jbo:Row>
<jbo:Commit appid="NewBC4J.NewBC4JModule" />
<p><font face="Arial, Helvetica, sans-serif"><b><font color="006699">Application Successfully Updated</b></font></font> </p&g t;
<%
catch(Exception exc)
out.println("<pre>");
exc.printStackTrace(new java.io.PrintWriter(out));
out.println("</pre>");
%>
<br>
<br>
<form action="app_ListApps.jsp" method="post"><input type="submit" value="Click to Continue"></form
<jbo:ReleasePageResources releasemode="Stateful" />
</BODY>
</HTML>
null
I am using Internet Explorer 5.5.
When I run the application using JDeveloper/Tomcat, it uses the same browser ie IE 5.5.
I am not sure what you mean by "cache set" in the browser. Where do you find that information for a browser. I looked in "internet options","page setup" etc but couldn't find anything which talks about "cache set".
Thanks in Advance!
Regards
Ifti
Similar Messages
-
JDev903 custom tag (bug?)-JDev Team please respond
JDeveloper is continually hanging while working with custom tags. For example, I will select Add Tag and nothing will happen and JDeveloper stops responding. If I go to End Task, I am told that JDeveloper is waiting for a response, but by then JDev is just a gray window. This behavior becomes more frequent after a change, i.e. change a tag name, try to delete a tag or library. In fact, I have had to completely start over in the creation of a tag library when I notice a necessary change within a tag due to the hanging and disappearance of menu items. Please see previous post, Re: 10.1.3.1 xpath-functions.xml
Please look into this issue. Our team feels that custom tags could be a valuable tool, but we are RAPID and we don't have time to constantly shut-down and restart our IDE.
Thanks,
DebDavid,
One thing to try would be JPublisher from the command line. If your problem persists with JPublisher from the command line, then the bug needs to be filed against that product. If not, then the problem is with us.
In either case, please post your code so we can try to reproduce the error.
The JPublisher command line facility is documented in the JPublisher User's Guide, available from the Oracle8i 8.1.6 documentation pages on OTN.
Thanks! -
Hi,
I posted a question here early yesterday and I haven't received any kind of reply yet!!! I understand if someone from this forum cannot help me... but I need the Jdev team to respond to me ASAP!!!!
I'm using JDev 3.2, trying to use the Source Control feature to connect to Repository 6i. I can connect without any trouble and I can see the work area and navigate through the folders (that were created by the owner), however when I try to click on any of the 'files' branches of the folder/file tree - I get this error.
ckron61.exe has generated errors and will be closed by Windows. You will need to restart the program. An error log is being created.
There are 3 of us who are trying to connect, one can do it successfully... two of us cannot. I also tried to connect and access those files on another machine and it worked as well.
All of our systems have been imaged the exact same way.
What could the problem be...
I appreciate your help.... thanks.Hi Jolene,
I would recommend upgrading to the latest release of Repository, since it contains many bug fixes. I'm afraid I'm not sure what is causing your specific problem.
It's also worth making sure your OS is patched up to the latest service pack.
Oracle9i JDeveloper's support for Oracle SCM (aka Repository) is far more comprehensive than 3.2, so this is a good upgrade to make as well :)
About UIX, the best thing is probably to post a new message to the 9i JDeveloper forum. It's not an area I'm overly familiar with, but I'm sure someone else on that forum will be able to help you out.
Thanks,
Brian
JDeveloper Team -
JDev Team - how to add a Data Aware Control to grid control
The default editor for GridControl cells is a data-aware TextField, but I want to use a ComboBoxControl. If I use the setEditor() method of the TableColumn, the cell is edited using a combo, but there are problems:
1. Navigated events do not fire when focus is moved in or out of the cell and
2. When focus moves to another cell in the same column, the cell losing focus is blanked.
How can I setup/attach a custom editor based on a Data Aware Control to avoid these problems?
The code I am using
1. declares combobox controls to be used with grid as member variables of my frame class
ComboBoxControl comboBoxSrcSystem = new ComboBoxControl();
ComboBoxControl comboBoxSrcSysVersion = new ComboBoxControl();
ComboBoxControl comboBoxSrcTable = new ComboBoxControl();
ComboBoxControl comboBoxSrcColumn = new ComboBoxControl();
2. sets up the combo in the jbInit method of the frame class :
// for gridControlMapRuleSrcCols column SystemName
comboBoxSrcSystem.setListKeyDataItemName("infobus:/oracle/sessionMapTool/rowSetSystemCombo/SystemName");
comboBoxSrcSystem.setListValueDataItemName("infobus:/oracle/sessionMapTool/rowSetSystemCombo/SystemName");
comboBoxSrcSystem.setDataItemNameForUpdate("infobus:/oracle/sessionMapTool/rowSetMapRuleSrcCols/SystemName");
3. In the frame constructor calls a method to add combos to the grid
addMapSrcColGridCombos();
which is defined as
private void addMapSrcColGridCombos() {
// add combos to gridControlMapRuleSrcCols grid
JTable mapSrcColTable = gridControlMapRuleSrcCols.getTable(); // access the JTable
addComboEditor( mapSrcColTable, "SystemName", comboBoxSrcSystem );
addComboEditor( mapSrcColTable, "SystemVersion", comboBoxSrcSysVersion );
addComboEditor( mapSrcColTable, "TableName", comboBoxSrcTable );
addComboEditor( mapSrcColTable, "ColumnName", comboBoxSrcColumn );
4. It makes use of the following method:
private void addComboEditor( JTable table, String colName, ComboBoxControl combo )
TableColumn col = table.getColumn(colName);
col.setCellEditor( new DefaultCellEditor( combo ) );
nullGiven the usual deafening silence from the JDev team, I'll post my resolution of the problem.
I could not find a way of creating an editor directly from a ComboBoxControl which would behave properly in a GridControl. However, JComboBox does work, so I
1. add a Navigated listener to the GridControl
2. in the navigatedInColumn event handler I create a JComboBox from a ScrollableRowsetAccess and
3. use it to create a custom CellEditor for the target column.
(I also remove the editor in the currently focused column in the navigatedOutColumn, but I don't think this is strictly necessary.)
This solution also works after a Rollback, when the columns of the gridcontrol are reset/rebuilt, and handles dynamic combos that are dependent on the current row values.
Unfortunately, unlike ComboBoxControl JComboBox does not allow for a key/value mapping, so the combo editor can only display the values to selected from, not a user-friendly label.
I attach some code snippets to illustrate the solution:
1. declare member variables
// declarations for Custom Grid Editors
NavigationManager navMgr = NavigationManager.getNavigationManager();
static String SYS_NAME_COL_NAME = "SystemName";
static String SYS_VER_COL_NAME = "SystemVersion";
static String TAB_NAME_COL_NAME = "TableName";
static String COL_NAME_COL_NAME = "ColumnName";
RowSetInfo rowSetSystemCombo = new RowSetInfo();
AttributeInfo SystemNamerowSetSystemCombo = new AttributeInfo();
ScrollableRowsetAccess sysNameComboRS = (ScrollableRowsetAccess)rowSetSystemCombo.getRowsetAccess();;
static ImmediateAccess sysNameComboIA = SystemNamerowSetSystemCombo.getImmediateAccess();
static RowSetInfo rowSetMapTgtColTableCombo = new RowSetInfo();
static AttributeInfo TableNamerowSetMapTgtColTableCombo = new AttributeInfo(java.sql.Types.VARCHAR);
static ScrollableRowsetAccess tgtTabNameComboRS = (ScrollableRowsetAccess)rowSetMapTgtColTableCombo.getRowsetAccess();;
static ImmediateAccess tgtTabNameComboIA = TableNamerowSetMapTgtColTableCombo.getImmediateAccess();
2. in jbInit() set up the combo rowsets (use Design mode)
SystemNamerowSetSystemCombo.setName("SystemName");
rowSetSystemCombo.setAttributeInfo( new AttributeInfo[] {
SystemNamerowSetSystemCombo} );
rowSetSystemCombo.setQueryInfo(new QueryViewInfo(
"SystemComboView",
rowSetSystemCombo.setSession(sessionMapTool);
rowSetSystemCombo.setName("rowSetSystemCombo");
SystemVersionrowSetMapSrcColSysVersionCombo.setName("SystemVersion");
rowSetMapSrcColSysVersionCombo.setAttributeInfo( new AttributeInfo[] {
SystemVersionrowSetMapSrcColSysVersionCombo} );
rowSetMapSrcColSysVersionCombo.setQueryInfo(new QueryViewInfo(
"SourceSystemVersionComboView",
"SYSTEM_VERSION DESC"));
rowSetMapSrcColSysVersionCombo.setMasterLinkInfo
(new ViewLinkInfo(rowSetMapRuleSrcCols,"MapTool.MapRuleSrcColSysVersionComboLink"));
rowSetMapSrcColSysVersionCombo.setSession(sessionMapTool);
rowSetMapSrcColSysVersionCombo.setName("rowSetMapSrcColSysVersionCombo");
TableNamerowSetMapSrcColTableCombo.setName("TableName");
rowSetMapSrcColTableCombo.setAttributeInfo( new AttributeInfo[] {
TableNamerowSetMapSrcColTableCombo} );
rowSetMapSrcColTableCombo.setQueryInfo(new QueryViewInfo(
"SourceTableComboView",
"TABLE_NAME"));
rowSetMapSrcColTableCombo.setMasterLinkInfo
(new ViewLinkInfo(rowSetMapRuleSrcCols,"MapTool.MapRuleSrcColTableComboLink"));
rowSetMapSrcColTableCombo.setSession(sessionMapTool);
rowSetMapSrcColTableCombo.setName("rowSetMapSrcColTableCombo");
ColumnNamerowSetMapTgtColColumnCombo.setName("ColumnName");
rowSetMapTgtColColumnCombo.setAttributeInfo( new AttributeInfo[] {
ColumnNamerowSetMapTgtColColumnCombo} );
rowSetMapTgtColColumnCombo.setQueryInfo(new QueryViewInfo(
"TargetColumnComboView",
"column_name"));
rowSetMapTgtColColumnCombo.setMasterLinkInfo
(new ViewLinkInfo(rowSetMapRuleTgtCols,"MapTool.MapRuleTgtColColumnLink"));
rowSetMapTgtColColumnCombo.setSession(sessionMapTool);
rowSetMapTgtColColumnCombo.setName("rowSetMapTgtColColumnCombo");
3. add methods to handle the Navigated events (use Design mode to ensure add listener code
is generated)
void gridControlMapRuleSrcCols_navigatedInColumn(NavigatedEvent e) {
debug("gridControlMapRuleSrcCols_navigatedInColumn");
show_nav_info();
String dataItemName = navMgr.getTargetDataItemName();
String columnName = dataItemName.substring(dataItemName.lastIndexOf("/")+1);
JTable table = gridControlMapRuleSrcCols.getTable();
if ( SYS_NAME_COL_NAME.equals( columnName)) {
addComboEditor( table, columnName, dbMapTool.sysNameComboRS, dbMapTool.sysNameComboIA );
else if ( SYS_VER_COL_NAME.equals( columnName)) {
addComboEditor( table, columnName, dbMapTool.srcSysVerComboRS, dbMapTool.srcSysVerComboIA );
else if ( TAB_NAME_COL_NAME.equals( columnName)) {
addComboEditor( table, columnName, dbMapTool.srcTabNameComboRS, dbMapTool.srcTabNameComboIA );
else if ( COL_NAME_COL_NAME.equals( columnName)) {
addComboEditor( table, columnName, dbMapTool.srcColNameComboRS, dbMapTool.srcColNameComboIA );
void addComboEditor
( JTable table
, String colName
, ScrollableRowsetAccess rs
, ImmediateAccess ia
// note must get TableColumn afresh each time because when grid is reset
// on rollback the Table ColumnModel is rebuilt
TableColumn tc = table.getColumn(colName);
debug("add JComboBox as editor");
Vector v = new Vector();
try {
// Retrieve and store values for JComboBox using the InfoBus API.
boolean moreRows = rs.first();
while (moreRows) {
// stores value in vector
v.addElement(new String(ia.getValueAsString()));
moreRows = rs.next();
// make column Cell Editor a JComboBox with retrieved values
tc.setCellEditor(new DefaultCellEditor(new JComboBox(v)));
catch (Exception e0) {
e0.printStackTrace();
void show_nav_info() {
debug( "Focused Data Item = " + navMgr.getFocusedDataItemName() );
debug( "Target Data Item = " + navMgr.getTargetDataItemName() );
void debug(String s)
System.out.println(s);
void gridControlMapRuleSrcCols_navigatedOutColumn(NavigatedEvent e) {
debug("gridControlMapRuleSrcCols_navigatedOutColumn");
show_nav_info();
String dataItemName = navMgr.getFocusedDataItemName();
String columnName = dataItemName.substring(dataItemName.lastIndexOf("/")+1);
JTable table = gridControlMapRuleSrcCols.getTable();
if ( SYS_NAME_COL_NAME.equals( columnName)) {
removeComboEditor(table, columnName);
else if ( SYS_VER_COL_NAME.equals( columnName)) {
removeComboEditor( table, columnName );
else if ( TAB_NAME_COL_NAME.equals( columnName)) {
removeComboEditor( table, columnName );
else if ( COL_NAME_COL_NAME.equals( columnName)) {
removeComboEditor( table, columnName );
void removeComboEditor ( JTable table, String colName ) {
debug("remove JComboBox as editor");
TableColumn tc = table.getColumn(colName);
tc.setCellEditor(null);
4. Note that when navigated event code is added through the designer, jbInit() is
amended to add a Navigated Listener to the grid
gridControlMapRuleSrcCols.addNavigatedListener(new oracle.dacf.control.NavigatedAdapter() {
public void navigatedInColumn(NavigatedEvent e) {
gridControlMapRuleSrcCols_navigatedInColumn(e);
public void navigatedOutColumn(NavigatedEvent e) {
gridControlMapRuleSrcCols_navigatedOutColumn(e);
null -
OTN TEAM Please respond-matrix reports row limitation(very urgent)
Hi ,
using with matrix reports for delimited reports what's the maxmimum row limitation for text and excel?
thanks in advance.
please advice asap.
thx in advance.See response in OTN TEAM Please respond-matrix reports row limitation(very urgent)
-
To JDev Team : SQL generated, Struts, BC4J Admin, ...
Hi,
I've followed the Tutorial 'Generating a Struts-based JSP Application for an
Application Module', where I'm working with only one table.
When I run the 'main.html', on the left side ( navigator ), there are 'Browse' and 'Query' options.
Every time I click on 'Browse', I always have this error :
Error Message: JBO-26044: Error while getting estimated row count for view object TimesheetView1, statement
SELECT count(1) FROM (SELECT Timesheet.ts_id, Timesheet.ts_user, Timesheet.ts_code, Timesheet.ts_date, Timesheet.ts_hour
FROM timesheet Timesheet) ESTCOUNT
My config are :
* Win2K
* JAVA_HOME set to j2sdk1.4.1_01
* mySQL 3.23.49 with JDBC driver mysql-connector-java-2.0.14-bin.jar
* I use ultraDevHack=true as parameter within the URL
Even with 'ultraDevHack=true' parameter, the subselect still not working.
I've seen in the forum that JDev Team have tried with that parameter, and it worked,
but it didn't mention with which version of mySQL and which JDBC driver.
I would like to modify the above SQL into a simpler one 'SELECT COUNT(*) FROM timesheet'.
Anybody know how ?
The View Object Wizard didn't help me at all for the above SQL.
In fact I would like to fully controled, modified, or cuztomised all SQL generated.
Back to main.html, the header contains two buttons 'BC4J Admin' and 'Help'.
When I click on 'BC4J Admin', I have this :
500 Internal Server Error
OracleJSP: oracle.jsp.provider.JspCompileException:
Errors compiling:C:\usr\J2EE\JDEV\system9.0.3.1035\oc4j-config\application-deployments\bc4j\webapp\persistence\_pages\_wm\_bc4j.java
error: Invalid class file format in C:\j2sdk1.4.1_01\jre\lib\rt.jar(java/lang/Object.class). The major.minor version '48.0' is too recent for this tool to understand.
C:\usr\J2EE\JDEV\system9.0.3.1035\oc4j-config\application-deployments\bc4j\webapp\persistence\_pages\_wm\_bc4j.java:0: Class java.lang.Object not found in class com.orionserver.http.OrionHttpJspPage.
package _wm;
^
2 errors
Why is that ?
Out of scope, sometimes it's very slow accessing this forum ( 'Connection timed out' or 'The specified network name is no longer available' ...).
Any of you have the same problem ?
Is it possible to put some criterias within the Search, i.e. Sort by Date ?
Any help would be appreciated.Hi,
I've followed the Tutorial 'Generating a Struts-based JSP Application for an
Application Module', where I'm working with only one table.
When I run the 'main.html', on the left side ( navigator ), there are 'Browse' and 'Query' options.
Every time I click on 'Browse', I always have this error :
Error Message: JBO-26044: Error while getting estimated row count for view object TimesheetView1, statement
SELECT count(1) FROM (SELECT Timesheet.ts_id, Timesheet.ts_user, Timesheet.ts_code, Timesheet.ts_date, Timesheet.ts_hour
FROM timesheet Timesheet) ESTCOUNT
My config are :
* Win2K
* JAVA_HOME set to j2sdk1.4.1_01
* mySQL 3.23.49 with JDBC driver mysql-connector-java-2.0.14-bin.jar
* I use ultraDevHack=true as parameter within the URL
Even with 'ultraDevHack=true' parameter, the subselect still not working.
I've seen in the forum that JDev Team have tried with that parameter, and it worked,
but it didn't mention with which version of mySQL and which JDBC driver.
I would like to modify the above SQL into a simpler one 'SELECT COUNT(*) FROM timesheet'.
Anybody know how ?
The View Object Wizard didn't help me at all for the above SQL.
In fact I would like to fully controled, modified, or cuztomised all SQL generated.
Back to main.html, the header contains two buttons 'BC4J Admin' and 'Help'.
When I click on 'BC4J Admin', I have this :
500 Internal Server Error
OracleJSP: oracle.jsp.provider.JspCompileException:
Errors compiling:C:\usr\J2EE\JDEV\system9.0.3.1035\oc4j-config\application-deployments\bc4j\webapp\persistence\_pages\_wm\_bc4j.java
error: Invalid class file format in C:\j2sdk1.4.1_01\jre\lib\rt.jar(java/lang/Object.class). The major.minor version '48.0' is too recent for this tool to understand.
C:\usr\J2EE\JDEV\system9.0.3.1035\oc4j-config\application-deployments\bc4j\webapp\persistence\_pages\_wm\_bc4j.java:0: Class java.lang.Object not found in class com.orionserver.http.OrionHttpJspPage.
package _wm;
^
2 errors
Why is that ?
Out of scope, sometimes it's very slow accessing this forum ( 'Connection timed out' or 'The specified network name is no longer available' ...).
Any of you have the same problem ?
Is it possible to put some criterias within the Search, i.e. Sort by Date ?
Any help would be appreciated. -
TO JDEV TEAM: JBO-28020/JBO-28006 ERRORS
Hi,
I deploy a BC4J application (made with Jdev official) on an OC4J container 9.0.2. the application use a 9i data base.
frequently, when we try to insert or update rows in viewObject, we have the following error :
Application Error
Return
Error Message: JBO-28020: Erreur de passivation pour l'objet collection GrandeurView, ID de noeud 45
Error Message: JBO-28006: Criation impossible de la table de persistance PS_Bdcorrel_BC4JModule_1
oracle.jbo.PCollException: JBO-28020: Erreur de passivation pour l'objet collection GrandeurView, ID de noeud 45
<>
## Detail 0 ##
oracle.jbo.PCollException: JBO-28006: Criation impossible de la table de persistance PS_Bdcorrel_BC4JModule_1
<>
## Detail 0 ##
java.sql.SQLException: ORA-00955: Ce nom d'objet existe dij`
<>
This is a pressing issue, and I'd need an answer asap. Could anyone from the JDEV team please help me on this?
Thanks a lot!Stephane:
Could you send me the entire stack trace?
It would also help if you can translate some of the "important" exception messages into English for me (sorry).
Thanks.
Sung -
JDev web resources besides OTN & JDev team blogs?
Gang,
Besides OTN, the OTN forums and the Oracle JDeveloper development team blogs, has anybody found any other JDeveloper resources on the 'Net?
I know Paul Dorsey, part author of the "Oracle JDeveloper 10g Handbook" has a website and a few presentations somewhere that was okay..... but are there any other rich sites I'm not visiting?... Or is Oracle it?
It would be nice to know what others have found.
Cheerio,
CM.Shay, I'd like to stick my foot in (my mouth?) too with my opinion.
(Apologies but I didnât have a lot of time to draft this message so please ignore any typos and poor grammar)
Let me start by saying I'm an Oracle programmer with 10 years experience, having coded using Designer, (-J)Headstart, Forms, Reports, database modelling, PLSQL everywhere you can possible stick it.... etc etc etc. I infrequently teach week courses on Forms, SQL, PLSQL etc. My point being is I'm no monkey in appreciating technology. Iâm not brilliant but you can call me Mr Average Programmer â if it makes sense Iâll work out how to use it.
I'm also on the Australian Oracle User Group committee, have been for several years, have meet and talked to several other senior consultants who have used JDeveloper who have extensive Oracle experience.
And the general consensus is that the JDeveloper documentation is of poor quality.
Now Iâd like to substantiate my claims by giving evidence rather than just expressing an opinion. For a minor documentation bug Iâve recently raised, see TAR 4212035.995 bug 4058863. Iâve found more documentation errors, but after a while I always become worn down through the tedious TAR process, and just prey it will be improved in the next release.
This bug, as youâd appreciate is a rather minor issue, but boy do I waste a lot of time working out how to use JDeveloper without the correct and complete documentation. I spend time having to search the OTN examples, forums etc, then posting to the Forums and Oracle Support for help. So much for âproductivityâ with choice.
As another example, do a search in JDeveloper for âuixStateâ. Most UIX LOVs are useless without it in the partialtargets elementâ¦.. but itâs another undocumented feature that I only found out about via the forums. Another, the javaType field within the UIX <invoke> tag: exactly what data types are allowed? If Iâm not mistaken (I might be, Iâm still learning my way around Java), âstringâ is not a valid Java typeâ¦. isnât it âStringâ? See my confusion, and the documentation doesnât say much at all. Does this mean if I return a âNumberâ I should use ânumberâ.
Would you like to get away from UIX documentation errors? Well try bringing up the help for the âPooling and Scalabilityâ tab, under the Configurations sub-menu option for an Application Module (the help page is entitled âConfiguration Manager â Pooling and Scalabilityâ). See all those âtextâ comments and âto be included in future releaseâ comments. Not much use are they?
Moving on to your question about âhow-toâs weâd like to see is a relevant one. I can only talk from my personal experience, but what Iâd like to see relevant to my current project is (or would have been useful in the past):
1) UIX lov â returning multiple fields.
2) UIX lov â using lovUpdate event with multiple LOVs on the screen.
3) UIX lov â a complete example that allows the user to âtypeâ in a value to a <messageLovInput>, validates the entry against a database table via some exposed AM/VO method, clears and displays the LOV if the user enters an invalid value.
4) UIX trees â proper discussion on setting up hierarchical VOs and associations.
5) UIX trees â example of programming insert and delete node functionality, with the example showing how to write the values through to the database.
6) UIX hgrids â example derived from database, where the user can insert/delete values through to the database.
Youâll notice Iâm focusing on the UIX technology. Simply put itâs what weâre using at my current site.
2 other issues Iâd like to point out too though. Notice the focus on LOVs? Well Iâm an ex-Forms programmer who knows the power of the Forms LOV control. Iâve been confused, annoyed then resigned to the fact that youâve got a hell of a lot to do yourself with JDeveloper LOVs, unlike Oracle Forms LOVs where so much functionality is built into the control. In return you might argue âthis is JDeveloper Chris, not Oracle Formsâ. Youâre right of course, and I can accept that I have to learn the JDev way of doing things. But, and âbigâ but here, there are no detailed how-tos comparing the features of Oracle Forms LOVs and how to do the same thing in JDeveloper. And I mean complete examples.... which check values against the database, pop-up the LOV as described above list.
So in your how-tos, try to think about what Forms programmers can do, and show how you would do it in JDeveloper. We need more than the simple examples because weâre learning your tool, weâre not experts in JDeveloper, and we canât read your mind when you give (what I consider to be) overly simple examples where the author assumes given a little headstart that everyone else will be able to run with it. It took me ages to work out how to return multiple fields from a LOV (and my implementation probably s*cks).... call me stupid, but a complete how-to would have saved me lots of time.... and other people too (ie. Forms programmers) because I see the same questions appear on OTN again and again.
To reiterate, think about the productive functionality Forms provides you, and provide how-tos on what to do in JDeveloper. Simple really.
The 2nd point Iâd like to make is you need to give complete examples. To give an example of a poor-example, recently Steven Muench (or was it Jones Jacob, sorry I forget) published a âhow-toâ on his blog on populating a UIX tree. What was missing? Firstly documentation (though a promise of some in the future was given). Secondly how to allow the user to add/delete entries from the tree. Thirdly how to add/delete those entries from the underlying table. Fourthly dealing with updating the underlying iterators and web page given the users actions. And so on....
I can hear you asking âwhat? You want us to do everything for you!?â No, but more complete examples would be great. Without a doubt in my opinion, the best example of this would be the âBuilding Oracle ADF Applications: A Comprehensive Workshopâ tutorial. Obviously a lot of effort was put into that tutorial, but if all tutorials were written with this level of detail, I donât think Iâd be writing this post, the JDeveloper team wouldnât be spending so much time answering queries on the Forums, and the Oracle Support team could spend more time doing training.
Hear me out on my next comment â Iâm not Oracle bashing! Just making a point.
With regards your comments about writing blogs, and increasing the JDeveloper web-community, thinking about it logically I just canât see it happening. The basic problem is youâre âOracle Corporationâ (aka the Other Microsoft). Youâre not an Open Source **community** group. So people donât have much reason to write blogs to the benefit of essentially Oracle.... unless they can make money out of it. They donât get the kudos or just the good vibes of writing for the effort of everybody (essentially why Open Source exists â for the benefit of all â communism, power to the people, etc). This leads onto my second point. The people who work with Oracle tools, in complex-detail, besides Oracleâs own staff, are being paid far too much money working with your tools to waste time working on blogs. Iâd love to write one, but time evades me and Iâd rather make money out of the exercise. (I gotta feed my kids somehow - or maybe have some, either one ;)
This puts you, the JDeveloper team in an interesting position. I know youâre really keen to get your tool used outside Oracle. Why do I think this? Basically your implementation of the Struts diagram tool and huge focus on JSF (aka ADF Faces) â I havenât seen the other IDEs provide such functionality yet and I think youâve tried very hard to provide these new features to beat the competition. But, unlike the Open Source efforts like Eclipse and Net Beans (etc), as I just mentioned, I donât think youâll ever get much support from the JDeveloper community in assisting your documentation efforts with this tool. So what have you got to do to increase market share besides great new features like the Struts diagrammer??....
Well I hopeâs itâs obvious after typing all of this......as there is little activity in the Internet regarding your product and how to use it besides OTN, and given complaints about your poor level of documentation, this means you should focus heavily on documentation in each release. Make sure itâs up to date. Make sure itâs complete. Review it all each time. Make plans for how it could be improved and expanded.... donât just focus on the tool.
I think I can hear you screaming âbut we do you bl**dy idi*t!â But Iâll answer in turn.... the perception is you donât, and the evidence in front of me shows you havenât..... so my conclusion is I think valid.
Also let me place a warning that the risk is if you donât provide better documentation, my peer-consultants will not recommend JDeveloper. I know of 2 specifically who will have a very hard look at JDeveloper a 2nd time before recommending it to a client, because of their experience with the tool â in particular there frustration with the poor documentation. If theyâre making such decisions, I bet others are too.
With all the above in mind please note my goal of this whole post, and I know Iâve posted a lot, is not to be exceptionally critical of JDeveloper and the JDeveloper team. However I thought it was worthwhile writing a comprehensive message to the forum for you to look at... rather than the 1 or 2 liners you usually get.
Gee, I should have started a blog and posted this entry I think.
Iâll finish this post by saying that Iâm thankful that the JDev team monitors this forum and puts in a good effort in supporting us, your clients, saving us a TAR or 2 and probably going bald.
Regards,
CM.
PS. If youâd like to contact me for further information, you can find my current email address associated with the TAR mentioned above.
Also please note the âstandard disclaimerâ, that none of the above is my employerâs or clientsâ opinions; it is all totally of my own opinion. -
Jdev Team - Frustrated with Simple UIX-XML test case
Why can't I get a simple UIX-XML test case to run? Better still why can't I get a response as to why it won't run? This is my second attempt at a post as the other was just left hanging. Iwas asked for more info, I provided it and that ended that.
Again, I created a workspace. Used the scott schema and created a project with a set of VO's (and took the ALL defaults). I have created a UIX-JSP and BC4J-JSP projects that both run fine (taking all the defaults). In that same workspace without any modifications to the VO's I created a UIX-XML project. The main menu runs fine. None of the forms will run. I get the following error if I choose ANY form from the menu or I get the same error if I just run any form from Jdeveloper (except main.uix of course):
Servlet error: Renderer failed: java.lang.ArrayIndexOutOfBoundsException: -10
What is happening? Why cant I get this to run. Is this a failed technology? I can't seem to find any working UIX samples.
TIA,
Ed.
PS. A footnote: * It seems if you don't get an answer from the Jdev team inside of two days your post is toast (unless it's a rant in which case everyone seems to jump on the band wagon). :-) :-) :-) ;-)Hmmmmm...... did I mention I was on Internet Explorer 6.0.2600.0000 ? Probably does not matter.
Also, although I loaded the full 9i Developer suite, I also loaded (in a seperate directory), Sun's J2DKSE 1.3.1_03 and J2DKEE 1.3.1 and have the following local environment variables set:
JAVA_HOME = d:\java\j2sdk
JDK_HOME = d:\java\j2sdk
J2EE_HOME = d:\java\j2sdkee
JDEV_HOME = d:\oracle\9iDS\jdev
Are any of these redundant or are they clobbering something for UIX-XML?
TIA,
Ed. -
Happy Christmas and thank you for JDEV Team for great job this year
We got one of the best development from Oracle with JDEV and a TP3 for Christmas ... even i will go skiing too and may be sailing a little bit depending on weather, i will for sure go in depth into TP3 these holidays.
Thank you
Have nice holidays
GreetingsThanks alot for this gift Oracle Jdev Team!
Greetings from Spain!
Westh -
To thank from JDev team.
Thanks all JDev team, which improved
findDialog to accept Date conditions in 3.2.
(It was not acceptable in 3.1)
I ever trust and appreciate and your effort.
AliMake a connection named "Oracle" in JDeveloper and when you deploy "jdbc/OracleDS" will be there. We make 1 DS per each JDeveloper connection defined.
The formula is "jdbc/" + ConnectionName + "DS"
(same applies to hrDS)
Hope this helps,
Rob -
To JDev-Team: New Release 9.03
Hi JDev-Team,
since the current release 9.02 is so buggy ...
when will there be a new (and better) release 9.03 ?
Thanks
VolkerThanks for the interest. We are still working on the 9.0.3 release, so I don't have a firm date to give you on it yet. As soon as we know something, I'll be sure to post it here on the forums, and probably on the OTN JDeveloper page.
Thanks again,
Rob -
Queation for JDEV team : BC4J Next Release Date?
JDEVELOPER TEAM
When will be your next BC4J release date ( about fixing bugs)?
nullI presume you are talking about post JDev 3.2...
The next release will be JDeveloper 9i
and we do not have a firm date as yet.
We are expecting production to be roughly
mid 2001 with a Beta available a few
months beforehand.
As mentioned by Juan, we'd be interested to
know what you are looking for. As we are in
the thick of 9i development, perhaps you
can help us focus in certain areas by giving
us input. -
JDev team: is there a workaround for bug1482140?
I would like to know if anybody has figured out a workaround for bug 1482140 which is listed in the JDeveloper 3.2.2 readme. It states that it is not possible to deploy EJBs to 8.1.7 running on Solaris. It also indicates that it should have been fixed in 8.1.7.1 but the list of fixed bugs in 8.1.7.1 does not include this one. When is this going to be fixed? Why is there no status on it in Metalink? Is there something clever I can do similar to the workaround given for deploying BC4J?
Thanks for any help,
MattUh, dude? What are you talking about? I've seen the workaround for the aurora_client.jar bit but I thought it only applied to BC4J as it says in the HOWTO under the JDEV docs. As for the 8.1.7.1b patch, this is the first I've heard of it. It doesn't help that searching for this bug under Metalink doesn't produce any results. The way I see it is that I should be able to enter the Bug number in Metalink, and it tells me what patchset the bug is fixed in. That mechanism seems to have broken down here. oh well, I have no problem with having to be told something twice, I'm not perfect. At least I have the stones to post messages with my name and email address Mr d. cheers.
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by d:
Matt's been told about both of those options previously and he does not understand !!<HR></BLOCKQUOTE>
null -
JDBC/SQLJ Team - Please respond - invalid column type error
Hi, I have posted several messages regarding problems using SQL/J to call out a stored packaged function that returns a ref cursor, but haven't gotten one response. I have yet a new problem with it. JDBC team, please acknowledge!
I change the way I obtain a connection to the database from using the Oracle.connect along with a properties file, to now using a DataSource connection pool. As a result, I am constantly getting a SQLException: Invalid column type error. If I change the call to the stored function to a query in the SQLJ code, it's fine. What's going on??
A previous message I wrote stated I was constantly getting a "closed statement" error when I tried to call the next method of the iterator. I corrected this by removing the finally clause in the generated JDBC code that released the execution context.
Again, the environment is JDK1.2.2, SQLJ 8.1.6 SDK, JDBC 8.1.6 thin, all on NT.
Thanks
DavidI am getting the same error message - Invalid Column Type. I am creating a Default Context by calling Oracle.getConnection(connection) passing in an instance of my own connection class that basically delegates to the OracleConnection. We wrapped the Connection so that we could trap and recover from lost database connections.
My environment is Solaris 2.6, Oracle 7.3.4 with Sqlj 8.0.5.
Thanks!
[email protected]
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by David Christopher ([email protected]):
Hi, I have posted several messages regarding problems using SQL/J to call out a stored packaged function that returns a ref cursor, but haven't gotten one response. I have yet a new problem with it. JDBC team, please acknowledge!
I change the way I obtain a connection to the database from using the Oracle.connect along with a properties file, to now using a DataSource connection pool. As a result, I am constantly getting a SQLException: Invalid column type error. If I change the call to the stored function to a query in the SQLJ code, it's fine. What's going on??
A previous message I wrote stated I was constantly getting a "closed statement" error when I tried to call the next method of the iterator. I corrected this by removing the finally clause in the generated JDBC code that released the execution context.
Again, the environment is JDK1.2.2, SQLJ 8.1.6 SDK, JDBC 8.1.6 thin, all on NT.
Thanks
David<HR></BLOCKQUOTE>
null
Maybe you are looking for
-
Unable to use Mac OS X Install DVD
My iMac came with Mac OS X Install DVD, but since I have upgraded to Mountain Lion through the Apple App Store and have made a bootable USB. So after formatting my HDD I'm unable to boot from the USB or the DVD. When prompt to select "where you want
-
How does my Iphone and Nike + work?
Hi there, i'm using for a week the Nike+ sensor, but i've asked myself how does they communicate and i doesn't know. Maybe you know the answer, please let me know?
-
Internal Users cannot connect to SSO
We are in the process of implementing Oracle Application Server SSO with our custom Forms application using Oracle database -- all 10.2.0.1 version. We are using JInitiator 1.3.1.22. Our development team has been working offsite connecting via a VPN
-
Set the state of an interactive button
I would like to use interactiev buttons in my document, but set the state on each page so it seems like it is selected (similar to a web page). Is there a way to do this easily? I cannot seem to get it to stic when I export as a pdf. On screen it loo
-
Exceptions while creating ABAP client Proxy
Hi Experts, I tried to create a client proxy on the CRM system for a web service URL (where the WSDL exists), in the transaction SE80. When I tried creating this, i got exception as follows. Exception occured in communication framework:error in HTTP