472,362 Members | 1,783 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,362 software developers and data experts.

Re: Loadjava hangs in RedHat Linux (URGENT)


Originally posted by aruneeshsalhotr
Hi,
I was able to load the class into Aurora JVM using TOAD, though
loadjava behaviour is slightly unclear.

I compiled the java file, and obtained the .class file.
I used TOAD to load the class into into the JVM, and then I created
the call spec.
I am able to call the java procedure from anywhere now.

But since I am using an evaluation copy of TOAD, so I would need to
know how to get the loadjava started somehow.
I set the classpath correctly as
/u01/app/oracle/product/8.1.7/sqlj/lib/translator.zip:/u01/app/orac-
le/product/8.1.7/sqlj/lib/runtime.zip:/usr/java/jdk1.3.1_02/jre/lib-
/rt.jar:

But still I am facing the problem that I cant load the class file into
the JVM.
Thanx and Regards
Aruneesh


Hi
I even tried setting the JRECLASSPATH env variable to

/u01/app/oracle/product/8.1.7/sqlj/lib/translator.zip:/u01/app/orac-
le/product/8.1.7/sqlj/lib/runtime.zip:/usr/java/jdk1.3.1_02/jre/lib-
/rt.jar:
I also set the LD_ASSUME_KERNEL=2.4.18 (version of my linux kernel).
Anyone has any leads on this.

Thanx and Regards
Aruneesh
ORACLE_HOME/bin/loadjava -user user/pwd@database -resolve <.class or
jar file>

Just type loadjava on command line for help.

Alternately, if you have .java file, you could also compile and load it
from sqlplus with,
CREATE OR REPLACE AND COMPILE JAVA SOURCE ....
command.

Regards
/Rauf Sarwar

--
Posted via http://dbforums.com
Jun 27 '08 #1
0 1469

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Cindy Lee | last post by:
I need to insert rows into MySql database from oracle, which I imagine is a rather common task. The path I decided to take is write a java procedure, as recommended in the manual. However, java...
2
by: tim | last post by:
I was trying to install Oracle on a Linux box with Redhat and got an error message saying the OS had to be Redhat 2.1 or 3.0 (plus some other non-Redhat versions). Does anyone know what I have to...
1
by: Michael A. Miller | last post by:
I start PostgreSQL in the services utility under Redhat 9.0 with no issues. PostgreSQL runs properly but as soon as I log out PostgreSQL shuts down. It seems that I always need to be logged in for...
4
by: D. Dante Lorenso | last post by:
This isn't entirely PG related, but... Does anyone know what the natural upgrade path from RedHat 9 is? I'm wondering if anyone on the PostgreSQL team is working with redhat to package and...
3
by: hrishy | last post by:
Hi Does anybody have the steps to install db2v8.1 on redhat advanced server 3.0.THe db2 i have is form the linux starter kit available freely on developerworks for learning purpose. I tried...
3
by: Harold Pritchett | last post by:
Will FixPak 10 for db2 UDB work on Redhat Enterprise Linux V3? The IBM site says that FixPak 10 is only available for the 2.6 kernel. ...
11
by: juyi520 | last post by:
Hello, I am new in C in Programming, Where could I find the detail about struct FILE in RedHat Linux ? I have tried to check the stdio.h in /usr/include, but I could not find the
0
by: bolyogesh | last post by:
Hi, I am trying to load some java files to oracle server. I could do it properly here on one database (Windows machine). But failing to work on another database (unix system). I don't know what...
0
by: aruneeshsalhotr | last post by:
Hi Rauf I get your point here, but thats what I am doing loadjava -u user/password -r Dba.class I also tried loadjava -u user/password Dba.class Both are giving the same result, that...
2
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and efficiency. While initially associated with cryptocurrencies...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge required to effectively administer and manage Oracle...
0
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and...
0
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and credentials and received a successful connection...
1
by: Matthew3360 | last post by:
Hi, I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web server and have made sure to enable curl. I get a...
0
Oralloy
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the synthesis of my design into a bitstream, not the C++...
0
by: Carina712 | last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand. Background colors can be used to highlight important...
1
by: Ricardo de Mila | last post by:
Dear people, good afternoon... I have a form in msAccess with lots of controls and a specific routine must be triggered if the mouse_down event happens in any control. Than I need to discover what...
1
by: ezappsrUS | last post by:
Hi, I wonder if someone knows where I am going wrong below. I have a continuous form and two labels where only one would be visible depending on the checkbox being checked or not. Below is the...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.