JSP parse error "No URI for taglib" when using tagdir attribute
Hi,
I'm trying to use Jakarta JSTL 1.0 with BEA WebLogic 8.1 so I can work with tag files. I've put the jars (jstl.jar & standard.jar) in my webapp's WEB-INF/lib, added the following to my web.xml:
<taglib>
<taglib-uri>http://java.sun.com/jstl/core</taglib-uri>
<taglib-location>/WEB-INF/c.tld</taglib-location>
</taglib>
and put the follwing two lines at the top of my JSP:
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
<%@ taglib prefix="h" tagdir="/WEB-INF/tags/mytags" %>
When I browser to my JSP, I get:
Parsing of JSP File '<...>.jsp' failed:
<...>.jsp(5): No URI for taglib
probably occurred due to an error in <...>.jsp line 5:
<%@ taglib prefix="h" tagdir="/WEB-INF/tags/mytags" %>
My setup is pretty much straight out of the textbook, so what's wrong? Are tag files, and therefore this form of the taglib directive, not supported by WebLogic?
Andrew
Andrew Bickerton wrote:
> Hi,
>
> I'm trying to use Jakarta JSTL 1.0 with BEA WebLogic 8.1 so I can work with tag files. I've put the jars (jstl.jar & standard.jar) in my webapp's WEB-INF/lib, added the following to my web.xml:
>
> <taglib>
> <taglib-uri>http://java.sun.com/jstl/core</taglib-uri>
> <taglib-location>/WEB-INF/c.tld</taglib-location>
> </taglib>
>
> and put the follwing two lines at the top of my JSP:
>
> <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
> <%@ taglib prefix="h" tagdir="/WEB-INF/tags/mytags" %>
>
> When I browser to my JSP, I get:
>
> Parsing of JSP File '<...>.jsp' failed:
> ----------------------------------------
> <...>.jsp(5): No URI for taglib
> probably occurred due to an error in <...>.jsp line 5:
> <%@ taglib prefix="h" tagdir="/WEB-INF/tags/mytags" %>
>
> My setup is pretty much straight out of the textbook, so what's wrong? Are tag files, and therefore this form of the taglib directive, not supported by WebLogic?
>
> Andrew
81 doesn't support/implement the JSP 2.0 spec (which adds tag files)
-- Nagesh
Similar Messages
-
Has anyone had a opf parse error with container.xml missing, when it is actually present plz ?
Has anyone had a opf parse error with container.xml missing, when it is actually present plz ?
-
Error opening file for writing when installing
I cannot install Flash on my Vista X64. I have tried running
the downloadable install and the online install. Any time I try to
run the install I get "error opening file for writing" when trying
to write C:\Windows\SysWOW64\Macromed\Flash\Flash9d.ocx.
I have uninstalled Fash first (it never worked anyway) and I
have rebooted. I even tried rebooting in Safe Mode but no matter
what I try, I cannot remove the existing Flash9d.ocx and installing
will not overwrite the existing file.
Even after uninstalling Flash and rebooting to safe mode,
Windows reports that flash9d.ocx is in use. So why is the file in
use after uninstalling?
Any help is appreciated.
DaleWell, I finally figured out the problem with mine today. Of
course, I'd still like to know what nefarious purpose might be
involved with the Flash activeX file being loaded in memory even
after uninstall and reboot such that it cannot be removed from my
PC even in Safe Mode.
At least I got Flash working. I discovered that Flash was
disabled in IE.
In IE, go to Tools->Options->Programs and then Manage
Add-Ons. In my case, the ShockWave Flash Object was set to
disabled. I changed it to Enabled and I was able to install and use
Flash properly. Now I am just not sure I want to.
With the questionable practices of using the ActiveX control
even after uninstall, and making the file un-removable, along with
the extremely (in my opinion) dishonest practice of installing
Google Toolbar with Flash, I am hoping that Microsoft's Silverlight
puts Flash out of the market - and I'm no huge fan of Microsoft
either. With the new practices from Adobe, they are, in my opinion,
no better than any other spyware and malware purveyor on the market
- right up there with Napster and the dozens of follow-on products
that tricked users into installing unwanted software. -
XML Parser Error while creating Web service Client using JAX RPC
hello evryone,
Im facing XML Parser Error while creating web service client using JAX RPC. Im using Net Beans IDE for development purpose. I have wrote configuration file for client. Now i want to create Client stub. However i dont know how to do this in Net Beans. So i tried to do it from Command promt using command :
wscompile -gen:client -d build -classpath build config-wsdl.xml
here im getting Error:
error parsing configuration file: XML parsing error: com.sun.xml.rpc.sp.ParseException:10: XML declaration may only begin entities
Please help me out.
Many thanks in advance,
KaceeCan i use the client generated using jdeveloper 11g to import into the oracle forms 10g, i.e., form builder 10g. Currently this is the version we have in our office.
-
How can I customize the toolbar when using the attribute browser
In CVI 2012, the toolbar changes depending on the environment, e.g. it is different for the source window and the UI editor. The toolbar can be customized using the menu Options / Toolbar...
Unfortunately, when using the attribute browser of the UI editor, another toolbar is displayed, i.e. not the UI editor toolbar.... I would have assumed that the attribute browser belongs to the UI editor, obviously it doesn't... So how can I customize the toolbar when using the attribute browser?
Solved!
Go to Solution.Luis,
It's nice to have you back
Thank you for the clarification, so I'll elaborate a bit more: In the regular workspace toolbar, I have a disk symbol to save the file. This symbol is gone in the attribute browser...
So I have three different toolbars, for source code (workspace), UI editor, and the UI editor displayed but the attribute browser clicked on (selected)...
Thanks
Wolfgang
Source code:
UI editor:
Attribute browser: -
Hi all,
I'm getting the following error when I try to include a jsp file within another jsp file.
javax.servlet.ServletException: Parse Error in JSP page: The include directive on line 14 The JSP page null's depedency '1' could not be found.
Could someone help me understand what's causing this error?
Thanks,
Lima<%@ include file="/includes/head.jsp" %>
<%@ include file="/includes/Detail.jsp" %>
<%@ include file="/includes/foot.jsp" %> -
Error in Acrobat 9.0 when using png prediction for flatedecode filter
Hi,
I am creating a PDF using png prdiction and Acrobat 9.0 shows the following error: "insufficient data for an image". The same PDF doesn't show error when using Acrobat 7.0 or any other application to view it. A typical code is as following:
"10 0 obj <</Length 7100038/Filter FlateDecode/DecodeParms<</BitsPerComponenet 8/Colors 4/columns 1103/Rows 1000/Predictor 15>>....etc."
Does anyone have idea what can be the problem & how can I solve it???
Thanks
Ilana KeydarAttached is another PDF which I have added png prediction to the flatedecode
filter of the images in order to get better compression. This file can't be
open at all using Acrobat 9.0, but can be viewed using other PDF tools.
I have also uploaded another PDF to the forum.
I hope you can help me
Ilana -
jsp:useBean error== The value for useBean class is invalid
Can anybody tell me why am i getting the error for the JavaBean.
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: /SimpleBean.jsp(9,0) The value for the useBean class attribute com.stardeveloper.bean.test.SimpleBean is invalid.
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:148)
org.apache.jasper.compiler.Generator$GenerateVisitor.visit(Generator.java:1272)
org.apache.jasper.compiler.Node$UseBean.accept(Node.java:1178)
org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2361)
org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2411)
org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2417)
org.apache.jasper.compiler.Node$Root.accept(Node.java:495)
org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2361)
org.apache.jasper.compiler.Generator.generate(Generator.java:3426)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:216)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:332)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:312)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:299)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:586)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.20 logs.
Apache Tomcat/6.0.20
my jsp file is in path c:\tomcat6\webapps\dev\SimpleBean.jsp
my JavaBean compiled class is in path
c:\tomcat6\webapps\dev\WEB-INF\classes\com\stardeveloper\bean\test\SimpleBean.class
and my SimpleBean java class declaration is
package com.stardeveloper.bean.test;
public class SimpleBean implements java.io.Serializable
and my jsp page SimpleBean.jsp pages call to useBean is as follows
<jsp:useBean id="simple" class="com.stardeveloper.bean.test.SimpleBean">
<jsp:setProperty name="simple" property="name" value="Sujoy" />
<jsp:setProperty name="simple" property="age" value="26" />
</jsp:useBean>
Please help me anybody.First, try restarting Tomcat :-)
Main 3 reasons for "useBean class is invalid"
- class must be in a package (ok)
- class must be public, and have public constructor that takes no arguments (check)
- class must be compiled, valid and on the classpath. Normally this means the WEB-INF/classes directory.
From what you have told us, everything seems to check out.
Try recompiling the .class file to ensure it is valid.
Does your constructor do anything which might thrown an exception?
Can you invoke it in scriptlet code without getting an exception?
<%@ page import="com.stardeveloper.bean.test.SimpleBean" %>
<% SimpleBean sb = new SimpleBean() %>Trying it in scriptlet code like this might give you a different error message that might help your diagnosis.
cheers,
evnafets -
Error determining address for employee when replicating
Hi,
We are in SRM 5.0, classic scenario.
We are using HR replication .
I replicate the Org structure and the user from an HR system via ALE.
Apparently all works fine (in PPOMA_BBP I see the Position, the CP, the BP, and the user links US) (similar to a user previously manually created)
However I can not shop with it as I receive messages
-No data found for contact person HR08007850 Contact system administrator
-No addres found for Partner function type Good Recipient
-No addres found for Partner function type Requester
In Users Gen if I make a Check User and Employee data, selecting by BP (Employee role) for the Business Partner BP of the Central Person of the user I receive error messages
Error determining address for employee .........
The BP for all objects(Contact person,employee etc) have all the relevant address data .
Entries can be seen in tables BUT020,BUT050 for the addresses.
Also we had not created the SU01 users before replicating the Org structure but created thenm after the replication .Then for integrating the users into the Org structure,we jsut assigned the users to the CP's in PPOMA_BBP itself(as USERS_GEN is deactivated for HR-ALE replication).After this,we were able to see the CP-US relationship but when we do the consistency check,we get the above mentioned errors i.e.
Error determining address for employee......
Employee relationship between BP.... and BP(org) missing
Has anyone faced a similar situation??Any inputs will be appreciated.
regards,
Edited by: Antoinette Stork on Jul 1, 2008 11:23 AMHi,
Please read my earlier replies properly.The error you are getting is mainly because of the addresses of the ORG UNITS and not employees not being maintained on the R/3 side.
The addresses of the org units are stored in infotype1028 on R/3 side.So you need to maintain this one on the R/3 side before starting the replication.Take the help of someone from the HR team for maintainence of this address data.
Regarding the switches in SRM,there is one in table T77S0 i.e. HRALX OADRE Address Necessary for Business Partner?.However this is used for generation of BP for the org units which i suppose is happening for you..See the foll note for more deatils .
Note 550055 - EBP/CRM: New integration for business partner
For this paarmeter,the note says;
Addresses: If addresses are required to generate correct business
partners of the organizational unit role (in SRM, for example), the
HRALX/OADRE switch is set to X (formerly: the BUPA/ADDR switch). If
it is mandatory for each business partner of the organizational
unit role to have an address, but the relevant organizational units
do not always have a separate address, you can define a standard
address. Create a separate business partner for storing the
standard address. The number of this business partner, which is
used as a container, is stored in the HRALX/OADBP switch (formerly
BUPA/ADRBP).
However the address error which you are getting is because the employee for the Org unit which gets created doesnt get the address because of the missing address of the org structure.So the BP of the employee (for org unit) is inconsistent.
So i dont think changing the value of this switch would help you resolve the EMPLOYEE ADDRESS error.Again i suggest better to maintain the addresses of the org units in R/3 in infotype 1028 and then replicate the whole org structure again.Then you should not get the address error.
BR,
Disha.
Do reward full points for useful answers . -
ORA-03001 "unimplemented feature" error for SQL when using view
Our ERP allows us (IT staff) to create Information Access Layers which are basically views. These can be "live" where the view is like your tradiitonal one or non-live, where a table of data is replicated on a schedule and a view is available over that table.
The following SQL runs fine with a non-live IAL but gives an ORA-03001 error when using a live one.
Any ideas why please? We are using 9.2.0.6
Thanks
with
d_list as
select territory, customer_name, order_no, sum(buy_qty_due) || ' x ' || catalog_desc d, sum(total_line_price_less_disc) v
from
ifsinfo.cust_ord_salescodes
where
site LIKE 'OKM' || '%'
and
line_date_entered >=TO_DATE ('01/06/2007','DD/MM/YYYY')
AND
line_date_entered <ADD_MONTHS (TO_DATE ('01/06/2007','DD/MM/YYYY'),2)+(1-1/(60*60*24))
AND
sub_division = 'GAS'
AND
line_item_no <= 0
AND
line_status != 'Cancelled'
group by
territory, customer_name, order_no, catalog_desc
select
d_list.territory,
d_list.customer_name,
d_list.order_no,
d,
0 as sum_value,
d_list.v
from
(select d_list.order_no, sum(V) sv from d_list having sum(V) > max(3000) group by d_list.order_no) s_list,
d_list
where
s_list.order_no=d_list.order_no
order by
d_list.territory, d_list.customer_name, d_list.order_no,d
/Note: If I run the following it is fine, but obviously does not provide what I want:
with
d_list as
select territory, customer_name, order_no, sum(buy_qty_due) || ' x ' || catalog_desc d, sum(total_line_price_less_disc) v
from
ifsinfo.cust_ord_salescodes
where
site LIKE 'OKM' || '%'
and
line_date_entered >=TO_DATE ('01/06/2007','DD/MM/YYYY')
AND
line_date_entered <ADD_MONTHS (TO_DATE ('01/06/2007','DD/MM/YYYY'),2)+(1-1/(60*60*24))
AND
sub_division = 'GAS'
AND
line_item_no <= 0
AND
line_status != 'Cancelled'
group by
territory, customer_name, order_no, catalog_desc
select
d_list.territory,
d_list.customer_name,
d_list.order_no,
d,
0 as sum_value,
d_list.v
from
--(select d_list.order_no, sum(V) sv from d_list having sum(V) > max(3000) group by d_list.order_no) s_list,
d_list
--where
--s_list.order_no=d_list.order_no
order by
d_list.territory, d_list.customer_name, d_list.order_no,d
/Thanks David. The actual SQL is as follows:
with
p_list as
(select * from
(select 'OKM' p_company,
'GAS' p_subdiv,
'01/06/2007' p_startdate,
2 p_months,
3000 p_minval,
DECODE(UPPER('OKM'),'OKM','DD/MM/YYYY','KMI','DD/MM/YYYY','OIA','MM/DD/YYYY') p_datefmt
from dual)
d_list as
select territory, customer_name, order_no, sum(buy_qty_due) || ' x ' || catalog_desc d, sum(total_line_price_less_disc) v
from
ifsinfo.cust_ord_salescodes,
p_list
where
site LIKE p_company || '%'
and
line_date_entered >=TO_DATE (p_startdate,p_datefmt)
AND
line_date_entered <ADD_MONTHS (TO_DATE (p_startdate,p_datefmt),p_months)+(1-1/(60*60*24))
AND
sub_division = p_subdiv
AND
line_item_no <= 0
AND
line_status != 'Cancelled'
group by
territory, customer_name, order_no, catalog_desc
select d_list.territory, d_list.customer_name, d_list.order_no, d, decode(lag(d_list.order_no) over (order by d_list.territory, d_list.customer_name, d_list.order_no),d_list.order_no,0,s_list.sv) as sum_value, d_list.v from
(select d_list.order_no, sum(V) sv from d_list, p_list having sum(V) > max(p_minval) group by d_list.order_no) s_list,
d_list
where
s_list.order_no=d_list.order_no
order by
d_list.territory, d_list.customer_name, d_list.order_no,d
/the mystery is why it works for a view over a table (created by SQL A) but not a view (which is SQL A).
The actual VIEW is:
SELECT
SUBSTR(co.contract,1,3) company,
co.contract site,
co.order_no order_no,
co.order_id order_type_code,
co.currency_code currency_code,
ROUND(1/col.currency_rate,x_curr_rounding_dp) currency_rate,
co.customer_po_no customer_po_no,
co.date_entered head_date_entered,
co.authorize_code coordinator,
NVL(co.market_code,coc.market_code) customer_market_code,
NVL(co.district_code,x_def_district_code) customer_district_code,
co.customer_no customer_no,
ifsapp.cust_ord_customer_api.get_name(co.customer_no) customer_name,
co.state head_status,
decode(co.state,'Cancelled','N','Invoiced/Closed','N','Y')
head_open_status,
ROUND (
ifsapp.customer_order_api.get_total_base_price(co.order_no)
,x_rounding_dp) total_order_value,
------- co.salesman_code head_salesman_code,
col.line_no line_no,
col.rel_no rel_no,
col.line_item_no line_item_no,
NVL(col.part_no,x_def_inv_part) inventory_part_no,
col.catalog_no sales_part_no,
col.catalog_desc catalog_desc,
col.date_entered line_date_entered,
col.catalog_type sales_part_type,
col.planned_ship_date line_planned_ship_date,
col.planned_delivery_date line_planned_delivery_date,
col.promised_delivery_date line_promised_delivery_date,
col.real_ship_date,
------- col.ref_id line_salesman_code,
col.state line_status,
decode(col.state,'Cancelled','N','Invoiced/Closed','N','Y')
line_open_status,
nvl(col.ref_id,co.salesman_code) salesman_code,
nvl(col.C_Salesman_Region_Code,sps.region_code) region_code,
nvl(col.C_Salesman_Division,sps.division) division,
nvl(col.C_Salesman_Sub_Division,sps.sub_division) sub_division,
nvl(col.C_Salesman_Territory,sps.territory) territory,
NVL2 (
ifsapp.customer_group_api.get_description(co.priority),co.priority,coc.cust_grp
) customer_group_code,
NVL(col.discount,0) discount_percentage,
NVL(col.order_discount,0) order_discount_percentage,
(1-NVL(col.discount,0)/100) *
(1-NVL(col.order_discount,0)/100) discount_factor,
1-(1-NVL(col.discount,0)/100) *
(1-NVL(col.order_discount,0)/100) less_discount_factor,
ROUND (
(DECODE(SIGN(col.line_item_no),1,0,col.buy_qty_due*col.base_sale_unit_price*col.price_conv_factor)*(1-(1-NVL(col.discount,0)/100)*(1-NVL(col.order_discount,0)/100)))
,x_rounding_dp) line_discount_amount,
ROUND (
greatest(col.buy_qty_due-col.qty_invoiced,0)*(DECODE(SIGN(col.line_item_no),1,0,col.base_sale_unit_price*col.price_conv_factor)*(1-(1-NVL(col.discount,0)/100)*(1-NVL(col.order_discount,0)/100)))
,x_rounding_dp) rem_line_discount_amount,
col.buy_qty_due buy_qty_due,
col.qty_invoiced qty_invoiced,
greatest(
col.buy_qty_due-col.qty_invoiced,0
) qty_remaining,
qty_shipped,
greatest(
col.buy_qty_due-col.qty_shipped,0
) qty_not_shipped,
ROUND (
DECODE(SIGN(col.line_item_no),1,0,col.base_sale_unit_price*col.price_conv_factor)
,x_rounding_dp) unit_line_price,
ROUND (
DECODE(SIGN(col.line_item_no),1,0,col.base_sale_unit_price*col.price_conv_factor)-
ROUND (
(DECODE(SIGN(col.line_item_no),1,0,col.buy_qty_due*col.base_sale_unit_price*col.price_conv_factor)*(1-(1-NVL(col.discount,0)/100)*(1-NVL(col.order_discount,0)/100)))
,x_rounding_dp)
,x_rounding_dp) unit_line_price_less_disc,
ROUND (
DECODE(SIGN(col.line_item_no),1,0,col.buy_qty_due*col.base_sale_unit_price*col.price_conv_factor)
,x_rounding_dp) total_line_price,
ROUND (
DECODE(SIGN(col.line_item_no),1,0,col.buy_qty_due*col.base_sale_unit_price*col.price_conv_factor)-
ROUND (
(DECODE(SIGN(col.line_item_no),1,0,col.buy_qty_due*col.base_sale_unit_price*col.price_conv_factor)*(1-(1-NVL(col.discount,0)/100)*(1-NVL(col.order_discount,0)/100)))
,x_rounding_dp)
,x_rounding_dp) total_line_price_less_disc,
ROUND (
DECODE(SIGN(col.line_item_no),1,0,greatest(col.buy_qty_due-col.qty_invoiced,0)*col.base_sale_unit_price*col.price_conv_factor)
,x_rounding_dp) rem_total_line_price,
ROUND (
DECODE(SIGN(col.line_item_no),1,0,greatest(col.buy_qty_due-col.qty_invoiced,0)*col.base_sale_unit_price*col.price_conv_factor)-
ROUND (
greatest(col.buy_qty_due-col.qty_invoiced,0)*(DECODE(SIGN(col.line_item_no),1,0,col.base_sale_unit_price*col.price_conv_factor)*(1-(1-NVL(col.discount,0)/100)*(1-NVL(col.order_discount,0)/100)))
,x_rounding_dp)
,x_rounding_dp) rem_total_line_price_less_disc,
NVL(co.commission_percentage,0) commission_percent,
1-NVL(co.commission_percentage,0)/100 commission_factor,
NVL(co.commission_percentage,0)/100 less_commission_factor,
col.cost
FROM
ifsapp.customer_order_line col,
ifsapp.customer_order co,
ifsapp.sales_part_salesman sps,
ifsapp.cust_ord_customer coc,
(select
2 x_rounding_dp,
6 x_curr_rounding_dp,
'9999999' x_def_inv_part,
'Domestic' x_def_district_code
from
dual) constants
WHERE
col.order_no=co.order_no
AND
co.customer_no = coc.customer_no
AND
(NVL(col.ref_id,co.salesman_code) = sps.salesman_code or sps.salesman_code is null)
------AND
------ co.state != 'Cancelled'
------AND
------ col.state !='Cancelled'
------AND
------ col.line_item_no <=0I suspect it is the level of complexity that Oracle cannot handle. I have seen notes about Oracle errors with views generating that ORA 03001, maybe I should log it with Oracle... -
XML Parsing Error: XML or text declaration not at start of entity
Location: https://evalue.internationaldelivers.com/service/SVCDOCS/Navistar/isisxsl.xsl
Line Number 2, Column 1:<?xml version='1.0'?>
^
That is the error I receive the page loads and half the content appears but the other half is blank and I receive that instead. I can attach a screenshot if needed.May be cookies issue try this
Reload the webpage while bypassing the cache
*Hold down the ''Shift'' key and click the ''Reload'' button with a left click.
*Press ''Ctrl'' + ''F5'' or ''Ctrl'' + ''Shift'' + ''R'' (Windows and Linux)
*Press ''Command'' + ''Shift'' + ''R'' (Mac)
Clear the cache and the cookies from sites that cause problems.
'''Clear the Cache''': Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
'''Remove Cookies''' from sites causing problems:
*Tools > Options > Privacy > Cookies: "Show Cookies"
*https://support.mozilla.org/en-US/kb/websites-say-cookies-are-blocked-unblock-them -
Problem displaying error page of web.xml when using JSF, Ajax4jsf
Hi,
My application is using MyFaces, RichFaces and Ajax4jsf. When i try to display error page configured in web.xml, i am getting exception "Error while processing error page".
my web.xml contents are as follows:
<?xml version="1.0"?>
<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">
<filter>
<display-name>RichFaces Filter</display-name>
<filter-name>richfaces</filter-name>
<filter-class>org.ajax4jsf.Filter</filter-class>
</filter>
<filter-mapping>
<filter-name>richfaces</filter-name>
<servlet-name>faces</servlet-name>
<dispatcher>REQUEST</dispatcher>
<dispatcher>FORWARD</dispatcher>
<dispatcher>INCLUDE</dispatcher>
</filter-mapping>
<filter>
<filter-name>extensionsFilter</filter-name>
<filter-class>
org.apache.myfaces.webapp.filter.ExtensionsFilter
</filter-class>
<init-param>
<description>
set the size limit for uploaded files. Format: 10 - 10 bytes 10k
- 10 KB 10m - 10 MB 1g - 1 GB
</description>
<param-name>uploadMaxFileSize</param-name>
<param-value>100m</param-value>
</init-param>
<init-param>
<description>
Set the threshold size - files below this limit are stored in
memory, files above this limit are stored on disk.
Format: 10 - 10 bytes 10k - 10 KB 10m - 10 MB 1g - 1 GB
</description>
<param-name>uploadThresholdSize</param-name>
<param-value>100k</param-value>
</init-param>
</filter>
<filter>
<filter-name>Seam Redirect Filter</filter-name>
<filter-class>org.jboss.seam.servlet.SeamRedirectFilter</filter-class>
</filter>
<filter>
<filter-name>KTServletFilter</filter-name>
<filter-class>com.kenexa.core.system.KTServletFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>extensionsFilter</filter-name>
<url-pattern>*.jsf</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>extensionsFilter</filter-name>
<url-pattern>/faces/*</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>Seam Redirect Filter</filter-name>
<url-pattern>*.jsf</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>KTServletFilter</filter-name>
<url-pattern>*.jsf</url-pattern>
</filter-mapping>
<!-- seam Listeners -->
<listener>
<listener-class>org.jboss.seam.servlet.SeamListener</listener-class>
</listener>
<listener>
<listener-class>com.kenexa.kr.web.KRServletListener</listener-class>
</listener>
<servlet>
<servlet-name>faces</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>faces</servlet-name>
<url-pattern>*.jsf</url-pattern>
</servlet-mapping>
<error-page>
<exception-type>java.lang.Throwable</exception-type>
<location>/rc/systemError.jsf</location>
</error-page>
</web-app>
As per the configuration, when exception is thrown out of the application, container tries to display systemError.jsp page. If we want to include the JSF tags in systemError.jsp page, the request should pass through FacesServlet, so in the <error-page> <location> tag systemError page is specified with the extention systemError.jsf though it's actual extention is .jsp
When exception is thrown from the application container invoke the error page but, while rendering systemError.jsf page exception is thrown saying "Exception processing error page "systemError.jsp" "
To solve this problem i've gone through several forums, materials.
In one forum a guy said, JSF1.1 spec has some problem in displaying error pages. To solve this don't write <f:view> tags in the error page, use <f:subview> intstead. By reading this, i again changed the contents of systemError.jsp page replacing <f:view> by <f:subview>. But the error is still repeating.
Finally what i found is, when we use Ajax4jsf in the application, its AjaxViewRender class is throwing exception while rendering error pages configured through web.xml.
So what i did is i changed error page extention from .jsf to .jsp in the <location> tag. Now jsf won't come in the picture and remove JSF related tags from the systemError.jsp page.
<error-page>
<exception-type>java.lang.Throwable</exception-type>
<location>/rc/systemError.jsp</location>
</error-page>
Any comments are welcome----------------------------------------------------------------I too iam facing the same problem could you advise if you have found any solutions
-Ram -
Issue when using Navigation attributes for filtering in BEX
Hello,
We are encountering an issue when applying filter on Navigation attributes in BEx query built on top of a BW HANA Virtual Provider.
The interface is as below :
HANA Calculation View -> SAP BW 7.4 Virtual InfoCube -> Multiprovider -> BEx Query.
We have directly mapped the base Infoobject from HANA View to BW Virtual Provider and using this in BEx query free characteristics. We also have used the navigational attribute of this Infoobject in our Report variable screen as well as an Auth relevant object.
Eg if ZMATERIAL is the base infoobject and ZMATERIAL__ZXYZ navigational attribute is used in the report variable screen and as Authorization variable.
This is causing the query to fail.
The query also fails if I apply any filter values on any Navigational attribute with error message :
"Termination message sent ERROR DBMAN (305): Error reading the data of InfoProvider"
Using the navigational attribute with authorization variable fails with below :
"Termination message sent ERROR DBMAN (099): Invalid query;Failed to find attribute ZMATERIAL__ZXYZ [...]"
Appreciate any inputs on this issue and how this can be fixed.
Thanks,
TintuHi Andrey,
Thank you for your input.
Based on the OSS note , it says to import BW7.4 SP7. We are already on BW7.4 SP7
We get error "Termination message sent ERROR DBMAN (099): Invalid query;Failed to find attribute
ZMATERIAL__ZXYZ" whenever we try to apply filters on any of the navigational attribute.
Thanks,
Tintu -
Stack File for JSPM when using Maintenance Optimizer
Hello,
As you know JSPM looks for a stack file when applying a support pack stack. When using maintanance optimizer I see no way to get a stack file. I end up having to do the work twice: once to get the files in maintenance optimizer, and again I have to go to marketplace swdc to choose the files and create the list of downloads again only to save a stack file.
Am I missing something? Is this double work really necessary?Hello John,
It seems that you are doing double work.
If you use the download type as "SLM" then you have a chance to transfer the XML to SLM. Else if you choose the download type as "Download Manager" then the XML should be created in the EPS/in folder of the Solution Manager system.
You also need to check whether you have applied all the applicable notes for the Solution Manager stack from the note 1122966 and that the BC sets for MOPZ are activated correctly.
Finally check the permissions on the EPS/in folder of Solution Manager to check whether there is a issue with authorizations.
A SLG1 log ( filtered by the username who creates the MOPZ transaction and time at which the transaction was created ) will reveal the errors in the process.
Regards
Amit -
Formula for Variance when using prompts
Hi,
I would like to know how to compute the variance between 2 years in a pivote table.
I have the customer name and then the period key (01-2012, 01-2012...01-2013, 02-2013) and the calendar year in Columns. I selected to do a sum per year and per customer but I do not know how to compute the variance between the Year N and the Year N-1 in the pivot table, knowing that in a dashboard I have created a prompt which select the period key so that I have the same month for year N-1 and year N.
Could you please help,
I know that there is a complicated formula...and I would need some help,
thank you,I tend to agree with the unitless concept.
Interesting thing is this though. I just got a chance to break out my ipad during lunchtime and try the duration issue itself out (I dont think I had the duration portion known when i first posted).
I dont get an error when using the division of two dollar values in the duration equation. I got 2w as my answer. (btw, duration in numbers is for formatting as a duration of weeks, months days... etc. didnt know if you realized that)
I do get the error if I try to reference one fo the values without division, just the cell ref itself. I used "Value(B3)" and it converted to a base number and gave me my proper answer.
Can you verify for me again please? I think you might be having another issue possibly.
Thanks
Jason
Maybe you are looking for
-
When converted a mkv movie to m4a with all the right settings for ATV3 and iTunes - the same settings as with all my other movies. But this movie will only play sound and no picture on my iPads (2 & 3) and my iMac. But on my MacBook Pro it plays fine
-
How to open link in new window using Mountain Lion
When I upgraded to Mountain Lion, opening a link closes the window I'm in when it opens the new one. Example, I'm in email, click on a link, and then have to reopen email. The back button doesn't work. Where is the setting to change this so my cur
-
Use of Java packages in Java stored procedures? (Oracle 10.2)
Hi all- Does Oracle's Java stored procedures support Java packages? In all the examples I've seen, packages are never used, and when I added one to a test file, it compiled it just fine, but referencing the class from the package itself resulted in a
-
Error starting Forms builder 10.1.2.0.2
Dears, I just installed Oracle developer suite 10.1.2.0.2 on my xp sp2 machine. When I start the forms builder, I get a window error Oracle forms designer has encountered a problem and needs to clise, when I click on error report contents, it shows t
-
Is it possible to make e51 use wlan to connect to internet. I find that although i have a wlan connection on and connected, it seems to browse using gprs.