Servlet filter with the dispatcher set in the filter-mapping
Hi all,
I am porting an application from Tomcat to OC4J
I am running on OC4J 10.1.3, it supports servlet 2.4 spec.
They are some new features here, where you can decide how you servlet filters act when you use the request despatcher.
This does not seem to work for me.
I have an AccessFilter and a NoCacheFilter.
The Access Filter just defines what you can access.
The NoCacheFilter helps us with caching problems for example when I want a file
called Test.js IE thinks its downloading Test_[MN899].js but really in the filter we fix the URL and forward it to Test.js .
Its in this forwarding that we have the problem as when we forward OC4J applies the filters again. And so we enter an infinite loop.
I have a bad work around, that works on some ocasions not in others so I need a better solution...
I am new to Oracle.
Is there there a bug database that I can search?
Has anyone seen this problem before?
Thanks for your time,
Cormac
If you are using a sessions.xml file, you can get your project from your session. Ensure that when you access your session from the SessionManager, that you do not have it login.
Session session = SessionManager.getManager().getSession("my-session", false);
session.getProject().setConnector(...);
session.login();
If not using a sessions.xml, you can either read your Project from the XMLProjectReader, or instantiate your Project class directly.
Similar Messages
-
All my accounts with Apple are set fot the US. However, when I attempt to order an iPhoto book it charges me in £ and charges VAT. The book is being sent to an address in the US and I am US citizen. How do I change the account to a US account?
iPhoto Preferences -> Advanced -> Bottom of the panel: What Print Store is selected?
-
How to stop the dispatcher from starting the server?
Hi all,
I am trying to disable the dispatcher from starting the server automatically, Both in the service or daemon, and in the go.bat files.
Thanks
JeremyRight now, I start the state from the go.bat script.
Then I start the dispatcher from the go.bat script
what happens next, (the default setting after intsallation) is that the dispatcher calls the server in cmdline mode.
I would like to be able to start the 3 independently for troubleshooting.
Even when I try to use windows services to start them, I can only start the "state" and "dispatcher" service. Some how the dispatcher is calling the server, regardless of how I start the dispatcher.
Thanks
Jeremy -
RE: Authority checks included in the info set of the query
Hi all,
I am checking the program code for one of our custom tcodes and i asked ABAP team to add authority check to the program code because there is no auth check in the code and abapers told me that the authority check is included inside the info set of the query and not in the program . the program is used to execute the query in the Tcode.
how to find the Authority checks included in the info set of the query.
Thanks in advance,
Sun.If you have the BI support roles assigned to you and the security admin roles please login to the BI system
execute transaction RSECADMIN, click on the analysis tab and execute as the user who is assigned the role with restrictions.
For variables in authorizations like ( type customer exit )
use RSECADMIN - maintain authorization tab - Click on value authorization tab.
Keytransaction is RSECADMIN & infoobject maintenance details you can get from RSD1.
Regards -
Where is the privacy setting for the trial version of cs6 photoshop. I would like to turn it off. The answers given by 'Staff' are incorrect - it is NOT locared within Help/Adobe Product Improvement Program! I use W7 64bit.
daveteauk2 wrote:
Where is the privacy setting for the trial version of cs6 photoshop. I would like to turn it off. The answers given by 'Staff' are incorrect - it is NOT locared within Help/Adobe Product Improvement Program! I use W7 64bit.
You are correct.
The privacy settings will be those of the "trial experience" and that has nothing to do with the APIP.
Maybe this image will help: -
It is required to get the result set from the last query.
I need this SP to return the result set from the last query.
SET QUOTED_IDENTIFIER OFF
GO
SET ANSI_NULLS ON
GO
alter proc spQ_GetASCBillingRateIDs2
@ScheduleID CHAR(15),
@startdate smalldatetime,
@enddate smalldatetime
as
set nocount on
truncate table tbltmpgroup
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[tbltmptbltest]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)
drop table [dbo].[tbltmptbltest]
exec sp_CreateTblTmpGroup
insert into tbltmpgroup
SELECT DISTINCT
case when pd.billparent = 'N' then org.eligibleorgid
else isnull(af.parentid, org.eligibleorgid) end as billorgid,
pd.individualbill , pd.cobrabill, pd.billparent,
org.eligibleorgid, org.polid, org.orgpolicyid,
pp.planid, pp.rateid,
ps.ascinvoicedate,
case when ps.ascclaimfromdate > @startdate then ps.ascclaimfromdate
else @startdate end as premiumrundayFrom,
case when ps.ascclaimtodate < @enddate then ps.ascclaimtodate
else @enddate end as premiumrundayTo,
fts.effdate, fts.termdate,
case when fts.effdate > @startdate then fts.EffDate
else @startdate end as ascStartDate,
case when fts.termdate < @enddate then fts.termdate
else @enddate end as ascEndDate
FROM premiumschedule ps (nolock)
inner join orgpolicy org (nolock)
on org.ascinvoicerungroup between ps.premiumrundayfrom and ps.premiumrundayto
inner join FundingTypeStatus fts
on fts.orgpolicyid = org.orgpolicyid
and fts.fundtype = 'ASC'
and ((fts.effdate between @startdate and @enddate)
or (fts.termdate between @startdate and @enddate)
or (fts.effdate < @startdate and fts.termdate > @enddate))
inner join eligibilityorg o (nolock)
on org.eligibleorgid = o.eligibleorgid
inner join policydef pd (nolock)
on pd.polid = org.polid
inner join policyplans pp (nolock)
on pp.polid = org.polid
inner join program p (nolock)
on pd.programid = p.programid
left join orgaffiliation af with (nolock)
on org.eligibleorgid = af.childid
WHERE ps.premiumscheduleid = @ScheduleID
AND org.orgpolicyid <> ''
go
SELECT DISTINCT z.rateid, e.enrollid, z.ascstartdate, z.ascenddate
into tbltmptbltest FROM enrollment E (nolock)
inner join tbltmpgroup z
on e.rateid = z.rateid
go
CREATE UNIQUE CLUSTERED INDEX IDXTempTable ON tbltmptbltest(enrollid)
create index IDXTemptableDates on tbltmptbltest(ascstartdate,ascenddate)
go
select distinct t.*
from tbltmpgroup t
where rateid in (
select distinct t.rateid from VW_ASC_Billing)
order by billorgid
set nocount off
GO
SET QUOTED_IDENTIFIER OFF
GO
SET ANSI_NULLS ON
GOPlease post DDL, so that people do not have to guess what the keys, constraints, Declarative Referential Integrity, data types, etc. in your schema are. Learn how to follow ISO-11179 data element naming conventions and formatting rules (you have no idea).
Temporal data should use ISO-8601 formats. Code should be in Standard SQL as much as possible and not local dialect.
What you did post is bad SQL.
The prefix “tbl-” is a design flaw called tibbling and we do not do it. We seldom use temp tables in RDBMS; it is how magnetic tape file programmers fake scratch tapes.
If the schema is correct, then SELECT DISTINCT is almost never used.
Your “bill_parent” looks like a assembly language bit flag; we never use those flags in SQL.
“Funding_Type_Status” is an absurd name for a table. A status is a state of being, not an entity. A type is an attribute property. So this table ought to be column that is either a “funding_type” or “funding_status” (with the time period for the state of being
shown in other columns). But this hybrid is not possible in a valid data model.
Want to try again, with DDL and some specs?
--CELKO-- Books in Celko Series for Morgan-Kaufmann Publishing: Analytics and OLAP in SQL / Data and Databases: Concepts in Practice Data / Measurements and Standards in SQL SQL for Smarties / SQL Programming Style / SQL Puzzles and Answers / Thinking
in Sets / Trees and Hierarchies in SQL -
How to find out the roles set for the current session?
Hi,
I wanted to find out the roles set to the current session. Which system view or table gives this info?
Thanks
SeshuSELECT * FROM session_roles
-
Hi I am on an iphone 5 IOS7 and when I look at the 'Silence' setting at the bottom of the Don Not Disturb' screen - then even though all of the settings on that screen are off i.e. not green - the 'Silence' -'Only when iPhone is locked' setting is tickedP
Chris thanks for your reply, if none of the Do Not Disturb settings are switched on - then am I right that this setting will have no effect. I.e. I want my phone to ring at all times, so have turned off all of the do not disturb settings
-
When I click the launchpad, (I have icons on 2 pages) how do I return to the 1st set after the system seems to automatically shift to 2nd page?.
I'm not aware of anything I might have done, but it's annoying to want to use an icon on the 1st page, only to see all the icons on page 1 shift rapidly to the left
and I can't find a way to shift back to page 1.
Is there a way of getting all my Launchpad icons onto 1 page by adjusting their size?Thanks for that. I think the 2 little white dots were hidden by the white frame round the desktop picture on my screen
As you can see from the pic, there is a broad white frame around the image. -
On my mini ipad, when I'm on the internet -- a few times I will see a blue small pop-up boxes telling me to allow down/load or add something like the bubble-splash game or something similar. I jusr click ignore and it goes away.. I'm not sure why it's showing up lately.. I'm not sure if it's a virus or hacked in or a web brower matter..
Should I go to the cookies/histories in the safari setting and have it cleared out? Will that help resolve that??
And what does the advance-setting of the clearing the website data does? Sorry, I'm not familiar.. what's is that used for? Should I use that feature as well?? Thank you!This indicates corrupt files.
A restore should resolve. -
I own a new iPad and a MacBook Pro. An Apple store assistant changed my Apple ID on my iPad, and the new ID showed up in the iCloud setting on the iPad. However on my Mac laptop the iCloud still shows my old ID, so there is no synching of documents going on between the iPad and the laptop. What do I do?
On the mac's system preferences: click the iCloud icon, then "sign out" button. After, you can enter the new ID.
-
My iphone keeps freezing, especially in the mail setting. The support center indicates i should go to settings, then general settings, and then to update software, but there is no "update software" selection under general settings. can anyone help? Thanks!
PS i think I have an iphone4, but not sureYou may connect it to iTunes and update it from there.
-
Revision: 5554
Author: [email protected]
Date: 2009-03-25 13:46:00 -0700 (Wed, 25 Mar 2009)
Log Message:
Updating airframework and flex4 sample eclipse projects to more closely match the options set in the equivalent build.xml.
Modified Paths:
flex/sdk/trunk/development/eclipse/flex/airframework/.actionScriptProperties
flex/sdk/trunk/development/eclipse/flex/airframework/.flexLibProperties
flex/sdk/trunk/development/eclipse/flex/flex4/.actionScriptPropertiesIf you're still using Buckminster 3.6, I strongly suggest switching to 3.7 - it has a number of bug fixes and improvements. This applies to both headless, and the IDE (assuming Eclipse 3.7 Indigo).
Matthew -
Can apple move the Passcode setting into the Restrictions section ?
Hello,
I guess this would be an Apple development question. I work for a school district trying to manage many iPads. I can lock down most of the settings I do not want the students to access in the Restrictions area. One major flaw I discovered is the Passcode in Settings. Students are setting a passcode and locking the units which is causing a very frustrating situation for the folks that have to support these (restore the device).
If Apple would move the Passcode setting into the Restrictions area we would be able to lock it down. Does this make sense ?
ThanksThe ability to set a restriction on the passcode has been brought up on many occasions, but to date nothing has changed. You can add your voice via the feedback page here, if you wish:
http://www.apple.com/feedback/ipad.html
Regards. -
HT201304 remove the general setting or the reset setting on ipad
(1) After restricted all the needed setting inside the General setting, how to remove or grey out the General setting?
(2) If General setting can't remove or grey out, how to remove or grey out the "Reset" setting indie the General setting?Verify that your carrier supports Personal Hotspot for your device and that you have Personal Hotspot enabled on your cellular plan:
From Here > http://support.apple.com/kb/HT3574
Personal Hot spot
iOS System Requirements > http://support.apple.com/kb/HT3574
Understanding > http://support.apple.com/kb/HT4517
Trouble Shooting > http://support.apple.com/kb/TS2756
Maybe you are looking for
-
The old calender iOS6, in the year view, it shows how much busy I am in a day by indicating the color intensity. But the new calendar year view is totally useless!!! also too bright!! Why apple does this?? What is the way to revert the calendar back?
-
Payment block with a quantity reason when IR before GR
Hi, Currently, system sets payment block with a quantity variance reason when IR before GR for standard PO items. But this payment bock does not working for a Service PO items. In our system, we didn't maintain a talerance key DW as expained in the h
-
Dynamic Query string in Receiver HTTP_AAE adapter
Hi All, Currently I am working with a scenario where I need to use HTTP_AAE receiver adapter. I need to create the query string http://server:port/WebOrder?param=value dynamically. I created below mentioned UDF. DynamicConfiguration conf = (Dyna
-
Changing data directly in employee user details / who's who
Using: EP7, MSAD Hi all, I would like to know whether it is possible to add a modify button within the user details window (who's who) for changing data directly and not to change to a different location within the enterprise portal. if yes, how can
-
Can documents be attached to an infotype?
Hi, I need to create an infotype and allow attaching of documents to the infotype. The documents could be any format i.e. word, jpeg, etc. Are there any standard examples? Cheers, Warren.