Mail Agent null

Hi
In adapter monitoring i got "Mail agent null"  Error... whats it means....
Thanks & regards
Ravi Shankar B

Hi,
Please can you look at this thread. Same issue
XI 3.0 Mail-Adapter Problem
Re: mail sender channel
Regards
Vijaya

Similar Messages

  • How is the Mailing Agent permit generated on a mail.dat

    The business I work for has multiple permits, and they all appear to be associated with our CRID. I can change the Permit Holder's permit as needed, but I can't seem to change the Mailing Agent permit, and I'm not sure where the information is pulled from. The default permit that always appears on our submitted postage statements is our mailing permit that cannot mail First-Class or Non-profit, and I need to change it to our permit that can. At first I was expecting that I could switch this in Postlsoft, but the further I dig, the more it looks like PostalOne! automatically associates a permit number when it sees our CRID or Mailer ID.
    Could anyone confirm this or give some assitance? Thanks

    According to PostalOne! Mail.dat tech guide available on RIBBS [https://ribbs.usps.gov/intelligentmail_guides/documents/tech_guides/datspec/PostalOneMailDatTechSpec.pdf]
    Mailing Agent (Preparer). This identifies the organization that prepared the mailing and/or delivered it to the postal service for mailing. This information is linked to the useru2019s login account, and is not represented in the Mail.dat file.
    To attach a Mail.dat file to a preparer permit, the PostalOne! System looks at the User ID that submitted the file. The system looks at permits linked to the locations that User ID is also linked to. The system looks at the post office of mailing. The system considers finance number association of permits linked to locations to finance number of post office of Mailing. If the system finds more than one permit possibility, system takes first active (type PI) permit (could be any of the linked locations, not necessarily the one that submitted the file). For this reason the attached preparer permit may not be accurate and the user may not be able to fix it.
    In the Mailing Agent block on the Postage Statement, the company name and address information found from the associated CRID in the Mail.dat MPA Preparer CRID shall be displayed. If the Mail.dat file MPA Preparer CRID is used, then the preparer permit number, telephone number, email address, or customer number will not be displayed. The submitter of the Mail.dat file may update this CRID. The owner of the CRID may update the name and address information associated with the CRID. If the Mail.dat file MPA Preparer CRID is blank, then the Mailing Agent block will be filled with the name and address information found from the preparer permit attached to the Mail.dat file (see above). The preparer permit number and the associated company name, address, telephone number, and email address will be displayed. The name and address information on this permit may be updated by the postal clerk and will apply to subsequent Mail.dat updates.

  • Warning: The User-Agent "null" is unknown; creating an agent with null agen

    Hello,
    I use adf 10.1.3.3 in our web application. I found the warning (The User-Agent "null" is unknown; creating an agent with null agent attributes.) in the application server OC4J 10.1.3.3, but these don't have a nagativ impact on the applicaiton.
    can someone tell me what the warning means?
    thanks

    Hi,
    user agent is the browser users use. So what is the browser ?
    Frank

  • TS3276 Can I hide my mail agent details that are usually added to each mail I send?

    I am trying to hide my mail agent details being sent out along with every email I shoot.

    Anonymous remailer - Wikipedia, the free encyclopedia

  • Which mail agent do you use?

    a while back we had "what http daemon" and "what ftp daemon" do-you-use posts...
    so I'm curious about mail agents... qmail? exim? the dreaded sendmail?

    Courier-MTA (as a whole set of programs) is most complete which means you don't have much work finding other elements for your mail server. They are already there and work together very well. The minus is the lack of practical documentation (comparing to other MTAs) and some kind of orthodoxy in implementation (some people think it's not practical).
    Exim is also a very good and well designed MTA with nice and easy to read docs.
    Postfix does not look so orderly but it's probably the most configurable. The docs are a bit spread over the web but the amount of guides and howtos is probably the highiest among all big 3 MTAs (check out some MTA mailing lists - it's probably most popular MTA so naturally most weird config has already been tried by someone).
    Most if not all of the typical tasks can be done using any of the above.
    If this is your first MTA and you want a simple setup and at the same time you don't want to spend time on searching and tweaking components of a mail server (POP, IMAP, webmail etc.) choose Courier-MTA. Courier-MTA is probably the least popular among the big 3 MTAs (but not because of its quality).
    If you need more from MTA and want good examples of working configs but your setup is not very complex and you are not the type of person who likes to write lots of scripts choose Exim.
    If you want some special configuration, tons of examples and docs and have time to dig in it and customize to your needs (in other words you want it as flexible as possible), choose postfix. Postfix is very often a choice of internet providers.
    The above is only my opionion based on my experience and is only an advise for fubar (so don't flame! I'm burnproof :-))

  • Jsp mail error null pinter exception

    hi all
    below is the code to sending mail from jsp (mailer.jsp) and html form
    i get an null pointer exception in jsp when i try to get the values by
    request.getParameter("xxx");
    pls tell me how to get this done
    i dont want the files to be uploaded to the server
    here are some of the tries i did
    1) i removed the form setting of enctype="multipart/form-data"
    then the error goes but the attachments are not found
    the error is filenotfound exception
    it will be gr8 help if some one correct my code
    please help
    <%@ page import="  javax.activation.*,  java.util.*, java.io.*,
    javax.mail.internet.*,  javax.mail.* " %>
    <html>
    <head>
    <title&gtSend an email ans File with jsp page</title>
    </head>
    <body bgcolor="#C0C0C0" text="#CC0000" >
    <%
    if(request.getMethod().equals("POST")  )
      boolean status = true;
      // enter here the smtp mail server address
      // ask your ISP to get the proper name
      String mailServer = "mail.econify.com";
      String fromEmail    = request.getParameter("from");
      String toEmail      = request.getParameter("to");
      String messageEnter = request.getParameter("message");
      String fileName     = request.getParameter("theFile");
    try
        Properties props = new Properties();
        props.put("mail.smtp.host", mailServer);
        Session s = Session.getInstance(props,null);
        MimeMessage message = new MimeMessage(s);
        InternetAddress from = new InternetAddress(fromEmail);
        message.setFrom(from);
        InternetAddress to = new InternetAddress(toEmail);
        message.addRecipient(Message.RecipientType.TO, to);
        message.setSubject("Send Email with jsp");
        //message.setText(messageEnter);
        // Create the message part
        BodyPart messageBodyPart = new MimeBodyPart();
        // Fill the message
        messageBodyPart.setText(messageEnter);
           // Part two is attachment
        Multipart multipart = new MimeMultipart();
        messageBodyPart = new MimeBodyPart();
        DataSource source = new FileDataSource(fileName);
        messageBodyPart.setDataHandler(new DataHandler(source));
         System.out.println("file anem : "+fileName);
        messageBodyPart.setFileName(fileName);
        multipart.addBodyPart(messageBodyPart);
       // Put parts in message
       message.setContent(multipart);
       Transport.send(message);
    // ENCTYPE="multipart/form-data"
      catch (Exception e)
         System.out.println(e.getMessage() );
         out.println("ERROR, your message failed, reason is: " + e);
         status = false;
      if (status == true)
         out.println("Your message to " + toEmail + " was sent successfully!");
    else
    %>
    <h1>Send email and attatchment file with jsp</h1>
    <form method="post" name="mail" action="mailer.jsp" enctype="multipart/form-data">
    <table BORDER="0">
    <tr>
        <td>To :</td>
        <td><input type="text" name="to" size=24></td>
    </tr>
    <p>
    <tr>
        <td>From :</td>
        <td><input type="text" name="from" size=24></td>
    </tr>
    <p>
    <tr>
        <td>Message :</td>
        <td><TEXTAREA name="message" ROWS = "5" COLS="65"></TEXTAREA></td>
    </tr>
    <p>
    <tr>
        <td>File attachment: </td>
        <td><input TYPE="FILE" name="theFile"></td>
    </tr>
    <tr>
         <td></td>
         <td><input TYPE="submit" value="submit" name="Command"></td>
    </tr>
    </table>
    </form>
    <%
    %>
    </body>
    </html>

    hi all
    below is the code to sending mail from jsp (mailer.jsp) and html form
    i get an null pointer exception in jsp when i try to get the values by
    request.getParameter("xxx");
    pls tell me how to get this done
    i dont want the files to be uploaded to the server
    here are some of the tries i did
    1) i removed the form setting of enctype="multipart/form-data"
    then the error goes but the attachments are not found
    the error is filenotfound exception
    it will be gr8 help if some one correct my code
    please help
    <%@ page import="  javax.activation.*,  java.util.*, java.io.*,
    javax.mail.internet.*,  javax.mail.* " %>
    <html>
    <head>
    <title&gtSend an email ans File with jsp page</title>
    </head>
    <body bgcolor="#C0C0C0" text="#CC0000" >
    <%
    if(request.getMethod().equals("POST")  )
      boolean status = true;
      // enter here the smtp mail server address
      // ask your ISP to get the proper name
      String mailServer = "mail.econify.com";
      String fromEmail    = request.getParameter("from");
      String toEmail      = request.getParameter("to");
      String messageEnter = request.getParameter("message");
      String fileName     = request.getParameter("theFile");
    try
        Properties props = new Properties();
        props.put("mail.smtp.host", mailServer);
        Session s = Session.getInstance(props,null);
        MimeMessage message = new MimeMessage(s);
        InternetAddress from = new InternetAddress(fromEmail);
        message.setFrom(from);
        InternetAddress to = new InternetAddress(toEmail);
        message.addRecipient(Message.RecipientType.TO, to);
        message.setSubject("Send Email with jsp");
        //message.setText(messageEnter);
        // Create the message part
        BodyPart messageBodyPart = new MimeBodyPart();
        // Fill the message
        messageBodyPart.setText(messageEnter);
           // Part two is attachment
        Multipart multipart = new MimeMultipart();
        messageBodyPart = new MimeBodyPart();
        DataSource source = new FileDataSource(fileName);
        messageBodyPart.setDataHandler(new DataHandler(source));
         System.out.println("file anem : "+fileName);
        messageBodyPart.setFileName(fileName);
        multipart.addBodyPart(messageBodyPart);
       // Put parts in message
       message.setContent(multipart);
       Transport.send(message);
    // ENCTYPE="multipart/form-data"
      catch (Exception e)
         System.out.println(e.getMessage() );
         out.println("ERROR, your message failed, reason is: " + e);
         status = false;
      if (status == true)
         out.println("Your message to " + toEmail + " was sent successfully!");
    else
    %>
    <h1>Send email and attatchment file with jsp</h1>
    <form method="post" name="mail" action="mailer.jsp" enctype="multipart/form-data">
    <table BORDER="0">
    <tr>
        <td>To :</td>
        <td><input type="text" name="to" size=24></td>
    </tr>
    <p>
    <tr>
        <td>From :</td>
        <td><input type="text" name="from" size=24></td>
    </tr>
    <p>
    <tr>
        <td>Message :</td>
        <td><TEXTAREA name="message" ROWS = "5" COLS="65"></TEXTAREA></td>
    </tr>
    <p>
    <tr>
        <td>File attachment: </td>
        <td><input TYPE="FILE" name="theFile"></td>
    </tr>
    <tr>
         <td></td>
         <td><input TYPE="submit" value="submit" name="Command"></td>
    </tr>
    </table>
    </form>
    <%
    %>
    </body>
    </html>

  • While trying to send mail getting NUll Pointer exception

    Hi,
    I am trying to send email through email notification but instance doesn't through any fault but on opmn log it sends null pointer exception and doesn't send any mail. But some other flow using same SMTP server are able to send mail.
    Exceptions:
    07/11/14 16:46:25 java.lang.NullPointerException
    07/11/14 16:46:25      at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:363)
    07/11/14 16:46:25      at oracle.tip.pc.services.notification.email.EmailDriver.sendMessage(EmailDriver.java:207)
    07/11/14 16:46:25      at oracle.tip.pc.services.notification.email.EmailDriver.send(EmailDriver.java:185)
    07/11/14 16:46:25      at oracle.tip.pc.services.notification.DefaultNotificationServiceImpl.sendEmailNotification(DefaultNotificationServiceImpl.java:251)
    07/11/14 16:46:25      at oracle.tip.pc.services.notification.NotificationServiceImpl.sendEmailNotification(NotificationServiceImpl.java:271)
    07/11/14 16:46:25      at oracle.bpel.services.notification.queue.sender.MDBConsumer.deliverNotification(MDBConsumer.java:256)
    07/11/14 16:46:25      at oracle.bpel.services.notification.queue.sender.MDBConsumer.onMessage(MDBConsumer.java:137)
    07/11/14 16:46:25      at sun.reflect.GeneratedMethodAccessor65.invoke(Unknown Source)
    07/11/14 16:46:25      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    07/11/14 16:46:25      at java.lang.reflect.Method.invoke(Method.java:585)
    07/11/14 16:46:25      at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
    07/11/14 16:46:25      at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    07/11/14 16:46:25      at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    07/11/14 16:46:25      at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    07/11/14 16:46:25      at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
    07/11/14 16:46:25      at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    07/11/14 16:46:25      at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
    07/11/14 16:46:25      at com.evermind.server.ejb.MessageDrivenConsumer.onMessage(MessageDrivenConsumer.java:347)
    07/11/14 16:46:25      at com.evermind.server.ejb.MessageDrivenConsumer.processMessages(MessageDrivenConsumer.java:233)
    07/11/14 16:46:25      at com.evermind.server.ejb.MessageDrivenConsumer.run(MessageDrivenConsumer.java:169)
    07/11/14 16:46:25      at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
    07/11/14 16:46:25      at java.lang.Thread.run(Thread.java:595)
    Any Idea?

    Hi,
    I am also trying E-mail Activity but I am not able to receive the e-mail.
    I have set the following in the ns_emails.xml
    <EmailAccount>
    <Name>Default</Name>
    <GeneralSettings>
    <FromName>Oracle BPM</FromName>
    <FromAddress>[email protected]</FromAddress>
    </GeneralSettings>
    <OutgoingServerSettings>
    <SMTPHost>Server' IPADRESS</SMTPHost>
    <SMTPPort>25</SMTPPort>
    </OutgoingServerSettings>
    <IncomingServerSettings>
    <SMTPHost>Server' IPADRESS</SMTPHost>
    <SMTPPort>25</SMTPPort>
    </IncomingServerSettings>
    In this "[email protected]" is the user configured and "Server' IPADRESS" is the IPADDRESS of the SMTP server.
    Moreover I have also have SMTP server as the incoming server.
    Now I have a simple BPEL PROCESS having Email Activity of sending a mail.
    The "To" section has "[email protected]".
    I am not able to recive the mail and I have also cheked the SMTP server there is no mail there but BPEL Process runs fine.
    I also have one Script which can send mail to the user Ihave mentioned and it works fine.So server setting seems to be fine.Are there any other setting required.
    If you are able to send the mail then can you give me your inputs on this issue.
    Regards
    Lalit

  • Sender Mail adapter: Null Pointer Exception

    Hi ,
    Sender mail communication channel using mail package  & POP3 protocol is showing the Error: exception caught during processing mail message; java.lang.NullPointerException.  Initially it works fine but now it is showing this error. I could not get the root cause of this error.
    Can any one help me to resolve the issue?
    Thanks in Advance
    Krishna

    Hi Sherin Jose,
    There is no value mapping used here.
    I am not getting the root cause for this error. can any one suugest
    Thanks & regards,
    Krishna

  • Please Help! I have a subscription/replication issue with the error - Replication-Replication Distribution Subsystem: agent (null) failed. The publication 'blah' does not exist.

    I keep getting this error and my subscription table isn't populating:
    The publication 'publish_playerSession_off_serverABC' does not exist.
    Other setup items: 
    1) Both servers are on the same domain Windows Server 2008 running SQL Server 2008 and the SQL agent is running under a network account. 
    2) I have the publication destination on a shared network drive & the network account mentioned above has access to this drive. 
    Thanks in Advance! Carl 
    Carl

    Thanks Tracy - I was able to delete the subscription on the publication server and was able to recreate most of the subscription on the subscription server but so far have been unable to start the subscription agent. 
    I ran the command exec sp_link_publication yesterday and received the error: "The Microsoft Distributed Transaction Coordinator (MS DTC) service could not be contacted. If you would like distributed transaction functionality, please start this service." 
    WTF? Anyhow - Googled this issue for awhile and was advised to run a command with a utility called subinacl.exe but the command failed stating that access is denied even though i'm an admin on my computer & I ran the command promp with elevated privileges. 
    I also downloaded a tool called DTCping.exe and was able to dtcping each server when the utility was running on the publication & subscription servers after tweaking some registry settings on the subscription server & restarting. 
    Well now i'm still stuck because the subscription agent is failing to start stating (this is the last error in the job that kicks off the agent): 
    Agent message code 21056. The subscription to publication 'publish_igt_period_data' has expired or does not exist.
    Whew! Well i have other priorities this morning but will update this thread if I make any progress on this issue later... 
    Carl

  • Mail agent

    добрый день. После загрузке обновления iOS 5.1 перестал работать почтовый агент. Через настройки пытаюсь запустить программу настроек почты, адреса, календари - программа сразу "вылетает". Что делать?

    You mean like Eudora or Outlook?

  • How to configure sender mail adapter

    Hi,
    My scenario  Mail-XI-file. In adapter monitoring it is giving me error "not initialized: mail agent null". What do we exactly mean by this??
    and can anyone suggest any blog as how to configure sender mail adapter.
    Kindly help
    Anu Singhal

    Hi Anu,
    Just check this link
    http://help.sap.com/saphelp_nw04/helpdata/en/6b/4493404f673028e10000000a1550b0/frameset.htm
    and this 1
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9e6c7911-0d01-0010-1aa3-8e1bb1551f05
    Rewardif helpful
    Reagards
    Sachin

  • Mail Sender Adapter with IMAPS

    Hi,
    I had a Mail Sender Adapter running fine with imap. Our Email Server has changed now to secure protocol. Therefore I need to use the Mail Sender Adapter with IMAPS. If I use imaps://<mailserver>:993 in the channel configuration the Mail Adapter aborts with error "not initialized; mail agent null" and in the default trace it says "failed to initialize the channel: java.io.IOException: illegal protocol for XMBIMAPInitiator: imaps#". If I configure the Mail Adapter with  <b>imap</b>://<mailserver>:993 the Mail Adapter starts and says "running", but it does not poll the postbox. In the security.log file there is a warning about untrusted certificates "com.sap.security.core.server.https.SecureConnectionFactory#Plain###Attempting to create outgoing ssl connection without trusted certificates#". I did already import the (CA) Certifcate of the mailserver with key storage service of J2EE Engine in the Trusted area and I configured the J2EE Engine for using SSL (the https access to the J2EE Engine works fine).
    What is still missing in XI 3.0 (SP12)? I can access the postbox securely with e.g. Thunderbird using port 993.
    Has anyone an idea or had already this issue?
    Thanks for any help in advance.
    Peter

    Hi Sebastian ,
    The Mail sender --IMAPS , did  it solve your issue because i fcae the same kind of Error in Communication Channel :
    exception caught during processing mail message; java.io.IOException: unable to create a socket
    Mail sender CC:imaps://NZxxx.dknz.nzcorp.net:993/NZDKINVOICES
    -Login Credentials is correct.
    -Defualt XI Paramters are correct
    -Mail Server is the right one
    -Tried in command prompt , N:/telnet NZxxx.dznz.corp.net 143 , but i get response : Could not open connection to the host, on port 143 .Connection Failed
    Could you kindly assist
    Thanks,
    Vara

  • I dont see the e-mail icons in the agent desktop

    hi, i enabled the e-mail agent funtion, i created a e-mail queue, and i made the exchange configuration, but i dont see the icons on the agent desktop
    why? does anyone know?
    the version of the ccx is the 7.0 SR5
    thanks in avanced

    The icons wont become available until the e-mail agent system is configured (via the Desktop Administrator web interface).

  • Problem in connecting to mail store - please help me

    i have developed a mail user agent using javamail api.
    im having some problem in connecting to mail store
    it is giving MessagingException.
    the snippet is :
    store=session.getStore(url);
    try
    if(store.isConnected())
    store.close();
    store.connect();
    catch(MessagingException mexception)
    System.out.println("messaging exception store state -
    "+store.isConnected());
    //exception is raised and isConnected is false.
    --================--
    thanQ in advance
    prabhakar

    Dear tus,
    thanQ for ur suggession. i have printed stacktrace and im getting the following the exception
    please help me
    javax.mail.MessagingException: null;
    nested exception is:
    java.io.IOException
    at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:298)
    at javax.mail.Service.connect(Service.java:234)
    at javax.mail.Service.connect(Service.java:135)
    at javax.mail.Service.connect(Service.java:87)
    at sark.mail.MailStoreImpl.createSession(MailStoreImpl.java:356)
    at sark.mail.MailStoreImpl.fetchMails(MailStoreImpl.java:210)
    at org.apache.jsp.checkLogin$jsp._jspService(checkLogin$jsp.java:121)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.netbeans.modules.tomcat.tomcat40.runtime.IDEJspServlet$JspServlet
    Wrapper.service(IDEJspServlet.java:174)
    at org.netbeans.modules.tomcat.tomcat40.runtime.IDEJspServlet.serviceJsp
    File(IDEJspServlet.java:247)
    at org.netbeans.modules.tomcat.tomcat40.runtime.IDEJspServlet.service(ID
    EJspServlet.java:339)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
    atcher.java:679)
    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationD
    ispatcher.java:431)
    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDis
    patcher.java:355)
    at mailController.service(mailController.java:66)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
    icationFilterChain.java:247)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
    ilterChain.java:193)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
    alve.java:243)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
    .java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
    alve.java:201)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
    .java:566)
    at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve
    .java:246)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
    .java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:
    2344)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
    ava:164)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
    .java:566)
    at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatche
    rValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
    .java:564)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
    ava:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
    .java:564)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:
    462)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline .java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav a:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal ve.java:163)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline .java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav a:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcesso r.java:1011)
    at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.ja va:1106)
    at java.lang.Thread.run(Thread.java:536)
    thanks in advance
    prabhakar

  • GetConnectionURL returns null in Bluetooth Application

    Hi,
    I am trying to make my first steps with the JSR-82 API on mobile phones
    (Nokia 6680 and Sony Ericsson W800i). I have written a simple program
    (see code below), which is supposed to discover near-by devices, search
    for a given service (UUID) on a chosen (previously discovered) device
    (=server) and then to connect to the server and send a byte (n) to it. The
    server should then in turn send n+1 back. All this should be done using
    RFCOMM.
    The code works fine in the emulator as well as on two Nokia phones and
    on two SE phones. It further works, when using a Nokia phone as the
    server and a SE phone as the client. However, when using a SE as the
    client and a Nokia as the server, the call to getConnectionURL() returns
    null instead of a valid URL that can be used to set up the connection
    (you can find this piece of code in the ClientThread class). Can somebody
    explain me what I am doing wrong?
    Thanks,
    Michael
    P.S.:At first I thought it might be a compatibility problem, but in the
    BluetoothDemo program that comes with WTK2.2 the correct URL ist
    returned by getConnectionURL() (have other problems with this example
    though, when it comes to download images, in particular...).
    import java.io.IOException;
    import java.util.Vector;
    import javax.bluetooth.BluetoothStateException;
    import javax.bluetooth.DataElement;
    import javax.bluetooth.DeviceClass;
    import javax.bluetooth.DiscoveryAgent;
    import javax.bluetooth.DiscoveryListener;
    import javax.bluetooth.LocalDevice;
    import javax.bluetooth.RemoteDevice;
    import javax.bluetooth.ServiceRecord;
    import javax.bluetooth.UUID;
    import javax.microedition.io.StreamConnectionNotifier;
    import javax.microedition.lcdui.Alert;
    import javax.microedition.lcdui.AlertType;
    import javax.microedition.lcdui.Command;
    import javax.microedition.lcdui.CommandListener;
    import javax.microedition.lcdui.Display;
    import javax.microedition.lcdui.Displayable;
    import javax.microedition.lcdui.Form;
    import javax.microedition.lcdui.List;
    import javax.microedition.midlet.MIDlet;
    import javax.microedition.midlet.MIDletStateChangeException;
    public class MessageTest2 extends MIDlet
          implements CommandListener, DiscoveryListener {
          private final int START = 0;
          private final int SERVER_IDLE = 1;
          private final int CLIENT_START = 2;
          private final int CLIENT_DEVICES_DISCOVERED = 3;
          private final int CLIENT_SERVICES_DISCOVERED = 4;
          private final String MY_UUID = "F0E0D0C0B0A000908070605040302010";
          private final Command EXIT_CMD = new Command("Exit", Command.EXIT, 1);
          private final Command OK_CMD = new Command("Ok", Command.OK, 1);
          private List startList = new List("Select Type", List.IMPLICIT);
          private List deviceList = null;
          private List serviceList = null;
          private Form mainForm = new Form("Message Test 2");
          private int state;
          private ServerThread serverThread = null;
          private LocalDevice local = null;
          private DiscoveryAgent agent = null;
          StreamConnectionNotifier server = null;
          private Vector devicesFound = null;
          private ServiceRecord[] servicesFound = null;
          public MessageTest2() {
                super();
                mainForm.addCommand(EXIT_CMD);
                mainForm.addCommand(OK_CMD);
                mainForm.setCommandListener(this);
                startList.addCommand(EXIT_CMD);
                startList.addCommand(OK_CMD);
                startList.append("Server", null);
                startList.append("Client", null);
                startList.setCommandListener(this);
          protected void startApp() throws MIDletStateChangeException {
                state = START;
                Display.getDisplay(this).setCurrent(startList);
          protected void pauseApp() {
                // TODO Auto-generated method stub
          protected void destroyApp(boolean arg0) throws MIDletStateChangeException {
                // TODO Auto-generated method stub
          public void commandAction(Command c, Displayable d) {
                if (c == EXIT_CMD) {
                      if (server != null) {
                            try {
                                  server.close();
                            } catch (IOException e) {
                      notifyDestroyed();
                if (c == OK_CMD) {
                      if (state == START) {
                            if (startList.getSelectedIndex() == 0) {
                                  startServer();
                            } else {
                                  startClient();
                      } else if (state == CLIENT_START) {
                            doDeviceDiscovery();
                      } else if (state == CLIENT_DEVICES_DISCOVERED) {
                            doServiceDiscovery();
                      } else if (state == CLIENT_SERVICES_DISCOVERED) {
                            communicate();
          public void deviceDiscovered(RemoteDevice dev, DeviceClass devClass) {
                devicesFound.addElement(dev);
          public void servicesDiscovered(int transID, ServiceRecord[] serviceRecs) {
                servicesFound = serviceRecs;
          public void serviceSearchCompleted(int transID, int respCode) {
                switch(respCode) {
                case DiscoveryListener.SERVICE_SEARCH_COMPLETED:
                      showServices();
                      break;
                case DiscoveryListener.SERVICE_SEARCH_DEVICE_NOT_REACHABLE:
                      System.err.println("Device not reachable");
                      break;
                case DiscoveryListener.SERVICE_SEARCH_ERROR:
                      System.err.println("Service search error");
                      break;
                case DiscoveryListener.SERVICE_SEARCH_NO_RECORDS:
                      System.err.println("No records");
                      break;
                case DiscoveryListener.SERVICE_SEARCH_TERMINATED:
                      System.err.println("Service search terminated (cancelled)");
                      break;
          public void inquiryCompleted(int param) {
                switch (param) {
                case DiscoveryListener.INQUIRY_COMPLETED:
                      showDevices();
                      break;
                case DiscoveryListener.INQUIRY_ERROR:
                      System.err.println("Inquiry error");
                      Display.getDisplay(this).setCurrent(mainForm);
                      break;
                case DiscoveryListener.INQUIRY_TERMINATED:
                      System.err.println("Inquiry terminated (cancelled)");
                      Display.getDisplay(this).setCurrent(mainForm);
                      break;
          public void setServer(StreamConnectionNotifier server) {
                this.server = server;
          private void startServer() {
                state = SERVER_IDLE;
                mainForm.deleteAll();
                mainForm.append("Server");
                Display.getDisplay(this).setCurrent(mainForm);
                String connectionURL = "btspp://localhost:" + MY_UUID + ";"
                      + "authenticate=false;encrypt=false;name=RFCOMM Server";
                try {
                      local = LocalDevice.getLocalDevice();
                      local.setDiscoverable(DiscoveryAgent.GIAC);
                } catch (BluetoothStateException e) {
                      System.err.println(e);
                serverThread = new ServerThread(this, connectionURL);
                serverThread.start();
                System.out.println("Server thread started");
          private void startClient() {
                state = CLIENT_START;
                mainForm.deleteAll();
                mainForm.append("Discover?");
                Display.getDisplay(this).setCurrent(mainForm);
          private void doDeviceDiscovery() {
                Form discoveringForm = new Form("discovering");
                try {
                      local = LocalDevice.getLocalDevice();
                } catch (BluetoothStateException e) {
                      System.err.println(e);
                agent = local.getDiscoveryAgent();
                devicesFound = new Vector();
                try {
                      if (!agent.startInquiry(DiscoveryAgent.GIAC, this)) {
                            System.err.println("Inquiry not started...");
                } catch (BluetoothStateException e) {
                      System.err.println(e);
                Display.getDisplay(this).setCurrent(discoveringForm);
          private void doServiceDiscovery() {
                if (devicesFound.size() <= 0) return;
                int[] attributes = {0x100, 0x101, 0x102};
                UUID[] uuids = new UUID[1];
                uuids[0] = new UUID(MY_UUID, false);
                int index = deviceList.getSelectedIndex();
                RemoteDevice rd = (RemoteDevice)devicesFound.elementAt(index);
                try {
                      agent.searchServices(attributes, uuids, rd, this);
                } catch (BluetoothStateException e) {
                      System.err.println(e);
          private void showDevices() {
                state = CLIENT_DEVICES_DISCOVERED;
                deviceList = new List("Discovered Devices", List.IMPLICIT);
                deviceList.addCommand(EXIT_CMD);
                deviceList.addCommand(OK_CMD);
                deviceList.setCommandListener(this);
                for (int i = 0; i < devicesFound.size(); i++) {
                      RemoteDevice rd = (RemoteDevice)devicesFound.elementAt(i);
                      String str = rd.getBluetoothAddress();
                      try {
                            str = str + " " + rd.getFriendlyName(false);
                      } catch (IOException e) {
                      deviceList.append(str, null);
                Display.getDisplay(this).setCurrent(deviceList);
          private void showServices() {
                state = CLIENT_SERVICES_DISCOVERED;
                if (servicesFound.length <= 0) {
                      mainForm.deleteAll();
                      mainForm.append("no services found");
                      mainForm.append("discover devices?");
                      state = CLIENT_START;
                      Display.getDisplay(this).setCurrent(mainForm);
                      return;
                serviceList = new List("Services Found", List.IMPLICIT);
                serviceList.addCommand(EXIT_CMD);
                serviceList.addCommand(OK_CMD);
                serviceList.setCommandListener(this);
                for (int i = 0; i < servicesFound.length; i++) {
                      String str;
                      ServiceRecord sr = (ServiceRecord)servicesFound;
    DataElement de = sr.getAttributeValue(0x100);
    str = (String)de.getValue();
    serviceList.append(str, null);
    Display.getDisplay(this).setCurrent(serviceList);
    private void communicate() {
    int index = serviceList.getSelectedIndex();
    ServiceRecord sr = (ServiceRecord)servicesFound[index];
    ClientThread clientThread = new ClientThread(this, sr);
    clientThread.start();
    public void showResult(int n) {
    Form resultForm = new Form("End");
    resultForm.addCommand(EXIT_CMD);
    resultForm.setCommandListener(this);
    resultForm.append("Received: " + n);
    Display.getDisplay(this).setCurrent(resultForm);
    public void showMessage(String msg) {
    Displayable d = Display.getDisplay(this).getCurrent();
    Alert al = new Alert("Info", msg, null, AlertType.INFO);
    al.setTimeout(Alert.FOREVER);
    Display.getDisplay(this).setCurrent(al, d);
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import javax.microedition.io.Connector;
    import javax.microedition.io.StreamConnection;
    import javax.microedition.io.StreamConnectionNotifier;
    public class ServerThread extends Thread {
          private MessageTest2 parent;
          private StreamConnectionNotifier server;
          private String connectionURL = null;
          public ServerThread(MessageTest2 parent, String connectionURL) {
                this.parent = parent;
                this.connectionURL = connectionURL;
          public void run() {
                StreamConnection conn = null;
                try {
                      server = (StreamConnectionNotifier) Connector.open(connectionURL);
                } catch (IOException e) {
                      System.err.println(e);
                parent.setServer(server);
                try {
                      conn = server.acceptAndOpen();
                } catch (IOException e) {
                      System.err.println(e);
                InputStream in = null;
                int n = -1;
                try {
                      in = conn.openInputStream();
                      n = in.read();
                } catch (IOException e) {
                      System.err.println(e);
                if (in != null) {
                      try {
                            in.close();
                      } catch (IOException e) {
                            System.err.println(e);
                try {
                      OutputStream out;
                      out = conn.openOutputStream();
                      out.write(n + 1);
                      out.flush();
                } catch (IOException e) {
                      System.err.println(e);
                try {
                      conn.close();
                } catch (IOException e) {
                      System.out.println(e);
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import javax.bluetooth.ServiceRecord;
    import javax.microedition.io.Connector;
    import javax.microedition.io.StreamConnection;
    public class ClientThread extends Thread {
          private MessageTest2 parent;
          private ServiceRecord sr;
          public ClientThread(MessageTest2 parent, ServiceRecord sr) {
                this.parent = parent;
                this.sr = sr;
          public void run() {
            StreamConnection conn = null;
            String url = null;
            int n = 0;
            try {
                url = sr.getConnectionURL(
                        ServiceRecord.NOAUTHENTICATE_NOENCRYPT, false);
                if (url == null) {
                      parent.showMessage("URL null");
                      return;
                conn = (StreamConnection) Connector.open(url);
            } catch (IOException e) {
                System.err.println("Note: can't connect to: " + url);
            try {
                OutputStream out = conn.openOutputStream();
                out.write(n);
                out.flush();
                out.close();
                InputStream in = conn.openInputStream();
                n = in.read();
            } catch (IOException e) {
                System.err.println("Can't write to server for: " + url);
            try {
                  conn.close();
            } catch (IOException ee) {
                  System.err.println(ee);
            parent.showResult(n);

    Hi:
    How did you compile and build the package using WSDL2JAVA. I tried under UCM 6.1 environment but receiving error message on 2 of the classes that, too large object.
    axisbuild:
    compiling 1007 source files
    /generatedaxisclient/com/cisco/www/AXLAPLService/AXLAPIBindingStub.java:4026:code too large
    public AXLAPIBindingStub(javax.xml.rpc.Service service)throws org.apache.axis.AxisFault {
    Error
    /generatedaxisclient/com/cisco/www/AXLAPLService/AXLAPIBindingStub.java:18:code too large
    public AXLAPIBindingStub(javax.xml.rpc.Service service)throws org.apache.axis.AxisFault {
    static {
    Error
    2 Errors
    Please let me know if you have any thoughts on this.
    Thank You
    Ramesh Vasudevan

Maybe you are looking for

  • FXO does not work incoming or outgoing

    Hi all, I have an CME with 8.5 release and I inserted an VIC2 - 4FXO. I configured the FXO Port as below: voice-port 0/0/0 trunk-group ALL_COT supervisory disconnect dualtone pre-connect cptone PT timeouts initial 5 timeouts interdigit 7 connection p

  • Hard disk not detected by bios

    Hi, I have a CQ50-107NR and when press the power button the hard drive light indicator is flashing, but the bios or windows does not detect the hard disk, I have tried several hard disk that work in my other computers, I have been reparing pcs for mo

  • Adobe Exchange CC Panel not signed + Panel not loading (Win 8x64)

    hi there, since there is no "final solution" for this, i have to ask here. hopefully ;-) Info a. Windows 8 64 bit b. all creative apps installed with "Creative Cloud Application" (no standalone or beta) c. all "Creative Cloud Apps" are up to date d.

  • Flash Catalyst CS5.5 Crashes when importing photoshop document

    I am trying to import a photoshop file authored in Photoshop CS5.1 into Flash Catalyst CS5.5, and Flash catalyst crashes every time part way through the import. A few specifics: Mac OS X 10.6.8 Photoshop CS5.1 Catalyst CS5.5 I have searched this foru

  • Icon was changed to default icon when editting a node on JTree

    I have a tree with icon on nodes. However, when I edit the node, the icon is changed to default icon. I don't known how to write the treeCellEditor to fix that one. The following is my code: package description.ui; import java.awt.BorderLayout; impor