Help needed from AWT GURU's
hi all
I am totally new to this AWT forum and also new to the concept. I need help in figuring out how to use this in a JSP.
1. I have used HTML so far to draw on the screen. But the problem is that it extends the screen length. I need it to find the screen.
2. Somebody said try using AWT but i am not sure how to go about it.
would appreciate some help from you AWT GURU's.
If you need the code i shall send it over after seeing your reply.
Thanks in advance
Be a bit more specific, please.
As far as I understand you by now, you want to use AWT in a JSP. I am quite sure that this will not work, as a JSP is basically a HTML page woth some Java inserted. But maybe you need to do something else...can you post some code or a more detailed description of your problem?
Similar Messages
-
Help needed from Adobe for unauthorised activity on my account
Help please!
I bought some education software from an Adobe supplier on the recommendation of my school. It turns out (without me knowing or being told when I placed the order) that I was being sold old software, at what he now claims was cost price (interesting as I subsequently bought the next version for just $30 more). I have not been able to register that software as it was the wrong version for my region, and after a month of trying I asked for a refund.
He is now accessing my account, (probably from a link in an email i sent him!!) and is trying to get the software he sold me registered so he doesn't have to refund me!
Okay, so bad enough that I have hassles with this "person" but worse that he has access to my account and I seem unable to change this.
This whole process has been a nightmare!! I need to close two open cases immediately but can't get hold of Adobe by phone or on chat!!! Help please!You should be able to contact chat support from http://adobe.ly/yxj0t6
-
Ok, so here's the not so sad story. I bought an iPod Touch 2g 16g through Ebay - so forget warranties. Luckily I did not pay much. The description said it was stuck on the apple logo, so I figured it would be an easy put into recovery mode and restore problem.
Not so much.
If you plug the iPod in and charge up the battery the LCD will come to life after a while with the apple logo, then it displays the spinning wheel with the apple logo over it. That will last anywhere from 10 - 15 minutes, then the iPod will go blank for a few secs and then start up the cycle all over again.
As stated, this iPod will NOT enter either DFU or recovery mode and believe me I've tried it several times several different ways with different timings, connected via USB to a Mac, connected to a different Mac running Windows, and connected to just the charger. Nothing. Occasionally the screen might go blank while holding the power and home buttons but nothing else happens and then it starts it's usual cycle again.
Again, iPod NOT recognized by iTunes on either Mac or Windows side. Since I got off Ebay and seller didn't know much about it, I have no idea if someone tried to jailbreak this or not.
I will not put much money into this machine. So I guess my question is: does this behavior mean that the motherboard is clearly fried? Are there any software programs that might diagnose what the problem is? Could it be as simple as a fried battery?
And most importantly, is this iPod simply toast or is there anything anyone can suggest????
Really any suggestions would be greatly greatly appreciated. Seems a shame to just trash an iPod touch that might need a simple fix...
If it helps matters, I can tinker with iPods somewhat and have torn down and replaced several iPod touch 1g and 2g glass and digitizers with no problems. I'm somewhat software savvy but the whole jailbreak thing is new territory... and I can't really figure out the command in Windows or Mac terminals to list all connected devices so I have no idea if the computer even knows the iPod is there, even if iTunes doesn't. Guess that's it... ummm, please help???Nothing huh? No one's had this problem or this isn't fixable... oh well... if anybody comes up with anything I'll check in occasionally...
-
Inconsistent Update error: JBO: 25014. Help Needed from Jdev team
Hi,
***Please help me in solving this issue. urgent!!!. Thanks.***
I need to know how can i Update after i browse throw a rowset
and set the row attributes. Simple posting the changes and
commit is giving me following error.
I am getting JBO:25014 when i try to update a detail table for
selected number of rows.
I have a JSP page which allows the user to select either at
master level or detail level using Radio Button and
2 Text fields, one for date and other for comments at master
level. This will appear mandatorily.
In detail level, Number of rows which will be dynamically
populated. If this level is selected, and say 5 lines are
displayed, I will be having 5 text fields for dates and 5 text
fields for comments. Upon submit, I pass these text fields
values as params and receive in JSP page as String arrays in a
seperate validation page .
At the database end, I have Order Master table and Lines detail
table.
For some records in Order table, I am able to update records in
both the tables. But for certain records in Order table, I am
unable to update the detail table and throws me a JBO:25014
error: : Another user has changed the row with primary key
oracle.jbo.Key
This record is very similar to other records and i am unable to
update this record from sql*plus.
In the validation Page, where i receive the parameters, I use
View objects for Orders and Details, executeQuery for selected
Order. Then I use Row Iterator for each of the view objects, in
between the row iterator tags, I set the row attributes with the
individual lines values if Libe level is selected or the common
header date and comments value to all lines.
Then i post changes and commit.
The code is below for the way I update lines records.
<jbo:DataSource id="ds"
appid="LivePoheaders.LivePoheadersAppModule"
viewobject="MyPOLinesView"/>
<jbo:RowsetIterate datasource="ds" >
<%
//trying to get a row object
rowln = ds.getRowSet().getCurrentRow();
// formatting my date input to a valid string
lnDateStr = PohdrFcastYear+"-"+PohdrFcastMon+"-"+PohdrFcastDay;
out.println(PohdrComments);
out.println("Header date" + lnDateStr);
formatter.applyPattern("yyyy-MMM-dd");
tempDate = formatter.parse(lnDateStr);
formatter.applyPattern("yyyy-MM-dd");
lnDateStr = formatter.format(tempDate);
lnVenFcastDate = new oracle.jbo.domain.Date(lnDateStr);
// setting the two attributes with input values
rowln.setAttribute("VendorForecastDate", lnVenFcastDate);
rowln.setAttribute("VendorComments",PohdrComments);
}catch( Exception e)
currErrorStatus = err.putErrorDesc(e.getMessage());
err.setCurrentErrorStatus(currErrorStatus);
%>
<jbo:RollBack appid="LivePoheaders.LivePoheadersAppModule"/>
<%
throw new oracle.jbo.JboException(e);
%>
</jbo:RowsetIterate>
<%
try
%>
<P> <b>Posting Changes ...</b> </P>
<jbo:PostChanges appid="LivePoheaders.LivePoheadersAppModule"/>
<P> <b>Committing Changes...</b> </P>
<jbo:Commit appid="LivePoheaders.LivePoheadersAppModule"/>
<P> <b>Commit Successful...</b> </P>
<%
currErrorStatus = "-1";
err.setCurrentErrorStatus(currErrorStatus);
}catch( Exception e)
currErrorStatus = err.putErrorDesc(e.getMessage());
err.setCurrentErrorStatus(currErrorStatus);
%>
<jbo:RollBack appid="LivePoheaders.LivePoheadersAppModule"/>
<%
throw new oracle.jbo.JboException(e);
%>From the JDeveloper 3.2.3 online documentation:
JBO-25014: RowInconsistentException
Cause: Comparison of the cached entity failed with the values in
the database for that entity. This could happen when another
user or operation has committed modifications to the same entity-
row in the database. This exception can also be thrown if the
equals() method on one of the domain-type attributes in the
entity fails.
Action: Choose from the following options:
--Verify that another user or operation has not modified the
same row in the database. If this entity has attributes of a
domain type verify that the equals() method on these domains do
not fail when comparing the existing cached value with the newly
fetched value.
--For any attributes/columns that are updated by the database,
modify the entity attribute definition by selecting Refresh
after update on the Attribute Settings page of the Entity Object
Wizard.
--Use view.executeQuery() frequently, especially after any
operations that result in data being changed. -
Help need from everyne " What does this mean"
Verify and Repair disk “Stash Back Up”
Checking HFS Plus volume.
Checking Extents Overflow file.
Checking Catalog file.
Invalid index key
Rebuilding Catalog B-tree.
Rechecking volume.
Checking HFS Plus volume.
Checking Extents Overflow file.
Checking Catalog file.
Checking multi-linked files.
Checking Catalog hierarchy.
Checking Extended Attributes file.
Checking volume bitmap.
Volume Bit Map needs minor repair
Checking volume information.
Invalid volume file count
(It should be 455649 instead of 446460)
Invalid volume directory count
(It should be 96500 instead of 95854)
Invalid volume free block count
(It should be 20444605 instead of 21555396)
Volume Header needs minor repair
Repairing volume.
Rechecking volume.
Checking HFS Plus volume.
Checking Extents Overflow file.
Checking Catalog file.
Checking multi-linked files.
Checking Catalog hierarchy.
Checking Extended Attributes file.
Checking volume bitmap.
Checking volume information.
The volume Stash Back Up was repaired successfully.
Mounting Disk
1 HFS volume checked
Repair attempted on 1 volume
1 HFS volume repaired
It happens on both the backup and the real drive, so i figured the drives are not faulty but something wrong with a file some where
plus help me
i keep getting errors and stuff when installing a software from the CD rom
I've change the rom and it still happens, so its not the rom itself
thanks in advanceApparently it was on both of your drives. Not surprising if the backup drive was a clone of the main drive.
yes it was a clone
i was tryning to install Logic 7 and the Jam packs
all had an error saying..
"Disk error, please reinstall the software again"
I've tried many times with no success
I installed it on another mac and it works beautiful
not sure whats wrong exactly -
Printer help needed from the Apple community
Hello Apple Community,
Can you help me to print from a new Mac to an old Canon printer?
I'm here in Vietnam (first time in Asia) as a teacher. I have the latest model MBP (running Mac OS X 10.8.4). There's an old Canon that I'm trying to print to. I've Google'd the model number but nothing comes up for Mac. There are sites in the Google search that say they have the software. I'm worried they might be malware sites.
On the back of the printer it says L11121E. But when I connect it (via USB) and open Print & Scan it detects it as a Canon LBP2900.
I looked here: http://support.apple.com/kb/HT4670 and here: http://support.apple.com/kb/HT4670.
But neither of those links list the Canon L11121E or LBP2900.
When I Google'd "L11121E mac driver" this link came up:
http://support.apple.com/kb/DL899
Do you think that would work?
I checked for updates from the App Store (and System Preferences Print & Scan) with the USB cable of the printer plugged in. Nothing came back.
I'm a teacher trying to print material for my students. Any help at all would be appreciated.
Confused,
.SeanThank you, Linc!
Following the instructions from AlexeyU (thread: https://discussions.apple.com/message/15765876#15765876) worked!
AlexeyU's instructions:
"Try this:
1) Download & Install official drivers for Lion v3.36 – http://support-au.canon.com.au/contents/AU/EN/0100359005.html
2) Download & Install this package –http://www.uzhva.com/temp/Canon_LBP3000_to_LBP2900_patcher.zip
3) Reboot
You probably will need to manually match your printer with LBP 2900 driver from drivers list." -
Hello, I wasn't paying much attentionI've accidentally installed the VST and RTAS together with the AU format :-( Just wondering if this mistake has just caused me 3 x times the amount of hard disk space! I don't think I'd be using Protools (VST) or any of Steinberg's DAW (RTAS) anytime soon, I'm still new to all this different types of plugins, could someone tell me if I should leave these formats (VST and RTAS) in my hard drive?
Thank you for readinglyndonfromcooks hill wrote:
Thanks so much for the reply! I did manage to locate the VST and Digidesign folders as per your previous instructions, however both have empty files in them, I then clicked each and "get info" from the menu bar, just to make sure, but both do not have any files, nor taking any hard disk space, which is strange, maybe your correct by saying the samples that was loaded initialy AU (at 30+ gig size) are only referenced for use by the other two formats when needed...anyways I'm only using the Kontakt Player for this library so NI doesn't provide any support for any related issues, all good
You're welcome!
A few thoughts:
First, make sure you check your plugin folders in both your hard drive library and home library. Perhaps it's in the other one (hard disk > library > plug-ins > etc. AND user name > library > plug-ins > etc.)
However, because installing libraries in different formats isn't unheard of, I would guess that it doesn't install the big honking sound files more than once, for the very thing you're concerned about. Just a guess though.
As for NI... yeah... they're not exactly known for good tech support!
lyndonfromcooks hill wrote:
Matt, just on the side note I'm a long time lurker from this forum and I've read and learned a lot from your postings, glad to say with your help, I'd leave this topic solved for now.
Thank you once again.
Thanks for the kind words!
(Finally, if after checking all the plug in folders, you still had questions about this, you could always post in the Logic forum since I know some of those people use both Logic and ProTools. I only use / and have installed AU's so haven't dealt with this one myself. I'm just kind of educated-guessing this!). -
Help needed from someone far more clever than me.
I'm trying to update the software on my e71 using Nokia software updater.
Everything seemed to be running smoothly. My software was being updated from 100.something to 110.something.
Then, as it was finishing my computer screen kept flashing up the message...
"A new USB device has been detected...
Nokia USB ROM
And then it asks me whether I want to connect the device to my Mac or the Virtual machine (I'm doing this via parallels on my mac).
This message flashes on and off intermittently, and it doesn't matter whether you click the 'virtual machine button'.
The download bar sticks and the information given is that it will downoad in 15 mins.
I have tried rebooting the computer, the phone. Nothing is working. It's very frustrating. Most frustrating of all, as the programme is still running it won't let me quit so I have to force quit the whole machine.
Any help gratefully received.
Thankyou.03-Dec-2008 10:42 AM
benjamin163 wrote:
Hey Rabi, we're you suggesting that the phone should be in offline mode whilst doing an upgrade? Why is that?
If he did, he's incorrect. Instructions say specifically that the phone must be in "General" profile.
As for N96 firmware updates, they're more often than not going to be by FOTA, which removes the need for a computer altogether. When I updated from 10.065 to 11.018, I did so by FOTA, but 11.018 to 11.101 was using NSU (and it failed first time round, too). Had I waited, I could have done that update by FOTA as well.
Was this post helpful? If so, please click on the white "Kudos!" star below. Thank you! -
Cant connect jsp with mysqlserver..help needed from person in jsp on linux
hii,
I have installed mysql on linux 7.x.This was installed during installation of linux.From the shell prompt i can go inside mysql and can successfully execute all query statements.
Now have downloaded mm.mysqljdbc driver(i.2c) and installed it,set the classpath in .bash_profile,sh file
Everything ,including Tomcat Apache server is running fine
But i am unable to connect a jsp page to mysql database.
A error message "server configuration denies access to datasource " is coming .
My code is like this
<%
String username-"root"
String password="sdctest"
%>
<% try
class.forname("org.gjt.mm.mysql.Driver");
java.sql.Connectioncon= java.sql.DriverManager.getConnection("jdbc:mysql://localhost/products"username,password);
then opening recordset ....
Error is coming in the second line while establishing connection.
Here i would like to mention that username and password is the username and password of the root user in LInux.
Now i mm confused what username and password will have to be used in JSP.Because i did nt have to specify any username or password while entering mysql.
If my problem is clear,somebody please help...all jobs stuck.Try doing it without the username and password, otherwise create a new user in MySQL.
-
Help needed from abapers working on fi module reports(urgent)
hi all,
i am developing a report for Asset Retirement.
in that i am not getting that where is the
1.Ret. Book Value is stored
2. Ret. Depreciation is stored
3. where the loss/ profit field is stored.
i have followed the standard report RAABGA01. but i am not getting in it that from
where these values r coming.
plz give guiadence to me to how to get it.
Thanks & Regards
Sanjeevhi,
look here:Re: help for asset retirement report
A. -
Check code ( urgent help needed from ABAP guys working on FI/CO)
hi all,
check my code & give me solution for getting only offsetting acounts depending on particular HKONT.
plz i need its solution urgently.
REPORT zglaccline NO STANDARD PAGE HEADING
LINE-SIZE 300
LINE-COUNT 65(3).
TABLES : bkpf, bseg.
DATA : BEGIN OF it_bkpf OCCURS 0,
bukrs LIKE bkpf-bukrs,
belnr LIKE bkpf-belnr,
gjahr LIKE bkpf-gjahr,
monat LIKE bkpf-monat,
budat LIKE bkpf-budat,
brnch LIKE bkpf-brnch,
xblnr LIKE bkpf-xblnr,
waers LIKE bkpf-waers,
END OF it_bkpf.
DATA : BEGIN OF it_bseg OCCURS 0,
gsber LIKE bseg-gsber,
hkont LIKE bseg-hkont,
kunnr LIKE bseg-kunnr,
sgtxt LIKE bseg-sgtxt,
bschl LIKE bseg-bschl,
wrbtr LIKE bseg-wrbtr,
dmbtr LIKE bseg-dmbtr,
pswsl LIKE bseg-pswsl,
kostl LIKE bseg-kostl,
prctr LIKE bseg-prctr,
aufnr LIKE bseg-aufnr,
shkzg LIKE bseg-shkzg,
augbl LIKE bseg-augbl,
END OF it_bseg.
DATA : BEGIN OF it_res OCCURS 0,
bukrs LIKE bkpf-bukrs,
gjahr LIKE bkpf-gjahr,
monat LIKE bkpf-monat,
belnr LIKE bkpf-belnr,
budat LIKE bkpf-budat,
brnch LIKE bkpf-brnch,
gsber LIKE bseg-gsber,
hkont LIKE bseg-hkont,
kunnr LIKE bseg-kunnr,
bschl LIKE bseg-bschl,
prctr LIKE bseg-prctr,
kostl LIKE bseg-kostl,
aufnr LIKE bseg-aufnr,
pswsl LIKE bseg-pswsl,
wrbtr LIKE bseg-wrbtr,
waers LIKE bkpf-waers,
dmbtr LIKE bseg-dmbtr,
xblnr LIKE bkpf-xblnr,
txt50 LIKE skat-txt50,
sgtxt LIKE bseg-sgtxt,
shkzg LIKE bseg-shkzg,
END OF it_res.
DATA : BEGIN OF itab_head OCCURS 0,
name1(20) TYPE c,
END OF itab_head.
SELECTION-SCREEN BEGIN OF BLOCK b_2 WITH FRAME TITLE text-002.
PARAMETERS : p_sel1 RADIOBUTTON GROUP sel,
p_sel2 RADIOBUTTON GROUP sel,
p_sel3 RADIOBUTTON GROUP sel.
SELECTION-SCREEN END OF BLOCK b_2.
SELECTION-SCREEN SKIP 1.
SELECTION-SCREEN BEGIN OF BLOCK b_1 WITH FRAME TITLE text-001.
PARAMETER p_bukrs LIKE bkpf-bukrs DEFAULT 'ML' OBLIGATORY.
SELECT-OPTIONS : s_belnr FOR bkpf-belnr.
SELECT-OPTIONS : s_gjahr FOR bkpf-gjahr OBLIGATORY.
SELECT-OPTIONS : s_monat FOR bkpf-monat.
SELECT-OPTIONS : s_blart FOR bkpf-blart.
SELECT-OPTIONS : s_budat FOR bkpf-budat.
SELECT-OPTIONS : s_waers FOR bkpf-waers.
SELECT-OPTIONS : s_hkont FOR bseg-hkont.
SELECT-OPTIONS : s_bldat FOR bkpf-bldat.
SELECTION-SCREEN END OF BLOCK b_1.
SELECT bukrs belnr gjahr monat budat brnch xblnr waers
INTO CORRESPONDING FIELDS OF TABLE it_bkpf
FROM bkpf
WHERE bukrs = p_bukrs
AND belnr IN s_belnr
AND gjahr IN s_gjahr
AND monat IN s_monat
AND blart IN s_blart
AND budat IN s_budat
AND bldat IN s_bldat
AND waers IN s_waers.
IF NOT it_bkpf[] IS INITIAL.
LOOP AT it_bkpf.
IF p_sel1 = 'X'.
SELECT gsber hkont kunnr sgtxt bschl wrbtr pswsl kostl shkzg
dmbtr prctr aufnr augdt augbl
INTO CORRESPONDING FIELDS OF TABLE it_bseg
FROM bseg
WHERE bukrs = it_bkpf-bukrs
AND belnr = it_bkpf-belnr
AND gjahr = it_bkpf-gjahr
AND pswsl = it_bkpf-waers
AND hkont IN s_hkont.
ELSEIF p_sel2 = 'X'.
SELECT gsber hkont kunnr sgtxt bschl wrbtr pswsl kostl shkzg
dmbtr prctr aufnr augdt augbl
INTO CORRESPONDING FIELDS OF TABLE it_bseg
FROM bseg
WHERE bukrs = it_bkpf-bukrs
AND belnr = it_bkpf-belnr
AND gjahr = it_bkpf-gjahr
AND pswsl = it_bkpf-waers.
AND koart <> 'S'.
ENDIF.
IF sy-subrc EQ 0.
LOOP AT it_bseg.
SELECT SINGLE txt50 INTO it_res-txt50
FROM skat
WHERE spras = 'EN'
AND ktopl = 'PCA'
AND saknr = it_bseg-hkont.
it_res-bukrs = it_bkpf-bukrs.
it_res-gjahr = it_bkpf-gjahr.
it_res-monat = it_bkpf-monat.
it_res-gsber = it_bseg-gsber.
it_res-belnr = it_bkpf-belnr.
it_res-budat = it_bkpf-budat.
it_res-brnch = it_bkpf-brnch.
it_res-kunnr = it_bseg-kunnr.
it_res-hkont = it_bseg-hkont.
it_res-sgtxt = it_bseg-sgtxt.
it_res-bschl = it_bseg-bschl.
it_res-wrbtr = it_bseg-wrbtr.
it_res-pswsl = it_bseg-pswsl.
it_res-waers = it_bkpf-waers.
it_res-dmbtr = it_bseg-dmbtr.
it_res-kostl = it_bseg-kostl.
it_res-prctr = it_bseg-prctr.
it_res-aufnr = it_bseg-aufnr.
it_res-shkzg = it_bseg-shkzg.
it_res-augbl = it_bseg-augbl.
it_res-xblnr = it_bkpf-xblnr.
APPEND it_res.
CLEAR it_res.
ENDLOOP.
CLEAR it_bkpf.
ENDIF.
ENDLOOP.
ENDIF.
LOOP AT it_res.
IF it_res-shkzg EQ 'H'.
it_res-wrbtr = it_res-wrbtr * -1.
it_res-dmbtr = it_res-dmbtr * -1.
ENDIF.
WRITE : /2(4) it_res-bukrs,
13(4) it_res-gjahr,
21(2) it_res-monat,
31(10) it_res-belnr,
44(10) it_res-budat,
55(4) it_res-brnch,
60(4) it_res-gsber,
70(10) it_res-hkont,
82(10) it_res-kunnr,
94(2) it_res-bschl,
104(10) it_res-prctr,
116(10) it_res-kostl,
128(12) it_res-aufnr,
142(5) it_res-pswsl,
148(13) it_res-wrbtr,
164(5) it_res-waers,
170(13) it_res-dmbtr,
187(16) it_res-xblnr,
205(50) it_res-sgtxt.
MODIFY it_res.
CLEAR it_res.
ENDLOOP.
plz give soltuion i am looking for it.
i will aslo reward all ur precious effort.
otherwise if anyone have any code on my reqirement then plz send it to me in my id- [email protected]
thanks
Message was edited by: sanjeev singhHi
You should a selection in BSIS and BSAS table instead of BKPF and BSEG:
DATA : BEGIN OF it_res OCCURS 0,
bukrs LIKE bkpf-bukrs,
gjahr LIKE bkpf-gjahr,
monat LIKE bkpf-monat,
belnr LIKE bkpf-belnr,
budat LIKE bkpf-budat,
brnch LIKE bkpf-brnch,
gsber LIKE bseg-gsber,
hkont LIKE bseg-hkont,
kunnr LIKE bseg-kunnr,
bschl LIKE bseg-bschl,
prctr LIKE bseg-prctr,
kostl LIKE bseg-kostl,
aufnr LIKE bseg-aufnr,
pswsl LIKE bseg-pswsl,
wrbtr LIKE bseg-wrbtr,
waers LIKE bkpf-waers,
dmbtr LIKE bseg-dmbtr,
xblnr LIKE bkpf-xblnr,
txt50 LIKE skat-txt50,
sgtxt LIKE bseg-sgtxt,
shkzg LIKE bseg-shkzg,
END OF it_res.
Open Item
SELECT *
INTO CORRESPONDING FIELDS OF TABLE it_res
FROM <b>BSIS</b>
WHERE bukrs = p_bukrs
<b>AND HKONT IN S_HKONT</b>
AND belnr IN s_belnr
AND gjahr IN s_gjahr
AND monat IN s_monat
AND blart IN s_blart
AND budat IN s_budat
AND bldat IN s_bldat
AND waers IN s_waers.
Cleared Item
SELECT *
APPENDING CORRESPONDING FIELDS OF TABLE it_res
FROM <b>BSAS</b>
WHERE bukrs = p_bukrs
<b>AND HKONT IN S_HKONT</b>
AND belnr IN s_belnr
AND gjahr IN s_gjahr
AND monat IN s_monat
AND blart IN s_blart
AND budat IN s_budat
AND bldat IN s_bldat
AND waers IN s_waers.
Max
Message was edited by: max bianchi -
Production Problem Help Needed From GURUS
I have the following procedure
create or replace package app_security_context_ipay AS
procedure set_region_ccode(i_regionccode IN varchar2);
END;
-- Create package Body which has access to set the context variables
CREATE OR REPLACE PACKAGE BODY APP_SECURITY_CONTEXT_IPAY AS
PROCEDURE SET_REGION_CCODE (i_regionccode IN varchar2)
IS
BEGIN
DBMS_SESSION.SET_CONTEXT('app_context_ipay','region_ccode',i_regionccode);
END;
END;
I have to Pass a long string in it that is
exec app_security_context_ipay.set_Region_ccode
('(130,''375988''),(130,''s1a''),(130,''S1E''),(130,''S1F''),(130,''S1H''),(130,''s25''),(130,''sb8''),(130,''SB9''),130,''SBB''),(130,''SBT''),(130,''SBU''),(130,''SBV''),
(130,''scn''),(130,''SCV''),(130,''seg''),(130,''sfa''),(130,''SNB''),(130,''SNC''),(130,''SPE''),(130,''SRL''),(130,''SS''),(130,''stt''),(130,''SVA''),(130,''SWK''),(130,''SWM''),130,''SXB''),130,''SXC''),130,''SXD''),130,''SXE''),130,''SXX''),130,''SY8''),130,''SZ''),(130,''SZ4''),(130,''SZ5''),(130,''SZD''),(130,''szs'')');
BUT when I pass the string it is truncating after 255 characters.
How can I pass the string to set my predicate to function properly
The Following error I got from the dump file
*** 2006-06-23 16:42:12.103
Error information for ORA-28113:
Logon user : CRUVPD
Synonym : CRUVPD.T_IPAY_USER
Policy name : TIPAYUSER_IPAY_POLICY
Policy function: SECUSR.OE_SECURITY_IPAY.REGION_CCODE_SEC
RLS predicate :
(REGCODE,CCODE) in ((130,'375988'), (130,'s1a'),(130,'S1E'),(130,'S1F'),(130,'S1
H'), (130,'s25'),(130,'sb8'),(130,'SB9'), (130,'SBB'),(130,'SBT'),(130,'SBU'), (
130,'SBV'),(130,'scn'),(130,'SCV'), (130,'seg'),(130,'sfa'),(130,'SNB'), (130,'S
NC'),(130,'SPE'),(130,'SRL'), (130,')
ORA-00920: invalid relational operator
ORA-00920: invalid relational operator
ANY Help is greatly appreciatedHi Kamal
Thanks for the reply I made the changes but again the same thing is happening. Let me explain you the problem in a bit detail.
we have a web application that passes a token that we use to set the context. If the token is less than 255 characters we dont have any problems but if the token exceeds 255 it truncates the rest that causes the predicate function to issue an incomplete where clause.
When I changed the code with the one you recommended the same thing happend again. Here is the out put.
SQL> CREATE OR REPLACE PACKAGE BODY APP_SECURITY_CONTEXT_IPAY AS
2 PROCEDURE SET_REGION_CCODE (i_regionccode IN varchar2)
3 IS
4 BEGIN
5 DBMS_SESSION.SET_CONTEXT('app_context_ipay','region_ccode',i_re gionccode ,4000);
6 END;
7
8 END;
9 10 /
Then i passed the same token as
SQL> exec app_security_context_ipay.set_Region_ccode ('(130,''375988''),(130,''s 1a''),(130,''S1E''),(130,''S1F'') -
,(130,''S1H''),(130,''s25''),(130,''sb8''),(130,''SB9''),130,''SBB''),(130,''S BT''),(130,''SBU''),(130,''SBV''), -
(130,''scn''),(130,''SCV''),(130,''seg''),(130,''sfa''),(130,''SNB''),(130,''S NC''),(130,''SPE''), -
(130,''SRL''),(130,''SS''),(130,''stt''),(130,''SVA''),(130,''SWK''),(130,''SW M''),(130,''SXB''), -
(130,''SXC''),(130,''SXD''),(130,''SXE''),130,''SXX''),130,''SY8''),130,''SZ'' ),(130,''SZ4''), -
(130,''SZ5''),(130,''SZD''),(130,''szs'')');PL/SQL procedure successfully completed.
*********************************************************************8
Then i queried one of the table that has the VPD on it
SQL> Select count(*) from t_ipay_user;
Select count(*) from t_ipay_user
ERROR at line 1:
ORA-28113: policy predicate has error
I checked the token in the context and find out that it was truncated
SQL> select sys_context ('APP_CONTEXT_IPAY','REGION_CCODE') from dual;
SYS_CONTEXT('APP_CONTEXT_IPAY','REGION_CCODE')
(130,'375988'),(130,'s1a'),(130,'S1E'),(130,'S1F') ,(130,'S1H'),(130,'s25'),(13
0,'sb8'),(130,'SB9'),130,'SBB'),(130,'SBT'),(130,'SBU'),(130,'SBV'), (130,'scn'
),(130,'SCV'),(130,'seg'),(130,'sfa'),(130,'SNB'),(130,'SNC'),(130,'SPE'), (130
,'SRL'),(130,'SS
Is there any way that I can pass the whole token that is greater than 255 character beacuse if it is do able on the Sqlplus level we can modify our application too. And its really important and urgent.
Thanks for all the help waiting for the reply. -
HT4929 help needed - from mobileme to icloud with pc plus smartphone but no i-products
I don't use an iphone or i anything else but have a mobileme mail account which I want to transfer to icloud - I have a pc which will need the icloud "adaptor" - what do I do next and what will I be able to use with my existing smartphone?
Firstly, I note that your profile states that you are using OS X 10.5.8, in order to use iCloud on your computer you need OS X 10.7.2 or better.
Secondly, I have asked for your email address to be edited out. Post your address in an open thread is a sure way to be bombarded by unwanted email, remember it will be here long after you have resolved your problem, for automated detection software to find.
If you want people to contact you, enable others to see your email address in your profile.
Finally, are you sure that these additional addresses are aliases and not sub accounts on a family pack, aliases from MobileMe should transfer to an iCloud when you migrate. -
Urgent Help Needed from MSI Tech!!
I have currently 65MB Kingston PC 133 and the system will boot all the way to Windows and stay stable.
I put 256MB Kingston PC 133 RAM and Windowns doesn`t detect anything more than 65MB.
MY PC then keeps resetting and even at some points powering off. Could the problem be main board damage or something ?
Beside the DIMM slots are 2 small black transistors or something and 1 has a burn mark on it.
PLZ HELP!!!------------
DXDIAG INFO
Operating System: Windows Me (4.90, Build 3000)
Language: English (Regional Setting: English)
System Manufacturer: Micro-Star Inc.
System Model: MS-6529
BIOS: American Megatrends
Processor: Intel(R) Pentium(R) 4 CPU 1500MHz
Memory: 64MB RAM
Page File: 49MB used, 1934MB available
Windows Dir: C:WINDOWS
DirectX Version: DirectX 9.0a (4.09.0000.0901)
DX Setup Parameters: None
DxDiag Version: 4.09.0000.0901 32bit
- ** DMI Information ** -
***************BIOS INFORMATION(TYPE0)***************
Length : 14h
Handle : 0h
Vendor Name : American Megatrends Inc.
BIOS Version : V1.3
BIOS Build Date : 02/25/02
BIOS starting Address Segment : f000h
BIOS starting Address Segment : 128 K
(7fc8da98h)BIOS Characteristics :
ISA is supported : Yes
MCA is supported : No
EISA is supported: No
PCI is supported : Yes
PCMCIA is supported : No
Plug and Play is supported : Yes
APM is supported : No
BIOS is Upgradeable (FLASH) : Yes
BIOS shadowing is allowed : Yes
VL-VESA is supported : No
ESCD supported is available : Yes
Boot from CD is supported : Yes
Selectable Boot is supported : No
BIOS ROM is socketed : No
Boot From PCMCIA is supported : No
EDD specification is supported : Yes
for NEC 9800 1.2MB 3.5" : No
for Toshiba 1.2mb 3.5" : No
5.25"/360 KB Floppy supported : Yes
5.25"/1.2 MB Floppy supported : Yes
3.5"/720 KB Floppy supported : Yes
3.5"/2.88 MB Floppy supported : Yes
Print Screen is supported : Yes
8042 Keyboard are supported : Yes
Serial Services are supported : Yes
Printer Services are supported : Yes
CGA video Services are supported : Yes
PC-98 : No
ACPI supported : No
USB Legacy is supported : No
AGP is supported : No
I2O boot is supported : No
LS-120 boot is supported : No
ATAPI ZIP Drive boot is supported : No
1394 boot is supported : No
Smart Battery supported : No
***************SYSTEM INFORMATION(TYPE1)***************
Length : 19h
Handle : 1h
Manufacturer Name : Micro-Star Inc.
Product Name : MS-6529
Version : 100
Serial Number : 00000000
UUID : 0000000000000000h
Wake-up Type : (04h)Modem Ring
***************BASE BOARD INFORMATION(TYPE2)***************
Length : 8h
Handle : 2h
Manufacturer Name : Micro-Star Inc.
Product Name : MS-6529
Version : 100
Serial Number : 00000000
***************SYSTEM ENCLOSURE OR CHASSIS(TYPE3)***************
Length : 11h
Handle : 3h
Manufacturer Name : Uknown Chassis Manufacture
Type : (03h)Desktop
Version : Version 1.00
Serial Number : 123456890
Asset Tag Number : 0123ABC
Bootup State : (02h)Unknown
Power Supply State : (02h)Unknown
Thermal State : (02h)Unknown
Security Status : (02h)Unknown
***************PROCESSOR INFORMATION(TYPE4)***************
Length : 20h
Handle : 4h
Socket Designation : PGA423
Processor Type : (03h)Central Processor
Processor Family : (b2h)Unknown
Processor Manufacturer : Intel
Processor ID : 00000f0ah 00000055h
Processor Version : Intel(R) Pentium(R) 4 Processor
Voltage : (06h)unknow
External Clock : (0064h)100 MHz
Max Speed : (0960h)2400 MHz
Current Speed : (05dch)1500 MHz
Status : (41h)CPU Socket Populated , CPU Enabled
Processor Upgrade : (08h)Slot 1
L1 Cache Handle :0005h
L2 Cache Handle :0006h
L3 Cache Handle :Processor has no L3 cache
***************CACHE INFORMATION(TYPE7)***************
Length : 13h
Handle : 5h
Socket Designation : Internal Cache
(0180h)Cache Configuration :
Cache Level : L1 Cache
Cache Socketed : Not Socketed
Location, relative to the CPU module : Internal
Cache Memory : Enabled
Operational Mode : Write Through
Maximum Cache Size : ( 8010h)1024 K
Installed Size : (0020h)32 K
Supported SRAM Type : (0020h)Synchronous Type
Current SRAM Type : (0020h)Synchronous Type
Cache Speed : Unknow
Error Correction : None
System Cache : Unified
Associativity : 4-Way
***************CACHE INFORMATION(TYPE7)***************
Length : 13h
Handle : 6h
Socket Designation : Internal Cache
(0181h)Cache Configuration :
Cache Level : L2 Cache
Cache Socketed : Not Socketed
Location, relative to the CPU module : Internal
Cache Memory : Enabled
Operational Mode : Write Through
Maximum Cache Size : ( 8010h)1024 K
Installed Size : ( 8004h)256 K
Supported SRAM Type : (0020h)Synchronous Type
Current SRAM Type : (0020h)Synchronous Type
Cache Speed : Unknow
Error Correction : None
System Cache : Unified
Associativity : 4-Way
***************MEMORY CONTROLLER INFORMATION(TYPE5)***************
Length : 16h
Handle : 7h
Error Detecting Method : (05h)32-bit ECC
Error Correcting Capability : (08h)Single Bit Error Correcting
Supported Interleave : (03h)One Way Interleave
Current Interleave : (03h)One Way Interleave
Maximum Memory Module Size : (09h)512MB
Supported Speeds : (000ch)70ns 60ns
Supported Memory Types : (000ch)Standard Fast Page EDO Parity ECC SIMM
Memory Module Voltage : (02h) 3.3V Supported
Number of Associated Memory Slots : 03h
Memory Module Configuration Handle : 0008h 0009h 000ah
Enabled Error Correcting Capabilities : Other
***************MEMORY MODULE INFORMATION(TYPE6)***************
Length : 0ch
Handle : 8h
Socket Designation : DIMM1
Bank Connections : (10h)RAS# 1 , RAS# 0
Current Speed : (00h)0 ns
Current Memory Type : (0002h)
Installed Size : (7fh)Module not installed , Single Bank
Enabled Size : (7fh)Module not installed
Error Status : (00h)Uncorectable errors:None , Corectable errors:None , From the event log:None
***************MEMORY MODULE INFORMATION(TYPE6)***************
Length : 0ch
Handle : 9h
Socket Designation : DIMM2
Bank Connections : (32h)RAS# 3 , RAS# 2
Current Speed : (00h)0 ns
Current Memory Type : (0500h)DIMM SDRAM
Installed Size : (06h)64 MB , Single Bank
Enabled Size : (06h)64 MB
Error Status : (00h)Uncorectable errors:None , Corectable errors:None , From the event log:None
***************MEMORY MODULE INFORMATION(TYPE6)***************
Length : 0ch
Handle : 0ah
Socket Designation : DIMM3
Bank Connections : (54h)RAS# 5 , RAS# 4
Current Speed : (00h)0 ns
Current Memory Type : (0002h)
Installed Size : (7fh)Module not installed , Single Bank
Enabled Size : (7fh)Module not installed
Error Status : (00h)Uncorectable errors:None , Corectable errors:None , From the event log:None
***************SYSTEM SLOTS(TYPE9)***************
Length : 0dh
Handle : 0bh
Slot Designation : PCI1
Slot Type : (06h)PCI
Slot Data Bus Width : (05h)32 bit
Current Usage : (03h)Available
Slot Length : (04h)Full Length
Slot ID : 0001h
Slot Characteristics1 : (0ch)
Slot Characteristics2 :PCI Power Management Enable
***************SYSTEM SLOTS(TYPE9)***************
Length : 0dh
Handle : 0ch
Slot Designation : PCI2
Slot Type : (06h)PCI
Slot Data Bus Width : (05h)32 bit
Current Usage : (04h)In use
Slot Length : (04h)Full Length
Slot ID : 0002h
Slot Characteristics1 : (0ch)
Slot Characteristics2 :PCI Power Management Enable
***************SYSTEM SLOTS(TYPE9)***************
Length : 0dh
Handle : 0dh
Slot Designation : PCI3
Slot Type : (06h)PCI
Slot Data Bus Width : (05h)32 bit
Current Usage : (03h)Available
Slot Length : (04h)Full Length
Slot ID : 0003h
Slot Characteristics1 : (0ch)
Slot Characteristics2 :PCI Power Management Enable
***************SYSTEM SLOTS(TYPE9)***************
Length : 0dh
Handle : 0eh
Slot Designation : PCI4
Slot Type : (06h)PCI
Slot Data Bus Width : (05h)32 bit
Current Usage : (03h)Available
Slot Length : (04h)Full Length
Slot ID : 0004h
Slot Characteristics1 : (0ch)
Slot Characteristics2 :PCI Power Management Enable
***************SYSTEM SLOTS(TYPE9)***************
Length : 0dh
Handle : 0fh
Slot Designation : PCI5
Slot Type : (06h)PCI
Slot Data Bus Width : (05h)32 bit
Current Usage : (04h)In use
Slot Length : (04h)Full Length
Slot ID : 0005h
Slot Characteristics1 : (0ch)
Slot Characteristics2 :PCI Power Management Enable
***************SYSTEM SLOTS(TYPE9)***************
Length : 0dh
Handle : 10h
Slot Designation : AGP
Slot Type : (11h)AGP 4X
Slot Data Bus Width : (05h)32 bit
Current Usage : (02h)Unknown
Slot Length : (04h)Full Length
Slot ID : 0000h
Slot Characteristics1 : (0ch)
Slot Characteristics2 :PCI Power Management Enable
***************SYSTEM SLOTS(TYPE9)***************
Length : 0dh
Handle : 11h
Slot Designation : CNR
Slot Type : (06h)PCI
Slot Data Bus Width : (05h)32 bit
Current Usage : (04h)In use
Slot Length : (04h)Full Length
Slot ID : 0000h
Slot Characteristics1 : (0ch)
Slot Characteristics2 :PCI Power Management Enable
***************OEM STRINGS(TYPE11)***************
Length : 5h
Handle : 12h
Count : (02h) -
Help needed from Nokia 8800 users??
Which bluetooth adaptors/dongle are nokia 8800 users using? And also how much did they cost?
I need one for mine but i'm not sure which is the right one to get. Any help would be much appreciated!! Cheers!!Do you mean bluetooth dongle for your PC ? I guess. My recommendation: buy a dongle that works with Microsoft Bluetooth software (assuming you have Windows XP with Service Pack 2, which has the Microsoft Bluetooth.
then everything is easy: you stick the USB dongle in, windows installs the drivers for it, you download PC Suite and start using the 8800 over Bluetooth.
Maybe you are looking for
-
Ipod doesnt not play audio when watching videos
why?? what can i do i already was recomened mpeg streamclip and i dont no what to demux it to im completely confused i dont no what to do might just take ipod back to the store and get a zune?
-
How do to put table of numbers into a scatter plot
I put all the numbers in the table but cannot put them into the scatter plot chart, how do I do this?
-
Problem in executing a unix command through java
hi i'm trying to execute unix command through java simple shell command like "ls -l >test " but i'm not able to see the result. there are no error messages. Code is: import java.lang.Runtime.*; class ExecDemo public static void main(String[] arg
-
I purchased additional iCloud storage for my iPhone5. Transaction went through, but storage data on my phone has yet to be updated. The purchased additional 10G storage has yet to be reflected. What to do? Thanks.
-
Acquiring DC Voltage Signal from HP3457
I have a question that I believe to be easy to solve. I am using LabVIEW to acquire DC Voltage from a HP3457A DMM. I can acquire the signal OK, but when I write the data to an lvm file only about every 8th measurement is correct (with the others bein