XSLT problem w/ ora:getProcessVersion
I am running version 10.1.3.3.
I am using a BPEL XPath extension function in a Transform activity in a BPEL process. I open the XSLT Designer, select "Advanced Functions", and choose "xpath-expression" from the component pallette.
With the cursor in the "XPath Expression" field, I hit "ctrl-space" to select ora:getProcessVersion. I save my XSLT doc, and deploy my BPEL service to my server.
When my process runs, I get the following in my log:
XML-22016: (Error) Extension function namespace should start with 'http://www.oracle.com/XSL/Transform/java/'.
I am allowing the editor to create the namespace for the XPath expression. How do I fix this?
XSL w/ function:
<ns0:SourceProcess>
<ns0:DomainId>
<xsl:value-of select="ora:getDomainId()"/>
</ns0:DomainId>
<ns0:ProcessId>
<xsl:value-of select="ora:getProcessId()"/>
</ns0:ProcessId>
<ns0:ProcessVersion>
<xsl:value-of select="ora:getProcessVersion()"/>
</ns0:ProcessVersion>
<ns0:ProcessURL>
<xsl:value-of select="ora:getProcessURL()"/>
</ns0:ProcessURL>
<ns0:InstanceId>
<xsl:value-of select="ora:getInstanceId()"/>
</ns0:InstanceId>
</ns0:SourceProcess>
Namespace definition
xmlns:ora="http://schemas.oracle.com/xpath/extension"
Similar Messages
-
Hi All,
I have oracle 11gR2 installed on OVM. From last few days I am getting below error ORA-600 in my alert.log file
Errors in file /u02/app/oracle/diag/rdbms/......./SID_ora_30314.trc (incident=169998):
ORA-00600: internal error code, arguments: [qcsprfro_tree:jrs present], [0x2B7CA0837030], [], [], [], [], [], [], [], [], [], []
from the above referenced trc file : I got below message:
DDE: Problem Key 'ORA 600 [qcsprfro_tree:jrs present]' was flood controlled (0x6) (incident: 169998)
ORA-00600: internal error code, arguments: [qcsprfro_tree:jrs present], [0x2B7CA0837030], [], [], [], [], [], [], [], [], [], []
"/u02/app/oracle/diag/rdbms/....../SID_eng11g02_ora_30314.trc" 60L, 3421C
Is anybody having any idea about this error's first argument [qcsprfro_tree:jrs present] ? I am not getting any reference document from oracle support also.
Thanks...Hello,
I have oracle 11gR2 installed on OVMAs previously posted, you must open a SR to My Oracle Support.
In *11.2* you have the possibility with ADR (Automatic Diagnostic Repository) to create a Incident Package that you could send to the Support. It can help in the resolution process.
Please, find enclosed a link to this new features in 11g:
http://download.oracle.com/docs/cd/E11882_01/server.112/e17120/diag002.htm#CHDJDBCH
Hope this help.
Best regards,
Jean-Valentin -
Hi all,
I got a problem with ORA-28000 in my form. In my app, it allows user to try maximum 3 time to logon, if the user fails, his/her user will be locked. The problem is, when Oracle locked that user, in on-error trigger I cannot catch that error and show the error message.
Anybody, please give me a hand.
Thank alotI put code (in the on-error trigger) here. please have look, thanks again.
IN_ERR_CODE NUMBER := ERROR_CODE;
BEGIN
IF(IN_ERR_CODE = 28001) THEN
ELSIF (IN_ERR_CODE = 28002) THEN
ELSIF (IN_ERR_CODE = 28011) THEN
ELSIF (IN_ERR_CODE = 28000) THEN
MESSAGE(ERROR_TEXT);
--LEAVE_FORM;
--clear_form(no_validate);
--RAISE FORM_TRIGGER_FAILURE;
--EXIT_FORM(NO_VALIDATE);
END IF;
END; -
Problem with ORA-25240 and msgId:=NULL
Hi,
I have a problem with ORA-25240- the documentation says that you cannot specify a message ID and correlation ID int the dequeue- options. However I am getting it setting msgid explicitely to NULL!
The code snippet is:
vr_message jms_message_with_header_type;
vr_dequeue_options DBMS_AQ.dequeue_options_t;
v_message_handle RAW(16);
BEGIN
vr_dequeue_options.deq_condition := 'tab.user_data.header.properties IS NOT NULL AND '
|| 'tab.user_data.get_string_property('MYServicename'') = '''
|| i_MY_Servicename || '''';
vr_dequeue_options.correlation := i_correlation;
vr_dequeue_options.navigation := DBMS_AQ.FIRST_MESSAGE;
-- should be default anyway:
vr_dequeue_options.msgid:=NULL;
vr_dequeue_options.wait := DBMS_AQ.NO_WAIT;
DBMS_AQ.DEQUEUE
queue_name => 'MYQUEUE',
dequeue_options => vr_dequeue_options,
message_properties => vr_message.header,
payload => vr_message.message,
msgid => v_message_handle
Any ideas?
Thank you,
SteffenHi,
the version is:
SQL> select * from v$version;
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bi
PL/SQL Release 10.2.0.3.0 - Production
CORE 10.2.0.3.0 Production
TNS for HPUX: Version 10.2.0.3.0 - Production
NLSRTL Version 10.2.0.3.0 - Production
SQL>
The example behind the link is not complex enough. They are not using deq_condition and correlationId of the deque- options. If I set one of these values to NULL the code works fine but it complains about msgId if I have both values set with msgId=NULL?!?
Thanks,
Steffen -
Real simple xslt problem/question
Hi, i have a real simple xslt problem but i just cant figure out how to do it by looking at various examples on the net. i have a xml document and in it are some elements with a "result" tag name. i want to use xslt to reproduce exactly the same xml document except with an attribute called "id" added to those elements with a "result" tag name. i'm sure that theres a simple solution to it but i just cant figure it out. any helps greatly appreciated, thanks
Start with the XSLT identity transform (I don't have it handy and it's fairly long, but you should be able to google it up). Add this:<xsl:template match="result">
<result id="">
<xsl:apply-templates>
</result>
</xsl:template> -
DDE: Problem Key 'ORA 445' was completely flood controlled
OK, I got this after a bunch of background process did not starts, I see there is a bug and patch for products that can be patched. Anybody else see it? Anything to do besides 3 fingered salute? Anyone know anything?
Virtual machine (some MS product), XP Professional SP3.
A few bits of alert log:
Fri May 25 18:47:09 2012
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 2
Using LOG_ARCHIVE_DEST_1 parameter default value as USE_DB_RECOVERY_FILE_DEST
Autotune of undo retention is turned on.
IMODE=BR
ILAT =18
LICENSE_MAX_USERS = 0
SYS auditing is disabled
Starting up:
Oracle Database 11g Express Edition Release 11.2.0.2.0 - Production.
Using parameter settings in server-side spfile D:\ORACLEXE\APP\ORACLE\PRODUCT\11.2.0\SERVER\DATABASE\SPFILEXE.ORA
System parameters with non-default values:
sessions = 172
event = "10795 trace name context forever, level 2"
sga_max_size = 512M
memory_target = 760M
memory_max_target = 760M
control_files = "D:\ORACLEXE\APP\ORACLE\ORADATA\XE\CONTROL.DBF"
compatible = "11.2.0.0.0"
db_recovery_file_dest = "D:\oraclexe\app\oracle\fast_recovery_area"
db_recovery_file_dest_size= 10G
undo_management = "AUTO"
undo_tablespace = "UNDOTBS1"
remote_login_passwordfile= "EXCLUSIVE"
dispatchers = "(PROTOCOL=TCP) (SERVICE=XEXDB)"
shared_servers = 4
job_queue_processes = 4
audit_file_dest = "D:\ORACLEXE\APP\ORACLE\ADMIN\XE\ADUMP"
db_name = "XE"
open_cursors = 300
parallel_servers_target = 0
diagnostic_dest = "D:\ORACLEXE\APP\ORACLE"
Fri May 25 18:47:24 2012
PMON started with pid=2, OS id=488
Fri May 25 18:47:24 2012
PSP0 started with pid=3, OS id=324
Fri May 25 18:47:25 2012
VKTM started with pid=4, OS id=1940 at elevated priority
VKTM running at (10)millisec precision with DBRM quantum (100)ms
Fri May 25 18:47:25 2012
GEN0 started with pid=5, OS id=1092
Fri May 25 18:47:25 2012
DIAG started with pid=6, OS id=1180
Fri May 25 18:47:25 2012
DBRM started with pid=7, OS id=1872
Fri May 25 18:47:25 2012
DIA0 started with pid=8, OS id=1196
Fri May 25 18:47:25 2012
MMAN started with pid=9, OS id=1212
Fri May 25 18:47:25 2012
DBW0 started with pid=10, OS id=1208
Fri May 25 18:47:25 2012
LGWR started with pid=11, OS id=1392
Fri May 25 18:47:25 2012
CKPT started with pid=12, OS id=1396
Fri May 25 18:47:25 2012
SMON started with pid=13, OS id=1456
Fri May 25 18:47:25 2012
RECO started with pid=14, OS id=1048
Fri May 25 18:47:25 2012
MMON started with pid=15, OS id=1476
Fri May 25 18:47:25 2012
MMNL started with pid=16, OS id=1480
Fri May 25 18:47:25 2012
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
starting up 4 shared server(s) ...
ORACLE_BASE from environment = D:\oraclexe\app\oracle
Fri May 25 18:47:28 2012
alter database mount exclusive
Successful mount of redo thread 1, with mount id 2665341696
Database mounted in Exclusive Mode
Lost write protection disabled
Completed: alter database mount exclusive
alter database open
Beginning crash recovery of 1 threads
Started redo scan
Completed redo scan
read 1670 KB redo, 196 data blocks need recovery
Started redo application at
Thread 1: logseq 865, block 47980
Recovery of Online Redo Log: Thread 1 Group 1 Seq 865 Reading mem 0
Mem# 0: D:\ORACLEXE\APP\ORACLE\FAST_RECOVERY_AREA\XE\ONLINELOG\O1_MF_1_76Z8WGYF_.LOG
Completed redo application of 1.20MB
Completed crash recovery at
Thread 1: logseq 865, block 51320, scn 1627729638
196 data blocks read, 196 data blocks written, 1670 redo k-bytes read
Fri May 25 18:47:35 2012
Thread 1 advanced to log sequence 866 (thread open)
Thread 1 opened at log sequence 866
Current log# 2 seq# 866 mem# 0: D:\ORACLEXE\APP\ORACLE\FAST_RECOVERY_AREA\XE\ONLINELOG\O1_MF_2_76Z8WJ0N_.LOG
Successful open of redo thread 1
Fri May 25 18:47:36 2012
SMON: enabling cache recovery
Fri May 25 18:47:39 2012
[776] Successfully onlined Undo Tablespace 2.
Undo initialization finished serial:0 start:135218 end:136015 diff:797 (7 seconds)
Verifying file header compatibility for 11g tablespace encryption..
Verifying 11g file header compatibility for tablespace encryption completed
SMON: enabling tx recovery
Database Characterset is AL32UTF8
Opening with Resource Manager plan: INTERNAL_PLAN_XE
Fri May 25 18:47:40 2012
Starting background process VKRM
Fri May 25 18:47:40 2012
VKRM started with pid=23, OS id=2056
replication_dependency_tracking turned off (no async multimaster replication found)
Starting background process QMNC
Fri May 25 18:47:42 2012
QMNC started with pid=24, OS id=2064
Completed: alter database open
Fri May 25 18:47:53 2012
Starting background process CJQ0
Fri May 25 18:47:53 2012
CJQ0 started with pid=26, OS id=3048
Fri May 25 18:47:54 2012
db_recovery_file_dest_size of 10240 MB is 8.43% used. This is a
user-specified limit on the amount of space that will be used by this
database for recovery-related files, and does not reflect the amount of
space available in the underlying filesystem or ASM diskgroup.
Fri May 25 18:52:43 2012
Starting background process SMCO
Fri May 25 18:52:43 2012
SMCO started with pid=22, OS id=3840
Fri May 25 19:03:01 2012
Time drift detected. Please check VKTM trace file for more details.
Fri May 25 20:03:49 2012
XDB installed.
XDB initialized.
Fri May 25 22:00:00 2012
Setting Resource Manager plan SCHEDULER[0x30FB]:DEFAULT_MAINTENANCE_PLAN via scheduler window
Setting Resource Manager plan SCHEDULER[0x30FC]:DEFAULT_MAINTENANCE_PLAN via scheduler window
Sat May 26 23:00:00 2012
Errors in file D:\ORACLEXE\APP\ORACLE\diag\rdbms\xe\xe\trace\xe_j000_2824.trc:
ORA-12012: error on auto execute of job "SYS"."BSLN_MAINTAIN_STATS_JOB"
ORA-06550: line 1, column 807:
PLS-00201: identifier 'DBSNMP.BSLN_INTERNAL' must be declared
ORA-06550: line 1, column 807:
PL/SQL: Statement ignoreds...
Mon Jun 11 22:59:52 2012
Errors in file D:\ORACLEXE\APP\ORACLE\diag\rdbms\xe\xe\trace\xe_cjq0_3048.trc (incident=34579):
ORA-00445: background process "J000" did not start after 120 seconds
kkjcre1p: unable to spawn jobq slave process
Errors in file D:\ORACLEXE\APP\ORACLE\diag\rdbms\xe\xe\trace\xe_cjq0_3048.trc:
Mon Jun 11 23:01:58 2012
Errors in file D:\ORACLEXE\APP\ORACLE\diag\rdbms\xe\xe\trace\xe_mmon_1476.trc (incident=34578):
ORA-00445: background process "m000" did not start after 120 seconds
Mon Jun 11 23:04:04 2012
Errors in file D:\ORACLEXE\APP\ORACLE\diag\rdbms\xe\xe\trace\xe_cjq0_3048.trc (incident=34580):
ORA-00445: background process "J000" did not start after 120 seconds
kkjcre1p: unable to spawn jobq slave process
Errors in file D:\ORACLEXE\APP\ORACLE\diag\rdbms\xe\xe\trace\xe_cjq0_3048.trc:
Mon Jun 11 23:06:10 2012
DDE: Problem Key 'ORA 445' was completely flood controlled (0x6)
Further messages for this problem key will be suppressed for up to 10 minutes
Mon Jun 11 23:08:16 2012
kkjcre1p: unable to spawn jobq slave process
Errors in file D:\ORACLEXE\APP\ORACLE\diag\rdbms\xe\xe\trace\xe_cjq0_3048.trc:
Mon Jun 11 23:12:45 2012
kkjcre1p: unable to spawn jobq slave process
Errors in file D:\ORACLEXE\APP\ORACLE\diag\rdbms\xe\xe\trace\xe_cjq0_3048.trc:
Mon Jun 11 23:15:41 2012
DDE: Problem Key 'ORA 445' was completely flood controlled (0x6)
Further messages for this problem key will be suppressed for up to 10 minutes
Mon Jun 11 23:17:47 2012
kkjcre1p: unable to spawn jobq slave process
Errors in file D:\ORACLEXE\APP\ORACLE\diag\rdbms\xe\xe\trace\xe_cjq0_3048.trc:
Mon Jun 11 23:21:58 2012
kkjcre1p: unable to spawn jobq slave process
Errors in file D:\ORACLEXE\APP\ORACLE\diag\rdbms\xe\xe\trace\xe_cjq0_3048.trc:
Mon Jun 11 23:26:36 2012
Process J000 died, see its trace file
kkjcre1p: unable to spawn jobq slave process
Errors in file D:\ORACLEXE\APP\ORACLE\diag\rdbms\xe\xe\trace\xe_cjq0_3048.trc:
Mon Jun 11 23:28:42 2012
DDE: Problem Key 'ORA 445' was completely flood controlled (0x6)
Further messages for this problem key will be suppressed for up to 10 minutes
Mon Jun 11 23:30:47 2012
kkjcre1p: unable to spawn jobq slave process
Errors in file D:\ORACLEXE\APP\ORACLE\diag\rdbms\xe\xe\trace\xe_cjq0_3048.trc:
Mon Jun 11 23:35:40 2012
DDE: Problem Key 'ORA 445' was completely flood controlled (0x6)
Further messages for this problem key will be suppressed for up to 10 minutes
kkjcre1p: unable to spawn jobq slave processThe beginning of a trace file:
Trace file D:\ORACLEXE\APP\ORACLE\diag\rdbms\xe\xe\trace\xe_cjq0_3048.trc
Oracle Database 11g Express Edition Release 11.2.0.2.0 - Production
Windows XP Version V5.1 Service Pack 3
CPU : 2 - type 586, 2 Physical Cores
Process Affinity : 0x0x00000000
Memory (Avail/Total): Ph:1182M/2047M, Ph+PgF:1825M/2661M, VA:1230M/2047M
Instance name: xe
Redo thread mounted by this instance: 1
Oracle process number: 26
Windows thread id: 3048, image: ORACLE.EXE (CJQ0)
*** 2012-05-25 22:00:00.096
*** SESSION ID:(14.3) 2012-05-25 22:00:00.096
*** CLIENT ID:() 2012-05-25 22:00:00.096
*** SERVICE NAME:(SYS$BACKGROUND) 2012-05-25 22:00:00.096
*** MODULE NAME:() 2012-05-25 22:00:00.096
*** ACTION NAME:() 2012-05-25 22:00:00.096
Setting Resource Manager plan SCHEDULER[0x30FB]:DEFAULT_MAINTENANCE_PLAN via scheduler window
ksktopplmod:error[439] is caught
Setting Resource Manager plan SCHEDULER[0x30FC]:DEFAULT_MAINTENANCE_PLAN via scheduler window
ksktopplmod:error[439] is caught
Setting Resource Manager plan SCHEDULER[0x30FD]:DEFAULT_MAINTENANCE_PLAN via scheduler window
ksktopplmod:error[439] is caught
Setting Resource Manager plan SCHEDULER[0x30F7]:DEFAULT_MAINTENANCE_PLAN via scheduler window
ksktopplmod:error[439] is caught
Setting Resource Manager plan SCHEDULER[0x30F8]:DEFAULT_MAINTENANCE_PLAN via scheduler window
ksktopplmod:error[439] is caught
Setting Resource Manager plan SCHEDULER[0x30F9]:DEFAULT_MAINTENANCE_PLAN via scheduler window
ksktopplmod:error[439] is caught
Setting Resource Manager plan SCHEDULER[0x30FA]:DEFAULT_MAINTENANCE_PLAN via scheduler window
ksktopplmod:error[439] is caught
Setting Resource Manager plan SCHEDULER[0x30FB]:DEFAULT_MAINTENANCE_PLAN via scheduler window
ksktopplmod:error[439] is caught
Setting Resource Manager plan SCHEDULER[0x30FC]:DEFAULT_MAINTENANCE_PLAN via scheduler window
ksktopplmod:error[439] is caught
Setting Resource Manager plan SCHEDULER[0x30FD]:DEFAULT_MAINTENANCE_PLAN via scheduler window
ksktopplmod:error[439] is caught
Setting Resource Manager plan SCHEDULER[0x30F7]:DEFAULT_MAINTENANCE_PLAN via scheduler window
ksktopplmod:error[439] is caught
Setting Resource Manager plan SCHEDULER[0x30F8]:DEFAULT_MAINTENANCE_PLAN via scheduler window
*** 2012-06-05 22:00:00.047
ksktopplmod:error[439] is caught
Setting Resource Manager plan SCHEDULER[0x30F9]:DEFAULT_MAINTENANCE_PLAN via scheduler window
ksktopplmod:error[439] is caught
Setting Resource Manager plan SCHEDULER[0x30FA]:DEFAULT_MAINTENANCE_PLAN via scheduler window
ksktopplmod:error[439] is caught
Setting Resource Manager plan SCHEDULER[0x30FB]:DEFAULT_MAINTENANCE_PLAN via scheduler window
ksktopplmod:error[439] is caught
Setting Resource Manager plan SCHEDULER[0x30FC]:DEFAULT_MAINTENANCE_PLAN via scheduler window
ksktopplmod:error[439] is caught
Setting Resource Manager plan SCHEDULER[0x30FD]:DEFAULT_MAINTENANCE_PLAN via scheduler window
ksktopplmod:error[439] is caught
Waited for process J000 to initialize for 60 seconds
*** 2012-06-11 21:16:46.903
Process diagnostic dump for J000, OS id=2532
os thread scheduling delay history: (sampling every 1.000000 secs)
0.001579 secs at [ 21:16:46 ]
NOTE: scheduling delay has not been sampled for 0.296929 secs 0.001483 secs from [ 21:16:41 - 21:16:47 ], 5 sec avg
0.002854 secs from [ 21:15:47 - 21:16:47 ], 1 min avg
0.003136 secs from [ 21:13:38 - 21:16:47 ], 5 min avg
Memory (Avail/Total): Ph:708M/2047M, Ph+PgF:1723M/2661M, VA:1211M/2047M
CPU Load: 0%
Stack:
------------------- Call Stack Trace ---------------------
calling location entry point arg #1 arg #2 arg #3 arg #4
7C90E514 00000000 00000000 00000000 00000000 00000000
7C8115F4 7C80B7EC 7ff98c00 3188e444 07b6cc3b 310af8f9
_sdbgrfude_dir_exists()+49 00000000 310af8f9 310afb44 00000100 3188e734
__VInfreq__dbgrgad_get_adrbase_directory()+342 _sdbgrfude_dir_exists() 3188e458 310af8f9 00000002 00000000
0803823D 08065AD2 00000004 00000000 310af8f9 000001ff
10085B2A 1028D8B6 0b4b1028 3188f570 3188f391 00000100
100842D4 10085A1C 0b4b1028 3188f678 3188ee64 3188ead0
100838AC 10084104 0b4b1028 3188f678 3188ee64 0b4b1028
10083626 10083634 0f9b9440 3188f678 3188fd50 00000100
100835EF 10083610 0f9b9440 3188f678 3188fd50 00000100
_npinli()+77 _nlstdgo() 0f9b9440 00000000 00000000 00000000
_opiinit()+150 _npinli() 00000001 00000000 00000000 00000000
_opimai_real()+212 _opiinit() 30dc00b0 ffffffff 00000000 00000001
_opimai()+125 _opimai_real() 00000003 3188feb0 00000000 00000000
_BackgroundThreadStart@4()+520 _opimai() 00000003 3188ff4c 89801ba8 000009e4
7C80B726 00000000 0b49b128 00000027 0b78d4cf 0b49b128
00000000 00000000 00000000 00000000 00000000 00000000
---------------- End of Call Stack Trace -----------------Since this is XE and a known bug, my expectations aren't too high. Should I just reboot every week?
There is a dblink that comes in every half hour and deletes and adds around 4K rows in a table. Everything else is just a bored database playing with itself.
I see from MOS ORA-00445 Is Reported While Waiting Too Long To Spawn A Process [ID 1382349.1] an event to set. Should I? Or should I make some dummy process to give the db something to do? (The thinking on the latter is that with so little for the db to do, Windows is making startup of normal things take longer).
Bug 9871302 by the way, buried in there is a mention of background processes failing to start.
Edited by: jgarry on Jun 13, 2012 9:28 AM (corrected xp sp) -
A newbie problem - Why 'ORA-00942: table or view does not exist'
Hi,
I am a newbie having a very basic problem.
I have just created a table by reading in a CSV file.
However when I try to SELECT from it, I get an error message saying :-
ORA-00942: table or view does not exist
How can this be when I can see the table name ?
I have tried a couple of things that I found in the Discussion Forum, like 'ALTER SCHEMA' and 'GRANT SELECT'.
Neither seemed sensible because I have just created a table, and sure enough, neither helped.
It's disappointing that something so basic can go wrong.
I will be very grateful for any advice.
BarryThis tool and forum is awesome. I'm a developer that was never touched HTMLDB and now with in a month I'm developing applications quickly and when I have a question I have this active forum to ask my sometimes stupid and othertimes valid questions! This is great! I don't know where you all find the time to help out so much!
It is a little addicting though... I find myself sitting down Saturday morning just to spend a couple of minutes reading the posts and next thing I know hours have gone by as I use what I read because I can't wait until Monday...
Thank you all for everything!!!! HTMLDB, APEX, Javascript and now in another post I'm learning about "Fine Grained Access Control" or "Virtual Private Database".
Enjoy, BillC :>) -
Problem with ora:output and xmlns attribute
Using lastest XDK.
I am using the built in extension ora:output in a stylesheet running via XSQL called from a small java prg.
I am using this to generate several html fragments that will get processed later on not by xsql or xml/xsl but by another java prg.
I have specifed the output as html BUT when I look at the output some of the elements have an xmlns attribute added i.e. xmlns:ora="http://www.oracle.com/XSL/Transform/java"....
Strange thing its not on all elements, "a", "tr", "td" tags are ok but "b", "br" and "table" have this attribute added.... HELP!!
How do I stop this attribute getting added...
Many thanks
Rob
PS I know if I use an "html" tag to wrap the output then only that element ends up with the xmlns attribute but I cant/dont want to do this as the prg running later will combine many of these fragments to create a single "real" html page.I'm not sure whether i understand your problem,
It doesnot need using the binding attribute If you wanna updating the value of each rows in the datatable.
below is a sample that updating each rows of a datatable
jsp file
<h:dataTable value="#[sampleBean.data}" var="row">
<h:column><h:inputText value="#{row.col1}"/></h:column>
</h:dataTable>
<h:commandButton value="update" action="#{sampleBean.update}"/>BackingBean:
SampleBean.java
public class Samplebean{
private SampleRow[] rows[];
public SampleRow[] getData{
return rows;
public String update(){
for(int i=0; i<rows.length; i++){
rows.update();
return "success";
SampleRow.java
public class SampleRow{
private String col1;
public String getCol1(){
return col1;
public void setCol1(String col1){
this.col1 = col1;
public void update(){
//write your code to save one row data to db/file here -
XSLT Problem with soap namespace
Hi there,
I have a problem transforming an XML doc with soap elements, using XSLT (Xalan).
Here's the input:
<?xml version = "1.0" encoding = "ISO-8859-1"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns="http://www.ean.nl">
<testthis>123456</testthis>
</soap:Envelope>and here's the XSL:
<?xml version="1.0"?>
<xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" exclude-result-prefixes="soap">
<xsl:output method="xml" indent="yes"/>
<xsl:template match="soap:Envelope">
<Orders>
<H01>
<xsl:value-of select="testthis"/>
</H01>
</Orders>
</xsl:template>
</xsl:transform>I expect to get something like:
<?xml version="1.0" encoding="UTF-8"?>
<Orders>
<H01>123456<H01>
<Orders>But instead I get:
<?xml version="1.0" encoding="UTF-8"?>
<Orders>
<H01/>
</Orders>I've tried a lot of things and I'm probably overseeing something stupid, but I'm stuck.
It seems as if anything without soap: namespace cannot be processed by my XSL (when I add it in the input XML and XSL it works).
Any help would be greatly appreciated.
Greetings,
ErikYes, I found it!
The following XSL for the same XML doc works!
<?xml version="1.0"?>
<xsl:transform xmlns:ean="http://www.ean.nl" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" exclude-result-prefixes="soap">
<xsl:output method="xml" indent="yes"/>
<xsl:template match="soap:Envelope">
<Orders>
<H01>
<xsl:value-of select="ean:testthis"/>
</H01>
</Orders>
</xsl:template>
</xsl:transform>Thanks, you pointed me in the right direction :-)
Erik -
Styling XML with XSLT Problem with javax.xml.transform???
I have been trying to make a transformation and seem to be having a problem in that javax.xml.transform can not be found while using jdk1.3....If I use jdk1.4, there is no problem....
Does anyone know how I can get things to work using jdk1.3???
(Description of what I am doing...1) Building XML Source 2) Setting up the XSLT File 3) Building Source Object 4) Build Result Object 5) Transforming the Data.....MY RESULT SHOULD BE AN HTML PAGE)
I have tried putting xerces.jar and xalan.jar in my CLASSPATH....but this still doesn't work....onyl thing that has worked is using jdk1.4 as my JAVA_HOME....
PLEASE HELP!!!!PLEASE HELP....your advice here would be greatly appreciated.....
-
XSLT problem with img tag in Saxon
Hi,
Iam getting a problem with <img> tag when transforming a document using Saxon transformer. In the input XSLT I have proper closing tag for <img>, but the output of the transformation is not well formed as the closing tag for <img> does not appear. I need to feed the output to a FO object to generate a print preview, but the output is not well-formed.
Kindly help to resolve the issue.
Kind Regards,
AbhinandanPerhaps that is because you are generating HTML as your output? As I recall, <img> tags don't have to be closed in HTML. So try generating XML instead if you need XML.
-
Problem with ORA -03113 End of Communication Channel
Hello,
Oracle Database 10g Release 10.2.0.1.0 - Production
Windows Server 2003 Version V5.2 Service Pack 2
Im having this problem when executing an stored procedure that executes a SQL statement wich has uses db links... I get this end of communication channel error.. so I thought it was a network issue, but all connections are fine.
The thing is that the procedure works fine, but just out of the nothing starts to give that problem, shutting down the database would not correct the problem, only restarting the server will fix the issue temporarily. I checked the dump file related to the process am running and I found this, I think it might be like a memory problem but not sure
Windows thread id: 5632, image: ORACLE.EXE (J002)
*** ACTION NAME:() 2010-09-01 09:18:59.490
*** MODULE NAME:() 2010-09-01 09:18:59.490
*** SERVICE NAME:(SYS$USERS) 2010-09-01 09:18:59.490
*** SESSION ID:(545.34045) 2010-09-01 09:18:59.490
*** 2010-09-01 09:18:59.490
ksedmp: internal or fatal error
ORA-07445: exception encountered: core dump [ACCESS_VIOLATION] [_kghalf+478] [PC:0x603BEB04] [ADDR:0x61E26AE8] [UNABLE_TO_WRITE] []
No current SQL statement being executed.
what do you recommend me to try here?Hi Ogan,
I agree ! Of course we are often obliged to compose with minimal downtime, testing resources, editors, management, time etc.
I have the same problems but keeping the base version is a pain and if you consider 10.2.0.5 you won't have to install many patchsets after this one on the 10gR2 homes/databases. It's a "good" investment if you have to keep the 10gR2 for several years (going to 11g is more difficult than installing a patchset !)
Oracle patchsets are great and well tested and if you pay your Oracle license you pay for that ! The patchsets, patchset updates, support make the difference with the versions you can download "freely" on OTN.
Best regards
Phil -
Hi
Please help me
when I log in to the database then i got "ORA-16014: log 1 sequence# 79239 not archived, no available destinations" . I'm using Windows 2000 advanced server as O.S. and Oracle is 8i ( Oracle8i Enterprise edition release 8.1.7.0.0.). At this circumstances I give a command ( when the aforesaid error occures) " alter database clear unarchived logfile group 1;" after that the database get started successfully. But the problem is, within 1/2 hour i got "ORA-00257". Then again I stop and restart the database and again give the same command; database started successfully again but for 1/2 hours . again i got "ORA-00257".
Please suggest me what I have to do.
Regards,
Debasis
+91 9836033924ORA 257 means archiver is stuck. So you should check that ARCHIVE_LOG_DEST is used properly for archiving and you should look into archiver trace file for more information about this problem.
Giving phone numbers on a public forum is not advised.
Adith -
Problem with ORA-19025 when joining tables
I am querying a table that stores xml datata in an xml column. I an query this column without problems. If I join the table with another table (not xml). I get the error below.
ORA-19025: EXTRACTVALUE returns value of only one node
19025. 00000 - "EXTRACTVALUE returns value of only one node"
*Cause: Given XPath points to more than one node.
*Action: Rewrite the query so that exactly one node is returned.
I don't seem to have any subnodes in the fields I am querying and I dont know how joining to the second table introduces the problem.
This produces the error I mentioned before
SELECT a.NAME,
EXTRACTVALUE(xmltype(a.DOCUMENTATION), '/metadata//idinfo/citation/citeinfo/title') TITLE,
EXTRACTVALUE(xmltype(a.DOCUMENTATION), '/metadata//idinfo/citation/citeinfo/origin') ORIGIN,
EXTRACTVALUE(xmltype(a.DOCUMENTATION), '/metadata//idinfo/citation/citeinfo/pubdate') PUBLICATION_DATE,
GDB_ITEMTYPES.NAME
FROM GDB_ITEMS_vw a, GDB_ITEMTYPES b
where a.UUID = b.UUID
This one gives no error
SELECT a.NAME,
EXTRACTVALUE(xmltype(a.DOCUMENTATION), '/metadata//idinfo/citation/citeinfo/title') TITLE,
EXTRACTVALUE(xmltype(a.DOCUMENTATION), '/metadata//idinfo/citation/citeinfo/origin') ORIGIN,
EXTRACTVALUE(xmltype(a.DOCUMENTATION), '/metadata//idinfo/citation/citeinfo/pubdate') PUBLICATION_DATE,
FROM GDB_ITEMS_vw a
I am using 11g 2
Any suggestions are welcome
Thanks
Edited by: user3444035 on Mar 18, 2011 1:43 PMHi,
Could you give some sample data from GDB_ITEMS_vw and GDB_ITEMTYPES? -
Problem with ORA-24372 invalid object for describe
I have unresolved problem with oracle message: ORA-24372 invalid object for describe. There is the client-server application which installed on users PCs. Client application is program on Delphi 7 that installed on several users PCs which works with Oracle DB 10g server (clients on users side 8.1.7) by means ODAC 5.7. Each user by means this application works with data on Oracle server. Each group of users uses its own schema. Each of this schema has grants to select data and execute procs in the main schema. During the time of operation I modified and compiled some procs in the main schema. As the result I found some depended Invalid objects in main schema. I recompiled them. There is no invalid objects in all schemas. But when I starts application in one user place (he uses for example schema X1) I see oracle message: ORA-24372 invalid object for describe. Other users in group which uses schema X1 works without this problem. There is finite aggregate of users of schema Х1 which has this message but some users of schema Х1 has no problem. All users has identical software and there is no any invalid objects in schemas! I try to start application on my PC using schema X1 and finds ORA-24372 then I try to start application on neighbors PC and it is all ok! It happened after I recompiled main schema in the time of users operation. What should I do to resolve this problem? Where to find the source of the problem: in client or in server?
To Mr. Sven Weller
The purpose of creation X1 (X2, Х3…) was restriction of users to access objects in the Main Schema. X1 has no any objects except function that returns her name for internal purposes. X1 has many synonyms for objects in the Main schema. There is no invalid objects in X1!
Maybe you are looking for
-
Cannot connect to TimesTen using ODBC
Hi, I have a TT datastore setup on an AIX server. I have a DSN on the AIX server setup in such a fashion that I can connect to the TT datastore and query the TimesTen database. Now I installed a TT client on my windows XP laptop and I am trying to es
-
11.1.2 Oracle Process Manager - start error
Hi, i start EPM system batch file, the Oracle Process Manager (EPM_epmsystem1) service did not start, i found this in starter.log. First time after installation the service went up without any problems. start: [starter] oracle.as.management.opmn.opti
-
Soft Proof in LR: Put it in LR!
I must have (like that, must have?) soft proofing abilities in LR if I am going to be able to use LR for preparing images for printing. Cheers
-
Hi everybody, Certainly my question will appear strange and even stupid , but I want to be sure to use the best syntax and also to be confirmed about some points. In the document Oracle XML DB Best practices, we can find a lot of statements for modif
-
I am having an issue getting FrameMaker installed and working. When I install it, it says it failed to install, but the application is still on my computer. When I try to open it, it crashes as soon as the text FMPopUpMenu is on the launcher. Are the