Where to set mail.jar,activation.jar

Hello
I want to know that
Where to set the path of activation.jar,mail.jar files
I am using jsp So plz tell me where i have to save these files
So that server will access
pla help
Shilpa

If you are using JSP then they should already be in your server. Don't put them anywhere.

Similar Messages

  • Javamail path for mail.jar & activation.jar?

    I am trying to use javamail but can't get anything to compile or run. I read all the other posts on this and all they say is to set the path correctly as did the directions, I still cannot get this to work did I do something wrong? Whenever I try to compile something it cannot find those jar files "package javax.mail does not exist" or "package javax.activation does not exist"
    here is my path
    C:\j2sdk1.4.2_05\bin;C:\javamail-1.3.2ea:\mail.jar;C:\jaf-1.0.2\activation.jar
    I am runnning XP sp1
    thanks for the help.

    Please check those directions carefully once again - usually it is CLASSPATH variable that needs to be modified to include jar files and not PATH variable...
    Also, note that it looks like you have an extra colon character below:
    C:\javamail-1.3.2ea:\mail.jar
    should probably :have been
    C:\javamail-1.3.2ea\mail.jar

  • JSE8 and mail.jar, activation.jar

    Hey, all.
    Does anyone know if there are new mail.jar and activation.jar files for the Sun Java Studio Enterprise 8 system that support the new mail standard 1.4? I tried just putting these new jar files out in the \appserv8.1ur2\lib directory but that didn't work because apparently the JAR files that come with the server are packaged a bit differently (thank a lesser god I had saved off the old versions of the two files so I could put them back!)
    I'd like to use the new mail 1.4 standard that includes the method javax.mail.inetrnet.MimeBodyPart.attachFile(File). It seems much more straightforward than doing the old style mime attachment business.
    Thanks in advance.

    First, when the NEW (javamail 1.4) JAR files aren't there, I get a javax.servlet.ServletException: javax.mail.internet.MimeBodypart.attachFile of "noSuchMethodError". Then, I replaced the old JAR files with the new activation.jar and mail.jar files and I then receive a javax.servlet.ServletException that com/sun/mail/util/SharedByteArrayInputStream has a "NoClassDefFoundError". I think the JSE8 folks must package all the various associated "mail" files (dsn.jar, imap.jar, mailapi.jar, pop3.jar, and smtp.jar) along with the main "mail.jar" file into one big JAR repository.

  • Activation.jar and mail.jar version ????

    I have deployed a web service in Weblogic v7.0 which accepts DataHandler as one
    of its paramters ( for attachments).
    When I invoke from a soap client (weblogic v8.0) it works fine. For using with
    soap client (weblogic v7.0) its
    gives a serializer exception.
    What version of activation.jar and mail.jar should I use for sending attachment
    from weblogic 7.0 client.
    Regards
    Kumar Raj

    Hi Kumar,
    Could you post the exception traceback and clarify the configuration
    (v7.x client to v7.x server fails, but v8.1 client to v7.x server works
    OK?)
    You may also want to take a look at the docs on creating portable stubs
    [1] associated with creating the client jar.
    Thanks,
    Bruce
    [1]
    http://edocs.bea.com/wls/docs81/webserv/client.html#1076586
    Kumar Raj wrote:
    >
    I have deployed a web service in Weblogic v7.0 which accepts DataHandler as one
    of its paramters ( for attachments).
    When I invoke from a soap client (weblogic v8.0) it works fine. For using with
    soap client (weblogic v7.0) its
    gives a serializer exception.
    What version of activation.jar and mail.jar should I use for sending attachment
    from weblogic 7.0 client.
    Regards
    Kumar Raj

  • Email: activation.jar and applet alert

    I have written code for sending email. I works on one machine with out errror. When I moved it to my server it gave error for the activation.jar file. After copying this file, the code worked, but now I get applet Alert popup with message as "The applet is attempting to invoke the java/lang/System.getProperty() operation on user home, I need to click on Allow to get the code working. How do I disable this popup?
    What is the difference between settings on two machines. Is it some browser setting for applet or something else? I am using jre version 1.4.2_03 on Windows 2003 server.

    No, I am not using Java Applet. I have written simple Java application with main which I run from Command prompt
    I am not sure why the popup is displayed for Applet.
    Here is the code:
    import java.util.Properties;
    import javax.mail.*;
    import javax.mail.internet.*;
    public class sendMail
    public static void main(String args[])
         //set this variable to be your SMTP host
         String mailHost = "192.24.235.20";
         //set this variable to be your desired email recipient
    String to = "testUser@mclaren";
    //these variables come from the mail form
    String from = "dctmUser@mclaren";
    String subject = "JavaTest";
    String body = "Test";
    if ((from != null) && (to != null) && (subject != null) && (body != null)) // we have mail to send
    try
    //Get system properties
    Properties props = System.getProperties();
    //Specify the desired SMTP server
    props.put("mail.smtp.host", mailHost);
    // create a new Session object
    Session session = Session.getInstance(props,null);
    // create a new MimeMessage object (using the Session created above)
    Message message = new MimeMessage(session);
    message.setFrom(new InternetAddress(from));
    message.setRecipients(Message.RecipientType.TO, new InternetAddress[] { new InternetAddress(to) });
    message.setSubject(subject);
    message.setContent(body, "text/plain");
    Transport.send(message);
    System.out.println("Message Sent");
    catch (Throwable t)
    System.out.println("Error: " + t.getMessage());
    I can't attach the screen shot of the Applet Alert window, but below is the text I get on the Applet Alert window
    First Window
    Title: -- Applet Alert --
    Text: The applet is attempting to invoke the java/lang/System.getProperty() operation on user home
    Buttons: Allow, Disallow, Stop Applet
    Second Window
    Title: -- Applet Alert --
    Text: The applet is attempting to perform read operation on file C:\Documents and Settings\Administrator\.mailcap
    Buttons: Allow, Disallow, Stop Applet
    Third Window
    Title: -- Applet Alert --
    Text: The applet is attempting to invoke the java/lang/System.getProperty() operation on user home
    Buttons: Allow, Disallow, Stop Applet
    Forth Window
    Title: -- Applet Alert --
    Text: The applet is attempting to perform read operation on file C:\j2sdk1.4.2_03\jre\lib\mailcap
    Buttons: Allow, Disallow, Stop Applet
    And following is the text output on the command prompt by the system:
    C:\java>java sendMail *(this is my code file)*
    Current policy properties
    thread.thread_num_limited: true
    file.write.state: disabled
    net.connect_ex_dom_list:
    mmc.sess_cab_act.block_unsigned: false
    mmc.sess_cab_act.action: validate
    mmc.sess_pe_act.block_blacklisted: false
    mmc.sess_pe_act.block_invalid: true
    jscan.sess_applet_act.stub_out_blocked_applet: true
    file.destructive.in_list:
    jscan.sess_applet_act.block_all: false
    file.write.in_list:
    file.nondestructive.in_list:
    window.num_limited: true
    file.read.state: disabled
    jscan.session.origin_uri: http://www.guj.com.br/posts/downloadAttach/330
    .java;jsessionid=76FF899CEACAB3CFFB48E3EEE4E0E89F
    file.nondestructive.state: disabled
    jscan.session.user_ipaddr: 10.122.3.106
    net.connect_other: false
    thread.thread_num_max: 8
    file.destructive.ex_list:
    file.nondestructive.ex_list:
    file.write.ex_list:
    jscan.sess_applet_act.sig_invalid: block
    file.read.in_list:
    mmc.sess_cab_act.block_invalid: true
    jscan.session.policyname: TU1DIERlZmF1bHQgUG9saWN5
    mmc.sess_pe_act.action: validate
    thread.threadgroup_create: false
    net.connect_in_dom_list:
    net.bind_enable: false
    jscan.sess_applet_act.sig_trusted: pass
    jscan.session.user_name: 10.122.3.106
    jscan.session.user_hostname:
    file.read.ex_list:
    jscan.sess_applet_act.sig_blacklisted: block
    jscan.session.daemon_protocol: http
    net.connect_src: true
    jscan.sess_applet_act.unsigned: instrument
    mmc.sess_pe_act.block_unsigned: false
    file.destructive.state: disabled
    mmc.sess_cab_act.block_blacklisted: true
    window.num_max: 5
    -->> returning Frame NULL
    BaseDialog: owner frame is a java.awt.Frame
    -->> returning Frame NULL
    BaseDialog: owner frame is a java.awt.Frame
    -->> returning Frame NULL
    BaseDialog: owner frame is a java.awt.Frame
    -->> returning Frame NULL
    BaseDialog: owner frame is a java.awt.Frame
    Message Sent *(This is the message I print from the code)*

  • Activation.jar

    Where can i find activation.jar??

    http://java.sun.com/products/javabeans/glasgow/jaf
    or search for "JavaBeans Activation Framework" in java.sun.com
    Regards.

  • Where to upload custom JACC provider jar for AS9.1 (Glassfish V2 Beta 1)?

    Hello,
    as I do have some issues with SOAPMessage object on AS9.0U1 as described here: http://forum.java.sun.com/thread.jspa?threadID=5162508
    I'm also trying to duplicate this issue on AS9.1 (Glassfish V2 Beta 1). At the first I need to deploy our custom JACC provider. I've provided correct setup in admin console Configuration -> Security -> JACC providers, I've also switched to use this provider and as I'm used to, I've uploaded JACC provider jar file to the domains/domain1/lib directory. The problem is, it's not working since starting AS9.1 complains about not found class of my provider. As I said, this is exactly how it's working for me on AS9.0U1. Anyway, I've tried to upload the jacc provider jar file to domains/domain1/lib/ext, but then starting AS9.1 complains about missing javax/security/jacc/PolicyContextException. Whole error message in the server log looks like:
    [#|2007-04-20T10:12:52.015+0200|INFO|sun-appserver9.1|javax.enterprise.system.core.security|_ThreadID=10;_ThreadName=main;com.objectsecurity.openpmf.jacc.Policy;|SEC1143: Loading policy provider com.objectsecurity.openpmf.jacc.Policy.|#]
    [#|2007-04-20T10:12:52.031+0200|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=10;_ThreadName=main;_RequestID=822161e0-8f06-433a-b052-fb42afffb14a;|java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.sun.enterprise.server.PELaunch.main(PELaunch.java:272)
    Caused by: java.lang.NoClassDefFoundError: javax/security/jacc/PolicyContextException
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:164)
         at com.sun.enterprise.security.PolicyLoader.loadPolicy(PolicyLoader.java:133)
         at com.sun.enterprise.security.SecurityLifecycle.onInitialization(SecurityLifecycle.java:96)
         at com.sun.enterprise.server.ApplicationServer.onInitialization(ApplicationServer.java:240)
         at com.sun.enterprise.server.ondemand.OnDemandServer.onInitialization(OnDemandServer.java:93)
         at com.sun.enterprise.server.PEMain.run(PEMain.java:316)
         at com.sun.enterprise.server.PEMain.main(PEMain.java:260)
         ... 5 more
    Please note that com.objectsecurity.openpmf.jacc.Policy is a Policy provider of our own JACC provider.
    My question is: where exactly to upload JACC provider jar file in order to have it working correctly?
    Thanks!
    Karel

    Did you solve this problem? I've been spinning my head over this. I reinstalled my jdk, reinstalled glassfish, and updated my java.policy file and I still get the same problem.

  • Does anyone know how to change where incoming (via mail) calendar requests go on my MacBook? Mine insist on going to Entourage, which I don't use any more. I've tried setting the default calendar in iCal preferences. Doesn't help. Bugs me. Can you help?

    Does anyone know how to change where incoming (via mail) calendar requests go on my MacBook? Mine insist on going to Entourage, which I don't use any more. I've tried setting the default calendar in iCal preferences. Doesn't help. Bugs me. Can you help?

    Jneklason wrote:
    ~snip~
    I know this email is confusing and really hard to understand...perhaps now you will know how i've been feeling--lost and confused with all the mis-information, with a hit and miss phone, and out of time with all the 1 1/2 hr to 2 hrs EACH wasted on this issue.
    On top of all this, I can't even find out how to file a complaint with anyone higher up than Customer Service.
    I hate to tell you this, but you didn't write an email. You wrote a discussion post on the Verizon Wireless Community forum which is a public peer to peer forum. Unfortunately since you didn't mark your post as a question, the VZW reps that roam this community won't ever see your post. Before you re-post it, don't. Duplicate posts get removed from the community.
    I see there were several missteps both by the reps and yourself in your post. First you should have insisted on returning the phone within the 14 day return policy period. Second which Samsung Galaxy mini model did you purchase? The S3 mini or the S4 mini? Did you do any research prior to deciding on this device. The reps at that time deflected the easiest course of action, by trying to get you to replace the phone under insurance instead of returning the phone. The Early Edge payment option requires the current phone on the line using the early Edge must be returned to Verizon Wireless. Did you once considered going to a third party site like Swappa to purchase a gently used device for your daughter?

  • Where do I add my custom jar library files

    I need sone extra .jar library files, fo my application to compile. e.g
    lotusxsl.jar, xerces.jar
    what should be the location of these files, in the .ear file, and also in
    exploded directory?

    Yes, that might work but the problem is that to my understanding only the
    content of .ear-files are distributed to managed servers. Where do I put my
    jar-files inside the .ear-file?
    "Viresh Garg" <[email protected]> wrote in message
    news:[email protected]..
    best thing would be to put them in any relqative directory in archive or
    exloaded directory and then add them as classpath element in manifest filefor
    your archive/exloaded directory.
    Viresh Garg
    Manmari wrote:
    Thanks Viresh. So in 6.1 where do I put these files in the .ear ?
    My guess is, I need to put them under WEb-INF/lib directory in the .war
    file. and similarly in the exploded directory as well.
    Can you please confirm this, or otherwise?
    Thanks
    "Viresh Garg" <[email protected]> wrote in message
    news:[email protected]..
    Currently you have to put then in system classpath and not include in.ear.
    Unfortunately manifest calsspath currently doesn't work with
    enterprise
    archive. This is getting fixed in 6.1, for which beta is alreadyavailable.
    Consult J2EE Application specifications for manifest classpath and to
    know
    how it works.
    Viresh Garg
    BEA Systems
    Manmari wrote:
    I need sone extra .jar library files, fo my application to compile.
    e.g
    lotusxsl.jar, xerces.jar
    what should be the location of these files, in the .ear file, andalso
    in
    exploded directory?

  • Where can i download the util.jar and base.jar File?

    Hi all,
    in some SAP-Notes are describe where i can download these Files.
    For Example:
    http://service.sap.com/netweaver
    SAP NetWeaver
    -> SAP Netweaver in Detail
        -> Application Platform
           -> DB and OS abstraction
              -> Platforms
                 -> Platform specific information
                    -> Microsoft      
    x SQL Server
    ZIP-File: "JDBC Driver for MS SQL Server"
    But there are no ZIP-File !!!
    Can anyone tell me where i can find the base.jar and util.jar File?

    Hi Christian,
    when using a vendor's JDBC drivers, you must go to the vendor to get them. For Microsoft here is a good place to start: http://www.microsoft.com/sql/downloads/
    These JDBC files should also be included with you SQL Server CDs...
    Hope this helps!
    Cheers,
    Jeff

  • Setting classpath to execute jar file.

    I have dependency jar files to execute my jar file.
    set classpath=./lib/tpc.jar;./lib/jxl.jar;
          ./lib/log4j-1.2.15.jar;./lib/logSys.jar;
    java -jar ./lib/tpc.jar %1java -jar seems not taking classpath environment variables and showing error as
    Exception in thread "main" java.lang.NoClassDefFoundError:
    com/sys/logger/LogManager
            at utility.tpc.generate.Tpc.generate(Unknown Source)
            at utility.tpc.generate.Tpc.main(Unknown Source)The below one works, but I dont want to give all jar files along with java command and to make complicate.
    java -cp "./lib/tpc.jar;./lib/jxl.jar;./lib/log4j-1.2.15.jar;./lib/logSys.jar;"
             utility.tpc.generate.Tpc %1Is there a way to make first one to work ? Will adding "Class-Path:jxl.jar,log4j-1.2.15.jar,logSys.jar" in my manifest file make it work ?

    baskark wrote:
    I have dependency jar files to execute my jar file.
    set classpath=./lib/tpc.jar;./lib/jxl.jar;
    ./lib/log4j-1.2.15.jar;./lib/logSys.jar;
    java -jar ./lib/tpc.jar %1java -jar seems not taking classpath environment variables and showing error as
    Exception in thread "main" java.lang.NoClassDefFoundError:
    com/sys/logger/LogManager
    at utility.tpc.generate.Tpc.generate(Unknown Source)
    at utility.tpc.generate.Tpc.main(Unknown Source)The below one works, but I dont want to give all jar files along with java command and to make complicate.
    java -cp "./lib/tpc.jar;./lib/jxl.jar;./lib/log4j-1.2.15.jar;./lib/logSys.jar;"
    utility.tpc.generate.Tpc %1Is there a way to make first one to work ? Will adding "Class-Path:jxl.jar,log4j-1.2.15.jar,logSys.jar" in my manifest file make it work ?The jar command is specified to work as you have shown. That is, when you use "java -jar..." the system or command line classpath is ignored. The only classpath that can be used with "java -jar..." is the Class-Path in the manifest. You need to separate the different paths using space characters, not ; or : and the paths need to be relative to the jar file. (I am not sure if "./" will work and it is not needed to specify relative to the jar file.)
    Edited by: atmguy on Dec 14, 2009 8:42 AM

  • Where to set sending of e-mails for dunning documents

    Hello
    Does anyone knows where to set sending of e-mails for dunning documents. They are being printed out but e-mail is not being sent.
    Generalyy e-mail sending(trx scot) is set.
    I guess it is pure Fi settinng to send e-mail as well. Could anyoune help
    Thank you a lot in advance
    Jan

    Hi Jan,
    Please refer SAP note
    1042992 - Dunning by mail w/ SAPscript: Introductory text w/ attachmnt
    Also refer SCN document
    SAP FI Dunning Procedure customization and Functionality
    Refer section
    Activate the dunning via E-mail (To receive letter by mail)
    Dunning letter output can be in two forms.
    1)        Email
      Manual Print out
    H         Hope this helps.
                  Regards,
                 Deepak Kori

  • HT201320 in setting-mail,contacts,calendars, all my accounts as well as Add Account shows in grey, non activated. Any suggestions?

    in setting-mail,contacts,calendars, all my accounts as well as Add Account shows in grey, non activated. Any suggestions?

    Hey Jeremy,
    From the Enterprise Deployment Guide:
    +Important: When you configure a device to sync with Exchange, all existing calendar+
    +and contact information on the device is overwritten. Additionally, iTunes no longer+
    +sync contacts and calendars with your desktop computer. You can still sync your device+
    +wirelessly with MobileMe services.+
    +To change how many day’s worth of data is synced to your device, go to Settings >+
    +Mail, Contacts, and Calendars. The default setting is three days.+
    http://support.apple.com/manuals/enUS/Enterprise_DeploymentGuide.pdf
    You can leave iPhone related feedback and feature requests here: http://www.apple.com/feedback/iphone.html
    Jason

  • Where do I get essential JSF Jar files

    Dear friends,
    Where can I download essentila JSF jar files?
    Can I downlaod them seperately from any site?
    One more question...
    Can we depoloy JSF in Tomcat 5.0?
    Thanks in Advance
    Sarath

    Dear friends,
    Where can I download essentila JSF jar files?
    Can I downlaod them seperately from any site?
    They are included in version 1.2 of the Java Web Services Developer Pack (JWSDP):
    http://java.sun.com/webservices/webservicespack.html
    One more question...
    Can we depoloy JSF in Tomcat 5.0?
    Yes. In fact, JWSDP includes Tomcat 5 as its servlet container, with all the Faces JAR files pre-installed so you do not need to include them in your webapps when deploying to this server.
    >
    Thanks in Advance
    SarathCraig

  • Youtube activation.jar

    hi,
    could anyone build sample.youtube.run using ant and activation.jar ? I keep getting NoClassFoundError, although I kept
    all the jar files in classpath.
    thanks,
    dhiman

    tenida wrote:
    I keep getting NoClassFoundErrorThis means that the in the message given class was available in the classpath during compile time, but not during run time.
    although I kept all the jar files in classpath. Apparently only during compile time.

Maybe you are looking for

  • How can I see the url of a link before clicking on it?

    Hi. I have Firefox 10.0.2. I used to be able to see the url of a link on web pages in the bottom left of the browser. That way, if I the url didn't seem legit I wouldn't click on the link. But now, when I put the mouse over a link, nothing comes up.

  • Error message from iTunes

    I have been using iTunes with my iPod mini for ages and it works fine. I recently got a message saying some songs in the library have not been copied because the iPod software is too old. There are indeed some songs in the library that have been unch

  • Is it possible to use xml publisher with xml document as data source ?

    I have an application that have to publish document from xml document that are not part a oracle 10g database but will be stored into Oracle Berkeley XML database insteed. Is it possible to use server and/or desktop to publish these documents ? I tes

  • Lost Dual Monitor Support on MBPr After update to 10.9.3

    I had 2 external displays hooked up to my MBPr one through the display port/DVI connection, and the other through HDMI, now after the update, neither seem to be working. All I get it a black screen with a mouse pointer. Anyone else seeing this?

  • Can't loging with ipad on icloud with safari

    Greetings, I tried to login to icloud using safari and i get directed to a page about setting up icloud for this device. As far as i know i already did that, im using email, storage etc. for some time now but login through safari not possible. Anyone