JDeveloper problem with CMP
Using JDeveloper 903, I receive the following error when
attempting to run a container-managed EJB:
SQL error: Io exception: The Network Adapter could not establish the connection
However, the connection is fine according to the Connection wizard: clicking "Test Connection" gives "success!".
I can also view database tables through the System Navigator Connection view. The problem seems to be the embedded oc4j server's inability to open a database connection for CMP.
How to fix this?
-T. Sorgo
[email protected]
Hi Yuval,
Yes, this is standard default behaviour for OC4J!
Let me guess -- you're using the JDeveloper deployment wizard, right?
Bad move, buddy! Gee, wouldn't it be great if the JDeveloper wizards
actually worked properly (sigh).
Easiest thing to do is to edit the "orion-ejb-jar.xml" file immediately
after deployment. Look for the "entity-deployment" element, and change
the "table" attribute so that it equals the correct name of your table.
Of-course, personally, I steer well clear of the wizards, because I
don't know what they're doing but I'm sure it's not something that I
want them to do.
I also suggest you check out the documentation from either:
http://www.atlassian.com
or
http://www.orionserver.com
Good Luck,
Avi.
Similar Messages
-
Oracle 8.1.7 driver limit causes problems with CMP
The information below is from Oracle's site and has been noted by a few
people on various message groups. We had upgraded to 8.1.7 but hadn't put
the latest classes12.zip (June 2001) in our classpath. When we do, we get
the following error from the driver/generated code. We believe this is
because we are hitting the limit cited below. I don't know why the Oracle
driver has this limit, but since WL generates this code for the EB, I don't
see an easy way for us to avoid it.
Anyone have any comments on this? Is my interpretation of the stacktrace
correct? If we go back to the old classes12.zip (June 2000) then we don't
have this problem. But in addition to wanting to run the matching zip file
with the version of the DB, we also want to use some of the functionality in
the 8.1.7 zip. Does BEA have a workaround for CMP?
java.rmi.UnexpectedException: Unexpected exception in
sync.server.system.SystemSessionDataBean.setSessionData():
java.sql.SQLException: ORA-01483: invalid length for DATE or NUMBER bind
variable
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:169)
at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:208)
at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:543)
at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1405)
at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:822)
at
oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:1610
at
oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:1535)
at
oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java
:2053)
at
oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedState
ment.java:398)
at
weblogic.jdbc20.pool.PreparedStatement.executeUpdate(PreparedStatement.java:
47)
at
sync.server.system.SystemSessionDataPSWebLogic_CMP_RDBMS.update(SystemSessio
nDataPSWebLogic_CMP_RDBMS.java:318)
at
sync.server.system.SystemSessionDataPSWebLogic_CMP_RDBMS.store(SystemSession
DataPSWebLogic_CMP_RDBMS.java:284)
at weblogic.ejb.internal.EntityEJBContext.store(EntityEJBContext.java:192)
at
weblogic.ejb.internal.EntityEJBContext.beforeCompletion(EntityEJBContext.jav
a:227)
at
weblogic.ejb.internal.StatefulEJBObject.postInvokeNoTx(StatefulEJBObject.jav
a:355)
at weblogic.ejb.internal.BaseEJBObject.postInvoke(BaseEJBObject.java:865)
Using Streams to Avoid Limits on setBytes() and setString()
There is a limit on the maximum size of the array which can be bound using
the PreparedStatement class setBytes() method, and on the size of the string
which can be bound using the setString() method.
Above the limits, which depend on the version of the server you use, you
should use setBinaryStream() or setCharacterStream() instead.
When connecting to an Oracle8 database, the limit for setBytes() is 2000
bytes (the maximum size of a RAW in Oracle8) and the limit for setString()
is 4000 bytes (the maximum size of a VARCHAR2 in Oracle8).
When connecting to an Oracle7 database, the limit for setBytes() is 255
bytes (the maximum size of a RAW in Oracle7) and the limit for setString()
is 2000 bytes (the maximum size of a VARCHAR2 in Oracle7).
The 8.1.6 Oracle JDBC drivers may not raise an error if you exceed the limit
when using setBytes() or setString(), but you may receive the following
error:
ORA-17070: Data size bigger than max size for this type
Future versions of the Oracle drivers will raise an error if the length
exceeds these limits.Joe Herbers wrote:
>
I added some debug output to verify that this problem is definitely caused
by the WL generated code/Oracle driver. To do this, I used
the -keepgenerated code on ejbc. Then I modified the generated code to
print the length of the byte array before calling setBytes. I compiled the
class and put an updated version in my bean jar.
When I run our test suite, I see hundreds of calls to setBytes with sizes
such as 315, 368, 1988, 2020. And then occasionally there are sizes of
41932 or 19409. These larger sizes are always followed by the ORA-01483
exceptions.
This appears to be certain confirmation that the problem is caused by the
8.1.7 driver's enforcement of the 4k limit on the methods that the
WL-generated code is using to map our Java byte[] to our Long Raw/BLOB field
in Oracle. Any suggestions for workarounds?Actually, it indicates the driver's being caught by the limitation that
Oracle itself imposes with setBytes(). This is a known issue I believe, and
you should ask support for a patch to ejbc that generates calls to setBinaryStream()
rather than setBytes().
Joe Weinstein
>
"Joe Herbers" <[email protected]> wrote in message
news:[email protected]...
We use WL 5.1, SP10. I've noticed that sp11 is now out, but it doesn'tseem
to have any fixes for this problem (it mentions Oracle 8.1.6, but not8.1.7,
which seems to be the release in which Oracle started enforcing thislimit).
We're kind of stuck at the moment, I'm surprised no one else hasencountered
this problem with WebLogic (I have seen postings elsewhere about it with
other AppServers)
"Slava Imeshev" <[email protected]> wrote in message
news:[email protected]...
Hi Joe,
From your CMP DD it's clear that you use WL 5.1. Which service pack
do you use?
AFAIR this problem was fixed in WL 6.1, though I'm not sure about
5.1. Could you use ejbc with -keepgenerated option and look at
SystemSessionDataPSWebLogic_CMP_RDBMS.java, particularly
how bind variable related to you LONG RAW? Is setBytes used? Or
it's something like setBinaryStream?
Regards,
Slava Imeshev
"Joe Herbers" <[email protected]> wrote in message
news:[email protected]...
The table has only three fields: two IDs (Number(18)) and a Long Raw
that
we
are storing a Hashtable in. The field seems to be filled fine most of
the
time. With the old driver, it always works. As soon as we switch thenew
driver in, certain operations fail consistently. I haven't verifiedthat
the size is indeed > 4k in these cases, but our error matches whatothers
have seen. Here's the CMP DD but I doubt that helps...
<weblogic-rdbms-bean>
<pool-name>oracle</pool-name>
<table-name>scc_sm_sys_sess_data</table-name>
<attribute-map>
<object-link>
<bean-field>mlSystemSessionDataID</bean-field>
<dbms-column>sys_sess_data_id</dbms-column>
</object-link>
<object-link>
<bean-field>mlSystemSessionID</bean-field>
<dbms-column>sys_sess_id</dbms-column>
</object-link>
<object-link>
<bean-field>mBSessionData</bean-field>
<dbms-column>sys_sess_data</dbms-column>
</object-link>
"Slava Imeshev" <[email protected]> wrote in message
news:[email protected]...
Hi Joe,
This limit defines limit written to oracle strings, raws, blobs and
clobs
when setBytes is used. It has nothing to do with the exception
you're
getting.
Could you show us your CMP deployment descriptor(s)?
Regards,
Slava Imeshev
"Joe Herbers" <[email protected]> wrote in message
news:[email protected]...
The information below is from Oracle's site and has been noted by
a
few
people on various message groups. We had upgraded to 8.1.7 but
hadn't
put
the latest classes12.zip (June 2001) in our classpath. When we
do,
we
get
the following error from the driver/generated code. We believe th
is
is
because we are hitting the limit cited below. I don't know why
the
Oracle
driver has this limit, but since WL generates this code for the
EB,
I
don't
see an easy way for us to avoid it.
Anyone have any comments on this? Is my interpretation of the
stacktrace
correct? If we go back to the old classes12.zip (June 2000) then
we
don't
have this problem. But in addition to wanting to run the matching
zip
file
with the version of the DB, we also want to use some of the
functionality
in
the 8.1.7 zip. Does BEA have a workaround for CMP?
java.rmi.UnexpectedException: Unexpected exception in
sync.server.system.SystemSessionDataBean.setSessionData():
java.sql.SQLException: ORA-01483: invalid length for DATE or
NUMBER
bind
variable
at
oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:169)
at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:208)
at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:543)
at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1405)
atoracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:822)
at
oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:1610
at
oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:1535)
at
oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java
:2053)
at
oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedState
ment.java:398)
at
weblogic.jdbc20.pool.PreparedStatement.executeUpdate(PreparedStatement.java:
47)
at
sync.server.system.SystemSessionDataPSWebLogic_CMP_RDBMS.update(SystemSessio
nDataPSWebLogic_CMP_RDBMS.java:318)
at
sync.server.system.SystemSessionDataPSWebLogic_CMP_RDBMS.store(SystemSession
DataPSWebLogic_CMP_RDBMS.java:284)
atweblogic.ejb.internal.EntityEJBContext.store(EntityEJBContext.java:192)
at
weblogic.ejb.internal.EntityEJBContext.beforeCompletion(EntityEJBContext.jav
a:227)
at
weblogic.ejb.internal.StatefulEJBObject.postInvokeNoTx(StatefulEJBObject.jav
a:355)
atweblogic.ejb.internal.BaseEJBObject.postInvoke(BaseEJBObject.java:865)
Using Streams to Avoid Limits on setBytes() and setString()
There is a limit on the maximum size of the array which can be
bound
using
the PreparedStatement class setBytes() method, and on the size of
the
string
which can be bound using the setString() method.
Above the limits, which depend on the version of the server you
use,
you
should use setBinaryStream() or setCharacterStream() instead.
When connecting to an Oracle8 database, the limit for setBytes()
is
2000
bytes (the maximum size of a RAW in Oracle8) and the limit forsetString()
is 4000 bytes (the maximum size of a VARCHAR2 in Oracle8).
When connecting to an Oracle7 database, the limit for setBytes()
is
255
bytes (the maximum size of a RAW in Oracle7) and the limit forsetString()
is 2000 bytes (the maximum size of a VARCHAR2 in Oracle7).
The 8.1.6 Oracle JDBC drivers may not raise an error if you exceed
the
limit
when using setBytes() or setString(), but you may receive the
following
error:
ORA-17070: Data size bigger than max size for this type
Future versions of the Oracle drivers will raise an error if thelength
exceeds these limits.
B.E.A. is now hiring! (12/14/01) If interested send a resume to [email protected]
DIRECTOR OF PRODUCT PLANS AND STRATEGY San Francisco, CA
E-SALES BUSINESS DEVELOPMENT REPRESENTATIVE Dallas, TX
SOFTWARE ENGINEER (DBA) Liberty Corner, NJ
SENIOR WEB DEVELOPER San Jose, CA
SOFTWARE ENGINEER (ALL LEVELS), CARY, NORTH CAROLINA San Jose, CA
SR. PRODUCT MANAGER Bellevue, WA
SR. WEB DESIGNER San Jose, CA
Channel Marketing Manager - EMEA Region London, GBR
DIRECTOR OF MARKETING STRATEGY, APPLICATION SERVERS San Jose, CA
SENIOR SOFTWARE ENGINEER (PLATFORM) San Jose, CA
E-COMMERCE INTEGRATION ARCHITECT San Jose, CA
QUALITY ASSURANCE ENGINEER Redmond, WA
Services Development Manager (Business Development Manager - Services) Paris, FRA; Munich, DEU
SENIOR SOFTWARE ENGINEER (PLATFORM) Redmond, WA
E-Marketing Programs Specialist EMEA London, GBR
BUSINESS DEVELOPMENT DIRECTOR - E COMMERCE INTEGRATION San Jose, CA
MANAGER, E-SALES Plano, TX -
Hi All,
I'm running JDev 3.1 on Win2000, and I'm having a bit of a problem with redraws of the GUI.
When I click anywhere on the JDev GUI and trigger and action that involves a GUI redraw the little piece of the GUI under the mouse pointer graphic is not redrawn. It does not effect the functionality but it is annoying and will make the other developers I work with less keen about using it.
Does anyone else have this problem? Is it a JDev or Win2k problem?
Cheers
dProbably an issue with the JRE used by JDev. on Win 2k. Have you tried 3.2x? I haven't seen that type of issue with it on Win 2k.
-
JDeveloper problem with actions
Hello
I'm working on my first struts application and I have any problem with actions(I think).
When I run the application, I don't see any data from DB on my page but when I click any of these 4 buttons, then the data load from DB.....Can anybody help me....I want to see my data when the page loads for the first time, not after the button click. Thanks a lot.
(The buttons shows the rows of the table....first,previous,next,last)
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<html:form action="/zuctzaz.do" >
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<input type="hidden" name="<c:out value='${bindings.statetokenid}'/>" value="<c:out value='${bindings.statetoken}'/>" >
<tr>
<td>
<table>
<tr>
<td>
<table>
<tr>
<td><input type="submit" name="event_First" value="First" STYLE="width:35px" <c:out value="${bindings.First.enabledString}" /> ></td>
<td><input type="submit" name="event_Previous" value="Prev" STYLE="width:35px" <c:out value="${bindings.Previous.enabledString}" /> ></td>
<td><input type="submit" name="event_Next" value="Next" STYLE="width:35px" <c:out value="${bindings.Next.enabledString}" /> ></td>
<td><input type="submit" name="event_Last" value="Last" STYLE="width:35px" <c:out value="${bindings.Last.enabledString}" /> ></td>
</tr>
</table>
</td>
<td>
<table>
<tr>
<td colspan="3"><strong>Z�čtovac� z�znam</strong></td>
</tr>
<tr>
<td>Date</td>
<td><input type="text" name="textfield1" value="<c:out value="${bindings['datZuct']}"/>"></td>
<td><c:out value="${bindings['cisPdo']}"/> AND <c:out value="${bindings['zucZazn']}"/></td>
</tr>
<tr>
<td>Place</td>
<td colspan="2">Brusel</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</html:form>Hy Again!
I forgot to say one more thing that could be relevant:
If i add any action from the struts-config.xml in the provider for the <defaultAction> of the portlet it works correctly.
So the actions work correctly, the problem is that when sending back to the oracle portal the request with the new action, there is no response.
Pls help!
Thanx, and best regards!
Ado -
Oc4j r2: Problem with CMP deployment from JDeveloper 9i.
Hi,
When deploying a CMP Entity from jdeveloper, the actual table name used for looking up the bean by the container is modified to the Entities name ( meaning - not the one which i specified in the orion-ejb.xml myself) .
Has anyone stubmled across this one?
Thanks,
Yuval.Hi Yuval,
Yes, this is standard default behaviour for OC4J!
Let me guess -- you're using the JDeveloper deployment wizard, right?
Bad move, buddy! Gee, wouldn't it be great if the JDeveloper wizards
actually worked properly (sigh).
Easiest thing to do is to edit the "orion-ejb-jar.xml" file immediately
after deployment. Look for the "entity-deployment" element, and change
the "table" attribute so that it equals the correct name of your table.
Of-course, personally, I steer well clear of the wizards, because I
don't know what they're doing but I'm sure it's not something that I
want them to do.
I also suggest you check out the documentation from either:
http://www.atlassian.com
or
http://www.orionserver.com
Good Luck,
Avi. -
JDeveloper - problems with Tutorial for Java EE Developers
Hi,
I am trying to start learning Oracle J2EE technologies, and I am using the Oracle "Tutorial for Java EE Developers (10.1.3.1.0)" listed in the Oracle Application Server 10g (10.1.3) page: http://www.oracle.com/technology/tech/java/oc4j/1013/how_to/index.html.
I am having problems in chapter 2, at the creating EJB 3.0 Persistence Entities stage, when using the Create Entities from Tables Wizard. Basically, when I select all the tables from the SRDEMO schema and attempt to create the Java classes, only the first table objects are created - ExpertiseAreas.java and ExpertiseAreasPK.java. I do not get any error messages, so I am not sure why the other table objects are not created.
If I then use the Wizard to select tables individually, the objects are created. However, they appear to be missing some details - specifically the @OneToMany annotation.
Has anyone encountered this same issue, or are there any known issues with this tutorial.
I am using version 10.1.3.4 of JDeveloper, on a 10g (10.2) XE database. I installed the version of JDeveloper without JDK included. I have a Sun Java EE 5 SDK Udate 5 (JDK 6u7) install of JDK.
Thanks,
FraserPlease refer
http://www.oracle.com/technology/obe/obe1013jdev/10131/10131_ejb_30/ejb_30.htm
http://www.oracle.com/technology/tech/java/oc4j/ejb3/howtos/howtoejb30mappingannotations/doc/how-to-ejb30-mapping-annotations.html#onetomany -
Problem with CMP bean and MySQL: please help me!!!
Hi,
I am using J2EE Sun server 1.3 and Mysql 4.0 database with its MySQL Connector/J 3.0.
The driver connection to the database is fine since "Generate Default SQL" in deploytool gives "SQL generation complete".
However, I can't have a simple row with one text field called test being created in my mysql table called test.
Of course , the mysql server is started and the test table set for use.
Here is my code (I try to access my database from a servlet using a CMP Entity bean):
try{
Context initial = new InitialContext();
Object objref = initial.lookup(EntityHome.JNDI_NAME);
EntityHome home = (EntityHome)PortableRemoteObject.narrow(objref,EntityHome.class);
Entity test= home.create("zob");
/*EntityHome home = (EntityHome)PortableRemoteObject.narrow(objref,EntityHome.class);
catch (Exception ex){ out.println("exception message : " + ex.getMessage()+"</body></html>");}
I get the following exception message :
RemoteException occurred in server thread; nested exception is: java.rmi.RemoteException: nested exception is: java.sql.SQLException: Syntax error or access violation, message from server: "You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '"EntityCMPTable" WHERE "test" = 'zob'' at line 1"; nested exception is: java.sql.SQLException: Syntax error or access violation, message from server: "You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '"EntityCMPTable" WHERE "test" = 'zob'' at line 1"
I would be very grateful for help since I have a close deadline for this!!!!!!!!
Thank you very much in advance dear java experts!!!!!!!
Hallo
I have the same problem and the same configuration.
Do you have a solution for this problem ??
Thanks
Georg -
Problem with CMP BEAN ON SUN JAVA APPLICATION SERVER 1.3.1
I am trying to deploy an entity bean with container managed persistence on sun java app. server 1.3.1. When I go for Deploy, the error 'SQL code not generated for following beans' is comming, when verified with verifier tool, the error shown is 'transaction attributes are not specified' , What should be the problem ?
Which appserver are you using exactly? the J2EE 1.3.1 RI, SJAS 7.0, SJSAS 7.1....etc
You need to make sure for that you have specified the correct deployment attributes for your CMP methods. You can pull the ear/jar into deploytool and review it there -
Jdeveloper - Problem with undo/redo
Hi,
I am facing a problem while using the Undo/Redo option in jdeveloper. When i press the CTRL+Z(undo) option for a lengthy changes, the CTRL+Y(redo) option is not working properly.
- Shankar SIn my experience of JDev, The correct keyboard shortcut for redo is Shift + Ctrl + Z .
Ctrl + Y deletes the current line.
I don't know if that can be changed.
Remi -
Jdeveloper problem with the dataBase view
Hi all
hope your fine
i have toad database and jdeveloper 10g installed on our
machine. i connect our database in jdeveloper by using new
database connection wizard.and the test connection give success ..
the problem is i can see all the tables and views data but the views that i have access to view from another schema i can see in toad but not in jdeveolper ?!!
so why is it ?Check if you have a filter defined on your database connection.
If you can upgrade to 11g, then you'll find the other users on the "Other Users" section of the database browser. -
Jdeveloper problem with webstarterapp2
Hi all;
I tried to setup a single development machine using webstarterapp2. I have Oracle CM SDK and Application Server installed on another machine. Following the readme from Oracle, I did everything required.
When I start the webstarterapp2 on my development machine, the logon page appears. I logon using system/password user. However, the following error message is displayed on the index.jsp:
IFS-20103: Unable to get sessions
Checking the log file, I also found the following error lines. What could be missing?
Please help.
05/02/26 19:58:59 Started
05/02/26 19:59:01 TAV-DYS-webapp: JDevOJSP: init
05/02/26 19:59:01 TAV-DYS-webapp: Version: 1.0 LOGGING: init
05/02/26 19:59:02 TAV-DYS-webapp: Version: 1.0 LOGGING: Debugging is on
05/02/26 19:59:02 TAV-DYS-webapp: Version: 1.0 LOGGING: [WebStarterAppServlet 1] init() called.
05/02/26 19:59:02 TAV-DYS-webapp: Version: 1.0 LOGGING: [WebStarterAppServlet 1] standalone mode.
05/02/26 19:59:02 TAV-DYS-webapp: LOGGING: Unable to start service: WebStarterAppServer
oracle.ifs.common.IfsException: IFS-20102: Unable to start service (WebStarterAppServer)
oracle.ifs.common.IfsException: IFS-20010: Unable to get service configuration properties (null)
oracle.ifs.common.IfsException: IFS-20010: Unable to get service configuration properties (SmallServiceConfiguration)
oracle.ifs.common.IfsException: IFS-20012: Invalid service configuration name (SmallServiceConfiguration)
at oracle.ifs.common.IfsException.<init>(IfsException.java:300)
at oracle.ifs.beans.LibraryService.getServiceConfigurationProperties(LibraryService.java:732)
at oracle.ifs.beans.LibraryService.getServiceConfigurationProperties(LibraryService.java:503)
at oracle.ifs.beans.LibraryService.startService(LibraryService.java:366)
at common.StandaloneIfsServer.<init>(StandaloneIfsServer.java:35)
at view.WebStarterAppServlet.init(WebStarterAppServlet.java:181)
at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.java:2094)
at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4523)
at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4617)
at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:765)
at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:497)
at com.evermind.server.Application.getHttpApplication(Application.java:886)
at com.evermind.server.http.HttpServer.getHttpApplication(HttpServer.java:688)
at com.evermind.server.http.HttpSite.getApplication(HttpSite.java:420)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:422)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:534)
05/02/26 19:59:02 TAV-DYS-webapp: 9.0.4.0.0 Started
05/02/26 19:59:11 TAV-DYS-webapp: Version: 1.0 LOGGING: LogonAction: FileAction: executeAction() entered
05/02/26 19:59:11 TAV-DYS-webapp: Version: 1.0 LOGGING: LogonAction: logon the user saving database session in logonBean
05/02/26 19:59:11 TAV-DYS-webapp: Version: 1.0 LOGGING: [LogonAction] Exception:
oracle.ifs.common.IfsException: IFS-20103: Unable to get sessions
at oracle.ifs.common.IfsException.<init>(IfsException.java:344)
at model.LogonBean.connect(LogonBean.java:92)
at view.LogonAction.doAction(LogonAction.java:77)
at view.FileAction.executeAction(FileAction.java:97)
at view.FileAction.execute(FileAction.java:57)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at view.WebStarterAppServlet.process(WebStarterAppServlet.java:246)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:778)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:534)Probably an issue with the JRE used by JDev. on Win 2k. Have you tried 3.2x? I haven't seen that type of issue with it on Win 2k.
-
Problem with Application build in JDeveloper 11.1.5 to WLS 10.3.5
Hi to everyone, I have a problem with a application build in JDeveloper 11.1.5 and deployed to a standalone WLS 10.3.5 ( with the JRF template appliied , to run adf applications )
When I try access to the page : localhost:7001/myApp , it show me :
"Error 403 Fordbbiben ".
but when I put :
localhost:7001/myApp/index.jspx, it show me :
Error 500--Internal Server Error
From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
10.5.1 500 Internal Server Error
The server encountered an unexpected condition which prevented it from fulfilling the request.
and the log is :
<May 8, 2012 9:06:22 PM BOT> <Warning> <oracle.adf.view.rich.component.fragment.UIXRegion> <BEA-000000> <
java.lang.IllegalStateException: The expression "#{bindings.genRegion.regionModel}" (that was specified for the RegionModel "value" attribute of the region component with id "genRegion_dlg") evaluated to null.
This is typically due to an error in the configuration of the objects referenced by this expression.
If it helps, the expression "#{bindings.genRegion}" evaluates to "null".
If it helps, the expression "#{bindings}" evaluates to "null". Now using an empty RegionModel instead.
at oracle.adf.view.rich.component.fragment.UIXRegion.getRegionModel(UIXRegion.java:450)
at oracle.adf.view.rich.component.fragment.UIXRegion._beginInterruptibleRegion(UIXRegion.java:682)
at oracle.adf.view.rich.component.fragment.UIXRegion.processRegion(UIXRegion.java:498)
at oracle.adfinternal.view.faces.taglib.region.RegionTag.doStartTag(RegionTag.java:127)
What can I do to fix the problem ??
ThanksAnalyzing the problem, I created a new ADF application with only a web page (index.jspx) , and deploy it to the WLS, and I access to URL of page and it runs !! ( http:localhost:7001/myApp/faces/index.jspx ).
But, when I ADD A TASK FLOW to the application and deploy to the WLS newly , and try to access to the URL application's ( http:localhost:7001/myApp/faces/index.jspx ) . It show me again :
Error 500--Internal Server Error
From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
10.5.1 500 Internal Server Error
The server encountered an unexpected condition which prevented it from fulfilling the request.
and the log is :
<May 10, 2012 19:02:57 PM BOT> <Warning> <oracle.adf.view.rich.component.fragment.UIXRegion> <BEA-000000> <
java.lang.IllegalStateException: The expression "#{bindings.genRegion.regionModel}" (that was specified for the RegionModel "value" attribute of the region component with id "genRegion_dlg") evaluated to null.
This is typically due to an error in the configuration of the objects referenced by this expression.
If it helps, the expression "#{bindings.genRegion}" evaluates to "null".
If it helps, the expression "#{bindings}" evaluates to "null". Now using an empty RegionModel instead.
at oracle.adf.view.rich.component.fragment.UIXRegion.getRegionModel(UIXRegion.java:450)
at oracle.adf.view.rich.component.fragment.UIXRegion._beginInterruptibleRegion(UIXRegion.java:682)
at oracle.adf.view.rich.component.fragment.UIXRegion.processRegion(UIXRegion.java:498)
at oracle.adfinternal.view.faces.taglib.region.RegionTag.doStartTag(RegionTag.java:127)
Why it show me that error when I ADD a Task Flow to the Application ???
Can Anyone help me please ?? I m varios days with this problem. Thanks -
Hi,
I have a problem with adding a latest JSF 1.2 RI from Sun (https://javaserverfaces.dev.java.net/files/documents/1866/44998/jsf-1_2_03.zip) to JDeveloper as a new library.
I created a new User library and added into it jsf-impl.jar and jsf-api.jar from JSF 1.2 RI.
Then I try to create two new JSP Tag libraries based from .tld files.
When a .tld file is placed in "TLD File:" field there is no information below about Library Version and Required JSP Version. If I check "Execute Tags in JSP Visual Editor" and click "Customize" button - list of tags in "Customize Tag Library" window is empty.
I have errors when I try to use JSF Tags from this new library in JSP page like :
"Can't create tag instance: f:view (class: null). Make sure, that the tag class or a library contained this class is available in this application"
(free translation to English)
Is this possible to add JSF RI v1.2 as another library in Jdeveloper 10.1.3.1 ?
thanks for help
koliHi,
This solution is not exactly for Jdeveloper 10.1.3.x I think.
- "Create a JSF system library." section, point 2. - there is not possible to add library in folder other than User I see, so I added it in User folder.
- "Register the JSF JSP tag libraries." section, point 5. - in JD 10.1.3 there is no dialog box, I checked checkbox "Show Tag Library in Palette". A new library was added to User folder but there is no new libraries in component Palette.
Even as I use "Edit tag libraries .." from Component Palette context menu and add manually new tag libraries to selected, there is no libraries in Component Palette after it.
I feel so problem is with different .tld files format, not with adding libraries method.
Sun RI tld file (from version 1.2_03) fragment:
<taglib xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-jsptaglibrary_2_1.xsd"
version="2.1">
<!-- ========== Tag Library Description Elements ========================= -->
<description>
The core JavaServer Faces custom actions that are independent of
any particular RenderKit.
</description>
<tlib-version>1.2</tlib-version>
<short-name>f</short-name>
<uri>http://java.sun.com/jsf/core</uri>
tld included in JD:
<!DOCTYPE taglib
PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
"http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
<taglib>
<!-- ========== Tag Library Description Elements ========================= -->
<tlib-version>1.0</tlib-version>
<jsp-version>1.2</jsp-version>
<short-name>f</short-name>
<uri>http://java.sun.com/jsf/core</uri>
<description>
The core JavaServer Faces custom actions that are independent of
any particular RenderKit.
</description>
Did JDeveloper 10.1.3.x maintain with taglib version 1.2 ?
Regards
koli -
JDeveloper 10g video problems with Windows Vista
Hi,
I'm using JDev 10g 10.1.3.3 over Windows Vista with Aero active. Since I started using Vista, I have always had problems with JDev. First, the fonts in the JDev panels would mess up and the scrolling would not work well. I made some changes in the way JDev uses the JDK, I don't remember exactly what I did, but I think I made the whole JDev environment to use a newer JDK, which is not engouraged/supported by Oracle. Since then, the scrolling problem was solved. But When I run my app, Aero stops working.
Is there a way to make JDev 10g work perfectly with Vista?
(No, I'm not willing to migrate to 11g, for several reasons, so I need to stick to 10g for now).
Thanks!
Brian
Edited by: BrianBraun on Nov 12, 2008 7:08 AMTry the various tips on this thread:
Using JDeveloper on Vista - some tips -
Hello, i'm a newbie trying to learn developing ADF applications using JDeveloper 11. I'm currently following the tutorial :
http://st-curriculum.oracle.com/obe/jdev/obe11jdev/ps1/ria_application/developriaapplication_long.htm
19. In the Application Navigator Right-click AppModel and select Run to invoke the application module tester. This is a small Swing based application that allows you to test the ADF Business Components you have just created.
I have the problem with this step... When i Run the AppModel nothing happens... The process starts in the run manager but the program does not actually run... Does it have to do with the dafault run target?
ThnksWell, by default, if you click the "Run" button from the toolbar with no active file in the editor, it will attempt to run the Default Run Target for the current project, and if there is not one set, JDev will prompt you for one. I'm sure you can complete the tutorial without completing that step, but if I were you, at some point, I'd have a go at the business components tester. I use it all the time to make sure my model works - and it's a good debugging tool when something isn't working and you're not sure if its the UI part or the model part - you can test the model independently.
Good luck,
John
Maybe you are looking for
-
RH7 WebHelp I have an expanding text link that properly displays the expanded text, except for the color of the text. Regardless of what I do, e.g., change the color in the style sheet and even change the color within the Expanding Text text box, the
-
Crystal Report parameter creating pages of lists to choose from
Hi All, We have created a crystal report to produce statements for customers. We have added a dynamic parameter so the user can choose which BP Codes they want to run the report for, but the report creates several pages of codes, so, the user has to
-
Show Package Content option not available in Ctrl+click
Hi, I just installed Mozilla's Thunderbird email SW (v. 1.5.0.5) and I'm trying to import the mail I had accumulated previously in Mail 2.1 (this is under OS X Tiger 10.4.7, sadly running on a pretty old G4 400 MHz, AGP Graphics). The instructions fr
-
How to run user enter value query and get result on Text item
Hi , I'm really newbie at JDeveloper and ADF , I want to run the query below , before with Forms i just adding :TEXT_NAME to get the entered users value , what I have to do now with ADF , really it's not clear question and I would appreciate any help
-
Post_install and PKGBUILDS[solved]
OK as a maintainer of a package I have a soft dependency of gpac. Now its been requested that I use post_install() {} My question is how? Would I just add it after my build section build() { cd $startdir/src/$pkgname-$pkgver sed -i -e "s|/usr|$startd