java.sql.SQLException: had one since a reading less than
Unable to connect to the database server: java.sql.SQLException: had one since a reading less thanJava version - jdk 1.6
Oracle version-11 GR 2 Enterprise Edition
JAVA CODE:
import java.sql. *;
public class {UpdateRecord
Public Shared Sub main (String args []) throws SQLException {}
DriverManager.registerDriver (oracle.jdbc.driver.OracleDriver (()) new;
Connection con = DriverManager.getConnection ("jdbc:oracle:thin:@localhost:1158:em","xxx","xxx");
Statement stmt = con.createStatement ();
String query = "" select * from STUDENT; ";"
System.out.println (Query);
stmt.executeQuery (query);
}
}
Mentioned error is:
Exception in thread "main" java.sql.SQLException: had one since a reading less than
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:412)
to oracle.jdbc.driver.PhysicalConnection. < init > (PhysicalConnection.java:531)
to oracle.jdbc.driver.T4CConnection. < init > (T4CConnection.java:221)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:503)
at java.sql.DriverManager.getConnection(DriverManager.java:582)
at java.sql.DriverManager.getConnection(DriverManager.java:185)
at UpdateRecord.main (UpdateRecord.java:5)
Caused by: oracle.net.ns.NetException: had one since a reading less than
at oracle.net.ns.Packet.receive(Packet.java:285)
at oracle.net.ns.NSProtocol.connect(NSProtocol.java:286)
at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:1042)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:301)
... 7 more
Any help and suggestions would be much appreciated!
The setting of connection to host "localhost" and port "1158" are really correct?
Tags: Java
Similar Questions
-
Hello
When you use Java/XML to insert, we got an error like:
Cause: java.sql.SQLException: ORA-01461: can bind to a LONG value only for insert into a LONG column
then change column varchar2 (4000) to a long data type.
as:
truncate table BAM_ACTIVITY
ALTER TABLE BAM_ACTIVITY CHANGE (CONTEXT LONG);
then download the new error message like:
Cause: java.sql.SQLException: ORA-22295: impossible to link more LOB data and LONG columns 4000 bytes in 1 statement
I think that time limit of data type is only 2 Giga bytes, do we need to change the data type of this column to
CLOB, which can be as large as 4 GB,
Or an experience to draw from this kind of error?
Thank you very much
Roy
Published by: ROY123 on January 25, 2010 14:26
Published by: ROY123 on January 25, 2010 14:27Has LONG been deprecated for a (pardon the pun) a very long time.
CLOB would be your horse if you need store more than 4000 bytes of information.
If you need help with that (insert via java), this can provide useful information for you.
[http://www.oracle.com/technology/sample_code/tech/java/codesnippet/jdbc/clob10g/handlingclobsinoraclejdbc10g.html]
-
java.sql.SQLException: IO exception: Got minus one since a call to reading
Hello
I have RHE dedicated server with Oracle Database 10 g Express Edition Release 10.2.0.1.0 - Production
I get the following error:
I googled and found very interesting information. The conclusion that I think that may be the problem with my database driver.java.sql.SQLException: Io exception: Got minus one from a read call at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:145) at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:190) at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:363) at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:401) at oracle.jdbc.driver.PhysicalConnection.(PhysicalConnection.java:441) at oracle.jdbc.driver.T4CConnection.(T4CConnection.java:165) at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35) at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:839) at java.sql.DriverManager.getConnection(DriverManager.java:582) at java.sql.DriverManager.getConnection(DriverManager.java:185) at DB.getOracleConnection(DB.java:45) at UserDAO.insertToCvProperties(UserDAO.java:257) at BulkSavedCVs.doGet(BulkSavedCVs.java:251) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:769) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:698) at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:891) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690) at java.lang.Thread.run(Thread.java:619)
Here's my method of db connection:
The drivers I have in my tomcat/lib directory are:public static Connection getOracleConnection() throws Exception { String driver = "oracle.jdbc.driver.OracleDriver"; String url = "jdbc:oracle:thin:@127.0.0.1:1521:XE"; String username = "userNamel"; String password = "password"; Class.forName(driver); Connection cnn = DriverManager.getConnection(url, username, password); return cnn;
classes12.jar
classes12_g.jar
classes12dms.jar
ojdbc14.jar is
ojdbc14_g.jar
Please notify
Thank you in anticipation>
I googled and found very interesting information
>
If you found that interesting why you don't mind to post it so we can see what you're talking about?So far, you took the trouble to tell us what it is you are trying to do, how you are trying to do or what problem you have make other that to say that you got an error.
>
classes12.jar
classes12_g.jar
classes12dms.jar
ojdbc14.jar is
ojdbc14_g.jar
>
These pots are for Java 1.2 and 1.4, but since you have not "say what you're trying to do there is no way of knowing which version of Java you have on your system or which of those you may be using, and what you use for.Why do you use these old JDBC jar?
Start over and ask you if you could provide any help to someone who has posted only the information that you have posted. This is equivalent to calling a mechanic on the phone, telling them your car makes a funny noise and ask him to tell you what's wrong with your car.
-
Hello
I am trying to install OSB in a different domain. I already have a suite of soa running.
This is the directory structure
Middleware/user_projects/domains
(a) soa_domain
(b) osb_domain
Who, from the administration server for the BSO, I get error below.
Error: -.
< server failed. Reason: Last forest resource [JTAExceptions:119002] failed during initialization. The server cannot start unless all configured logging last resource (LLRs) initialize. Fault reason:
javax.transaction.SystemException: weblogic.transaction.loggingresource.LoggingResourceException: java.sql.SQLException: check table JDBC LLR, failed for the table "WL_LLR_ADMINSERVER", line ' JDBC LLR field / / server ' record had an unexpected value ' soa_domain / / AdminServer' expected ' osb_domain / / AdminServer'* ONLY the domain and the server that creates a table original LLR can access *.
I see the solution in https://blogs.oracle.com/epc/entry/technical_table_verify_failed_for but I have no doubt here.
When I run
Select RECORDSTR in the WL_LLR_ADMINSERVER where
XIDSTR = "field of LLR JDBC / / server ';"
I get the result like-> soa_domain / / AdminServer
If I change it to osb_domain / / this AdminServer, will affect my soa_domain server... ? Please advice
Published by: user10720442 on December 11, 2012 11:54Hello
There are two possible solutions to this problem:
Solution 1:
To solve this problem reconfigures the basic information database of Point differently for each domain, if you have more than one domain. That, to change the port of the database and the name below two files in the field
In the setDomainEnv.cmd (or .sh) file inside directory change DOMAIN_HOME/bin Point base port number and the name of the comic.
Set POINTBASE_PORT = 9094
Set POINTBASE_DBNAME = weblogic_eval2JDBC:PointBase:server://localhost:9094 / weblogic_eval2
In the file wlsbjmsrpDataSource - jdbc.xml inside change DOMAIN_HOME/config/jdbc directory under entries with port of pointbase database updated and the name (this will be in two places in the file).
Solution 2:
If the domain name has been changed and do not want to change the database properties, then an update to the WL_LLR_ADMINSERVER table is possible:
that is to say:
Update SCHEMA_SAMPLE. Set RECORDSTR = WL_LLR_ADMINSERVER ' base_domain / / AdminServer' where XIDSTR = "JDBC LLR field / / server ';"Kind regards
Kal -
java.sql.SQLException: ORA-06550 and ORA-00900 call stored procedures
Hi all
I have 2 a stored procedures that I want to call from my Session bean. One of them takes a few settings, but not the other. When I call the procedures, I get the following errors described below. I tested the two stored procedures in sql plus and sqldveleoper and they work well. The funniest, it is, I have another stored procedure that I can call successfully from the same bean in session with no problems, so I'm a bit confused as to why his play now.
I use stand-alone 10.1.3.4 OC4J and Oracle 10 g Db 10.2.0.4 and platform DB that I use is Oracle10gPlatform and Eclipselink as my JPA provider. I have also tried against toplink (not toplink essentials) and still no joy
Here is the error I get when I try and call the procedure which takes the parameters of the session bean
Here are my stored procedure that take parametersInternal Exception: java.sql.SQLException: ORA-06550: line 1, column 7: PLS-00306: wrong number or types of arguments in call to 'HASHDATA' ORA-06550: line 1, column 7: PL/SQL: Statement ignored Error Code: 6550 Call: BEGIN HashData(input=>?, hashedValue=>?, hashed=>?); END; bind => [password1, => hashedValue, => hashed] Query: DataReadQuery()
Here is my code in the session bean to call the procedure that takes as parameters (Hashdata)create or replace procedure hashData(input IN VARCHAR2, hashedValue OUT BLOB, hashed OUT BOOLEAN) as inputRaw RAW(2000); --hashed BOOLEAN := false; begin dbms_output.put_line('the data to be hashed is '||input); dbms_output.put_line('converting input to raw ...'); inputRaw := utl_i18n.string_to_raw(input,'AL32UTF8'); dbms_output.put_line('Hashing Data ...'); hashedValue := DBMS_CRYPTO.Hash (src=>inputRaw,typ=>DBMS_CRYPTO.HASH_SH1); dbms_output.put_line('hash is '||UTL_I18N.raw_to_char(dbms_lob.substr(hashedValue, 4000,1))); if (hashedValue is not null) then hashed :=true; dbms_output.put_line('hashedValue IS NOT null'); else hashed := false; dbms_output.put_line('hashedValue IS null'); end if; end;
When I call the other takes no parameters, I get the following error.public UserBean() { // TODO Auto-generated constructor stub sessMan = SessionManager.getManager(); session = sessMan.getSession("Session", Thread.currentThread() .getContextClassLoader()); } public Serializable hashData(String input){ logger.debug("Hashing Data ... "); hashedValue= null; boolean hashed=false; StoredProcedureCall call = new StoredProcedureCall(); ValueReadQuery query = new ValueReadQuery(); call.setProcedureName("HashData"); call.addNamedArgumentValue("input", input); call.addNamedOutputArgument("hashedValue", "hashedValue", java.sql.Blob.class); call.addNamedOutputArgument("hashed", "hashed", java.lang.Integer.class); query.addArgument("input"); query.setCall(call); session.executeQuery(query); if ((Boolean)hashed){ logger.debug("The data has been hashed and the hash value is: "+hashedValue); } else{ logger.debug("The data has could not be hashed"); hashedValue=null; } return (Serializable)hashedValue; }
Here is the procedure which takes no parametersInternal Exception: java.sql.SQLException: ORA-00900: invalid SQL statement Error Code: 900 Call: BEGIN testJPAProc(); END; Query: DataReadQuery()
Heres is the code to call procedures that take no parameterscreate or replace procedure testJPAProc is begin dbms_output.put_line('testJPAProc called'); end;
You guys can tell me where I'm wrong if I do something wrong. Why make these mistakes? because as far as I can tell the code (java and pl/sql) are both correct unless there is something I missed. It's kinda funny because I have another stored procedure I can call successfully.StoredProcedureCall call = new StoredProcedureCall(); ValueReadQuery query = new ValueReadQuery(); call.setProcedureName("testJPAProc"); query.setCall(call); session.executeQuery(query);
Thank youThe first question is that the Boolean in Oracle is not a supported JDBC type, but a PLSQL type.
Change to an INTEGER is probably the best, you can also use the PLSQLStoredProcedureCall class to access.The second problem is perhaps that the stored procedure is not valid, make sure that it compiled correctly. It can also be the type of your query, you must use a DataModifyQuery, not a read request that it returns nothing.
If still no luck, try to call directly through JDBC, it works?---
James: http://www.eclipselink.org: http://en.wikibooks.org/wiki/Java_Persistence -
Hi all
I was hoping you could help me. After a server restart scheduled that I tried to start my fundraiser, when I did, I got the following error:
09/29/14 10:19:36 Error executing command start_collector Internal Error at oracle.av.common.AuditException.toAuditException(AuditException.java:253) at oracle.av.management.impl.HttpManagementAdaptor.getData(HttpManagementAdaptor.java:259) at oracle.av.management.impl.HttpManagementAdaptor.getData(HttpManagementAdaptor.java:291) at oracle.av.management.impl.HttpManagementAdaptor.startCollector(HttpManagementAdaptor.java:434) at oracle.av.management.impl.ManagementServiceImpl.startCollector(ManagementServiceImpl.java:651) at oracle.av.management.impl.ManagementServiceImpl.startCollector(ManagementServiceImpl.java:696) at oracle.av.management.impl.ManagementServiceImpl.startCollector(ManagementServiceImpl.java:707) at oracle.av.avca.control.StartCollectorTask.executeTask(StartCollectorTask.java:82) at oracle.av.avca.backend.BaseTask.execute(BaseTask.java:104) at oracle.av.avca.Avctl.startCTL(Avctl.java:180) at oracle.av.avca.Avctl.main(Avctl.java:213) Nested Exception: java.sql.SQLException: ORA-28001: the password has expired at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:67) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:522) at oracle.av.common.AuditException.toAuditException(AuditException.java:250) at oracle.av.management.impl.HttpManagementAdaptor.getData(HttpManagementAdaptor.java:259) at oracle.av.management.impl.HttpManagementAdaptor.getData(HttpManagementAdaptor.java:291) at oracle.av.management.impl.HttpManagementAdaptor.startCollector(HttpManagementAdaptor.java:434) at oracle.av.management.impl.ManagementServiceImpl.startCollector(ManagementServiceImpl.java:651) at oracle.av.management.impl.ManagementServiceImpl.startCollector(ManagementServiceImpl.java:696) at oracle.av.management.impl.ManagementServiceImpl.startCollector(ManagementServiceImpl.java:707) at oracle.av.avca.control.StartCollectorTask.executeTask(StartCollectorTask.java:82) at oracle.av.avca.backend.BaseTask.execute(BaseTask.java:104) at oracle.av.avca.Avctl.startCTL(Avctl.java:180) at oracle.av.avca.Avctl.main(Avctl.java:213)
So I checked the database of Audit Vault and of course, uses that have expired there, Audit Vault users expire after 180 days.
SELECT username, account_status, expiry_date FROM dba_users WHERE account_status = 'EXPIRED';
I had a user "AGENT_BW3", which has expired. I also had the SYSAV & AVREPORTUSER that have expired. So I changed my profile and then reset the password for these uses to the same than what have been before
Now when I try to restart the collector, I get the following:
09/29/14 10:36:02 Error executing command start_collector Internal Error at oracle.av.common.AuditException.toAuditException(AuditException.java:253) at oracle.av.management.impl.HttpManagementAdaptor.getData(HttpManagementAdaptor.java:259) at oracle.av.management.impl.HttpManagementAdaptor.getData(HttpManagementAdaptor.java:291) at oracle.av.management.impl.HttpManagementAdaptor.startCollector(HttpManagementAdaptor.java:434) at oracle.av.management.impl.ManagementServiceImpl.startCollector(ManagementServiceImpl.java:651) at oracle.av.management.impl.ManagementServiceImpl.startCollector(ManagementServiceImpl.java:696) at oracle.av.management.impl.ManagementServiceImpl.startCollector(ManagementServiceImpl.java:707) at oracle.av.avca.control.StartCollectorTask.executeTask(StartCollectorTask.java:82) at oracle.av.avca.backend.BaseTask.execute(BaseTask.java:104) at oracle.av.avca.Avctl.startCTL(Avctl.java:180) at oracle.av.avca.Avctl.main(Avctl.java:213) Nested Exception: java.sql.SQLException: ORA-01017: invalid username/password; logon denied at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:67) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:522) at oracle.av.common.AuditException.toAuditException(AuditException.java:250) at oracle.av.management.impl.HttpManagementAdaptor.getData(HttpManagementAdaptor.java:259) at oracle.av.management.impl.HttpManagementAdaptor.getData(HttpManagementAdaptor.java:291) at oracle.av.management.impl.HttpManagementAdaptor.startCollector(HttpManagementAdaptor.java:434) at oracle.av.management.impl.ManagementServiceImpl.startCollector(ManagementServiceImpl.java:651) at oracle.av.management.impl.ManagementServiceImpl.startCollector(ManagementServiceImpl.java:696) at oracle.av.management.impl.ManagementServiceImpl.startCollector(ManagementServiceImpl.java:707) at oracle.av.avca.control.StartCollectorTask.executeTask(StartCollectorTask.java:82) at oracle.av.avca.backend.BaseTask.execute(BaseTask.java:104) at oracle.av.avca.Avctl.startCTL(Avctl.java:180) at oracle.av.avca.Avctl.main(Avctl.java:213)
Now of course I went on this issue the wrong way, is - that someone has encountered this problem before?
Just to add, I tried to connect with the same passwords for all users of Audit Vault in sqlplus and all work fine, its only the "start_collector" that has the problem.
Kind regards.
I fixed it by following these steps.
When the audit Vault database is created all users will see the profile by DEFAULT, it is a grace expires 180 days. I needed to reset user passwords that I did. The part that missed me, was that even if I put the passwords for what they had been before the expiry I still need to change the portfolio.
sqlplus SYSAVDVA/xx
-User AV_ADMIN
ALTER USER SYSAV IDENTIFIED BY xx;
-Server wallet
CD $ORACLE_HOME/network/admin/avwallet
AVCA create_credential - wrl. dbalias - av - usr SYSAV/xx
sqlplus SYSAVDVA/xx
-User AV_AGENT
ALTER USER IDENTIFIED BY AGENT_BW3 xx.
-Portfolio Officer
CD $ORACLE_HOME/network/admin/avwallet
AVCA create_credential - wrl. dbalias - av - usr AGENT_BW3/xx
This fixed the problem.
-
Hi all
After that I installed vCloud Director and it works OK for the last 2 weeks. Now, after reboot yesterday for the ESX interview, I get the following error in the /opt/vmware/cloud-director/logs/vcloud-container-info.log:
Caused by: java.sql.SQLException: ORA-28001: the password has expired
Director vCould crashes and refuses to come,-(.)
Anyone out there had this problem too? How can I fix? Thanks in advance for your help. See you soon.
PSK@Centrify
http://www.VMware.com/PDF/vcd_10_install.PDF
Pages 9-23
-
java.sql.SQLException: timed out trying to establish connection
I am trying to connect to SQL Server 2012 with flag MULTISUBNETFAILOVER = TRUE
I created the DSN and it works fine for a day and then I get erorr below. I checked the Server DB and its place and work fine and able to connect to it in management studio. Once I restart the server the question get it fixed. Anyone had any idea on why this problem occurs. I'm using the sqljdbc4.jar for this connection.
The root cause was that: java.sql.SQLException: timed out trying to establish connection
Again, I do not think QofQ supports the TRIM feature. In fact, the only place that Trim appears on the QofQ page in Adobe docs is to indicate it is a reserved word and should not be used.
As far as I see, you have only two choices here: change your database queries to use the FILLING before you run your QofQ, or to change the data columns (x) char and nchar (x) (x) varchar and nvarchar (x). Unless this or other applications are based on fixed-length character fields, switch to varchar (x) /nvarchar (x) should not lead to any loss of data or side effects.
-Carl V.
-
Caused by: java.sql.SQLException: column type invalid or NOT?
It has all,
I use JDev Studio Edition Version 11.1.2.3.0
Oracle 11g
Problem is simple a table
CREATE TABLE 'FACT '. "" MU_UREDJAJ ".
(
ACTIVATE THE "MUURE_ID" NUMBER (32.0) NOT NULL,
VARCHAR2 (25 CHAR) "MUURE_BROJ_UREDJAJA."
NUMBER (15.0) "MUTU_ID."
NUMBER (4,0) "MUURE_GOD_PROZ."
NUMBER (4,0) "MUURE_GOD_OVERE."
NUMBER (2.0) "MUVUR_ID."
NUMBER (2.0) "MUSVL_ID."
NUMBER (2.0) "MUSURE_ID."
'MU_UREDJAJ_PK' CONSTRAINT PRIMARY KEY ('MUURE_ID')
)
VO and EO created based on this table
Here is the generated type the JDev
< attribute
Name = "MuureId".
IsNotNull = 'true '.
Precision = "32".
Scale = '0 '.
ColumnName = "MUURE_ID."
SQLType = 'DIGITAL '.
Type = "Java.Math.BigInteger"
ColumnType = 'NUMBER '.
TableName = "MU_UREDJAJ."
PrimaryKey = "true" / >
< attribute
Name = "MuureBrojUredjaja".
Precision = "25".
ColumnName = "MUURE_BROJ_UREDJAJA."
SQLType = 'VARCHAR '.
Type = "Java.lang.String"
ColumnType = "VARCHAR2".
TableName = "MU_UREDJAJ" >
< DesignTime >
< name Attr = "_DisplaySize" Value = "25" / >
< / DesignTime >
< / attribute >
......
When I try to insert only primary keys with all null values I get error:
[51] INFO: not app def in BindingContext for: AppModule
[52] DCUtil, returning:oracle.jbo.uicli.binding.JUApplication, for AppModule
[53] replacement: null with: AppModule_MuUredjajView1_0PageDef
[54] INFO: not app def in BindingContext for: AppModule
[55] DCUtil, returning:oracle.jbo.uicli.binding.JUApplication, for AppModule
[56] INFO: not app def in BindingContext for: PROJECT_GLOBAL_VARIABLES
[57] INFO: search mDCRefMap has failed. The cpx has an entry dataControlUsages 'dc '? PROJECT_GLOBAL_VARIABLES
[58] fix VO:AppModule.MuUredjajView1 of iterator binding: oracle_jbo_uicli_binding_JUIteratorBinding_2
[59] DCUtil, RETURN: < null > to AppModule.MuUredjajView1
[60] MuUredjajView1 ViewRowSetImpl.execute caused to be 'one' changed params
[61] with over CappedRowCount:-1 for ViewRowSet:MuUredjajView1
[62] number of columns: 8
[63] executeQueryForCollection ViewObject:MuUredjajView1, RowSet:MuUredjajView1
[64] MuUredjajView1 > #q calculated SQLStmtBufLen: 298, real = 271, storage = 301
[65] SELECT MuUredjaj.MUURE_ID, MuUredjaj.MUURE_BROJ_UREDJAJA, MuUredjaj.MUTU_ID, MuUredjaj.MUURE_GOD_PROZ, MuUredjaj.MUURE_GOD_OVERE, MuUredjaj.MUVUR_ID, MuUredjaj.MUSVL_ID, MU_UREDJAJ MuUredjaj MuUredjaj.MUSURE_ID
[66] ViewObject: [model. MuUredjajView] AppModule.MuUredjajView1 creating new QUERY statement
[67] params for ViewObject bind: [model. MuUredjajView] AppModule.MuUredjajView1
[68] DBTransactionImpl.mDefaultSparseArrayThreshold is 20
[69] entity with key:oracle.jbo.Key [375681] owned by row:oracle.jbo.Key [375681]
[70] * refreshControl() for BindingContainer: AppModule_MuUredjajView1_0PageDef
[71] * refreshControl() for BindingContainer: AppModule_MuUredjajView1_0PageDef
[72] INFO: not app def in BindingContext for: adfFacesContext
[73] INFO: search mDCRefMap has failed. The cpx has an entry dataControlUsages 'dc '? adfFacesContext
[74] INFO: not app def in BindingContext for: adfFacesContext
[75] INFO: search mDCRefMap has failed. The cpx has an entry dataControlUsages 'dc '? adfFacesContext
[76] OracleSQLBuilder: SAVEPOINT 'BO_SP '.
[77] OracleSQLBuilder execution, memorize 2 DML: MU_UREDJAJ (insert)
[78] INSERT buf MuUredjaj > #i SQLStmtBufLen: 165, real = 44
[79] INSERT INTO MU_UREDJAJ (MUURE_ID) VALUES (: 1).
[80] insert link param 1:400000
[81] OracleSQLBuilderImpl.doEntityDML is not...
[82] X / Open SQL State is: 99999
[83] java.sql.SQLException: invalid column type
at oracle.jdbc.driver.OraclePreparedStatement.setObjectCritical(OraclePreparedStatement.java:11256)
at oracle.jdbc.driver.OraclePreparedStatement.setObjectInternal(OraclePreparedStatement.java:10605)
at oracle.jdbc.driver.OraclePreparedStatement.setObjectInternal(OraclePreparedStatement.java:11665)
at oracle.jdbc.driver.OraclePreparedStatement.setObject(OraclePreparedStatement.java:11631)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.setObject(OraclePreparedStatementWrapper.java:253)
at oracle.jbo.server.OracleSQLBuilderImpl.bindInsertStatement(OracleSQLBuilderImpl.java:2036)
at oracle.jbo.server.EntityImpl.bindDMLStatement(EntityImpl.java:10466)
at oracle.jbo.server.OracleSQLBuilderImpl.doEntityDML(OracleSQLBuilderImpl.java:415)
at oracle.jbo.server.EntityImpl.doDML(EntityImpl.java:8518)
at oracle.jbo.server.EntityImpl.postChanges(EntityImpl.java:6775)
at oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:3264)
at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:3067)
at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:2071)
at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2352)
at oracle.adf.model.bc4j.DCJboDataControl.commitTransaction(DCJboDataControl.java:1590)
at oracle.adf.model.binding.DCDataControl.callCommitTransaction(DCDataControl.java:1415)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1428)
at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2169)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:731)
at oracle.jbo.uicli.jui.JUActionBinding.actionPerformed(JUActionBinding.java:193)
at oracle.jbo.uicli.controls.JUNavigationBar.doAction(JUNavigationBar.java:412)
at oracle.jbo.jbotester.NavigationBar.doAction(NavigationBar.java:112)
to oracle.jbo.uicli.controls.JUNavigationBar$ NavButton.actionPerformed (JUNavigationBar.java:118)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
in javax.swing.AbstractButton$ Handler.actionPerformed (AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
at java.awt.Component.processMouseEvent(Component.java:6289)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6054)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4652)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4482)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4482)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:644)
to java.awt.EventQueue.access$ 000 (EventQueue.java:85)
in java.awt.EventQueue$ 1.run(EventQueue.java:603)
in java.awt.EventQueue$ 1.run(EventQueue.java:601)
at java.security.AccessController.doPrivileged (Native Method)
in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:87)
in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:98)
in java.awt.EventQueue$ 2.run(EventQueue.java:617)
in java.awt.EventQueue$ 2.run(EventQueue.java:615)
at java.security.AccessController.doPrivileged (Native Method)
in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:614)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
[84] OracleSQLBuilder: ROLLBACK WORK point registration "BO_SP".
[85] DCBindingContainer.reportException: oracle.jbo.DMLException
[86] oracle.jbo.DMLException: Houston-26041: failure to publish data from database in "Insert": SQL statement "INSERT INTO MU_UREDJAJ (MUURE_ID) VALUES (: 1).
at oracle.jbo.server.OracleSQLBuilderImpl.doEntityDML(OracleSQLBuilderImpl.java:581)
at oracle.jbo.server.EntityImpl.doDML(EntityImpl.java:8518)
at oracle.jbo.server.EntityImpl.postChanges(EntityImpl.java:6775)
at oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:3264)
at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:3067)
at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:2071)
at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2352)
at oracle.adf.model.bc4j.DCJboDataControl.commitTransaction(DCJboDataControl.java:1590)
at oracle.adf.model.binding.DCDataControl.callCommitTransaction(DCDataControl.java:1415)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1428)
at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2169)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:731)
at oracle.jbo.uicli.jui.JUActionBinding.actionPerformed(JUActionBinding.java:193)
at oracle.jbo.uicli.controls.JUNavigationBar.doAction(JUNavigationBar.java:412)
at oracle.jbo.jbotester.NavigationBar.doAction(NavigationBar.java:112)
to oracle.jbo.uicli.controls.JUNavigationBar$ NavButton.actionPerformed (JUNavigationBar.java:118)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
in javax.swing.AbstractButton$ Handler.actionPerformed (AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
at java.awt.Component.processMouseEvent(Component.java:6289)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6054)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4652)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4482)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4482)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:644)
to java.awt.EventQueue.access$ 000 (EventQueue.java:85)
in java.awt.EventQueue$ 1.run(EventQueue.java:603)
in java.awt.EventQueue$ 1.run(EventQueue.java:601)
at java.security.AccessController.doPrivileged (Native Method)
in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:87)
in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:98)
in java.awt.EventQueue$ 2.run(EventQueue.java:617)
in java.awt.EventQueue$ 2.run(EventQueue.java:615)
at java.security.AccessController.doPrivileged (Native Method)
in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:614)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: java.sql.SQLException: invalid column type
at oracle.jdbc.driver.OraclePreparedStatement.setObjectCritical(OraclePreparedStatement.java:11256)
at oracle.jdbc.driver.OraclePreparedStatement.setObjectInternal(OraclePreparedStatement.java:10605)
at oracle.jdbc.driver.OraclePreparedStatement.setObjectInternal(OraclePreparedStatement.java:11665)
at oracle.jdbc.driver.OraclePreparedStatement.setObject(OraclePreparedStatement.java:11631)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.setObject(OraclePreparedStatementWrapper.java:253)
at oracle.jbo.server.OracleSQLBuilderImpl.bindInsertStatement(OracleSQLBuilderImpl.java:2036)
at oracle.jbo.server.EntityImpl.bindDMLStatement(EntityImpl.java:10466)
at oracle.jbo.server.OracleSQLBuilderImpl.doEntityDML(OracleSQLBuilderImpl.java:415)
... 52 more
# # 0 in detail
java.sql.SQLException: invalid column type
at oracle.jdbc.driver.OraclePreparedStatement.setObjectCritical(OraclePreparedStatement.java:11256)
at oracle.jdbc.driver.OraclePreparedStatement.setObjectInternal(OraclePreparedStatement.java:10605)
at oracle.jdbc.driver.OraclePreparedStatement.setObjectInternal(OraclePreparedStatement.java:11665)
at oracle.jdbc.driver.OraclePreparedStatement.setObject(OraclePreparedStatement.java:11631)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.setObject(OraclePreparedStatementWrapper.java:253)
at oracle.jbo.server.OracleSQLBuilderImpl.bindInsertStatement(OracleSQLBuilderImpl.java:2036)
at oracle.jbo.server.EntityImpl.bindDMLStatement(EntityImpl.java:10466)
at oracle.jbo.server.OracleSQLBuilderImpl.doEntityDML(OracleSQLBuilderImpl.java:415)
at oracle.jbo.server.EntityImpl.doDML(EntityImpl.java:8518)
at oracle.jbo.server.EntityImpl.postChanges(EntityImpl.java:6775)
at oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:3264)
at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:3067)
at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:2071)
at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2352)
at oracle.adf.model.bc4j.DCJboDataControl.commitTransaction(DCJboDataControl.java:1590)
at oracle.adf.model.binding.DCDataControl.callCommitTransaction(DCDataControl.java:1415)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1428)
at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2169)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:731)
at oracle.jbo.uicli.jui.JUActionBinding.actionPerformed(JUActionBinding.java:193)
at oracle.jbo.uicli.controls.JUNavigationBar.doAction(JUNavigationBar.java:412)
at oracle.jbo.jbotester.NavigationBar.doAction(NavigationBar.java:112)
to oracle.jbo.uicli.controls.JUNavigationBar$ NavButton.actionPerformed (JUNavigationBar.java:118)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
in javax.swing.AbstractButton$ Handler.actionPerformed (AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
at java.awt.Component.processMouseEvent(Component.java:6289)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6054)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4652)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4482)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4482)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:644)
to java.awt.EventQueue.access$ 000 (EventQueue.java:85)
in java.awt.EventQueue$ 1.run(EventQueue.java:603)
in java.awt.EventQueue$ 1.run(EventQueue.java:601)
at java.security.AccessController.doPrivileged (Native Method)
in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:87)
in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:98)
in java.awt.EventQueue$ 2.run(EventQueue.java:617)
in java.awt.EventQueue$ 2.run(EventQueue.java:615)
at java.security.AccessController.doPrivileged (Native Method)
in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:614)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
[87] JUErrorHandlerDlg.reportException (oracle.jbo.DMLException)Try to change. BigInteger java.lang.Integer (this is probably a bug in the ADF)
Dario
-
java.sql.SQLException occurs in variable binding
Hello.
I use jdev11.1.5
I had created a vo based on the following code
In this I am passing status, ajappl is a liaison status variable has an initial "n" variableselect count(*) "var_count",aj_appl from appl_journals where aj_status = :status and aj_appl = :ajappl or :ajappl is null group by aj_appl
When I try to run this vo in my browser component of business I get the error
< font color = "red" > (java.sql.SQLException) parameter Missing or OUT to index: 1 < / make >
How can I fix this errorsee the section * 5.10.1 how to add Variables to link to a view object definition *.
http://download.Oracle.com/docs/CD/E12839_01/Web.1111/b31974/bcquerying.htm#CEGDGIJH -
java.sql.SQLException: ORA-00923: KEYWORD not found where expected
Hi all
I wrote a stored procedure where I variables defined for selectColumn, fromClause and whereClause and I'm paasing to another procedure.
But, while running, I get an error:
"java.sql.SQLException: ORA-00923: KEYWORD not found where expected.
XL_SPG_GetPagingSql (strColumnList,
strFromClause,
strWhereClause,
strOrderByClause,
intSortDirection_in,
intStartRow_in,
intPageSize_in,
select_stmt);
Please adviceI think so.
You will want to ensure that columns used in ORDER BY are listed in the SELECT statement since you use SEPARATE.
-
java.sql.SQLException: no driver appropriate
I am new to ODI, and I'm launching the following ODI demo:
[Creating and connecting to ODI master and work repositories | http://www.oracle.com/technology/obe/fusion_middleware/odi/ODImaster_work_repos/ODImaster_work_repos.htm]
but I can't start with the demo, because when I try to connect to the master repository Wizard to the Oracle 10 g XE database, I get the following error message:
java.sql.SQLException: no driver appropriate
There are two sections in the installation guide of ODI 10.1.3 I find difficult, and perhaps I did not understood them correctly:
Section 'Configuration of Java' _: _
I have installed a new jdk or jre, jre 1.4.2 has already settled with ODI and ODI_JAVA_HOME is already pointing to this one:
ODI_JAVA_HOME=C:\OraHome_1\jre\1.4.2
_ "" Installation JDBC / drivers JMS ' section: _ "
I've included the jdbc drivers included in Oracle 10g XE in the CLASSPATH:
ORACLE_HOME/JDBC/lib/ojdbc14.jar
ORACLE_HOME/jlib/orai18n.jar
in my case, which translates:
CLASSPATH=C:\oraclexe\app\oracle\product\10.2.0\server\jdbc\lib\ojdbc14.jar; C:\oraclexe\app\oracle\product\10.2.0\server\jlib\orai18n.jar
I am new to java, as well, so I might have made an error of configuration of the java runtime environment. Can someone help me?
Juan Algaba ColeraIn topology, you entered the JDBC Driver (JDBC) field. And in the JDBC URL?
Concerning
-
My Printmaster Platinum 2012 software which I've used for may 2012 suddenly would not work and gives the following message: java.sql.SQLException: not found "PRINTMASTER 2012 PLATINUM" database.
Hi Elizabeth,.
You can try to reinstall the program. If the problem still persists, then contact their support , help.
I hope this helps.
-
Mr President
Make me a mistake for an adf application.
Running application ElizaSoft on IntegratedWebLogicServer...] [06:38:05 PM] Web Module ViewControllerWebApp.war recognized in project ViewController.jpr [06:38:07 PM] ---- Deployment started. ---- [06:38:07 PM] Target platform is (Weblogic 12.x). [06:38:10 PM] Retrieving existing application information [06:38:11 PM] Running dependency analysis... [06:38:11 PM] Deploying 2 profiles... [06:38:20 PM] Wrote Web Application Module to C:\Users\TANVIR\AppData\Roaming\JDeveloper\system12.2.1.0.42.151011.0031\o.j2ee\drs\ElizaSoft\ViewControllerWebApp.war [06:38:22 PM] Wrote Enterprise Application Module to C:\Users\TANVIR\AppData\Roaming\JDeveloper\system12.2.1.0.42.151011.0031\o.j2ee\drs\ElizaSoft [06:38:23 PM] Deploying 3 data source(s) to the server... [06:38:24 PM] Deploying Application... <Jan 3, 2016 6:38:35 PM PKT> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID "2192494870412" for task "0" on [partition-name: DOMAIN]. Error is: "weblogic.application.ModuleException: java.sql.SQLException: ORA-28001: the password has expired " weblogic.application.ModuleException: java.sql.SQLException: ORA-28001: the password has expired at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:402) at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:100) at weblogic.application.internal.flow.ModuleStateDriver$1.next(ModuleStateDriver.java:196) at weblogic.application.internal.flow.ModuleStateDriver$1.next(ModuleStateDriver.java:191) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:45) Truncated. see log file for complete stacktrace Caused By: java.sql.SQLException: ORA-28001: the password has expired at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:466) at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:399) at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:391) at oracle.jdbc.driver.T4CTTIfun.processError(T4CTTIfun.java:1126) at oracle.jdbc.driver.T4CTTIoauthenticate.processError(T4CTTIoauthenticate.java:507) Truncated. see log file for complete stacktrace > <Jan 3, 2016 6:38:36 PM PKT> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application "ElizaSoft".> <Jan 3, 2016 6:38:36 PM PKT> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004 weblogic.application.ModuleException: java.sql.SQLException: ORA-28001: the password has expired at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:402) at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:100) at weblogic.application.internal.flow.ModuleStateDriver$1.next(ModuleStateDriver.java:196) at weblogic.application.internal.flow.ModuleStateDriver$1.next(ModuleStateDriver.java:191) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:45) Truncated. see log file for complete stacktrace Caused By: java.sql.SQLException: ORA-28001: the password has expired at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:466) at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:399) at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:391) at oracle.jdbc.driver.T4CTTIfun.processError(T4CTTIfun.java:1126) at oracle.jdbc.driver.T4CTTIoauthenticate.processError(T4CTTIoauthenticate.java:507) Truncated. see log file for complete stacktrace > [06:38:36 PM] Deployment cancelled. [06:38:37 PM] ---- Deployment incomplete ----. [06:38:37 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer) #### Cannot run application ElizaSoft due to error deploying to IntegratedWebLogicServer. [06:38:37 PM] Cancel requested [Application ElizaSoft stopped and undeployed from IntegratedWebLogicServer]
But I got back to the top of the same request for the same user and password but it works and do not give the error.
Help, please.
Concerning
Mr President
I just want to remove the old conn ide and create a new ide conn and add to the application and it works
Concerning
-
java.sql.SQLException: SQLite.Exception: error in step
Hello
Anyone how can I find more information about the sql exception mentioned in the topic of this thread? Battery full below. Here is the code I have in the LifeCycleListenerImpl (application lifecycleListener) that leads to this error:
=======================================================================================
115 public void activate()
{116
try {117}
118
119 string appDir = AdfmfJavaUtilities.getDirectoryPathRoot (AdfmfJavaUtilities.ApplicationDirectory);
120 files dbFile = new file (appDir + leader. Separator "TEST - DATA.db");
121 string connStr = "jdbc:sqlite:" + dbFile.getAbsolutePath ();
122
123 connection connection = new SQLite.JDBCDataSource (connStr) .getConnection ();
124 theConnection.setAutoCommit (false);
125 PreparedStatement stmt = theConnection.prepareStatement ("PRAGMA journal_mode = WAL ;");
126 stmt.execute ();
127 stmt = theConnection.prepareStatement ("PRAGMA temp_store = MEMORY ;");
128 stmt.execute ();
129
130 / / theConnection.commit ();
131
132.}
133 catch (Exception e) {}
134 System.out.println ("* enable Exception *");
135 e.printStackTrace ();
136 System.out.println ("* enable Exception *");
137}
138}
=======================================================================================
java.sql.SQLException: SQLite.Exception: error in step
at SQLite.JDBC2z1.JDBCStatement.executeQuery (unknown Source)
at SQLite.JDBC2z1.JDBCPreparedStatement.execute (unknown Source)
on-demand. LifeCycleListenerImpl.activate (LifeCycleListenerImpl.java:125)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke (unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke (unknown Source)
at java.lang.reflect.Method.invoke (unknown Source)
at oracle.adfmf.util.BasicStateModel.executeLifecycleListeners (unknown Source)
at oracle.adfmf.util.BasicStateModel.transition (unknown Source)
at oracle.adfmf.util.BasicStateModel.transition (unknown Source)
at oracle.adfmf.framework.FeatureContextManager.activate (unknown Source)
at oracle.adfmf.framework.JavaFramework.main (unknown Source)
Caused by: SQLite.Exception: error in step
at SQLite.Vm.step (Native Method)
at SQLite.Database.get_table (unknown Source)
... 12 more
=======================================================================================
Kind regards
Majdi Jaqaman
Hello
OK, it's ridiculous, but just after I posted the message, I looked at the code for a few seconds and then I thought let me comment the 'theConnection.setAutoCommit (false); line and it seems that this was the cause of the error.
So I know that the solution to the problem, but someone who is a guru of sqlite and know how to investigate problems of sqlite like this is allowed to share his ideas basically, I would like to know if there is a systematic approach for debugging of problems where the sql exception does not provide much information.
Kind regards
Majdi Jaqaman
Maybe you are looking for
-
Having problems (said software) with my 4 s. Apple Support had me go back to ITunes and restore. Before restoring, I turned off location services instead of the suggested find my IPhone. Does make a difference? Should I restore again? Now, I get a ms
-
I just want to be able to block Facebook and some sites so that my child cannot have access to them.
-
Bluetooth and DVD on the Qosmio G-series problem
The icon of bluetooth devices is not listed in the control panel and I loaded a DVD but it will not eject. [Edited by: admin on July 7, 2007 19:16]The sons have been merged due to the better clarity.
-
8600 Officejet Pro 8600 no more stopped printing
I have an Officejet Pro 8600 Plus 8600 that I installed on my home wireless router. I use a Dell laptop with the Windows 7 operating system. I have installed the printer without a problem when I bought it a month ago. A few days ago, I tried to pr
-
I can't download the driver for HP Photosmart C4150 all-in-one
I can't download driver for printer all-in-one HP Photosmart C4150.