Skip to Main Content

Analytics Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

how to test ODISendMail tool in package

792144Sep 2 2010 — edited Oct 25 2010
hi gurus

iam using three parameters
1. Host Server: i.e the IP of my machine
2. From: my mail address
3 To: my friend address

the error iam getting...


javax.mail.SendFailedException: Sending failed;
nested exception is:
javax.mail.SendFailedException: 530 SMTP authentication is required.


at javax.mail.Transport.send0(Transport.java:218)

at javax.mail.Transport.send(Transport.java:80)

at com.sunopsis.dwg.tools.SendMail.actionExecute(SendMail.java)

at com.sunopsis.dwg.function.SnpsFunctionBase.execute(SnpsFunctionBase.java)

at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execIntegratedFunction(SnpSessTaskSql.java)

at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)

at com.sunopsis.dwg.dbobj.SnpSessTaskSqlS.treatTaskTrt(SnpSessTaskSqlS.java)

at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)

at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)

at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)

at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)

at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)

at com.sunopsis.dwg.cmd.e.i(e.java)

at com.sunopsis.dwg.cmd.g.y(g.java)

at com.sunopsis.dwg.cmd.e.run(e.java)

at java.lang.Thread.run(Unknown Source)



Please help me
if iam giving the wrong parameters values please help me what values to be inserted.......

Comments

StefanP-Oracle

Hi

RMI use random ports for communication between the stub and the remote object

for pass this traffic to firewall,

the solution is to tunnel RMI traffic over HTTP

please check:

https://docs.oracle.com/javase/8/docs/platform/rmi/spec/rmi-arch6.html

3.5 RMI Through Firewalls Via Proxies

Regards

Stefan

3363700

Hi Stefan

thank for your answer,

However i have found here:

https://docs.oracle.com/javase/8/docs/api/java/rmi/server/RMISocketFactory.html

that the http tunnelling is deprecated, and "are subject to removal ..."

There's just no other way to use RMI with a Firewall?

Best Regards

Marco

1 - 2
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Nov 22 2010
Added on Sep 2 2010
8 comments
1,170 views