Skip to Content
0
Former Member
Mar 12, 2009 at 11:45 AM

CUP SMTP server error

19 Views

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