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

Similar Messages

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

  • 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                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          

  • 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)*

  • 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

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

  • NetWeaver jar versioning handling

    Hi
    While trying to deploy my application on netwaver 7.1 i'm getting errors that indicates that app server cant handle a version number in a jar file name.
    For instance an error:
    "Class-path entry activation.jar specified in (...) MANIFEST.MF file cannot be resolved."
    although activation-1.1.jar exists on the class path. Once the the version suffix is removed it doesn't complain.
    is there any solution for that, besides changing jar names?
    Br
    PF

    Hi
    I think the problem lays somewhere else.
    My application works fine under jboss, but its because it doesn't check manifests recursively - in other words, the class-path entries located in the jars, which are in the ear below the top level are ignored.
    To make things more clear
    my-app.ear
        META-INF/application.xml
        my-ejb.jar
            META-INF/MANIFEST.MF Class-Path: ext/lib1.jar
            tld/domain/MyEJB.class
            tld/domain/MyEJBRemote.class
            tld/domain/MyEJBRemoteHome.class
            ext/lib1.jar
               META-INF/MANIFEST.MF Class-Path: lib2.jar
                tld/domain/A.class
             ext/lib2-1.0.jar
                tld/domain/B.class
    Neither the j2EE or the ejb spec talks about recursively
    solving all jar dependencies, therfore jboss only checks my-ejb.jar/maniifest.mf (top level - as stated before).
    However netwevaer does smth. different - checks them all.
    Most of the jars contains a manifest that reffers through a class-path entries to other jars without a version suffix - and here is the root cause of my problem.
    How can i avoid this recursive check?
    Br
    PF

  • Any way to get Java Plug-In-like handling of jar versions?

    I have jars intended for use with the Java Plug-In with version #'s in properties files (computed by the various tooling for updating these on the server). The jars themselves have no notion of jar #.
    I would like to re-use these jars and version #'s with Java Web Start to avoid conditional GETs, but without jar diffing in this case (as I already have many small jars due to lack of jar diffing in the Java Plug-In).
    Is there any way I can get Java Web Start to act like the Java Plug-In in this regard (i.e. the jar version # is a statement from the server, the client does a normal GET against the jar URL if its own version is not that stated by the server)?
    [Don't get me wrong, jardiffing is cool, but having to do everything differently between Java Web Start and the Java Plug-In is [b]not cool.

    Best way IMO would be to create a Socket connection to it so that you could connect with a client app and feed in data that way

  • JMF, Linux, wrong codec selected when using jarred version of app

    I have problem realising an AVI player when I try and run Linux JMF application when whole application is bundled into jar file and I try and run it using
      java -cp <..JMF/lib/jmf.jar:/home/codroe/fobs4jmf.jar..> -jar app.jarIn jmf.log I see:
    ## Player created: com.sun.media.content.unknown.Handler@1cd2e5f
    ##   using DataSource: com.sun.media.protocol.file.DataSource@911f71
    ## Building Track: 0
    ## Input: XVID, 720x576, FrameRate=25.0, Length=1244160 68 extra bytes
    !! Failed to handle track 0
    XX   Unable to handle format: XVID, 720x576, FrameRate=25.0, Length=1244160 68 extra bytesThis is exactly the message I usually get when some part of JMF cannot find "jmf.properties" file (if for example could not find .jmfdir), but looking at strace from application run it does appear JMF found my jmf.properties this time, but still chose not to use omnvidea codec:
    stat64("jmf.properties", 0xfeffc410)    = -1 ENOENT (No such file or directory)
    stat64("/home/codroe/JMF-2.1.1e/lib/jmf.properties", {st_mode=S_IFREG|0644, st_size=31354, ...}) = 0
    open("/home/codroe/JMF-2.1.1e/lib/jmf.properties", O_RDONLY|O_LARGEFILE) = 11When I run my unbundled (i.e. not wrapped up in jar) version of Linux application (same classpath), it finds jmf.properties no problem, and choses omnivoidea codec and now is able to play the video with good things in jmf log:
    ## Player created: com.sun.media.content.unknown.Handler@30c221
    ##   using DataSource: com.omnividea.media.protocol.file.DataSource@a401c2
    ## Building Track: 0
    ## Input: FFMPEG_VIDEO, 720x576, FrameRate=25.0, Length=414720 0 extra bytesMy windows version works fine in both configurations, jarred or not jarred.
    From Linux strace log I it shows my working non-JARed version has selected omnividea codec:
    gettimeofday({1100876842, 175149}, NULL) = 0
    stat64("/home/codroe/media/protocol/file/DataSource.class", 0xfeffc384) = -1 ENOENT (No such file or directory)
    stat64("/home/codroe/JMF-2.1.1e/lib/media/protocol/file/DataSource.class", 0xfeffc384) = -1 ENOENT (No such file or directory)
    gettimeofday({1100876842, 179815}, NULL) = 0
    stat64("/home/codroe/media/protocol/file/DataSource.class", 0xfeffc384) = -1 ENOENT (No such file or directory)
    stat64("/home/codroe/JMF-2.1.1e/lib/media/protocol/file/DataSource.class", 0xfeffc384) = -1 ENOENT (No such file or directory)
    gettimeofday({1100876842, 182979}, NULL) = 0
    gettimeofday({1100876842, 183206}, NULL) = 0
    gettimeofday({1100876842, 184371}, NULL) = 0
    gettimeofday({1100876842, 184591}, NULL) = 0
    stat64("/home/codroe/com/omnividea/media/protocol/file/DataSource.class", 0xfeffc384) = -1 ENOENT (No such file or directory)
    stat64("/home/codroe/JMF-2.1.1e/lib/com/omnividea/media/protocol/file/DataSource.class", 0xfeffc384) = -1 ENOENT (No such file or directory)
    gettimeofday({1100876842, 191005}, NULL) = 0but as I don't see this in trace from JAR version, and because in JMF log it says:
    ## Player created: com.sun.media.content.unknown.Handler@30c221
    ##   using DataSource: com.omnividea.media.protocol.file.DataSource@a401c2I believe it has not selected correct codec for a reason I don't understand.
    [I checked I only have one version of jmf.properties on system].
    Any ideas why jarred version is different from non-jarred version?
    version information:
    # JMF Version 2.1.1e
    ## Platform: Linux, i386, 2.6.5-1.358
    ## Java VM: Sun Microsystems Inc., 1.5.0
    and using fobs4jmf from http://fobs.sourceforge.net

    correction, for the last bit I should have said, for non-working jarred version in JMF log I see:
    ## Player created: com.sun.media.content.unknown.Handler@1cd2e5f
    ##   using DataSource: com.sun.media.protocol.file.DataSource@911f71indicating wrong codec selected

  • Jar version?

    Sometimes I get a third party JAR that does not contain a version number in the file name, and I need to know what version of that library the JAR file contains. For instance, say the file is foobar.jar and it was version 1.2.0. How do I determine that the foobar.jar file I have is version 1.2.0?
    Someone told me that you can use the following command "java -jar jarname.jar -v" to retrieve the version number from a JAR file, but I've never gotten any output when using that command. I see that many JARs have MANIFEST.MF entries with version info. Is there a manifest entry key that the java -jar command listed above is looking for in a manifest? If not, what does the java -jar command listed above supposed to retrieve and from where? I tried inserting a manifest entry of "Version" with a value, but the command listed doesn't retrieve that.

    I see that many JARs have MANIFEST.MF entries with version info.
    Yes - and those entries MUST HAVE a predefined format. See the Oracle docs
    JAR File Specification
    Is there a manifest entry key that the java -jar command listed above is looking for in a manifest? If not, what does the java -jar command listed above supposed to retrieve and from where? I tried inserting a manifest entry of "Version" with a value, but the command listed doesn't retrieve that.
    Refer to the doc above:
    Manifest Specification:
      manifest-file:                    main-section newline *individual-section
      main-section:                    version-info newline *main-attribute
      version-info:                     Manifest-Version : version-number
      version-number :               digit+{.digit+}*
      main-attribute:                 (any legitimate main attribute) newline
      individual-section:            Name : value newline *perentry-attribute
      perentry-attribute:            (any legitimate perentry attribute) newline
      newline :                            CR LF | LF | CR (not followed by LF)
       digit:                                {0-9}
    See the definition for 'Manifest-Version' in that spec? That is what contains the version number if the vendor provides one.

  • Issue with CIS jar version  - cis-application-8.0.0.jar on content server

    We are having a problem adding this jar to our custom component. We are using this APIs to check-in some programatically.
    Following is the error when we try to deploy our component with this jar
    ===============================================================
    IdcAdmin: Content Server idc status: Stopped successfully
    Starting the Content Server idc... The server terminated unexpectedly.
    02.28 11:36:35.834 main NativeOsUtils version mismatch. The native code version is "7.1.0.2" and the Java version is "7.0.6.0".
    # An unexpected error has been detected by HotSpot Virtual Machine:
    # SIGSEGV (0xb) at pc=0x00002ac72c918500, pid=26841, tid=47034930753168
    # Java VM: Java HotSpot(TM) 64-Bit Server VM (1.5.0_11-b03 mixed mode)
    # Problematic frame:
    # V [libjvm.so+0x3a8500]
    ========================================================
    The content server version is 10.1.3.3.
    And the jar version is cis-application-8.0.0.jar. We are able to use the same jar standalone. What could be the problem? Should we need to upgrade to a diffrent jdk version? I am worried that might cause more problems.
    Regards,
    Pratap

    Thanks for your inputs.
    So far I have been looking at only CHECKIN_NEW_FORM and CHECKIN_SEL_FORM services for creating and updating content. items These services require files to be attached. I checked the definitive guide and found that there are 2 other similar services,CHECKIN_NEW and CHECKIN_SEL, that don't need the file to be attached. Instead we can specify the file path of the primary file. Since the xml content file to be checked is in th content server itlsef, these services can be used in my case. Moreover since my content checkin logic is in the context of a service, my code become more simpler.
    I began working on it and am calling executeServiceSimple("CHECKIN_NEW") or executeServiceSimple("CHECKIN_SEL") based on whether the content to be checked in is new or to be updated. I am setting all the metadata values of the content file in the m_binder local data of the service object.
    I thought this should work cleanly but I am getting the below error
    ============================================
    at intradoc.server.IdcServerThread.run(IdcServerThread.java:197)
    Caused by: intradoc.data.DataException: !csCheckinFileKeyNotSpecified,primaryFile
    at intradoc.server.DocServiceHandler.addFile(DocServiceHandler.java:3251)
    at intradoc.server.DocServiceHandler.addFiles(DocServiceHandler.java:410)
    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 intradoc.common.IdcMethodHolder.invokeMethod(ClassHelperUtils.java:617)
    at intradoc.common.ClassHelperUtils.executeMethodReportStatus(ClassHelperUtils.java:293)
    at intradoc.server.ServiceHandler.executeAction(ServiceHandler.java:79)
    at intradoc.server.Service.doCodeEx(Service.java:490)
    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 sitestudio.SSClassHelper.invokeRaw(Unknown Source)
    ======================================================
    I printed out all the local data in the m_binder object. The primaryFile value is pointing to the right file path. The file is also been created in the correct location.
    The dID, dDocName, dOriginalFile, dRevLabel values are all set properly. But still I am getting this error. I am not able to figure out the cause of this. Please help. Is this approach incorrect?
    -Pratap

  • Help on jar versioning

    I cant seem to get versioning on jar files to work.
    In my .jnlp file I have:
    <jar href="images.jar" version="1.3"/>
    I named the jar file to images__V1.3.jar.
    But I get an exception:
    "Missing version field in response from server when accessing resource ("http://..../images.jar, 1.3)"
    It sounds like I'm defining it wrong in the .jnlp? Am I missing a tag somewhere?
    When I dont use a version, ie just images.jar, everything works ok.
    I am using Java WebStart 1.2.0_01.
    Thanks

    If it is any comfort I am having the same problem, so I will be very interested in the answer as well.
    I have tried both versioning using file naming and including a version.xml file in the directory.
    Was using the developers guide document as a reference.
    Andreas

  • Where get weblogic.jar version 8.1 or 9.2?

    I need to get weblogic.jar version 8.1 or 9.2 to use with Hermes because 10.3 apparently does not have class weblogic/security/subject/AbstractSubject... I failed finding it on the net...
    Thank you
    Leonard

    I've got the exakt same problem using weblogic.Deployer .... -appversion, weblogic 10.0 in this case. Works fine with our new jaxws based webservices.
    Would be nice if this problem was solved, especially since weblogic10 resolves softlinks so our old method of linking to new versions doesn't work anymore. And the fact that "Changing the source location is not allowed for a previously attempted deployment" doesn't help either.

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

  • I changed my AppleID/Password and now am locked out of iCloud. iCloud says maximum number of free accounts have been activated. tried Settings, Mail etc but iCloud does not appear. I was going to delete it and start again.

    Had to change Apple ID/Password recently now cannot access iCloud. In settings when tapping iC, log in screen appears with old ID and request for (old) password.
    In Settings  Mail, Contacts etc iCloud does not appear. I was going to delete account.
    Trying new ID/Password message appears "maximum no. of free accounts have been activated".
    Using old ID/Password message apperas "you can,t sign in because account was disabled for security reasons ......reset password at iforgot.apple.com which i did.
    Can anybody help please??

    Hi,
    I tried to log in to iCloud but a message appears telling me I "can't sign in because my account was disabled for security reasons....reset password at iforgot.apple.com". I don't know why this happened.
    I reset both my Apple ID and password.
    When I tap Settings iCloud is listed on the left side between General and Mail, Contacts etc.
    Tapping iCloud brings up a log in screen for iCloud which shows my old Apple ID and requests the password. If I put the password in I get the message as above.
    If I use the new Apple ID/Password I get the message "the maximum number of free accounts have been activated....
    In settings there is no option to "Delete Account"
    Any suggestions??

Maybe you are looking for

  • Reporting SP in Oracle 10g

    Hi Friends, Our Oracle version is 10.2.0.4.0. we have one cron job for reporting purpose. The stored proc with pull the 45 days back counts and populate counts into reporting tables. for some reasons this cron run successfully for 45 days and some ti

  • Converting songs already on my computer to itunes...

    The day i got my ipod i started to convert all the songs on my computer to itunes, but it started storming so i had to shut the computer down. does anyone know how to get it started back converting the songs?

  • How to run something when laptop lid is closed?

    Hi, I'm running Arch on my EEEpc 1000h. I'd like to run certain commands when I close the lid. Can this be done? Thanks in advance.

  • SOLMAN 7.0 EHP1 problem with starting SMD instance

    Hello everyone,<br><br> i have problem with starting instance SMD in my Solution Manager. After START this instance is status for one-two secend green and then status go to yellow color in SAP Management Console. I dont now where is problem, i try ev

  • Change ACW codes while in ACW - CCX 5.0

    Hi There, Just wondering if there is any way agents can change their ACW codes, while they are in ACW.? Eg. Agent Selects ACW (Meeting) Agent wants to change to ACW (Lunch) Agent cannot do this, the ACW option is greyed out. Agent has to make himself