Home » Developer & Programmer » JDeveloper, Java & XML » java.lang.incombatible class change error (Oracle10g)
java.lang.incombatible class change error [message #335540] Tue, 22 July 2008 08:51 Go to next message
jebesh_s
Messages: 34
Registered: August 2007
Location: Chennai
Member
Dear Gurus,

I have a problem while sending a mail by database procedure.i have given the code below.please find the attached screen short

declare
ErrorMessage VARCHAR2(4000);
ErrorStatus NUMBER;
-- enable SQL*PLUS output;
--SET SERVEROUTPUT ON
-- redirect java output into SQL*PLUS buffer;
--exec dbms_java.set_output(5000);
BEGIN
ErrorStatus := SendMailJPkg.SendMail(
SMTPServerName => '192.168.4.2',
Sender => 'jagan@hafele.co.th',
Recipient => 'jebesh_s@yahoo.co.in',
CcRecipient => '',
BccRecipient => '',
Subject => 'hth106: Test JavaMail',
Body => 'This is the body: Hello, this is a test that spans 2 lines',
AuthReqdYNNum => 1,
UserID => 'jagan',
Password => 'songbirds',
ErrorMessage => ErrorMessage,
Attachments => SendMailJPkg.ATTACHMENTS_LIST('C:\oramail\MHTHSO121.html')
);
dbms_output.put_line('Error'|| ErrorMessage);
dbms_output.put_line('ErrorStatus'||ErrorStatus);
END;
/
it shows java.lang.incompatible class change error
i dont know what is the reason for "JAVA.LANG.INCOPATIBLE CLASS CHANGE ERROR" please advise me to resolve this issue

Thanks in advance

Thanks,
Jebesh
Re: java.lang.incombatible class change error [message #335554 is a reply to message #335540] Tue, 22 July 2008 10:20 Go to previous messageGo to next message
Frank
Messages: 7880
Registered: March 2000
Senior Member
Where did you get this SendmailJPkg from?
Re: java.lang.incombatible class change error [message #335612 is a reply to message #335554] Tue, 22 July 2008 23:58 Go to previous messageGo to next message
jebesh_s
Messages: 34
Registered: August 2007
Location: Chennai
Member
it is our customised package .but it is working fine in all other user in the same database but not working in one user only.
Re: java.lang.incombatible class change error [message #338195 is a reply to message #335612] Mon, 04 August 2008 03:15 Go to previous messageGo to next message
jebesh_s
Messages: 34
Registered: August 2007
Location: Chennai
Member
No one knows?
Re: java.lang.incombatible class change error [message #338197 is a reply to message #338195] Mon, 04 August 2008 03:21 Go to previous message
Michel Cadot
Messages: 64139
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
How could we know about something that you didn't post.
One obvious solution: remove the user.

Regards
Michel
Previous Topic: how to call java from stored procedure?
Next Topic: XML Files Generation
Goto Forum:
  


Current Time: Thu Dec 08 22:05:44 CST 2016

Total time taken to generate the page: 0.07461 seconds