Skip to Main Content

APEX

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!

installation apex 18

ab424391iyJun 11 2019 — edited Jun 15 2019

hello

i have problem to run or using apex where i make the next steps

1- install oracle database 18c on windows2012 server

2- i download oracle apex 18 the i make the next steps

  a- connect to databse AS   sqlplus sys/sys@orcl as sysdba

  b- @apexins.sql sysaux sysaux temp /i/

  c- @apxrtins.sql sysaux sysaux temp /i/

  d- alter user apex_public_user account unlock;

  e- alter user apex_public_user identified by oracle;

   f- exec DBMS_XDB.SETHTTPPORT(8080);

   g- exec DBMS_XDB_config.SetGlobalPortEnabled(TRUE)

   k- @apex_rest_config.sql

then when i try to run http://localhost:8080/apex/apex_admin  from browser

i face the message

window security

iexplore

the server localhost is asking for your user name and password.

the server reports that it is from xdb

alter user xdb account unlock;

alter user xdb identified by xdb;

when i insert in username xdb and password xdb

the message still display

please how can i fixed this problem

Comments

Bill Shannon-Oracle
Answer

It sounds like you're running your Java code "in" the database.  JavaMail depends on some configuration files to map MIME types to Java classes (e.g., "maultipart/mixed" to "javax.mail.internet.MimeMultipart").  These configuration files are loaded using the ClassLoader for the application.  If the ClassLoader doesn't function properly, these configuration files won't be found.

I vaguely remember hearing about such a problem in the Oracle database.  You should contact support to find out if this is a known problem and find out if a fix is available.

As a workaround, you can try adding the following to your application:

MailcapCommandMap mc = (MailcapCommandMap) CommandMap.getDefaultCommandMap();
mc
.addMailcap("text/html;; x-java-content-handler=com.sun.mail.handlers.text_html");
mc
.addMailcap("text/xml;; x-java-content-handler=com.sun.mail.handlers.text_xml");
mc
.addMailcap("text/plain;; x-java-content-handler=com.sun.mail.handlers.text_plain");
mc
.addMailcap("multipart/*;; x-java-content-handler=com.sun.mail.handlers.multipart_mixed");
mc
.addMailcap("message/rfc822;; x-java-content- handler=com.sun.mail.handlers.message_rfc822");

Marked as Answer by 2607680 · Sep 27 2020
2607680

Thanks. Once I plugged your code it works like a charm. Thanks.

1 - 2

Post Details

Added on Jun 11 2019
2 comments
286 views