Using Java in APEX apps: loading with loadjava
I'm trying to load my .class and .jar files into the DB (11.1) with loadjava. Resolver issues abound. I've looked at the demo's provided with the DB and the Makefile shows a -oracleresolver parameter that I can't seem to find a definition for anywhere. Can anyone break it down for me into a standard resolver spec? It seems to make things go easier for me when I use it. The usual command string looks like this: loadjava -f -v -r -oracleresolver -o -u scott/tiger MyStuff.class
Thanks
Hi,
Refer oracle documentation:
http://download.oracle.com/docs/cd/B10500_01/java.920/a96659/02_load.htm
Regards,
Kartik Patel
http://patelkartik.blogspot.com/
http://apex.oracle.com/pls/apex/f?p=9904351712:1
Similar Messages
-
Java applications won't load with bridge installed
I am using JAWS (Job Access With Speech) by Freedom Scientific, version 4.02 which is supposed to work with the current version of the Access Bridge. I am also using Java 2 JDK 1.3.0 on an NT 4.0 system. When I turn on the java console window and run my applet from IE 5, the JAWS program crashes. When I turn off the java console window and run the applet with JAWS running, the applet does not load. The applet loads and runs fine without JAWS running. I will double-check the Access Bridge installation procedures to see if I missed something. Meanwhile, if anyone has some thoughts or suggestions, lemme know.
Thanks,
RodgerJust an update on this. I used the 1.3.0_05 version of the JDK and the applet worked!
-
How to use java security in a servelt with weblogic as a servlet engine?
Hi,
i want to use standard java security with a user defined permission in
servlet with wls 5.1 (Win nt) as a servelt engine.
WL-Home: f:\weblogic
Server: f:\weblogic\elan
Servlet: f:\weblogic\elan\elan\ServletGropsTest.class
The Servlet is registered in weblogic.properties:
weblogic.httpd.register.elan.ServletGropsTest=elan.ServletGropsTest
i've added this to the weblogic.policy:
grant codebase "file:f:/weblogic/elan/elan/" {
permission java.security.AllPermission;
The servlet code is:
SecurityManager m = System.getSecurityManager();
if (m != null) m.checkPermission(new AndisPermission("x","y"));
WLS throws the permission-exception:
Do Jul 18 11:54:54 GMT+02:00 2002:<E> <ServletContext-General> Servlet
failed with Exception
java.security.AccessControlException: access denied
(elan.AndisPermission x y)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java,
Compiled Code)
at java.lang.Exception.<init>(Exception.java, Compiled Code)
at java.lang.RuntimeException.<init>(RuntimeException.java,
Compiled Cod
at elan.ServletGropsTest.doGet(ServletGropsTest.java, Compiled
Code)
can anyone help?
regards
Andyran_t wrote:
...I am using java 1.3.Why are you using an utterly obsolete version of Java?
My program using log4j jar.
When i put the log4j.jar in a path that include spaces like "c:\Program files\",Try it as c:\Program%20files\ -
Can I send email using Java from my localhost(Tomcat) with Internet connect
Hi friends,
Please tell me can I send email from my localhost (Tomcat) using Java when my computer is connected to Internet?
I don't have any SMTP username or password or the like, as I found in some codes available in net.
Please suggest and any simple code if possible.
Please don't send me the link of JavaMail API to read.
---SujoyThank you for the link. Though I have not tested the provided code, I will test it.
--Sujoy -
Can i use java only for database transaction with vb as a front end
Hello All.
I am sorry,i don't know whether this location is the correct location to post my question or not
I have developed one application using complete vb only. That is completly desktop appliation and not suitable for centralized database. Is there any facility to keep my front end as same (vb application) and for the database transaction can i use jdbc? Is there any possibility to do that like View is vb based application and the database connectivity is only jdbc
If my thought is wrongplease execuse me.
thanks in advance
sowjanyaSounds like a really bad choice even if it was possible.
-
How can I load an applet using Java Plug-in?
I have written an applet and have tested with appletviewer, but I can't load it from a browser. Ghlin told me that I need to use Java Plug-in to load it. Please tell me how.
Click on the Products and API link at the top left of this page. Download the Java Plugin. Be sure to get the developers version. Inside that developer's version there is a tool called HTMLConverter. Run HTMLConverter on your HTML and it will modify the applet tag in such a way that if the user already has the Java Plugin then it will use it. IF not, then the user will be asked if he wants to download it.
-
BPM 11g integration with UCM11g using Java Enbedded acitivity
Hi Friends,
Can anyone throw some idea how to integration with BPM11g and UCM11g
We need to have a java code using Java Enbedded acitivity.
1) How to Connect to UCM 11g using java code any sample Java Embedded Code( we are connecting through RIDC)
2) How to Fetch the document from UCM using RIDC.
3) How to Close the Connection.
Hi friends,
My requirement was Using BPEL JAva Embedded Acitivity need to connect UCM by RIDC. Got SCAC exception. I could solve this today 3/12/2012... refer below link
Re: SCAC-50012 Got this exception when using BPEL Java Embedded Activity
But I have the actual thing.. as per my post..
Now I need to fetch the doc i.e.,
In UCM we have pdf documents i need to Download that document and show it in ADF UI using Java Embedded Activity.
Ie., Using Java Code I need to Download and Decode the PDF file using Java Embedded Activity after Connection with UCM. Save as a file in Local Machine then I need to Encode ads PDF and Show it to ADF UI.
Please experts its Quite Urgent!!
ThankQ!!
Regards,
Pavan
Edited by: BPM Fresher on Dec 3, 2012 8:12 PMHi experts...
Any solution for this.. Can any one help me on this...
Regards,
Pavan -
Apex application registered with sso as partner application
We have 1 apex app registered with sso and working properly.
I just registered a new apex application with sso. when i authenticate through sso, it directs me to the originally registered application.
I went in through the portal administrator app and verified my settings all pointed to the new application. I verified that my dad is set up correctly.
Any ideas?
APEX 2.0i did register and obtain the keys through portal admin.
to ensure i used the proper keys (i guess there is a possibility i used the keys from db1 registration) i re-ran regapp with the right keys but recieved the following output:
SQL> @regapp
Partner Application Configuration
Enter value for listener_token: HTML_DB:050iasphttp.xxx.na.xxx.com:7777
Enter value for site_id: EFBE3E14
Enter value for site_token: MSMXURH1EFBE3E14
Enter value for login_url: https://050iaspdb.xxx.na.xxx.com:4443/pls/orasso/orasso.wwsso_app_admin.ls_login
Enter value for encryption_key: 2EBDD126A3A40606
Enter value for ip_check: N
ERROR: Error in registration. Please try again
User-Defined Exception
Registration successful.
Listener token: HTML_DB:050iasphttp.xxx.na.xxx.com:7777
Site id : EFBE3E14
Site token : MSMXURH1EFBE3E14
Encryption key: 2EBDD126A3A40606
Login URL :
https://050iaspdb.xxx.na.xxx.com:4443/pls/orasso/orasso.wwsso_app_admi
n.ls_login
Logout URL :
https://050iaspdb.xxx.na.xxx.com:4443/pls/orasso/orasso.wwsso_app_admi
n.ls_logout
IP check : N
PL/SQL procedure successfully completed.
Commit complete.
No errors.
SQL>
...in spite of the error, i aske the app developer to try and use sso for db2. he now recieves:
User-Defined Exception
Error Error in wwv_flow_custom_auth_sso.process_success:l_sso_user_name:l_sess_id:: Please contact administrator.
OK
any ideas? -
BUG: retrieving NCHAR value using ViewObject returns "???" with OCI driver
Hi,
after upgrading JDeveloper to 10.1.3.1 we cannot use OCI JDBC drivers, because they don't work correctly - characters, that do not exist in database character set (EE8ISO8859P2 in our case) are converted to "?". Thin driver works well. We need to use OCI, because we had some issues with RAC with thin driver.
Test case is easy: create table with NCHAR column, populate with unicode data, create ViewObject to select from this table and it will work only with THIN and not with OCI driver. This worked well with 10.1.3.0. When I tried to directly connect to DB and select that table using java.sql.Statement, it worked with both drivers, that's why I suspect the mechanics inside ADF BC.
I logged a SR for this in Metalink, but try this way as well, for someone else could hit the same problem.
Thanks for any help,
ViliamHi,
after upgrading JDeveloper to 10.1.3.1 we cannot use OCI JDBC drivers, because they don't work correctly - characters, that do not exist in database character set (EE8ISO8859P2 in our case) are converted to "?". Thin driver works well. We need to use OCI, because we had some issues with RAC with thin driver.
Test case is easy: create table with NCHAR column, populate with unicode data, create ViewObject to select from this table and it will work only with THIN and not with OCI driver. This worked well with 10.1.3.0. When I tried to directly connect to DB and select that table using java.sql.Statement, it worked with both drivers, that's why I suspect the mechanics inside ADF BC.
I logged a SR for this in Metalink, but try this way as well, for someone else could hit the same problem.
Thanks for any help,
Viliam -
How to create pdf files dynamically using Java
I am new to java world. I got a task of generating dynamic pdf files using Java. I have tried with some third party APIs for generating pdf. But most of them are not so feasable. I am looking for source code for one such APIs so that I can build my custom requirements over it.
ThanksI am new to java world. I got a task of generating
dynamic pdf files using Java. I have tried with some
third party APIs for generating pdf. But most of
them are not so feasable. Which ones? What was wrong with them?
I am looking for source
code for one such APIs so that I can build my custom
requirements over it.What are your exact requirement? -
How can i digital sign a file using JAVA?
and how can i verify the digitially signed file was not altered by anyone using JAVA?
please provide me with the simpliest way to do this.
thanks a lot.I have no idea but you might want to take a look at :
http://java.sun.com/j2se/1.5.0/docs/guide/security/index.html
hth -
How to configure and use labview using java
I want to configure and use labview in my application using java, please help me out with a solution how i can configure it (like providing input to labview and getting output from labview in java ).
Thanks,
ATFDid you try a search?
Or: How Do I Integrate Java with National Instruments Software Products? -
How to retrieve CPU id in linux using java?
Hello everyone!!
I want to retrieve CPU Id from a liux system using java code.
Please reply with code if possible.
Thank you in advance.Open "/proc/cpuinfo" and parse.
-
Fastest way to remove html tags except url in href from string using java
Hi All,
Please suggest the, fastest way to remove html tags (stripe) except url in href of an anchor tag from string using java.
Please help me with the best solution as I use parser but it's taking time to remove the html tags from string of file.
I want the program should give the performance as 1 millisecond for 2kb file.
Please help me out... Thanks in advanceHi,
how can I replace the anchor tag in a string, by the url in the href of that anchor tag by using jsoup,
e. g.
<code>
suppose input text is :
test, string using, dsfg, 1:14 PM, < a t a r ge t="_ablank" s t y l e = " color: red" h r e f = " h t t p : / / t e s t u r l . c o m / i n d e x . j s p ? a = 1 2 3 4 " > s u p p o r t < / a >, s c h e d u l a r t a g , < a t a r g e t = " _ vbblank " s t y l e = " c o l o r : g r e e n " h r e f = " h t t p : / / t e s t u r l g r e e n . c o m / i n d e x . j s p ? a = a s d f a s df 4 " > s u pp o r t r e q < / a > a s d f pq r
then out put text should be :
test, string using, dsfg, 1:14 PM, http://testurl.com/index.jsp?a=1234, schedular tag, http://testurlgreen.com/index.jsp?a=asdfasdf4 asdf pqr
</code>
Please help at the earliest..
Thanks in advance
as this text editor is not supporting html anchor tag the example is not displaying correctly
Edited by: 976815 on Dec 17, 2012 5:17 AM -
Hi,
we have the following problem:
When using java 1.5 in our browser, our applet does not load. Using java 1.4.2 it works. It also works using java 1.5.0 using another reverse proxy.
The differences between the 2 reverse proxies (one works, one works not) we use is that the one through which the applet does not load has a certificate installed that is not for its hostname. Can this be the reason the applet does not load? Where can I find information about the sandbox of java 1.5.0 concerning these issues. Are there any docs of the security restrictions imposed by java 1.5.0 sandbox?
Greetings,
TimOk,
the solution to this specific problem was a misconfigured reverse dns lookup.
Greets,
Tim
Maybe you are looking for
-
VERY VERY DISAPPOINTED IN APPLE
Simultaneous release in 21 countries??? What a bunch of idiots at Apple and AT&T!! It's not rocket science to know that when you're gonna pound the system with 1 million times the normal volume, you gotta PREPARE FOR IT!! What did they do, slap toget
-
Can't create DTP for cube migrated from business content to 2004s
I am in the process of converting 3.5 Business Content InfoProviders to the new model for 2004s. Master data was not a problem, but Im having a hard time getting InfoCubes to migrate. I installed 0PUR_C03 from Business Content and replicated the Dat
-
HELP NEEDED -MACBOOK CRASH AFTER LEOPARD UPDATE
I have just downloaded iTunes 9.0 and then a Mac Update for Snow Leopard appeared so I downloaded that, restarted my MacBook but then I got a little message saying An error occurred installing MacUpdate My MacBook now doesn't start up!!! I switch it
-
Pass URL parameter for zip code
In this fake url I want to pass the zip code value of the confirmed BP into "zipcode" https://acme.com/locator.jsp?zip=zipcode from the other post I have read the parameter name would be "zipcode" and thru the transaction launcher I am able to assign
-
Hello Everyone After upgrading to lion on my MBP, My itunes apps are not showing their picture/logo. When I click on one it says "The App could not be used because the original file could not be found. Would you like to locate it?" Now they are all s