Application using JVM with IE embedded within it using its own JVM
I am developing on an application that uses JVM to run. Within this application an IE browser is being called. Subsequently IE browser is trying to run an applet which is trying to open another jvm.
It appears the version of Java I am using does not allow this. I believe this is fixed in a later release of java but don't know which one.
I must have tried about 5 or 6 different versions of java and each time either getting an ASDAS error or a registry HKEY_LOCAL_MACHINE error.
Any help would be appreciated.
Thanks
I am developing on an application that uses JVM to
run. Within this application an IE browser is being
called. Subsequently IE browser is trying to run an
applet which is trying to open another jvm.
It appears the version of Java I am using does not
allow this. I believe this is fixed in a later
release of java but don't know which one.
I must have tried about 5 or 6 different versions of
java and each time either getting an ASDAS error or a
registry HKEY_LOCAL_MACHINE error.
Huh?
How exactly are you embedding IE into your app?
Normally IE is a seperate process and in that case nothing that your original JVM is doing will have any impact on that.
Of course the environment space that the spawned IE is being run with could very well impact it.
Of course if you are actually embedding it in your app versus spinning up another process then that would not apply. But off hand I can't ever recall seeing an article that suggested IE could be embedded in another application.
And what do you mean the applet is trying to run a jvm?
An applet runs in a JVM. The only way an applet (or just a java app) can run a jvm is by using Runtime.exec() or via JNI. Is that what you are doing?
Similar Messages
-
PS CS6 has a different set of installed fonts than my old PS CS4. How do I get my old fonts back? Don't like most of the newer CS6 fonts. Dell Precision, Windows 7. Does PS use the fonts in the Windows directory or does it use its own? If so, where are they in the directory? A lot of my preferred fonts show in the Windows directory but not in Photoshop, which does not display them within the program. Please help. If I get free fonts (NOT CC fonts) from elsewhere, where do I put them for Photoshop[ CS6 to use them? Thanks.
All versions of Photoshop get their fonts from your OS. Just install any missing font wherever Windows keeps fonts.
I don't do windows myself. -
HT204391 How come Apple can't use its own software to create this guide as a pdf or an iBook?
Does Apple actually use its own software?
The woefully few manuals it manages to provide now are all created in Indesign and desperately need the critical eye of an editor to correct the errors, ommisions, obsolescence and plain confusing statements.
As Apple's efforts grow ever more obscure, awkward, contradictory and difficult to use, it tells it Users next to nothing about how they all work.LOL, I saw the points tally and thought at first you were opening a thread to motivate some ideas to pass back!
I assumed also that the points did not come from iBA and like others... were experienced and skilled dealing with Pages etc,.
Fact is Apple cloned iBA from Pages - which is basically a sound concept and suits a purpose.. but the cry as always been... "give us a decent manual". Apple in their wisdom apparently did not conceive that people would use iBA having never used pages. I actually purchased iWorks back in 2005 for my then new PowerPC G5 10.4.11 tried it and went back to MS Publisher!
18 months or more on depending on iBA's release, most users are pretty much capable now but a few new comers from other software packages do seen to have trouble getting information to start up.
From Apples point of view.. their project worked, the software as it is as flooded the book store with product dedicated to iPads and therfore income for Apple only. I have no doubt the next update will deal with some of the isssues sent in as feedback.
Meanwhile, welcome to the club.........
from a not so sunny Central Coast! -
When I'm working with my Ipad it locks on its own and every several minutes I have to unlock it. Help please
If your iPad was work provided there may be options that they locked out. For example, a privately owned device can be set to never auto lock (last I knew anyway) but it's not uncommon for work or school provided devices to not have the 'never' option.
-
Having trouble with iPad mini doing things on its own 2014 anybody got any results
Having trouble with iPad mini doing things on its own bought dec 2013 been great up until two weeks ago then it types on its own moves between apps flicks pages in my book. Does anyone know how to fix this.?
Probably a hardware problem. Call a Apple Support or take it to an Apple Store for evaluation.
-
Apparently, Firefox24 uses its own umask (0077) setting for downloaded files (in libxul.so ?) , whereas Firexfox23 seems to use the inherited umask from the calling process (0022 in my case).
Securitywise this is change fine, but in my case I need to use my own umask setting.
Anyway to specifies this ? (had checked about:config)
thanks !
Note:question https://support.mozilla.org/en-US/questions/971876?esab=a&as=aaq seems related, but IMHO an existing directory hasn't a umask setting.hello trummel7, please try to upgrade to firefox 25 which got released today and should contain a fix for this issue. thank you!
-
OrdImage using its own database session?
Hello,
I have been searching on the Internet and this forums, but I am unable to find an answer to my question, so I am asking it here: I have noticed that when a user enters to a screen with an OrdImage being displayed in it, the application module opens 2 database sessions instead of one. Furthermore, if I comment the af:media component used to display the OrdImage and I repeat the same test, only one database session is created. So for some reason, the OrdImage is using a separate database session from the rest of the screen.
Does the OrdImage type really need its own session? Is it possible to make it use the screen's one? Using two database sessions in the same screen is kind of a waste of resources, especially when that screen has a lot of users (like the one where he have the issue).
Thank you
Jordi
PS: by the way, I am using JDeveloper 11.1.1.4.0.I have just found [this article|http://jobinesh.blogspot.com.es/2011/07/tips-on-using-afmedia-to-display.html] about OrdImage in ADF, and I see that the pagedef property CustomInputHandler="OrdDomainValueHandler" (which is already set in my application) is used to retrieve some information that cannot be get through the View Object. Is it possible that this property is the responsible for that second connection?
Jordi -
well, I had asked the same thing for version 24 - answer was that it's fixed in 25, which in fact it was.
Now, with 26, we're apparently back to Firefox setting its own umask, which is stricter than the inherited umask from the parent process. - any insights or reasons much appreciated. - thanks.Sorry, this is a long story, as you can read in this bug: [https://bugzilla.mozilla.org/show_bug.cgi?id=919076 919076 – Saved files permissions set incorrectly on Linux and Mac]. I believe it says the real fix is in Firefox 28, and was able to get "uplifted" to Firefox 27, but it was too late for Firefox 26.
-
Personal cloud application using my own server?
Is anybody using a personal cloud application for use on your own server?
I like Dropbox a lot, but would like to have a more private and larger storage cloud.
Thanks,
LukeI'd like to have online storage that was being put on server space of my own.
Basically I'd love my own version of Dropbox in which I have 4 or 5 computers that all can connect to these files.
Luke
BTW: I own a bicycle shop and I'd like more of the projects and pricelists in one place, but can be easily viewed and worked on from different computers. -
Oracle not using its own explain plan
When I run a simple select query on an indexed column on a large (30 million records) table oracle creates a plan using the indexed column and at a cost of 4. However, what it actually does is do a table scan (I can see this in the 'Long Operations' tab in OEM).
The funny thing is that I have the same query in a ADO application and when the query is run from there, the same plan is created but no table scan is done - and the query returns in less than a second. However, with the table scan it is over a minute.
When run through SQL plus Oracle creates a plan including the table scan at a cost of 19030.
In another (dot net) application I used the: "Alter session set optimizer_index_caching=100" and "Alter session set optimizer_index_cost_adj=10" to try to force the optimizer to use the index. It creates the expected plan, but still does the table scan.
The query is in the form of:
"Select * from tab where indexedcol = something"
Im using Oracle 9i 9.2.0.1.0
Any ideas as I'm completely at a loss?Hello
It sounds to me like this has something to do with bind variable peeking which was introduced in 9i. If the predicate is
indexedcolumn = :bind_variablethe first time the query is parsed by oracle, it will "peek" at the value in the bind variable and see what it is and will generate an execution plan based on this. That same plan will be used for matching SQL.
If you use a litteral, it will generate the plan based on that, and will generate a separate plan for each litteral you use (depending on the value of the cursor_sharing initialisation parameter).
This can cause there to be a difference between the execution plan seen when issuing EXPLAIN PLAN FOR, and the actual exectuion plan used when the query is run.
Have a look at the following example:
tylerd@DEV2> CREATE TABLE dt_test_bvpeek(id number, col1 number)
2 /
Table created.
Elapsed: 00:00:00.14
tylerd@DEV2> INSERT
2 INTO
3 dt_test_bvpeek
4 SELECT
5 rownum,
6 CASE
7 WHEN MOD(rownum, 5) IN (0,1,2,3) THEN
8 1
9 ELSE
10 MOD(rownum, 5)
11 END
12 END
13 FROM
14 dual
15 CONNECT BY
16 LEVEL <= 100000
17 /
100000 rows created.
Elapsed: 00:00:00.81
tylerd@DEV2> select count(*), col1 from dt_test_bvpeek group by col1
2 /
COUNT(*) COL1
80000 1
20000 4
2 rows selected.
Elapsed: 00:00:00.09
tylerd@DEV2> CREATE INDEX dt_test_bvpeek_i1 ON dt_test_bvpeek(col1)
2 /
Index created.
Elapsed: 00:00:00.40
tylerd@DEV2> EXEC dbms_stats.gather_table_stats( ownname=>USER,-
tabname=>'DT_TEST_BVPEEK',-
method_opt=>'FOR ALL INDEXED COLUMNS SIZE 254',-
cascade=>TRUE -
);PL/SQL procedure successfully completed.
Elapsed: 00:00:00.73
tylerd@DEV2> EXPLAIN PLAN FOR
2 SELECT
3 *
4 FROM
5 dt_test_bvpeek
6 WHERE
7 col1 = 1
8 /
Explained.
Elapsed: 00:00:00.01
tylerd@DEV2> SELECT * FROM TABLE(DBMS_XPLAN.display)
2 /
PLAN_TABLE_OUTPUT
Plan hash value: 2611346395
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 78728 | 538K| 82 (52)| 00:00:01 |
|* 1 | TABLE ACCESS FULL| DT_TEST_BVPEEK | 78728 | 538K| 82 (52)| 00:00:01 |
Predicate Information (identified by operation id):
1 - filter("COL1"=1)
13 rows selected.
Elapsed: 00:00:00.06The execution plan for col1=1 was chosen because oracle was able to see that based on the statistics, col1=1 would result in most of the rows from the table being returned.
tylerd@DEV2> EXPLAIN PLAN FOR
2 SELECT
3 *
4 FROM
5 dt_test_bvpeek
6 WHERE
7 col1 = 4
8 /
Explained.
Elapsed: 00:00:00.00
tylerd@DEV2> SELECT * FROM TABLE(DBMS_XPLAN.display)
2 /
PLAN_TABLE_OUTPUT
Plan hash value: 3223879139
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 21027 | 143K| 74 (21)| 00:00:01 |
| 1 | TABLE ACCESS BY INDEX ROWID| DT_TEST_BVPEEK | 21027 | 143K| 74 (21)| 00:00:01 |
|* 2 | INDEX RANGE SCAN | DT_TEST_BVPEEK_I1 | 21077 | | 29 (28)| 00:00:01 |
Predicate Information (identified by operation id):
2 - access("COL1"=4)
14 rows selected.
Elapsed: 00:00:00.04This time, the optimiser was able to see that col1=4 would result in far fewer rows so it chose to use an index. Look what happens however when we use a bind variable with EXPLAIN PLAN FOR - especially the number of rows the optimiser estimates to be returned from the table
tylerd@DEV2> var an_col1 NUMBER
tylerd@DEV2> exec :an_col1:=1;
PL/SQL procedure successfully completed.
Elapsed: 00:00:00.00
tylerd@DEV2>
tylerd@DEV2> EXPLAIN PLAN FOR
2 SELECT
3 *
4 FROM
5 dt_test_bvpeek
6 WHERE
7 col1 = :an_col1
8 /
Explained.
Elapsed: 00:00:00.01
tylerd@DEV2> SELECT * FROM TABLE(DBMS_XPLAN.display)
2 /
PLAN_TABLE_OUTPUT
Plan hash value: 2611346395
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 49882 | 340K| 100 (60)| 00:00:01 |
|* 1 | TABLE ACCESS FULL| DT_TEST_BVPEEK | 49882 | 340K| 100 (60)| 00:00:01 |
Predicate Information (identified by operation id):
1 - filter("COL1"=TO_NUMBER(:AN_COL1))
13 rows selected.
Elapsed: 00:00:00.04
tylerd@DEV2>
tylerd@DEV2> exec :an_col1:=4;
PL/SQL procedure successfully completed.
Elapsed: 00:00:00.01
tylerd@DEV2>
tylerd@DEV2> EXPLAIN PLAN FOR
2 SELECT
3 *
4 FROM
5 dt_test_bvpeek
6 WHERE
7 col1 = :an_col1
8 /
Explained.
Elapsed: 00:00:00.01
tylerd@DEV2> SELECT * FROM TABLE(DBMS_XPLAN.display)
2 /
PLAN_TABLE_OUTPUT
Plan hash value: 2611346395
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 49882 | 340K| 100 (60)| 00:00:01 |
|* 1 | TABLE ACCESS FULL| DT_TEST_BVPEEK | 49882 | 340K| 100 (60)| 00:00:01 |
Predicate Information (identified by operation id):
1 - filter("COL1"=TO_NUMBER(:AN_COL1))
13 rows selected.
Elapsed: 00:00:00.07For both values of the bind variable, the optimiser has no idea what the value will be so it has to make a calculation based on a formula which results in it estimating that the query will return roughly half of the rows in the table, and so it chooses a full scan.
Now when we actually run the query, the optimiser can take advantage of bind variable peeking and have a look at the value the first time round and base the execution plan on that:
tylerd@DEV2> exec :an_col1:=1;
PL/SQL procedure successfully completed.
Elapsed: 00:00:00.00
tylerd@DEV2> SELECT
2 *
3 FROM
4 dt_test_bvpeek
5 WHERE
6 col1 = :an_col1
7 /
80000 rows selected.
Elapsed: 00:00:10.98
tylerd@DEV2> SELECT prev_sql_id FROM v$session WHERE audsid=SYS_CONTEXT('USERENV','SESSIONID')
2 /
PREV_SQL_ID
9t52uyyq67211
1 row selected.
Elapsed: 00:00:00.00
tylerd@DEV2> SELECT
2 operation,
3 options,
4 object_name
5 FROM
6 v$sql_plan
7 WHERE
8 sql_id = '9t52uyyq67211'
9 /
OPERATION OPTIONS OBJECT_NAME
SELECT STATEMENT
TABLE ACCESS FULL DT_TEST_BVPEEK
2 rows selected.
Elapsed: 00:00:00.03It saw that the bind variable value was 1 and that this would return most of the rows in the table so it chose a full scan.
tylerd@DEV2> exec :an_col1:=4
PL/SQL procedure successfully completed.
Elapsed: 00:00:00.00
tylerd@DEV2> SELECT
2 *
3 FROM
4 dt_test_bvpeek
5 WHERE
6 col1 = :an_col1
7 /
20000 rows selected.
Elapsed: 00:00:03.50
tylerd@DEV2> SELECT prev_sql_id FROM v$session WHERE audsid=SYS_CONTEXT('USERENV','SESSIONID')
2 /
PREV_SQL_ID
9t52uyyq67211
1 row selected.
Elapsed: 00:00:00.00
tylerd@DEV2> SELECT
2 operation,
3 options,
4 object_name
5 FROM
6 v$sql_plan
7 WHERE
8 sql_id = '9t52uyyq67211'
9 /
OPERATION OPTIONS OBJECT_NAME
SELECT STATEMENT
TABLE ACCESS FULL DT_TEST_BVPEEK
2 rows selected.
Elapsed: 00:00:00.01Even though the value of the bind variable changed, the optimiser saw that it already had a cached version of the sql statement along with an execution plan, so it used that rather than regenerating the plan. We can check the reverse of this by causing the statement to be invalidated and re-parsed - there's lots of ways, but I'm just going to rename the table:
Elapsed: 00:00:00.03
tylerd@DEV2> alter table dt_test_bvpeek rename to dt_test_bvpeek1
2 /
Table altered.
Elapsed: 00:00:00.01
tylerd@DEV2>
20000 rows selected.
Elapsed: 00:00:04.81
tylerd@DEV2> SELECT prev_sql_id FROM v$session WHERE audsid=SYS_CONTEXT('USERENV','SESSIONID')
2 /
PREV_SQL_ID
6ztnn4fyt6y5h
1 row selected.
Elapsed: 00:00:00.00
tylerd@DEV2> SELECT
2 operation,
3 options,
4 object_name
5 FROM
6 v$sql_plan
7 WHERE
8 sql_id = '6ztnn4fyt6y5h'
9 /
OPERATION OPTIONS OBJECT_NAME
SELECT STATEMENT
TABLE ACCESS BY INDEX ROWID DT_TEST_BVPEEK1
INDEX RANGE SCAN DT_TEST_BVPEEK_I1
3 rows selected.
80000 rows selected.
Elapsed: 00:00:10.61
tylerd@DEV2> SELECT prev_sql_id FROM v$session WHERE audsid=SYS_CONTEXT('USERENV','SESSIONID')
2 /
PREV_SQL_ID
6ztnn4fyt6y5h
1 row selected.
Elapsed: 00:00:00.01
tylerd@DEV2> SELECT
2 operation,
3 options,
4 object_name
5 FROM
6 v$sql_plan
7 WHERE
8 sql_id = '6ztnn4fyt6y5h'
9 /
OPERATION OPTIONS OBJECT_NAME
SELECT STATEMENT
TABLE ACCESS BY INDEX ROWID DT_TEST_BVPEEK1
INDEX RANGE SCAN DT_TEST_BVPEEK_I1
3 rows selected.This time round, the optimiser peeked at the bind variable the first time the statement was exectued and found it to be 4, so it based the execution plan on that and chose an index range scan. When the statement was executed again, it used the plan it had already executed.
HTH
David -
Problem with Solution Manager wanting to adjust its own instance
I have a situation where under my landscape components --> systems in SMSY where I have a "yellow" exclamation point in a box that says "newer version exists" for my existing solution manager. When I try to adjust, it doesn't let me select the system because they are on the same host. Therefore, I can't do the adjustment. What is the problem? Any ideas how I can do this adjustment? Thanks. This is very important. Thanks.,
Thanks Ragu. I've dug a little deeper and this is what is happening when I try to assign the Solution Manager instance to a logical component:
I receive an "instance
adjustment required" message for the actual solution manager instance
itself, so I had to manually set the product and set it to leading as
leading (even though there was no other solution manager instance).
This means that the solution manager system itself is set to manual
adjustment. I've gotten it to read from the SLD, but it is still acting as though it is missing a NetWeaver ABAP Server on the same host as the Solution Manager.
Here is what I do to get the above issue to reproduce:
I've done more trouble shooting and found that if I go to installed product versions in the Solution Manager System and click on Clean-up Inconsistencies, I get
the attached screenshot showing that a Product SAP NetWeaver with main instance "Application Server ABAP" is inconsistent (on the same server as the Solutiion Manager instance, the Solutioni Manager instance doesn't show up in the System landscape either). Cleaning up the inconsistency doesn't fix the problem (leaves Application Server ABAP) in place. Meaning when I try to fix the inconsistency it won't let me. Thanks for any help, I really need to figure this out. Thanks. -
HT4528 why wont my phone use its own data
For the last couple weeks my iphone has been having issues using it's own data. I had to switch back to my Droid.. I want my iPhone to work can you please help me.
no, not if you give us absolutely no details about your problem and how you tried to troubleshoot.
-
I have an embedded application running on a iMX31 (ARM 11) that does fairly high performance analog input (24 bit, 50K samples/second). I use Microsoft Visual Studio 2005 C/C++ for the develoment environment and have currently built versions of the application for Win CE 5.0 and 6.0 without Labview or NI hardware. I have used the NI 9234 with great success on several Labview applications in the past and I'd like to use the 9234 on this embedded application with VS2005 C/C++. The NI documentation hints that I should be able to do this (maybe I'm overly optimistic) and I'm wondering if anyone else has? I've tried the Evaluation versions of Labview Mobile and Labview Touch panel to build a C application using the NI DAQmx base C function inside Visual Studio without success. I can compile and link the ContAcq IntClk LV example project for an x86 platform using NIDAQmx but not for a ARM platform using NIDAQmxbase.lib. I get the same linker error error LNK2019: unresolved external symbol referred to in Knowledge Base Document ID 4HAEE7QQ even though I've set up (or think I've set up ) VS2005 as the KB article indicates.
If anyone has used the C functions and NIDAQmxbase library inside a VS2005 Smart Device project, I'd greatly appreciate your comments.
ThanksHello Gene,
I have been checking into this for you and have found out that what you are trying to do cannot be done. At least not in the current manner you are hoping for. The internal architecture of DAQmx Base requires the cross-compiling capability of the LabVIEW Mobile Module. While a stand-alone compiler can compile DAQmx Base calls for desktop processors, it cannot compile DAQmx Base calls for ARM.
If your application requirements exclude the LabVIEW toolchain, then the remaining option is the USB Driver Development Kit which is avaliable here, but you will have to contact your local field sales representative to discuss support
options as standard phone and e-mail support are not available for the
NI Measurement Hardware DDK.
NI Measurement Hardware Driver Development Kit
http://digital.ni.com/express.nsf/bycode/exyv4w?opendocument&lang=en&node=seminar_US
ColeR
Field Engineer -
Using GPIB-RS232 converter with an embedded application
Hi
I am quite new to GPIB, so this might be a rookie question Using my own embedded application I need to communicate with a couple of Agilent power sources to send commands and queries. I got a GPIB-RS232 converter from NI but I can't figure out from the online help wether I can directly write to the serial port attached to the NI GPIB-RS232 ans SCPI command. I would be grateful if you can help me out to find the documentation on how to communicate to several Agilent GPIB instruments connected to the NI GPIB-RS232 converter configured to work in mode S.
By the way, for testing I am developing the modules for my application on a desktop computer under linux using gcc c++ compiler.
Thank you!This might be useful: NI GPIB-RS232 Examples
There are only two ways to tell somebody thanks: Kudos and Marked Solutions -
Automating PDF which is embedded within SAP Application
Hi all,
I am facing the below mentioned problem.
Automating PDF which is embedded within SAP Application
In this case, we need to do some navigations within the PDF like selecting values in the drop-down, checking checkbox etc.
We tried installing Aptt plug-in in our system and recorded using the AcroQTP add-in but still the object gets recognized as one window object.
I tried with different combinations of selecting addins like SAP-Web-VB-AcroQTP, AcroQTP-Web and Acro-QTP.
In all the three cases, the PDF was recognized as one window object.
The details of the application and QTP is,
QTP - 9.5 version
IE - 6.0 version
Application Technology - SAP
Pls let me know if there are any work arounds for this problem.
Thanks,
Jayakrishna.SHi JaiKrishna,
I have encountered same problem while working SAP application. We have installed the following on our systems:
1. Acrobat 9.4
2. QTP 10
3. AcroQTP plugin
The addin manager displays the plugin but while recording/spying the objects are identified as WinObject on the PDF which is invoked through SAP application.
Could you or anyone from forum can help us out to solve this problem?
Many Thanks,
Deepthi
Maybe you are looking for
-
Hi, I have a bpel process which takes in a particular xml format and does some processing asynchronously. I am calling this bpel process from a web application which uses axis web service to call this application. Everything works fine when the xml i
-
Buss.Area not getting transferred to invoice list
Hi Gurus, hope u all r doin good outhere, i have an issue with bussiness area not getting populated or transferrred for Invoice list that are released to accounting . the scenario here is: in the accounting overview under the Billing Invoice(VF03) we
-
Hi Guys, Database version: 10g Would anyone help me out? how to parse this string 'Oct 08 2007 to Dec 14 2007 - Section 3'? My code which does not work: WITH T AS (SELECT 'Oct 08 2007 to Dec 14 2007 - Section 3' FROM dual) SELECT REGEXP_SU
-
Can we make apply join a column on which VPD policy applied in Oracle 10g
Hi, i am planning to apply a column level security using VPD concept into Oracle 10g but i have a one doubt. Suppose i am going to apply a VPD policy based on user priviliges on a column DEPTNO in EMP table so whenever a particular user logs in,he wi
-
DOWLOAD CS5.5 DESIGN STANDARD
Any one know where to dowload CS5.5 DESIGN STANDARD FULL VERSION? I have active product key.