cancel
Showing results for 
Search instead for 
Did you mean: 

Problem adding new custom action to E-Commerce

Former Member
0 Kudos

Hi all, I was hoping that someone might be able to help. I am trying to create a new page in our B2B application. I have created a basic test page that I am trying to call with a new action. But I am getting and error when I try to run the E-Commerce application. Here is the error that I get:

Servlet [action] will be unavailable for undefined time.

Details: javax.servlet.UnavailableException: Parsing error processing resource path /WEB-INF/xcmadmin-config.xml,/WEB-INF/ccmsims-config.xml,/WEB-INF/ipc-config.xml,/ipc/customer/config.xml,/WEB-INF/config_lwc_b2b.xml,/WEB-INF/scheduler-config.xml,/WEB-INF/ipcpricing-config.xml

Exception id: [00151738553200670000001B000015B8000458E955854074]

This happens immediately, before I can even log on. I assume that the application is having a problem loading my new action class. Here is the config.xml that calls my action class for my new action:

<action path="/b2b/accountability" type="com.sap.isa.mod.test.AccountabilityAction"/>

<forward name="accountability" path="/b2b/Accountability.jsp"/>

</action>

</action-mappings>

Here is the class that should be called:

package com.sap.isa.mod.test;

import com.sap.isa.core.BaseAction;

import org.apache.struts.action.ActionForward;

import org.apache.struts.action.ActionMapping;

import org.apache.struts.action.ActionForm;

import javax.servlet.http.HttpServletRequest;

import javax.servlet.http.HttpServletResponse;

import javax.servlet.ServletException;

public class AccountabilityAction extends BaseAction {

public ActionForward doPerform( ActionMapping mapping,

ActionForm form,

HttpServletRequest request,

HttpServletResponse response) throws ServletException

{

return mapping.findForward("accountability");

}

}

This class was added to the crm/home/shr/ext project underneath a src folder. Any help would be great. I think my problem is how and where I added my class. I am new to ISA and E-Commerce so I am trying to figure this out.

Thanks...DM

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

I think I found the problem. Incorrect syntax in the config.xml file. Seems to be working now.

Former Member
0 Kudos

Hello Donaldo

I have a similar problem in my custom B2C. I'm including a new FormBean declaration in my config.xml. But I end up with the same error as yours.

Do you recall what you did to get this working?

Thanks

Former Member
0 Kudos

Check the config.xml file, if your custom parts it's ok.

Ciao

Nicola