Struts vs Pageflow

Hi all.
I will be working on a project with a tight deadline. The push is to use
the "bells and whistles" of Workshop to speed development. One of the
components discussed was to use Workshop's Pageflow component. I am an
experienced Java developer and I tend to not like to incorporate a lot of
"widgets" from IDE's as it tends to tie your application to that IDE and
sometimes those widgets tend to constrain you. I understand that the
Pageflow component is essentially built on top of the Struts framework which
I have used on a different WebLogic project. Are there any pitfalls in
using WebLogic's Pageflow component as opposed to just using Struts
directly?
Another topic of using JCS has also come up for accessing JavaBeans. Again,
I have not made use of these Weblogic components in the past. How much of a
time savings are these components if you are experienced enough to achieve
the same results without relying on these widgets?
Thank You.
Michelle

On WebLogic Portal 8.1 platform, for all but the simplest web application development, Workshop is fastest way to develop. I use a combination of Workshop, Eclipse, and intelliJ. For creating page flows, web services, and workshop controls --- Workshop is fastest, by far.

Similar Messages

  • Upgrading JDeveloper 9052 to 1012 and centrino problems?

    I have recently purchased a new laptop with the following specification:
    Dell 9300
    Centrino 1.8
    1Gb DDR2
    ATI x300 128Mb
    60Gb Hard Drive
    Windows XP SP2 + all updates
    to replace my previous development machine.
    I have experienced the following problems when running JDeveloper on it and I'd appreciate your assistance in rectifying them.
    1. I installed JDeveloper 9052 on my laptop and tried to run an ADF based application that I have got running on many other development machines and a 904 server. When I ran the application on my laptop it worked fine until it reached the point within the application that created an inputStream from a URL - where it failed. I know that it fails exactly at this point after spending some time debugging the code. I found this very strange as I could successfully view the content of the URL in a web browser.
    2. In an attempt to find a solution to point 1. (see above) I installed version 1012 of JDeveloper. I tried to open the existing project that I had created in 9052 and when prompted agreed to convert it to the new format. Then without opening or editing any of the files I successfully ran the applicaiton by right clicking on the view controller within the project (applicaiton navigator panel) and selecting run from the context menu. The application ran successfully without any problems at this stage.
    HOWEVER, I then opened up the struts-config pageflow diagram and tried running it from there, the project failed.
    After studying the struts-config file both before and after I had opened it within 1012 I found the following discrepancy:
    BEFORE: - - - - -
    <action path="/getParams" className="oracle.adf.controller.struts.actions.DataActionMapping" type="view.GetParamsAction" name="DataForm">
    AFTER: - - - - -
    <action path="/getParams" className="oracle.adf.controller.struts.actions.DataActionMapping" type="view.GetParamsAction" name="DataForm" parameter="unknown">
    After manually removing this line of code I was able to get the application to run again. However every time I edit/view the struts config file or indeed save changes and reboot JDeveloper the parameter="unknown" line is added again and prevents the project from running.
    3. After further investigative work following point 2. I came across what I believe to be a further bug.
    When I reopened JDeveloper I noticed that the struts-config pageflow diagram had changed. A dataAction had been replaced by a dataPage as well as the extra line of code being added as described in point 2. The pageflow diagram should be dataPage --> dataAction --> dataPage but now it was dataPage --> dataPage --> dataPage.
    After further investigation I found a descrepancy in the following file before and after I had opened it in 1012. The nominalHeaderXml4\ViewController\model\StrutsPageFlow.oxd_struts file changed from this ....
    <shape name="/getParams">
    <elemRef name="" value="3d2b2d0e-0104-1000-8008-c222e564ea8e::/getParams::StrutsDataAction" type="StrutsDataAction" class="o:b:CID"/>
    </shape>
    to this when I had opened it 1012.
    <shape name="/getParams">
    <elemRef name="" value="51d65a60-0104-1000-8003-c222e56470a8::/getParams::StrutsDataForwardAction" type="StrutsDataForwardAction" class="o:b:CID"/>
    </shape>
    I have speant the last 2 days looking into these problems. I have found that both points 2 and 3 happen consistantly when opening 9052 projects in the 1012 environment. And have elimated the following things when trying to get JDeveloper 9052 to work correctly, firewalls, antivirus, windows updates, and software conflicts. The only difference that I can identify is that my new machine uses a centrino chip and my old one used a P4.
    I hope that someone will be able to shed some light on these problems for me as soon as possible. Thanks in advance for your help.
    David
    David Ferguson

    The struts-related observation is noted in the JDeveloper 10.1.2 Release Note Addendum:
    http://www.oracle.com/technology/products/jdev/htdocs/10.1.2.0.0/readme_10.1.2.0.0_addendum.html#jan1
    For the 1st issue, I'd recommend opening a TAR with metalink so our worldwide support engineers can help diagnose the problem. I've not heard of any Centrino specific issues to date.

  • Error after creating a struts portlet in weblogic 8.1 SP 5

    Hi,
    I am using weblogic 8.1 SP 5, to develop an struts-portlet.
    I tested my struts application and it is working fine.
    I have one action i.e firstAction and 2 jsp's in my struts application.
    The action just forwards to the one jsp through struts-config.
    However, when i try to start the server after creating the struts-portlet i get the following error:
    The source of this error is com.bea.netuix.nf.UIControlException: For portlet [portlet_1_1], could not retrieve a result for the given action [firstAction] in the given PageFlow: [null]. at com.bea.netuix.servlets.controls.content.NetuiContent.preRender(NetuiContent.java:365) at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:443) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:718) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:730) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:730) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:730) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:730) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:730) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:730) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:730) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:730) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender
    Please Help !!!

    Hi,
    Even I am facing the same issue could any body help me out to solve this issue.

  • Trouble with console-extension using struts portlet

    hello everyone,
    I'm developing a console-extension for wls9.2 but couldn't get is to work despite all the documentation available. The console-ext is a struts portlet which gathers data from custom mbeans via jmx and renders the result with a jsp. What already works is fetching the data from the MBeans in the struts action. What does not work is the display of the results in the admin console. So I removed all the stuff from the jsp to just display "Hello World" which should be displayed on the desktop in the admin console, but even this didn't work (it's just a blank spot). Having a look at the log file I get the following:
    e.netui.pageflow.internal.AdapterManager ERROR ServletContainerAdapter manager not initialized correctly.
    e.netui.pageflow.internal.AdapterManager INFO No ServletContainerAdapter specified or discovered; using class org.apache.beehive.netui.pageflow.DefaultServletContainerAdapter
    tui.util.config.parser.NetUIConfigParser INFO NetUIConfigParser -- load config: /WEB-INF/beehive-netui-config.xml
    e.netui.pageflow.internal.AdapterManager INFO No ServletContainerAdapter specified or discovered; using class org.apache.beehive.netui.pageflow.DefaultServletContainerAdapter
    netui.pageflow.AutoRegisterActionServlet INFO Dynamically registering module /loggingController, config XML /WEB-INF/struts-auto-config-loggingController.xml
    netui.pageflow.AutoRegisterActionServlet INFO Dynamically registering module /loggingController, config XML /WEB-INF/struts-auto-config-loggingController.xml
    (...other debug output from my struts action...)
    .wls.web.actions.LoggingControllerAction DEBUG Going to /ext_jsp/helloWorld.jsp using module null
    flow.scoping.internal.ScopedResponseImpl INFO ScopedResponse error 404:
    .netui.pageflow.PageFlowRequestProcessor WARN Struts module is configured to use com.bea.console.internal.ConsolePageFlowRequestProcessor as the request processor, but the <controller> element does not contain a <set-property> for "controllerClass". Page Flow actions in this module may not be handled correctly.
    .netui.pageflow.PageFlowRequestProcessor INFO Attempting to instantiate SharedFlowControllers for request /console/ChangeManagerAction.do
    ive.netui.pageflow.FlowControllerFactory INFO No Global.app was found in /console
    Despite the errors it seems to find my struts config (struts-auto-config-loggingController.xm) and execute the action, but then it seems to have trouble findingd/displaying the jsp (helloWorld.jsp). I tried to set various controller-elements in the struts config, like this ([url http://edocs.bea.com/wlp/docs92/portals/integrate.html#wp1005659]source):
    <controller inputForward="true" processorClass="com.bea.struts.adapter.action.AdapterRequestProcessor" />
    but this didn't work either (and results in other errors). The log from above was created with a config without any controller element (since this is never mentioned in the eDocs for console extensions).
    Despite spending several hours trying to figure out what goes wrong here I wasn't able to get one step closer to a solution. Does anyone have a clue what I did wrong (please ask if you need further information)? Thanks a lot!
    Btw. Sorry if this is the wrong forum, I could't find another one which matches better. Feel free to move the topic to a more appropriate place. thx.
    ====================================
    Struts config:
    <struts-config>
         <form-beans>
              <form-bean name="loggingForm" type="...web.forms.LoggingControllerForm" />
         </form-beans>
         <action-mappings>
              <action path="/LoggingControllerAction"
                   type="...web.actions.LoggingControllerAction"
                   name="loggingForm"
                   scope="request"
                   validate="false"
                   input="/ext_jsp/helloWorld.jsp">
                   <forward name="success" contextRelative="true"
                        path="/ext_jsp/helloWorld.jsp" />
              </action>
         </action-mappings>
    </struts-config>

    The problem could be solved by adding the "handle" property (of type com.bea.console.handles.Handle) to the form bean.
    This is stated on page 7-4 in the "Extending the admin console" guide or [url http://e-docs.bea.com/wls/docs92/console_ext/simpleext.html#wp1083856]here
    In addition the following controller element must be used in the struts config: <controller inputForward="true" processorClass="com.bea.struts.adapter.action.AdapterRequestProcessor" />
    This is not mentioned anywhere and should definitely be added to the guide.
    Hope this helps someone encountering the same problem.

  • PageFlow Bea 9 and BIRT

    hello!
    I'm trying to integrate in one project my old bea8 sp5 project updated with the workshop to bea 9.2 AND reports in eclipse BIRT.
    i have build a war app with reports in this new bea 9.2, and it works fine, but it needs the
    <wls:container-descriptor>
    <wls:prefer-web-inf-classes>true</wls:prefer-web-inf-classes>
    </wls:container-descriptor>
    OR
    <container-descriptor>
    <prefer-web-inf-classes>true</prefer-web-inf-classes>
    </container-descriptor>
    modification into weblogic.xml, to work properly.
    in the other hand, i have my old app made in workshop 8 sp5, imported in the new enviroment. It works just fine too.
    but, when i try to join both, i need to add the
    container-descriptor tag in the updated application (where i am making the mixture) to get access to reports pages, then i have an error:
    Module named 'prototipo' failed to deploy.
    weblogic.application.ModuleException:
    where prototipo is the name of the old app, updated to w9.
    the complete stack trace in log file is
    ####<19-jul-2006 16H27' GMT-03:00> <Error> <Deployer> <pc_vates91> <AdminServer> <[ACTIVE] ExecuteThread: '10' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1153337254341> <BEA-149265> <Failure occured in the execution of deployment request with ID '1153337225730' for task '0'. Error is: 'weblogic.application.ModuleException: '
    weblogic.application.ModuleException:
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:295)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:360)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:56)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:46)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:621)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:208)
         at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:147)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:61)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:189)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:87)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:718)
         at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1185)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:247)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:157)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45)
         at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    java.lang.ClassCastException: weblogic.logging.commons.LogFactoryImpl
         at org.apache.commons.logging.LogFactory$2.run(LogFactory.java:531)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.commons.logging.LogFactory.newFactory(LogFactory.java:517)
         at org.apache.commons.logging.LogFactory.getFactory(LogFactory.java:308)
         at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:370)
         at org.apache.beehive.netui.util.logging.Logger.getInstance(Logger.java:44)
         at org.apache.beehive.netui.pageflow.PageFlowContextListener.<clinit>(PageFlowContextListener.java:36)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
         at java.lang.Class.newInstance0(Class.java:350)
         at java.lang.Class.newInstance(Class.java:303)
         at weblogic.servlet.internal.EventsManager.registerEventListener(EventsManager.java:275)
         at weblogic.servlet.internal.EventsManager.registerEventListeners(EventsManager.java:257)
         at weblogic.servlet.internal.WebAppServletContext.initContextListeners(WebAppServletContext.java:1573)
         at weblogic.servlet.internal.WebAppServletContext.prepare(WebAppServletContext.java:1037)
         at weblogic.servlet.internal.HttpServer.doPostContextInit(HttpServer.java:433)
         at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:408)
         at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:552)
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:287)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:360)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:56)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:46)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:621)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:208)
         at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:147)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:61)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:189)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:87)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:718)
         at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1185)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:247)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:157)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45)
         at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    >
    ####<19-jul-2006 16H27' GMT-03:00> <Warning> <Deployer> <pc_vates91> <AdminServer> <[ACTIVE] ExecuteThread: '10' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1153337254856> <BEA-149004> <Failures were detected while initiating distribute task for application 'prototipo'.>
    ####<19-jul-2006 16H27' GMT-03:00> <Warning> <Deployer> <pc_vates91> <AdminServer> <[ACTIVE] ExecuteThread: '10' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1153337254872> <BEA-149078> <Stack trace for message 149004
    weblogic.application.ModuleException:
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:295)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:360)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:56)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:46)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:621)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:208)
         at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:147)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:61)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:189)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:87)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:718)
         at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1185)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:247)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:157)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45)
         at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    java.lang.ClassCastException: weblogic.logging.commons.LogFactoryImpl
         at org.apache.commons.logging.LogFactory$2.run(LogFactory.java:531)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.commons.logging.LogFactory.newFactory(LogFactory.java:517)
         at org.apache.commons.logging.LogFactory.getFactory(LogFactory.java:308)
         at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:370)
         at org.apache.beehive.netui.util.logging.Logger.getInstance(Logger.java:44)
         at org.apache.beehive.netui.pageflow.PageFlowContextListener.<clinit>(PageFlowContextListener.java:36)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
         at java.lang.Class.newInstance0(Class.java:350)
         at java.lang.Class.newInstance(Class.java:303)
         at weblogic.servlet.internal.EventsManager.registerEventListener(EventsManager.java:275)
         at weblogic.servlet.internal.EventsManager.registerEventListeners(EventsManager.java:257)
         at weblogic.servlet.internal.WebAppServletContext.initContextListeners(WebAppServletContext.java:1573)
         at weblogic.servlet.internal.WebAppServletContext.prepare(WebAppServletContext.java:1037)
         at weblogic.servlet.internal.HttpServer.doPostContextInit(HttpServer.java:433)
         at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:408)
         at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:552)
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:287)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:360)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:56)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:46)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:621)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:208)
         at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:147)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:61)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:189)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:87)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:718)
         at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1185)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:247)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:157)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45)
         at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    >
    data that could help
    i tried change weblogic.xml with "wls:" form, and without it. i don't understand the difference... but in both cases nothing changed.
    i search for LogFactoryImpl class in jar files and i had find one, so i delete it from webcontent/web-inf/lib, but the problem stills goes on.
    if all the code and jar files are together but prefer-web-inf-classes tag is not used, i have no deployment error, but i can't view reports, of course.
    the application has pageflows, ejb's and controls, from bea products. and when i imported it, i choose use beehive in the options.
    BIRT version is 2.1.0
    JDK version jdk150_04
    weblogic.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <wls:weblogic-web-app xmlns:wls="http://www.bea.com/ns/weblogic/90">
         <wls:container-descriptor>
              <wls:prefer-web-inf-classes>true</wls:prefer-web-inf-classes>
         </wls:container-descriptor>
         <context-root>procesoIngreso</context-root>
         <wls:library-ref>
              <wls:library-name>jstl</wls:library-name>
              <wls:specification-version>1.1</wls:specification-version>
              <wls:implementation-version>1.1.2</wls:implementation-version>
         </wls:library-ref>
         <wls:library-ref>
              <wls:library-name>beehive-controls-1.0-war</wls:library-name>
              <wls:specification-version>1.0</wls:specification-version>
              <wls:implementation-version>1.0</wls:implementation-version>
         </wls:library-ref>
         <wls:library-ref>
              <wls:library-name>weblogic-controls-1.0-war</wls:library-name>
              <wls:specification-version>1.0</wls:specification-version>
              <wls:implementation-version>1.0</wls:implementation-version>
         </wls:library-ref>
         <wls:library-ref>
              <wls:library-name>struts-1.1</wls:library-name>
              <wls:specification-version>1.1</wls:specification-version>
              <wls:implementation-version>1.0</wls:implementation-version>
         </wls:library-ref>
         <wls:library-ref>
              <wls:library-name>struts-1.2</wls:library-name>
              <wls:specification-version>1.2</wls:specification-version>
              <wls:implementation-version>1.0</wls:implementation-version>
         </wls:library-ref>
         <wls:library-ref>
              <wls:library-name>beehive-netui-resources-1.0</wls:library-name>
              <wls:specification-version>1.0</wls:specification-version>
              <wls:implementation-version>1.0</wls:implementation-version>
         </wls:library-ref>
         <wls:library-ref>
              <wls:library-name>beehive-netui-1.0</wls:library-name>
              <wls:specification-version>1.0</wls:specification-version>
              <wls:implementation-version>1.0</wls:implementation-version>
         </wls:library-ref>
    </wls:weblogic-web-app>
    The original weblogic.xml (when workshop imports the old project) was
    <?xml version="1.0" encoding="UTF-8"?>
    <weblogic-web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xmlns="http://www.bea.com/ns/weblogic/90"
         xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd http://www.bea.com/ns/weblogic/90 http://www.bea.com/ns/weblogic/90/weblogic-web-app.xsd">
         <jsp-descriptor>
              <debug>true</debug>
         </jsp-descriptor>
         <url-match-map>
              weblogic.servlet.utils.SimpleApacheURLMatchMap
         </url-match-map>
         <context-root>procesoIngreso</context-root>
         <!-- container-descriptor>
              <prefer-web-inf-classes>true</prefer-web-inf-classes>
         </container-descriptor> -->
         <library-ref>
              <library-name>struts-1.1</library-name>
              <specification-version>1.1</specification-version>
              <implementation-version>1.0</implementation-version>
         </library-ref>
         <library-ref>
              <library-name>beehive-netui-resources-1.0</library-name>
              <specification-version>1.0</specification-version>
              <implementation-version>1.0</implementation-version>
         </library-ref>
         <library-ref>
              <library-name>beehive-netui-1.0</library-name>
              <specification-version>1.0</specification-version>
              <implementation-version>1.0</implementation-version>
         </library-ref>
         <library-ref>
              <library-name>jstl</library-name>
              <specification-version>1.1</specification-version>
              <implementation-version>1.1.2</implementation-version>
         </library-ref>
    </weblogic-web-app>
    procesoIngreso is the name of war module of the j2ee app.
    web.xml file is:
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
    <display-name>Workshop Application</display-name>
    <description/>
    <servlet>
    <description/>
    <servlet-name>action</servlet-name>
    <servlet-class>org.apache.beehive.netui.pageflow.PageFlowActionServlet</servlet-class>
    <init-param>
    <description/>
    <param-name>config</param-name>
    <param-value>/_pageflow/struts-config.xml</param-value>
    </init-param>
    <init-param>
    <description/>
    <param-name>config/-global</param-name>
    <param-value>/_pageflow/struts-config--global.xml</param-value>
    </init-param>
    <init-param>
    <description/>
    <param-name>debug</param-name>
    <param-value>2</param-value>
    </init-param>
    <init-param>
    <description/>
    <param-name>detail</param-name>
    <param-value>2</param-value>
    </init-param>
    <load-on-startup>2</load-on-startup>
    </servlet>
    <welcome-file-list>
    <welcome-file>index.html</welcome-file>
    <welcome-file>index.htm</welcome-file>
    <welcome-file>index.jsp</welcome-file>
    <welcome-file>default.html</welcome-file>
    <welcome-file>default.htm</welcome-file>
    <welcome-file>default.jsp</welcome-file>
    </welcome-file-list>
    <error-page>
    <error-code>500</error-code>
    <location>/error.jsp</location>
    </error-page>
    <jsp-config>
    <taglib>
    <taglib-uri>netui-tags-html.tld</taglib-uri>
    <taglib-location>/WEB-INF/netui-tags-html.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>netui-tags-databinding.tld</taglib-uri>
    <taglib-location>/WEB-INF/netui-tags-databinding.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>netui-tags-template.tld</taglib-uri>
    <taglib-location>/WEB-INF/netui-tags-template.tld</taglib-location>
    </taglib>
    </jsp-config>
    <filter>
    <filter-name>PageFlowJspFilter</filter-name>
    <filter-class>org.apache.beehive.netui.pageflow.PageFlowJspFilter</filter-class>
    </filter>
    <filter>
    <filter-name>PageFlowForbiddenFilter</filter-name>
    <filter-class>org.apache.beehive.netui.pageflow.PageFlowForbiddenFilter</filter-class>
    <init-param>
    <param-name>response-code</param-name>
    <param-value>404</param-value>
    </init-param>
    </filter>
    <filter-mapping>
    <filter-name>PageFlowJspFilter</filter-name>
    <url-pattern>*.jsp</url-pattern>
    <dispatcher>FORWARD</dispatcher>
    <dispatcher>REQUEST</dispatcher>
    <dispatcher>INCLUDE</dispatcher>
    </filter-mapping>
    <filter-mapping>
    <filter-name>PageFlowJspFilter</filter-name>
    <url-pattern>*.jspx</url-pattern>
    <dispatcher>FORWARD</dispatcher>
    <dispatcher>REQUEST</dispatcher>
    <dispatcher>INCLUDE</dispatcher>
    </filter-mapping>
    <filter-mapping>
    <filter-name>PageFlowForbiddenFilter</filter-name>
    <url-pattern>*.java</url-pattern>
    <dispatcher>REQUEST</dispatcher>
    </filter-mapping>
    <filter-mapping>
    <filter-name>PageFlowForbiddenFilter</filter-name>
    <url-pattern>*.jsfb</url-pattern>
    <dispatcher>REQUEST</dispatcher>
    </filter-mapping>
    <filter-mapping>
    <filter-name>PageFlowForbiddenFilter</filter-name>
    <url-pattern>*.jpfs</url-pattern>
    <dispatcher>REQUEST</dispatcher>
    </filter-mapping>
    <filter-mapping>
    <filter-name>PageFlowForbiddenFilter</filter-name>
    <url-pattern>/_pageflow/*</url-pattern>
    <dispatcher>REQUEST</dispatcher>
    </filter-mapping>
    <listener>
    <listener-class>org.apache.beehive.netui.pageflow.PageFlowContextListener</listener-class>
    </listener>
    <listener>
    <listener-class>org.apache.beehive.netui.pageflow.HttpSessionMutexListener</listener-class>
    </listener>
    <servlet>
    <servlet-name>XmlHttpRequestServlet</servlet-name>
    <servlet-class>org.apache.beehive.netui.pageflow.xmlhttprequest.XmlHttpRequestServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>action</servlet-name>
    <url-pattern>*.jpf</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>action</servlet-name>
    <url-pattern>*.do</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>XmlHttpRequestServlet</servlet-name>
    <url-pattern>*.xhr</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>XmlHttpRequestServlet</servlet-name>
    <url-pattern>*.render</url-pattern>
    </servlet-mapping>
    <-- MENU CONFIGURATION -->
    <context-param>
              <param-name>menuConfigLocation</param-name>
              <param-value>/WEB-INF/menu-config.xml</param-value>
         </context-param>
         <listener>
         <listener-class>net.sf.navigator.menu.MenuContextListener</listener-class>
         </listener>
    <-- END MENU CONFIGURATION -->
    <-- BIRT CONFIGURATION -->
    <context-param>
              <param-name>BIRT_VIEWER_LOCALE</param-name>
              <param-value>en-US</param-value>
         </context-param>
         <context-param>
              <param-name>BIRT_VIEWER_REPORT_ROOT</param-name>
              <param-value></param-value>
         </context-param>
         <!-- Absolute downloaded image/chart directory. Default to ${birt home}/report/images -->
         <context-param>
              <param-name>BIRT_VIEWER_IMAGE_DIR</param-name>
              <param-value></param-value>
         </context-param>
         <!-- Absolute engine log directory. Default to ${birt home}/logs -->
         <context-param>
              <param-name>BIRT_VIEWER_LOG_DIR</param-name>
              <param-value></param-value>
         </context-param>
         <servlet>
              <servlet-name>ViewerServlet</servlet-name>
              <servlet-class>org.eclipse.birt.report.viewer.servlets.ViewerServlet</servlet-class>
         </servlet>
         <servlet-mapping>
              <servlet-name>ViewerServlet</servlet-name>
              <url-pattern>/frameset</url-pattern>
         </servlet-mapping>
         <servlet-mapping>
              <servlet-name>ViewerServlet</servlet-name>
              <url-pattern>/run</url-pattern>
         </servlet-mapping>
         <servlet-mapping>
              <servlet-name>ViewerServlet</servlet-name>
              <url-pattern>/navigation</url-pattern>
         </servlet-mapping>
         <servlet-mapping>
              <servlet-name>ViewerServlet</servlet-name>
              <url-pattern>/toolbar</url-pattern>
         </servlet-mapping>
    <-- END BIRT CONFIGURATION -->
    </web-app>
    that's all i think that i cant give you, i guess...
    (all xml comments have not the "!" because in preview, those lines are not shown, for example <-- END BIRT CONFIGURATION -->)
    can you help me please with this issue?
    thank in advance.
    best regards
    julio

    julio,
    Hey I'm having the exact same problem when I add
    <wls:container-descriptor>
    <wls:prefer-web-inf-classes>true</wls:prefer-web-inf-classes>
    </wls:container-descriptor>
    to my weblogic.xml??? Did you ever get a resolution for this problem if so can you help me out.
    Thanks,
    Greg

  • Strut-Portlets errors in Weblogic 8.1 SP5

    I am getting the below mentioned error when running a portal containing Struts-Portlet in Webloigc 8.1Sp5.
    I have tried everything but not able to resolve it, does anyone know how to resolve and how to successfully run a Struts-Portlet application?
    Thanks in advance.
    -Raj
    The source of this error is com.bea.netuix.nf.UIControlException: For portlet [portlet_1_3], could not retrieve a result for the given action [strutsAction2] in the given PageFlow: [null]. at com.bea.netuix.servlets.controls.content.NetuiContent.preRender()V(NetuiContent.java:365) at com.bea.netuix.nf.ControlLifecycle$7.visit(Lcom/bea/netuix/nf/UIControl;Ljava/lang/Object;)Z(ControlLifecycle.java:443) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(Lcom/bea/netuix/nf/VisitorType;Lcom/bea/netuix/nf/UIControl;Ljava/lang/Object;ZZZ)V(ControlTreeWalker.java:718) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(Lcom/bea/netuix/nf/VisitorType;Lcom/bea/netuix/nf/UIControl;Ljava/lang/Object;ZZZ)V(ControlTreeWalker.java:730) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(Lcom/bea/netuix/nf/VisitorType;Lcom/bea/netuix/nf/UIControl;Ljava/lang/Object;ZZZ)V(ControlTreeWalker.java:730) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(Lcom/bea/netuix/nf/VisitorType;Lcom/bea/netuix/nf/UIControl;Ljava/lang/Object;ZZZ)V(ControlTreeWalker.java:730) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(Lcom/bea/netuix/nf/VisitorType;Lcom/bea/netuix/nf/UIControl;Ljava/lang/Object;ZZZ)V(ControlTreeWalker.java:730) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(Lcom/bea/netuix/nf/VisitorType;Lcom/bea/netuix/nf/UIControl;Ljava/lang/Object;ZZZ)V(ControlTreeWalker.java:730) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(Lcom/bea/netuix/nf/VisitorType;Lcom/bea/netuix/nf/UIControl;Ljava/lang/Object;ZZZ)V(ControlTreeWalker.java:730) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(Lcom/bea/netuix/nf/VisitorType;Lcom/bea/netuix/nf/UIControl;Ljava/lang/Object;ZZZ)V(ControlTreeWalker.java:730) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(Lcom/bea/netuix/nf/VisitorType;Lcom/bea/netuix/nf/UIControl;Ljava/lang/Object;ZZZ)V(ControlTreeWalker.java:730) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(Lcom/bea/netuix/nf/VisitorType;Lcom/bea/netuix/nf/UIControl;Ljava/lang/Object;ZZZ)V(ControlTreeWalker.java:730) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(Lcom/bea/netuix/nf/VisitorType;Lcom/bea/netuix/nf/UIControl;Ljava/lang/Object;ZZZ)V(ControlTreeWalker.java:730) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(Lcom/bea/netuix/nf/VisitorType;Lcom/bea/netuix/nf/UIControl;Ljava/lang/Object;ZZZ)V(ControlTreeWalker.java:730) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(Lcom/bea/netuix/nf/VisitorType;Lcom/bea/netuix/nf/UIControl;Ljava/lang/Object;ZZZ)V(ControlTreeWalker.java:730) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(Lcom/bea/netuix/nf/VisitorType;Lcom/bea/netuix/nf/UIControl;Ljava/lang/Object;ZZZ)V(ControlTreeWalker.java:730) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(Lcom/bea/netuix/nf/VisitorType;Lcom/bea/netuix/nf/UIControl;Ljava/lang/Object;ZZZ)V(ControlTreeWalker.java:730) at com.bea.netuix.nf.ControlTreeWalker.walk(Lcom/bea/netuix/nf/VisitorType;Lcom/bea/netuix/nf/UIControl;Lcom/bea/netuix/nf/concurrency/ControlTreeWalkerPool;)V(ControlTreeWalker.java:181) at com.bea.netuix.nf.Lifecycle.runOutbound(Lcom/bea/netuix/nf/UIContext;Lcom/bea/netuix/nf/concurrency/ControlTreeWalkerPool;)V(Lifecycle.java:204) at com.bea.netuix.nf.Lifecycle.run(Lcom/bea/netuix/nf/UIContext;Lcom/bea/netuix/nf/concurrency/ControlTreeWalkerPool;)V(Lifecycle.java:153) at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(Lcom/bea/netuix/nf/UIContext;Ljavax/servlet/http/HttpServletRequest;)V(UIServlet.java:333) at com.bea.netuix.servlets.manager.UIServlet.doPost(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V(UIServlet.java:196) at com.bea.netuix.servlets.manager.PortalServlet.doPost(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V(PortalServlet.java:772) at com.bea.netuix.servlets.manager.PortalServlet.doGet(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V(PortalServlet.java:671) at com.bea.netuix.servlets.manager.UIServlet.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V(UIServlet.java:147) at javax.servlet.http.HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V(HttpServlet.java:853) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()Ljava/lang/Object;(ServletStubImpl.java:1072) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Lweblogic/servlet/internal/FilterChainImpl;)V(ServletStubImpl.java:465) at weblogic.servlet.internal.TailFilter.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Ljavax/servlet/FilterChain;)V(TailFilter.java:28) at weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V(FilterChainImpl.java:27) at com.bea.p13n.servlets.PortalServletFilter.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Ljavax/servlet/FilterChain;)V(PortalServletFilter.java:293) at weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V(FilterChainImpl.java:27)

    What happens in a Struts Portlet is that Portal calls into NetUI to get the action to forward to. The problem appears to be that the struts-config is not getting picked up or registered with NetUI.
    One thing to try is to do inter-op between Struts and NetUI/pageflows first to make sure the struts-config is being picked up and then layer on the Portal layer.
    Connie

  • Integrating Struts portlet

    Hi guy,
    just to share my first experience with a very simple struts application integration (luckily)
    I've transformed my webapp in a module as stated in http://edocs.bea.com/wlp/docs100/portals/integrate.html#wp1005659
    I've got to say that this was a legacy application developed by someone else in the company.
    I've found that if you had in your struts-config path action like /somename/actionname the engine get confused and give you an error
    There is no Struts module configuration registered for /modulename/somename/actionname.do (module path /modulename/actionnameSo it looks like he mix the path with the module name.
    I've changed action path (lukyly my webapp was really tiny)
    Then I've also tried to manually add my module xml (struts-config) to web.xml, I've copied it under classes and I've added to web.xml
           <init-param>
                <param-name>config/modulename</param-name>
                <param-value>/config-modulename.xml</param-value>
            </init-param>Well it gimme an AssertError
    java.lang.AssertionError: modulename
         at org.apache.beehive.netui.pageflow.StrutsModule.(StrutsModule.java:42)
         at com.bea.portlet.adapter.scopedcontent.StrutsStubImpl.initActionResolver(StrutsStubImpl.java:166)
         at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.renderInternal(ScopedContentCommonSupport.java:212)
         at com.bea.portlet.adapter.scopedcontent.StrutsStubImpl.render(StrutsStubImpl.java:107)
         at com.bea.netuix.servlets.controls.content.NetuiContent.preRender(NetuiContent.java:290)
         at com.bea.netuix.nf.ControlLifecycle$6.visit(ControlLifecycle.java:426)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:712)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:724)
    ...I'd a look at the beehive source and there's this assert in the code that expect a name startWith '/' (so for some reason the engine take the name but it miss the '/')
    Well that's it, it takes a while to me to find out this problems so I hope I can save someone time.
    And bytheway if some of you solved this issues can be interesting to know (maybe I missed something in my configuration?)
    Bye

    Hi Shanta,
    I have started writing a struts 1.1 based module and expose it as a wsrp portlet. Can you pls help me where and how to start on this?
    Thanks,
    Ravi

  • Struts PgFlow error using a RowSet control in WL 8.1 SP1

    I created a RowSet Control within an existing WAR and setup a PgFlow process to CRUD my linked datasource.
              When i run or view the pageflow it builds and deploys fine and I am able to view the generated main grid.jsp containing all my data in the connected datasource. I can click the 'Details' link and view the details of that specifci row in the connected datasource as well. BUT when i try to UPDATE or INSERT it throws the following error:
              ####<Apr 7, 2005 9:37:46 AM PDT> <Error> <HTTP> <CL2K-RMORTON> <csaDevServer8> <ExecuteThread: '14' for queue: 'weblogic.kernel.Default'> <<WLS Kernel>> <> <BEA-101017> <[ServletContext(id=10511735,name=busAdminWAR,context-path=/busAdminWAR)] Root cause of ServletException.
              java.lang.NoClassDefFoundError: org/apache/struts/action/ActionForm
                   at com.bea.wlw.netui.util.PopulateContextHelper.populate(PopulateContextHelper.java:75)
                   at com.bea.wlw.netui.util.PopulateContextHelper.populate(PopulateContextHelper.java:52)
                   at com.bea.wlw.netui.tags.AbstractBaseTag.populateAvailableContexts(AbstractBaseTag.java:231)
                   at com.bea.wlw.netui.tags.AbstractBaseTag.evaluateExpressionInternal(AbstractBaseTag.java:424)
                   at com.bea.wlw.netui.tags.AbstractBaseTag.evaluateExpression(AbstractBaseTag.java:239)
                   at com.bea.wlw.netui.tags.html.ParameterMap.setMap(ParameterMap.java:91)
                   at jsp_servlet._test._testpgflow.__updatehrcempcomp._jspService(updateHrcEmpComp.jsp:20)
                   at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
                   at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1053)
                   at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:387)
                   at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:431)
                   at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
                   at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
                   at com.bea.wlw.netui.pageflow.PageFlowJspFilter.doFilter(PageFlowJspFilter.java:185)
                   at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
                   at weblogic.servlet.internal.RequestDispatcherImpl$ForwardAction.run(RequestDispatcherImpl.java:385)
                   at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
                   at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
                   at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:286)
                   at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.superForward(PageFlowRequestProcessor.java:1017)
                   at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor$DefaultHttpRedirector.forward(PageFlowRequestProcessor.java:1033)
                   at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.doForward(PageFlowRequestProcessor.java:912)
                   at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.processForwardConfig(PageFlowRequestProcessor.java:806)
                   at org.apache.struts.action.RequestProcessor.processActionForward(RequestProcessor.java:401)
                   at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
                   at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:429)
                   at com.bea.wlw.netui.pageflow.DynamicSubappActionServlet.process(DynamicSubappActionServlet.java:405)
                   at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:502)
                   at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
                   at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
                   at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1053)
                   at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:387)
                   at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
                   at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
                   at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6316)
                   at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
                   at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
                   at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3622)
                   at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2569)
                   at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
                   at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
              The class its looking for is within the struts.jar within the WEB-INF/lib directory of the WAR, so not sure why it cannot find it...
              I did some research and the other possibility that this error its being thrown is that the class is conflicting with another in some other .jar. I did a search and only found the one??
              So....i tried recreating a completely NEW .EAR and .WAR within that EAR and deployed it on the same DOMAIN server as my EAR/WAR above..and i was able to successfully CRUD the data on my connected datasource.
              So....WHY in the heck can't I run this WAR/process in my existing app? do i have to create it in a completely seperate .EAR?????
              please help!
              Thanks,
              -Rusty

    I created a RowSet Control within an existing WAR and setup a PgFlow process to CRUD my linked datasource.
              When i run or view the pageflow it builds and deploys fine and I am able to view the generated main grid.jsp containing all my data in the connected datasource. I can click the 'Details' link and view the details of that specifci row in the connected datasource as well. BUT when i try to UPDATE or INSERT it throws the following error:
              ####<Apr 7, 2005 9:37:46 AM PDT> <Error> <HTTP> <CL2K-RMORTON> <csaDevServer8> <ExecuteThread: '14' for queue: 'weblogic.kernel.Default'> <<WLS Kernel>> <> <BEA-101017> <[ServletContext(id=10511735,name=busAdminWAR,context-path=/busAdminWAR)] Root cause of ServletException.
              java.lang.NoClassDefFoundError: org/apache/struts/action/ActionForm
                   at com.bea.wlw.netui.util.PopulateContextHelper.populate(PopulateContextHelper.java:75)
                   at com.bea.wlw.netui.util.PopulateContextHelper.populate(PopulateContextHelper.java:52)
                   at com.bea.wlw.netui.tags.AbstractBaseTag.populateAvailableContexts(AbstractBaseTag.java:231)
                   at com.bea.wlw.netui.tags.AbstractBaseTag.evaluateExpressionInternal(AbstractBaseTag.java:424)
                   at com.bea.wlw.netui.tags.AbstractBaseTag.evaluateExpression(AbstractBaseTag.java:239)
                   at com.bea.wlw.netui.tags.html.ParameterMap.setMap(ParameterMap.java:91)
                   at jsp_servlet._test._testpgflow.__updatehrcempcomp._jspService(updateHrcEmpComp.jsp:20)
                   at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
                   at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1053)
                   at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:387)
                   at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:431)
                   at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
                   at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
                   at com.bea.wlw.netui.pageflow.PageFlowJspFilter.doFilter(PageFlowJspFilter.java:185)
                   at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
                   at weblogic.servlet.internal.RequestDispatcherImpl$ForwardAction.run(RequestDispatcherImpl.java:385)
                   at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
                   at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
                   at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:286)
                   at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.superForward(PageFlowRequestProcessor.java:1017)
                   at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor$DefaultHttpRedirector.forward(PageFlowRequestProcessor.java:1033)
                   at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.doForward(PageFlowRequestProcessor.java:912)
                   at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.processForwardConfig(PageFlowRequestProcessor.java:806)
                   at org.apache.struts.action.RequestProcessor.processActionForward(RequestProcessor.java:401)
                   at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
                   at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:429)
                   at com.bea.wlw.netui.pageflow.DynamicSubappActionServlet.process(DynamicSubappActionServlet.java:405)
                   at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:502)
                   at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
                   at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
                   at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1053)
                   at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:387)
                   at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
                   at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
                   at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6316)
                   at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
                   at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
                   at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3622)
                   at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2569)
                   at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
                   at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
              The class its looking for is within the struts.jar within the WEB-INF/lib directory of the WAR, so not sure why it cannot find it...
              I did some research and the other possibility that this error its being thrown is that the class is conflicting with another in some other .jar. I did a search and only found the one??
              So....i tried recreating a completely NEW .EAR and .WAR within that EAR and deployed it on the same DOMAIN server as my EAR/WAR above..and i was able to successfully CRUD the data on my connected datasource.
              So....WHY in the heck can't I run this WAR/process in my existing app? do i have to create it in a completely seperate .EAR?????
              please help!
              Thanks,
              -Rusty

  • XSL rendering in pageflows

    Hi,
    We have an application that uses Struts 1.1 with an XSLT servlet to do the rendering.
    Basically, the app never forwards to a .jsp but to destinations intercepted by
    the XSLT servlet that uses the destination URI to fetch an XSL template and render
    the HTML.
    I'm trying to integrate this to the pageflows and I'm having a lot of trouble,
    the first one being that workshop does not seem to accept a .xsl as a forward
    destination (I get an error about IDE mime types ?)...
    Would anybody know any way to make Workshop accept those destinations, or have
    another workaround ?
    Thanks,
    David

    Whenever I am rendering in FCP (and sometimes even when I am not), if I open a Quicktime file online it causes my computer to freeze.
    I know that FCP is QT too, but is there a way to avoid this...i.e. change settings, anything?
    it would appear to be a problem with your installation of your web browser and its associated libraries. how long has this been happening? was there a specific application or third-party plugin that you installed recently that may have caused this? perhaps an incompatibility with an older plugin or similar that now conflicts with a recent system update.
    lots of possibilities.

  • Is chaining pageflow actions allowed?

    Hi,
    I have 2 different actions which chain to a third action (which seperates
    the common logic):
    @jpf:forward name="success" path="showBookList.do"
    addBookToList(BookDetailsForm form) {
    // add a book
    return new Forward("success");
    @jpf:forward name="success" path="showBookList.do"
    removeBookFromList(BookIDForm form) {
    //remove a book
    return new Forward("success");
    @jpf:forward name="success" path="bookList.jsp"
    showBookList() {
    //fetch book list
    return new Forward("success");
    This actually works fine, but I am getting netui errors which clutter my
    log:
    NETUI ERROR: Unable to update expression "{actionForm.isbnPK}" with the
    value [0
    -13-100287-2]. The typical cause is that the object represented by the
    expressi
    on is not available or is the wrong type for updating.
    This is apperently because for the showBookList action it tries to set the
    form parameters.
    return new Forward("success", null); doesnt help
    Is there a way to make this false netui error dissappear?
    I 've read that struts allows action chaining, so why not pageflows?
    Thank you for any and all help,
    Geoffrey

    Hi kevin,
    I am not clear with your reqirment. But if you just want to call an action in page flow A from another page flow B, then you can forward to the required action as shown below.
    public class A extends PageFlowController{
    * @jpf:action
    * @jpf:forward name="success" path="/folder/actionB.do"
    protected Forward begin()
    //logic here
    With Regards,
    :-) prasad

  • Can't invoke a process control from a pageflow

    I create a simple pageflow that invokes a process control (jpd file) to start a
    business process. I created a process control from the jpd and added it as a control
    to the pageflow. I can run the process indepedently in the test harness, but cannot
    invoke from my pageflow.
    Any ideas what what could be wrong?
    When I invoke a method on the process control I get the following in the test
    browser:
    An error has occurred:
    EJB Exception: ; nested exception is:
    com.bea.control.ProcessControlException: [WLI-Core:530214]ProcessControl invocation
    failed[null]
    caused by: : com.bea.control.ProcessControlException: [WLI-Core:530214]ProcessControl
    invocation failed[null]
    In the server console I have the following exceptions:
    <Dec 9, 2003 8:16:01 AM GMT-05:00> <Warning> <WLW> <000000> <Id=top-level; Metho
    d=processes.customerNeed.SubmitNeed_wf.$__clientRequest(); Failure=java.lang.Cla
    ssCastException [ServiceException]>
    <Dec 9, 2003 8:16:01 AM GMT-05:00> <Warning> <WLW> <000000> <Id=top-level; Metho
    d=processes.customerNeed.SubmitNeedControl.clientRequest(); Failure=com.bea.cont
    rol.ProcessControlException: [WLI-Core:530214]ProcessControl invocation failed[n
    ull]>
    [IDSSPortal] Unhandled exception caught in Global.app:
    java.rmi.RemoteException: EJB Exception: ; nested exception is:
    com.bea.control.ProcessControlException: [WLI-Core:530214]ProcessControl
    invocation failed[null]
    at weblogic.ejb20.internal.EJBRuntimeUtils.throwRemoteException(EJBRunti
    meUtils.java:103)
    at weblogic.ejb20.internal.BaseEJBHome.handleSystemException(BaseEJBHome
    .java:295)
    at weblogic.ejb20.internal.BaseEJBObject.postInvoke(BaseEJBObject.java:2
    53)
    at weblogic.ejb20.internal.StatelessEJBObject.postInvoke(StatelessEJBObj
    ect.java:141)
    at com.bea.wlw.runtime.core.bean.SyncDispatcher_k1mrl8_EOImpl.invoke(Syn
    cDispatcher_k1mrl8_EOImpl.java:110)
    at com.bea.wlw.runtime.core.dispatcher.ServiceHandleImpl.invoke(ServiceH
    andleImpl.java:285)
    at com.bea.wlw.runtime.core.dispatcher.WlwProxyImpl.invoke(WlwProxyImpl.
    java:240)
    at $Proxy8.clientRequest(Unknown Source)
    at pageFlows.customerNeed.customerNeedController.submitNeed(customerNeed
    Controller.jpf:128)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.bea.wlw.netui.pageflow.FlowController.invokeActionMethod(FlowCont
    roller.java:1262)
    at com.bea.wlw.netui.pageflow.FlowController.getActionMethodForward(Flow
    Controller.java:1214)
    at com.bea.wlw.netui.pageflow.FlowController.execute(FlowController.java
    :650)
    at com.bea.wlw.netui.pageflow.PageFlowController.execute(PageFlowControl
    ler.java:278)
    at org.apache.struts.action.RequestProcessor.processActionPerform(Reques
    tProcessor.java:480)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.ja
    va:274)
    at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.process(PageFlowR
    equestProcessor.java:429)
    at com.bea.wlw.netui.pageflow.DynamicSubappActionServlet.process(Dynamic
    SubappActionServlet.java:405)
    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:520)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
    (ServletStubImpl.java:1053)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:387)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:27)
    at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilte
    r.java:313)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:27)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
    n.run(WebAppServletContext.java:6316)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    dSubject.java:317)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
    118)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
    rvletContext.java:3622)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
    pl.java:2569)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    Caused by: com.bea.control.ProcessControlException: [WLI-Core:530214]ProcessCont
    rol invocation failed[null]
    at com.bea.control.ProcessControlImpl.invoke(ProcessControlImpl.jcs:369)
    at com.bea.wlw.runtime.core.dispatcher.DispMethod.invoke(DispMethod.java
    :359)
    at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:42
    0)
    at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:39
    3)
    at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:24
    5)
    at com.bea.wlw.runtime.jcs.container.JcsContainer.invoke(JcsContainer.ja
    va:85)
    at com.bea.wlw.runtime.core.bean.BaseContainerBean.invokeBase(BaseContai
    nerBean.java:185)
    at com.bea.wlw.runtime.core.bean.SLSBContainerBean.invoke(SLSBContainerB
    ean.java:103)
    at com.bea.wlwgen.SubmitNeedControlSLSBContImpl.clientRequest(SubmitNeed
    ControlSLSBContImpl.java:25)
    at com.bea.wlwgen.StatelessContainer_a0ubma_ELOImpl.clientRequest(Statel
    essContainer_a0ubma_ELOImpl.java:423)
    at com.bea.wlwgen.SubmitNeedControlSLSBContAdpt.invokeOnBean(SubmitNeedC
    ontrolSLSBContAdpt.java:62)
    at com.bea.wlw.runtime.core.bean.BaseDispatcherBean.runAsInvoke(BaseDisp
    atcherBean.java:160)
    at com.bea.wlw.runtime.core.bean.BaseDispatcherBean.invoke(BaseDispatche
    rBean.java:54)
    at com.bea.wlw.runtime.core.bean.SyncDispatcherBean.invoke(SyncDispatche
    rBean.java:159)
    at com.bea.wlw.runtime.core.bean.SyncDispatcher_k1mrl8_EOImpl.invoke(Syn
    cDispatcher_k1mrl8_EOImpl.java:100)
    ... 32 more
    Caused by: java.lang.ClassCastException [ServiceException]
    at com.bea.wlw.runtime.core.dispatcher.DispMethod.invoke(DispMethod.java
    :379)
    at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:42
    0)
    at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:39
    3)
    at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:24
    5)
    at com.bea.wlw.runtime.core.bean.BaseContainerBean.invokeBase(BaseContai
    nerBean.java:185)
    at com.bea.wlw.runtime.core.bean.BMPContainerBean.invoke(BMPContainerBea
    n.java:1530)
    at com.bea.wlwgen.SubmitNeedBMPContImpl.clientRequest(SubmitNeedBMPContI
    mpl.java:25)
    at com.bea.wlwgen.PersistentContainer_cfepz3_ELOImpl.clientRequest(Persi
    stentContainer_cfepz3_ELOImpl.java:207)
    at com.bea.wlwgen.SubmitNeedBMPContAdpt.invokeOnBean(SubmitNeedBMPContAd
    pt.java:80)
    at com.bea.wlw.runtime.core.bean.BaseDispatcherBean.runAsInvoke(BaseDisp
    atcherBean.java:160)
    at com.bea.wlw.runtime.core.bean.BaseDispatcherBean.invoke(BaseDispatche
    rBean.java:54)
    at com.bea.wlw.runtime.core.bean.SyncDispatcherBean.invoke(SyncDispatche
    rBean.java:159)
    at com.bea.wlw.runtime.core.bean.SyncDispatcher_k1mrl8_EOImpl.invoke(Syn
    cDispatcher_k1mrl8_EOImpl.java:100)
    at com.bea.wlw.runtime.core.dispatcher.ServiceHandleImpl.invoke(ServiceH
    andleImpl.java:285)
    at com.bea.wlw.runtime.core.call.JavaCall.invoke(JavaCall.java:57)
    at com.bea.wli.bpm.runtime.SubFlowCall.invoke(SubFlowCall.java:42)
    at com.bea.wlw.runtime.core.control.ServiceControlImpl.invoke(ServiceCon
    trolImpl.jcs:873)
    at com.bea.control.ProcessControlImpl.invoke(ProcessControlImpl.jcs:421)
    at com.bea.wlw.runtime.core.control.ServiceControlImpl.invoke(ServiceCon
    trolImpl.jcs:754)
    at com.bea.control.ProcessControlImpl.invoke(ProcessControlImpl.jcs:359)
    ... 46 more
    Caused by: java.lang.ClassCastException
    at processes.customerNeed.SubmitNeed_wf.$__clientRequest(SubmitNeed_wf.j
    ava:114)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.bea.wlw.runtime.core.dispatcher.DispMethod.invoke(DispMethod.java
    :353)
    ... 65 more

    Some additional information:
    The problem seems to be related to a custom object that I am passing to the exposed
    clientRequest(String, CustomObj) method in the process control. If I remove the
    CustomObj parameter, all works fine. Unfortunately, I need to pass that object
    to the workflow. I have the CustomObj define within my project "Project/com/omeninc/package/CustomObj",
    my process file located at "Project/processes/customerNeed/SubmitNeed.jpd" and
    my pageflow define at "Project/pageFlows/customerNeed/customerNeedController.jpf".
    The entire project builds without error, but when I run it I get the ClassCastException.
    Thanks in advance for any assistance!!
    <Dec 9, 2003 9:39:59 AM GMT-05:00> <Warning> <WLW> <000000> <Id=top-level; Metho
    d=processes.customerNeed.SubmitNeed_wf.$__clientRequest(); Failure=java.lang.ClassCastException
    [ServiceException]>
    <Dec 9, 2003 9:39:59 AM GMT-05:00> <Warning> <WLW> <000000> <Id=top-level; Metho
    d=processes.customerNeed.SubmitNeedControl.clientRequest(); Failure=com.bea.cont
    rol.ProcessControlException: [WLI-Core:530214]ProcessControl invocation failed[null]>
    [IDSSPortal] Unhandled exception caught in Global.app:
    java.rmi.RemoteException: EJB Exception: ; nested exception is:
    com.bea.control.ProcessControlException: [WLI-Core:530214]ProcessControl
    invocation failed[null]
    "Jim Anzaldi" <[email protected]> wrote:
    >
    I create a simple pageflow that invokes a process control (jpd file)
    to start a
    business process. I created a process control from the jpd and added
    it as a control
    to the pageflow. I can run the process indepedently in the test harness,
    but cannot
    invoke from my pageflow.
    Any ideas what what could be wrong?
    When I invoke a method on the process control I get the following in
    the test
    browser:
    An error has occurred:
    EJB Exception: ; nested exception is:
    com.bea.control.ProcessControlException: [WLI-Core:530214]ProcessControl
    invocation
    failed[null]
    caused by: : com.bea.control.ProcessControlException: [WLI-Core:530214]ProcessControl
    invocation failed[null]
    In the server console I have the following exceptions:
    <Dec 9, 2003 8:16:01 AM GMT-05:00> <Warning> <WLW> <000000> <Id=top-level;
    Metho
    d=processes.customerNeed.SubmitNeed_wf.$__clientRequest(); Failure=java.lang.Cla
    ssCastException [ServiceException]>
    <Dec 9, 2003 8:16:01 AM GMT-05:00> <Warning> <WLW> <000000> <Id=top-level;
    Metho
    d=processes.customerNeed.SubmitNeedControl.clientRequest(); Failure=com.bea.cont
    rol.ProcessControlException: [WLI-Core:530214]ProcessControl invocation
    failed[n
    ull]>
    [IDSSPortal] Unhandled exception caught in Global.app:
    java.rmi.RemoteException: EJB Exception: ; nested exception is:
    com.bea.control.ProcessControlException: [WLI-Core:530214]ProcessControl
    invocation failed[null]
    at weblogic.ejb20.internal.EJBRuntimeUtils.throwRemoteException(EJBRunti
    meUtils.java:103)
    at weblogic.ejb20.internal.BaseEJBHome.handleSystemException(BaseEJBHome
    .java:295)
    at weblogic.ejb20.internal.BaseEJBObject.postInvoke(BaseEJBObject.java:2
    53)
    at weblogic.ejb20.internal.StatelessEJBObject.postInvoke(StatelessEJBObj
    ect.java:141)
    at com.bea.wlw.runtime.core.bean.SyncDispatcher_k1mrl8_EOImpl.invoke(Syn
    cDispatcher_k1mrl8_EOImpl.java:110)
    at com.bea.wlw.runtime.core.dispatcher.ServiceHandleImpl.invoke(ServiceH
    andleImpl.java:285)
    at com.bea.wlw.runtime.core.dispatcher.WlwProxyImpl.invoke(WlwProxyImpl.
    java:240)
    at $Proxy8.clientRequest(Unknown Source)
    at pageFlows.customerNeed.customerNeedController.submitNeed(customerNeed
    Controller.jpf:128)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.bea.wlw.netui.pageflow.FlowController.invokeActionMethod(FlowCont
    roller.java:1262)
    at com.bea.wlw.netui.pageflow.FlowController.getActionMethodForward(Flow
    Controller.java:1214)
    at com.bea.wlw.netui.pageflow.FlowController.execute(FlowController.java
    :650)
    at com.bea.wlw.netui.pageflow.PageFlowController.execute(PageFlowControl
    ler.java:278)
    at org.apache.struts.action.RequestProcessor.processActionPerform(Reques
    tProcessor.java:480)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.ja
    va:274)
    at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.process(PageFlowR
    equestProcessor.java:429)
    at com.bea.wlw.netui.pageflow.DynamicSubappActionServlet.process(Dynamic
    SubappActionServlet.java:405)
    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:520)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
    (ServletStubImpl.java:1053)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:387)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:27)
    at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilte
    r.java:313)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:27)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
    n.run(WebAppServletContext.java:6316)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    dSubject.java:317)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
    118)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
    rvletContext.java:3622)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
    pl.java:2569)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    Caused by: com.bea.control.ProcessControlException: [WLI-Core:530214]ProcessCont
    rol invocation failed[null]
    at com.bea.control.ProcessControlImpl.invoke(ProcessControlImpl.jcs:369)
    at com.bea.wlw.runtime.core.dispatcher.DispMethod.invoke(DispMethod.java
    :359)
    at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:42
    0)
    at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:39
    3)
    at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:24
    5)
    at com.bea.wlw.runtime.jcs.container.JcsContainer.invoke(JcsContainer.ja
    va:85)
    at com.bea.wlw.runtime.core.bean.BaseContainerBean.invokeBase(BaseContai
    nerBean.java:185)
    at com.bea.wlw.runtime.core.bean.SLSBContainerBean.invoke(SLSBContainerB
    ean.java:103)
    at com.bea.wlwgen.SubmitNeedControlSLSBContImpl.clientRequest(SubmitNeed
    ControlSLSBContImpl.java:25)
    at com.bea.wlwgen.StatelessContainer_a0ubma_ELOImpl.clientRequest(Statel
    essContainer_a0ubma_ELOImpl.java:423)
    at com.bea.wlwgen.SubmitNeedControlSLSBContAdpt.invokeOnBean(SubmitNeedC
    ontrolSLSBContAdpt.java:62)
    at com.bea.wlw.runtime.core.bean.BaseDispatcherBean.runAsInvoke(BaseDisp
    atcherBean.java:160)
    at com.bea.wlw.runtime.core.bean.BaseDispatcherBean.invoke(BaseDispatche
    rBean.java:54)
    at com.bea.wlw.runtime.core.bean.SyncDispatcherBean.invoke(SyncDispatche
    rBean.java:159)
    at com.bea.wlw.runtime.core.bean.SyncDispatcher_k1mrl8_EOImpl.invoke(Syn
    cDispatcher_k1mrl8_EOImpl.java:100)
    ... 32 more
    Caused by: java.lang.ClassCastException [ServiceException]
    at com.bea.wlw.runtime.core.dispatcher.DispMethod.invoke(DispMethod.java
    :379)
    at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:42
    0)
    at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:39
    3)
    at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:24
    5)
    at com.bea.wlw.runtime.core.bean.BaseContainerBean.invokeBase(BaseContai
    nerBean.java:185)
    at com.bea.wlw.runtime.core.bean.BMPContainerBean.invoke(BMPContainerBea
    n.java:1530)
    at com.bea.wlwgen.SubmitNeedBMPContImpl.clientRequest(SubmitNeedBMPContI
    mpl.java:25)
    at com.bea.wlwgen.PersistentContainer_cfepz3_ELOImpl.clientRequest(Persi
    stentContainer_cfepz3_ELOImpl.java:207)
    at com.bea.wlwgen.SubmitNeedBMPContAdpt.invokeOnBean(SubmitNeedBMPContAd
    pt.java:80)
    at com.bea.wlw.runtime.core.bean.BaseDispatcherBean.runAsInvoke(BaseDisp
    atcherBean.java:160)
    at com.bea.wlw.runtime.core.bean.BaseDispatcherBean.invoke(BaseDispatche
    rBean.java:54)
    at com.bea.wlw.runtime.core.bean.SyncDispatcherBean.invoke(SyncDispatche
    rBean.java:159)
    at com.bea.wlw.runtime.core.bean.SyncDispatcher_k1mrl8_EOImpl.invoke(Syn
    cDispatcher_k1mrl8_EOImpl.java:100)
    at com.bea.wlw.runtime.core.dispatcher.ServiceHandleImpl.invoke(ServiceH
    andleImpl.java:285)
    at com.bea.wlw.runtime.core.call.JavaCall.invoke(JavaCall.java:57)
    at com.bea.wli.bpm.runtime.SubFlowCall.invoke(SubFlowCall.java:42)
    at com.bea.wlw.runtime.core.control.ServiceControlImpl.invoke(ServiceCon
    trolImpl.jcs:873)
    at com.bea.control.ProcessControlImpl.invoke(ProcessControlImpl.jcs:421)
    at com.bea.wlw.runtime.core.control.ServiceControlImpl.invoke(ServiceCon
    trolImpl.jcs:754)
    at com.bea.control.ProcessControlImpl.invoke(ProcessControlImpl.jcs:359)
    ... 46 more
    Caused by: java.lang.ClassCastException
    at processes.customerNeed.SubmitNeed_wf.$__clientRequest(SubmitNeed_wf.j
    ava:114)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.bea.wlw.runtime.core.dispatcher.DispMethod.invoke(DispMethod.java
    :353)
    ... 65 more

  • Pageflow calling on nested pageflow in different app

    I have created a login app with a pageflow. I would like to create a totally separate
    app that could then call that login app if the person is logged in.
    I deployed the login app to the server and can get to it fine manually (ie http:\\localhost:7001\login\Controller.jpf),
    but I can not figure out for the life of me how to @jpf:forward to it from a different
    application.
    I hate the concept of having to squeeze everything I do into a single application.
    Is this possible using the @jpf:forward? Do I have to utilize Struts?
    thanks
    m

    hi
    just try giving the path to the
    @jpf:forward name="success" path="/pathToFolder/myAction.do"
    and see if it works (change syntax to whicgever version you use)
    Havent tried , see no reason why it should fail
    regards
    deepak

  • JSR 168 and Struts support sample error

    I'm trying to get the sample webapp for JSR 168 and Struts support working with
    WebLogic 8.1, and I'm having problems with the struts portlet. The other portlets
    seem to work fine, but the Struts portlet gives the following error after clicking
    "Save" on most of the forms:
    Page Flow Error - Action Not Found
    Page Flow: Global.app
    Action: html-setters.do
    Unable to find action html-setters.do.
    That error appears in the browser. At the same time, the following exception
    appears in the server window:
    <Aug 18, 2003 4:34:12 PM EDT> <Error> <netui> <BEA-420012> <There was an error
    while running a lifecycle stage :: Lifecycle: UIControl.render :: for the control
    :: null ::.
    com.bea.netuix.nf.UIControlException: For portlet [strutsPortlet], could not do
    page flow lookup for the given action [html-setters.do] in the given PageFlow:
    [struts/exercise-taglib].
    This exception is followed by hundreds of lines of the following:
    at com.bea.wlw.netui.pageflow.scoping.ScopedServletUtils.strutsLookup(ScopedServletUtils.java:363)
    as well as several stack overflow errors.
    I believe I have installed the JSR168 and Struts support package according to
    the instructions, and have copied the required jars into the samples WEB-INF/lib
    directory. I also have tried to write my own Struts application in a portlet,
    and it gets the exact same errors when I try to submit a form to my actions.
    Any insight would be much appreciated!
    Thanks,
    Patrick

    Hi Brodi,
    I am having the same problem as Patrick. The problem is not in the struts portlet,
    but in the forms the portlet navigates to. After the struts portlet loads, I
    am able to use the html:links and navigate through the pages. Though when I try
    to submit a form I get the action not found error. For example the html-select
    page has a form. This page loads fine, but when I hit the save button I get the
    following error.
    <Aug 25, 2003 11:00:00 AM EDT> <Error> <netui> <BEA-420012> <There was an error
    while running a lifecycle stage :: Lifecycle: UIControl.render :: for the contro
    l :: null ::.
    com.bea.netuix.nf.UIControlException: For portlet [strutsPortlet], could not do
    page flow lookup for the given action [html-select.do] in the given PageFlow:
    struts/exercise-taglib].
    The application appears to loose the struts context. It tries to find the localhost:7001/samples/html-select.do
    action instead of localhost:7001/samples/struts/exercise-taglib/html-select.do
    action. How do I keep the application from loosing context?
    Thank you,
    Karen
    "Brodi Beartusk" <[email protected]> wrote:
    >
    Patrick-
    I've seen similar things happen when the module name is either not specified
    correctly
    in the StrutsContent element in the portlet, or when the module is misconfigured,
    usually because of either a mising config file or a mis-named config
    file.
    Ensure that you have a the struts config file for the exercise-taglib
    module in
    WEB-INF, named jpf-struts-config-struts-exercise-taglib.xml.
    -Brodi Beartusk
    "Patrick Callis" <[email protected]> wrote:
    I'm trying to get the sample webapp for JSR 168 and Struts support working
    with
    WebLogic 8.1, and I'm having problems with the struts portlet. Theother
    portlets
    seem to work fine, but the Struts portlet gives the following errorafter
    clicking
    "Save" on most of the forms:
    Page Flow Error - Action Not Found
    Page Flow: Global.app
    Action: html-setters.do
    Unable to find action html-setters.do.
    That error appears in the browser. At the same time, the followingexception
    appears in the server window:
    <Aug 18, 2003 4:34:12 PM EDT> <Error> <netui> <BEA-420012> <There was
    an error
    while running a lifecycle stage :: Lifecycle: UIControl.render :: for
    the control
    :: null ::.
    com.bea.netuix.nf.UIControlException: For portlet [strutsPortlet], could
    not do
    page flow lookup for the given action [html-setters.do] in the given
    PageFlow:
    [struts/exercise-taglib].
    This exception is followed by hundreds of lines of the following:
    at com.bea.wlw.netui.pageflow.scoping.ScopedServletUtils.strutsLookup(ScopedServletUtils.java:363)
    as well as several stack overflow errors.
    I believe I have installed the JSR168 and Struts support package according
    to
    the instructions, and have copied the required jars into the samples
    WEB-INF/lib
    directory. I also have tried to write my own Struts application ina
    portlet,
    and it gets the exact same errors when I try to submit a form to myactions.
    Any insight would be much appreciated!
    Thanks,
    Patrick

  • No ActionResult returned for action [/strutsModule/login] in Struts module

    Hi these are the steps followed by me in developing a struts portlet.<br>
    1) I created an Application <br>
    2)Created a new Portal project in the application.<br>
    3)I created a struts project and i placed all my jsps in the folder strutsModule.<br>
    4)In the WEB-INF src folder i placed my actoinClasses and actionForms.(package struture followed like com.portal).<br>
    5)Renamed struts-config.xml to struts-auto-config-strutsModule.xml.<br>
    6)Created a portlet and Portla Pages.<br>
    7)Build an ear and run.<br>
    <b><b><b>Directory struture is as follows.
    <br>strutsInter(Applicaton name)<br>
    data<br>
    strutsInter(Project name)<br>
    campaigns<br>
    framework<br>
    resources<br>
    strutsModule(all jsps kept inthis directory)<br>
    visitorTools<br>
    WEB-INF(.pageflow-struts-generated<br>
    classes<br>
    lib<br>
    -src<br>
    -com<br>
    +bea<br>
    -portal<br>
    +action(LoginAction.java)<br>
    +form(LoginForm.java)<br>
    ApplicationResources.properties<br>
    Controller.jpf<br>
    error.jsp<br>
    index.jsp<br>
    Inter.portal<br>
    Inter.portlet<br>
    Modules<br>
    Libraries<br>
    Security Roles<br></b></b></b>
    Still following these steps i get an <b>No ActionResult returned for action [strutsModule/login] in Struts module [strutsModule]. </b>
    <br>Any corrections else any basic struture i must follow to avoid these errors.Plz give me the directory struture i must follow.<br>
    Thankx,<br>
    RAGHU
    <b></b>

    hi ;
    if it's the first time you try to create a struts module portlet please ensure that you have the following node in your web.xml :
    <servlet>
    <servlet-name>action</servlet-name>
    <servlet-class>com.bea.wlw.netui.pageflow.PageFlowActionServlet</servlet-class>
    <init-param>
    <param-name>config</param-name>
    <param-value>/WEB-INF/.pageflow-struts-generated/jpf-struts-config.xml</param-value>
    </init-param>
    <init-param>
    <param-name>config/-global</param-name>
    <param-value>/WEB-INF/.pageflow-struts-generated/jpf-struts-config--global.xml</param-value>
    </init-param>
    <init-param>
    <param-name>debug</param-name>
    <param-value>2</param-value>
    </init-param>
    <init-param>
    <param-name>detail</param-name>
    <param-value>2</param-value>
    </init-param>
    <init-param>
    <param-name>moduleConfigLocators</param-name>
    <param-value>com.bea.netuix.servlets.controls.content.StrutsContentModuleConfigLocator</param-value>
    </init-param>
    <load-on-startup>2</load-on-startup>
    </servlet>

  • Struts portlet Instance Label problem: Appending the html tags in jsp

    I have created a struts portlet and given it a Instance Label. I have used struts-adapter-html.tld tld in my jsp which is referenced by my struts portlet. But the problem with using this taglib is that the portlet Instance Label is appended to all the html tags on the JSP as a result of which when the page is submitted, formbean will not pick any of the values as the name will not match. Has anyone has faced this kind of problem? How can I prevent the appending of the HTML tags with the portlet Instance Label?
    Please help me overcome this problem..
    Thanks in Advance ...

    1. To begin with, I would not recommend NOT to append portlet instance label to html tags. This is very much required. Take atleast 2 scenarios. If you dropped 2 instances for Same Portlet like News/Articles portlet etc on same page, you need to identify the html fields uniquely for each portlet so that backend java code works properly. Also if you have 2 different portlets assuming you did not give any name to form tag, and if you have html tags with same name, you need to identify them. Remember when portal or desktop is rendered, it is one big html file with html fragmetns from all .portlets files. So I am not sure if there is any option at all, to avoid the appending of instance label value to html tags.
    2. Coming to your usecase, I did had this problem once in 8.1 SPxx long back. All we did was, in the back end code, using BackingFile we could get the intance label value of the portlet. We can get this in pageflow also. Then pass this value and manually append this value to the html field of interest. In your case looks like you have Struts and tld tags. See somehow if you can get portlet instance label in jsp file and pass around to your tag lib code in request parameters etc. This is just one idea. I am not fully aware of your code, so try something along these lines.
    HTH
    Ravi Jegga

Maybe you are looking for

  • Software update

    Hi folks. New to the forum (in fact, only got my first mac last week!), so hope this hasn't been answered already. Today I performed a full software update as follows: "QuickTime" (7.1) "iTunes" (6.0.4) "GarageBand Update" (3.0.2) "iDVD Update" (6.0.

  • Customize MDM Standard ivew on Portal

    Hello , We are implementing MDM on Enterprise Portal and have deployed the Business Packages for the same. Now we have a requirement to customize the Standard iview 'Search 'Text' for MDM item Search. This iview has a Dropdown which has the value 'Pr

  • How can I export my about:config page

    I would like to export my about:config page, so that when I reinstall Firefox I do not have to go back and manually change what I changed in the past

  • Snow Leopard 10.6.3 em PC intel

    Bom dia, Instalei a versão que hum leão los Meu computador intel, e Localidade: Não Consigo inastalat Motorista de vídeo, gostaria de saber se ma Placas de Vídeo espe ci ficas Para funcionar bem o grafic ou oque devo fazer?

  • Aperture 2, Stacks and Web Gallery

    I have had so many issues with this lately. I shot photos today, picked my favorites and created a web gallery. I then ordered my 40 photos in the web gallery in a very specific order to tell a story. 1st I noticed that the order sorted some how and