Solved

Error ORA 04043 class oracle/plsj/net/TCPConnection not exist

Posted on 2001-07-24
5
1,238 Views
Last Modified: 2008-09-18
Hi,
i wish to send email from database and by installng the required JAVA classes with initjvm.sql as sys and by run initplsj.sql in the Database

i recive this error:
ERROR ORA 04043 class oracle/plsj/net/TCPConnection not exist


Oracle 8.1.7.1 WinNT 4.0

Who can help me?
0
Comment
Question by:belem
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 2

Accepted Solution

by:
banicki earned 200 total points
ID: 6313643
Hello, I found this out on metalink:

  Modify the INITPLSJ.SQL script to include the "-force" option when calling dbms_java.loadjava.


  INITPLSJ.SQL
  ------------
  set serveroutput on;
  call dbms_java.set_output(10000);
  call dbms_java.loadjava('-force -resolve plsql/jlib/plsql.jar');
0
 
LVL 2

Expert Comment

by:banicki
ID: 6313664
Hello again,

There is a Note:122051.1 out on metalink about this error, but its not available for public viewing.
http://metalink.oracle.com/metalink/plsql/showdoc?db=NOT&id=122051.1
You could request it on metalink, if your experiencing the problem.
Well, I'm wrong again.  I can get to it.
Search on 122051.1...

banic

0
 

Expert Comment

by:jparellada
ID: 6313696
This error ORA-04043, "object %s does not exist" is a true error.
Check your java option database. I think that your java option is not available.

For check yout java option:
1. Select count(*) from dba_objects where object_type like 'JAVA%' ;
If the answer is more or less 6000 objects, it's ok.
Otherwise execute
create or replace java system
/ (note:with slash!!)

And run the check.
0
 
LVL 1

Author Comment

by:belem
ID: 6333235
the right answer cam from banicki
0
 

Expert Comment

by:nadirpervez
ID: 22508598
Hellow,
    I am also facing this problem with oracle applications. At my database layer when i query INVALID objects it shows me the JAVA CLASS objects, but when i try to drop those objects using the following command it gives an error as follows.

SQL>drop JAVA CLASS "/d2c5f8fe_DBConnectionCache"

ORA-04043: object /d2c5f8fe_DBConnectionCache does not exist

What should i do to drop these objects.

Regards
0

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Truncate is a DDL Command where as Delete is a DML Command. Both will delete data from table, but what is the difference between these below statements truncate table <table_name> ?? delete from <table_name> ?? The first command cannot be …
When it comes to protecting Oracle Database servers and systems, there are a ton of myths out there. Here are the most common.
This video shows setup options and the basic steps and syntax for duplicating (cloning) a database from one instance to another. Examples are given for duplicating to the same machine and to different machines
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.
Suggested Courses

627 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question