SendMail Bean access error.

I'm trying to use SendMail (Degrelle version) in my form.
All seems to be ok until I try to send the mail : I get a java.security.AccessControlException.
I'm using java plugin and I run OC4J server on the same system in which I use the browser.
I tried to find where and how java.policy should be set but I wasn't able to find a solution.
I added
grant {
     permission java.security.AllPermission;
to every java.policy file I found (more or less) but i get no result.
How can I solve that issue ?
Tks
Tullio

Tks for Your help, I solved with Your suggestions.
Now the problem is the following : running I get the following error
javax.mail.MessagingException: IOException while sending message;
nested exception is:
     javax.activation.UnsupportedDataTypeException: no object DCH for MIME type multipart/mixed;
     boundary="----=_Part_0_19147537.1169027359218"
     at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:625)
     at javax.mail.Transport.send0(Transport.java:169)
     at javax.mail.Transport.send(Transport.java:98)
     at axioma.a4f.plugin.SendMail.send(SendMail.java:182)
     at axioma.a4f.plugin.SendMail.setProperty(SendMail.java:72)
     at oracle.forms.handler.ComponentItem.setCustomProperty(Unknown Source)
     at oracle.forms.handler.ComponentItem.onUpdate(Unknown Source)
     at oracle.forms.handler.JavaContainer.onUpdate(Unknown Source)
     at oracle.forms.handler.UICommon.onUpdate(Unknown Source)
     at oracle.forms.engine.Runform.onUpdateHandler(Unknown Source)
     at oracle.forms.engine.Runform.processMessage(Unknown Source)
     at oracle.forms.engine.Runform.processSet(Unknown Source)
     at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
     at oracle.forms.engine.Runform.onMessage(Unknown Source)
     at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
     at oracle.forms.engine.Runform.startRunform(Unknown Source)
     at oracle.forms.engine.Main.createRunform(Unknown Source)
     at oracle.forms.engine.Main.start(Unknown Source)
     at sun.applet.AppletPanel.run(Unknown Source)
     at java.lang.Thread.run(Unknown Source)
Caused by: javax.activation.UnsupportedDataTypeException: no object DCH for MIME type multipart/mixed;
     boundary="----=_Part_0_19147537.1169027359218"
     at javax.activation.ObjectDataContentHandler.writeTo(DataHandler.java:851)
     at javax.activation.DataHandler.writeTo(DataHandler.java:305)
     at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:1350)
     at javax.mail.internet.MimeMessage.writeTo(MimeMessage.java:1683)
     at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:585)
     ... 19 more
SendMessage: no object DCH for MIME type multipart/mixed;
     boundary="----=_Part_0_19147537.1169027359218"
Could You suggest a solution ?
Tks
Tullio

