Problem in rs.next() execution
Hai guys,
I had servlet program, this will call the DynamicProcedureDAO.getGroupData() method three times. Every time the getGroupData() method going to call the different oracle (10 g) stored procedure.
For first two times it works fine, because stored procedure handles fewer amounts of records. But for the third procedure call, system hanged in >> while (rs.next()) statement. I waited for the result almost 20-30 minutes, but i didn't get the result.
Third oracle procedure manipulate large amount of data. I ran the oracle procedure in database server, it work fine, it returns 60- to 100 rows.
For more information about code is given below.
Have you guys experienced any similar problem with Resultset before? Would really appreciate any help or tips from the experts here... thx...
Saravanan.
(Mail me : [email protected])
public class DynamicProcedureDAO extends DAO
�.
public ArrayList getGroupData(CCReportObject ccReportObject ,ReportFieldGroup reportFieldGroup) throws StorageException
Connection con = null;
CallableStatement cs = null;
ResultSet rs = null;
try
con = super.getConnection();
String sql = "{call "+ procName +" (?,?,?,?,?,?,?,?,?,?,?,?)}";
cs = con.prepareCall(sql);
�..
�..
cs.execute();
rs = ((OracleCallableStatement)cs).getCursor(12);
�
int j = rs.getMetaData().getColumnCount();
DwsLogs.CC_TRACE_LOG.logp(Level.INFO,"DynamicProcedureDAO", "getGroupData ", "Outside wile loop.");
while (rs.next())
DwsLogs.CC_TRACE_LOG.logp(Level.INFO,"DynamicProcedureDAO", "getGroupData ", " Inside While Loop");
The above DwsLogs statements is not executed.
To expand on schapel.
myObject.getClass().getMethod("myMethod2", new Class[0]).invoke(myObject, new Object[0]);will invoke the method called "myMethod2" on the Object myObject. The Class[] and Object[] arrays hold the ordered parameter types and values for the method respectively. In this case, myMethod2 is assumed to have no parameters.
Primitive parameters/return values in the reflection API are replaced by their wrapper classes. As an example, if I have a method called getInt on the class MyClass that takes a float and returns an int, then you would invoke it thus:
Integer i = new Integer(12);
Method m = MyClass.class.getMethod("getInt", new Class[]{ Float.TYPE });
Float float = (Float)m.invoke(myClassInstance, new Object[]{ i });
Float f = float.floatValue();When dynamically invoking a static method, you can supply null as the instance upon which to invoke the method
Similar Messages
-
Previous Executions Values Being Retained In The Next Execution In BPEL
Hello Everbody,
I am facing a very critical issue with the BPEL's on the Pre Production as well as Production environment and i kindly request for help from folks in the forum.
Basically there are 3 different web services and each of the web service has its respective BPEL; I will be calling a set of 1 web service and its respective BPEL as an interface, therefore there are 3 interfaces here.Currently all these 3 interfaces have the same issue which i am going to elaborate below in pre production and production environments. Strangely the same code works flawlessly in the development environment.The 3 web services are basically java classes.
The basic flow of the all the 3 interfaces is the same and is described below:_
The BPEL invokes the web service, these web services inturn creates an XML using JAXB(Marshalling) and returns the xml back to the BPEL; The BPEL then send this XML to a B2B system which validates this XML and processes the same. Once processed it returns the responses of processing back to the BPEL. The BPEL again invokes the web service and passes these responses from the B2B system and the web services inturn updates these responses back to the database.All the 3 interfaces have the same flow
The issue description is as follows:_
The issue is that after a particular execution some critical values (Based on which the web services updates the responses from the B2B system back to the database) are carried on to the next execution there by in this execution the updates happen for the wrong values.We have throughly examined the java web service code and the code looks functionally as well as logicaly correct moreover all the important variables within the java code have been initialized to null globally. Therefore when we check only the standalone web service code on the pre prod/prod environment it works fine the problem only arises when we run an end to end test involving the BPEL in pre prod and prod environment. This same set of code works totally fine in the development environment.
Well this issue is quite strange and all my efforts of solving it are going waste, Hence i would like to know if anyone in the forum has faced a similar problem or has any suggestions. It would also help if you guys can direct me to any web site where i can get some help about the sameHi,
Are you using correlations at all?
In your case, you would need to correlate (either at the invocation level or in the payload) between the initial invocation of the webservice and the subsequent webservice.
This kind of problems can come up if there is no correlation.
Regards,
Shanmu. -
Save all variables state for next execution
Hello everybody, I am trying to save all the variables values of my Main VI in order to have the exact same state (same settings, devices addresses, array or enum values and so on) on the next execution of the program.
My idea is to analyze each variable reference and to save its state (variable name+value) in a text data before the program is closed (or for example every 10 minutes).
The problem is that some of my programs have a complex structure (for example a Register Tab with an Array of Clusters with Arrays inside the cluster) and the subVI I developed is getting more and more complex (and I'm not scalable enough) so I am here to ask for ideas in order to reach my goal.
So far I developed a simple subVI that according to the Reference ClassID converts the reference to it's specific type and converts the information (variable name and variable value) to a string, and this works for Strings, Numeric, Boolean and Enum. When I have a Register Tab I analyze each page reference and the references in it, when I have an Array of something simple I run the SubVI, but when the element in the array is a cluster I have to analyze each element through my subVI and so on and so on.
As you can see the complexity grows very fast and I think recursive VI is probably an option (but I don't know how to develope it in my case).
Last but not least I have to find a way to code all those strings that describe the values so that I can read them and set all the values back.
I hope you can help me!! Thanks in advance!
Dario CassanitiThere's actually already a VI in OpenG that can be used to read and store all front panel controls as a variant in a .ini file.
-
Java program to calculate next execution time if one cron expression is giv
In my project requirement i wanted to have one function which will calculate next execution time using cron expression.
Here i have one cron expression which says every 25 minutes, i want to have one function which will be passed with cron expression and time and function should return next execution time.
I was wondering if any ready function available for the same.
Thanks in Advance[Did you check here?|http://www.lmgtfy.com/?q=java+cron+expression]
-
Problem in Adobe Form Execution
Hi,
I am getting an error "ADS: SOAP Runtime Exception: CSoapExceptioFault: SOAP(100102)" while executing Adobe Form.
It seems the ADS configuratoin is not correct. Can some help me out in fixing this issue.Hi Sathish,
To check the Present configuration do the following:
1.1 Checking by Executing Test Report FP_TEST_00
Use
This test report checks if your system is configured correctly for processing forms in an ABAP environment.
Procedure
1. Log on to your SAP Net Weaver AS ABAP.
2. Call transaction SA38 and enter the name FP_TEST_00.
3. Choose Execute (F8). A dialog box is displayed.
4. Enter FP_TEST_00 in the field Form.
This is displayed as the default form name.
5. Enter the name of the connection to the ADS. Enter the default name ADS, or, if you have specified another name, the one you are using in your system.
6. In the dialog box, choose Output in Print Preview.
7. Enter an appropriate device type in the field Output Device.
8. Choose Print Preview.
On successful execution of the report, you find the Print Preview of the PDF form.
If the Configuration is not correcr no form is displayed.
The following steps are only necessary, if the result of the above test was not successful.
2. Check the ABAP Connection
3. Check the User and Password
4. Check the Destination Service
1.2 Checking the ABAP Connection
Use
This is a test for checking the RFC destination. This test applies to both connections using Basic Authentication and SSL connections.
Procedure
1. Log on to your SAP system.
2. Call transaction SE38.
3. Enter the name of the test report FP_PDF_TEST_OO.
4. Enter the name of the connection. Enter the default name ADS, or, if you have specified another name, the one you are using in your system.
5. Choose Execute (F8).
Result
If the configuration is correct, the system displays the version number of the Adobe document services.
If the configuration is not correct, the system displays a corresponding message.
or
Go to the following link to download the complete ADS configuration guide:
[https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9e4e9afb-0701-0010-f8a8-b8cd093662c2]
Hope to solve your problem.
Regards,
Vaibhav Tiwari. -
Problem with the package execution
Hi Guys,
I am getting the problem while executin the package for 1 of the interface named PRE_SYNC_EX_ARMY_VEH_DEL.
I am looking in the operator as at the first session task is in the process(running mode) with "DROP FLOW TABLE" as the message while all other sessions tasks are in the waiting mode related to that interface named PRE_SYNC_EX_ARMY_VEH_DEL.
But when i see to description of last session task (ie Drop flow table) of the previous interface ie PRE_SYNC_AXLE_DELNR ,it is like *"Flow table is still locked in open transaction=>Drop flow table skipped"*
The source tables are EX_ARMY_VEH_TMP and CONTROL_DEL & target table is CONTROL_DEL
All the three tables are in the same schema named RTO_STAGE.Not sure what error message, is the one "est introuvable.
Cette erreur est retournée par la collection Connections lorsque l'élément de connexion spécifique est introuvable"?
So, here is in short: the ForEach Loop once in its beginning of operation "senses" the files currently present in the working folder. If a new file arrives after this stage, it will not see it.
In your case it seems that the ForEach "saw" a file at the beginning, but it was gone at the time the processing wanted it for execution.
Like many above indicated, the common practice, call
it elegant or not is to indeed move the files to a different directory (working folder). This is done to avoid collisions with some other activity in that folder.
Furthermore, you can have all the files deleted using a ForEach against the working folder as say in
http://beyondrelational.com/modules/2/blogs/88/posts/10178/ssis-delete-files-from-specified-folder-using-file-system-task-in-sql-server.aspx And there is no need to delete the working folder
itself.
The job is run in SQL Server's Agent
need to be set to run using a domain proxy account as it needs write access to the file system.
Arthur My Blog -
30EA4 Problem using MySql: "Query execution was interrupted"
Any query executes the first time but a second execution always causes the error "Query execution was interrupted"
(Update: I just installed the prodcution release of sql delveloper 2.1.1.64.45 and have the same issue)
I am using MySql driver 5.1.15
Others seem to have a similar issue and I tries the older JDBC drivers but the 5.0.4 cause the connection to hang and the 5.0.8 caused the same problem "Query execution was interrupted"
Vendor Code 1317 Query execution was interrupted MySQL
I am using Windows7 64 bit (sql developer and jdk are 32 bit), see below
MySql version
-------------------------------------------------------+
| Variable_name | Value |
-------------------------------------------------------+
| innodb_version | 1.1.4 |
| protocol_version | 10 |
| slave_type_conversions | |
| version | 5.5.8 |
| version_comment | MySQL Community Server (GPL) |
| version_compile_machine | x86 |
| version_compile_os | Win64 |
-------------------------------------------------------+
SQL Develper Info:
About
Oracle SQL Developer 3.0.03
Version 3.0.03
Build MAIN-03.97
Copyright © 2005, 2011 Oracle. All Rights Reserved.
IDE Version: 11.1.1.4.37.59.36
Product ID: oracle.sqldeveloper
Product Version: 11.1.2.03.97
Version
Component Version
========= =======
Java(TM) Platform 1.6.0_24
Oracle IDE 3.0.03.97
Versioning Support 3.0.03.97
Properties
Name Value
==== =====
awt.toolkit sun.awt.windows.WToolkit
class.load.environment oracle.ide.boot.IdeClassLoadEnvironment
class.load.log.level CONFIG
class.transfer delegate
file.encoding Cp1252
file.encoding.pkg sun.io
file.separator \
http.agent Mozilla/5.0 (Java 1.6.0_24; Windows 7 6.1 x86; en_IE) ICEbrowser/v6_1_3
ice.browser.forcegc false
ice.pilots.html4.ignoreNonGenericFonts true
ice.pilots.html4.tileOptThreshold 0
ide.AssertTracingDisabled true
ide.bootstrap.start 7381246437329
ide.build MAIN-03.97
ide.conf C:\Program Files (x86)\sqldeveloper\sqldeveloper\bin\sqldeveloper.conf
ide.config_pathname C:\Program Files (x86)\sqldeveloper\sqldeveloper\bin\sqldeveloper.conf
ide.debugbuild false
ide.devbuild false
ide.extension.search.path sqldeveloper/extensions:jdev/extensions:ide/extensions
ide.firstrun true
ide.java.minversion 1.6.0_04
ide.launcherProcessId 2204
ide.main.class oracle.ide.boot.IdeLauncher
ide.patches.dir ide/lib/patches
ide.pref.dir C:\Users\mark\AppData\Roaming\SQL Developer
ide.pref.dir.base C:\Users\mark\AppData\Roaming
ide.product oracle.sqldeveloper
ide.shell.enableFileTypeAssociation C:\Program Files (x86)\sqldeveloper\sqldeveloper.exe
ide.splash.screen splash.gif
ide.startingArg0 C:\Program Files (x86)\sqldeveloper\sqldeveloper.exe
ide.startingcwd C:\Program Files (x86)\sqldeveloper
ide.user.dir C:\Users\mark\AppData\Roaming\SQL Developer
ide.user.dir.var IDE_USER_DIR
ide.vcs.noapplications true
ide.work.dir C:\Users\mark\Documents\SQL Developer
ide.work.dir.base C:\Users\mark\Documents
ilog.propagatesPropertyEditors false
java.awt.graphicsenv sun.awt.Win32GraphicsEnvironment
java.awt.printerjob sun.awt.windows.WPrinterJob
java.class.path ..\..\ide\lib\ide-boot.jar
java.class.version 50.0
java.endorsed.dirs C:\Program Files (x86)\Java\jdk1.6.0_24\jre\lib\endorsed
java.ext.dirs C:\Program Files (x86)\Java\jdk1.6.0_24\jre\lib\ext;C:\Windows\Sun\Java\lib\ext
java.home C:\Program Files (x86)\Java\jdk1.6.0_24\jre
java.io.tmpdir C:\Users\mark\AppData\Local\Temp\
java.library.path C:\Program Files (x86)\sqldeveloper;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\WIDCOMM\Bluetooth Software\;C:\Program Files\WIDCOMM\Bluetooth Software\syswow64;C:\Program Files\TortoiseSVN\bin;C:\Program Files\SlikSvn\bin\;C:\Program Files (x86)\Java\jdk1.6.0_24\bin;C:\Program Files (x86)\OpenVPN\bin;C:\tools\apache-maven-3.0.2\bin;C:\tools\mysql-5.5.8-winx64\bin
java.naming.factory.initial oracle.javatools.jndi.LocalInitialContextFactory
java.protocol.handler.pkgs oracle.jdevimpl.handler
java.runtime.name Java(TM) SE Runtime Environment
java.runtime.version 1.6.0_24-b07
java.specification.name Java Platform API Specification
java.specification.vendor Sun Microsystems Inc.
java.specification.version 1.6
java.util.logging.config.file logging.conf
java.vendor Sun Microsystems Inc.
java.vendor.url http://java.sun.com/
java.vendor.url.bug http://java.sun.com/cgi-bin/bugreport.cgi
java.version 1.6.0_24
java.vm.info mixed mode
java.vm.name Java HotSpot(TM) Client VM
java.vm.specification.name Java Virtual Machine Specification
java.vm.specification.vendor Sun Microsystems Inc.
java.vm.specification.version 1.0
java.vm.vendor Sun Microsystems Inc.
java.vm.version 19.1-b02
jdbc.library /C:/Program Files (x86)/sqldeveloper/jdbc/lib/ojdbc6.jar
line.separator \r\n
log.file.name ..//log/datamodeler.log
oracle.home C:\Program Files (x86)\sqldeveloper
oracle.ide.util.AddinPolicyUtils.OVERRIDE_FLAG true
oracle.jdbc.mapDateToTimestamp false
oracle.translated.locales de,es,fr,it,ja,ko,pt_BR,zh_CN,zh_TW
oracle.xdkjava.compatibility.version 9.0.4
orai18n.library /C:/Program Files (x86)/sqldeveloper/jlib/orai18n.jar
os.arch x86
os.name Windows 7
os.version 6.1
path.separator ;
reserved_filenames con,aux,prn,lpt1,lpt2,lpt3,lpt4,lpt5,lpt6,lpt7,lpt8,lpt9,com1,com2,com3,com4,com5,com6,com7,com8,com9,conin$,conout,conout$
sqldev.debug false
sun.arch.data.model 32
sun.boot.class.path C:\Program Files (x86)\Java\jdk1.6.0_24\jre\lib\resources.jar;C:\Program Files (x86)\Java\jdk1.6.0_24\jre\lib\rt.jar;C:\Program Files (x86)\Java\jdk1.6.0_24\jre\lib\sunrsasign.jar;C:\Program Files (x86)\Java\jdk1.6.0_24\jre\lib\jsse.jar;C:\Program Files (x86)\Java\jdk1.6.0_24\jre\lib\jce.jar;C:\Program Files (x86)\Java\jdk1.6.0_24\jre\lib\charsets.jar;C:\Program Files (x86)\Java\jdk1.6.0_24\jre\lib\modules\jdk.boot.jar;C:\Program Files (x86)\Java\jdk1.6.0_24\jre\classes
sun.boot.library.path C:\Program Files (x86)\Java\jdk1.6.0_24\jre\bin
sun.cpu.endian little
sun.cpu.isalist pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86
sun.desktop windows
sun.io.unicode.encoding UnicodeLittle
sun.java2d.ddoffscreen false
sun.jnu.encoding Cp1252
sun.management.compiler HotSpot Client Compiler
sun.os.patch.level
svnkit.sax.useDefault true
user.country IE
user.dir C:\Program Files (x86)\sqldeveloper\sqldeveloper\bin
user.home C:\Users\mark
user.language en
user.name mark
user.timezone Europe/Paris
user.variant
windows.shell.font.languages
Extensions
Name Identifier Version Status
==== ========== ======= ======
Check For Updates oracle.ide.webupdate 11.1.1.4.37.59.36 Loaded
Code Editor oracle.ide.ceditor 11.1.1.4.37.59.36 Loaded
Component Palette oracle.ide.palette1 11.1.1.4.37.59.36 Loaded
Data Miner oracle.dmt.dataminer 11.2.0.1.9.96 Loaded
Database Connection Support oracle.jdeveloper.db.connection 11.1.1.4.37.59.36 Loaded
Database Object Explorers oracle.ide.db.explorer 11.1.1.4.37.59.36 Loaded
Database UI oracle.ide.db 11.1.1.4.37.59.36 Loaded
Diagram Framework oracle.diagram 11.1.1.4.37.59.36 Loaded
Diagram Javadoc Extension oracle.diagram.javadoc 11.1.1.4.37.59.36 Loaded
Diagram Thumbnail oracle.diagram.thumbnail 11.1.1.4.37.59.36 Loaded
Diff/Merge oracle.ide.diffmerge 11.1.1.4.37.59.36 Loaded
Extended IDE Platform oracle.javacore 11.1.1.4.37.59.36 Loaded
External Tools oracle.ide.externaltools 11.1.1.4.37.59.36 Loaded
File Support oracle.ide.files 11.1.1.4.37.59.36 Loaded
Help System oracle.ide.help 11.1.1.4.37.59.36 Loaded
History Support oracle.jdeveloper.history 11.1.1.4.37.59.36 Loaded
Import/Export Support oracle.ide.importexport 11.1.1.4.37.59.36 Loaded
Index Migrator support oracle.ideimpl.indexing-migrator 11.1.1.4.37.59.36 Loaded
JDeveloper Runner oracle.jdeveloper.runner 11.1.1.4.37.59.36 Loaded
JViews Registration Addin oracle.diagram.registration 11.1.1.4.37.59.36 Loaded
Log Window oracle.ide.log 11.1.1.4.37.59.36 Loaded
Mac OS X Adapter oracle.ideimpl.apple 11.1.1.4.37.59.36 Loaded
Navigator oracle.ide.navigator 11.1.1.4.37.59.36 Loaded
Object Gallery oracle.ide.gallery 11.1.1.4.37.59.36 Loaded
Oracle IDE oracle.ide 11.1.1.4.37.59.36 Loaded
Oracle SQL Developer oracle.sqldeveloper 11.1.2.03.97 Loaded
Oracle SQL Developer - 3rd Party Database Browsers oracle.sqldeveloper.thirdparty.browsers 11.1.1.03.97 Loaded
Oracle SQL Developer - DBA Navigator oracle.sqldeveloper.dbanavigator 11.1.1.03.97 Loaded
Oracle SQL Developer - Extras oracle.sqldeveloper.extras 1.1.1.03.97 Loaded
Oracle SQL Developer - File Navigator oracle.sqldeveloper.filenavigator 11.1.1.03.97 Loaded
Oracle SQL Developer - Migrations Antlr3 Translator oracle.sqldeveloper.migration.translation.core_antlr3 11.1.1.03.97 Loaded
Oracle SQL Developer - Migrations Application Migration oracle.sqldeveloper.migration.application 11.1.1.03.97 Loaded
Oracle SQL Developer - Migrations Core oracle.sqldeveloper.migration 11.1.1.03.97 Loaded
Oracle SQL Developer - Migrations DB2 oracle.sqldeveloper.migration.db2 11.1.1.03.97 Loaded
Oracle SQL Developer - Migrations DB2 Translator oracle.sqldeveloper.migration.translation.db2 11.1.1.03.97 Loaded
Oracle SQL Developer - Migrations Microsoft Access oracle.sqldeveloper.migration.msaccess 11.1.1.03.97 Loaded
Oracle SQL Developer - Migrations Microsoft SQL Server oracle.sqldeveloper.migration.sqlserver 11.1.1.03.97 Loaded
Oracle SQL Developer - Migrations MySQL oracle.sqldeveloper.migration.mysql 11.1.1.03.97 Loaded
Oracle SQL Developer - Migrations Sybase Adaptive Server oracle.sqldeveloper.migration.sybase 11.1.1.03.97 Loaded
Oracle SQL Developer - Migrations T-SQL Translator oracle.sqldeveloper.migration.translation.core 11.1.1.03.97 Loaded
Oracle SQL Developer - Migrations Teradata oracle.sqldeveloper.migration.teradata 11.1.1.03.97 Loaded
Oracle SQL Developer - Migrations Translation UI oracle.sqldeveloper.migration.translation.gui 11.1.1.03.97 Loaded
Oracle SQL Developer - Object Viewer oracle.sqldeveloper.oviewer 11.1.1.03.97 Loaded
Oracle SQL Developer - Real Time SQL Monitoring oracle.sqldeveloper.sqlmonitor 11.1.1.03.97 Loaded
Oracle SQL Developer - Reports oracle.sqldeveloper.report 11.1.1.03.97 Loaded
Oracle SQL Developer - Scheduler oracle.sqldeveloper.scheduler 11.1.1.03.97 Loaded
Oracle SQL Developer - Schema Browser oracle.sqldeveloper.schemabrowser 11.1.1.03.97 Loaded
Oracle SQL Developer - SearchBar oracle.sqldeveloper.searchbar 11.1.1.03.97 Loaded
Oracle SQL Developer - Snippet oracle.sqldeveloper.snippet 11.1.1.03.97 Loaded
Oracle SQL Developer - Spatial oracle.sqldeveloper.spatial 11.1.1.03.97 Loaded
Oracle SQL Developer - TimesTen oracle.sqldeveloper.timesten 2.0.0.03.97 Loaded
Oracle SQL Developer - Tuning oracle.sqldeveloper.tuning 11.1.1.03.97 Loaded
Oracle SQL Developer - Unit Test oracle.sqldeveloper.unit_test 11.1.1.03.97 Loaded
Oracle SQL Developer - User Extensions Support oracle.sqldeveloper.userextensions 11.1.1.03.97 Loaded
Oracle SQL Developer - Worksheet v2 oracle.sqldeveloper.worksheet 11.1.1.03.97 Loaded
Oracle SQL Developer - XML Schema oracle.sqldeveloper.xmlschema 11.1.1.03.97 Loaded
Oracle SQL Developer Data Modeler oracle.datamodeler 3.0.0.665 Loaded
Oracle SQL Developer Data Modeler - Reports oracle.sqldeveloper.datamodeler_reports 11.1.1.03.97 Loaded
PROBE Debugger oracle.jdeveloper.db.debug.probe 11.1.1.4.37.59.36 Loaded
Peek oracle.ide.peek 11.1.1.4.37.59.36 Loaded
Persistent Storage oracle.ide.persistence 11.1.1.4.37.59.36 Loaded
Property Inspector oracle.ide.inspector 11.1.1.4.37.59.36 Loaded
QuickDiff oracle.ide.quickdiff 11.1.1.4.37.59.36 Loaded
Replace With oracle.ide.replace 11.1.1.4.37.59.36 Loaded
Runner oracle.ide.runner 11.1.1.4.37.59.36 Loaded
VHV oracle.ide.vhv 11.1.1.4.37.59.36 Loaded
Versioning Support oracle.jdeveloper.vcs 11.1.1.4.37.59.36 Loaded
Versioning Support for Subversion oracle.jdeveloper.subversion 11.1.1.4.37.59.36 Loaded
Virtual File System oracle.ide.vfs 11.1.1.4.37.59.36 Loaded
Web Browser and Proxy oracle.ide.webbrowser 11.1.1.4.37.59.36 Loaded
XML Editing Framework IDE Extension oracle.ide.xmlef 11.1.1.4.37.59.36 Loaded
audit oracle.ide.audit 11.1.1.4.37.59.36 Loaded
classpath: protocol handler extension oracle.jdeveloper.classpath 11.1.1.0.0 Loaded
jdukshare oracle.bm.jdukshare 11.1.1.4.37.59.36 Loaded
mof-xmi oracle.mof.xmi 11.1.1.4.37.59.36 Loaded
oracle.ide.dependency oracle.ide.dependency 11.1.1.4.37.59.36 Loaded
oracle.ide.indexing oracle.ide.indexing 11.1.1.4.37.59.36 Loaded
palette2 oracle.ide.palette2 11.1.1.4.37.59.36 Loaded
status oracle.ide.status 11.1.1.4.37.59.36 Loaded
Edited by: user501466 on 19-Mar-2011 03:21Hi Dermot,
Some clarification.
I have tried these 3 drivers below with the following results:
5.0.4 First Query succeeds, Second gives error "Unknown prepared statement handler (131072) given to mysqld_stmt_execute". At this point I can exit SQL Developer. If I run it a third time then the query does not complete and any attempt to exit SQL Developer results in "Connection is currently busy, try again?" and ultimately I have to kill it.
5.0.8 First Query succeeds, Second Query fails with Query execution was interrupted. Subsequent queries give the same result.
5.1.15 Same as 5.0.8
I tried your suggestion, removed the driver, restarted, installed the 5.0.4 driver and restated and ran the test,
(I added a drop table so I could run it repeatedly) and it works repeatedly if I choose "Run as script F5".
DROP TABLE table1;
CREATE TABLE table1(col1 int);
INSERT INTO Table1 values(1);
SELECT * FROM table1;
SELECT * FROM table1;
But If I execute the query "select * from table1" using "Run Statement Ctrl-Enter" twice then I get problem behaviour as described above.
I looked in the logfile for SQLDeveloper but it was empty.
I also tried creating a new database as root and connecting as root (same result)
I also tried the NightlyBuild of 5.1 and 6.0 but gave the same result as 5.1.5.
I have two other tools for accessing MySql: Toad and MySql workbench, both of which work but I've used SQL Developer with Oracle for some years and would like to keep using it.
I just tried connecting to a remote MySQL database and that seems to work without problems.
I'm thinking it may be related to some incompatibility between SQLDeveloper and the MySQL installed locally.
I'll try another version....
Ok I installed a 32 bit version of MySql 5.5.10. I thought things were working but now I still get the problem but it is much more intermittent.
Now I can get it by modifying the query ie.
select * from table1; (works repeatedly untill followed by a change to the query)
select * from table1 order by col1; (fails)
Another case
select * from table1 order by col1; (works repeatedly)
select * from table1 order by col1 asc; (fails first time)
very weird...
Edited by: user501466 on 26-Mar-2011 06:19 -
Problem in synchronizing two executions
One execution (not in loop structure) is to run vi-A to move a motor by certain distance. Another execution is a loop struction, and in each loop execution vi-B inside it acquires current motor position.
I hope to synchronize this two executions so that when the motor just begin to move, the vi-B simultaneously begin to acquire position. However, I always failed to synchronize them. In the position ~ time plot, there are always a short beginning period where position is zero.
Any suggestion on solving this problem? Thanks a lot.
DejunMy first thought is why make it into two separate threads? It may be easier to have it move then read position in a loop. This would simplify the problem and make things easier.
If you need to use threads I have two thoughts. Use LabVIEW 8.0 Shared Variable to share information between the two threads. You can also FIFO commands using the Shared Variable. Second thought is that you may be overrunning one of the threads. You can probably read faster that you can move so put loop count indicators on the front panel to see how many iterating each thread has run. You may be surprised by what you see.
Let me know if this is any help. If not, fire me back a specific question and I will try to help,
Matt
Matthew Fitzsimons
Certified LabVIEW Architect
LabVIEW 6.1 ... 2013, LVOOP, GOOP, TestStand, DAQ, and Vison -
Problem with Windows Data Execution Prevention
Hi. I'm running Safari 5.1.2 on Windows Vista Business. Whenever I try to print a web page (any page) Windows reports a Data Execution Prevention and closes Safari. I can always print the same web page from IE, and I can always print to PDF. How do I fix?
LATE ADDENDUM: Now it won't let me print to PDF either. I will have to stop using Safari - which would be a great pity as it syncs bookmarks so well to my iPad and iPhoneI got this from someone.
Acrobat X not printing
I purchased Acrobat X several months ago and initially expereinced no problems printing. For the last week or so, I am unable to print PDF documents from Acrobat X. I can print successfully from any other program on my PC. I can also print successfully from Adobe Reader. However, when I open up the same PDF in Acrobat X, I click on print and select the defaul printer, a dialog box says my document is printed but nothing prints. The printer queue for the selected printer is blank.
Eldin Rammell 7 days ago
Voted Best Answer
Please refer to the article:http://kb2.adobe.com/cps/928/cpsid_92870.html
Rohit Anand answered 7 days ago | Comments (5) | New Comment | Report -
Problem going to next page after scratch off effect
Does anyone know what the problem we are having might be? We did the scratch off effect and it works on the page we created. Very nice. But we are unable to swipe to the next or previous page. Once the wipe away is done, we get stuck on that page. We can't move off of it. Any suggestions?
Add navigation buttons to the page or leave an empty space at the top or bottom that can be swiped.
-
Problem in static block execution
Hi all
i have a class which has a static block and a static method.For the first time i call the static method in the class its strange that its excuting a part of the static block and entering the method later and agian turning back to static block.
but for the secon time when i call the static method in that class its fine that static block is not executed..
here is the code of the class which contains static block and static method
public class LogServices
private static String propFilename="plas.properties";
private static String file="vdvd";
static
System.out.println("Inside static block");
try
System.out.println("Inside static block of Plasma Log Services ");
file=PropertyProvider.getProperty(propFilename,"Log4jprops"); // here i am calling another method in another class to get some string from properties
System.out.println("\n File is ********************************** "+file);
catch(Exception e)
System.out.println("Exception encountered the following Exception ["+e.getMessage()+"]");
System.out.println("Finished static block");
public static Logger initLog()
Logger logger=Logger.getLogger(PlasmaLogServices.class);
System.out.println("File in method is:"+file);
return logger;
and in my main program i am calling this
LogServices.initLog(); and the output i observed on the screen is
Inside static block
Inside static block of Plasma Log Services
File in method is:vdvd
File is ********************************** log.properties
Finished static block
if u look at the output after " Inside static block of Plasma Log Services" (part of static block) its enetering method where " File in method is:vdvd" is printed .
After some debugging i came to know that if i remove the line
file=PropertyProvider.getProperty(propFilename,"Log4jprops"); and replace it by file="log.properties";(mean hardcoded) then the static block executes and later that method executes.
can any one pls help me in this regard???The first time you instantiate a class
LogServices, it's static block is being
executed.
After you've instantiated the class, you call its
static method.
If you call the static method again, the
LogServices have their static block already
executed, so it won't be executed again.
I think that the execution of static block and static
method is not mixed, as you thought. I think it is
rather a logging issue. Most loggers do not guarantee
that logging-messages are output in correct order.
Regards, TomHello sir
tahnks for ur reply and i got that .the problem was in the propertyprovider class i had a static variable logger =PlasmaLogservices.initLog() ; and hence after that it was by passing to that static method and coming back again .
thanks for looking in to this -
Problem in LSMW backgound Execution
HI,
my LSMW is working properly in foreground.But it's giving error in back ground.I tested several times.Actually i added two screen fields in the existed recording.In the foreground it's giving info like field RPIPM-SZAEH doesn't exist in the screen SAPLIWP3 201.This is the screen field i added after recording.But i added in the screen SAPLIWP3 201.and one more information it's giving is Cursor field RMIPM-zeit doesn't exist in the screen.actually i did recording with this field , later i deleted this field.What i have to do to solve this problem.In error screen mode also it's showing this two informations, but the record is going to upload successfully.only it's giving error in back ground mode.
Thanks in Advance,
Avinash.Hi Avinash!
Have a look into field list of LSMW. There you will find a line BDC_CURSOR RMIPM-zeit. Delete this line or replace the field with an existing one. During recording, your cursor was placed in a now deleted field - so you have to adjust also this place.
In foreground you stop at an error, but cursor is automatically replaced to an other field - so you can save your entry without further changes. In background obviously first error (not existing field) stops execution.
Second error I can't analyze: you mentioned both times SAPLIWP3 201. Maybe you have to use a different subscreen. You can also create a second recording with just this field -> then you can see and copy correct field names and place in your first (big) recording.
Regards,
Christian -
Problem with Showing Next Button in Advanced Action
I'm having problem using advanced actions (using Captivate 5.5) to show the next button after the user clicks three other buttons on the page. I followed the directions here: http://blogs.adobe.com/captivate/2011/11/enabling-forced-navigation-for-your-interactive-s creens-in-adobe-captivate-5-5.html and also here: http://forums.adobe.com/message/4046433#4046433, although obviously not accurately. Here are some screen shots to show what I've done.
From the slide properties panel
The SSB_Completion Action
The Scope Action (the schedule and budget actions follow the same format)
And the slide timeline
Thanks for any help - I'm about ready to pull my hair out with this.
DebbieThe check, conditional action is triggered on entering which slide? If it is the same slide as where the buttons with the standard actions sit, this condition will never result in True.
I just answered a similar question in this thread:
http://forums.adobe.com/message/4454104#4454104
I think the best way is to have your present SSB.... action integrated in the different actions triggered by the buttons. Or is this not what you want: to have the Next button appear at the moment that the three other buttons have been clicked?
Lilybiri -
[TLD] problem when analysing "next-struts.tld"
Hi,
I need to deploy a big enterprise archive into OC4J, all is deployed but a problem persist. We have a TLD file for our costum tags and OC4J can't use it, I don't know why.
So, here is the problem:
2007-05-03 14:06:36.821 WARNING J2EE JSP-0003 Journalisation de cache TLD JSP :
2007-05-03 14:06:36.841 WARNING J2EE JSP-0027 Erreurs d'analyse de file:/C:/oc4j_extended_101310/j2ee/home/applications/next/carto72/WEB-INF/next-struts.tld
(in english: error analysing next-struts.tld)
So, because I get that error, when I access to the web-module "carto72", I get an other error:
500 Internal Server Error
OracleJSP : oracle.jsp.parse.JspParseException: /index.jsp: Ligne n° 6, <%@ taglib uri="http://www.star.be/next" prefix="next" %>
Erreur : "http://www.star.be/next" is not a registered TLD namespace.
I past for you the start of the "next-struts.tld" file:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE taglib
PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
"http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
<taglib>
<tlib-version>1.0</tlib-version>
<jsp-version>1.2</jsp-version>
<short-name>next</short-name>
<uri>http://www.star.be/next</uri>
<display-name>NeXt</display-name>
<description>STAR NeXt 7 Tag library</description>
<tag>
<name>active_button</name>
<tag-class>be.star.struts.widget.ActiveButtonTag</tag-class>
<body-content>JSP</body-content>
<description>
Get the active button of a group
</description>
<attribute>
<name>group</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
[a lot of tags]
</taglib>
I've tried to validate it with Eclipse, but it seem to be correct, and he is working into JBoss.
So, what's wrong with that TLD file ??? Can anyone help me please ?Please note that :
When I stop and restart OC4J, the error on TLD file gone when deploying, but still here because, same error when accessing my JSP (using module "carto72")... -
Problem with resultset.next inside 817 DB
I have a java class running inside 817 database.
I have a prepared statement that gets some records and loops through them and writes a record into another table.
The SQL statement should produce 3000 records but only 566 get logged in the loop.
I have looked at/tried everything. NOTHING seems wrong but jus tI dont get alll the records. The datatset is not truncated, records are missing ramdomly throught, ie recs 1-4 are OK then 5,6,7 are missing etc..
Anyone know what the prb might be, its really weird and driving me nuts
Rob
nullthank you for the pointers.
For the RS is empty I've done a check with
if(selectRs.next()!=null), even though
next() is never suppose to be null, Yeah, you needn't bother with that. It's never supposed to be null, and if it is, there's a bug in the executeQuery method.
?so that confuses
me. I've also put Sys.outs before & after the if
statement & found it never prints out the System.out
after the if(rs.next()). & I've stepped
through with my WAS Debugger as a last restort to see
what's going on. :$ So you're saying you put a print statement as the first statement right inside if (rs.next()) and it didn't get executed?
I did do as you suggested with the
count(*) & it did return a count of 1.You did that in your Java code? Changing only what you're selecting from those couple of columns to count(*), leaving the from and where alone?
I am catching the SQLException for the try but
nothing for the
a_ruleSyntax.equals(current_ruleSyntax).Not sure what you're saying here, and not sure what your catch block looks like.
I have put a System.out for if the equals returns
false.
Do you have any other ideas?Nope, sorry.
If your answers to my questions above are "yes, that's what I'm doing," then I'm out of ideas, unless there's some exception that you're smothering.
Maybe you are looking for
-
Word 2013 (Windows 7 64-bit) - Embed PDF as Icon Error
We have a process where we embed PDFs into a table in a Word document as an icon. This worked for us in Word 2010, but as soon as we upgraded to Word 2013 we started getting an error message. "The program used to create this object is Package. That
-
To find the application of a Table
hi folks, knidly suggest me to find out the application of a table through query mode. for ex: 'po_headers_all' table belongs to PO application. Thanks in advance
-
Organization Data in Quotations
Hi experts, Anybody knows where is stored (system table) the Organization Data referref to a Quotation? I tried to view the relationships in CRMD_ORDERADM_H but I'm not able to get it. Is there any way to allocate it withouth debugging process? Thank
-
Deploy HA Zones with Sun Cluster
Hi I have 2 physical Sol 10 Servers with a storedge array for the shared storage. I have installed Sun Cluster 3.3 on both nodes and sorted the quorum and shared drive using a zfs file system for a mount point Next i have installed a non global zone
-
Trying to fade in/out audio tracks over the top of stills. Help file says "click Timeline Viewer button" and then choose View > Show Clip Volume. I can't find any of those options in the main UI or menu options. Any help? Thanks in advance.