5.3-SP12 CUP-SMTP Server-Redirection URL

Hi experts,
I've configured the SMTP server by setting the Applicattion URL : Configuration>Workflow>SMTP Server, but there is another field: Redirection URL that I have not full-filled.
Which is the functionality of setting the redirection URL at the SMTP Server?
Many thanks!

It's two different URLs:
- you will need the SMTP server (which is not a URL but a host name, i.e. "mail.yourcompany.com")
- you do not need the redirect URL if you don't do SSO
Frank.

Similar Messages

  • CUP SMTP server error

    Hi Experts,
    I have a problem configuring my SMTP server in GRC CUP 5.3 .
    As you   guys have already noticed its has a couple of extra fields in 5.3  than  to 5.2 in the SMTP pane  where you save your server name
    error : " Action failed. An unknown error occurred while performing the operation."
    But I tried configuring this in 5.2 and it worked fine!!!
    Should I be filling the additonal fields like System email ID , application URL ,redirection URL etc.
    Please see the log below
    2009-03-12 12:29:41,321 [SAPEngine_Application_Thread[impl:3]_27] ERROR com.virsa.ae.configuration.actions.SMTPServerNameAction
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
         at java.lang.String.substring(String.java:1444)
         at com.virsa.ae.commons.utils.URLHelper.initialize(URLHelper.java:430)
         at com.virsa.ae.configuration.bo.SMTPServerNameBO.saveSMTPServerName(SMTPServerNameBO.java:106)
         at com.virsa.ae.configuration.actions.SMTPServerNameAction.saveSMTPServerName(SMTPServerNameAction.java:76)
         at com.virsa.ae.configuration.actions.SMTPServerNameAction.execute(SMTPServerNameAction.java:51)
         at com.virsa.ae.commons.utils.framework.NavigationEngine.execute(NavigationEngine.java:271)
         at com.virsa.ae.commons.utils.framework.servlet.AEFrameworkServlet.service(AEFrameworkServlet.java:432)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    2009-03-12 12:29:41,321 [SAPEngine_Application_Thread[impl:3]_27] INFO   MessagingHelper.java@131:clearMessages() : @@@clearing messages
    2009-03-12 12:29:41,321 [SAPEngine_Application_Thread[impl:3]_27] INFO   MessagingHelper.java@99:addMessage() : @@@Adding msgValue: Code: 0105; Locale: en
    2009-03-12 12:29:41,321 [SAPEngine_Application_Thread[impl:3]_27] INFO   MessagingHelper.java@109:addMessage() : @@@Creating new message list
    2009-03-12 12:29:41,321 [SAPEngine_Application_Thread[impl:3]_27] INFO   MessagingHelper.java@119:addMessage() : Adding msg to msglist
    2009-03-12 12:29:41,321 [SAPEngine_Application_Thread[impl:3]_27] DEBUG  NavigationEngine.java@272:execute() : Target returned by execute action: failure
    2009-03-12 12:29:41,321 [SAPEngine_Application_Thread[impl:3]_27] DEBUG  AEFrameworkServlet.java@459:service() : forwarding to:loadConfigSMTPServerName.do
    2009-03-12 12:29:41,321 [SAPEngine_Application_Thread[impl:3]_27] DEBUG  AEFrameworkServlet.java@522:logRequest() :
    -- Request dump for Action Path is loadConfigSMTPServerName
    2009-03-12 12:29:41,321 [SAPEngine_Application_Thread[impl:3]_27] DEBUG  AEFrameworkServlet.java@538:logRequest() : email_server_name:0::SMTP-RELAY-EU.GETRANET.COM#
    2009-03-12 12:29:41,321 [SAPEngine_Application_Thread[impl:3]_27] DEBUG  AEFrameworkServlet.java@538:logRequest() : btnsave:0::Save#
    2009-03-12 12:29:41,321 [SAPEngine_Application_Thread[impl:3]_27] DEBUG  AEFrameworkServlet.java@538:logRequest() : ApplicationURL:0::#
    2009-03-12 12:29:41,321 [SAPEngine_Application_Thread[impl:3]_27] DEBUG  AEFrameworkServlet.java@538:logRequest() : RedirectURL:0::#
    2009-03-12 12:29:41,321 [SAPEngine_Application_Thread[impl:3]_27] DEBUG  AEFrameworkServlet.java@538:logRequest() : GENERICMAILID:0::#
    2009-03-12 12:29:41,321 [SAPEngine_Application_Thread[impl:3]_27] DEBUG  AEFrameworkServlet.java@538:logRequest() : generic_email_server_name:0::#
    2009-03-12 12:29:41,321 [SAPEngine_Application_Thread[impl:3]_27] DEBUG  AEFrameworkServlet.java@543:logRequest() : -- End Request dump for Action Path is loadConfigSMTPServerName
    2009-03-12 12:29:41,337 [SAPEngine_Application_Thread[impl:3]_27] DEBUG  NavigationEngine.java@85:execute() : Current Module: |CFG| Conversation: |cnvConfigSMTPServerName| Screen: |scrConfigSMTPServerName|
    2009-03-12 12:29:41,337 [SAPEngine_Application_Thread[impl:3]_27] DEBUG  NavigationEngine.java@105:execute() :  Module#CFG#Conversation#cnvConfigSMTPServerName#Screen#scrConfigSMTPServerName#Action#loadConfigSMTPServerName#
    2009-03-12 12:29:41,337 [SAPEngine_Application_Thread[impl:3]_27] DEBUG  NavigationEngine.java@261:execute() : Handler found:class com.virsa.ae.configuration.actions.SMTPServerNameAction
    2009-03-12 12:29:41,337 [SAPEngine_Application_Thread[impl:3]_27] DEBUG  NavigationEngine.java@272:execute() : Target returned by execute action: success
    2009-03-12 12:29:41,337 [SAPEngine_Application_Thread[impl:3]_27] DEBUG  AEFrameworkServlet.java@459:service() : forwarding to:/cfg_smtp_server.jsp
    2009-03-12 12:29:50,852 [SAPEngine_Application_Thread[impl:3]_13] DEBUG  AEFrameworkServlet.java@522:logRequest() :
    -- Request dump for Action Path is saveConfigSMTPServerName
    2009-03-12 12:29:50,852 [SAPEngine_Application_Thread[impl:3]_13] DEBUG  AEFrameworkServlet.java@538:logRequest() : email_server_name:0::SMTP-RELAY-EU.GETRANET.COM#
    2009-03-12 12:29:50,852 [SAPEngine_Application_Thread[impl:3]_13] DEBUG  AEFrameworkServlet.java@538:logRequest() : btnsave:0::Save#
    2009-03-12 12:29:50,852 [SAPEngine_Application_Thread[impl:3]_13] DEBUG  AEFrameworkServlet.java@538:logRequest() : ApplicationURL:0::#
    2009-03-12 12:29:50,852 [SAPEngine_Application_Thread[impl:3]_13] DEBUG  AEFrameworkServlet.java@538:logRequest() : RedirectURL:0::#
    2009-03-12 12:29:50,852 [SAPEngine_Application_Thread[impl:3]_13] DEBUG  AEFrameworkServlet.java@538:logRequest() : generic_email_server_name:0::#
    2009-03-12 12:29:50,852 [SAPEngine_Application_Thread[impl:3]_13] DEBUG  AEFrameworkServlet.java@543:logRequest() : -- End Request dump for Action Path is saveConfigSMTPServerName
    2009-03-12 12:29:50,852 [SAPEngine_Application_Thread[impl:3]_13] DEBUG  NavigationEngine.java@85:execute() : Current Module: |CFG| Conversation: |cnvConfigSMTPServerName| Screen: |scrConfigSMTPServerName|
    2009-03-12 12:29:50,852 [SAPEngine_Application_Thread[impl:3]_13] DEBUG  NavigationEngine.java@105:execute() :  Module#CFG#Conversation#cnvConfigSMTPServerName#Screen#scrConfigSMTPServerName#Action#saveConfigSMTPServerName#
    2009-03-12 12:29:50,852 [SAPEngine_Application_Thread[impl:3]_13] DEBUG  NavigationEngine.java@261:execute() : Handler found:class com.virsa.ae.configuration.actions.SMTPServerNameAction
    2009-03-12 12:29:50,852 [SAPEngine_Application_Thread[impl:3]_13] DEBUG  URLHelper.java@421:initialize() : INTO the method : string=
    2009-03-12 12:29:50,852 [SAPEngine_Application_Thread[impl:3]_13] ERROR com.virsa.ae.configuration.actions.SMTPServerNameAction
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
         at java.lang.String.substring(String.java:1444)
         at com.virsa.ae.commons.utils.URLHelper.initialize(URLHelper.java:430)
         at com.virsa.ae.configuration.bo.SMTPServerNameBO.saveSMTPServerName(SMTPServerNameBO.java:106)
         at com.virsa.ae.configuration.actions.SMTPServerNameAction.saveSMTPServerName(SMTPServerNameAction.java:76)
         at com.virsa.ae.configuration.actions.SMTPServerNameAction.execute(SMTPServerNameAction.java:51)
         at com.virsa.ae.commons.utils.framework.NavigationEngine.execute(NavigationEngine.java:271)
         at com.virsa.ae.commons.utils.framework.servlet.AEFrameworkServlet.service(AEFrameworkServlet.java:432)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    2009-03-12 12:29:50,852 [SAPEngine_Application_Thread[impl:3]_13] INFO   MessagingHelper.java@131:clearMessages() : @@@clearing messages
    2009-03-12 12:29:50,852 [SAPEngine_Application_Thread[impl:3]_13] INFO   MessagingHelper.java@99:addMessage() : @@@Adding msgValue: Code: 0105; Locale: en
    2009-03-12 12:29:50,852 [SAPEngine_Application_Thread[impl:3]_13] INFO   MessagingHelper.java@109:addMessage() : @@@Creating new message list
    2009-03-12 12:29:50,852 [SAPEngine_Application_Thread[impl:3]_13] INFO   MessagingHelper.java@119:addMessage() : Adding msg to msglist
    2009-03-12 12:29:50,852 [SAPEngine_Application_Thread[impl:3]_13] DEBUG  NavigationEngine.java@272:execute() : Target returned by execute action: failure
    2009-03-12 12:29:50,852 [SAPEngine_Application_Thread[impl:3]_13] DEBUG  AEFrameworkServlet.java@459:service() : forwarding to:loadConfigSMTPServerName.do
    2009-03-12 12:29:50,852 [SAPEngine_Application_Thread[impl:3]_13] DEBUG  AEFrameworkServlet.java@522:logRequest() :
    -- Request dump for Action Path is loadConfigSMTPServerName
    2009-03-12 12:29:50,852 [SAPEngine_Application_Thread[impl:3]_13] DEBUG  AEFrameworkServlet.java@538:logRequest() : email_server_name:0::SMTP-RELAY-EU.GETRANET.COM#
    2009-03-12 12:29:50,852 [SAPEngine_Application_Thread[impl:3]_13] DEBUG  AEFrameworkServlet.java@538:logRequest() : btnsave:0::Save#
    2009-03-12 12:29:50,852 [SAPEngine_Application_Thread[impl:3]_13] DEBUG  AEFrameworkServlet.java@538:logRequest() : ApplicationURL:0::#
    2009-03-12 12:29:50,852 [SAPEngine_Application_Thread[impl:3]_13] DEBUG  AEFrameworkServlet.java@538:logRequest() : RedirectURL:0::#
    2009-03-12 12:29:50,852 [SAPEngine_Application_Thread[impl:3]_13] DEBUG  AEFrameworkServlet.java@538:logRequest() : generic_email_server_name:0::#
    2009-03-12 12:29:50,852 [SAPEngine_Application_Thread[impl:3]_13] DEBUG  AEFrameworkServlet.java@543:logRequest() : -- End Request dump for Action Path is loadConfigSMTPServerName
    2009-03-12 12:29:50,852 [SAPEngine_Application_Thread[impl:3]_13] DEBUG  NavigationEngine.java@85:execute() : Current Module: |CFG| Conversation: |cnvConfigSMTPServerName| Screen: |scrConfigSMTPServerName|
    2009-03-12 12:29:50,852 [SAPEngine_Application_Thread[impl:3]_13] DEBUG  NavigationEngine.java@105:execute() :  Module#CFG#Conversation#cnvConfigSMTPServerName#Screen#scrConfigSMTPServerName#Action#loadConfigSMTPServerName#
    2009-03-12 12:29:50,852 [SAPEngine_Application_Thread[impl:3]_13] DEBUG  NavigationEngine.java@261:execute() : Handler found:class com.virsa.ae.configuration.actions.SMTPServerNameAction
    2009-03-12 12:29:50,852 [SAPEngine_Application_Thread[impl:3]_13] DEBUG  NavigationEngine.java@272:execute() : Target returned by execute action: success
    2009-03-12 12:29:50,852 [SAPEngine_Application_Thread[impl:3]_13] DEBUG  AEFrameworkServlet.java@459:service() : forwarding to:/cfg_smtp_server.jsp
    2009-03-12 12:30:13,055 [SAPEngine_Application_Thread[impl:3]_11] DEBUG  AEFrameworkServlet.java@522:logRequest() :
    -- Request dump for Action Path is loadConfigSMTPServerName
    2009-03-12 12:30:13,055 [SAPEngine_Application_Thread[impl:3]_11] DEBUG  AEFrameworkServlet.java@543:logRequest() : -- End Request dump for Action Path is loadConfigSMTPServerName
    2009-03-12 12:30:13,055 [SAPEngine_Application_Thread[impl:3]_11] DEBUG  NavigationEngine.java@85:execute() : Current Module: |CFG| Conversation: |cnvConfigSMTPServerName| Screen: |scrConfigSMTPServerName|
    2009-03-12 12:30:13,055 [SAPEngine_Application_Thread[impl:3]_11] DEBUG  NavigationEngine.java@105:execute() :  Module#CFG#Conversation#cnvConfigSMTPServerName#Screen#scrConfigSMTPServerName#Action#loadConfigSMTPServerName#
    2009-03-12 12:30:13,055 [SAPEngine_Application_Thread[impl:3]_11] DEBUG  NavigationEngine.java@261:execute() : Handler found:class com.virsa.ae.configuration.actions.SMTPServerNameAction
    2009-03-12 12:30:13,055 [SAPEngine_Application_Thread[impl:3]_11] DEBUG  NavigationEngine.java@272:execute() : Target returned by execute action: success
    2009-03-12 12:30:13,055 [SAPEngine_Application_Thread[impl:3]_11] DEBUG  AEFrameworkServlet.java@459:service() : forwarding to:/cfg_smtp_server.jsp
    2009-03-12 12:30:14,258 [SAPEngine_Application_Thread[impl:3]_10] DEBUG  AEFrameworkServlet.java@522:logRequest() :
    Any thoughts , please share you rexperinces
    Regards
    PKK

    Hi Alpesh,
    I was able to resolve the same issue MK reported by adding dummy URLs in the Application URL and Redirection URL fields in SMTP config.   Thanks for the tip!
    However, this seems to introduce a new problem in URL links attached to the e-mail notifications sent to users/approves, etc.
    For example,
    I enetered http://ercp1xxx:50400/AE/ in the Application URL and Redirection URL fields which allows me to save my SMTP configuration.
    When the users received e-mail notification of the status of their request, they will get a link automatically attached to the end of the e-mail to allow them to check the status. For example,
    http://ercp1xxx:50400/AE/index.jsp?loadRequestStatusSearchClosed.do.....    If the user copy and paste this link to a browser, they will be able to go to AE to check status.
    However, if they click on the link provided in the e-mail, the user will be directed to a link like below which is not a valid address and users will get error message.   
    e.g.http://ercp1xxx:50400/AE/=http://ercp1xxx:50400/AE/index.jsp?loadRequestStatusSearchClosed.do
    It looks like the URL I defined for App or Redirection for SMTP was appended in front of the URL generated for e-mail notification.
    Do you know how to fix this issue?  I can not leave the App or Redirection for SMTP config blank otherwise I can not save my SMTP config.    Can I change the link that automatically entered in the email,for example,
    from http://ercp1xxx:50400/AE/index.jsp?loadRequestStatusSearchClosed.do
    to index.jsp?loadRequestStatusSearchClosed.do  ?
    Then when the Application URL combined with it the link will work?   Of course this may introduce a different problem that the link showed up in the e-mail may not look correct either.   
    Many thanks for your help.
    Regards.

  • CUP 5.3: SMTP Server

    Good day Chaps.
    Is it mandatory to have a MS Exchange mailbox created and the email name maintained in the Enter Email Notification Sender in CUP > SMTP Server?
    If not, how will CUP send out the CUP Request email notifications?  The AC5.3_Config_Guide does not mention anything on the topic.
    Regards,
    M Hannie

    Dear all,
    I've setup the SMTP server information, and CUP is sending emails to notify approvers of pending requsts.  However I have a few issues with this screen.
    SMTP Server has been entered and has saved
    I had tried to put in URLs for the Application URL and the Redirection URL.  The values I had entered were not correct and so now, the link that is sent to the approvers doesn't lead them to the correct CUP screen.  This is my first issue - what is the correct information that should go into these fields?
    The second problem is that if I try to delete this information, and then try to save it, I receive the following error:
    Action failed. An unknown error occurred while performing the operation
    Upon checking the logs, I notice the following:
    2009-11-19 13:16:21,495 [SAPEngine_Application_Thread[impl:3]_3] ERROR com.virsa.ae.configuration.actions.SMTPServerNameAction
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
    From this error, I can make out that it is being generated because I tried to remove the incorrect URLs that I had entered.
    Have you seen this problem, and if so, how did you fix it?
    Thanks,
    Santosh Krishnan

  • Configuration error when saving SMTP server

    I am configuring CUP 5.3 (SP06).  When I put in our SMTP server, I get the following error:
    " Action failed. An unknown error occurred while performing the operation. "
    It looks like this screen was changed with SP06.  I am not filling out anything under "Enter Email Notification Sender" or under "Application URL" (which seems to be new fields).
    Here is what the log says:
    2009-03-18 16:23:39,339 [SAPEngine_Application_Thread[impl:3]_39] ERROR com.virsa.ae.configuration.actions.SMTPServerNameAction
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
         at java.lang.String.substring(String.java:1444)
         at com.virsa.ae.commons.utils.URLHelper.initialize(URLHelper.java:430)
         at com.virsa.ae.configuration.bo.SMTPServerNameBO.saveSMTPServerName(SMTPServerNameBO.java:106)
         at com.virsa.ae.configuration.actions.SMTPServerNameAction.saveSMTPServerName(SMTPServerNameAction.java:76)
         at com.virsa.ae.configuration.actions.SMTPServerNameAction.execute(SMTPServerNameAction.java:51)
         at com.virsa.ae.commons.utils.framework.NavigationEngine.execute(NavigationEngine.java:271)
         at com.virsa.ae.commons.utils.framework.servlet.AEFrameworkServlet.service(AEFrameworkServlet.java:432)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    Thank you for your help.

    Hi Peggy,
    This is a known bug in AC 5.3 SP6. SAP has added fields for administrator email address, application URL and redirection URL. Even though application URL and redirection URL do not show up as manadatory fields but they are required to save the configuration. To get pass through this error, just provide anything in those 2 textboxes with some dummy email address in administrator email address textbox. You should be able to save it now.
    This is being fixed in SP7 which should release somewhere around end of March.
    Please check this similar thread:
    CUP SMTP server error
    Regards,
    Alpesh

  • JSP bug? url.openStream() = server redirected too many times

    I tried something the other day that works in Java, so it should work as a JSP scriptlet, but I received an error message that others have posted elsewhere without a compete resolution. Specifically, given a URL, say u, one ought to be able to do u.openStream() and eventually read the remote page. Typically, one might want to try
    URL u = new URL("http://someserver.com/path/file.xxx")
    BufferedReader bfr = new BufferedReader(new InputStreamReader(u.openStream()))and then read bfr line-by-line. The problem that seems to be fairly common is that the openStream() call throws a ProtocolException claiming "server redirected too many times (20), ."
    What I've seen is that this exception occurs whenever the URL is outside the Tomcat server whence the call is being made; in our case, we're running "out-of-the-box" Jakarta Tomcat 4.1.29 on port 8080 of a w2k server. The code works perfectly in native Java and in JSP for a URL of the form "/anotherpage.jsp"
    Is this a bug in JSP, or in our version of Tomcat, or is there just some configuration parameter that needs to be changed from its default? As I said, I've seen similar posts (with less detailed analysis) in the Usenet newsgroups, but not one has generated a response that explains and resolves the matter.
    Perhaps a JSP guru out there could set the record straight? Thanks.
    P.S. I know that the use of scriptlets in JSP is being discouraged, but they are still supported AFAIK.

    Sure scriptlets are still supported. Most times though you can do things better with a custom tag. Why reinvent the wheel?
    Just as a suggestion, you might try the JSTL <c:import> tag.
    It basically does just this behind the scenes.
    However I don't think that will help you in the end - it will probably hit the same error message.
    My guess would be that the problem is not caused by java/JSP as such, but by a firewall, or configuration somewhere.
    The following works fine for me (ignoring broken images of course)
    <%@ page import="java.net.*, java.io.*" %>
    <%
    URL u = new URL("http://www.google.com");
    BufferedReader bfr = new BufferedReader(new InputStreamReader(u.openStream()));
    String line = null;
    while ((line = bfr.readLine()) != null){
      out.println(line);
    %>Hope this helps,
    evnafets

  • Ume.logoff.redirect.url

    Hi All,
    I'm trying to use the ume.logoff.redirect.url parameter to redirect the Portal to a predifined destination. However, it doesnt work, the Portal just redirects to the opening page. I've also set the ume.logoff.redirect.silent parameter to false.
    I was hoping that someone would be able to post an example of the correct way to input a value for this parameter, as i've tried many different forms, and none of them seem to work.
    I'm developing in EP6.40, sp12.
    Thanks in advance
    Rav

    Hi Robert,
    Sorry, you misunderstood my post, my fault.
    I've tried the url before, at an earlier date, and it didnt work.
    I was asking you if the url that I posted was in the correct form, because, if it is, then I have to try something else, as it doesnt work.
    I always restart the server everytime I've made changes.
    Cheers
    Rav
    Message was edited by: Ravinder Sokhi

  • IMS 5.2: smtp server hangs

    Running on Solaris 8, the smtp server seems to hang every few days, with the result that mail for my site ends up being hung up for hours until we restart the process.
    Is this a known bug?! Any way to fix it?
    It doesn't make iMS a very attractive solution for an enterprise that relies heavily on email.

    Hello,
    I know that there has been a number of fixes on solaris as well as NT since Feb dist. Here is what I have of the bugfixes, there may have been more since this hotfix. If you have a license you should be able to ask sun support for the latest hotfix.
    # BUGLIST
    # Copyright (c) 2002. Sun Microsystems Inc. All Rights Reserved.
    # $Name: $
    NAME: iMS 5.2hf0.9 distribution
    DATE: Tue Jul 30 02:43:12 GMT 2002
    List of bugs that are fixed in this patch kit:
    Synopsis
    Bugtraq (comments) [subcategory] {bugsplat}
    ===========================================
    ------- Bugs listed after this line are fixed in 5.2p0.1
    4659265 mailDomainCatchAllAddress doesn't work
         () [mta] {}
    4642210 MMP LDAP code causes high CPU usage and can wedge under stress test
    () [mmp] {}
    4661139 Sieve interpretation of multiple filters not working quite right?
         () [mta] {}
    4660227 PMDFdisposeHeader() does not free all header memory
         () [mta] {}
    4632998 Charset of Arabic, Hebrew, Thai auto-reply messages set to iso-8859-1
         () [webmail] {}
    4648771 Incremental dirsync can miss newly added users
         () [mta] {}
    4539563 (Icelandic) ISO-8859-1 vacation responder Subject corrupt in Webmail
         () [webmail] {}
    4645870 Subject composed of 1 accented char encoded incorrectly
         () [webmail] {}
    4641974 Welcome message with non ascii characters corrupted
         () [store] {}
    4631706 Arabic/Hebrew (rtl) IE users can't subscribe to shared folders
         () [webmail] {}
    4643137 JA specific problem: Display of iDA gets corrupted.
         () [l10n_ja] {}
    4651806 Security exploit with vcard using Netscape Communicator 4.x
         () [webmail] {}
    4627060 'filename' argument is set even though it's never used when accessing attachment
         () [webmail] {}
    4647148 Invalid encoded characters in Subject line causes javascript error in webmail
         () [webmail] {}
    4634079 Webmail should remove \recent flag after opening mailbox
         () [webmail] {}
    4653818 PAB_CMD_GET_PABS error when user dn contains Capital letters
         () [webmail] {}
    4647798 imsimta db utility broken
         () [mta] {}
    4523668 Dirsync hangs - memory pool related???
         (for NT only, Unix fix is in 5.2) [mta] {}
    4657857 Program delivery fails if hostname is too long
         () [mta] {}
    4519531 sendmail -Ac option not accepted, now used by Solaris 9 startup scripts
         () [mta] {}
    4519546 sendmail -- option not accepted, now used by Solaris 9 mail program
         () [mta] {}
    4654456 Autoreply echo mode not honored
         () [mta] {}
    4650087 imsimta cnbuild error trying to migrate from SIMS4.0 to iMS5.2
         () [mta] {}
    4644932 mshttpd core dump in decodeOutput
         () [webmail] {}
    4666989 Security hole in cfg.msc command
         () [webmail] {}
    4631223 JS error in subscribe to shared folders
         () [webmail] {}
    4657356 Webmail interface giving javascript errors when pab disabled
         () [webmail] {}
    4662739 JavaScript error on logout
         () [webmail] {}
    4666448 When maximum number of PAB users' entries reached, webmail interface gives javascript error.
         () [webmail] {}
    4531386 Unreadable chinese (zh_cn) chars in header if preferred language is zh_tw
         () [webmail] {}
    4636633 popd core analysis
         () [store] {}
    4549165 mboxutil -p doesn't work for Japanese characters
         () [store] {}
    4641089 Scalability problem with ever growing INBOX
         () [store] {}
    4624538 ims_master dequeing slowly/imsbackup still running
         () [store] {}
    4643466 stored does not stop after mboxlist_recover failed
         () [store] {}
    4620764 MoveUser gives error number 0, even when it fails
         () [store] {}
    4659213 Scheduling of jobs is not quite as specified by backoff (return job affects it)
         () [mta] {}
    4640225 Return job consuming high CPU
         () [mta] {}
    4532419 ims_master contends with itself "mailbox is busy"
    (partial workaround) [mta] {}
    4628992 job controller not scheduling agressively enough
    () [mta] {}
    ------- Bugs listed after this line are fixed in 5.2p0.2
    4543495 Leak with NSS2.8.2
         (memory leak causes mshttpd to grow) [other] {399608)
    4665450 PAB group with no 'un' attr crashes pab
         () [webmail] {}
    4665018 Empty memberofpabgroup crashes pab
         () [webmail] {}
    4634668 Closing compose window after saving draft kills netscape on HPUX
         () [webmail] {}
    4620075 Cannot use toolbars on a message with View HTML Source checked
         () [webmail] {}
    4667354 process_held broken in direct-ldap mode
         () [mta] {}
    4654805 imapd dumps core in copy command if cache data invalid
         () [store] {}
    4658078 Adding a group to itself gives ldap error
         () [webmail] {}
    4618565 Unqualified mail-ids not accepted in fields like mail-fwdng,reply-to
         () [webmail] {}
    4670862 Hosted domains view english instead of localized webmail
         () [webmail] {}
    4672649 imsimport: incorrect internal date
         () [store] {}
    4673300 Problems with quotagraceperiod
    () [store] {}
    4659585 iminitquota -a should continue if orphaned mailbox found
    () [store] {}
    4658077 PAB-Renaming an entry does not check for duplicates
         () [webmail] {}
    4665069 WebMail "compose message" and "spell check" windows too tall and not resizable.
         () [webmail] {}
    4658082 Pagination issues with PAB
         () [webmail] {}
    4673036 Job Controller child process hung in exit handler
         () [mta] {}
    4657502 Double Clicking "save" in webmail options writes preferences twice, can break us
         () [webmail] {}
    4668749 A blank character is trimmed in WebMail
         () [webmail] {}
    4546178 IE 5.5 JavaScript error with WebMail
         () [webmail] {}
    4672958 Long HTTP URL gets broken in WebMail
    () [webmail] {}
    ------- Bugs listed after this line are fixed in 5.2p0.3
    4672290 recipient addresses are incorrectly formatted for vanity domain by dirsync
         () [mta] {}
    4659879 mshttpd 5.2 hotfixes break spellchecking
         () [webmail] {}
    4648195 Auto spell checking and S/MIME enabled result in javascript error
    () [webmail] {}
    4673761 /usr/lib/sendmail spinning reading from /dev/zero
    () [mta] {}
    4665735 Japanese characters in "To" and "CC" feild are corrupted on Webmail.
    (bsparser) [webmail] {}
    4662835 imsbackup doesn't produce consistent backups
         (NT only, changed semaphore init in libyasr) [store] {}
    4677285 Defragment may skip messages already seen
         () [mta] {}
    4672012 configutil options to specify host/port of iDA on webmail not used.
         () [webmail] {}
    4657610 Rename nested inbox folder with MoveUser
         () [store] {}
    4678182 Security issues with javascript and http-equiv=refresh
         () [webmail] {}
    4678917 Time stamps not updated correctly in some TZ when LDAP_TIME_LAG is used in dirsync
         () [mta] {}
    4679824 Reconstruct cores when moving 100+ messages from folder to new folder
         () [store] {}
    4628827 test -mapping utility's -mapping_file switch doesn't work
         () [mta] {}
    4670612 Error message loop after logout in some situations if SSO configured
         () [webmail] {}
    4680849 Create mailbox with long acl crashes message access server
    () [store] {}
    4682060 Change Default setting for webmail vacation reply setting
    (setting default to 1) [webmail] {}
    ------- Bugs listed after this line are fixed in 5.2p0.4
    4684058 Pathological MIME part header usage causes SMTP server slowdown
         () [mta] {}
    4658592 popd process
         () [store] {}
    4682721 NLS_EncodingConverterExists crashes by a long *from_charset
         () [nls] {}
    4540006 mboxutil -r has some sort of trouble renaming folders
         () [store] {}
    4683469 WebMail vacation days between send default is different from iDA's
    (setting default to 7) [webmail] {}
    4655771 Cannot backup/restore Japanese folder from Legato Networker
         () [store] {}
    4671362 Thai attachments show incorrect filenames
         () [webmail] {}
    4541432 PAB does not work with Replica LDAP Servers (Latency issuse)
         () [pab] {}
    4685743 conn_throttle.so fix for hash table re-use
         () [mta] {}
    4689138 ETRN host schedules all delayed messages for the channel to be attempted
    () [mta] {}
    4689827 Backoff of delivery to store is short & random for all failures inc overquota
         () [mta] {}
    4689039 MMP ldap duplicate messageid bug misdirects users under high load
    (regression from 4642210) [mmp] {}
    4686224 User not allowed to enter correct email address in PAB
    () [webmail] {}
    4620738 Crash in libldap
    (workaround for 4536001, configutil local.ldapconnectionload no longer needed) [store] {}
    4686388 Corruption ims_master mailbox store
         (off by 1 error causing ims_master crashes) [mta] {}
    4617327 POP over SSL fails
         (was not completely fixed in 5.2p0.2) [store] {}
    4688847 Insufficient parsing of APOP arguments by POPD
         () [store] {}
    4676173 Implement single sign on in WebMail proxy
         (was not completely fixed in 5.2p0.3) [webmail] {}
    4644687 Welcome message inserted inappropriately during fast recovery, restore, etc.
         () [store] {}
    4684314 MMP preauth with bad password fails
         (regression from 4642210) [mmp] {}
    4686644 imsimport creates destination mailbox even if import fails
         () [store] {}
    4691088 Crash when displaying certain folded headers
    () [webmail] {}
    4618326 High ASCII characters in email address disappearing in PAB
    (Was not completely fixed in 5.2p0.2) [webmail] {}
    4670074 IMAP APPEND command returns error in a non-error condition
         () [store] {}
    4695080 ims5.2p0.3 hotfix bundle breaks MMP ldap failover
    (4642210 regression, fix checked in as part of 4684314 fix) [mmp] {}
    ------- Bugs listed after this line are fixed in 5.2p0.5
    4694023 Eliminate unnecessary debug log on abnormal connection termination
    to SMTP server () [mta] ()
    4691080 Availability of parameter which switches way of quota over
    () [store] {}
    4697003 mshttpd crash in sprint_rfchdr
         (introduced in p0.4) [webmail] {}
    4691433 maximum attatchments reached err
         () [webmail] {}
    4697051 Conversion channel can cause sieves to evaluate twice which can lead to duplicate deliveries
    () [mta] ()
    4697788 Domain aliases don't search for all reasonable address variants
         () [mta] {}
    4697385 replayformat doesn't work in hotfix bundle
    (4642210 regression) [mmp] ()
    4671682 Crash recover, run twice without dirsync -f, deleted alias db
         (don't run recover-crash if MTA is running, don't delete live DBs if no backups) [mta] {}
    4690492 Conversion channel incorrectly caches `dparameter-symbol-0`
         (Solaris fix, correct env symbol deletion) [mta] {}
    4696742 Message with Deferred-Delivery isn't delivered at the expected time
         (it is delivered early on job controller restart) [mta] {}
    ------- Bugs listed after this line are fixed in 5.2p0.6
    4697920 Two versions of Draft folders show up
    () [webmail] {}
    4699342 Message store delivers quota notification incorrectly when quota is set to -1
    () [store] {}
    4689856 Cannot add addresses in address book in certain format
         () [webmail] {}
    4699838 imsimta program -u -m method_name doesn't return anything
         () [mta] {}
    ------- Bugs listed after this line are fixed in 5.2p0.7
    4692876 Program delivery ldap configuration issue: using 2 separate DS instances
         (split, multi-instance LDAP config causes 'imsimta program' confusion, incomplete fix in 5.2p0.6) [mta] {}
    4553030 New folder does not work on NS6
         () [webmail] {}
    4553031     Cannot send message on NS6
         () [webmail] {}
    4638691 iMS 5.1 MMP appears to be losing IMAP requests between IMAP client and msg store
    () [mmp] {}
    4684513 Sharing folders using webmail is impossible for non-default domain users
         () [webmail] {}
    4702489 Fix problem with output encoding in header charset conversions
         () [mta] {}
    4634687 Make imsimta.bat call cleandb on NT to work the same as on Solaris
         () [mta] {}
    4677508 inetDomainAlias object with duplicate objectclass=alias crashses the MTA
         () [mta] {}
    4703985 SNMP subagent problem with multiple occurrences of "/msg-" in instance's directory path
         () [admin] {}
    4674649 Bypass LDAP lookup during failover
         (solaris patch 112882-02) [SC3.x HA agent] {}
    4702075 Defragment can produce "no room" error
         () [mta] {}
    4557940 Fix command syntax error when running imsimta recover-crash on NT
         () [mta] {}
    4703418 charsets.txt file incorrectly flags UTF-16-BE as being ASCII equivalent
         () [mta] {}
    4653291 quotacheck -n dumps core
    () [store] {}
    4705912 Add support for the inetCanonicalDomainName LDAP attribute
    () [mta,store] {}
    4689082 "compose message" and "spell check"windows to tall and not resizable W/W2K &IE 6
         () [webmail] {}
    4699959 webmail client in IE/rtf mode emits lines longer than 1000 chars
         () [webmail] {}
    ------- Bugs listed after this line are fixed in 5.2p0.8
    4706856 imsimta cache -view [channel] show all channels messages
    () [mta] {}
    4708583 quotacheck dumps core when mailQuotaAttribute is not specified in rulefile
    () [store] {}
    4707864 Timeout received / messageid mismatch in MMP log file, auth failed
         (4642210 regression, improves 4689039 fix) [mmp] {}
    4700406 mshttpd dumps core in NLS_NewNamedLocaleFromChar
         [webmail]
    4701694 messages encoded in unknown charset cause javascript errors
         [webmail Hebrew/Arabic/Thai]
    4703372 Fix sieve evaluation order problem
         () [mta] {}
    4703531 some message headers displayed truncated in webmail
         [webmail]
    4708218 Eliminate duplicate fileintos
         () [mta] {}
    4709988 Fix problem with envelope :domain sieve
         () [mta] {}
    4705711 Aging policy Not working as expected
    () [store] {}
    4709005 fix problem with redirected messages and relay block
         () [mta] {}
    4712194 Remove incorrect PMDF_QUEUE reference
         () [mta] {}
    4690122 support for inetCanonicalDomainName to disambiguates domain with same base dn
         [store]
    4713075 Return job exits abnormally if a message file removed from directory
    () [mta] {}
    4713536 in 5.2p07 only, finding a locked file during job controller rebuild is fatal
    () [mta] {}
    4711588 possible data corruption during job controller rebuild process
    () [mta] {}
    4709242 DB_CONFIG file is removed mysteriously.
    () [store] {}
    4706289: reconstruct does not remove folders on non existant partitions.
    () [store] {}
    ------- Bugs listed after this line are fixed in 5.2hf0.9
    4703448 IMAPD hangs on NT
         (workaround for 4707980) [store] {}
    4698857 Fix ims_master problem getting quota info
         () [mta, store] {}
    4563172 Add missing support for BANNER_HOST
         () [MTA] {}
    4714890 mail delivery undo ACL modification by mboxutil -r
         () [store] {}
    4706925 The Folders Windows comes in front of the Compose Window when clicked on swith to html button
    () [webmail] {538366}
    4717143 End User's can't delete spoof messages via pop (mmp)
    () [mmp] {}
    4718216 PabURI is differently formatted in iMS 5.2
    (esc 538882) [mshttpd] {}
    4616192 authentication server support for customer-supplied auth plug-ins
    () [mmp] {}
    4717588 autoreply crashes if recipient has no mail attribute
         () [mta] {}
    4710477 autoreply now tolerates @ in uid
         () [mta] {}
    4718583 Do a better job on message merging
         () [mta] {}
    4717233 Defrag hangs upon part expiration
         () [mta] {}
    4646601 stored ignores change of local.store.expire.workday from "" to -1
         () [store] {}
    4711230 make session ids more secure
         [webmail]
    4540006 mboxutil -r has some sort of trouble renaming folders
         (additional fix for NT only, Unix version fixed in 5.2p0.4) [store] {}
    4719745 service.*.enable = true prevents service from starting
         (introduced in 5.2p0.7) [store]
    4720110 iMS 5.2 mboxutil -a is not giving expected result
         () [store] {}
    4720670 imsimport error when mailbox is missing a newline at the end
         () [store] {}
    4719536 Imsimta (1.7.4.5) cleandb changes prolong recovery of HA iMS under VCS
         () [mta] {}
    4721058 sometimes failure to find first message file to be processed
         () [mta] {}
    4720377 imtacli removes pidfile even when it fails to terminate dispatcher
         () [mta] {}

  • HTTP Submit to SMTP Server (to send completed PDF copy) - possible?

    I've read various blogs re: HTTP Submit and the requirements of a web service, servlet, jsp, etc. I was wondering if was possible to setup an HTTP submit button to point to a mail server to send a copy of a completed form to a specific email address? So basically, making use of the SMTP protocol.
    Instead of relying on the form user's email client (or internet email service) to send the email containing the completed PDF form, the HTTP submit button will point to a SMTP URL (of some sorts) that has been set up with the recipient’s credentials. The SMTP server would just relay the file to a designated email address of the recipient’s choosing. Not sure if SMTP’s severs will allow this due to the potential of sending SPAM from their server.
    I know all of this is possible via making the form Reader Enabled and setting up a regular email submit button, but the problem is the user must use an email client, or log into their internet email account in order to submit the form. Was just wondering if there was simple workaround? Also, the problem with using POST is that only the data is posted, which means additional steps of re-combing it with a form copy is required.
    So, is the SMTP “concept” even possible? Or, is this only possible via web service, response objects, etc.?
    Thanks in advance.
    Shaun

    Carmine,
    to use SSL, you will need to first create/purchase an SSL certificate. This can be done in Server Admin -> "servername" -> Settings -> Certificates.
    Next, simply set SMTP and/or IMAP to use SSL in Server Admin -> Mail -> Settings -> Advanced -> Security.
    HTH,
    Alex
    P.S. Buon Natale a Te.

  • When I add an opendocument login token, it wipes out my parameter/prompt response in the Redirect URL

    I am having this issue and I wonder if anyone has any pointers?
    When I send the URL with the single prompt response &lsSPrompt0=1234567 it works fine but I have to login to InfoView.
    So I created a login token .jsp and that took care of the login for InfoView, but it also killed my prompt value.
    The code that I got from another site that does the same thing I WANT to do seems to create a cookie to store the passed prompt value in, then it creates a login token, then it assembles it all in the redirect URL and sends it to the openDocument.jsp.
    The login token works like a champ, but the prompt value (initially passed in to the cookie as "Prompt0") ends up passing from the Redirect URL to the openDocument.jsp with a value of NULL (lsSPrompt0=NULL).
    In my lack of knowledge, I am thinking maybe it has something to do either with how the cookie is being created, how it is being passed, or how/if it is getting stored at the target.  The cookie/token.jsp and the openDocument.jsp are in different folders on the same domain.
    So, I pass this URL:
    http://server:8080/InfoViewApp/token.jsp?&lsSPrompt0=1234567
    The token.jsp that it hits looks like this:
    So, the redirect winds up hitting the target looking like this:
    http://server:8080/OpenDocument/opendoc/openDocument.jsp?token=logonToken&iDocID=45227708&sKind=FullClient&lsSPrompt0=NULL&NAII=N&buttonrefresh=hide&buttonexport=hide
    Obviously, my problem is this:  lsSPrompt0=NULL
    Any pointers or nuggets of wisdom are GREATLY appreciated?
    Also of note, I wasn't sure if I needed to publish this token.jsp as a Webapp to Tomcat.
    I just placed the .jsp file in the folderTomcat5.5/webapps/InfoViewApp (same location as the client who has it working).
    Do I need to publish it?  Is that part of the problem?
    I am a little out of my realm here but trying to learn!
    We are on BOXI R2, Tomcat 5.5, JAVA, and I am having the same behavior on my personal XI 3.0 server too
    Thanks in advance,
    Randy

    I believe it's storing the info in a cookie so that it can be used later.  You don't mention which version of BO you're using, but I've sometimes found that the logon tokens created in 4.x contain special characters and may need to be URL encoded.  Also, I've found that it helps to put the logon token at the end of the URL after any parameters instead of in the middle before the parameters.
    -Dell

  • Getting Warning about Redirection url

    Hi,
    we have the the portal application running on the weblogic 11g and upon login, home page of our app is loaded, but I do see the following warning message on the portal server logs. Any idea how we can supress this warning?
    <Warning> <netuix> <BEA-423420> <Redirect is executed in begin or refresh action. Redirect url is https://<servername>.arccorp.com:443/PortalApp/ARCGateway.portal?_nfpb=true&amp;_st=&amp;_pageLabel=ARC_Home&amp;_nfls=false
    Thanks
    sravi

    Hi Sravi,
    I am not sure if this is your situation or not, but hopefully it could be helpful for you.
    It is not supported for a remote pageflow portlet (WSRP producer) to redirect from its pageflow begin or refresh action. Because of this limitation, WebLogic Portal logs a warning when any portlet's pageflow attempts to redirect from either of these two actions.
    It is legal to redirect from these actions if the portlet is not a WSRP producer. If this is the case, Oracle has added a utility method that can be called prior to the redirect which can suppress these warning messages:
    - Class: com.bea.netuix.servlets.controls.content.PageflowLoggingHelper
    - Method: public static void dontLogRedirectWarning(HttpServletRequest req)
    Calling this method from the pageflow's begin or refresh action prior to the redirect will suppress the Netuix redirect warnings.
    Thanks,
    Cris

  • Form Based Authentication Redirect URL

    I'm using form based authentication in standalone OC4J 10.1.3.1. I have set the system property oc4j.formauth.redirect to true to force OC4J to redirect using 302 any successful authentication to j_security_check.
    The problem is that the redirect URL loses any query parameters. Here's the raw HTTP being posted:
    POST http://localhost:8988/manage/j_security_check HTTP/1.1
    Host: mvakoc-pc.peoplesoft.com:8099
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1
    Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
    Accept-Language: en-us,en;q=0.5
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 300
    Connection: keep-alive
    Referer: http://mvakoc-pc.peoplesoft.com:8099/manage/target?instanceName=denlcmlx1_entserver_1&targetType=entserver
    Cookie: JSESSIONID=0a8b7ff6231c049914997fdb4ebb93b4854b0956862b; SignOnDefault=18438; e1AppState=
    Content-Type: application/x-www-form-urlencoded
    Content-Length: 62
    X-Forwarded-For: 10.139.127.246
    j_username=username&j_password=password&url=%2Fmanage%2Fhome
    However the response back drops off the query parameters:
    HTTP/1.1 302 Moved Temporarily
    Date: Fri, 05 Jan 2007 21:59:22 GMT
    Server: Oracle Containers for J2EE
    Content-Length: 231
    Connection: Keep-Alive
    Keep-Alive: timeout=15, max=100
    Location: http://mvakoc-pc.peoplesoft.com:8099/manage/target
    <HTML><HEAD><TITLE>Redirect to http://mvakoc-pc.peoplesoft.com:8099/manage/target</TITLE></HEAD><BODY>http://mvakoc-pc.peoplesoft.com:8099/manage/target</BODY></HTML>
    Any workaround?

    It does not appear to be quite the same issue. That bug indicates that everything works fine in a standalone OC4J environment. This would be true with the use case specified as the original URL (/em/console/ias) does not include any query parameters. In my case the original URL contains query parameters so the ultimate redirected URL should also contain those.

  • Redirect URL rewriting in WLS8.1 and WLS9.2

    Hi,
    I am looking for help to solve the redirect URL issue for the following configuration:
    A hardware load balancer sits between the web clients and a weblogic cluster (one managed server at this moment, will add more later). The web clients use HTTPS to access the server; the load balancer converts the HTTPS to HTTP and then forwards the request to weblogic cluster.
    The problem I am trying to solve is, when a redirect is sent back to the web client, it should be in HTTPS and use virtual host name, not the actual host name which sends the redirect response.
    I've tried the "frontend host" parameters in the admin console; but could not see any effect. Any help will be greatly appreciated.
    Harry

    Problem solved by configuring the webapp to send relative (instead of absolute, which is the default) redirect URL back to the web client.
    Thanks.

  • WebAuth Redirect URL Duplication

    Hello
    I have WLC2106 with sw 4.2.205.0 and have enabled webauth, such that any users first attempt to connect to the internet will be intercepted as expected.
    This works fine if going direct to a link with NO proxy, and it works fine if adding ":8080" to the end of the url as well.
    I have the following problem though if I specify a proxy server in my IE settings (IE7).
    I go to open a web page
    http://192.168.1.1
    get redirectected to
    https://10.1.1.1 of the WLC, correctly so, however, the actual URL appears like this:
    https://10.1.1.1/login.html?redirect=192.168.1.1http://192.168.1.1
    so, once authenticated, which works fine, the redirect will try to pass the user to the website
    http://192.168.1.1http//192.168.1.1   (note the obvious duplicate in the address, but also the missing : in the second url)
    This does not happen when the proxy server setting is turned off and I have put the WLC virtual address in the proxy bypass list.
    I have also tried both with and without an address in the "Redirect URL after Login" text box.
    Has anyone experienced this, or, does anyone have any idea what it might be?
    Thanks in advance
    Anthony

    So the portal woks, but the user goes to their page on their iPhone. Have you tried to add the redirect in the HTML code instead? I have not had problems the way you have it setup on the wlc. On the iPhone are you using the browser to log in or are you joining the SSID and letting the iPhone pop up the login.
    Thanks,
    Scott Fella
    Sent from my iPhone

  • Send mail without local SMTP server

    Hey guys,
    Are there any API packages, that one can use with Java mail API to encode a mail to SMTP and send to receipent mail host directly. (without using a local SMTP server)
    I am not talking abt bulk mailer packages. Just an API package that we can program to.
    Appreciate your help guys
    thanx !

    Ex: I want to write a simple SMTP client.
    But i don't want the user to have to input a smtp server address.This is similar as if you wanted to write a simple browser - without wanting to bother the user to provide the URL's to browse!
    There is no "default mail host". Can not be generally - the network situations can be considerably different. One box is a standalone one with maybe a modem link, the other is on a LAN, the third one is a multi-address host itself bridging a LAN and a WAN etc.
    De nada.

  • How To Turn On the IIS SMTP Server?

    I have the IIS SMTP server installed in my PC. While testing to send e-mails using the JavaMail, I can see that messages do not reach the server.
    I have never used the IIS SMTP server before. I think the problem is that the server is not running (I could be wrong). How do I turn on the IIS SMTP server?

    My IIS SMTP is running because
    1. I typed http://xp-jenc-c/ in the browser and I am connected to the Windows XP Professional (http://xp-jenc-c/localstart.asp) and it says that 'Your web service is now running.'
    2. On my desktop screen, I click on the IIS. And then expand the XP-JENC-C (local computer) node. Right-click on the Default SMTP Virtual Server. I can see 'Start' is grayed out. Only Stop and Pause are the available choices.
    However, messages cannot reach the server. It is hanging after I submit the mail message. Here is the code of the msgsend. java:
    import java.io.*;
    import java.net.InetAddress;
    import java.util.Properties;
    import java.util.Date;
    import javax.mail.*;
    import javax.mail.internet.*;
    * Demo app that shows how to construct and send an RFC822
    * (singlepart) message.
    * XXX - allow more than one recipient on the command line
    * @author Max Spivak
    * @author Bill Shannon
    public class msgsend {
        public static void main(String[] argv) {
         new msgsend(argv);
        public msgsend(String[] argv) {
         String  to, subject = null, from = null,
              cc = null, bcc = null, url = null;
         String mailhost = null;
         String mailer = "msgsend";
         String protocol = null, host = null, user = null, password = null;
         String record = null;     // name of folder in which to record mail
         boolean debug = false;
         BufferedReader in =
                   new BufferedReader(new InputStreamReader(System.in));
         int optind;
         for (optind = 0; optind < argv.length; optind++) {
             if (argv[optind].equals("-T")) {
              protocol = argv[++optind];
             } else if (argv[optind].equals("-H")) {
              host = argv[++optind];
             } else if (argv[optind].equals("-U")) {
              user = argv[++optind];
             } else if (argv[optind].equals("-P")) {
              password = argv[++optind];
             } else if (argv[optind].equals("-M")) {
              mailhost = argv[++optind];
             } else if (argv[optind].equals("-f")) {
              record = argv[++optind];
             } else if (argv[optind].equals("-s")) {
              subject = argv[++optind];
             } else if (argv[optind].equals("-o")) { // originator
              from = argv[++optind];
             } else if (argv[optind].equals("-c")) {
              cc = argv[++optind];
             } else if (argv[optind].equals("-b")) {
              bcc = argv[++optind];
             } else if (argv[optind].equals("-L")) {
              url = argv[++optind];
             } else if (argv[optind].equals("-d")) {
              debug = true;
             } else if (argv[optind].equals("--")) {
              optind++;
              break;
             } else if (argv[optind].startsWith("-")) {
              System.out.println(
    "Usage: msgsend [[-L store-url] | [-T prot] [-H host] [-U user] [-P passwd]]");
              System.out.println(
    "\t[-s subject] [-o from-address] [-c cc-addresses] [-b bcc-addresses]");
              System.out.println(
    "\t[-f record-mailbox] [-M transport-host] [-d] [address]");
              System.exit(1);
             } else {
              break;
         try {
             if (optind < argv.length) {
              // XXX - concatenate all remaining arguments
              to = argv[optind];
              System.out.println("To: " + to);
             } else {
              System.out.print("To: ");
              System.out.flush();
              to = in.readLine();
             if (subject == null) {
              System.out.print("Subject: ");
              System.out.flush();
              subject = in.readLine();
             } else {
              System.out.println("Subject: " + subject);
             Properties props = System.getProperties();
             // XXX - could use Session.getTransport() and Transport.connect()
             // XXX - assume we're using SMTP
             if (mailhost != null)
              props.put("mail.smtp.host", mailhost);
             // Get a Session object
             Session session = Session.getInstance(props, null);
             if (debug)
              session.setDebug(true);
             // construct the message
             Message msg = new MimeMessage(session);
             if (from != null)
              msg.setFrom(new InternetAddress(from));
             else
              msg.setFrom();
             msg.setRecipients(Message.RecipientType.TO,
                             InternetAddress.parse(to, false));
             if (cc != null)
              msg.setRecipients(Message.RecipientType.CC,
                             InternetAddress.parse(cc, false));
             if (bcc != null)
              msg.setRecipients(Message.RecipientType.BCC,
                             InternetAddress.parse(bcc, false));
             msg.setSubject(subject);
             collect(in, msg);
             msg.setHeader("X-Mailer", mailer);
             msg.setSentDate(new Date());
             // send the thing off
             Transport.send(msg);
             System.out.println("\nMail was sent successfully.");
             // Keep a copy, if requested.
             if (record != null) {
              // Get a Store object
              Store store = null;
              if (url != null) {
                  URLName urln = new URLName(url);
                  store = session.getStore(urln);
                  store.connect();
              } else {
                  if (protocol != null)          
                   store = session.getStore(protocol);
                  else
                   store = session.getStore();
                  // Connect
                  if (host != null || user != null || password != null)
                   store.connect(host, user, password);
                  else
                   store.connect();
              // Get record Folder.  Create if it does not exist.
              Folder folder = store.getFolder(record);
              if (folder == null) {
                  System.err.println("Can't get record folder.");
                  System.exit(1);
              if (!folder.exists())
                  folder.create(Folder.HOLDS_MESSAGES);
              Message[] msgs = new Message[1];
              msgs[0] = msg;
              folder.appendMessages(msgs);
              System.out.println("Mail was recorded successfully.");
         } catch (Exception e) {
             e.printStackTrace();
        public void collect(BufferedReader in, Message msg)
                             throws MessagingException, IOException {
         String line;
         StringBuffer sb = new StringBuffer();
         while ((line = in.readLine()) != null) {
             sb.append(line);
             sb.append("\n");
         // If the desired charset is known, you can use
         // setText(text, charset)
         msg.setText(sb.toString());

Maybe you are looking for