Invalid parameters requested.
Hello,
I am getting this error described as "Invalid parameters requested."
It occurs when I leave a parameter field blank.
The strange thing is it works when I initially view it with the "auto run" option.
If I try to view it manually, it throws the error. If I turn off auto run and try to view it, it throws the error.
It seems to be arbitrary! I've gotten it to go away altogether. I'll then edit something in the template, and it comes back. I'll revert the template to its original state, and the error doesn't go away...
Note I am using in my query:
and column_name = nvl(:param, column_name)
Any Ideas?
Thanks,
Matt Soukup
As far as I can tell, the error went away when I signed out and signed back in.
Thanks,
Matt Soukup
EDIT: This error occurred after I removed the association of a menu with a parameter. Perhaps, it doesn't want you to select values not on the list of values? Additionally, the state of the parameter isn't updated until you sign back in?
Message was edited by:
Matt Soukup
Similar Messages
-
Invalid parameters request by calling from an external website
Hello,
i have a problem calling a Bi-Publisher report via "Link" from an external website.
I get the following error-message: *"Invalid parameters requested."*
There are two parameters. The first one is a line_id and the second one is a head_id.
Before calling the template there is a insert-Sql-statement on the database (initiated from the external website).
Because of that there are new values in the table of the LOVs.
I think the problem is that the LOVs of the parameters are inconsistence. The values are out of date.
After waiting several hours the error message disappears and the report could be called from the external website.
Is there a way to refresh the parameters before calling the report from an external website?
Any other ideas?
Thanks ahead for any ideas, solutions or workarounds!
Edited by: user12052573 on 02.06.2010 01:37I found the problem: Its due to the menue-parameters and their List-Of-Values.. It seems like a cashing-problem or something like that...
Changing the parameters to so called text-parameters solves the problem.
Maybe this workaround helps guys with the same problem...
Greetings... -
Report erroring out with 'Invalid parameter requested' in Siebel.
Hello -
I have 9 parameters on a template, excluding the two delivered out-of-the-box by siebel to enter the Language and Locale. Recently, if i enter a language value of 'ESP' ( or any other language value), it errors out with 'Invalid parameters requested' error. On reviewing the OC4j log file, i noticed that the language parameter ('ESP') is actually being applied to another parameter in my template that accespts only 'Yes/No' boolean values. This occurs randomly, there is no particular pattern to this.
Log snippet:
[020711_233324269][][STATEMENT] WARNING: Old RTF version detected, nested table disabled
[020711_233324297][][STATEMENT] expression: rpad(trim(EndDate),10)
[020711_233324315][oracle.apps.xdo.template.rtf.RTFParagraph][STATEMENT] stylename=Normal
[020711_233324319][oracle.apps.xdo.template.rtf.field.RTFFieldResult][STATEMENT] stylename=Normal
[020711_233324322][oracle.apps.xdo.template.rtf.RTFParagraph][STATEMENT] stylename=Normal
[020711_233324325][oracle.apps.xdo.template.rtf.RTFParagraph][STATEMENT] stylename=Normal
[020711_233324329][oracle.apps.xdo.template.rtf.field.RTFFieldResult][STATEMENT] stylename=Normal
[020711_233324332][oracle.apps.xdo.template.rtf.RTFParagraph][STATEMENT] stylename=Normal
[020711_233324335][oracle.apps.xdo.template.rtf.RTFParagraph][STATEMENT] stylename=Normal
[020711_233324338][oracle.apps.xdo.template.rtf.RTFParagraph][STATEMENT] stylename=Normal
[020711_233324341][oracle.apps.xdo.template.rtf.RTFParagraph][STATEMENT] stylename=Normal
[020711_233324344][oracle.apps.xdo.template.rtf.RTFParagraph][STATEMENT] stylename=Normal
[020711_233324348][oracle.apps.xdo.template.rtf.RTFParagraph][STATEMENT] stylename=Body Text 2
[020711_233324351][oracle.apps.xdo.template.rtf.RTFParagraph][STATEMENT] stylename=Body Text 2
[020711_233324354][oracle.apps.xdo.common.font.FontFactory$FontDef][STATEMENT] Type1 font created: Helvetica-Oblique
[020711_233324357][oracle.apps.xdo.template.rtf.RTFParagraph][STATEMENT] stylename=Body Text 2
[020711_233324360][oracle.apps.xdo.template.rtf.RTFParagraph][STATEMENT] stylename=Body Text 2
[020711_233324364][oracle.apps.xdo.template.rtf.RTFParagraph][STATEMENT] stylename=Normal
[020711_233324367][oracle.apps.xdo.template.rtf.RTFParagraph][STATEMENT] stylename=Normal
[020711_233324370][oracle.apps.xdo.template.rtf.RTFParagraph][STATEMENT] stylename=Normal
[020711_233324373][oracle.apps.xdo.template.rtf.RTFParagraph][STATEMENT] stylename=Normal
[020711_233324376][oracle.apps.xdo.template.rtf.RTFParagraph][STATEMENT] stylename=Normal
[020711_233324379][oracle.apps.xdo.template.rtf.RTFParagraph][STATEMENT] stylename=Normal
[020711_233324382][oracle.apps.xdo.template.rtf.RTFParagraph][STATEMENT] stylename=Normal
[020711_233324385][oracle.apps.xdo.template.rtf.RTFParagraph][STATEMENT] stylename=Normal
[020711_233324433][oracle.apps.xdo.template.rtf.RTF2XSLParser][STATEMENT] Time spent: 6917
[020711_233324437][oracle.apps.xdo.common.font.FontFactory][STATEMENT] type1.Helvetica closed.
[020711_233324440][oracle.apps.xdo.common.font.FontFactory][STATEMENT] type1.Helvetica-Bold closed.
[020711_233324442][oracle.apps.xdo.common.font.FontFactory][STATEMENT] type1.Times-Roman closed.
[020711_233324445][oracle.apps.xdo.common.font.FontFactory][STATEMENT] type1.Courier closed.
[020711_233324447][oracle.apps.xdo.common.font.FontFactory][STATEMENT] type1.Helvetica-Oblique closed.
[020711_233324454][][STATEMENT] Setting data definition:ShowDiscount type:oracle.apps.xdo.servlet.data.bind.ReportParameterBoundValue
[020711_233324457][][STATEMENT] Setting data definition:ShowOperatingLeaseProposal type:oracle.apps.xdo.servlet.data.bind.ReportParameterBoundValue
[020711_233324459][][STATEMENT] Setting data definition:ShowHeaderFooter type:oracle.apps.xdo.servlet.data.bind.ReportParameterBoundValue
[020711_233324462][][STATEMENT] Setting data definition:ShowProductLongDescription type:oracle.apps.xdo.servlet.data.bind.ReportParameterBoundValue
[020711_233324465][][STATEMENT] Setting data definition:ShowListPrice type:oracle.apps.xdo.servlet.data.bind.ReportParameterBoundValue
[020711_233324468][][STATEMENT] Setting data definition:ShowProductDescriptionPage type:oracle.apps.xdo.servlet.data.bind.ReportParameterBoundValue
[020711_233324471][][STATEMENT] Setting data definition:ShowOneGEpage type:oracle.apps.xdo.servlet.data.bind.ReportParameterBoundValue
[020711_233324473][][STATEMENT] Setting data definition:AltBudgetQuote type:oracle.apps.xdo.servlet.data.bind.ReportParameterBoundValue
[020711_233324476][][STATEMENT] Setting data definition:RSorBP type:oracle.apps.xdo.servlet.data.bind.ReportParameterBoundValue
[020711_233324479][][STATEMENT] Set ReportRequest's parameters key[0], ShowDiscount
[020711_233324481][][STATEMENT] Set ReportRequest's parameters value[0], [Ljava.lang.String;@18bf083
[020711_233324484][][STATEMENT] Set ReportRequest's parameters key[1], ShowProductLongDescription
[020711_233324486][][STATEMENT] Set ReportRequest's parameters value[1], [Ljava.lang.String;@5b3488
[020711_233324489][][STATEMENT] Set ReportRequest's parameters key[2], ShowProductDescriptionPage
[020711_233324491][][STATEMENT] Set ReportRequest's parameters value[2], [Ljava.lang.String;@1d60031
[020711_233324494][][STATEMENT] Set ReportRequest's parameters key[3], ShowOperatingLeaseProposal
[020711_233324497][][STATEMENT] Set ReportRequest's parameters value[3], [Ljava.lang.String;@a6a14b
[020711_233324499][][STATEMENT] Set ReportRequest's parameters key[4], AltBudgetQuote
[020711_233324502][][STATEMENT] Set ReportRequest's parameters value[4], [Ljava.lang.String;@1a75098
[020711_233324504][][STATEMENT] Set ReportRequest's parameters key[5], ShowOneGEpage
[020711_233324507][][STATEMENT] Set ReportRequest's parameters value[5], [Ljava.lang.String;@19c449f
[020711_233324509][][STATEMENT] Set ReportRequest's parameters key[6], ShowHeaderFooter
[020711_233324512][][STATEMENT] Set ReportRequest's parameters value[6], [Ljava.lang.String;@5d53c3
[020711_233324515][][STATEMENT] Set ReportRequest's parameters key[7], RSorBP
[020711_233324519][][STATEMENT] Set ReportRequest's parameters value[7], [Ljava.lang.String;@1262d8c
[020711_233324522][][STATEMENT] Set ReportRequest's parameters key[8], ShowListPrice
[020711_233324524][][STATEMENT] Set ReportRequest's parameters value[8], [Ljava.lang.String;@17864c4
[020711_233324527][][STATEMENT] Default Report OutputFormat = html
[020711_233324531][][STATEMENT] Illegal parameter value: AltBudgetQuote=ESP
[020711_233324536][java.lang.String][EXCEPTION] oracle.apps.xdo.servlet.data.DataException: Invalid parameters requested.
at oracle.apps.xdo.servlet.ReportException.fillInStackTrace(ReportException.java:124)
at oracle.apps.xdo.servlet.data.DataException.fillInStackTrace(DataException.java:127)
at java.lang.Throwable.<init>(Throwable.java:196)
at java.lang.Exception.<init>(Exception.java:41)
at oracle.apps.xdo.servlet.ReportException.<init>(ReportException.java:36)
Any help to resolve this is highly appreciatedAny solution to this yet user2078933 ? What is the solution to this problem?
[STATEMENT] Illegal parameter value: <everything-perfect-here>
This is a transient issue with no apparant pattern. I can't believe that none of you have got any solution to this in so many years.
Somebody respond please, it's been years! -
Invalid Page Request when trying to upload file
I created a JSP using the PDK Struts tag library to upload a file and receive the following error from the portal server:
Invalid Page Request
Request does not include a 'dad' value
What am I missing? Here's the code:
%@ taglib uri="/WEB-INF/tlds/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/tlds/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/tlds/pdk-struts-html.tld" prefix="pdk-html" %>
<pdk-html:form method="POST" action="/search" enctype="multipart/form-data">
<table cellspacing="2" cellpadding="1" border="1" width="100%">
<tr>
<td width="20%" align="left">Report Description</td>
<td><html:text property="description"/></td>
</tr>
<tr>
<td>Select the report request file to upload</td>
<td><input type="file" name="requestFile" /> </td-->
</tr>
<tr>
<td><html:submit value="Submit"/></td>
</tr>
</table>
</pdk-html:form>I am having this same problem. The invalid page request only shows when you change the enctype of the form to multipart, but if you don't do this the file upload fails with:
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(DelegatingMethodAccessorImpl.java:25)
Any ideas? -
Ubuntu and Leopard - Error : 12 Invalid device requested
Hi All!
Leopard worked fine when that was the only operating system on the computer..
after I installed the Ubuntu, leopard was not being recognized by the grub.
I have edited the grub (source - http://www.howtoforge.com/workingwith_the_grubmenu) and managed to change the background too, however when I choose Leopard to boot from, it comes up with the error - Error 12 : Invalid device requested.
I am able to boot to only Ubuntu now.
This is the sudo fdisk -l result..
umang@umang:~$ sudo fdisk -l
[sudo] password for umang:
Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00074fb8
Device Boot Start End Blocks Id System
/dev/sda1 1 2188 17575078+ 83 Linux
/dev/sda2 2189 26511 195374497+ 5 Extended
/dev/sda5 * 2189 26511 195374466 af Unknown
How do I go about fixing this error ?
Thanks
Umang
PS: do not have / want windows on my computer.Hi, I'll try to remember how to do this...When the system starts, try pressing F8
or if you already open to a selection screen then skip F8. Select the Leopard to boot from and try typing:
mach_kernel -v
That will direct it to the boot kernel on the Leopard partition. Other than that could you please post your grub?
Message was edited by: Glynn -
Access key invalid for request
How can I resolve this exception?
Servlet failed with Exception
java.lang.IllegalArgumentException: Access key invalid for request
at com.bea.wcp.diameter.sh.ShSession.createRequest(ShSession.java:40)
at com.bea.wcp.diameter.sh.ShSession.createPUR(ShSession.java:26)
at com.bea.wcp.diameter.sh.ShApplication.putDocument(ShApplication.java:147)
at com.bea.wcp.diameter.sh.WlssShApplication.putDocument(WlssShApplication.java:79)
at com.bea.wcp.profile.ShProviderDirect.putDocument(ShProviderDirect.java:63)
Truncated. see log file for complete stacktraceHello David,
Could you please post the entire exception trace here?
Also, is this related to your post :
http://forums.bea.com/thread.jspa?threadID=300005777
If so, could you point to the link from where you are trying this example?
Another thing to try would be invoking this sample using a SIP message instead of http. I see from the other trace that the putDocument is being invoked from a http context.
thanks,
Mihir -
When scanning I am getting the message invalid parameters CMD_Setwindow05:26:00
I have been able to scan just fine all day and then suddenly I am getting the message Invalid parameters CMD_Setwindow 05:26:00. I have restarted everything. I have disconnected and reconnected the scanner and so far nothing has worked.
Have you tired rebooting?
-
Supplying parameters in a request to run a parameterized request?
Hi all,
I was wondering if there was a way to include the parameters to pass to a parameterized test in a request to run that parameterized test. If a test is parameterized, adding the request returned by Request.method() to the list of requests passed to FlexUnitCore.run() will cause the parameterized test to be run once for each item returned by the parameterized test's [Parameters] method. I don't know of a way to create a request to pass to FlexUnitCore.run() which would run a test once, with specific parameters passed to the test.
For example, here's a simple parameterized test:
package
import org.flexunit.runners.Parameterized;
[RunWith("org.flexunit.runners.Parameterized")]
public class SimpleParameterizedTest
private var _param:int = 1;
public function SimpleParameterizedTest(param:int)
_param = param;
[Parameters]
public static function getData():Array
return [[1], [2], [3]];
[Test]
public function runTest():void
trace(_param);
If I run the test with this code:
var flexUnitCore:FlexUnitCore = new FlexUnitCore();
var request:Request = Request.method(SimpleParameterizedTest, "runTest");
flexUnitCore.run(request);
... then SimpleParameterizedTest's constructor is called three times, first with 1, then with 2, and finally with 3, and runTest() is called three times. What I would like to do is, e.g., to create a request that would cause the constructor to SimpleParameterizedTest to be called once with a value of 2.
We have a set of large files and real-world files which we use in performance tests - e.g., to time opening, saving, and closing. We have a set of parameterized tests which take these files as inputs: each of the [Parameter] methods for these tests gets the contents of a folder, and returns a list of filenames which match a particular pattern. Our test automation system has a UI which allows a dev or QE to select the set of tests to run, but without modifying the contents of the folders the tests look in, there is not a way for him or her to select a subset of these parameterized tests to run. Similarly, we would like our test automation which executes the performance tests to be able to run a test on a particular file.
If there is not a way to include the parameters in the request, our plan is to modify the [Parameters] method for the test so that the test can ask the test automation system for the parameters and (e.g.) return a list generated by the contents of a folder if the test automation system does not have parameters.You could use the external data loading feature of the test runner and then just write a file ahead of time (or use an in memory static class if you wanted)
http://tutorials.digitalprimates.net/flexunit/Unit-11.html
Scroll down to using external data. Read that first (briefly) it builds on the knoweldge taught here:
http://tutorials.digitalprimates.net/flexunit/Unit-9.html
You could use this interface to wedge your data in, either via an external file, remote call, or even just populate a static class before you call run and use this technique to draw it out.
That is my best suggestion,
Mike -
Invalid SOAP request: regReq was null
I am getting this error on my primary ZLM server since last month.
Anybody know what could be causing this?On Fri, 06 May 2011 00:06:02 +0000, heinkonijn wrote:
> Hi Rainer,
>
> Thanks for the answer.
> The error just show up in the "System Event Log" in the ZCC for the
> server.
>
> There is nothing the the catalina.out log and nothing in the other log
> files. Nothing at the time of the event. Stange this is that it seems to
> happen every 24 hours at 4:35:22...
>
> So it is probaly one of the servers connecting to ZLM... but which one?
>
> I think I might script a tcpdump to trace all traffic for two minutes
> and hope it captures it, or do you have another suggestion?
>
> Thanks,
> Hein
Hein,
one idea ... check in the reports the "Last Contact" report and see if
one managed device either hasn't contacted the ZLM server for a long time
or does it at the specific time.
Rainer -
Re: BIP Scheduling Error msg
Hi all,
I have scheduled reports in BI Publisher but it is failing with this below errors. why it si giving like that, if any one knows plz help me it is very Urgent.
1 Report
oracle.apps.xdo.servlet.scheduler.ProcessingException: oracle.apps.xdo.XDOException: 0
at oracle.apps.xdo.servlet.scheduler.XDOJob.generateReport(XDOJob.java:983)
at oracle.apps.xdo.servlet.scheduler.XDOJob.execute(XDOJob.java:417)
at org.quartz.core.JobRunShell.run(JobRunShell.java:195)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
Caused by: oracle.apps.xdo.XDOException: 0
at oracle.apps.xdo.servlet.ReportException.fillInStackTrace(ReportException.java:124)
at oracle.apps.xdo.servlet.data.DataException.fillInStackTrace(DataException.java:127)
at java.lang.Throwable.<init>(Throwable.java:181)
at java.lang.Exception.<init>(Exception.java:29)
at oracle.apps.xdo.servlet.ReportException.<init>(ReportException.java:40)
at oracle.apps.xdo.servlet.data.DataException.<init>(DataException.java:44)
at oracle.apps.xdo.servlet.ExcelCoreProcessor.transform(ExcelCoreProcessor.java:54)
at oracle.apps.xdo.servlet.CoreProcessor.processScheduledRequest(CoreProcessor.java:517)
at oracle.apps.xdo.servlet.CoreProcessor.processScheduledRequest(CoreProcessor.java:366)
at oracle.apps.xdo.servlet.CoreProcessor.generateScheduledDocument(CoreProcessor.java:114)
at oracle.apps.xdo.servlet.ReportImpl.renderScheduledJob(ReportImpl.java:347)
at oracle.apps.xdo.servlet.scheduler.XDOJob.generateReport(XDOJob.java:977)
2 Report
oracle.apps.xdo.servlet.scheduler.ProcessingException: oracle.apps.xdo.servlet.data.DataException: Invalid parameters requested.
at oracle.apps.xdo.servlet.scheduler.XDOJob.generateReport(XDOJob.java:983)
at oracle.apps.xdo.servlet.scheduler.XDOJob.execute(XDOJob.java:417)
at org.quartz.core.JobRunShell.run(JobRunShell.java:195)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
Caused by: oracle.apps.xdo.servlet.data.DataException: Invalid parameters requested.
at oracle.apps.xdo.servlet.ReportException.fillInStackTrace(ReportException.java:124)
at oracle.apps.xdo.servlet.data.DataException.fillInStackTrace(DataException.java:127)
at java.lang.Throwable.<init>(Throwable.java:196)
at java.lang.Exception.<init>(Exception.java:41)
at oracle.apps.xdo.servlet.ReportException.<init>(ReportException.java:36)
at oracle.apps.xdo.servlet.data.DataException.<init>(DataException.java:39)
at oracle.apps.xdo.servlet.ReportImpl.renderScheduledJob(ReportImpl.java:342)
at oracle.apps.xdo.servlet.scheduler.XDOJob.generateReport(XDOJob.java:977)
Thanks in Advance
RaoHi all,
Please answer this error it is very urgent
Thanks in Advance
Rao -
How to pass wild card '%' value from the parameter to the query
Hello everyone,
I have following 2 problems
1) I was trying to do some thing like below
select * from emp
where ename like 'J%'
for this i have used the following code
select * from emp
where ename like :P_ENAME
and before running the query in the parameter box i entered J%. But my report returns an error which says INVALID PARAMETERS REQUESTED.
2) I have a req of passing both comma separated and wild card for the same parameter. If we take the same example as above,
user should be able to enter
a) JASON, SMITH, JOHN OR b) J%
I have used comma separated value option of the parameter for the csv values and its working fine, but i need to add the wild card feature also to the same parameter.
Can anyone please help me with these things?????
Thanks in advance!!
RaghuHi Raghu,
I guess you are in older version, You have to get into latest version to use %, it should work well
you should use where ( ename like :P_ENAME ) or ( ename in (:P_ENAME)) for both the condition to satisfy. -
i am having one problem.. i am working on 1 report.. where i have to give like as parameter.. for example
and nvl(prod.name,'1') like nvl(nvl('%'||:p_prod_name||'%',prod.name),'1')
Its working sucessfully on sql window.. But when i run it on bi publisher its giving Invalid Invalid parameters requested.
Parameter in Bi = Data Type is string and parameter type as text
please help ..Try using instr instead of like by replacing
and nvl(prod.name,'1') like nvl(nvl('%'||:p_prod_name||'%',prod.name),'1')
with
and instr(nvl(prod.name,'1'),nvl(:p_prod_name,'1')) > 0 -
Request.getParameter() when uploading files
Hi, I need to upload files and do other works .. such that, in my html ..
<form name="composer" method="post" ENCTYPE="multipart/form-data">
<input type=hidden name="a" value="a">
<input type=File name=inputfile>
<inpu type=button name=Upload onClick='upload file'>
<inpu type=button name=otherStuff onClick='do other stuff'>
</form>
In the jsp for 'do other stuff', I have the following statement to get the value of a
String a = request.getParameter("a");
However, it returns 'null', if I erase the 'ENCTYPE' part from the html file, it works. How can I get it right?If your ENCTYPE is multi-part/form-data, then there is another technichque to read the form parameters.
request.getParameter() won't work.
first u need to read the requenct explicitely and divide the contents into parameters, files etc. and then read the parameter values.
you can get a lot of stuff regarding this on web, like 'uploading files using jsp'.
have fun!! -
Request.getParameter is NULL from window.open form submit
Hi all,
We have one portlet application where a jsp page has a link which opens as a child window using the window.open function in javascript.
It has a form and some textboxes with a save submit button.When the save button is clicked the portlet processAction is called but when i try to set the renderrequest all the request.getParameters are null .I have tried both the ActionRequest and HttpServletRequest and both have nul values.
As a result me Save is failing since the request.getparametrs are null.I added the "save" as part of form action URL and its getting passsed but the other, i am unable to fetch.
My Form action is : <form name="saveEntries" id="saveEntries" action="<portlet:actionURL secure="true"/>&action=save&_pageLabel=ABC" method="post">
My process action code is :
Enumeration<String> parameters = request.getParameterNames();
while(parameters.hasMoreElements()) {
String parameter = parameters.nextElement();
String[] values = request.getParameterValues(parameter);
if(values != null && values.length > 1){
response.setRenderParameter(parameter, values);
} else {
response.setRenderParameter(parameter, request.getParameter(parameter));
if(request.getParameter(parameter)!=null && "save".equalsIgnoreCase(request.getParameter(parameter))){
HttpServletRequest httpRequest = (HttpServletRequest) request.getAttribute("javax.servlet.request");
Enumeration parameterNames = httpRequest.getParameterNames();
Enumeration<String> httpparameters = parameterNames;
while(httpparameters.hasMoreElements()) {
String httpparameter = httpparameters.nextElement();
String[] httpvalues = httpRequest.getParameterValues(httpparameter);
if(httpvalues != null && httpvalues.length > 1){
response.setRenderParameter(httpparameter, httpvalues);
} else {
logger.debug("----------------->:ApproveTime else processAction = :Getting HTTP :parameter:"+parameter);
logger.debug("----------------->:ApproveTime else processAction = :Getting HTTP :request.getParameter(parameter):"+request.getParameter(parameter));
response.setRenderParameter(httpparameter, httpRequest.getParameter(httpparameter));
Any help is highly appreciated.Hello,
One potential reason why it isn't working for you is that the Java Portlet specifications (JSR168 and JSR286) don't allow URLs to be manipulated once they are created with a a portlet:xxxURL tag. The reason for this is that the portlet container needs to be able to rewrite the URLs to properly go back through the portal framework (or over WSRP if running the portlet remotely) and to encode all the parameters needed. The portal framework could even change it from a URL to a Javascript action, where simply appending extra "¶mName=someValue" onto the end of the generated URL won't work. So this:
<form action="<portlet:actionURL secure="true"/>&action=save&_pageLabel=ABC" method="post">isn't legal by the portlet specification-- if you want to add parameters to the actionURL, you can by doing this:
<form action="<portlet:actionURL secure="true"><portlet:param name="action" value="save"/><portlet:param name="_pageLabel" value="ABC"/></portlet:actionURL>" method="post">which will add the parameters to the URL in a way that will always work with the portal framework.
One other thing to note- it looks like you're just trying to copy all of the action parameters in the request into render parameters in the response; this can be done much easier like this:
response.setRenderParameters(request.getParameterMap());Kevin -
Problem with Profile-Update-Request
I have a problem when I Try to use the profile update request.
First, I can use the "User-Data-Request" without problems. I use this sentences:
->String docSel="sh://sip:[email protected]/IMSPublicIdentity/";
->Document doc = psvc.getDocument(docSel);
But, when I Try to add a new line to modify the document (I send the same document witohout changes it):
->psvc.putDocument(docSel, doc)
I receive this exception:
java.lang.IllegalArgumentException: Access key invalid for request at com.bea.wcp.diameter.sh.ShSession.createRequest(ShSession.java:40)
at com.bea.wcp.diameter.sh.ShSession.createPUR (ShSession.java:26)
at com.bea.wcp.diameter.sh.ShApplication.putDocument(ShApplication.java:147)
at com.bea.wcp.diameter.sh.WlssShApplication.putDocument(WlssShApplication.java:79)
at com.bea.wcp.profile.ShProviderDirect.putDocument(ShProviderDirect.java:63)
at com.bea.wcp.profile.ShProviderCached.putDocument(ShProviderCached.java:65)
at com.bea.wcp.sip.engine.WlssProfileService.putDocument(WlssProfileService.java:320)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:223)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3217)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1984)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1891)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1359)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181).
Whats it's the problem?I think that I´m using the correct sentences to
send the profile, and I don´t know why receive this exception.
´Thanks, david.I try to use RepositoryData and I obtain an exception too, but it´s different. In this case is:
####<13-feb-2008 16H09' CET> <Error> <Kernel> <CANASD-HP> <AdminServer> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1202915357551> <BEA-000802> <ExecuteRequest failed
java.lang.NullPointerException: .
java.lang.NullPointerException:
at com.bea.wcp.diameter.Request.sendAnswer(Request.java:197)
at com.bea.wcp.diameter.Answer.commit(Answer.java:125)
at com.bea.wcp.diameter.Session.sndMessage(Session.java:232)
at com.bea.wcp.diameter.Answer.send(Answer.java:118)
at com.bea.wcp.diameter.Transaction$1.run(Transaction.java:165)
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).
For the HSS I´m using a simulator called FHoSS. Do you know that this simulator work well with WLSS?
Thanks.
Maybe you are looking for
-
ACS v5.1 View not showing full Admin Logs
Hi, I am having trouble viewing all the Administration logs in ACS View. I have my Local Log Target set to a Maximum log retention period of 90 days. In ACS View I can display authentications that go back 90 days + However when I try and display
-
Would i be better off if i Uninstalled,and reinstalled,the FCP due to the "The operation couldn't be completed. (DSPPublishing error -29)"? I Didn't think i was a complete idiot,when it came to video editing but this program is really kickin my Butt!
-
hi again :) i'm trying to load an image (EPS format) on a JPanel like i've done with GIF or JPG , those don't cause any problem, but when the image is an EPS one nothing is loaded how can i do this ? Thanks
-
Cannot print to plain paper in iPhoto (or iTunes)
Just installed a new printer - HP PSC 1510. Works fine except that if i decide to print a test page in iPhoto (b4 using costly photo paper) or a simple CD insert in iTunes, the paper type options for plain or automatic are greyed out & cannot be sele
-
What is happening to my mac?
it starts beeping really loudly and the screen has these green lines all over them and then i have to restart my laptop. What is going on?