WLP Struts DownloadAction handleNullActionResult exception
Hello,
I'm trying to download a resource from within a portlet using Struts DownloadAction but I get the following exception
Caused By: com.bea.portlet.adapter.scopedcontent.ActionLookupFailedException
at com.bea.portlet.adapter.scopedcontent.StrutsStubImpl.handleNullActionResult(StrutsStubImpl.java:148)
at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.executeAction(ScopedContentCommonSupport.java:766)
at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.processActionInternal(ScopedContentCommonSupport.java:141)
at com.bea.portlet.adapter.scopedcontent.StrutsStubImpl.processAction(StrutsStubImpl.java:72)
at com.bea.portlet.adapter.NetuiActionHandler.raiseScopedAction(NetuiActionHandler.java:111)
I guess that's because the Download Action returns a StreamInfo whereas the portal does not allow that.
I'm using WebLogic Portal 10.3.2 and Struts 1.2
Any help?
Hi,
Did this work ? :-
Struts Download action portlet:UnsupportedEncodingException
Regards,
Sandeep
Similar Messages
-
Struts in Tomcat ( Exception Handling)
When an exception is rised in an struts application, the StackTrace of the Exception is logged.
Ex:
2004-10-27 12:16:27,960 - DEBUG -- org.apache.struts.action.ExceptionHandler -- (ExceptionHandler.java: logException :122) -- ExceptionHandler caught this exception:
hansen.playground.customexcep
at hansen.playground.SubmitAction.execute(SubmitAction.java:37)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:535)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:536)
Instead, I need only the first 7 to 8 lines. That is the Catalina part in not required. How to do it? Is it possible ?Hi there,
I only have limited knowledge of this area so beware!!
You'd probably have to look at using something like log4J in order to filter out part of that Stacktrace, e.g. Filter out any part with catalina in it etc.
Karianna -
IWS 6.0 and Struts 1.1 exception
Has anyone got iWS 6 working with any of the Struts 1.1 betas? I get an exception in the Jakarta commons logger. Yet it seems to work fine in Tomcat.
I think you are confused with the way Oracle names their products. There are two different bundles you are referring to. One is IAM which has version 11.1.1.5.0 and includes the following:
• Oracle Identity Manager (OIM)
• Oracle Access Manager (OAM)
• Oracle Identity Navigator (OIN)
• Oracle Adaptive Access Manager (OAAM)
• Oracle Entitlements Server (OES)
The other one is IDM and has both versions: 11.1.1.5.0 and 11.1.1.6.0 which include the following:
• Oracle Internet Directory (OID)
• Oracle Virtual Directory (OVD)
• Oracle Directory Services Manager (ODSM)
• Oracle Directory Integration Platform (ODIP)
• Oracle Identity Federation (OIF)
The confusing part is that both bundles are generally referred to as Identity Management (IdM) and if you are implementing the IAM products, you generally also implement the IDM products and the documentation will then refer to them as IdM. -
Hey everyone,
Does anyone know how to redirect to another JSP after making a call to a DownloadAction in struts? After a user downloads a file, I want them to be redirected to a success page, but this seems impossible to do after the file has been sent in the response.
Thanks in advance for your help!
- JamieYou are absolutely correct. It is impossible.
With HTTP, one request = one response.
Which is why most downloading websites go to a page "your download will start in x seconds" The standard pattern is to go to that page, and then start the download. -
How to handle exception in struts
i am using global exception to pass to a page that shows an error message.
I also want to pass the actual error message to that page is that possible
through the struts config
<global-exceptions>
<!-- global exception handler -->
<exception
key="global.message"
type="java.lang.Exception"
path="Errors.jsp"/>
</global-exceptions>i am using global exception to pass to a page that shows an error message.
I also want to pass the actual error message to that page is that possible
through the struts config
<global-exceptions>
<!-- global exception handler -->
<exception
key="global.message"
type="java.lang.Exception"
path="Errors.jsp"/>
</global-exceptions> -
I have Struts 1.1 working in the portal
Hello all,
I was having the same problem you have all seen. The long:
com.bea.netuix.nf.UIControlException: No ActionResult returned for action [/Home] in Struts module []. Please ensure that both module and action are correct in portlet StrutsContent element.
Here's how you solve it. Follow the "Integrating Struts Applications" tutorial, except realize the following: Workshop creates a Java Page Flow (JPF) application for you when you create a new Portal Web Project. JPF is a proprietary extension to struts by BEA. You cannot have a JPF application and a struts application in the same "module". So you are all probably doing exactly what I did and putting all your struts app's JSP's, images, html files, etc. in the root of the web application folder. This won't work because the root folder is a "module" that already is owned by JPF.
Instead create a sub folder in the web app root. Call it whatever you want, like "strutsModule" for example. Put all your struts applications jsp's, etc. that you would normally put in the web root in there instead. Still put all your source for the action classes, etc. in the web-inf/src folder like normal. Put your struts config in the web-inf folder but call it struts-auto-config-strutsModule.xml. Then when you create the "portlet" in step 4 specify "/strutsModule" as your "module" uri, and the first struts action your app should run as the struts action.
Everything will magically work now.
Good luck
Rob
Rob Butler
Architect @ chariot solutions
e-mail: rbutler at chariotsolutions.comHi Rob,
I am fresher in as far as portal is concerned and i am
using weblogic portal. I want to deploy Simplae struts application in
weblogic portal but i m not able to do that. I have seen ur post in forum
http://forums.bea.com/bea/thread.jspa?threadID=200076096&messageID=202412291#202412291
but i still want more clarification abt directory structure(where to
store which file??) and changes necessary in web.xml and all things
related to struts-config.xml.
Will u help me please??
Regards,
Mitesh Soni -
I'm building a demo using the WLP7.0, the portal is being used to build the
first page. I create the portal and deployed, everything is OK, but when I
access the portal page , the WLP console throw the exception:
<2002-10-16 ÉÏÎç09ʱ43·Ö39Ãë> <Error> <Events> <401904> <Unable to construct
Eve
ntListener examples.portalApp.whatshot.event.ClickContentEventListener by
Handle
r com.bea.p13n.events.internal.AsynchronousEventHandler.
waiting few minutes I can access the portal home page. I want to know if the
exception is the internal problem. I use win2000 professional, WLP700.
thanks.Thanks. I'm wangzheng, from Chengdu Office, BEA China
"Ture Hoefner" <replyto@newsgroup> wrote in message
news:[email protected]..
Hello,
I am taking a guess. Is your portal web application fully configuredfor
handling events? Did you create your portal app using the Domain
Configuration Wizard? The wizard creates a stripped-down portal domainand
you have to configure your portal web app to include the services that you
want.
For example, do you have this in WEB-INF/web.xml for your portal:
<!-- Filter to fire click through events -->
<filter>
<filter-name>ClickThroughEventFilter</filter-name>
<filter-class>com.bea.p13n.tracking.clickthrough.ClickThroughEventFilter</fi
lter-class>
</filter>
<filter-mapping>
<filter-name>ClickThroughEventFilter</filter-name>
<url-pattern>/application/*</url-pattern>
</filter-mapping>
If not, then check the release notes at
http://edocs.bea.com/wlp/docs70/relnotes/relnotes.htm#292355 and search
for
CR079828. You can look at the sampleportal web.xml file to see what kinds
of things are included.
Ture Hoefner
BEA Systems, Inc.
www.bea.com
"bea" <[email protected]> wrote in message
news:[email protected]..
I'm building a demo using the WLP7.0, the portal is being used to buildthe
first page. I create the portal and deployed, everything is OK, but when
I
access the portal page , the WLP console throw the exception:
<2002-10-16 ÉÏÎç09ʱ43·Ö39Ãë> <Error> <Events> <401904> <Unable toconstruct
Eve
ntListener examples.portalApp.whatshot.event.ClickContentEventListener
by
Handle
r com.bea.p13n.events.internal.AsynchronousEventHandler.
waiting few minutes I can access the portal home page. I want to know ifthe
exception is the internal problem. I use win2000 professional, WLP700.
thanks. -
Struts Page Flow Editor Unusably Slow
I find the Struts page flow editor unusably slow.
Opening a diagram takes ~ 30 s
Dropping something from the component palette takes 10s
Just selecting something takes 1-2 seconds.
Moving objects on the diagram takes so long it looks as if nothing is happening so you end up trying to move things twice.
All the diagrammers are slow, but this one is appalling.
My hardware is Pentium M 1.7Ghz 1GB RAM.
I have plenty of RAM freeNot many.
Here is the struts config
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN"
"http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
<struts-config>
<form-beans>
<form-bean name="loginForm" type="com.ardeo.emdt.struts.LoginForm"/>
<form-bean name="patientSearchForm" type="com.ardeo.emdt.struts.PatientSearchForm"/>
<form-bean name="editPatientDetailsForm" type="com.ardeo.emdt.struts.EditPatientDetailsForm"/>
<form-bean name="consultationNoteForm" type="com.ardeo.emdt.struts.ConsultationNoteForm"/>
<form-bean name="userForm" type="com.ardeo.emdt.struts.UserForm"/>
<form-bean name="editListForm" type="com.ardeo.emdt.struts.ListForm"/>
<form-bean name="roleForm" type="com.ardeo.emdt.struts.RoleForm"/>
<form-bean name="noteRolesForm" type="com.ardeo.emdt.struts.NoteRolesForm"/>
</form-beans>
<global-exceptions>
<exception key="persistence.exception" type="com.ardeo.persistence.PersistenceException" handler="com.ardeo.emdt.struts.PersistenceExceptionHandler"/>
</global-exceptions>
<global-forwards>
<forward name="persistenceError" path="/persistenceError.jsp"/>
<forward name="loginPage" path="/login.jsp"/>
</global-forwards>
<action-mappings>
<action path="/login" type="com.ardeo.emdt.struts.LoginAction" name="loginForm" scope="request" input="/login.jsp">
<forward name="success" path="/patientSearch.jsp"/>
</action>
<action path="/patientSearch" type="com.ardeo.emdt.struts.PatientSearchAction" name="patientSearchForm" scope="request" input="/patientSearch.jsp">
<forward name="singleResult" path="/patientDetails.jsp"/>
<forward name="multiResult" path="/patientSearch.jsp"/>
</action>
<action path="/editPatientDetails" type="com.ardeo.emdt.struts.EditPatientDetailsAction" name="editPatientDetailsForm" scope="request" input="/patientDetails.jsp">
<forward name="success" path="/patientDetails.jsp"/>
</action>
<action path="/logout" type="com.ardeo.emdt.struts.LogoutAction" scope="request"/>
<action path="/editNoteRoles" type="com.ardeo.emdt.struts.EditNoteRolesAction" name="noteRolesForm" scope="request" input="/editRoles.jsp"/>
<action path="/editUser" type="com.ardeo.emdt.struts.EditUserAction" name="userForm" scope="request" input="/editUsers.jsp"/>
<action path="/createUser" type="com.ardeo.emdt.struts.CreateUserAction" name="userForm" scope="request" input="/createUsers.jsp"/>
<action path="/createRole" type="com.ardeo.emdt.struts.CreateRoleAction" name="roleForm" scope="request" input="/createRoles.jsp"/>
<action path="/updateList" type="com.ardeo.emdt.struts.EditListAction" name="editListForm" scope="request" input="/editList.jsp"/>
<action path="/createConsultationNote" type="com.ardeo.emdt.struts.CreateConsultationNoteAction" scope="request" input="/consultationNote.jsp"/>
<action path="/getConsultationNote" type="com.ardeo.emdt.struts.GetConsultationNoteAction" scope="request" input="/consultationNote.jsp">
<forward name="failed" path="/patientDetails.jsp"/>
</action>
<action path="/deleteConsultationNote" type="com.ardeo.emdt.struts.DeleteConsultationNoteAction" scope="request" input="/getPatientHistory.do">
<forward name="failed" path="/getPatientHistory.do"/>
</action>
<action path="/getPatientHistory" type="com.ardeo.emdt.struts.GetPatientHistoryAction" scope="request" input="/patientHistory.jsp"/>
<action path="/getPatientSummary" type="com.ardeo.emdt.struts.GetPatientSummaryAction" scope="request" input="/patientSummary.jsp">
<forward name="singleForm" path="/patientSummary.jsp"/>
<forward name="duplicateForms" path="/selectSummaryForms.do"/>
</action>
<action path="/viewChangelog" type="com.ardeo.emdt.struts.GetChangelogAction" scope="request" input="/changelog.jsp"/>
<action path="/updateForm" type="com.ardeo.emdt.struts.ConsultationNoteAction" name="consultationNoteForm" scope="request" input="/consultationNote.jsp">
<forward name="save" path="/patientDetails.jsp"/>
<forward name="cancel" path="/patientDetails.jsp"/>
</action>
<action path="/selectSummaryForms" type="com.ardeo.emdt.struts.SelectSummaryFormsAction"/>
</action-mappings>
<message-resources parameter="application"/>
</struts-config> -
Error Missing parameter values - I get this in 11g app server only
Hi.. I had an application in JSP-Struts, previously on 10g app server. I now migrated the code into 11g.
I get the error on CrystalViewer.jsp
Error
Missing parameter values
Steps that lead up to the error:
The very first time anyone enters the application and clicks a submit button on the jsp, after entering data and/or picking from drop menus, the error shows up on a separate page (thrown by crystalViewer.jsp)
When I get this error, and click the browsers back button, and simply click the submit button on the jsp screen again, the reports work fine (like they do in 10g).
Tried the following:
I used log4j and followed the data as it made its way from Struts to Crystal Factory. But once it gets out of Struts, and forwards to Crystal, I receive the error from the CrystalViewer.jsp
Next, I removed code in struts-action, that used crystal factory to 'set parameter', and didnt send any parameters, letting my crystal report bring back some random records.. And this works even the first submit! So the problem is only when I have to send parameters to crystsl
Additional info:
I do not send any null values across, since I read on these forums that folks were having issues with setting nulls etc... I check for null and then force 'All' in the parameter if the user does not enter data or pick from the drop-down.
I need help resolving this . Thanks and have a great day.
(Are there any changes to be made to the Struts config, or any additions to Web.xml? Should Crystal reports be changed in anyway so they can function like they did in 10g?)The Crystal SDK doesn't know or care that you're using Struts.
The exception is stating you're not setting parameters.
So wherever you're trying to set parameters, whatever's reaching the viewer don't have them set.
Why not trace the workflow to see what's where?
Sincerely,
Ted Ueda -
Differences b/w Oracle 10.3.0 and 10.3.2
Hi all,
I am new to Weblogic.I started the developement with 10.3 and now my team wants to move to 10.3.2 Can any of you please tell me what are all the enhancements/ changes that were made in 10.3.2
I got the release notes of Oracel 10.3.2 but were not sure how they were modified below the list was shown in the Oracles site.Can any one please elaborate how these features were supported earlier and how they got modified now.
Oracle WebLogic Portal 10.3.2 provides tools to build enterprise portal applications.
This release includes:
Dynamic Visitor Tools
Dynamic Visitor Tools extensibility
REST API for unified user profiles
REST support for content management with CMIS
Oracle Enterprise Pack for Eclipse based IDE
WSRP 2.0 compliance and IDE support
JSR 286 compliance and IDE support
JSR 329 portlet bridge for JSF portlets
Import/Export of Java portlets
WSRP interoperability with Oracle WebCenter
Content integration with the UCM VCR Adapter
Direct upgrade from WLP 8.1 SP5
Thanks
Chandra.Hi Chandra
Most of the things are same in WLP 10.3 and WLP 10.3.2 except for 4 Major Changes. Yes, its always better to go with latest version 10.3.2. You can download and start working on this latest version. Now, here are the 4 Major differences:
1. Oracle Enterprise Pack for Eclipse based IDE - WLP 10.3 uses BEA/Oracles Custom IDE called Workshop. This is based on Eclipse IDE, but still its customized and called Workshop. But WLP 10.3.2 is 100% Eclipse IDE. You may not observer much differences. After you start Workshop in 10.3 and Eclipse for WLP 10.3.2, you will notice very minor differences. One thing I observerd is some features in Eclipse are not avaliable like auto filling of data. So 10.3.2 uses Eclipse.
2. WSRP interoperability with Oracle WebCenter - WLP 10.3.2 can consume Oracle WebCenter ADFs Portlets using WSRP (WebServices Remote Portlets). This is not possible in WLP 10.3.
3. Content integration with the UCM VCR Adapter - UCM is Oracles content management repository. Now we can integrate this with WLP. I am not much familiar with internal details. This is possible only in 10.3.2.
4. Embedded LDAP - WLP 10.3 uses default embedded ldap to store all the security stuff like Roles, Policies, Entitlement etc. But in 10.3.2 WLP uses RDBMS Security Store to store all this stuff. LDAP is not used any more.
The core internal framework, APIs, base weblogic server, console etc are pretty much same in both the versions.
Thanks
Ravi Jegga -
Hi everybody.
I'm trying to use a form to upload several files, all at once.
I use Struts and Commons facilities (that is the FormFile interface).
Here's my action form:
public class AttachmentForm
extends ActionForm {
/* Files to upload */
private FormFile[] uploadedFiles;
public FormFile[] getUploadedFiles() {
return uploadedFiles;
public void setUploadedFiles(FormFile[] uploadedFiles) {
this.uploadedFiles = uploadedFiles;
And this is the html code I use to populate the action form (I'm using Velocity, but I don't think this is really important):
<html>
<body>
<form name="uploadForm" method="post" enctype="multipart/form-data" action="(...my action...)">
Attachment 1: <input type="file" name="uploadedFiles"/>
Attachment 2: <input type="file" name="uploadedFiles"/>
Attachment 3: <input type="file" name="uploadedFiles"/>
</form>
</body>
</html>
Everytime I submit the form I obtain this exception:
javax.servlet.ServletException: BeanUtils.populate
org.apache.struts.util.RequestUtils.populate(RequestUtils.java:1254)
org.apache.struts.action.RequestProcessor.processPopulate(RequestProcessor.java:821)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:254)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
java.lang.IllegalArgumentException: argument type mismatch
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:324)
org.apache.commons.beanutils.PropertyUtils.setSimpleProperty(PropertyUtils.java:1789)
org.apache.commons.beanutils.PropertyUtils.setNestedProperty(PropertyUtils.java:1684)
org.apache.commons.beanutils.PropertyUtils.setProperty(PropertyUtils.java:1713)
org.apache.commons.beanutils.BeanUtils.setProperty(BeanUtils.java:1019)
org.apache.commons.beanutils.BeanUtils.populate(BeanUtils.java:808)
org.apache.struts.util.RequestUtils.populate(RequestUtils.java:1252)
org.apache.struts.action.RequestProcessor.processPopulate(RequestProcessor.java:821)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:254)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
If I adjust the java source to manage one file only (ie. FileForm instead of FileForm[]) it works, but as I try to use an array I get the Exception.
I use struts 1.1 on Windows XP platform and Tomcat 5.0.24.
Have you got any ideas? Is it a bug of commons-beanutils?
Thanks in advance,
PaulHi!
Thks for your reply.
If I define mutiple file inputs :
<input type="file" name="uploadFile" ...
<input type="file" name="uploadFile" ...
and define a variable on the Struts form like;
private FormFile[] uploadFile = null;
Struts throws the exception below while trying to fill the array.
I can fill arrays of Strings, ints,....but with the FormFile I am having this Exception. I would prefer to use Struts mechanism to upload files instead of doing things "manually". Any help would be appreciated.
Thanks in advance,
Victor Batista
13:07:38,603 ERROR [Engine] StandardWrapperValve[struts]: Servlet.service() for
servlet struts threw exception
java.lang.IllegalArgumentException: argument type mismatch
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 org.apache.commons.beanutils.PropertyUtils.setSimpleProperty(Property
Utils.java:1789)
at org.apache.commons.beanutils.PropertyUtils.setNestedProperty(Property
Utils.java:1684)
at org.apache.commons.beanutils.PropertyUtils.setProperty(PropertyUtils.
java:1713)
at org.apache.commons.beanutils.BeanUtils.setProperty(BeanUtils.java:101
9)
at org.apache.commons.beanutils.BeanUtils.populate(BeanUtils.java:808)
at org.apache.struts.util.RequestUtils.populate(RequestUtils.java:495)
at org.apache.struts.action.RequestProcessor.processPopulate(RequestProc
essor.java:798)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.ja
va:205)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:116
4)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:157)
at pt.ptinovacao.dino.admin.servlet.filter.StrutsFilter.doFilter(StrutsF
ilter.java:60)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:186)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:157)
at pt.ptinovacao.dino.admin.servlet.filter.DefaultFilter.doFilter(Defaul
tFilter.java:55)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:186)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:157)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi
lter.java:75)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:186)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:214)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
at org.apache.catalina.core.StandardContextValve.invokeInternal(Standard
ContextValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:152)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrinc
ipalValve.java:66)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:102)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit
yAssociationValve.java:150)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:102)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
torBase.java:462)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:102)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv
e.java:54)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:137)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:118)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:102)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:
535)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:109)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:16
0)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:799)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ssConnection(Http11Protocol.java:705)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java
:577)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:683)
at java.lang.Thread.run(Thread.java:534) -
Do I need Bea Weblogic Portal for simple web site ?
I have a decision making situation here to use or not to use Bea Weblogic portal 8.1 for my web application along with struts.
Situation : Application has service( batch process with client applications, hand held devices ) and web ( browser based interaction ) oriented architecture. Data flows into centralized system and this data being diagnosed for analysis and displayed on web ( text and as graphical charts ).
I do not see much content management required like Yahoo, but have lots of configurable dynamic presentation . ( dynamic page views DHTML, graphical charts etc,�.).
Question : Is Bea Weblogic Portal 8.1 of any use in this situation ?
Thanks in advance.First let me thank you("duffymo") for your interest in responding to this post.You're most welcome.
I am in elementary at BEA WLP, trying to understand and use it for the first time.
I am analysing at very high level view of architecture.Thinking before doing is an excellent idea. I commend you for exploring it before plunging in.
Struts brings the frame work for web application that controls flow and model.
Seems to be WLP brings the personalization to the web site.I think that's correct. Struts is a JSP/servlet-based Web presentation framework that helps you maintain MVC separation using a Model-2 scheme. (Google for unfamiliar terms.)
Bringing WLP in to the picture makes any sense.I agree if you meant "does not make any sense". You don't need a portal, based on your earlier description. Roles might be in play here. You'll have one for each of the three scenarios that you described in your earlier response.
You'll NEVER have a situation where someone will have the client and admin views visible at the same time. It sounds like your three roles are mutually exclusive. In that case a portal isn't necessary.
Do they;( Bea WLP, Struts ) go hand in hand in the same architecture. Can I achieve the same by just
using struts with out WLP.You can certainly use Struts with BEA's WebLogic. That's a J2EE app server, which has a servlet/JSP engine built in. Maybe that's the confusion here. Is your client insisting that you use WebLogic or the Portal product? They work together. I don't believe you can use the Portal product without WebLogic, but you can use WebLogic without the Portal. Clarify that point with your customer. Maybe they're just asking that you deploy on WebLogic. THAT is quite sensible.
You need to ask your customer another question: do they already have a license for WebLogic and Portal, and is the software installed and running, or are they planning to buy one for the sake of this project? If they want to spend the money and give you a chance to learn WebLogic by all means let them, but know that there are other, free alternatives. (e.g., Tomcat, JBoss, etc.)
Here's one for you: how familiar are you with J2EE? Have you done any projects with EJBs? Will this project require them? How well do you know Struts/servlets/JSPs/JSTL, or will this be your first time with them, too?
I would like to learn WLP feature, but trying to save money for my client by not using too many
technologies.I agree. It's something you can add on later if you need it. Best to get the base application up and running first. -
Hello Every body. I am getting the following error when i am trying to run the my example
javax.xml.parsers.ParserConfigurationException: Namespace not supported by SAXParser
at com.sun.xml.parser.SAXParserImpl.<init>(SAXParserImpl.java:60)
at com.sun.xml.parser.SAXParserFactoryImpl.newSAXParser(SAXParserFactoryImpl.java:57)
at org.apache.commons.digester.Digester.getParser(Digester.java:508)
at org.apache.commons.digester.Digester.getReader(Digester.java:527)
at org.apache.commons.digester.Digester.parse(Digester.java:1206)
at org.apache.struts.action.ActionServlet.initMapping(ActionServlet.java:1274)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:461)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317)
at org.apache.tomcat.core.Handler.init(Handler.java:215)
at org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296)
at org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(LoadOnStartupInterceptor.java:130)
at org.apache.tomcat.core.ContextManager.initContext(ContextManager.java:491)
at org.apache.tomcat.core.ContextManager.init(ContextManager.java:453)
at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:195)
at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
2001-11-21 02:03:26 - path="/strutsblank" :action: init
2001-11-21 02:03:26 - path="/strutsblank" :action: Loading application resources from resource ApplicationResources
2001-11-21 02:03:26 - path="/strutsblank" :action: Initializing configuration from resource path /WEB-INF/struts-config.xml
Exception in thread "main" java.lang.NoSuchMethodError
at org.apache.commons.digester.Digester.getReader(Digester.java:527)
at org.apache.commons.digester.Digester.parse(Digester.java:1206)
at org.apache.struts.action.ActionServlet.initMapping(ActionServlet.java:1274)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:461)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317)
at org.apache.tomcat.core.Handler.init(Handler.java:215)
at org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296)
at org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(LoadOnStartupInterceptor.java:130)
at org.apache.tomcat.core.ContextManager.initContext(ContextManager.java:491)
at org.apache.tomcat.core.ContextManager.init(ContextManager.java:453)
at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:195)
at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
Any suggestion ?
Thank you for the helpWhen you instantiate your SAXParserFactory set its awareness of namespaces to false:
SAXParserFactory factory = SAXParserFactory.newInstace();
factory.setNamespaceAware(false);
SAXParser parser = factory.newSAXParser();Unless the problem is that you need it to be namespace aware, in which case just setNamespaceAware(true) instead.
Hope this works!! -
Hello, I want to compile my webloigc project classes using Ant script. My project depends on struts shared lib i.e wlp-struts-1.3-web-lib (Struts 1.3 facet on the new Project wizard). I want to refer the jar files from these libs and some other following shred libs inside the javac classpath of Ant script.But I am unable to find the location of the jars for these libs inside WL_instalation? Any help. Thanks.
wlp-struts-1.3-web-lib
jersey-web-lib
content-management-app-lib
wlp-services-web-lib
content-management-web-lib
wlp-services-app-lib
vcr-app-lib
p13n-rest-web-lib
sample weblogic.xml...
<wls:library-ref>
<wls:library-name>wlp-struts-1.3-web-lib</wls:library-name>
<wls:specification-version>10.3.2</wls:specification-version>
<wls:exact-match>true</wls:exact-match>
</wls:library-ref>
:Hi,
Regarding your query:
"Is it possible in this scenario update a shared library and tell the application to take the new version without stopping the application or interrupting the application’s availability to clients?"
You can always deploy a new version of shared library without undeploying the older one. The manifest file of the shared library will have the elements like extension name, specification version and implementation version , which is read by the weblogic server during runtime when your application tries making the reference/call.
The calls will be routed to the shared library which has the highest specification/implementation version or to the recent library.
Important Note: Ensure to maintain unique Spec/Implementation version number for multiple shared libraries.
Hope this answers your questions !
Thanks,
Vijaya -
Random exception on wlps 3.2: please help me!!!
Using wlps 3.2 and wls 5.1 sp8, driver oci that points to a oracle 8i database,
only on a specific ruleset, sometimes, I find this error:
ven nov 02 14:47:31 CET 2001:<E> <T3Services> COMMERCE_SERVER_FRAMEWORK,LOG_ERROR,"Error
in AdvisorBean.advise() : Exception com.beasys.commerce.axiom.re
com.beasys.commerce.axiom.advisor.AdvisorException: Rules Service RulesServiceException
thrown : RulesService:Unable to apply rules :: RulesService:Unable
at com.beasys.commerce.axiom.advisor.advislets.ContentSelectorAdvisletImpl.advise(ContentSelectorAdvisletImpl.java:157)
at com.beasys.commerce.axiom.advisor.AdvisorBean.advise(AdvisorBean.java:100)
at com.beasys.commerce.axiom.advisor.AdvisorBeanEOImpl.advise(AdvisorBeanEOImpl.java:103)
at com.beasys.commerce.axiom.advisor.AdvisorBeanEOImpl_ServiceStub.advise(AdvisorBeanEOImpl_ServiceStub.java:190)
at com.beasys.commerce.p13n.tags.ContentSelectorTag.getDocuments(ContentSelectorTag.java:151)
at com.beasys.commerce.p13n.tags.ContentSelectorTag.doStartTag(ContentSelectorTag.java:112)
at jsp._tutorial._provamenusx._jspService(_provamenusx.java:112)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:106)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:907)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:851)
at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:252)
at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:364)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:252)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)
ContentSelectorTag:Unable to get advice:
com.beasys.commerce.axiom.advisor.AdvisorException: Exception thrown during Advislet.advise
method
at com.beasys.commerce.axiom.advisor.AdvisorBean.advise(AdvisorBean.java:117)
at com.beasys.commerce.axiom.advisor.AdvisorBeanEOImpl.advise(AdvisorBeanEOImpl.java:103)
at com.beasys.commerce.axiom.advisor.AdvisorBeanEOImpl_ServiceStub.advise(AdvisorBeanEOImpl_ServiceStub.java:190)
at com.beasys.commerce.p13n.tags.ContentSelectorTag.getDocuments(ContentSelectorTag.java:151)
at com.beasys.commerce.p13n.tags.ContentSelectorTag.doStartTag(ContentSelectorTag.java:112)
at jsp._tutorial._provamenusx._jspService(_provamenusx.java:112)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:106)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:907)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:851)
at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:252)
at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:364)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:252)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)
ContentSelectorTag:Unable to evaluate tag:
javax.servlet.jsp.JspTagException: ContentSelectorTag:Unable to get advice.
at com.beasys.commerce.p13n.tags.ContentSelectorTag.getDocuments(ContentSelectorTag.java:160)
at com.beasys.commerce.p13n.tags.ContentSelectorTag.doStartTag(ContentSelectorTag.java:112)
at jsp._tutorial._provamenusx._jspService(_provamenusx.java:112)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:106)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:907)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:851)
at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:252)
at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:364)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:252)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)
I'd like to underline that the specific ruleset, with one rule, functions correctly
for a few minutes, and then display this message.
Loading the specific ruleset on the administration tool don't give me any error.
I don't know how to stabilize these rules!!!
Ples help me!!!Fulvio,
Hmmm. Out of curiosity, did you or your DBA modify the DDL scripts for Oracle.
Look at the create-ruleeditor-oracle.sql script. What is the data type of the
DOCUMENT column? Is it LONG RAW or something else?
Are you on 3.2 release version, SP1 or SP2?
PJL
"fulvio" <[email protected]> wrote:
>
Using wlps 3.2 and wls 5.1 sp8, driver oci that points to a oracle 8i
database,
only on a specific ruleset, sometimes, I find this error:
ven nov 02 14:47:31 CET 2001:<E> <T3Services> COMMERCE_SERVER_FRAMEWORK,LOG_ERROR,"Error
in AdvisorBean.advise() : Exception com.beasys.commerce.axiom.re
com.beasys.commerce.axiom.advisor.AdvisorException: Rules Service RulesServiceException
thrown : RulesService:Unable to apply rules :: RulesService:Unable
at com.beasys.commerce.axiom.advisor.advislets.ContentSelectorAdvisletImpl.advise(ContentSelectorAdvisletImpl.java:157)
at com.beasys.commerce.axiom.advisor.AdvisorBean.advise(AdvisorBean.java:100)
at com.beasys.commerce.axiom.advisor.AdvisorBeanEOImpl.advise(AdvisorBeanEOImpl.java:103)
at com.beasys.commerce.axiom.advisor.AdvisorBeanEOImpl_ServiceStub.advise(AdvisorBeanEOImpl_ServiceStub.java:190)
at com.beasys.commerce.p13n.tags.ContentSelectorTag.getDocuments(ContentSelectorTag.java:151)
at com.beasys.commerce.p13n.tags.ContentSelectorTag.doStartTag(ContentSelectorTag.java:112)
at jsp._tutorial._provamenusx._jspService(_provamenusx.java:112)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:106)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:907)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:851)
at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:252)
at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:364)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:252)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)
ContentSelectorTag:Unable to get advice:
com.beasys.commerce.axiom.advisor.AdvisorException: Exception thrown
during Advislet.advise
method
at com.beasys.commerce.axiom.advisor.AdvisorBean.advise(AdvisorBean.java:117)
at com.beasys.commerce.axiom.advisor.AdvisorBeanEOImpl.advise(AdvisorBeanEOImpl.java:103)
at com.beasys.commerce.axiom.advisor.AdvisorBeanEOImpl_ServiceStub.advise(AdvisorBeanEOImpl_ServiceStub.java:190)
at com.beasys.commerce.p13n.tags.ContentSelectorTag.getDocuments(ContentSelectorTag.java:151)
at com.beasys.commerce.p13n.tags.ContentSelectorTag.doStartTag(ContentSelectorTag.java:112)
at jsp._tutorial._provamenusx._jspService(_provamenusx.java:112)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:106)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:907)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:851)
at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:252)
at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:364)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:252)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)
ContentSelectorTag:Unable to evaluate tag:
javax.servlet.jsp.JspTagException: ContentSelectorTag:Unable to get advice.
at com.beasys.commerce.p13n.tags.ContentSelectorTag.getDocuments(ContentSelectorTag.java:160)
at com.beasys.commerce.p13n.tags.ContentSelectorTag.doStartTag(ContentSelectorTag.java:112)
at jsp._tutorial._provamenusx._jspService(_provamenusx.java:112)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:106)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:907)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:851)
at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:252)
at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:364)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:252)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)
I'd like to underline that the specific ruleset, with one rule, functions
correctly
for a few minutes, and then display this message.
Loading the specific ruleset on the administration tool don't give me
any error.
I don't know how to stabilize these rules!!!
Ples help me!!!
Maybe you are looking for
-
WRTP54G router: I have internet access wirelessly but a wired desktop doesn't.
We have an excellent wireless network working in the house, but my desktop (which isn't wireless) can't get internet access. It says that a network cable is unplugged - it's not. When a cable is plugged into one of the 4 ethernet ports in the back
-
Too many loopback session id's in SMGW transaction (ABAP+JAVA System)
Hi All, From SMGW transaction I am able to see too many loopback (127.0.01) session ids existing in the system. 107 system(s) logged on *** showing from this more than 50 session are loopback. I am not able to find the reason. How to check and how to
-
Connecting Printer to PC and MAC?
Is there a way I can share a non-network printer between my MAC mini and a PC windows VISTA laptop? I have shared printers in a work situation between two PCs but not sure how the MAC will do the same. Printer choices are HP Office jet J5780 or Epson
-
Can I choose what day my new Mac is delivered on?
I'm about to buy a new iMac, but I want it delivered at the weekend when I'm in. Can you select a date for delivery or do you have to just wait and see when it turns up?
-
Can we restrict or disabale approve trip request while creating expense .
Hi Guru , we are using EHP4 and ECC6 . My client has a requirement ,the scenario is as follows "Using ESS an employee creates a travel request and then get approvels from their managers , it is working fine . But when employee creates an expense rep