BizException when publishing to MWS

Hi,

I
PrintScreenError.doc (162 KB)
PrintScreenError.doc (162 KB)

Can you please provide full stack trace of an exception from MWS logs and information about version MWS you have in use.

Another thing to verify if you have wm_pghelpers.pdp component deployed by checking if you have this file under /server/default/deploy folder. If you do not you can deploy this component from /components/development/eclipse

Alex

Hi Alex,

The MWS version we are using is:

Version: 7.1.1.0.80
Build: 80
Build Date: 2007-11-30
Service Pack: None installed
Fix: MWS_7-1-1_Fix2

We also have wm_pghelpers.pdp component deployed under /opt/webMethods7/MWS/server/default/deploy/

2008-10-14 10:30:15 AST (org.mortbay.jetty.servlet.WebApplicationContext : WARN) - Configuration error on /opt/webMethods7/MWS/server/default/deploy/IncidenciaEmisionTasks
javax.servlet.UnavailableException: Configuration problem
at org.mortbay.jetty.servlet.XMLConfiguration.initialize(XMLConfiguration.java:220)
at org.mortbay.jetty.servlet.XMLConfiguration.configureWebApp(XMLConfiguration.java:191)
at com.webMethods.portal.webApplication.WmWebAppContext$Configuration.configureWebApp(WmWebAppContext.java:249)
at org.mortbay.jetty.servlet.WebApplicationContext.configureWebApp(WebApplicationContext.java:425)
at org.mortbay.jetty.servlet.WebApplicationContext.doStart(WebApplicationContext.java:478)
at com.webMethods.portal.webApplication.WmWebAppContext.doStart(WmWebAppContext.java:150)
at org.mortbay.util.Container.start(Container.java:72)
at com.webMethods.portal.service.install.impl.WebApplicationInstallService.install(WebApplicationInstallService.java:209)
at com.webMethods.portal.mech.install.impl.BasicInstallMechanics.installComponent(BasicInstallMechanics.java:656)
at com.webMethods.portal.framework.mech.install.PortletAppilcationInstallMechanics.installComponent(PortletAppilcationInstallMechanics.java:412)
at com.webMethods.portal.mech.install.impl.BasicInstallMechanics.installComponentSafe(BasicInstallMechanics.java:749)
at com.webMethods.portal.bizPolicy.command.install.InstallComponent.installComponent(InstallComponent.java:76)
at com.webMethods.portal.bizPolicy.biz.install.impl.InstallPolicy.installComponent(InstallPolicy.java:31)
at com.webMethods.portal.bizPolicy.biz.install.impl.InstallPolicy.installComponent(InstallPolicy.java:26)
at com.webMethods.portal.portlet.impl.wm_pghelpers.bizPolicy.command.DeployComponent.deployComponent(DeployComponent.java:84)
at com.webMethods.portal.portlet.impl.wm_pghelpers.bizPolicy.command.DeployComponent.handle(DeployComponent.java:58)
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:585)
at com.webMethods.portal.webservices.handlers.CommandProvider.invokeMethod(CommandProvider.java:240)
at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)
at com.webMethods.portal.webservices.handlers.CommandProvider.processMessage(CommandProvider.java:199)
at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)
at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
at com.webMethods.portal.webservices.servlet.PortalAxisServlet.doPost(PortalAxisServlet.java:167)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:616)
at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
at com.webMethods.portal.webservices.auth.BasicAuthFilter.doFilter(BasicAuthFilter.java:75)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
at com.webMethods.portal.webApplication.WmWebAppContext.handle(WmWebAppContext.java:159)
at org.mortbay.http.HttpServer.service(HttpServer.java:909)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:820)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837)
at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:245)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
2008-10-14 10:30:21 AST (org.mortbay.http.ResourceCache : WARN) - Alias request of ‘file:/opt/webMethods7/MWS/server/default/deploy/IncidenciaEmisionTasks/WEB-INF/config’ for ‘file:/opt/webMethods7/MWS/server/default/deploy/IncidenciaEmisionTasks/WEB-INF/config’
2008-10-14 10:30:31 AST (org.mortbay.http.ResourceCache : WARN) - Alias request of ‘file:/opt/webMethods7/MWS/server/default/deploy/IncidenciaEmisionTasks/WEB-INF/xmlImport’ for ‘file:/opt/webMethods7/MWS/server/default/deploy/IncidenciaEmisionTasks/WEB-INF/xmlImport’
2008-10-14 10:30:31 AST (org.mortbay.http.ResourceCache : WARN) - Alias request of ‘file:/opt/webMethods7/MWS/server/default/deploy/IncidenciaEmisionTasks/WEB-INF/config’ for ‘file:/opt/webMethods7/MWS/server/default/deploy/IncidenciaEmisionTasks/WEB-INF/config’
2008-10-14 10:30:31 AST (Framework : WARN) - [POP.001.0002] A “javax.servlet.UnavailableException” occurred with the Message “Configuration problem”
com.webMethods.portal.PortalException: [POP.001.0002] A “javax.servlet.UnavailableException” occurred with the Message “Configuration problem”
at com.webMethods.portal.service.install.impl.WebApplicationInstallService.install(WebApplicationInstallService.java:233)
at com.webMethods.portal.mech.install.impl.BasicInstallMechanics.installComponent(BasicInstallMechanics.java:656)
at com.webMethods.portal.framework.mech.install.PortletAppilcationInstallMechanics.installComponent(PortletAppilcationInstallMechanics.java:412)
at com.webMethods.portal.mech.install.impl.BasicInstallMechanics.installComponentSafe(BasicInstallMechanics.java:749)
at com.webMethods.portal.bizPolicy.command.install.InstallComponent.installComponent(InstallComponent.java:76)
at com.webMethods.portal.bizPolicy.biz.install.impl.InstallPolicy.installComponent(InstallPolicy.java:31)
at com.webMethods.portal.bizPolicy.biz.install.impl.InstallPolicy.installComponent(InstallPolicy.java:26)
at com.webMethods.portal.portlet.impl.wm_pghelpers.bizPolicy.command.DeployComponent.deployComponent(DeployComponent.java:84)
at com.webMethods.portal.portlet.impl.wm_pghelpers.bizPolicy.command.DeployComponent.handle(DeployComponent.java:58)
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:585)
at com.webMethods.portal.webservices.handlers.CommandProvider.invokeMethod(CommandProvider.java:240)
at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)
at com.webMethods.portal.webservices.handlers.CommandProvider.processMessage(CommandProvider.java:199)
at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)
at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
at com.webMethods.portal.webservices.servlet.PortalAxisServlet.doPost(PortalAxisServlet.java:167)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:616)
at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
at com.webMethods.portal.webservices.auth.BasicAuthFilter.doFilter(BasicAuthFilter.java:75)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
at com.webMethods.portal.webApplication.WmWebAppContext.handle(WmWebAppContext.java:159)
at org.mortbay.http.HttpServer.service(HttpServer.java:909)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:820)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837)
at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:245)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)

Thanks,
Francisco Pereira

Ok, it seems like web.xml configuration file for your task application refers to some servlet or filter which implementation class can not be found. Did you add any servlet registration to this file?

Hi Alex,

I deleted the entire Task Application (it was just a small demo) and redo it again, and it doesn
PrintScreen.doc (182 KB)

I do see you have quite a few task applications deployed. Does this problem happen to all of them or only to the new one you have created?

When you re-created a task application, did you give it same name as the one which did not work? If yes, can you try giving it different name.

Also observe the logs for any exceptions during application deployment.

If at the end you still have problems I would recommend opening an SR ticket with tech support so they can try to reproduce your problem and do more through analysis

Alex