cancel
Showing results for 
Search instead for 
Did you mean: 

SAP ME 6.1 Extensions - NWDS Development

former_member329581
Participant
0 Kudos

Hello,

I try to develop Extensions for ME 6.1, but it doesn't work

What I try so far ...

1. I create a Software-Component with dependencies to ENGFACADE, ENGINEAPI, FRAMEWORK, SAPMECORE, SAP_BUILDT, WSRM.

2. I create a Java EE Web Module type DC in the SC use the following JSF settings:

     a.   Use JSF: (checked)

     b.   JSF Version: 1.2

     c.   Use SAP Component Libraries for JSF: (checked)

3. I remove the following lines in web.xml

<servlet>

  <servlet-name>Faces Servlet</servlet-name>

  <servlet-class>javax.faces.webapp.FacesServlet</servlet-

class>

  <load-on-startup>1</load-on-startup>

</servlet>

<servlet-mapping>

  <servlet-name>Faces Servlet</servlet-name>

  <url-pattern>/faces/*</url-pattern>

</servlet-mapping>

4. I add a Build-Time depedency from my Web-DC to

SC: SAPMECORE[sap.com]

●    DC: /me/papi 

○    Public Part: api

●    DC: /me/lsf/libs

○    Public Part: api

●    DC: /me/wpmf/libs

○    Public Part: api

●    DC: /me/buildplugin-resources

○    Public Part: def

○    Public Part: RESOURCES

5. I create a service-config.xml in "Java Resources/source" with the following content

<?xml version=“1.0“ encoding“UTF-8“

<!DOCTYPE service-config SYSTEM

"http://visiprise.com/dtd/service-config.dtd">

<service-config moduleId="com.vendor.web">    

    <import moduleId="com.sap.me.activity" service="ExtensionLoaderParent"/>

    <service name="ExtensionLoader" parent="ExtensionLoaderParent"/>

</service-config>

6. I create a Java EE Enterprise Application type DC in the SC, selecting the web DC as a referenced project

7. Add Deploy Time and Run Time dependencies from the EAR to SAPMECORE[sap.com]/me/ear.

8. I have created a Folder-Structure in "WebContent"-Folder (com/vendor/wpmf/podplugin)

9. I have placed a jsp, for example test.jsp in com/vendor/wpmf/podplugin

10. Create a package in "Java Resources/source" like com.vendor.production.web.podplugin

11. Place a Test.class in it that extends the BasePodPlugin

12. Added entrys in faces-config.xml like

<managed-bean>
   <description>Test POD-Plugin</description>
   <managed-bean-name>test</managed-bean-name>
   <managed-bean-class>com.vendor.production.web.podplugin.test</managed-bean-class>
   <managed-bean-scope>session</managed-bean-scope>
   <managed-property>
       <property-name>beanName</property-name>
       <value>test</value>
    </managed-property>
    <managed-property>
       <property-name>backingBeanName</property-name>
       <value>testBackingBean</value>
    </managed-property>

    </managed-bean>

<managed-bean>
    <managed-bean-name>testBackingBean</managed-bean-name>
    <managed-bean-class>com.sap.me.wpmf.PluginBackingBean</managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    <managed-property>
       <property-name>beanName</property-name>
       <value>testBackingBean</value>
    </managed-property>
    <managed-property>
       <property-name>assignedBeanName</property-name>
       <value>test</value>
    </managed-property>
</managed-bean>

13. I deploy the SC to the System, no Errors. In the Netweaver J00/j2ee/cluster/apps/vendor there is the EAR and in it also the web.war

14. In ME-> Activity Maintenance I added a activity ... Type: Java Class: com.vendor.production.web.podplugin.Test with the Rule PLUGIN_URL -> /COM/VENDOR/WPMF/PODPLUGIN/TEST.JSP

15. I have configured the permissions, added the Plugin to the Popup-Layout-Area and add a Button that executes the Activity

------------------>

When I open the POD I get the error 'The "jsp" file "/com/vendor/wpmf/podplugin/test.jsp" not found (Message 10008)' when I click the button I also runs in an Error --> Logviewer:

[EXCEPTION]

java.lang.ClassNotFoundException: com.systemagmbh.production.web.podplugin.PartialScrapPlugin

at com.sap.me.wpmf.util.FacesUtility.loadClass(FacesUtility.java:1035) ...

==============================================================================

Any Ideas what goes wrong?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Schimank,

As its hard to replicate your scenario here, with my knowledge I would suggest you to check the SC and web.xml.

As the name suggests you will face this error when JVM tries to load the class but doesnt find in the classpath.

For AS Java you may go through this page, which may help you to find out where are you getting it wrong.

Thanks

Anudeep KM

former_member329581
Participant
0 Kudos

It seems that that the "local development" is the problem, if I repeat all the steps with NWDI it works well.

Former Member
0 Kudos

It sounds good to hear.

-Anudeep KM

Former Member
0 Kudos

Hello Kay,

Could you, please, elaborate a bit more on your solution? I am doing the same task and I actually did my implementation so far in the same way you had done it, but I cannot find a solution yet. What do you mean by "repeat all the steps with NWDI" and what exactly is the problem with the "Local Development"?

Greetings,

Yavor

former_member329581
Participant
0 Kudos

It seems that the Build-Plugin which do all the magic that your extension is recognized as a ME-Extension, is not working in the Local Development. So you need a NWDI. In the NWDI you create a development-track with all of the dependecies needed. This development-track you can import to your NWDS, and now you can repeat exactly the steps and it should work.

Former Member
0 Kudos

Hello Kay,

Thank you for the response! Correct me if I am wrong, but isn't this exactly what you did in step 1? Because I also started with creating the software components and the dependencies in NWDI, just as you suggested in step 1. And I imported the development track to my NWDS later on. This is how my NWDI Configuration Management looks like:

Regards,

Yavor

former_member329581
Participant
0 Kudos

Yes but the Problem from my Step1 was, that I dont do this in NWDI. If you do this, I think it should work.

What is your exactly problem at the moment?

Former Member
0 Kudos

I do it in NWDI. Here's my actual problem. When I access the following URL

http://host:port/manufacturing/com/sap/me/wpmf/client/template.jsf?WORKSTATION=YDMTESTPOD&ACTIVITY_I...

I see the input screen (notice the error on top):

And the respective error message:

Here is my error log in NetWeaver:

[EXCEPTION]

com.sap.me.frame.transitionutils.Exceptions$LegacyBusinessException:
null10008: {%FILE%=/com/<vendor>/wpmf/podplugin/input.jsp,
%FILE_TYPE%=jsp}

at
com.sap.me.wpmf.application.BaseConfigurator.validatePluginView(BaseConfigurator.java:205)

at com.sap.me.production.podclient.impl.PodConfigurator.getButtons(PodConfigurator.java:1369)

at
com.sap.me.production.podclient.impl.PodConfigurator.getPodConfiguration(PodConfigurator.java:455)

at
com.sap.me.production.podclient.impl.PodRequestHandler.getPodConfiguration(PodRequestHandler.java:115)

at
com.sap.me.wpmf.FrameworkRequestHandler.initializeFramework(FrameworkRequestHandler.java:288)

at
com.sap.me.production.podclient.impl.PodRequestHandler.initializeFramework(PodRequestHandler.java:75)

at com.sap.me.wpmf.FrameworkRequestHandler.initializeFramework(FrameworkRequestHandler.java:260)

at
com.sap.me.wpmf.FrameworkPhaseListener.beforePhase(FrameworkPhaseListener.java:52)

at
com.sun.faces.lifecycle.Phase.handleBeforePhase(Phase.java:214)


at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:96)

at
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)


at
com.sap.me.wpmf.FrameworkLifecycle.render(FrameworkLifecycle.java:103)


at
com.sap.tc.ls.faces.lifecycle.UCFLifecycle.render(UCFLifecycle.java:131)


at com.sap.tc.ls.environment.ResourceLifecycle.render(ResourceLifecycle.java:551)

at
javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)


at
com.sap.me.wpmf.impl.WPMFFacesServletWrapper.service(WPMFFacesServletWrapper.java:97)

at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.runServlet(FilterChainImpl.java:202)

at
com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:103)

at
com.sap.me.frame.web.MeEntranceFilter.doFilter(MeEntranceFilter.java:36)


at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:79)

at
com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:432)

at
com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:210)

at
com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:441)

at
com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:430)

at com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:38)

at
com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at
com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:81)

at
com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at
com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:278)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at
com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(We
bContainerInvoker.java:81)

at
com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)


at
com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at
com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)

at
com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)


at
com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at
com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)

at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

at
com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at
com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)

at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

at
com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at
com.sap.engine.services.httpserver.filters.SessionSizeFilter.process(SessionSizeFilter.java:26)

at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

at
com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at
com.sap.engine.services.httpserver.filters.MemoryStatisticFilter.process(MemoryStatisticFilter.java:57)

at
com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

at
com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at
com.sap.engine.services.httpserver.filters.DSRHttpFilter.process(DSRHttpFilter.java:43)

at
com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

at
com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:475)

at
com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.process(Processor.java:269)

at
com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:56)

at
com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)


at
com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)


at
com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:328)

former_member329581
Participant
0 Kudos

Ok.  The Problem is that you are pointing to the context-root 'manufacturing'.

If you have configured your context-root in the application.xml of your ear you must create a new Acitivty for your POD thats point to http://host:port/[context-root]/com/sap/me/wpmf/client/template.jsf?WORKSTATION=YDMTESTPOD&ACTIVITY_...

Former Member
0 Kudos

I am sorry for the delay, I haven't been doing much work for this project lately. Your answer helped me a lot! It was actually the correct hint, changing the url did in fact help me display the page I wanted. Thanks!

Answers (1)

Answers (1)

Former Member

Hello Kay and Yavor,

I am Facing a Similar Issue, I had deployed the my ear dc with all the dependencies and my application.xml is defined properly. Still i get ClassNotFoundException when i execute my non - ui Plugin, I tried to create an new Custom pod, Used context-root like below: which gives Resource Not Found.

http://localhost:51100/podpluginwar/com/sap/me/wpmf/client/template.jsf?WORKSTATION=OPERATION_DEF_OB...

I am able to see the jars deployed within my vendor.com in app_libraries directory. Please suggest

Thanks in Advance,

Sandeep.

former_member329581
Participant
0 Kudos

If it says "Resource Not Found" it seems that there is a problem with config of the context-root I think. Maybe you can post more information about your configuration.

Former Member
0 Kudos


Hello Kay,

Thank you for your response,

I followed exactly same steps to create a web extension as mentioned above to create a simple pod non ui plugin.added a java file for the non ui plugin to com.vendor.wpmf.web.podplugin package.Added the dependencies and my deployment was successfull, i can see all the deployed classes in usr\sap\j00\j2ee\cluster\..\apps\vendor.com\.. folder. after which i created and activity of type Java Class and added the same to a button in pod maintenance. once i execute, i can see and exception in pod and trace file says ClassNotFoundException.

please find the trace file attached.


#2.0 #2014 07 10 14:27:08:835#+0300#Info#com.sap.me.trace#
##sap.com/me~ear#C0000A3652090983000000C700002330#111421450000000004#sap.com/me~ear#com.sap.me.trace.VM#SITE_ADMIN#1165#JTA Transaction : 220538#07539B52082511E4BFFB000006A4280A#b1258170082411e4bcaf000006a4280a#b1258170082411e4bcaf000006a4280a#0#Thread[HTTP Worker [@1028913525],5,Dedicated_Application_Thread]#Plain##
[3]{1}  SELECT SFC.HANDLE AS SFC_BO, SFC.ITEM_BO AS ITEM_BO, SUM(SFC_STEP.QTY_IN_QUEUE) AS QTY_IN_QUEUE, SUM(SFC_STEP.QTY_IN_WORK) AS QTY_IN_WORK, SUM(SFC_STEP.QTY_COMPLETE_PENDING) AS QTY_COMPLETE_PENDING, (SFC.PRIORITY) AS PRIORITY, MIN(SFC_IN_WORK.DATE_STARTED) AS START_DATE, SFC.SHOP_ORDER_BO AS SHOP_ORDER_BO, MAX(SFC_STEP.USE_AS_REWORK) AS USE_AS_REWORK, MAX(SFC_STEP.TIMES_PROCESSED) AS TIMES_PROCESSED, MAX(SFC_STEP.LOCAL_REWORK) AS LOCAL_REWORK, SUM (SFC_STEP.QTY_REJECTED) AS QTY_REJECTED, SFC.STATUS_BO AS STATUS_BO, PROCESS_LOT_MEMBER.PROCESS_LOT_BO AS PROCESS_LOT_BO FROM SFC_ROUTER, SFC_ROUTING , SFC_STEP LEFT JOIN SFC_IN_WORK on SFC_STEP.HANDLE=SFC_IN_WORK.SFC_STEP_BO , SFC  LEFT JOIN PROCESS_LOT_MEMBER on SFC.HANDLE = PROCESS_LOT_MEMBER.MEMBER_GBO  WHERE SFC.SITE = 'A311' AND SFC_STEP.SFC_ROUTER_BO = SFC_ROUTER.HANDLE AND SFC_ROUTER.SFC_ROUTING_BO = SFC_ROUTING.HANDLE  AND SFC_ROUTING.SFC_BO = SFC.HANDLE AND SFC_ROUTER.IN_USE = 'true'  AND ( (SFC.STATUS_BO = 'StatusBO:A311,403'  AND (SFC_STEP.QTY_IN_WORK > 0 OR SFC_STEP.QTY_COMPLETE_PENDING > 0) )  OR  (SFC.STATUS_BO = 'StatusBO:A311,404'  AND (SFC_STEP.QTY_IN_QUEUE > 0 OR SFC_STEP.QTY_IN_WORK > 0) )  ) AND ( SFC_IN_WORK.OWNER_GBO IN ( 'ResourceBO:A311,DEFAULT'  ,  'UserBO:A311,SITE_ADMIN' ) OR SFC_IN_WORK.OWNER_GBO IS NULL)  AND SFC_STEP.OPERATION_BO='OperationBO:A311,--0-0001,\#'  AND (SFC_IN_WORK.RESOURCE_BO = 'ResourceBO:A311,DEFAULT' OR SFC_IN_WORK.RESOURCE_BO IS NULL) AND SFC_STEP.QTY_IN_QUEUE + SFC_STEP.QTY_IN_WORK + SFC_STEP.QTY_COMPLETE_PENDING > 0 GROUP BY SFC.HANDLE, SFC.ITEM_BO, (SFC.PRIORITY), SFC.SHOP_ORDER_BO, SFC.STATUS_BO, PROCESS_LOT_MEMBER.PROCESS_LOT_BO ORDER BY SFC.HANDLE#

#2.0 #2014 07 10 14:27:08:841#+0300#Error#com.sap.me.trace#
##sap.com/me~ear#C0000A3652090983000000C800002330#111421450000000004#sap.com/me~ear#com.sap.me.trace.VM#SITE_ADMIN#1165##07539B52082511E4BFFB000006A4280A#b1258170082411e4bcaf000006a4280a#b1258170082411e4bcaf000006a4280a#0#Thread[HTTP Worker [@1028913525],5,Dedicated_Application_Thread]#Plain##

[EXCEPTION]
javax.faces.event.AbortProcessingException: com.vendor.wpmf.web.podplugin.CustomLaborOnPlugin
at com.sap.me.wpmf.impl.PluginExecutionManager.executePlugin(PluginExecutionManager.java:709)
at com.sap.me.wpmf.impl.PluginExecutionManager.processActivity(PluginExecutionManager.java:557)
at com.sap.me.wpmf.impl.PluginExecutionManager.processNextActivity(PluginExecutionManager.java:290)
at com.sap.me.wpmf.impl.PluginExecutionManager.processExecutionEvent(PluginExecutionManager.java:244)
at com.sap.me.wpmf.impl.ActivityExecutionEventHandler.processEvent(ActivityExecutionEventHandler.java:263)
at com.sap.me.wpmf.impl.ActivityExecutionEventHandler.fireExecutionEvent(ActivityExecutionEventHandler.java:125)
at com.sap.me.wpmf.impl.PluginExecutionManager.fireExecutionEvent(PluginExecutionManager.java:233)
at com.sap.me.wpmf.impl.PluginExecutionManager.activityComplete(PluginExecutionManager.java:222)
at com.sap.me.wpmf.impl.PluginExecutionManager.processNextActivity(PluginExecutionManager.java:315)
at com.sap.me.wpmf.impl.PluginExecutionManager.processExecutionEvent(PluginExecutionManager.java:244)
at com.sap.me.wpmf.impl.ActivityExecutionEventHandler.processEvent(ActivityExecutionEventHandler.java:263)
at com.sap.me.wpmf.impl.ActivityExecutionEventHandler.fireExecutionEvent(ActivityExecutionEventHandler.java:125)
at com.sap.me.wpmf.impl.PluginExecutionManager.fireExecutionEvent(PluginExecutionManager.java:233)
at com.sap.me.wpmf.impl.PluginExecutionManager.processActivityButton(PluginExecutionManager.java:469)
at com.sap.me.wpmf.impl.ToolBarPlugin.processActivityButton(ToolBarPlugin.java:408)
at com.sap.me.wpmf.impl.ToolBarPlugin.processActivityButton(ToolBarPlugin.java:375)
at com.sap.me.wpmf.impl.ToolBarPlugin.processMultiActivityButton(ToolBarPlugin.java:361)
at com.sap.me.wpmf.impl.ToolBarPlugin.processButtonPress(ToolBarPlugin.java:305)
at com.sap.me.wpmf.impl.ToolBarPlugin.processToolBarAction(ToolBarPlugin.java:278)
at com.sap.me.production.podclient.CheckWorkstationConfigurationPlugin.processToolBarAction(CheckWorkstationConfigurationPlugin.java:31)
at com.sap.me.production.podclient.impl.PodSelectionHVPlugin.processToolBarAction(PodSelectionHVPlugin.java:192)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sap.me.wpmf.impl.PluginEventManager.processEvent(PluginEventManager.java:675)
at com.sap.me.wpmf.impl.PluginEventManager.processEvent(PluginEventManager.java:567)
at com.sap.me.wpmf.impl.PluginEventManager.fireEvent(PluginEventManager.java:305)
at com.sap.me.wpmf.impl.PluginEventManager.fireEvent(PluginEventManager.java:227)
at com.sap.me.wpmf.impl.ToolBarPlugin.pressActionListener(ToolBarPlugin.java:242)
at com.sap.me.wpmf.impl.ToolBarPlugin.pressActionListener(ToolBarPlugin.java:217)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.el.parser.AstValue.invoke(AstValue.java:187)
at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:297)
at javax.faces.event.MethodExpressionActionListener.processAction(MethodExpressionActionListener.java:99)
at javax.faces.event.ActionEvent.processListener(ActionEvent.java:88)
at javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:771)
at javax.faces.component.UICommand.broadcast(UICommand.java:372)
at com.sap.me.wpmf.impl.WPMFViewRoot.broadcastEvents(WPMFViewRoot.java:373)
at com.sap.me.wpmf.impl.WPMFViewRoot.processApplication(WPMFViewRoot.java:681)
at com.sap.tc.ls.faces.application.UCFViewRoot.processApplication(UCFViewRoot.java:1281)
at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
at com.sap.tc.ls.faces.lifecycle.UCFLifecycle.execute(UCFLifecycle.java:94)
at com.sap.tc.ls.environment.ResourceLifecycle.execute(ResourceLifecycle.java:485)
at com.sap.me.wpmf.FrameworkLifecycle.execute(FrameworkLifecycle.java:56)
at com.sap.tc.ls.faces.lifecycle.UCFLifecycle.execute(UCFLifecycle.java:94)
at com.sap.tc.ls.environment.ResourceLifecycle.execute(ResourceLifecycle.java:485)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
at com.sap.me.wpmf.impl.WPMFFacesServletWrapper.service(WPMFFacesServletWrapper.java:97)
at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.runServlet(FilterChainImpl.java:202)
at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:103)
at com.sap.me.frame.web.MeEntranceFilter.doFilter(MeEntranceFilter.java:36)
at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:79)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:441)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:210)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:441)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:430)
at com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:38)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:81)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:276)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:81)
at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)
at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)
at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)
at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.filters.SessionSizeFilter.process(SessionSizeFilter.java:26)
at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.filters.MemoryStatisticFilter.process(MemoryStatisticFilter.java:57)
at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.filters.DSRHttpFilter.process(DSRHttpFilter.java:43)
at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:475)
at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.process(Processor.java:269)
at com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:56)
at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)
at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)
at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:328)
Caused by: java.lang.ClassNotFoundException: com.vendor.wpmf.web.podplugin.CustomLaborOnPlugin
at com.sap.me.wpmf.util.FacesUtility.loadClass(FacesUtility.java:1053)
at com.sap.me.wpmf.impl.PluginExecutionManager.executePlugin(PluginExecutionManager.java:706)
... 94 more

#

Regards,
Sandeep.

former_member329581
Participant
0 Kudos

Can you post a screen of the Components of your module from the Application Modules in the NWA?

Former Member
0 Kudos

Hello Kay, Please find Below screes of my software components.

Regards,

Sandeep.

former_member329581
Participant
0 Kudos

Sorry thats not what I meaned.

Open the "Netweaver Adminstrator" --> Type "application modules" in the search Field --> Klick on "Overview" under "Application Modules"

The next screen has 2 tables.

Seach in the first for the web module of you extension --> Select it --> Now you should get the details in the the second table. Take a screenshot of the "Components"-Tab

Former Member
0 Kudos


Hello Kay, Please find the screen shots below:

Regards,

Sandeep.

former_member329581
Participant
0 Kudos

Ok its like I expected the Build-Plugin doesn't created the Web-Module in the right way. If it is correct the first row should be "Original JSF Faces Servlet - Need for initialization"

Can you provide some screenshots from you NWDS especially the dependecies and public part configurations of your DCs?

Former Member
0 Kudos

Hello Kay,

Please find my Screens for my DC's below.

Regards,

Sandeep.

former_member329581
Participant
0 Kudos

Hmmm .... its look good for me.

Are the versions of linked SCs the same in the Track and on the Netweaver?

former_member185234
Active Participant
0 Kudos

Hi Sandeep ,

It is not needed to define 'service-config' public part for apps/web DC , you already have 'war' public part , not needed to modify it. Also I can see that you have apps/hook DC - do you have activity hooks and they are working well ? Only non-UI plugin is not working ?

Thanks,

Oksana

Former Member
0 Kudos

Hi Oksana,

I am not able to execute Activity hooks as well.

Regards,
Sandeep.

Former Member
0 Kudos

Hello Kay,

I guess you are right, The components are same i 've checked, But All the components are 7.30 SP 7. do you think this might be the cause?

Please suggest.

Regards,

Sandeep.

former_member185234
Active Participant
0 Kudos

Sandeep ,


You should check that you have imported correct version for SAP_BUILD.sca to NWDI. It should be 7.3 Support Package 08 or higher or  7.31 SP06 or higher .

Regards,

Oksana

Former Member
0 Kudos

Hello Okasan,

Thanks for your Reply, i will check that. Please check the versions in the attached screen.

Regards,

Sandeep.

former_member185234
Active Participant
0 Kudos

Yes , you have wrong version for SAPBUILDT software component , it has special fix at SP08 to build custom code for SAP ME.

Former Member
0 Kudos

Thank You Oksana, The issue is now Resolved.

Regards,

Sundeep.

Former Member
0 Kudos

Hi Oksana,

where can I find this information? Is there any note?

I have 7.40 SP 5 P 0 and would like to now if I could be affected by this problem.

Regards,

Andrej