473,385 Members | 1,780 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 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 1527

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...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.