Similar Messages

  • Bean access error

    I have three jsp pages :
    1. A simple form to input name, age and branch with the action as the next page.
    2. this contains only two jsp tags and nothing else - useBean and setProperty.
    3.calls the bean functions to display the inputted items.
    The first page works perfect.But the second does not.It shows "Unable to load class for JSP"
    I have defined the CLASSPATH as the directory containing the class file of my bean.
    But it just doesn't work
    I use Tomcat 5.5 server.Please help

    Thanks angry cat for the help.It works perfectly now.The changes I made were :
    1.Insert the class into a package and create the corresponding directory structure in WEB-INF
    2. Change the getProperty tag to setProperty.(That was a mistake of the tutorial i read)
    Also, Tomcat has a really annoying feature of showing previously compiled pages when pressing the refresh a number of times.That's a real big headache during deugging which will force you to restart the server each time you make changes to the page.
    So, a better alternative is to delete the cached objects which are stored in the %CATALINA_HOME%\work directory.Just delete all the contents in that directory and say goodbye to confusing (old) error pages

  • Remote Delta link setup problem with Bean / Access Service

    Hello,
    I am trying to setup Remote Delta Link (RDL) between two portals. (Both portals same version - EP 7.0 EHP1 SP 05 - are in the same domain)
    I already have the Remote Role Assignment working without any issues.
    The following have been done successfully:
    1. Same user repository has been setup for both the portals
    2. Setup trust between producer and consumer (SSO working fine)
    3. Producer added and registered succesfully on consumer
    4. Permissions setup on producer and consumer
    4. pcd_service user with required UME actions setup
    I am able to see all the remote content in the Consumer portal.
    When I try to copy the remote content and paste it as local content, I am getting the following error:
    Could not create remote delta link to object 'page id'. Could not connect to the remote portal. The remote portal may be down, there may be a network problem, or your connection settings to the remote portal may be configured incorrectly.
    After increasing the log severity, I am able to see the following in Default Trace:
    com.sap.portal.fpn.transport.Trying to lookup access service (P4-RMI) for connecting to producer 'ess_int' with information: com.sap.portal.fpn.remote.AccessServiceInformation@31c92207[connectionURL=hostname.mycompany.com:50004, shouldUseSSL=false, RemoteName=AccessService]
    com.sap.portal.fpn.transport.Unable to lookup access service (P4-RMI) with information: com.sap.portal.fpn.remote.AccessServiceInformation@31c92207[connectionURL=hostname.mycompany.com:50004, shouldUseSSL=false, RemoteName=AccessService]
    AbstractAdvancedOperation.handleDirOperationException
    [EXCEPTION]
    com.sap.portal.pcm.admin.exceptions.DirOperationFailedException: Could not retrieve the bean / access service to connect with producer
    Could not retrieve the bean / access service to connect with producer
    Like you can see above, there is some bean / access service which is not retrieved successfully. I am not sure if this is a permission problem on the consumer.
    I have checked that the P4 ports are configured correctly (standard - not changed) and I am able to telnet from producer to consumer (and vice versa) on the P4 port.
    I am stuck at this point and am not able to find any information on this.
    I would really appreciate if some one can point me in the right direction.
    Thank you for reading.
    - Raj

    Hi Raj,
    Please check your config of the P4 port on the producer.  Is it really 50004 (check SystemInfo of the producer)?
    I do think there's a problem with the P4 communication since RDL requires P4 connection.
    Do you have load balanced consumer-producer connection? Please refer to this blog for further details
    Little known ways to create a load balanced Consumer – Producer connection in a FPN scenario
    Regards,
    Dao

  • BIB-16613 Database access error occurred while connecting to the OLAP insta

    I am trying to connect to the database using the BI Beans sample bootstrap.jpr
    I am getting the BIB-16613 error.
    oracle.dss.security.BISecurityException: BIB-16613 Database access error occurred while connecting to the OLAP instance.
    java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    The bi_checkconfig utility gives me:
    C:\utils\JDev903\bibeans\bin>bi_checkconfig -h pavelr -po 1521 -sid LOCAL -u BIBDEMO -p BIBDEMO
    BI Beans Diagnostics(v1.0.0.0) 17/03/03
    ===============================================================================
    JDEV_ORACLE_HOME ............................. = C:\utils\JDev903
    JAVA_HOME .................................... = C:\OraHome1\jdk
    JDeveloper version ........................... = 9.0.3.1035 (Production)
    BI Beans version ............................. = 9.0.3.4.0
    BI Beans internal version .................... = 2.7.0.11.3
    Connect to database .......................... = Successful
    JDBC driver version .......................... = 9.2.0.1.0
    JDBC JAR file location ....................... = C:\utils\JDev903\jdbc\lib
    Database version ............................. = 9.2.0.2.1
    OLAP Catalog version ......................... = N/A
    OLAP AW Engine version ....................... = N/A
    OLAP API Server version ...................... = N/A
    BI Beans Catalog version ..................... = N/A; not installed in BIBDEMO
    OLAP API JAR file version .................... = 9.2
    OLAP API JAR file location ................... = C:\utils\JDev903\jdev\lib\ext
    Load OLAP API metadata ....................... = Successful
    Number of metadata folders ................... = 3
    Number of metadata measures .................. = 26
    Number of metadata dimensions ................ = 22
    Metadata output location ..................... = C:\utils\JDev903\bibeans\bin\bi_metadata.txt
    I can connect to OLAP BIBDEMO (and SH) schema using OEM.
    I can connect to BIBDEMO from JDev Connections (Catalog connection to BIBCAT, OLAP connection to BIBDEMO).
    How can I establish the connection from the bootstrap sample?
    Pavel

    Please try follow the steps under "Installing and Configuring the Samples "http://otn.oracle.com/products/bib/htdocs/samples/installing_samples.html - the section titled "Update the samples project settings".

  • How to fix this error message The backup disk image "/Volumes/AirPort Disk/FARES DEL VALLE's iMac.sparsebundle" could not be accessed (error -1).

    how to fix this error message The backup disk image “/Volumes/AirPort Disk/FARES DEL VALLE’s iMac.sparsebundle” could not be accessed (error -1).

    The troubleshooting C17 is the specific article.
    http://pondini.org/TM/Troubleshooting.html
    This is generally a Lion error.. and you will need 5.6 utility to get access to the disk area.
    So download the real utility. Run it instead of v6 toy version.
    http://support.apple.com/kb/DL1482
    Go to the manual setup, disk page and click on disconnect all users.. that will unmount all users connected to the disk and allow it to start working. But there are a number of other issues that are possible cause. Pondini lists some of them.

  • Data access error while running  the script in fdm workbench script editor

    Hello Experts,
    I have been getting the error when i run the script in script editor of fdqm workbench client.this is the error
                              -2147467259 Data access error and it is navigating the error at line 30 about this script "Set rsAppend = DW.DataAccess.farsTable(strWorkTableName)"
    Please revert me asap where i should load the data from peoplesoft to one of my planning database through fdm.
    Thanks in advance...

    Hi,
    Thanks for your suggestion's here i am going to run the datapump script so while i am running in workbench it is throwing data access error.So as you guy's suggested i created one import format and added this script to that import format which is added to one of my location even it is throwing the same error.I am getting the error at this sentence   "strWorkTableName" I want to know what is this where it reflect's?So my question is Is there any difference while running data pump or integration script.Please let me know a detailed navigation steps to run this script's with out data access error to run these kind of scripts.
    Note:Again my target is to load the data to planning database through fdqm which i am doing through sql statement's.
    Suggest your valuable suggestion's
    Thanks in advance...
    I am getting the error at this sentence   "strWorkTableName" I want to know what is this where it reflect's?

  • 'Data Access Error' while trying to delete period using Table Editor in FDM

    Hi,
    I'm trying to delete a period that has been entered wrongly using Tools->Table Editor option.
    But when I try to 'Update Grid' after deleting the Period,I get 'Data Access Error'.
    Could any one let me know how to solve the error.
    Thanks in advance

    Hi Kelly,
    There is no data that is entered in that period.The data will be entered for that period next month.
    POV is also not set to that period,but still the problem persists.
    Thanks

  • Illegal access error at runtime

    Hi,
    I am getting an illegal access error while trying to call a method.
    - Class1 tries to call method on Class2.
    - Method has package visibility
    - Both classes are in same package.
    - Class1 is being invoked by a class in a Web Application which is
    in a completely different package. Class1 gets invoked properly
    and then instantiates Class2. It then tries to call the method on
    Class2.
    - Compiler is compiling successfully i.e. no compile time errors
    Any clues?
    Env:
    JDK 1.4.2_01
    App Server Tomcat 4.0.6
    Thanks
    Reg
    Aashish

    Hi,
    I am getting an illegal access error while trying to
    call a method.
    - Class1 tries to call method on Class2.
    - Method has package visibility
    - Both classes are in same package.
    - Class1 is being invoked by a class in a Web
    Application which is
    in a completely different package. Class1 gets
    s invoked properly
    and then instantiates Class2. It then tries to call
    l the method on
    Class2.
    - Compiler is compiling successfully i.e. no compile
    time errors
    Any clues?
    Env:
    JDK 1.4.2_01
    App Server Tomcat 4.0.6
    Thanks
    Reg
    AashishThe problem is the Class1 and Class2 are being loaded by different classloaders. Because of this, they are considered to be in different packages by the VM, and hence the IllegalAccessError.
    To correct this, make sure both classes are only available in a single classloader context. So if these classes are only used by the WebApp, include them in a jar in WEB-INF/lib or WEB-INF/classes..
    If yyou need access to these across multiple webapps, or by some other non-webapp classes, place them in the /common/lib directory for Tomcat.
    Whatever you do, MAKE SURE THEY AREN'T avaialble in BOTH! Which is what appears to be the problem now.

  • Web service in LV2013: Change answer for "Bad Request", "Access Error"...

    Hi there,
    I am building a large application in LabVIEW 2013. I use a Web Service Server in LabVIEW to communicate to other systems. All in all the new Web Service functions in LV2013 work pretty fine and Web Services are easy to implement. In case any Web Service is unknown or parameters (in the URL) are wrong, it returnsto the client a default error message (like: "Access Error: 404 -- Not Found" or "Access Error: 400 -- Bad Request"). Is there a possibility to change this default messages and its format (all answers in my application are in JSON, but errors appear in HTML)? I really need this feature.
    I spent a lot of time in the internet for finding an answer - but it seems that I am the first who need this feature. Thank you very much for any ideas.
    Attachments:
    AnswerOk.PNG ‏4 KB
    BadRequest.PNG ‏6 KB

    Hi Andy,
    I found a workaround: I added some additional resources using a link "http://localhost:8079/"NAME"/:x/:x/:x/:x/:x/:x/:x​/:x/:x/:x/:x/:x/:x/:x/:x/:x" for each type (PUT, GET, POST, DELETE) where I handle the error message with the "Set HTTP Response Code VI"
    Attachments:
    ws_error.PNG ‏9 KB

  • HT3275 For the past several days, I have been getting this message during backups: Time Machine could not complete the back up.  The backup disk image "Volumes/Data/iMac.sparsebundle" could not be accessed (error-1).

    For the past several days, I have been getting this message during backups:
    Time Machine could not complete the back up.  The backup disk image "Volumes/Data/bhoppy2's iMac.sparsebundle" could not be accessed (error-1).  When I click on the 'help' icon on the message, it reverts to a blank page, and I cannot find anything online regarding the term 'sparsebundle.'  In addition, I cannot access previous backups any longer. 
    Help?

    See C17 in Time Machine Troubleshooting by Time Machine guru Pondini:
    http://pondini.org/TM/Troubleshooting.html

  • My Time Machine keeps repeating the error message "Time Machine could not complete the back- The back-up disk image "/Volumes/Data/User's iMac.sparsebundle" could not be accessed (error -1). How can I fix this?s/

    My Time Machine could not complete the back-up.  The error message says "The backup disk image "/Volumes/DataUser's iMac.sparsebundle" could not be accessed (error-1).  How can I fix this problem?

    Welcome to the Apple Support Communities
    See > http://pondini.org/TM/C17.html

  • When backing up on time machine is get " The back up disk image'/volume/data/eric balnchard's Macbook.sparbundle"could not be accessed (error-1). what does it mean? it's a new time machine

    when backing up on time machine is get " The back up disk image'/volume/data/eric balnchard's Macbook.sparbundle"could not be accessed (error-1). what does it mean? it's a new time machine

    Expect to see this error again due to a bug in Lion (and Mountain Lion).
    See # C17 in Pondini's excellent support document below, or look over to the right of this web page under the heading of More Like This
    http://pondini.org/TM/Troubleshooting.html

  • HT3546 I get an error when trying to back up on my TC. Message says - The backup disk image "/Volumes/Data/Macintosh.sparsebundle" could not be accessed (error -1).

    I get an error when trying to back up on my TC. Message says - The backup disk image “/Volumes/Data/Macintosh.sparsebundle” could not be accessed (error -1).
    Any suggestions

    See here...
    https://discussions.apple.com/message/20933934#20933934

  • HT1218 ?My time machine could not complete back up.  Says backup disk image"/volumes/data/name's iMac.sparsebundle" could not be accessed error 1??

    Time Machine could not complete the backup.
    The backup disk image "/Volumes/Data/Name's iMacsparsebundle" could not be accessed (error -1 )

    I checked the pondini fixes and ended up doing the following - in case this could help someone else with OSX Lion and Time Capsule... http://pondini.org/TM/Troubleshooting.html
    First, I downloaded and used Airport Utility 5.6 instead of 6.1 - BTW, I had to attempt download and installation THREE times before the program actually installed.  Be persistant.
    Pondini #5: It's possible some names (of all things!) may be a problem.    See item C9.  I had to re-name my Mac, Time Capsule, network, etc... to remove all apostrophes and spaces.
    Pondini #7:  If you have WD SmartWare installed on Lion, it's not compatible, per RoaringApps, and there are reports it can cause this problem as well.   Use Western Digital's uninstaller, or delete the app from /Applications and the files com.wdc.WDDMservice.plist and com.wdc.WDSmartWareServer.plist from /Library/LaunchDaemons.   There may also be a file in Library/Application Support.
    I then had to shut down computer, unplug Time Capsule, unplug modem; plug everything in again, then reboot computer; then had to go to Apple- System Preferences- Network- and reselect my Time Capsule to connect to WiFi again.
    Then opened Time Machine preferences again and attempted back up - it worked!

  • HT201514 When I try to back up ,I get the error message:The backup disk image "/Volumes/Data/ iMac.sparsebundle" could not be accessed (error -1).

    When I try to backup I get the error message.The backup disk image"/Volumes/Data/iMac.sparsebundle" could not be accessed(error-1) Any Ideas? it was working fine and i can't think of any changes I made to the system to affect this?

    Start with the best resource available..... Time Machine --- Troubleshooting from Pondini, the wizard of all things Time Machine.
    " . . . sparse bundle could not be accessed (error -1)"

Maybe you are looking for

  • Saved own colors in swatch palette in start up page

    How can I save my favorite (most used) colors in my swatch palette and use them over and over again? (Means I want to see them at every start up. In earlier versions I could find the "start up page", where I could save them, where it is in CS3?) Than

  • Integration of ABAP and SD?

    The integration points b/w SD module and ABAP? (also specify the underlying databse table names and fields with detail)

  • Access Essbase via MS Reporting Services

    Does anyone know if it is possibe to connect and retrieve data from an Essbase cube via Microsoft Reporting Services? Any assistance would be appreciated.

  • How can I disable ligatures in Pages for iPad?

    This has been driving my crazy all day! In the Courier New font, pages combines the lower case letters "fl" into a single character.  This is causing huge problems as I pass my manuscript between my pc and iPad, printing from whichever device is most

  • Return stock to bin location

    Dear All I would like to know what transection code is that using reverse all materials from storage type 916 to particular bin because I want to cancel D/O but D/O has already posted GI. So I want to return all materials of this D/O to particular bi