Mail.jar

i want to test apache soap samples; i've installed apache, jdk, apache soap and i've always a problem with mail.jar (java.lang.NoClassDefFoundError: javax/mail/MessagingException)

hi forum i have problem in java mail actually i compiled this code and the problem i have how to run this code please help me if anyone knows about that
import javax.mail.Message;
import javax.mail.MessagingException;
import javax.mail.Session;
import javax.mail.Transport;
import javax.mail.internet.InternetAddress;
import javax.mail.internet.MimeMessage;
import java.util.*;
public class MailSender {
public void postMail(String smtpsrv, String recipients[], String subject,
String message, String from) throws MessagingException {
boolean debug = false;
//Set the host smtp address
Properties props = new Properties();
props.put("mail.smtp.host", smtpsrv);
// create some properties and get the default Session
Session session = Session.getDefaultInstance(props, null);
session.setDebug(debug);
// create a message
Message msg = new MimeMessage(session);
// set the from and to address
InternetAddress addressFrom = new InternetAddress(from);
msg.setFrom(addressFrom);
InternetAddress addressTo[]= new InternetAddress[recipients.length];
addressTo= new InternetAddress[recipients.length];
for (int i = 0; i < recipients.length; i++)
addressTo= new InternetAddress(recipients[i]);
msg.setRecipients(Message.RecipientType.TO,addressTo);
// Setting the Subject and Content Type
msg.setSubject(subject);
msg.setContent(message, "text/html;charset=utf-8");
Transport.send(msg);

Similar Messages

  • Error while Loading Mail.jar in Database

    Hi,
    I am trying to load mail.jar in Oracle 8i Database(ver. 8.1.5.0.0). It is giving error insufficient previleges. Then I extracted mail.jar and tried to load class PasswordAuthentication of mail.jar in user scott. It gave me same error. But I could load the same class in user SYS.
    Does it mean that, scott needs some special previleges for the classes in mail.jar. If so, How can I set those previleges ?
    Thanking You.
    Mrinal.
    null

    rdbms 8.1.5 had very tight restrictions on loading "system classes.
    check the java doc for 8.1.5 on this.
    check out the following
    "protected packages" in the following
    http://otn.oracle.com/doc/server.815/a64682/04jserve.htm#1001015
    Protected Packages
    You cannot replace system classes (those that CREATE JAVA SYSTEM installs, which you invoke with initjvm.sql at database initialization time). In addition, classes in any package (or sub-package) in which system classes reside, can be created only in the SYS schema. Protected packages include those starting with the patterns:
    java
    javax
    oracle.aurora
    oracle.jdbc
    oracle.rdbms
    oracle.sqlj
    oracle.sqlnet
    oracle.vm
    oracle.weak
    sun.tools
    sun.misc
    sun.net
    com.visigenic.vbroker
    com.sun.jndi
    org.omg
    sqlj
    by the way 8.1.5 went out of support on dec 31, 2000. you need to consider moving to 8.1.7.
    null

  • Mail.jar is locked when sending a mail using servlet and not releasing

    Hi everybody,
    The mail.jar is locked in tomcat while sending the first message and not released until the tomcat get restarts.
    the problem is not recorded in any logs.
    1. Please create a servlet that sends mail
    2. Send a mail to any mailid
    3. then after the mail is send please try to delete the mail.jar or please deploy the same servlet again with some small changes (for redeploying take place only a few changes is there - please change any strings a little bit)
    then try to send mail using this servlet will not send mail becoause it will not redployed correctely.
    when i removed Transport.send(msg); from code it works fine. but ??
    please help me to recover from this issue. i don't want to turn on tomcat antiJarlocking and antiresourcelocking to true, becaouse this craete many other problems.
    please help me to recover from this issue.
    Thanks,
    Prasad.N

    hi friend
    I am using advanced version of jdk. i i have used many other jar files like mysqlconnector, logging, commonhttpclient, etc.... the only problem is with mail.jar. that locks are released when its use completed, but the lock holds until tomcat shutdown in mail.jar.
    what may be the reason?
    Thanks,
    Prasad.N

  • How to send multiple Recipients using the mail.jar and activation.jar

    hi!
    could somebody help me. how do i send multiple Recipient using mail.jar. when i would input 2email address in to Recipient
    (example: [email protected], [email protected])
    i get a DEBUG: setDebug: JavaMail version 1.3.2
    but if i send a single email it just works properly.
    heres my code
    import java.io.*;
    import java.util.*;
    import javax.mail.*;
    import javax.mail.event.*;
    import javax.mail.internet.*;
    public class SendMail
              public SendMail(String to, String from, String subject, String body)
              //public SendMail(String to)
                   String message_recip = to;
                   String message_subject = subject;
                   String message_cc = "";
                   String message_body = body;
                   //The JavaMail session object
                   Session session;
                   //The JavaMail message object
                   Message mesg;
                   // Pass info to the mail server as a Properties, since JavaMail (wisely) allows room for LOTS of properties...
                   Properties props = new Properties( );
                   // LAN must define the local SMTP server as "mailhost" to be able to send mail...
                   //props.put("mail.smtp.host","true");
                   props.put("mail.smtp.host", "mailhost");
                   // Create the Session object
                   session = Session.getDefaultInstance(props, null);
                   session.setDebug(true);
                   try
                        // create a message
                        mesg = new MimeMessage(session);
                        // From Address - this should come from a Properties...
                        mesg.setFrom(new InternetAddress(from));
                        // TO Address
                        InternetAddress toAddress = new InternetAddress(message_recip);
                        mesg.addRecipient(Message.RecipientType.TO, toAddress);
                        // CC Address
                        InternetAddress ccAddress = new InternetAddress(message_cc);
                        mesg.addRecipient(Message.RecipientType.CC, ccAddress);
                        // The Subject
                        mesg.setSubject(message_subject);
                        // Now the message body.
                        mesg.setText(message_body);
                        // XXX I18N: use setText(msgText.getText( ), charset)
                        // Finally, send the message!
                        Transport.send(mesg);
                   }//end of try
                   catch (MessagingException ex)
                        while ((ex = (MessagingException)ex.getNextException( )) != null)
                             ex.printStackTrace( );
                        }//end of while
              }//end of catch
         }//end of SendMail
    public static void main(String[] args)
              //String t = "[email protected], [email protected]"; - this I think causes error
    String t = "[email protected]";
              String f = "[email protected]";
              String s = "Hello World";
              String b = "the quick brown fox jumps over the lazy dog";
              SendMail sm = new SendMail(t,f,s,b);     
         }//end of main
    }//end of class
    could someone please help me im stuck-up with this. thanx!

    i need it ASAP
    i am a beginner in java and jsp
    Need to knw how can I parse the addresss field
    Below
    is the code
    <code>
    package
    public class EMailBean {
    private String smtp,username,password,from,bcc,subject,body,attachments,cc;
         /*setter*/
         public void setSmtp(String str){this.smtp=str;}
         public void setUsername(String str){this.username=str;}
         public void setPassword(String str){this.password=str;}
         public void setFrom(String str){this.from=str;}
         public void setTo(String str){this.to=str;}
         public void setCc(String str){this.cc=str;}
         public void setBcc(String str){this.bcc=str;}
         public void setSubject(String str){this.subject=str;}
         public void setBody(String str){this.body=str;}
         public void setAttachments(String str){this.attachments=str;}
                                  /*getter*/
         public String getSmtp( ){return this.smtp;}
         public String getUsername( ){return this.username;}
         public String getPassword( ){return this.password;}
         public String getFrom( ){return this.from;}
         public String getTo( ){return this.to;}
         public String getCc( ){return this.cc;}     
         public String getBcc( ){return this.bcc;}
         public String getSubject( ){return this.subject;}
         public String getBody( ){return this.body;}
    public String getAttachments( ){return this.attachments;}
    </code>
    Session session = Session.getDefaultInstance(props, null);
    session.setDebug(true);
    try {
    MimeMessage msg = new MimeMessage(session);
    msg.setFrom(new InternetAddress(mail.getFrom()));
                                  msg.addRecipients(Message.RecipientType.TO, InternetAddress.parse(to, false));
                                  msg.addRecipient(Message.RecipientType.TO,new InternetAddress(mail.getTo()));
                             msg.addRecipient(Message.RecipientType.CC, new InternetAddress(mail.getCc()));
                                  msg.addRecipient(Message.RecipientType.CC, new InternetAddress("[email protected]"));
    msg.setSubject(mail.getSubject());
    // Create the message part
    BodyPart messageBodyPart = new MimeBodyPart();
    // Fill the message
    messageBodyPart.setText(mail.getBody());
    Multipart multipart = new MimeMultipart();
    multipart.addBodyPart(messageBodyPart);
    // Part two is attachment
    messageBodyPart = new MimeBodyPart();
    DataSource source = new FileDataSource(mail.getAttachments());
    messageBodyPart.setDataHandler(new DataHandler(source));
    messageBodyPart.setFileName(source.getName());
    multipart.addBodyPart(messageBodyPart);
    msg.setContent(multipart);
    msg.setSentDate(new Date());
    Transport t = session.getTransport("smtp");
    try {
    t.connect(mail.getUsername(), mail.getPassword());
    t.sendMessage(msg, msg.getAllRecipients());
    } finally {
    t.close();
    result = result + "<FONT SIZE='4' COLOR='blue'><B>Success!</B>"+"<FONT SIZE='4' COLOR='black'> "+"<HR><FONT color='green'><B>Mail was successfully sent to </B></FONT>: "+mail.getTo()+"<BR>";
    if (!("".equals(mail.getCc())))
    result = result +"<FONT color='green'><B>CCed To </B></FONT>: "+mail.getCc()+"<BR>";
    if (!("".equals(mail.getBcc())))
    result = result +"<FONT color='green'><B>BCCed To </B></FONT>: "+mail.getBcc() ;
    result = result+"<BR><HR>";
    } catch (MessagingException mex) {
    result = result + "<FONT SIZE='4' COLOR='blue'> <B>Error : </B><BR><HR> "+"<FONT SIZE='3' COLOR='black'>"+mex.toString()+"<BR><HR>";
    } catch (Exception e) {
    result = result + "<FONT SIZE='4' COLOR='blue'> <B>Error : </B><BR><HR> "+"<FONT SIZE='3' COLOR='black'>"+e.toString()+"<BR><HR>";
    e.printStackTrace();
    finally {
    return result;
    }

  • Mail.jar javabeans runs in beans but not in browser

    I have added the mail.jar to java beans and have written a program to access smtp mail
    The program compiles and runs ok in the beans development client but when i try to run it outside of beans in a web browser it wont run.
    If I then remove the Mail part from the program it will run outside of beans.
    I have added the mail.jer to the library within beans
    The exception im getting points to the Mail.jar being missing.
    Is there any other way to register the mail.jar with java beans or even with the javac compiler.
    Thanks in advance

    I include the full code im trying to get to work outside of the design environment. I tried adding the path of the mail.jar to the html path but it did absolutely nothing. I cannot find any reason why this code works in the designer and not outside of it. Works great in and out of the designer without the mail.jar library. Once the mail.jar library is there it will only work in the designer. I would have thought during the packaging process the designer would pass over all of the relative files and settings ready for deployment as it does with running in the designer but apparently not.
    package request;
    import java.awt.*;
    import java.util.*;
    import javax.mail.*;
    import javax.mail.internet.*;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    public class request extends java.applet.Applet{
         Button sendrequest,clear;
         TextField tex1,tex2,tex3,tex4,tex5;
    @Override
         public void init(){
              setLayout(new GridLayout(6,2,2,5));
              add(new Label("Customer Name"));
              tex1=new TextField(22);
              add(tex1);
              tex2=new TextField(22);
              add(new Label("Account Number"));
              add(tex2);
              tex3=new TextField(22);
              add(new Label("Viewing Card Number"));
              add(tex3);
              tex4=new TextField(22);
              add(new Label("Request Type"));
              add(tex4);
              tex5=new TextField(22);
              add(new Label("Request Reason"));
              add(tex5);
              sendrequest = new Button("Send Request");
              add(sendrequest);
              clear=new Button("Clear");
              add(clear);
    @Override
         public boolean action(Event evt,Object arg){
              if(evt.target instanceof Button){
    try {
    makechoice((Button) evt.target);
    } catch (Exception ex) {
    Logger.getLogger(request.class.getName()).log(Level.SEVERE, null, ex);
                   return true;
              } else return false;
         void makechoice(Button b) throws Exception{
              if (b==sendrequest){
                   String mess=null;
                   Date date;
                   date=new Date();
                   mess=date.toString() + "\r\n";
                   mess=mess + "Customer Name: "+ tex1.getText() + "\r\n";
                   mess=mess + "Account Number: "+ tex2.getText() + "\r\n";
                   mess=mess + "Card Number: "+ tex3.getText() + "\r\n";
                   mess=mess + "Request Type: "+ tex4.getText() + "\r\n";
                   mess=mess + "Request Reason: "+ tex5.getText() + "\r\n";
    postmail(mess);
    }else {
                   tex1.setText("");
                   tex2.setText("");
                   tex3.setText("");
                   tex4.setText("");
                   tex5.setText("");
    void postmail(String mess) throws MessagingException
    boolean debug = false;
    String recipient="YOUR EMAIL ADDRESS HERE";
    String subject="change request";
    String from="YOUR EMAIL ADDRESS HERE";
    //Set the host smtp address
    Properties props = new Properties();
    props.put("mail.smtp.host", "YOUR SMTP SERVER ADDRESS HERE");
    // create some properties and get the default Session
    Session session = Session.getDefaultInstance(props, null);
    session.setDebug(debug);
    // create a message
    Message msg = new MimeMessage(session);
    // set the from and to address
    InternetAddress addressFrom = new InternetAddress(from);
    msg.setFrom(addressFrom);
    InternetAddress addressTo = new InternetAddress(recipient);
    msg.setRecipient(Message.RecipientType.TO, addressTo);
    // Setting the Subject and Content Type
    msg.setSubject(subject);
    msg.setContent(mess, "text/plain");
    Transport.send(msg);
    }

  • How to add the mail.jar file to my CLASSPATH ?

    Hi;
    I wish to Instal JavaMail 1.2
    To use the JavaMail 1.2 API, i unbundle the javamail-1_3_1-upd.zip file.....and now, i would like to add the mail.jar file to your CLASSPATH.
    My question is: how do you do this ?
    - ok i did that for CATALINA_HOME & JAVA_HOME but how to add the mail.jar file to my CLASSPATH ??
    1000 thanks.

    I think you're looking for "developer support", not packaged application support. different server, different batch of groups. . .
    Since I have very little contact with devopers, I don't truly know.

  • How to export mail.jar ?

    Hi to everybody!
    i'm writing a desktop application that needs to send e-mail (i'm using NetBeans do develop it). These are the steps i've done:
    * I've downloaded the javamail-1.4 and jaf-1.1 (activation) libraries and i've added them into my project using "Libraries -> AddLibrary" as i've always done. And everything works.
    * I've written my code (i.e. an emailSender class) and compiled it. And everything works.
    * I run the application from NetBeans. And everything works (the email are sent).
    * I've added into build.xml the code
    <target name="-post-jar">
             <jar update="true" destfile="${dist.jar}" manifest="manifest.mf">
                 <zipfileset src="${libs.swing-layout.classpath}"/>
                 <zipfileset src="C:\\Programs\\Java\\jaf-1.1\\activation.jar"/>
                 <zipfileset src="C:\\Programs\\Java\\javamail-1.4\\mail.jar"/>
             </jar>
    </target>to export the myproject.jar file as an executable on other systems but when i double-click on the jar i see the error:
    Could not find the main class. Program will exit* Then i've removed the two zipfileset tags and left the target tag as
    <target name="-post-jar">
             <jar update="true" destfile="${dist.jar}" manifest="manifest.mf">
                 <zipfileset src="${libs.swing-layout.classpath}"/>
             </jar>
    </target> Thus the application still run correctly if loaded from NetBeans but if loaded by double-clicking the jar file (after a rebuild of the project) it throws the following exception:
    class java.lang.NoClassDefFoundError
    javax/mail/MessagingExceptionOf course id does not fount the definition of MessagingException.
    * I've tryed to add the mail.jar, using the jar command line, into myproject.jar but i haven't solved the problem.
    So, how could i add into myproject.jar the mail library without having the NoClassDefFoundError exception? I think the error appear only when exporting into the jar the mail api. But the manifest.mf file always contains
    Manifest-Version: 1.0
    Ant-Version: Apache Ant 1.6.5
    Created-By: 1.5.0_06-b05 (Sun Microsystems Inc.)
    Main-Class: Main.Mainand it looks correct.
    Thank you in advance !!
    alevincio

    You don't want to include mail.jar in your jar file, and you don't
    even want to include the classes in mail.jar in your jar file.
    What you want to do is to set up your jar file to reference mail.jar
    and activation.jar, e.g., by including a ths in your manifest file:
    Class-Path: mail.jar activation.jar
    Then make sure that mail.jar and activation.jar are in the same
    directory as your jar file.

  • Java Studio Enterprise 8 and mail.jar

    I have a problem with the mail.jar file being locked after a method is instantiated that actually sends a message (and invokes the mail.jar, activiation.jar, etc.) This is problematic because I can't redepoy an application from the Java Studio Enterprise 8 IDE to the application server without shutting down and restarting the application server. I have the latest versions as of today (7/26/2006) of the mail.jar and activation.jar archives. I've done everything I can think of to ensure that all references to java objects created as part of the mail send process are nullified and even called the System.gc() method to ask the JVM to clean things up. Still, the mail.jar is locked upon redeploy (I can tell because all other files, classes, web component, etc. are gone from the deploy directory except the mail.jar file, which is locked even from Operating System access.)
    I'm using:
    Sun Java(TM) Studio Enterprise 8 (Build 051011_2)
    IDE/1 spec-5.9.1 impl=200507031930
    Windows 2000 version 5.0 runningo n x86
    Java 1.5.0_04
    Java HotSpot(TM) Client VM 1.5.0_04-b05
    Any ideas on how to fix this locking problem with mail.jar?
        /** Send an e-mail to a user with mime file attachment(s). */
        public synchronized boolean sendMailWithMimeAttachment(String from,
                String to[], String subject, String messageText, File[] file) {
            boolean sent = false;
            java.util.Properties properties = new java.util.Properties();
            properties.put("mail.smtp.host", getSmtpHost());
            javax.mail.Session session = javax.mail.Session.getDefaultInstance(properties);
            javax.mail.internet.MimeMessage message = new javax.mail.internet.MimeMessage(session);
            javax.mail.internet.MimeMultipart mimeMultiPart = new javax.mail.internet.MimeMultipart();
            javax.mail.Transport transport = null;
            while (true) {
                try {
                    subject = formatSQLString(subject);
                    if (subject.length() <= 0) {
                        subject = "McJunkin Mail Interface";
                    message.setSubject(subject);
                    message.setSentDate(new java.util.Date());
                    from = formatSQLString(from);
                    if (from.length() <= 0) {
                        from = "[email protected]";
                    message.setFrom(new InternetAddress(from));
                    if (to == null) {
                        break;
                    String[] toArray = new String[0];
                    for (int i=0;i<to.length;i++) {
                        to[i] = formatSQLString(to);
    if (to[i].length() > 0) {
    toArray = addItemToArray(toArray, to[i]);
    if (toArray.length <= 0) {
    break;
    InternetAddress[] address = new InternetAddress[toArray.length];
    for (int i=0;i<toArray.length;i++) {
    address[i] = new InternetAddress(toArray[i]);
    message.setRecipients(javax.mail.Message.RecipientType.TO, address);
    // Create the multipart MIME message body parts.
    int partsAdded = 0;
    messageText = formatSQLString(messageText);
    if (messageText.length() > 0) {
    partsAdded++;
    MimeBodyPart mbp = new MimeBodyPart();
    mbp.setText(messageText);
    mimeMultiPart.addBodyPart(mbp);
    mbp = null;
    if (file != null) {
    for (int i=0;i<file.length;i++) {
    if (file[i].exists() && file[i].isFile()) {
    partsAdded++;
    MimeBodyPart mbp = new MimeBodyPart();
    FileDataSource fds = new FileDataSource(file[i]);
    mbp.setDataHandler(new DataHandler(fds));
    DataHandler dh = mbp.getDataHandler();
    mbp.setFileName(fds.getName());
    mimeMultiPart.addBodyPart(mbp);
    dh = null;
    fds = null;
    mbp = null;
    message.setContent(mimeMultiPart);
    message.saveChanges();
    transport = session.getTransport();
    transport.send(message);
    sent = true;
    } catch (Exception e) {
    e.printStackTrace();
    break;
    transport = null;
    mimeMultiPart = null;
    message = null;
    session = null;
    properties = null;
    javaCleanup();
    return sent;

    Huhm. Good question. I have done the following to get a good log file trace in case something is there:
    1) Stopped the server.
    2) Cleared out the server.log file (deleted it).
    3) Started the server.
    4) Deployed the application.
    5) Ran the application code such that it sends an e-mail using the Transport.send(message) code.
    6) Tried to redeploy the application (which won't because the mail.jar file is locked up).
    Here's the server.log file after all that happened....
    [#|2006-08-07T14:17:57.770-0400|WARNING|sun-appserver-pe8.1_02|javax.enterprise.tools.launcher|_ThreadID=10;|LAUNCHER005:Spaces in your PATH have been detected. The PATH must be consistently formated (e.g. C:\Program Files\Java\jdk1.5.0\bin; ) or the Appserver may not be able to start and/or stop.  Mixed quoted spaces in your PATH can cause problems, so the launcher will remove all double quotes before invoking the process. The most reliable solution would be to remove all spaces from your path before starting the Appservers components.  |#]
    [#|2006-08-07T14:17:57.790-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.tools.launcher|_ThreadID=10;|
    C:/JDK1.5.0_04\bin\java
    -client
    -XX:NewRatio=2
    -Xmx1g
    -Xrs
    -Dcom.sun.aas.defaultLogFile=D:/Sun/JSE8/AppServ8.1UR2/domains/domain1/logs/server.log
    -Djava.endorsed.dirs=D:/Sun/JSE8/AppServ8.1UR2/lib/endorsed
    -Djava.security.policy=D:/Sun/JSE8/AppServ8.1UR2/domains/domain1/config/server.policy
    -Djava.security.auth.login.config=D:/Sun/JSE8/AppServ8.1UR2/domains/domain1/config/login.conf
    -Dsun.rmi.dgc.server.gcInterval=3600000
    -Dsun.rmi.dgc.client.gcInterval=3600000
    -Djavax.net.ssl.keyStore=D:/Sun/JSE8/AppServ8.1UR2/domains/domain1/config/keystore.jks
    -Djavax.net.ssl.trustStore=D:/Sun/JSE8/AppServ8.1UR2/domains/domain1/config/cacerts.jks
    -Djava.ext.dirs=C:/JDK1.5.0_04/jre/lib/ext;D:/Sun/JSE8/AppServ8.1UR2/domains/domain1/lib/ext
    -Djdbc.drivers=com.pointbase.jdbc.jdbcUniversalDriver
    -Djavax.management.builder.initial=com.sun.enterprise.admin.server.core.jmx.AppServerMBeanServerBuilder
    -Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
    -Dcom.sun.enterprise.taglibs=appserv-jstl.jar,jsf-impl.jar
    -Dcom.sun.enterprise.taglisteners=jsf-impl.jar
    -Djavax.net.ssl.trustStorePassword=changeit
    -Djavax.xml.parsers.SAXParserFactory=com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl
    -Dcom.sun.aas.configName=server-config
    -Dorg.xml.sax.parser=org.xml.sax.helpers.XMLReaderAdapter
    -Ddomain.name=domain1
    -Djmx.invoke.getters=true
    -Djavax.xml.parsers.DocumentBuilderFactory=com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl
    -Dcom.sun.aas.promptForIdentity=true
    -Dorg.xml.sax.driver=com.sun.org.apache.xerces.internal.parsers.SAXParser
    -Dcom.sun.aas.instanceRoot=D:/Sun/JSE8/AppServ8.1UR2/domains/domain1
    -Djavax.xml.transform.TransformerFactory=com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl
    -Dcom.sun.aas.domainName=domain1
    -Djava.util.logging.manager=com.sun.enterprise.server.logging.ServerLogManager
    -Dproduct.name=Sun-Java-System/Application-Server
    -Dcom.sun.enterprise.overrideablejavaxpackages=javax.faces,javax.servlet.jsp.jstl,javax.xml.bind,javax.help
    -Dcom.sun.aas.configRoot=D:/Sun/JSE8/AppServ8.1UR2/config
    -Djava.library.path=C:\JDK1.5.0_04\jre\bin\client;D:\Sun\JSE8\AppServ8.1UR2\lib;D:\Sun\JSE8\AppServ8.1UR2\lib;C:\JDK1.5.0_04\bin;.;C:\WINNT\system32;C:\WINNT;D:\Sun\JSE8\AppServ8.1UR2\lib;D:\Sun\JSE8\AppServ8.1UR2\bin;D:\Sun\JSE8\AppServ8.1UR2\lib;D:\Sun\JSE8\AppServ8.1UR2\bin;D:\Sun\JSE8\AppServ8.1UR2\bin;D:\Sun\JSE8\AppServ8.1UR2\bin;C:\PROGRAM FILES\THINKPAD\UTILITIES;D:\SUN\STUDIO5_SE\APPSERVER7\BIN;C:\WINNT\SYSTEM32;C:\WINNT;C:\WINNT\SYSTEM32\WBEM;C:\PROGRA~1\THINKPAD\UTILITIES;E:\PFOC\RUN;C:\PROGRA~1\MQSERIES\TOOLS\C\SAMPLES\BIN;C:\PROGRA~1\MQSERIES\JAVA\BIN;C:\PROGRA~1\MQSERIES\JAVA\LIB;C:\PROGRA~1\MQSERIES\BIN;E:\PFOC\SOURCE;D:\CNT310\RUNTIME;D:\CNT310\TOOLS\UTIL;C:\LOTUS\NOTES;D:\OBJREXX;D:\OBJREXX\OODIALOG;D:\IFOR\WIN\BIN;D:\IFOR\WIN\BIN\EN_US;D:\MSTOOLS\BIN;D:\SPFPRO;D:\PROGRA~1\IBM\TRACE FACILITY;D:\IBMPCS;C:\PROGRA~1\COMMON FILES\ADAPTEC SHARED\SYSTEM;D:\PMW180\APP;D:\PROGRA~1\SYMANTEC\NORTON GHOST 2003;D:\COBOL32\EXEDLL;D:\SQLLIB\BIN;D:\SQLLIB\FUNCTION;D:\SQLLIB\SAMPLES\REPL;D:\SQLLIB\HELP;D:\IBM\IMNNQ;D:\FRNROOT;D:\FRNROOT\DLL;D:\FRNROOT\HELP;D:\Ghost2003\;C:\Program Files\IBM\Trace Facility\;D:\Program Files\IBM\Trace Facility;D:\PCOMM;D:\Sun\JSE8\AppServ8.1UR2\bin;D:\Sun\JSE8\ide\uml1\modules\DoorsIntegrationFiles\modules\bin
    -Dcom.sun.aas.instanceName=server
    -Dcom.sun.aas.processLauncher=SE
    -cp
    C:/JDK1.5.0_04/lib/tools.jar;D:/Sun/JSE8/AppServ8.1UR2/lib/appserv-rt.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\admin-cli.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\appserv-admin.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\dom.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\jmxremote.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\jmxremote_optional.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\jsf-api.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\jsf-impl.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\rmissl.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\xalan.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\xercesImpl.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\appserv-assemblytool_ja.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\appserv-cmp_ja.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\appserv-rt_ja.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\commons-launcher_ja.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\deployhelp_ja.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\j2ee_ja.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\appserv-assemblytool_zh.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\appserv-assemblytool_zh_CN.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\appserv-cmp_zh.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\appserv-cmp_zh_CN.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\appserv-rt_zh.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\appserv-rt_zh_CN.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\commons-launcher_zh.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\commons-launcher_zh_CN.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\deployhelp_zh.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\deployhelp_zh_CN.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\j2ee_zh.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\j2ee_zh_CN.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\appserv-assemblytool_ko.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\appserv-cmp_ko.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\appserv-rt_ko.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\commons-launcher_ko.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\deployhelp_ko.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\j2ee_ko.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\appserv-assemblytool_fr.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\appserv-cmp_fr.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\appserv-rt_fr.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\commons-launcher_fr.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\deployhelp_fr.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\j2ee_fr.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\appserv-assemblytool_es.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\appserv-cmp_es.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\appserv-rt_es.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\commons-launcher_es.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\deployhelp_es.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\j2ee_es.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\appserv-upgrade.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\appserv-ext.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\j2ee.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\activation.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\appserv-cmp.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\appserv-jstl.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\commons-launcher.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\commons-logging.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\j2ee-svc.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\jax-qname.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\jaxr-api.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\jaxr-impl.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\jaxrpc-api.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\jaxrpc-impl.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\mail.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\relaxngDatatype.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\saaj-api.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\saaj-impl.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\xsdlib.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\appserv-env.jar;D:/Sun/JSE8/AppServ8.1UR2/lib/install/applications/jmsra/imqjmsra.jar;D:/Sun/JSE8/AppServ8.1UR2/imq/lib/jaxm-api.jar;D:/Sun/JSE8/AppServ8.1UR2/imq/lib/fscontext.jar;D:/Sun/JSE8/AppServ8.1UR2/lib/ant/lib/ant.jar
    com.sun.enterprise.server.PEMain
    start
    display
    native|#]
    [#|2006-08-07T14:18:04.199-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.resource.jms|_ThreadID=10;|JMS5023: JMS service successfully started. Instance Name = imqbroker, Home = [D:\Sun\JSE8\AppServ8.1UR2\imq\bin].|#]
    [#|2006-08-07T14:18:04.209-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.core|_ThreadID=10;|CORE5098: AS Socket Service Initialization has been completed.|#]
    [#|2006-08-07T14:18:05.311-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.tools.admin|_ThreadID=10;|ADM0001:MBeanServer initialized successfully|#]
    [#|2006-08-07T14:18:06.203-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.core.security|_ThreadID=10;|SEC1143: Loading policy provider com.sun.enterprise.security.provider.PolicyWrapper.|#]
    [#|2006-08-07T14:18:06.793-0400|SEVERE|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0315: The host name L2652Q5U is shared by virtual servers server and server1, which are both associated with the same HTTP listener (http-listener-1)|#]
    [#|2006-08-07T14:18:06.843-0400|WARNING|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0304: Unsupported http-service property (text/xml) is being ignored|#]
    [#|2006-08-07T14:18:06.843-0400|WARNING|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0304: Unsupported http-service property (text/xml) is being ignored|#]
    [#|2006-08-07T14:18:07.004-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|Created virtual server server|#]
    [#|2006-08-07T14:18:07.004-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|Created virtual server __asadmin|#]
    [#|2006-08-07T14:18:07.024-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|Created virtual server server1|#]
    [#|2006-08-07T14:18:09.137-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.resource.corba.S1AS-ORB.rpc.transport|_ThreadID=10;|"IOP00710299: (INTERNAL) Successfully created IIOP listener on the specified host/port: all interfaces/3700"|#]
    [#|2006-08-07T14:18:09.147-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.resource.corba.S1AS-ORB.rpc.transport|_ThreadID=10;|"IOP00710299: (INTERNAL) Successfully created IIOP listener on the specified host/port: all interfaces/3820"|#]
    [#|2006-08-07T14:18:09.157-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.resource.corba.S1AS-ORB.rpc.transport|_ThreadID=10;|"IOP00710299: (INTERNAL) Successfully created IIOP listener on the specified host/port: all interfaces/3920"|#]
    [#|2006-08-07T14:18:11.450-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.core.transaction|_ThreadID=10;|JTS5014: Recoverable JTS instance, serverId = [3700]|#]
    [#|2006-08-07T14:18:17.520-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.tools.admin|_ThreadID=10;|ADM1079: Initialization of AMX MBeans successful|#]
    [#|2006-08-07T14:18:18.882-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.ejb|_ThreadID=10;|Instantiated container for: ejbName: MEJBBean; containerId: 74836713503064064|#]
    [#|2006-08-07T14:18:20.444-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.core.classloading|_ThreadID=10;|LDR5010: All ejb(s) of [MEjbApp] loaded successfully!|#]
    [#|2006-08-07T14:18:20.995-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.ejb|_ThreadID=10;|Instantiated container for: ejbName: TimerBean; containerId: 74836736788594688|#]
    [#|2006-08-07T14:18:22.557-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.ejb|_ThreadID=10;|EJB5109:EJB Timer Service started successfully for datasource [jdbc/__TimerPool]|#]
    [#|2006-08-07T14:18:22.557-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.core.classloading|_ThreadID=10;|LDR5010: All ejb(s) of [__ejb_container_timer_app] loaded successfully!|#]
    [#|2006-08-07T14:18:22.637-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0302: Starting Sun-Java-System/Application-Server.|#]
    [#|2006-08-07T14:18:22.858-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [__default-admingui] in virtual server [__asadmin] at [/]|#]
    [#|2006-08-07T14:18:23.038-0400|WARNING|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0500: default-locale attribute of locale-charset-info element has been deprecated and is being ignored. Use default-charset attribute of parameter-encoding element instead|#]
    [#|2006-08-07T14:18:23.418-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [adminapp] in virtual server [__asadmin] at [/web1]|#]
    [#|2006-08-07T14:18:23.428-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [admingui] in virtual server [__asadmin] at [/asadmin]|#]
    [#|2006-08-07T14:18:23.438-0400|WARNING|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0500: default-locale attribute of locale-charset-info element has been deprecated and is being ignored. Use default-charset attribute of parameter-encoding element instead|#]
    [#|2006-08-07T14:18:23.449-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [com_sun_web_ui] in virtual server [__asadmin] at [/com_sun_web_ui]|#]
    [#|2006-08-07T14:18:23.919-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [credit] in virtual server [server1] at [/credit]|#]
    [#|2006-08-07T14:18:23.949-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [confirm] in virtual server [server1] at [/confirm]|#]
    [#|2006-08-07T14:18:23.959-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [log] in virtual server [server1] at [/log]|#]
    [#|2006-08-07T14:18:23.969-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [maps] in virtual server [server1] at [/maps]|#]
    [#|2006-08-07T14:18:23.989-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [ordinq] in virtual server [server1] at [/ordinq]|#]
    [#|2006-08-07T14:18:23.999-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [smg] in virtual server [server1] at [/smg]|#]
    [#|2006-08-07T14:18:24.019-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [menu] in virtual server [server1] at [/menu]|#]
    [#|2006-08-07T14:18:24.039-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [imaging] in virtual server [server1] at [/imaging]|#]
    [#|2006-08-07T14:18:24.049-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [scale] in virtual server [server1] at [/scale]|#]
    [#|2006-08-07T14:18:24.059-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [label] in virtual server [server1] at [/label]|#]
    [#|2006-08-07T14:18:24.079-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [doclib] in virtual server [server1] at [/doclib]|#]
    [#|2006-08-07T14:18:24.099-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [credit] in virtual server [server] at [/credit]|#]
    [#|2006-08-07T14:18:24.110-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [confirm] in virtual server [server] at [/confirm]|#]
    [#|2006-08-07T14:18:24.130-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [log] in virtual server [server] at [/log]|#]
    [#|2006-08-07T14:18:24.150-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [maps] in virtual server [server] at [/maps]|#]
    [#|2006-08-07T14:18:24.160-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [ordinq] in virtual server [server] at [/ordinq]|#]
    [#|2006-08-07T14:18:24.170-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [menu] in virtual server [server] at [/menu]|#]
    [#|2006-08-07T14:18:24.180-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [imaging] in virtual server [server] at [/imaging]|#]
    [#|2006-08-07T14:18:24.200-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [scale] in virtual server [server] at [/scale]|#]
    [#|2006-08-07T14:18:24.210-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [label] in virtual server [server] at [/label]|#]
    [#|2006-08-07T14:18:24.220-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [doclib] in virtual server [server] at [/doclib]|#]
    [#|2006-08-07T14:18:24.350-0400|INFO|sun-appserver-pe8.1_02|org.apache.catalina.core.StandardEngine|_ThreadID=10;|Starting Servlet Engine: Sun-Java-System/Application-Server|#]
    [#|2006-08-07T14:18:26.483-0400|SEVERE|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0600: WebModule [/imaging] failed to deploy and has been disabled: [java.lang.IllegalArgumentException: Invalid <url-pattern> ImagingServlet in servlet mapping].|#]
    [#|2006-08-07T14:18:27.044-0400|SEVERE|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0600: WebModule [/label] failed to deploy and has been disabled: [java.lang.IllegalArgumentException: Invalid <url-pattern> LabelServlet in servlet mapping].|#]
    [#|2006-08-07T14:18:29.568-0400|SEVERE|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0600: WebModule [/doclib] failed to deploy and has been disabled: [java.lang.IllegalArgumentException: Invalid <url-pattern> DoclibServlet in servlet mapping].|#]
    [#|2006-08-07T14:18:29.898-0400|INFO|sun-appserver-pe8.1_02|org.apache.catalina.loader.WebappClassLoader|_ThreadID=10;|validateJarFile(D:\Sun\JSE8\AppServ8.1UR2\domains\domain1\applications\j2ee-modules\smg\WEB-INF\lib\j2ee.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class|#]
    [#|2006-08-07T14:18:30.289-0400|SEVERE|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0600: WebModule [/imaging] failed to deploy and has been disabled: [java.lang.IllegalArgumentException: Invalid <url-pattern> ImagingServlet in servlet mapping].|#]
    [#|2006-08-07T14:18:30.810-0400|SEVERE|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0600: WebModule [/label] failed to deploy and has been disabled: [java.lang.IllegalArgumentException: Invalid <url-pattern> LabelServlet in servlet mapping].|#]
    [#|2006-08-07T14:18:34.085-0400|SEVERE|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0600: WebModule [/doclib] failed to deploy and has been disabled: [java.lang.IllegalArgumentException: Invalid <url-pattern> DoclibServlet in servlet mapping].|#]
    [#|2006-08-07T14:18:34.435-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0703: Initializing Sun-Java-System/Application-Server-PE HTTP/1.1 on 6060|#]
    [#|2006-08-07T14:18:34.465-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0712: Starting Sun-Java-System/Application-Server-PE HTTP/1.1 on 6060|#]
    [#|2006-08-07T14:18:34.715-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0703: Initializing Sun-Java-System/Application-Server-PE HTTP/1.1 on 5050|#]
    [#|2006-08-07T14:18:34.726-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0712: Starting Sun-Java-System/Application-Server-PE HTTP/1.1 on 5050|#]
    [#|2006-08-07T14:18:35.216-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.tools.admin|_ThreadID=10;|ADM1501: Here is the JMXServiceURL for the JMXConnectorServer: [service:jmx:rmi:///jndi/rmi://l2652q5u.mcjunkin.com:8686/management/rmi-jmx-connector]. This is where the remote administrative clients should connect using the JSR 160 JMX Connectors.|#]
    [#|2006-08-07T14:18:35.216-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.tools.admin|_ThreadID=10;|ADM1502: Status of System JMX Connector: Active = [true]|#]
    [#|2006-08-07T14:18:35.306-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.core|_ThreadID=10;|Application server startup complete.|#]
    [#|2006-08-07T14:20:27.395-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.tools.admin|_ThreadID=11;|ADM1041:Sent the event to instance:[ModuleDeployEvent -- undeploy web/doclib]|#]
    [#|2006-08-07T14:20:27.526-0400|WARNING|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=11;|Exception during unregistration of servletstats
    java.lang.NullPointerException
         at com.sun.enterprise.admin.monitor.registry.spi.MonitoringRegistrationHelper.unregisterServletStats(MonitoringRegistrationHelper.java:502)
         at com.sun.enterprise.web.WebContainer.unregisterServletStats(WebContainer.java:2713)
         at com.sun.enterprise.web.WebContainer.disableMonitoring(WebContainer.java:2492)
         at com.sun.enterprise.web.WebContainer.unloadWebModule(WebContainer.java:2069)
         at com.sun.enterprise.server.WebModuleDeployEventListener.moduleUndeployed(WebModuleDeployEventListener.java:198)
         at com.sun.enterprise.server.WebModuleDeployEventListener.moduleUndeployed(WebModuleDeployEventListener.java:262)
         at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeModuleDeployEventListener(AdminEventMulticaster.java:920)
         at com.sun.enterprise.admin.event.AdminEventMulticaster.handleModuleDeployEvent(AdminEventMulticaster.java:905)
         at com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:427)
         at com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:139)
         at com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent(DeploymentNotificationHelper.java:288)
         at com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(DeploymentServiceUtils.java:155)
         at com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStopEvent(ServerDeploymentTarget.java:283)
         at com.sun.enterprise.deployment.phasing.StopPhase.runPhase(StopPhase.java:126)
         at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:71)
         at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:633)
         at com.sun.enterprise.deployment.phasing.PEDeploymentService.stop(PEDeploymentService.java:409)
         at com.sun.enterprise.deployment.phasing.PEDeploymentService.stop(PEDeploymentService.java:444)
         at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.stop(ApplicationsConfigMBean.java:725)
         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.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:302)
         at com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:357)
         at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
         at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
         at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
         at sun.reflect.GeneratedMethodAccessor25.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:54)
         at $Proxy1.invoke(Unknown Source)
         at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:272)
         at com.sun.enterprise.admin.jmx.remote.server.callers.InvokeCaller.call(InvokeCaller.java:38)
         at com.sun.enterprise.admin.jmx.remote.server.MBeanServerRequestHandler.handle(MBeanServerRequestHandler.java:92)
         at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.processRequest(RemoteJmxConnectorServlet.java:69)
         at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.doPost(RemoteJmxConnectorServlet.java:94)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:767)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         at sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:132)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:185)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:653)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:534)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.doTask(ProcessorTask.java:403)
         at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:55)
    |#]
    [#|2006-08-07T14:20:27.536-0400|WARNING|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=11;|Exception during unregistration of servletstats
    java.lang.NullPointerException
         at com.sun.enterprise.admin.monitor.registry.spi.MonitoringRegistrationHelper.unregisterServletStats(MonitoringRegistrationHelper.java:502)
         at com.sun.enterprise.web.WebContainer.unregisterServletStats(WebContainer.java:2713)
         at com.sun.enterprise.web.WebContainer.disableMonitoring(WebContainer.java:2492)
         at com.sun.enterprise.web.WebContainer.unloadWebModule(WebContainer.java:2069)
         at com.sun.enterprise.server.WebModuleDeployEventListener.moduleUndeployed(WebModuleDeployEventListener.java:198)
         at com.sun.enterprise.server.WebModuleDeployEventListener.moduleUndeployed(WebModuleDeployEventListener.java:262)
         at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeModuleDeployEventListener(AdminEventMulticaster.java:920)
         at com.sun.enterprise.admin.event.AdminEventMulticaster.handleModuleDeployEvent(AdminEventMulticaster.java:905)
         at com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:427)
         at com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:139)
         at com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent(DeploymentNotificationHelper.java:288)
         at com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(DeploymentServiceUtils.java:155)
         at com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStopEvent(ServerDeploymentTarget.java:283)
         at com.sun.enterprise.deployment.phasing.StopPhase.runPhase(StopPhase.java:126)
         at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:71)
         at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:633)
         at com.sun.enterprise.deployment.phasing.PEDeploymentService.stop(PEDeploymentService.java:409)
         at com.sun.enterprise.deployment.phasing.PEDeploymentService.stop(PEDeploymentService.java:444)
         at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.stop(ApplicationsConfigMBean.java:725)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          

  • JavaMail mail.jar in EAR file

    JDeveloper 11.1.2.1
    If I download the JavaMail mail.jar file and then add it to my project will that mail.jar file be included in my .ear file? Is there a way I can force it to be include in the .ear file? I would like to be able to install the .ear file on the server and not have to install JavaMail on the server. I also have a Jasper libaray whith which I have the same concern.
    Thanks, Steve

    Use Tools->Manage Libraries... to include your jar files.
    (and select: Deployed by Default)
    Dario

  • Where should I keep mail jar in jws,mssql

    Dear all
    hi!
    I am writing code for java mail. But where shold I keep mail jar files in server(java web server and mssql)
    My programme is giving error:
    Package javax.mail not found in import. import javax.mail.*;
    ^
    Please guide me,
    thanx,
    Samir

    The error seems to come when trying to compile your code.
    Put the JavaMail package onto the class path!

  • 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.

  • Failed to build javax.mail.jar (Java Mail 1.4.4) with Maven-2.2.1

    Hi,
    I am building javax.mail.jar using with the source of "JavaMail 1.4.4 source code", downloaded from http://kenai.com/projects/javamail/downloads , we have some customized changes in few source java files (regarding IMAP and response) of this source, otherwise no changes we have done in this source for building mail jar with maven.
    I was using Maven 2.2.1 - successfully downloaded repository on my systems when I had Java 1.6. Then I have moved to java 7 but it failed, on roll back changes I was unable to download repositories as I had downloaded at earlier stage.
    System has set JAVA_HOME of Java Home directory
    [ERROR] BUILD ERROR
    [INFO] ----------------------------------------------------------------------
    [INFO] Internal error in the plugin manager executing goal 'com.sun.enterprise:osgiversion-maven-plugin:0.4.11:compute-osgi-version': Unable to load the mojo 'com.sun.enterprise:osgiversion-maven-plugin:0.4.11:compute-osgi-version' in the plugin 'com.sun.enterprise:osgiversion-maven-plugin'. A required class is missing: Lorg/apache/maven/shared/osgi/Maven2OsgiConverter;
    org.apache.maven.shared.osgi.Maven2OsgiConverter
    [INFO] ----------------------------------------------------------------------
    [INFO] Trace
    org.apache.maven.lifecycle.LifecycleExecutionExcep tion: Internal error in the plugin manager executing goal 'com.sun.enterprise:osgiversion-maven-plugin:0.4.11:compute-osgi-version': Unable to load the mojo 'com.sun.enterprise:osgiversion-maven-plugin:0.4.11:compute-osgi-version' in the plugin 'com.sun.enterprise:osgiversion-maven-plugin'. A required class is missing: Lorg/apache/maven/shared/osgi/Maven2OsgiConverter;
    at org.apache.maven.lifecycle.DefaultLifecycleExecuto r.executeGoals(DefaultLifecycleExecutor.java:698)
    at org.apache.maven.lifecycle.DefaultLifecycleExecuto r.executeGoalWithLifecycle(DefaultLifecycleExecuto r.java:556)
    at org.apache.maven.lifecycle.DefaultLifecycleExecuto r.executeGoal(DefaultLifecycleExecutor.java:535)
    at org.apache.maven.lifecycle.DefaultLifecycleExecuto r.executeGoalAndHandleFailures(DefaultLifecycleExe cutor.java:387)
    at org.apache.maven.lifecycle.DefaultLifecycleExecuto r.executeTaskSegments(DefaultLifecycleExecutor.jav a:348)
    at org.apache.maven.lifecycle.DefaultLifecycleExecuto r.execute(DefaultLifecycleExecutor.java:180)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMav en.java:328)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven .java:138)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:3 62)
    at org.apache.maven.cli.compat.CompatibleMain.main(Co mpatibleMain.java:60)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.codehaus.classworlds.Launcher.launchEnhanced(L auncher.java:315)
    at org.codehaus.classworlds.Launcher.launch(Launcher. java:255)
    at org.codehaus.classworlds.Launcher.mainWithExitCode (Launcher.java:430)
    at org.codehaus.classworlds.Launcher.main(Launcher.ja va:375)
    Caused by: org.apache.maven.plugin.PluginManagerException: Unable to load the mojo 'com.sun.enterprise:osgiversion-maven-plugin:0.4.11:compute-osgi-version' in the plugin 'com.sun.enterprise:osgiversion-maven-plugin'. A required class is missing: Lorg/apache/maven/shared/osgi/Maven2OsgiConverter;
    at org.apache.maven.plugin.DefaultPluginManager.getCo nfiguredMojo(DefaultPluginManager.java:679)
    at org.apache.maven.plugin.DefaultPluginManager.execu teMojo(DefaultPluginManager.java:468)
    at org.apache.maven.lifecycle.DefaultLifecycleExecuto r.executeGoals(DefaultLifecycleExecutor.java:694)
    ... 17 more
    Caused by: java.lang.NoClassDefFoundError: Lorg/apache/maven/shared/osgi/Maven2OsgiConverter;
    at java.lang.Class.getDeclaredFields0(Native Method)
    at java.lang.Class.privateGetDeclaredFields(Class.jav a:2291)
    at java.lang.Class.getDeclaredField(Class.java:1880)
    at hidden.org.codehaus.plexus.util.ReflectionUtils.ge tFieldByNameIncludingSuperclasses(ReflectionUtils. java:47)
    at org.codehaus.plexus.component.composition.FieldCom ponentComposer.getFieldByName(FieldComponentCompos er.java:212)
    at org.codehaus.plexus.component.composition.FieldCom ponentComposer.findMatchingField(FieldComponentCom poser.java:171)
    at org.codehaus.plexus.component.composition.FieldCom ponentComposer.assembleComponent(FieldComponentCom poser.java:62)
    at org.codehaus.plexus.component.composition.DefaultC omponentComposerManager.assembleComponent(DefaultC omponentComposerManager.java:68)
    at org.codehaus.plexus.DefaultPlexusContainer.compose Component(DefaultPlexusContainer.java:1486)
    at org.codehaus.plexus.personality.plexus.lifecycle.p hase.CompositionPhase.execute(CompositionPhase.jav a:29)
    at org.codehaus.plexus.lifecycle.AbstractLifecycleHan dler.start(AbstractLifecycleHandler.java:101)
    at org.codehaus.plexus.component.manager.AbstractComp onentManager.startComponentLifecycle(AbstractCompo nentManager.java:105)
    at org.codehaus.plexus.component.manager.AbstractComp onentManager.createComponentInstance(AbstractCompo nentManager.java:95)
    at org.codehaus.plexus.component.manager.PerLookupCom ponentManager.getComponent(PerLookupComponentManag er.java:48)
    at org.codehaus.plexus.DefaultPlexusContainer.lookup( DefaultPlexusContainer.java:331)
    at org.codehaus.plexus.DefaultPlexusContainer.lookup( DefaultPlexusContainer.java:440)
    at org.apache.maven.plugin.DefaultPluginManager.getCo nfiguredMojo(DefaultPluginManager.java:652)
    ... 19 more
    Caused by: java.lang.ClassNotFoundException: org.apache.maven.shared.osgi.Maven2OsgiConverter
    at java.net.URLClassLoader$1.run(URLClassLoader.java: 200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.j ava:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:3 07)
    at org.codehaus.classworlds.RealmClassLoader.loadClas sDirect(RealmClassLoader.java:195)
    at org.codehaus.classworlds.DefaultClassRealm.loadCla ss(DefaultClassRealm.java:255)
    at org.codehaus.classworlds.DefaultClassRealm.loadCla ss(DefaultClassRealm.java:274)
    at org.codehaus.classworlds.RealmClassLoader.loadClas s(RealmClassLoader.java:214)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:2 52)
    at java.lang.ClassLoader.loadClassInternal(ClassLoade r.java:320)
    ... 36 more
    [INFO] ----------------------------------------------------------------------
    [INFO] Total time: 29 minutes 36 seconds
    [INFO] Finished at: Fri Dec 21 13:07:49 IST 2012
    [INFO] Final Memory: 13M/23M
    [INFO] ----------------------------------------------------------------------
    Complete log output of downloading process can be seen here - http://neelamsharma.s3.amazonaws.com/Maven_Result-2.2.1.txt
    I am removing local repository ".m2" folder from my user each time before restart build. I have tried to download on different OS but it always stuck at same error.
    Can anybody please let me know what settings are changed that I need to update ? Or which repositories need to remove to get rid of this error?

    Looks like there is some sun plugin being used there. Might be that you need the java.net nexus repository so maven can fetch plugin dependencies from it.

  • 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

  • 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

  • Getting only 3 byte data from Bodypart -  mail.jar 1.4

    I am using jdk 1.4
    my code is like
    BodyPart part = multipart.getBodyPart(index);
    with mail.jar 1.4 when i tried to retive the content from part its returning only 3 byte
    but when i have used mailapi.jar 1.3 its returning correct data may i know what is problem with mail.jar 1.4 .

    The issue is that you are mapping "Data Value" to amount in the Target Application import format:
    SELECT SCENARIO "Scenario" 
      ,YEAR "Year"
      ,PERIOD "Period"
      ,DATAVIEW "View"
      ,DATAVALUE "Value"
      ,ACCOUNT "Account"
      ,ENTITY "Entity"
      ,ICP "ICP"
        ,UD2 "Area"
        ,UD1 "Tail"
        ,UD3 "Special"
        ,UD4 "Facility"
      ,AMOUNT "DataValue"
      FROM AIF_HS_BALANCES
      WHERE LOADID = 300
    You need to map AMOUNT to "AMOUNT" in the HFM Application.  Check that the dimension mapping is correct for the class in the target application and that your import format is going to the proper target dimension(Amount).    

Maybe you are looking for