Calling application from a servlet

Hi,
I am having trouble sending automated email messages from a servlet. Someone else in this office has had luck with getting an application to send email. I was wondering if my servlet could call the application .class file? It is possible for a servlet to call an application and if so how do I do it?
Thanks

// you need activation.jar in you class path
// also note that your SMTP host may have to allow relaying from your
/ ip address
import java.io.*;
import java.net.InetAddress;
import java.util.*;
import javax.mail.*;
import javax.mail.internet.*;
import javax.activation.*;
* @author Scott Shaver
* @version
public class EMailMessage {
private static String mailHost = null;
private static String to = null;
private static String subject = null;
private static String from = null;
private static String text = null;
private static String cc = null;
private static String bcc = null;
private Vector attachments = new Vector(2);
private boolean bodyIsHTML = false;
/** Creates new Message */
public EMailMessage() {
/** Creates new Message */
public EMailMessage(String to, String from, String subject, String text) {
setTo(to);
setFrom(from);
setSubject(subject);
setText(text);
/** Creates new Message */
public EMailMessage(String to, String from, String subject, String text, String host) {
setTo(to);
setFrom(from);
setSubject(subject);
setText(text);
setMailHost(host);
public void sendNoExceptions() {
try
send();
catch(Exception x)
public void send() throws AddressException, MessagingException {
try
Properties props = System.getProperties();
props.put("mail.smtp.host", mailHost);
MimeBodyPart msgTextBP = null;
Multipart content = new MimeMultipart();
Session session = Session.getInstance(props, null);
javax.mail.Message msg = new javax.mail.internet.MimeMessage(session);
if(from!=null)
msg.setFrom(new InternetAddress(from));
if(to!=null)
msg.setRecipients(javax.mail.Message.RecipientType.TO,InternetAddress.parse(to, false));
if(cc!=null)
msg.setRecipients(javax.mail.Message.RecipientType.CC,InternetAddress.parse(cc, false));
if(bcc!=null)
msg.setRecipients(javax.mail.Message.RecipientType.BCC,InternetAddress.parse(bcc, false));
if(subject!=null)
msg.setSubject(subject);
if(text!=null)
msgTextBP = new MimeBodyPart();
if(bodyIsHTML)
msgTextBP.setContent(text, "text/html");
else
msgTextBP.setText(text);
content.addBodyPart(msgTextBP);
//msg.setText(text);
msg.setHeader("X-Mailer", "EMailMessage");
msg.setSentDate(new Date());
int fac = attachments.size();
for(int loop=0;loop<fac;loop++)
File file = (File)attachments.elementAt(loop);
DataSource source = new FileDataSource(file);
MimeBodyPart bp = new MimeBodyPart();
bp.setDataHandler(new DataHandler(source));
bp.setFileName(file.getName());
content.addBodyPart(bp);
msg.setContent(content);
Transport.send(msg);
catch(AddressException ax)
System.out.println("EMailMessage.send() AddressException");
System.out.println(ax);
ax.printStackTrace();
catch(MessagingException mx)
System.out.println("EMailMessage.send() MessagingException");
System.out.println(mx);
mx.printStackTrace();
public void addAttachment(File a) {
attachments.addElement(a);
public void setMailHost(String host) {
mailHost = host;
public String getMailHost() {
return mailHost;
public void setTo(String to) {
this.to = to;
public String getTo() {
return to;
public void setSubject(String subject) {
this.subject = subject;
public String getSubject() {
return subject;
public void setFrom(String from) {
this.from = from;
public String getFrom() {
return from;
public void setBodyIsHTML() {
bodyIsHTML = true;
public void setText(String text) {
this.text = text;
public String getText() {
return text;
public void setCC(String cc) {
this.cc = cc;
public String getCC() {
return cc;
public void setBCC(String bcc) {
this.bcc = bcc;
public String getBCC() {
return bcc;
public static void main(String[] args) {
/*EMailMessage m = new EMailMessage(
"[email protected]",
"[email protected]",
"This is the subject of a test message.",
"This is the text of the message.\nThis is another line.",
"mail");
try{
m.send();
catch(Exception x)
x.printStackTrace();

Similar Messages

  • Calling XSQL from java servlet

    I'm able to call XSQL, process the page, and display it. But, how do I set the stylesheet from within my java servlet.
    I tried params.put( "xml-stylesheet", "[path to sheet]" ), and then passing that to process(), but it just ignores it. I want to be able to set the stylesheet dynamicaly like when you call XSQL from the command line or from the XSQL servlet.
    XSQLRequest req = new XSQLRequest( xsql );
    Hashtable params = new Hashtable(2);
    params.put( "mths", "6");
    params.put( "run_id", "30");
    params.put( "grade", "A" );
    params.put( "xml-stylesheet", xsl ); <-- just seems to ignore this.
    ByteArrayOutputStream ostr = new ByteArrayOutputStream(2048);
    req.process( params, ostr, new PrintWriter(System.err) );

    Thanks for the help Steve (and thanks for a really nice book by the way.)
    To answer your first question, I have implemented a report caching servlet. In the application we're writing, reports are generated in HTML or PDF (using XSQL) on demand. However, the data really only changes once a day at most so I wanted to have a way to store the reports once they were generated. So this servlet basically gets the request for a report, checks to see if the report has already been generated and, if not, generates the report using XSQLRequest. Finally it returns the report to the user.
    One benefit to doing this is that it masks the generation process from the user (ie, they can just hit a link like http://somehost/path/to/report.pdf and they get a pdf report.) Of course the other benefit is that reports only need to be generated once, reducing server load.
    I will definitely try your suggestion and just redirect to the XSQL servlet. I guess I was thinking about it too hard, this is a simple solution which will probably address the problem with a minimum of fuss. ;o) Using XSQLRequest directly works, it's just that I want to be able to reference external images using relative paths... it's funny that relative references to XSL pages works though.
    Thanks again,
    Van
    null

  • Calling application from other database

    It's possible to call an application on another database, without informing user and password again?

    Sorry for being fastidious, but I don't think you can "call" an Apex application as you would call a database procedure for instance. So I assume you mean navigate from one Apex application to another Apex application in a different database.
    If you use single sign-on (SSO), that is a piece of cake.
    If you don't, there is no straightforward way I think. You can use some ingenious ways to get round it though, for instance:
    - In the calling application, using a database link, insert a token in some table in the other database along with the username and a timestamp.
    - Pass that token and the username in the URL as a parameter to an "auto login page" in the other application
    - In the "auto login page" of the other application, check whether the token/username combination is valid and, if it is, auto-login the user using the provided username.
    You also could use other fancier techniques like queues. Maybe others may have other suggestions.
    I hope this helps
    Luis

  • Call application from VB

    Hi guru!
    We have developed an application with forms 10g. Is it possible to call our application from another application which is developed in VB.From VB user wants to send some parameters also.How can I get this parameter value from my application which is developed in forms10g
    please help me!
    Mokarem.
    ======

    Hi there
    Oracle forms runs in a browser. You can call it will an URL contain all the parameters you require for the application as well as various environmental parameters such as form userid etc.
    e.g. http://testserver:7777/forms90/f90servlet?config=myConfig&otherparams=userid=bla/bla@dev&form=test.fmx&myparam1=hello&myparam2=world
    From my example my form test.fmx will contain parameters param1 and param2.
    Cheers
    Q

  • Problem Calling JNI from a servlet

    Hi guys,
    How can I trace a C program called from a servlet using JNI ? The problem is a cant see the standard output of the C program because I call it from an applet, not from the console. I would preffer not to generate an error output from the C program, only see the text output this program outputs to the console.
    Thanks.

    Have you tried adding a pipe to the calling command?
    For example:
    Process p = Runtime.getRuntime().exec("myutil.exe > output.txt");
    p.waitFor();
    Once the program has finished, the output from the myutil.exe can be found in the file output.txt.
    HTH

  • Calling ApplicationModule from a servlet (Standalone WL)

    Hi,
    I have to use a servlet call into my Oracle Fusion application (ADF Faces 11g)
    Into the servlet I have to access the DB so I am calling the ApplicationModule as following:
    String amDef = "hod.tasdeeq.workspace.service.TasdeeqServiceAM";
    String config = "TasdeeqServiceAMLocal";
    ApplicationModule am = Configuration.createRootApplicationModule(amDef,config);
    ViewObject vo = am.findViewObject("CertifiedDocPDFVO");
    It is working well using the embedded WL (Debug and Run).
    After deploying the application to the standalone WL I have an exception when calling the servlet.
    Seems a connection pool exception...
    Any idea?
    Thank you
    Jamil
    oracle.jbo.DMLException: JBO-26061: Error while opening JDBC connection.
         at oracle.jbo.server.ConnectionPool.createConnection(ConnectionPool.java:205)
         at oracle.jbo.server.ConnectionPool.instantiateResource(ConnectionPool.java:164)
         at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:589)
         at oracle.jbo.pool.ResourcePool.useResource(ResourcePool.java:322)
         at oracle.jbo.server.ConnectionPool.getConnectionInternal(ConnectionPool.java:100)
         at oracle.jbo.server.ConnectionPool.getConnection(ConnectionPool.java:66)
         at oracle.jbo.server.ConnectionPoolManagerImpl.getConnection(ConnectionPoolManagerImpl.java:52)
         at oracle.jbo.server.URLConnectionHelper.getConnection(URLConnectionHelper.java:129)
         at oracle.jbo.server.DBTransactionImpl.establishNewConnection(DBTransactionImpl.java:935)
         at oracle.jbo.server.DBTransactionImpl.initTransaction(DBTransactionImpl.java:1103)
         at oracle.jbo.server.DBTransactionImpl.initTxn(DBTransactionImpl.java:6275)
         at oracle.jbo.server.DBTransactionImpl2.connect(DBTransactionImpl2.java:131)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:213)
         at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:561)
         at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:417)
         at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:8470)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4389)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2385)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2201)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3085)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:460)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:431)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:426)
         at oracle.jbo.client.Configuration.getApplicationModule(Configuration.java:1398)
         at oracle.jbo.client.Configuration.createRootApplicationModule(Configuration.java:1366)
         at oracle.jbo.client.Configuration.createRootApplicationModule(Configuration.java:1338)
         at hod.tasdeeq.servlet.pdfServlet.doGet(pdfServlet.java:37) <---------------------------------------------------Servlet Call

    Solution:
    TasdeeqServiceAMLocal is not defined on the WLS
    Need to use the Datasource application module defined on the server
    String amDef = "hod.tasdeeq.workspace.service.TasdeeqServiceAM";
    String config = "JNDI";<----------------------------
    ApplicationModule am = Configuration.createRootApplicationModule(amDef,config);
    ViewObject vo = am.findViewObject("CertifiedDocPDFVO");
    Jamil

  • How can I call EJB from JSP/Servlets in iWS?

    Hi!!
    My JSP/Servlets are on iWS, and I deploy EJB on iAS.
    In this case, I don't know how JSP/Servlet call EJb on iAS.
    I'd like to know how I can set JNDI name in JSP/Servlet on iWS.
    I will thank you if you give me a simple example source using JSP/Servlet
    and EJB.
    Thanks in advance!!!
    - Park-

    Park,
    Why Are you running your JSP/Servlets in iWS instead of iAS? For whatever
    reason,
    look at the Converter sample from iAS. You will be doing RMI/IIOP in this
    case and the sample explains in detail what to do.
    hth,
    -robert
    "SungHyun, Park" <[email protected]> wrote in message
    news:9jpfmt$[email protected]..
    Hi!!
    My JSP/Servlets are on iWS, and I deploy EJB on iAS.
    In this case, I don't know how JSP/Servlet call EJb on iAS.
    I'd like to know how I can set JNDI name in JSP/Servlet on iWS.
    I will thank you if you give me a simple example source using JSP/Servlet
    and EJB.
    Thanks in advance!!!
    - Park-

  • Calling JNI from my servlet

    Hai,
    I am using a servlet and I am calling the JNI method, but it is throwing an error like
    "java.lang.UnsatisfiedLinkError: check_file". (check_file is my JNI method.)
    I have checked the included header file name and function name, they are proper and correct. Can any one tell me some solution forthis problem. Thanks in advance.
    Bala

    Hai ,
    I found the solution for this query from jguru forum. I thought it will be helpful for persons like me, so i am posting it here. Consider the flg. example.
    All programs are under package "com.myprogram"
    MyServlet.java (My servlet program)
    GetInfo.java (My Java link program)
    GetInfofromCLib.c(My JNI interface program)
    MyServlet.java ---> Servlet that calls the get_info() native method of GetInfo.java
    ******GetInfo.java*****
    public class GetInfo
    public native void get_info();
    static{
    System.load("/usr/home/com/myprogram/mylib.so");
    so now if u create "javah -jni GetInfo"
    it will create the function name like
    Java_get_1info(JNIEnv*, jobject);
    but we need to rewrite this function name, so that it is representing the total path as
    Java_com_myprogram_get_1nfo(....);
    And also in the GetInfofromCLib.c we need to refer this way. Hope this will help others......
    Thanks,
    Bala....

  • Calling applications from javafx

    hi,
    how to call other application such as winamp, firefox, etc from javafx.

    Have a look at the documentation of java.lang.ProcessBuilder [http://java.sun.com/javase/6/docs/api/java/lang/ProcessBuilder.html]
    General pointer for processes in Java:
    - you DO need to consume the content of the standard output and error output (if any) in order for your app to execute correctly.
    - "consuming" means empting their content (getting rid of it, saving it to a log, exporting it to the GUI, whatever). Can be done in separate Thread or task (see FX pointers below).
    - standard ouput stream is returned by getInputStream() in the Process class (I know the name is misleading but from Java's point of view, the process' output is an input stream).
    - error ouput stream is returned by getErrorStream() in the Process class (same)
    Pointers for processes in JavaFX:
    - use javafx.async.JavaTaskBase and javafx.async.RunnableFuture to create an async FX task to start & launch the process and to consume its streams.

  • Calling java application from servlet using servletexec servlets

    We are using servletexec 3.0,IIS 5.0, sun Java SDK 1.3.1_12.
    I have a servlet which works fine. This servlet is being called from the submit of the form in a html file.
    It works fine.
    But now i have to use a third party credit card application from my servlet.How can i do that.
    I have added the third party jar files in the classpath of servletexec.
    How can i use their methods.
    Please let me know.

    Something like this ?
    import thirdparty.*;
    import javax.servlet.http.*;
    public class MyServlet extends HttpServlet {
      public void doGet(HttpServletRequest request, HttpServletResponse response) {
        ThirdPartyClass t = new ThirdPartyClass();
        t.someMethod();
    }

  • Calling Java application from servlet

    Hi !
    I'm trying to run a Java application from within a servlet with Tomcat 4. I'm using the Runtime.getRuntime ().exec () method. So the application is run in a different JVM as a subprocess of the servlet. I use ObjectInputStream and ObjectOutputStream and a serializable object to enable communication between the servlet and the application.
    I tested the application and the serializable object with another Java application that works as the caller and it works fine. However, replacing the caller application with the servlet I get a StreamCorruptedException. The structure of the caller application and the servlet is the same.
    My questions are:
    - Is there something I should configure in Tomcat to create a subprocess ?
    - What is the cause of the StreamCorruptedException ? How do I get it with the servlet and not with the application ?
    - Should I use an environment with the call to Runtime.getRuntime ().exec () ? How do I use it ?
    - Is the called application forced to run in my servlet's context ?
    - Is there a better way to do this ?
    Thanks to all

    Here's my code:
    1. The serializable object:
    // Object Obj
    import java.io.*;
    public class Obj implements Serializable
    public int n;
    public Obj ()
    n = 0;
    public Obj (int n)
    this.n = n;
    public String toString ()
    return getClass ().getName () + " -> (n = " + n + ")";
    2. The application Sub (subprogram)
    // Application Sub
    import java.io.*;
    public class Sub
    private static File f;
    private static FileWriter fw;
    public static void main (String [] args)
    throws IOException, InterruptedException, ClassNotFoundException
    ObjectInputStream ois;
    ObjectOutputStream oos;
    Obj obj;
    ois = new ObjectInputStream (System.in);
    obj = (Obj) ois.readObject ();
    f = new File ("Sub.txt");
    fw = new FileWriter (f);
    fw.write (obj.toString ());
    fw.close ();
    oos = new ObjectOutputStream (System.out);
    oos.writeObject (obj);
    ois.close ();
    oos.close ();
    3. The application AMain (caller application)
    // Application AMain
    import java.io.*;
    class AMain
    private static File f;
    private static FileWriter fw;
    public static void main (String [] args)
    throws IOException, ClassNotFoundException
    Runtime r;
    Process p;
    ObjectInputStream ois;
    ObjectOutputStream oos;
    Obj obj, obj2;
    r = Runtime.getRuntime ();
    p = r.exec ("java Sub");
    oos = new ObjectOutputStream (p.getOutputStream ());
    obj = new Obj (5);
    oos.writeObject (obj);
    oos.flush ();
    B.comunica (obj);
    System.out.println ("AMain sends to Sub: " + obj.toString ());
    try
    p.waitFor ();
    catch (InterruptedException e)
    System.out.println ("Subprogram was interrupted");
    System.out.println (e.toString ());
    ois = new ObjectInputStream (p.getInputStream ());
    System.out.print ("Sub sends to AMain: ");
    obj2 = (Obj) ois.readObject ();
    System.out.println (" " + obj2.toString ());
    oos.close ();
    ois.close ();
    p.destroy ();
    4. The servlet SMain (the calling servlet)
    // Servlet SMain
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.sql.*;
    import java.io.*;
    import java.util.*;
    public class SMain extends HttpServlet
    public void doPost (HttpServletRequest req, HttpServletResponse res)
    throws ServletException, IOException
    Runtime r;
    Process p;
    ObjectInputStream ois;
    ObjectOutputStream oos;
    Obj obj, obj2;
    int state, i;
    res.setContentType ("text/html");
    ServletOutputStream out = res.getOutputStream ();
    out.println ("<html>");
    out.println ("<head><title>Sub</title></head>");
    out.println ("<body>");
    out.println ("Invoking subprogram...");
    out.println ("<br>");
    try
    r = Runtime.getRuntime();
    p = r.exec ("java -cp .;c:\\Programs\\Apache~1.0\\webapps\\SMain\\WEB-INF\\classes Sub");
    out.println ("...invoked<br>");
    oos = new ObjectOutputStream (p.getOutputStream ());
    obj = new Obj (5);
    oos.writeObject (obj);
    oos.flush ();
    out.println ("<br>SMain sends to Sub: " + obj.toString () + "<br>");
    try
    p.waitFor ();
    catch (InterruptedException e)
    out.println ("<br>Subprogram was interrupted<br>");
    out.println ("<br>" + e.toString () + "<br>");
    state = p.exitValue ();
    out.println ("<br>Subprogram state: " + state + "<br>");
    ois = new ObjectInputStream (p.getInputStream ());
    out.print ("<br>Sub sends to SMain: ");
    obj2 = (Obj) ois.readObject ();
    p.destroy ();
    catch (SecurityException e)
    out.println ("<br>SecurityException<br>");
    out.println ("<br>" + e.toString () + "<br>");
    catch (IOException e)
    out.println ("<br>IOException<br>");
    out.println ("<br>" + e.toString () + "<br>");
    catch (Exception e)
    out.println ("<br>Exception<br>");
    out.println ("<br>" + e.toString () + "<br>");
    out.println ("</body>");
    out.println ("</html>");
    So, as you can see, both application AMain and servlet SMain invoke application Sub and pass it the serializable object Obj. Oddly enough, application AMain works fine whereas servlet SMain throws a StreamCorruptedException exception.
    johnpoole said:
    �It's hard to guess what would cause the exception without seeing code, but the interaction between the processes would differ from that between two applications, because the servlet process is started with a different class loader. I'm not sure which one the jvm started by the call would use.�
    How can I enforce that a System classloader be used in the call to Runtime.getRuntime ().exec () ? (I mean by System classloader a classloader equals to the one applications are launched from console).
    johnpoole said
    �Is there a reason why you aren't starting the second process manually and then connecting to it on a port?�
    The idea is providing a Web interface for an application running in the server. The servlet is used to restrict access to this application but once access is granted (passing the servlet) the application should not be constrained.

  • Calling Oracle Reports from a servlet

    Hi
    I want use Oracle Reports to build reports
    and then call them from a servlet via a URL.
    How can i do this?
    Thanks
    Alexandre Baptista

    You can write a Java Stored Procedure that executes a Java
    Runtime object. This allows you to call an OS command. It's
    quite straightforward to do and you can find examples on this
    forum and on the AskTom site (among other places).
    With this Java built you ought (I haven't tried it myself) to be
    able to call run_product (or whatever the Reports runtime is
    these days) - providing it's on the same server as the
    database. I'm not sure whether you can use this java workaround
    to call OS commans on remote servers, although in principle I
    don't see why not.
    Try it and let the forum know how it works.
    HTH, APC

  • Calling JBean from Servlet

    Have a java bea located at \web-inf\classes\mybeans called UserData.java
    And would like to call it from my servlet to pass data located at \web-inf\classesHow would I do that?

    If your using webLogic server, then the below link may help you.
    http://edocs.bea.com/workshop/docs81/doc/en/core/index.html

  • Executing an executable from a servlet or a JSP

    Is it possible to call an executable from a servlet. Say I have a client server application and I want to start the client application from a servlet. What is the best way to do that?
    I know normal Java applications can use the Runtime to run an executable. Can a servlet do the same? What are the security implications, considering that the servlet will be accessed from a browser?
    Thanks for your help.

    A servlet is executed on the server, not the client. The client receives a response from the servlet which is usually plain text formatted as HTML and/or javascript.
    So can a servlet use the Runtime class? Sure, but on the SERVER, not on the client. Hence, the executable will need to be on the webserver, not on the client machine and it will execute on the webserver, not on the client.
    Maybe, your HTML formatted response can include an <applet> tag to trigger the browser to download an applet that may have access to call an executable. Maybe a trusted applet?

  • How to invoke a OSB Proxy Service from a Servlet??

    Hi!!
    I'm a begginer in OSB, and right now I have a OSB configuration in production mode. So, using the console test it's very easy to test (doh) my configuration. But now, I have to make a stress test and after read a lot of documentation I did'nt found the way to do that. So I'm trying to do it by using a Servlet, a doPost method in especific, but after a lot of time I can't invoke the proxy service.
    What is the right way to use a proxy service in production mode??
    How can I call it from my servlet??
    How can I send an xml (or any other object, file, text...) as a Request??
    Help please, thank you...
    Edited by: user12116998 on 18-mar-2010 12:40

    If you have your proxy service published as http/soap, then I recommend you to use SoapUI to test it. It can help you with stress test too.

Maybe you are looking for

  • HT1494 can't get sound on new ipod

    I bought a new Ipod Nano (7th gen) yesterday and synced it fine with iTunes and now cannot get any sound from it.  I am using the earphones that came with it and used the manual but still no sound

  • Adobe Ideas compatibility with Illustrator on a pc? Or only on a Mac?

    Is Adobe Ideas compatible with Illustrator on a pc? Or only for Mac?

  • New Laptop and I can't transfer music.

    I just bought a new laptop. I've installed the software and I've connected my Ipod Mini. It brought up a message once saying "this ipod is registered to another computer do you want to change it to this computer" Please be aware that I am paraphrasin

  • Firewall/Switching/VLAN Design and Security considerations

    Hi, Consider the following: /SW3---| External--S1--FW---/ |Subnet 1 | \ \ | | \__\SW4---| | /\ | / /SW5--| External--S2--FW-/ |Subnet 2 \ | \SW6--| Requirements: Router/Switch/Firewall/NIC resiliency. We can pretty much cover this with HSRP/redundant

  • Pushing out Syslog setting with DHCP in IOS

    I am troubleshooting a problem where AP's are  failing over from the primary wlc to the secondary.  It isnt a shortage of bandwidth on our MPLS cloud. Would like to see about enabling syslog on the ap's in an individual office (I have dhcp running on