Installing JVM - ORA-29540:
When I run the jvminst I get the following error:
"ORA-29540: class
oracle/aurora/rdbms/security/PolicyTableManager does not exist"
I have read what I can on what may cause this and have upped the
Java pool to 100MB and the shared pool to over 100MB and
restarted the database but still get this error. There is a
120MB free on the tablespace SYSTEM and this is driving me nuts!
Can anyone help me? I am running 8.1.6 on HP-UX V11.
Thanks,
Robert
Hi Robert,
Did you get this one resolved? I'm having a similar problem when running INITJVM.SQL on Oracle 8.1.7 on NT and would be interested in knowing the answer to the problem.
Darren.
Similar Messages
-
ORA-29540:class oracle/pub/runtime/dbws/DbwsProxy does not exist
Hi we are getting below error while calling UTl_DBWS package.
Database version 11.2.0.2
package definition
create or replace function xxpvn_ws_test
return varchar2
is
service_ sys.utl_dbws.SERVICE;
call_ sys.utl_dbws.CALL;
service_qname sys.utl_dbws.QNAME;
port_qname sys.utl_dbws.QNAME;
xoperation_qname sys.utl_dbws.QNAME;
xstring_type_qname sys.utl_dbws.QNAME;
response sys.xmltype;
request sys.xmltype;
begin
service_qname := sys.utl_dbws.to_qname(null, 'getJoke');
service_ := sys.utl_dbws.create_service(service_qname);
call_ := sys.utl_dbws.create_call(service_);
sys.utl_dbws.set_target_endpoint_address(call_, 'http://interpressfact.net/webservices/getjoke.asmx');
sys.utl_dbws.set_property( call_, 'SOAPACTION_USE', 'TRUE');
sys.utl_dbws.set_property( call_, 'SOAPACTION_URI', 'http://interpressfact.net/webservices/getJoke');
sys.utl_dbws.set_property( call_, 'OPERATION_STYLE', 'document');
request := sys.xmltype(
'<getJoke xmlns="http://interpressfact.net/webservices/">'
|| '<Category>Excuses-10</Category>'
|| '</getJoke>');
response :=sys. utl_dbws.invoke(call_, request);
return response.extract('//getJokeResult/child::text()',
'xmlns="http://interpressfact.net/webservices/"').getstringval();
end ;error message
SQL> select xxpvn_ws_test from dual;
select xxpvn_ws_test from dual
ERROR at line 1:
ORA-29540: class oracle/jpub/runtime/dbws/DbwsProxy does not exist
ORA-06512: at "SYS.UTL_DBWS", line 144
ORA-06512: at "SYS.XXPVN_WS_TEST", line 14
Thanks
JitendraThis error related to jave since its not installed in database user schema
Logout of sqlplus and run:
loadjava -u / -r -v -f -s -grant public -genmissing dbwsclientws.jar dbwsclientdb102.jar
Check this
https://kr.forums.oracle.com/forums/thread.jspa?threadID=2264325 -
DBMS_XMLSAVE - insert - propagateOrginalException - ORA 29540
The use of DBMS_XMLSave.propagateOriginalException causes my insert of an XML row to fail with the following error:
ORA-29540: class oracle/xml/sql/save/OracleXMLStaticSave does not exist
I would like to use the propagateOriginalException and getexceptioncontent procedures so that I can raise simple error messages like ORA-00001 unique constraint violated.
Here is the PL/SQL block:
declare
xml_ins_row1 VARCHAR2(32000) := '<ROWSET><ROW><REG_ID>54398</REG_ID><NAME>SOMEWHERE</NAME><ACTIVE>Y</ACTIVE></ROW></ROWSET>' ;
xml_ins_row2 VARCHAR2(32000) := '<ROWSET><ROW><REG_ID>54399</REG_ID><NAME>SOMEWHERE</NAME><ACTIVE>Y</ACTIVE></ROW></ROWSET>' ;
vn_rows BINARY_INTEGER := 0 ;
saveCtx DBMS_XMLSave.ctxType;
vi_err INTEGER := 0;
vc_msg VARCHAR2(4000) ;
begin
-- set up the save context...!
saveCtx := DBMS_XMLSave.newContext('REGIONS');
DBMS_XMLSave.setRowTag(saveCtx, 'ROW');
DBMS_XMLSave.clearKeyColumnList(saveCtx);
-- set propagate original exception to true to get the original exception..!
-- DBMS_XMLSave.propagateOriginalException(saveCtx, TRUE);
vn_rows := DBMS_XMLSave.insertXML(saveCtx, xml_ins_row1);
DBMS_XMLSave.closeContext(saveCtx) ;
EXCEPTION
WHEN OTHERS THEN
DBMS_XMLSave.getExceptionContent(saveCtx, vi_err, vc_msg);
DBMS_XMLSave.closeContext(saveCtx); -- you must close the context.
DBMS_OUTPUT.PUT_LINE('Error num: ' || TO_CHAR(vi_err)) ;
DBMS_OUTPUT.PUT_LINE('Error msg: ' || vc_msg) ;
end;
Here is the tabledef:
CREATE TABLE REGIONS ( REG_ID NUMBER (38) NOT NULL,
NAME VARCHAR2 (50) NOT NULL,
ACTIVE CHAR (1) DEFAULT 'Y' NOT NULL,
CONSTRAINT REG_ACTIV_001 CHECK (ACTIVE IN ('Y', 'N')) ,
CONSTRAINT REG_UK1 UNIQUE (NAME) USING INDEX ,
CONSTRAINT REG_PK PRIMARY KEY ( REG_ID ) USING INDEX )
Thanks in advance for you thoughts!
MarkIt seems to be related to an insert/update for the same context
having different columns with "values" in it.
I have 3 rows. For the AMT column the first row has 151.56,
the second row has 100.00, the third row has .00
The third row fails with this error :
ERROR at line 1:
ORA-06502: PL/SQL: numeric or value error
ORA-06512: at "MTRSTEST.KIM_RTL_XML_PKG", line 150
ORA-29532: Java call terminated by uncaught Java exception:
oracle.xml.sql.OracleXMLSQLException:
Invalid context handle specified.
ORA-06512: at "SYS.DBMS_XMLQUERY", line 170
ORA-06512: at "MTRSTEST.KIM_RTL_XML_PKG", line 193
ORA-29532: Java call terminated by uncaught Java exception:
oracle.xml.sql.OracleXMLSQLException:
Expected 'EOF'.
ORA-06512: at "MTRSTEST.KIM_TEST", line 197
ORA-06512: at line 1
If I change the third row to say 10.00, for example, it works
fine.
We had not been on xdk9 yet, I'm having them install xdk9 and
we'll see if the problem persists. -
Hi,
I tried to send email with stored procedure.
It run correctly just I connect with system/manager.
If I change user/password don't run my procedure and I see this error:
ERROR at line 1:
ORA-29540: class oracle/plsql/net/TCPConnection does not exist
ORA-06512: at "SYS.UTL_TCP", line 533
ORA-06512: at "SYS.UTL_TCP", line 199
ORA-06512: at "SYS.UTL_SMTP", line 99
ORA-06512: at "SYS.UTL_SMTP", line 121
ORA-06512: at "AFM.SPEDISCI_MAIL", line 17
ORA-06512: at line 1
is normal???
i run this scripts (as internal/oracle - sys/change_on_install - myuser/password):
@c:\oracle\ora81\rdbms\admin\initplsj.sql
@c:\oracle\ora81\j avavm\install\initjvm.sql
@c:\oracle\ora81\javavm\install\init_security.sql
thanks!!!
RaffaeleAccording to Tom Kyte, some of the installer scripts fail to load the needed jar file for TCP/IP support in PLSQL. It looks like that is your problem. To solve the problem:
cd plsql/jlib
loadjava -user sys/password plsql.jar -
I am trying to set up JVM and getting errors
'ORa-29540 class oracle/aurora/server/tools/loadjava' does not exist.
db ver : 8.1.7 on Win 2000
Any ideas,The error:
29540, 00000, "class %s does not exist"
// *Cause: Java method execution failed to find a class with the indicated name.
// *Action: Correct the name or add the missing Java class.The missing class name should have been in the original error message. What do you get when you query:
select object_name, owner
from all_objects
where object_type='JAVA CLASS' and
object_name = <class name from error message>John -
ORA-29540: class oracle/xml/sql/query/OracleXMLStaticQuery does not exist
I am getting below error when trying to generate xml. Browsing on google did not help me. I would appreciate if someone can provide the solution.
SQL> select dbms_xmlquery.getxml('select * from dual', 2) from dual;
ERROR:
ORA-29540: class oracle/xml/sql/query/OracleXMLStaticQuery does not exist
ORA-06512: at "SYS.DBMS_XMLQUERY", line 19
ORA-06512: at "SYS.DBMS_XMLQUERY", line 271
ORA-06512: at line 1Then it is probably not the case that you are affected by the issue described in Metalink document 185857.1, but if I were you I would check it anyway, since it might be the problem.
-
ORA-29540: class oracle/jpub/runtime/dbws/DbwsProxy does not exist
Hi ,
We are getting below error while executing webservice from PL/SQL block. Please help what would be wrong in below code. Thanks in advance.
ORA-29540: class oracle/jpub/runtime/dbws/DbwsProxy does not exist
ORA-06512: at "SYS.UTL_DBWS", line 318
ORA-06512: at "FUSION.ADD_NUMBERS", line 21
29540. 00000 - "class %s does not exist"
*Cause: Java method execution failed to find a class with the indicated name.
*Action: Correct the name or add the missing Java class.
PL/SQL Code
CREATE OR REPLACE FUNCTION add_numbers (username IN VARCHAR, password IN VARCHAR)
RETURN NUMBER
AS
l_service SYS.UTL_DBWS.service;
l_call SYS.UTL_DBWS.call;
l_wsdl_url VARCHAR2(32767);
l_namespace VARCHAR2(32767);
l_service_qname SYS.UTL_DBWS.qname;
l_port_qname SYS.UTL_DBWS.qname;
l_operation_qname SYS.UTL_DBWS.qname;
l_xmltype_in SYS.XMLTYPE;
l_xmltype_out SYS.XMLTYPE;
l_return NUMBER;
returnVal BOOLEAN;
boolean_type_qname sys.utl_dbws.QNAME;
string_type_qname sys.utl_dbws.QNAME;
BEGIN
sys.UTL_DBWS.SET_PROPERTY(l_call,'USERNAME','fusion');
sys.UTL_DBWS.SET_PROPERTY(l_call,'PASSWORD','fusion');
l_wsdl_url := 'http://adcdab06.us.oracle.com:10217/xmlpserver/services/PublicReportWSSService?wsdl';
l_namespace := 'http://xmlns.oracle.com/oxp/service/PublicReportService/';
l_service_qname := SYS.UTL_DBWS.to_qname(l_namespace, 'PublicReportWSSServiceService');
l_port_qname := SYS.UTL_DBWS.to_qname(l_namespace, 'PublicReportWSSService');
l_operation_qname := SYS.UTL_DBWS.to_qname(l_namespace, 'validateLogin');
l_service := SYS.UTL_DBWS.create_service (URIFACTORY.getURI(l_wsdl_url),l_service_qname);
l_call := SYS.UTL_DBWS.create_call (l_service,l_port_qname,l_operation_qname);
sys.utl_dbws.set_target_endpoint_address(l_call, 'http://adcdab06.us.oracle.com:10217/xmlpserver/services/PublicReportWSSService');
boolean_type_qname :=sys.utl_dbws.to_qname ('http://www.w3.org/2001/XMLSchema', 'boolean');
string_type_qname :=sys.utl_dbws.to_qname ('http://www.w3.org/2001/XMLSchema', 'string');
sys.utl_dbws.add_parameter(l_call, 'BI_Admin', string_type_qname, 'ParameterMode.IN');
sys.utl_dbws.add_parameter(l_call, 'Welcome1', string_type_qname, 'ParameterMode.IN');
-- sys.utl_dbws.add_parameter (l_call,returnVal,boolean_type_qname,'ParameterMode.OUT');
sys.utl_dbws.set_return_type (l_call, string_type_qname);
-- utl_dbws.add_parameter(l_call_, 'ubiNum', string_type_qname, 'ParameterMode.IN');
--sys.utl_dbws.add_parameter(l_call, 'TEST', string_type_qname, 'ParameterMode.IN');
--l_xmltype_in := SYS.XMLTYPE('<?xml version="1.0" encoding="utf-8"?>
--<validateLogin xmlns="' || l_namespace || '">
--<validateLoginInput>' || p_int_1 || '</validateLoginInput>
--</validateLogin>');
l_xmltype_out := SYS.UTL_DBWS.invoke(call_Handle => l_call, request => l_xmltype_in);
SYS.UTL_DBWS.release_call (call_handle => l_call);
SYS.UTL_DBWS.release_service (service_handle => l_service);
dbms_output.put_line('WS Executed successfully...');
-- l_return := l_xmltype_out.extract('//return/text()').getNumberVal();
RETURN 11;
END;
/Check if this helps:
ORA-29540: class oracle/jpub/runtime/dbws/DbwsProxy does not exist -
ORA-29540: class oracle/xquery/OXQServer does not exist
I'm running 10g and initially had a problem when running XMTABLE that the error :-
"identifier 'SYS.DBMS_XQUERYINT' must be declared"
came up when I tried to execute anything relating to XQUERY
One of our DBAs very kindly looked into this and found the script :-
"$ORACLE_HOME/rdbms/admin/initxqry.sql"
This was executed, but now I get the error :-
ORA-29540: class oracle/xquery/OXQServer does not exist
Does anyone know what I am still missing out?
Thanks in anticipation of any advice anyone can offerThanks mdrake, we seem to gradually be getting there.
One thing I've now come across is :-
oracle.jdbc.driver.OracleSQLException: ORA-06550: line 1, column 7:
PLS-00201: identifier 'DBMS_LOB' must be declared
O
This is a "demo" trigger that caused this problem :-
CREATE OR REPLACE TRIGGER xml_inbox_trigger AFTER INSERT ON xmlinbox
FOR EACH ROW
DECLARE
XMLRECORD XMLType;
BEGIN
XMLRECORD := :new.XMLDATA;
INSERT INTO all_children
(childname) VALUES
(extractvalue (XMLRECORD, '*/child/name'));
IF :new.xmlfilename like 'boys%' THEN
INSERT INTO boys
(childname) VALUES
(extractvalue (XMLRECORD, '*/child/name'));
END IF;
IF :new.xmlfilename like 'boys%' THEN
INSERT INTO boys_wishlist SELECT
childname , artno , description ,price FROM
XMLTABLE (
'*/child' passing XMLRECORD
columns
childname varchar2(25) path '/name'
, artno number path '/wishlist/artno'
, description varchar2(25) path '/wishlist/description'
, price varchar2(10) path '/wishlist/price'
END IF;
IF :new.xmlfilename like 'girls%' THEN
INSERT INTO girls
(childname) VALUES
(extractvalue (XMLRECORD, '*/child/name'));
END IF;
END;
Do you think the above error is caused by something wrong with the above code, or something else wrong with our installation??
Thank you so much for your continued assistance -
Verify and re-install jvm if necessary
I'm attempting to install jvm in my 10.2.0.2 database on an aix 5.2 server. I ran the dbca and told it to install jvm and intermedia, but it just hung at 11%. So I cancelled it after about 45 minutes.
I found reference of the following selects to verify jvm has been installed:
sys@DMRDEV> select version, status, comp_id from dba_registry;
VERSION STATUS COMP_ID
10.2.0.2.0 VALID XDB
10.2.0.2.0 INVALID ORDIM
10.2.0.2.0 VALID EM
10.2.0.2.0 VALID CATALOG
10.2.0.2.0 VALID CATPROC
10.2.0.2.0 VALID JAVAVM
6 rows selected.
sys@DMRDEV> select dbms_java.longname('foo') from dual;
DBMS_JAVA.LONGNAME('FOO')
foo
sys@DMRDEV> select count(*) from dba_objects
2 WHERE object_type LIKE 'JAVA%';
COUNT(*)
15568
sys@DMRDEV> select owner, count(*)
2 from dba_objects
3 where object_type like 'JAVA%'
4 group by owner;
OWNER COUNT(*)
SYS 14114
ORDSYS 1454
sys@DMRDEV> SELECT dbms_java.longname(name)
2 FROM obj$
3 WHERE type# = 29 and status != 1;
DBMS_JAVA.LONGNAME(NAME)
oracle/ord/media/annotator/utils/MADataInputStream
oracle/ord/media/annotator/utils/Preferences
312 rows returned.
The fact that I cancelled the install and the 312 records returned by the last select make me think it didn't install correctly. I have searched for about 30 minutes now trying to figure out how to un-install or repair the jvm install, but can't find anything. Anyone have a link to some documentation on this? I think my initial problem might have been my JAVA_HOME, LD_LIBRARY_PATH, and PATH variables not pointing to an up to date java directory.disregard. i just restored and recovered from the backup that I took before messing it up.
for further reference if anyone else has the same problem I had to manually reload jvm and then install Oracle Text manually. The problem came up because this was a 9.2 database that didn't have either component installed when it was upgraded to 10g. I used metalink note 276554.1 for the jvm portion and 280713.1 for the Oracle Text part. For the jvm portion I only ran the part that installs jvm. -
ORA-29540 during full database export
Hi,
Anyone encounter this error ORA-29540 during full database export. Have check out the web site for solution. Have check that the init file compatible is set to 8.1.0, the public synonym dba_java is been removed. However after the above remedies, the problem still occured. My database version is 8.1.5. Please let me know if there is other solution to this problem.
Thank You ...
regards,
lbsHi,
Thanks...Any idea how to check whether the installation for the initjvm.sql is successful. cos I just took over from the previous DBA and he too have no idea...
Thank You.. -
I am Working with java Swings,my application schould run with out installing JVM by the user(own).
my program schould check either the user has the JVM or not. If JVM is not install program must inform to user like this...your system dont support with JVM,would u like to install JVM(YES/NO).
when user says YES,JVM schould install and my program schould run in that system.
PLZ help me either is it possible with JAVA SWINGS or not. plz let me know some sample coding also,if possible.
thanking you.
MalliMy Program schould ask me to install JVM in runtime it self.
my swing program schould ask the useres to install JVM,if they dont have JVM in their systems.
is it not possible with Swings?
I cames to know that,its possible by creating one jar file which chek the JVM in the useres PC.this jar file will run before my program run.so this jar file will check either user PC has the JVM or Not,if they dont have JVM,this jar file will install JVM in runtime it self.
if it is possible ,plz suggest me with some usefull code.
Thanking you. -
Fnd_web_sec.validate_login returns ORA-29540
Hi guys,
when i'am executing
select fnd_web_sec.validate_login('user123', 'pass123')
from dual;
with 'apps' DB user every thing works well and i get 'Y' as a result for the query.
now i have new DB user 'XX'
when i login using user 'XX and executing
select fnd_web_sec.validate_login('user123', 'pass123')
from dual;
i get 'N' as a result for the query.
so i run the following query
select fnd_message.get from dual;
and the message i got is :
Oracle error -29540: ORA-29540: class oracle/apps/fnd/security/WebSessionManagerProc does not exist has been detected in FND_WEB_SEC.VALIDATE_LOGIN(u,p).
obviously there is no problem with the class since it works with 'apps' user so i suspect
it's a privileges issue.
thx in advance for anyone who helps.Issue was solved by creating the following synonyms under the Required User :
create synonym fnd_languages for apps.fnd_languages;
create synonym fnd_user for apps.fnd_user;
create synonym fnd_application for apps.fnd_application;
create synonym fnd_lookup_types for apps.fnd_lookup_types;
create synonym fnd_product_groups for apps.fnd_product_groups;
create synonym fnd_web_sec for apps.fnd_web_sec;
CREATE SYNONYM FND_USER_PREFERENCES FOR APPS.FND_USER_PREFERENCES;
CREATE SYNONYM FND_USER_PREFERENCE FOR "APPLSYS"."FND_USER_PREFERENCES";
Best regards,
Ahmed Shokry -
Send mail with pl/sql error ORA -29540
Hi everybody
I try to use a procedure to send emails. I've got the procedure here in this forum from Kiron Rao (thanks). When I execute this procedure I get this error message :
[1]: (Error): ORA-29540: class oracle/plsql/net/TCPConnection does not exist ORA-06512: at line 8
any idea ?
here is the script :
CREATE PROCEDURE MAILTEST
IS
conn UTL_SMTP.CONNECTION;
mailhost VARCHAR2(64) := 'mailhost.server.com';
abcd VARCHAR2( 2 ):= CHR( 13 ) || CHR( 10 );
mesg VARCHAR2(4000);
usrname VARCHAR2(30);
usraddr VARCHAR2(100);
subj VARCHAR2(100);
body_of_msg VARCHAR2(100);
recaddr VARCHAR2(100);
BEGIN
usrname:= 'Alain Smaili';
usraddr:= '[email protected]';
recaddr:= '[email protected]';
subj:= 'This is a PL/SQL Email Test';
body_of_msg := '<HTML><BODY><B><I>This is a PL/SQL Email Test from oradb1p</I></B></BODY></HTML>';
mesg:= 'Date: ' || TO_CHAR(SYSDATE, 'dd Mon yy hh24:mi:ss') || utl_tcp.crlf ||
'From: ' || usrname || ' <' || usraddr || '>' || utl_tcp.crlf ||
'Subject: ' || subj || utl_tcp.crlf ||
'Content-Type: text/html' || utl_tcp.crlf ||
'X-Priority: 1' || utl_tcp.crlf ||
'Return-Receipt-To: [email protected]' || utl_tcp.crlf;
mesg:= mesg || utl_tcp.crlf || body_of_msg;
conn:= utl_smtp.open_connection(mailhost, 25);
utl_smtp.helo(conn,mailhost);
utl_smtp.mail(conn, usraddr);
utl_smtp.rcpt(conn,recaddr);
utl_smtp.data(conn, mesg);
utl_smtp.quit(conn);
EXCEPTION
WHEN others THEN
RAISE;
END;Some of the class files are missing ? did U load plssql.jar files succesfully?
Cehck the asktom.oracle.com site for more detailed information regarding this error
Ashok -
Installing JVM 1.5 using jce_policy-1_4_2?
Hi Experts,
I will be installing JVM 1.5 using jre-1_5_0_22-windows-amd64.exe that i downloaded from this link http://java.sun.com/products/archive/ . Should I also download new version of jce_policy? or is it alright to use our current jce_policy which is jce_policy-1_4_2? Should i also pattern the version of jce_policy with the version of jvm/jre?
Thanks a lot!
Regards,
TonyThanks for the reply experts!
i got the Jce_policy from this site
https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/ViewProductDetail-Start?ProductRef=jce_policy-1.5.0-oth-JPR@CDS-CDS_Developer
Regards,
Tony -
Help, how to install jvm and set the classpath using a batch file
hello,
i have created my java application and now have to create an installable / batch file which will install the JVM on the users machine and also the java packages such as javamail and the class files that i have created . it also has to set the classpath.
i would like to know if anyone can tell me how to go about iti.e. how can i install the JVM using a batch file and then place the javamial packages etc in the apropriate directory .
or is it advisable to explain it to the user how to go about it in tht user manual.
and would also like to know that if i install the JVM will the path for the java.exe be set
or will i have to set the path explicitly from the "batch file" so that the user can run the application without and problem just by running the java command followed by filename from the command prompt.hi,
I have windows and I use it.
The only problem with the free edition is that you can only create 1 launcher and that during the installation you get 1 popup showing that the installer was created with an unregistered version.
Stijn
Maybe you are looking for
-
All the time Flashplayer lags - when I play Fruit Ninja on Facebook, my videos lag, mainly on fullscreen but sometimes it lags not on fullscreen. I'm tired of this. I have these problems since months now... Full info DxDiag says that : System Informa
-
Problem in BAPI_SALESDOCU_CREATEFROMDATA1 returning item category
Hi Gurus, I have a problem in FM BAPI_SALESDOCU_CREATEFROMDATA1 the sales order is created sucessfully using this . here i want to return back the item category which is generated by BAPI i have used the itemx table and also set the flag like itemx
-
Changing sequence of calender items sync'ed from O...
When I synchronize mey Outlook/2003 calender information to my phone, the sequence of the appointment information stored on the phone is first the Location; then the Subject. When I view the list of calender items on my phone for a day, I can see the
-
Change outline colors in Flex View?
The orange and green outlines in Flex View are hard to distinguish with my particular red/green colorblindness variant. Is there a configuration knob that can customize the outline colors?
-
SNMP and Windows SNMP services
I am controlling a SNMP device using LabVIEW UDP communication, this works fine. When I start the Windows SNMP services running, I can no longer communicate with the device. Is there a way to control an SNMP device with LabVIEW with the Windows SNMP