Start parameter in header
Hi...guys...i really need all of the experts help out there...
content-type="....";
start="..."
type="..."
by using MimeMessage i'm able to set the content type...by using setHeader(..)...
but how do i actually set the start parameter...
the server need to identify the root...therefore i need the start paramater to pin-point it to a file...
Why don't you just dynamically insert a value into start.
Put something like this in your html:
start="{{start}}"
Replace {{start}} in Java using .indexOf({{) != -1 and substring().
Similar Messages
-
Help: Setting the multipart/related start parameter
I am wanting to set the "start" parameter on my ContentType header for
a multipart related message. Something like below.
DATA
ContentType: multipart/related; boundary=_XXX; start="<somecid@domain>"
I can set the content type to "multipart/related" by calling
MimeMultipart.setSubType(), but I cannot figure out how to set the
"start" parameter.
Anyone know.
Thanks,
ChrisDoes the SMTP server accept the mail for delivery of does it reject it?
If it doesn't reject it, is the issue with the format of the mime message, or possibly with whatever mail reader you are using.
It the SMTP server does reject the message I suppose the next question is what exactly is the "SMTP" server you are using?
IMHO you should not need to add anything to the mime multipart headers if using any RFC compliant SMTP server or reader. No-where in RFCs 2045,2046,2049,2822 etc can I find anything that relates to this "start" parameter.
If the SMTP server is a "proper" SMTP server it should not give two hoots about the mime multipart/mime body parts of the message as it "should" only be interested in the headers required to deliver the email. The mime multi/body part headers are generally not used to deliver. They are used by a Mime compliant mail reader to format and display the message.
We use Javamail to send regular "Newsletters" via a numbers of SMTP mail serviers running on IBM AS/400s, Sendmail on Unix, Lotus Notes servers and and others and have no problems.
If you want to send me your code to run on our systems to see if it really is your SMTP server or your message format that is giving trouble I can probably help. I can't open up a server for you as we have rather strict policies on who can do what with our servers. You can of course use our normal SMTP server to send a test email to me!!
Rgds,
SH -
Hi,
I have change my parameter form header in the Before Report Value to add a image by adding the image tag in the parameter form HTML tag. For the source of the image tag, I just put the image file name.
But now, when I try to run the report through web browser the image cannot be displayed. why thi will happen?
Where should I put the image in the webserver?
Thanks in advance.
Regards,
CheongPlease see answers posted in this url,
Generate a pdf page from OAF using XML publisher.
-Jeff -
Date range parameter in heading
Post Author: hstevens
CA Forum: Formula
Given that I've successfully set up a parameter to prompt for a date range, can I now somehow use that in a heading? Is there someway to extract the dates from that? Or do I have have to set up two parameters - one for the beginning and one for the end date?
Thanks.Post Author: Jean Antoine
CA Forum: Formula
To see all values entered, you would need to read and display every element in the array (multivalue). Something like this:
StringVar MVpos;
NumberVar nMaxLen := UBound(multivalue parameter); // sets the upper limits for the values the user entered
FOR i:=1 to nMaxLen Do
If i=1 Then
MVpos := multivalue parameter[i]
Else
MVpos := MVPos ', ' multivalue parameter[i];
Here, multivalue parameter represents the parameter you've created. You can place this formula in your header and see every entery entered.
Best of luck! -
Weblogic 11g hangs after adding -Xmanagement start parameter
Hi.
I've got very strange problem with Weblogic 11g.
After adding to startup parameter:
-Xmanagement:port=3107,authenticate=false,ssl=false
server hangs during start.
<May 2, 2012 2:45:19 PM> <INFO> <NodeManager> <Server output log file is '/u01/app/Oracle/Middleware/user_projects/domains/jmsZycie/servers/srv1/logs/srv1.out
'>
JAVA Memory arguments: -Xms512m -Xmx512m
WLS Start Mode=Production
CLASSPATH=/u01/app/Oracle/Middleware/patch_wls1036/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/u01/app/Oracle/Middleware/jrockit-jdk1.6.0_29-R
28.2.2-4.1.0/lib/tools.jar:/u01/app/Oracle/Middleware/wlserver_10.3/server/lib/weblogic_sp.jar:/u01/app/Oracle/Middleware/wlserver_10.3/server/lib/weblogic.ja
r:/u01/app/Oracle/Middleware/modules/features/weblogic.server.modules_10.3.6.0.jar:/u01/app/Oracle/Middleware/wlserver_10.3/server/lib/webservices.jar:/u01/ap
p/Oracle/Middleware/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/u01/app/Oracle/Middleware/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar:/u01/a
pp/Oracle/Middleware/wlserver_10.3/common/derby/lib/derbyclient.jar:/u01/app/Oracle/Middleware/wlserver_10.3/server/lib/xqrl.jar:/u01/app/Oracle/Middleware/pa
tch_wls1036/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/u01/app/Oracle/Middleware/jrockit-jdk1.6.0_29-R28.2.2-4.1.0/lib/tools.jar:/u01/app/Ora
cle/Middleware/wlserver_10.3/server/lib/weblogic_sp.jar:/u01/app/Oracle/Middleware/wlserver_10.3/server/lib/weblogic.jar:/u01/app/Oracle/Middleware/modules/fe
atures/weblogic.server.modules_10.3.6.0.jar:/u01/app/Oracle/Middleware/wlserver_10.3/server/lib/webservices.jar:/u01/app/Oracle/Middleware/modules/org.apache.
ant_1.7.1/lib/ant-all.jar:/u01/app/Oracle/Middleware/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar::/u01/app/Oracle/Middleware
PATH=/u01/app/Oracle/Middleware/wlserver_10.3/server/bin:/u01/app/Oracle/Middleware/modules/org.apache.ant_1.7.1/bin:/u01/app/Oracle/Middleware/jrockit-jdk1.6
.0_29-R28.2.2-4.1.0/jre/bin:/u01/app/Oracle/Middleware/jrockit-jdk1.6.0_29-R28.2.2-4.1.0/bin:/u01/app/Oracle/Middleware/wlserver_10.3/server/bin:/u01/app/Orac
le/Middleware/modules/org.apache.ant_1.7.1/bin:/u01/app/Oracle/Middleware/jrockit-jdk1.6.0_29-R28.2.2-4.1.0/jre/bin:/u01/app/Oracle/Middleware/jrockit-jdk1.6.
0_29-R28.2.2-4.1.0/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
* To start WebLogic Server, use a username and *
* password assigned to an admin-level user. For *
* server administration, use the WebLogic Server *
* console at http://hostname:port/console *
starting weblogic with Java version:
java version "1.6.0_29"
Java(TM) SE Runtime Environment (build 1.6.0_29-b11)
Oracle JRockit(R) (build R28.2.2-7-148152-1.6.0_29-20111221-2104-linux-x86_64, compiled mode)
Starting WLS with line:
/u01/app/Oracle/Middleware/jrockit-jdk1.6.0_29-R28.2.2-4.1.0/bin/java -jrockit -Xms512m -Xmx512m -Dweblogic.Name=srv1 -Djava.security.policy=/u01/app/Oracle
/Middleware/wlserver_10.3/server/lib/weblogic.policy -Dweblogic.ProductionModeEnabled=true -Dweblogic.system.BootIdentityFile=/u01/app/Oracle/Middleware/user
_projects/domains/jmsZycie/servers/srv1/data/nodemanager/boot.properties -Dweblogic.nodemanager.ServiceEnabled=true -Dweblogic.security.SSL.ignoreHostnameVeri
fication=false -Dweblogic.ReverseDNSAllowed=false -Xms2048m -Xmx2048m -Xnohup -Xverbose:gcpause,gcreport,memory -Xverify=none -Xmanagement:port=3107,authentic
ate=false,ssl=false -Xss:512k -Xdebug -da -Dplatform.home=/u01/app/Oracle/Middleware/wlserver_10.3 -Dwls.home=/u01/app/Oracle/Middleware/wlserver_10.3/server
-Dweblogic.home=/u01/app/Oracle/Middleware/wlserver_10.3/server -Dweblogic.management.discover=false -Dweblogic.management.server=http://10.2.124.194:7080
-Dwlw.iterativeDev=false -Dwlw.testConsole=false -Dwlw.logErrorsToConsole=false -Dweblogic.ext.dirs=/u01/app/Oracle/Middleware/patch_wls1036/profiles/default
/sysext_manifest_classpath weblogic.Server
[INFO ][memory ] Running with 32 bit heap and compressed references.
[INFO ][memory ] GC mode: Garbage collection optimized for throughput, strategy: Generational Parallel Mark & Sweep.
[INFO ][memory ] Heap size: 2097152KB, maximal heap size: 2097152KB, nursery size: 1048576KB.
[INFO ][memory ] <start>-<end>: <type> <before>KB-><after>KB (<heap>KB), <time> ms, sum of pauses <pause> ms.
[INFO ][memory ] <start> - start time of collection (seconds since jvm start).
[INFO ][memory ] <type> - OC (old collection) or YC (young collection).
[INFO ][memory ] <end> - end time of collection (seconds since jvm start).
[INFO ][memory ] <before> - memory used by objects before collection (KB).
[INFO ][memory ] <after> - memory used by objects after collection (KB).
[INFO ][memory ] <heap> - size of heap after collection (KB).
[INFO ][memory ] <time> - total time of collection (milliseconds).
[INFO ][memory ] <pause> - total sum of pauses during collection (milliseconds).
[INFO ][memory ] Run with -Xverbose:gcpause to see individual phases.
[INFO ][mgmnt ] Remote JMX connector started at address poc1:3107
[INFO ][mgmnt ] Local JMX connector started
<May 2, 2012 2:45:22 PM CEST> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable th
is check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
<May 2, 2012 2:45:23 PM CEST> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disab
le this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true>
<May 2, 2012 2:45:24 PM CEST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Oracle JRockit(R) Version R28.2.2-7-148152-1.6.0_29-20111221
-2104-linux-x86_64 from Oracle Corporation>
<May 2, 2012 2:45:26 PM CEST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.6.0 Tue Nov 15 08:52:36 PST 2011 1441050 >
<May 2, 2012 2:45:29 PM CEST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<May 2, 2012 2:45:29 PM CEST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
And this is it.
I am able to connetct from JRMC. After removing -Xmanagement all is working.Can you please take a thread dump and copy paste the stack trace for the Thread called "main" thread.
Please take atleast 3 thread dumps with an interval of 10 seconds and paste the "main" thread stack trace from all the 3 thread dumps.
After analyzing the stack trace we might be able to determine where it is hanging and thus giving us a clue where the issue could be.
Arun -
Footer starts just below header in Firefox and Opera
Hi all,
I have created a page: http://www.colombiareiser.no/ and finally the page looks like I would like it to look in Internet Explorer. But...the page look totally different in Opera and Firefox. In those browsers the footer (grey area) seems to start just below my header, thus "ignoring" my main content.
Anybody have any clue?
Thanks in advance and best regards,
IvanHi,
If I understood you proposed solution correct it didn't solve my problem. I think adding another </div> would make 1 too much on my page.
Looking further into this I have kind of identified the problem:
1. My page consists of 2 sets of divs; 1 is floated to the left while the other is floated to the right.
2. They are not filling all the space so there is like 10 px between them.
3. The footer seems to sneak up between the 2 floated div sets even though they are wrapped with another div.
Anybody know how I can solve this?
Best regards,
Ivan
http://www.colombiareiser.no
PS: My "unsexy" solution for this is to create a new div at the bottom of the page and then fill it with "*********************************" (and then maybe set colour to the same as the background). That keeps the footer in place. -
Cannot add parameter or header to post request URL in Data/Services
I'm trying to set up Data/Services in flash builder to connect to a RESTful API and as per usual Flash Builder attempts to scupper my efforts with it 'nearly but not quite' tools at every turn.
So I need to pass a POST request with a JSON string containing auth details to the URL:
https://myrestservice.com/rest/session/
For authentication to work I also need to add either:
A: an additional header containing: api_key = *my-api-key*
or
B: append the api key to the URL so: https://myrestservice.com/rest/session/?api_key=*my-api-key*
Simple right? Wrong. In the data/services tool for a custom http service there seems to be no way to add a custom header. Ok annoying as even a free chrome plugin can do this but hey I can live with that, I'll use option B. Wrong again. The URL field in Data/Services will ignore the query on the end of the URL. Seriously WTF. Am I missing something here?
So if I amend the auto-generated code in the super class and call it directly it works but if I try to take advantage of any of the tools the code is regenerated and overwrites my changes. Test Operation never works either.
I know there is a second class which is supposed to be used to extended and override the super class but only certain overrides seem to work so for example:
This works:
._serviceControl.baseurl = ("https://someotherurl.com")
This doesn't work:
._serviceControl.headers = ({"api_key = *my-api-key*"})
Oh and Test operation only seems to execute the super class. Once again a brick wall.
Working with flash builder seems to be 50pc coding 50pc deciding if it's a bug in your code or flash builder f*****g you over.
Any thoughts, workarounds, am I missing something would be much appreciated.
ThanksShameless bump here!
So nobody has had this issue before? -
Oracle not starting up throwing error
My listener problem is solved but the DB dosent start up and throws this error, I also have a dump of the startup.log and the copy of init.ora file.
[oracle@localhost ~]$ ./oracle.sh start
Starting Oracle: Password:
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 24-DEC-2009 23:01:32
Copyright (c) 1991, 2005, Oracle. All rights reserved.
TNS-01106: Listener using listener name LISTENER has already been started
Password:
Failed to auto-start Oracle Net Listene using /ade/vikrkuma_new/oracle/bin/tnslsnr
Processing Database instance "sales": log file /u01/app/oracle/oracle/product/10.2.0/db_1/startup.log
OK
startup.log
/u01/app/oracle/oracle/product/10.2.0/db_1/bin/dbstart: Starting up database "sales"
Thu Dec 24 23:02:00 IST 2009
logger: Can't find init file for Database instance "sales".
logger: Error: Database instance "sales" NOT started.
init.ora
# $Header: init.ora 06-aug-98.10:24:40 atsukerm Exp $
# Copyright (c) 1991, 1997, 1998 by Oracle Corporation
# NAME
# init.ora
# FUNCTION
# NOTES
# MODIFIED
# atsukerm 08/06/98 - fix for 8.1.
# hpiao 06/05/97 - fix for 803
# glavash 05/12/97 - add oracle_trace_enable comment
# hpiao 04/22/97 - remove ifile=, events=, etc.
# alingelb 09/19/94 - remove vms-specific stuff
# dpawson 07/07/93 - add more comments regarded archive start
# maporter 10/29/92 - Add vms_sga_use_gblpagfile=TRUE
# jloaiza 03/07/92 - change ALPHA to BETA
# danderso 02/26/92 - change db_block_cache_protect to dbblock_cache_p
# ghallmar 02/03/92 - db_directory -> db_domain
# maporter 01/12/92 - merge changes from branch 1.8.308.1
# maporter 12/21/91 - bug 76493: Add control_files parameter
# wbridge 12/03/91 - use of %c in archive format is discouraged
# ghallmar 12/02/91 - add global_names=true, db_directory=us.acme.com
# thayes 11/27/91 - Change default for cache_clone
# jloaiza 08/13/91 - merge changes from branch 1.7.100.1
# jloaiza 07/31/91 - add debug stuff
# rlim 04/29/91 - removal of char_is_varchar2
# Bridge 03/12/91 - log_allocation no longer exists
# Wijaya 02/05/91 - remove obsolete parameters
# Example INIT.ORA file
# This file is provided by Oracle Corporation to help you customize
# your RDBMS installation for your site. Important system parameters
# are discussed, and example settings given.
# Some parameter settings are generic to any size installation.
# For parameters that require different values in different size
# installations, three scenarios have been provided: SMALL, MEDIUM
# and LARGE. Any parameter that needs to be tuned according to
# installation size will have three settings, each one commented
# according to installation size.
# Use the following table to approximate the SGA size needed for the
# three scenarious provided in this file:
# -------Installation/Database Size------
# SMALL MEDIUM LARGE
# Block 2K 4500K 6800K 17000K
# Size 4K 5500K 8800K 21000K
# To set up a database that multiple instances will be using, place
# all instance-specific parameters in one file, and then have all
# of these files point to a master file using the IFILE command.
# This way, when you change a public
# parameter, it will automatically change on all instances. This is
# necessary, since all instances must run with the same value for many
# parameters. For example, if you choose to use private rollback segments,
# these must be specified in different files, but since all gc_*
# parameters must be the same on all instances, they should be in one file.
# INSTRUCTIONS: Edit this file and the other INIT files it calls for
# your site, either by using the values provided here or by providing
# your own. Then place an IFILE= line into each instance-specific
# INIT file that points at this file.
# NOTE: Parameter values suggested in this file are based on conservative
# estimates for computer memory availability. You should adjust values upward
# for modern machines.
# You may also consider using Database Configuration Assistant tool (DBCA)
# to create INIT file and to size your initial set of tablespaces based
# on the user input.
# replace DEFAULT with your database name
db_name=sales
db_files = 80 # SMALL
# db_files = 400 # MEDIUM
# db_files = 1500 # LARGE
db_file_multiblock_read_count = 8 # SMALL
# db_file_multiblock_read_count = 16 # MEDIUM
# db_file_multiblock_read_count = 32 # LARGE
db_block_buffers = 100 # SMALL
# db_block_buffers = 550 # MEDIUM
# db_block_buffers = 3200 # LARGE
shared_pool_size = 3500000 # SMALL
# shared_pool_size = 5000000 # MEDIUM
# shared_pool_size = 9000000 # LARGE
log_checkpoint_interval = 10000
processes = 50 # SMALL
# processes = 100 # MEDIUM
# processes = 200 # LARGE
parallel_max_servers = 5 # SMALL
# parallel_max_servers = 4 x (number of CPUs) # MEDIUM
# parallel_max_servers = 4 x (number of CPUs) # LARGE
log_buffer = 32768 # SMALL
# log_buffer = 32768 # MEDIUM
# log_buffer = 163840 # LARGE
# audit_trail = true # if you want auditing
# timed_statistics = true # if you want timed statistics
max_dump_file_size = 10240 # limit trace file size to 5 Meg each
# Uncommenting the line below will cause automatic archiving if archiving has
# been enabled using ALTER DATABASE ARCHIVELOG.
# log_archive_start = true
# log_archive_dest = disk$rdbms:[oracle.archive]
# log_archive_format = "T%TS%S.ARC"
# If using private rollback segments, place lines of the following
# form in each of your instance-specific init.ora files:
# rollback_segments = (name1, name2)
# If using public rollback segments, define how many
# rollback segments each instance will pick up, using the formula
# # of rollback segments = transactions / transactions_per_rollback_segment
# In this example each instance will grab 40/5 = 8:
# transactions = 40
# transactions_per_rollback_segment = 5
# Global Naming -- enforce that a dblink has same name as the db it connects to
global_names = TRUE
# Edit and uncomment the following line to provide the suffix that will be
# appended to the db_name parameter (separated with a dot) and stored as the
# global database name when a database is created. If your site uses
# Internet Domain names for e-mail, then the part of your e-mail address after
# the '@' is a good candidate for this parameter value.
# db_domain = us.acme.com # global database name is db_name.db_domain
# FOR DEVELOPMENT ONLY, ALWAYS TRY TO USE SYSTEM BACKING STORE
# vms_sga_use_gblpagfil = TRUE
# FOR BETA RELEASE ONLY. Enable debugging modes. Note that these can
# adversely affect performance. On some non-VMS ports the db_block_cache_*
# debugging modes have a severe effect on performance.
#_db_block_cache_protect = true # memory protect buffers
#event = "10210 trace name context forever, level 2" # data block checking
#event = "10211 trace name context forever, level 2" # index block checking
#event = "10235 trace name context forever, level 1" # memory heap checking
#event = "10049 trace name context forever, level 2" # memory protect cursors
# define parallel server (multi-instance) parameters
#ifile = ora_system:initps.ora
# define two control files by default
control_files = (ora_control1, ora_control2)
# Uncomment the following line if you wish to enable the Oracle Trace product
# to trace server activity. This enables scheduling of server collections
# from the Oracle Enterprise Manager Console.
# Also, if the oracle_trace_collection_name parameter is non-null,
# every session will write to the named collection, as well as enabling you
# to schedule future collections from the console.
# oracle_trace_enable = TRUE
# Uncomment the following line, if you want to use some of the new 8.1
# features. Please remember that using them may require some downgrade
# actions if you later decide to move back to 8.0.
#compatible = 8.1.0starts up the instance and shuts down immediately.
Here is the log
/u01/app/oracle/oracle/product/10.2.0/db_1/bin/dbstart: Starting up database "sales"
Thu Dec 24 23:26:47 IST 2009
SQL*Plus: Release 10.2.0.1.0 - Production on Thu Dec 24 23:26:47 2009
Copyright (c) 1982, 2005, Oracle. All rights reserved.
SQL> Connected to an idle instance.
SQL> ORA-00371: not enough shared pool memory, should be atleast 62198988 bytes
SQL> Disconnected
/u01/app/oracle/oracle/product/10.2.0/db_1/bin/dbstart: Database instance "sales" warm started. -
Display different header in the first page
I am displaying a table in the header (not an MS word header but header identified as something above <?start:body?> tag) of an rtf template. That table has 3 rows, I need to display one of those rows only in the first page and not in other pages.
I did not find any method on querying for the page number. So, I used a flag in the following manner: (Here, text with red color denotes RTF field). The following is what my RTF file looks like:
Header 1
Header 2
Header 3
init_field
This is the row to be shown on all the pages
if_field
This row should only be shown on the first page.
end_if change_variable
<?start:body?>
other stuff
<?end body?>
Where,
init_field
<?if: (xdoxslt:get_variable($_XDOCTX,'FLAG')!='NONFIRST')?><?xdoxslt:set_variable($_XDOCTX,'FLAG','FIRST')?><?end if?>
if_field
<?if: (xdoxslt:get_variable($_XDOCTX,'FLAG'))='FIRST'?>
end_if
<?end if?>
change_variable
<?xdoxslt:set_variable($_XDOCTX,'FLAG','NONFIRST')?>
BUT, I still see all the rows in all the pages. It seems like the value of variable 'FLAG' is not preserved between different pages. To me, it seems like, header is generated once and same header is used in all the pagesNot sure if this is exactly what you are looking for but why not just place the second line that needs to be on the first page only after the <?start:body?>
Header 1
Header 2
Header 3
init_field
This is the row to be shown on all the pages
<?start:body?>
if_field
This row should only be shown on the first page.
end_if change_variable
other stuff
<?end body?> -
How to make different 1st page header in Pages 5.0?
Title says it all.
Any suggestions?Try this.
On the second page of your document, place the cursor in the header.
Type the text you want to enter.
You will then have an option to start a new header.
If you don't see the option, select another section of the header, and it should appear. (Like below.)
Then edit the header on the first page. -
InDesign CS4 Mac starts but then freezes
Indesign CS4 Mac starts up but freezes from there. Trying to open files or create new ones results in the filename appearing at the bottom of the Window drop-down menu, but the file doesnt appear on-screen.
The same result occurs when opening files using "Open Recent File" as well as double-clicking the file in Finder or using "Open With" in FInder.
It couldnt have picked a worse time to crap out - right in the middle of an urgent contract!! Dang Cleetus!!
Any suggestions - apart from re-installing the program?
Cheers,
JohnTried renaming InDesign Saved data and InDesign Defaults and restarting InDesign - that didnt seem to fix the problem - after re-starting InDesign it seemed the program didnt write new versions of the files on re-start.
Will head back to the office & connect to my 23" display & see if ID works OK with that - that would confirm that it's a screen pointing issue?
Would re-installing ID help?
Cheers,
John -
Mapping audit_id in process flow with parameter
Hello!
I have a following request.
I would like to get AUDIT_EXECUTION_ID for certain Mapping in process flow and pass this ID to next mapping (all this with help of parameters I guess??) to get some data from AUDIT tables. How to do this?
OWB version 10.2.0.1
Thank you Gorazd
Edited by: gor on May 9, 2011 1:40 PMHi,
It is a bit complicated and technical.
Will give you a hint.
You need to install run_my_owb_stuff as a function, grant access, and create a public synonym.
Then within you have to add capturing of the execution_id as an additional custom parameter. (see below).
Once done. Add a Start parameter with same name to each Process Flow, and Bind it to any activity that you want to use the parameter with.
-- Override Parameters
dbms_output.put_line('Stage 3: Overriding Parameters');
-- override_system_input_params(l_audit_execution_id, p_system_params);
if p_task_type='PROCESS' then
-- GRI addition
l_custom_params := p_custom_params || ', p_execution_id=' || l_audit_execution_id;
override_custom_input_params(l_audit_execution_id, l_custom_params);
else
override_custom_input_params(l_audit_execution_id, p_custom_params);
end if;
-- override_custom_input_params(l_audit_execution_id, p_custom_params);
- Jojo -
Date parameter in a process flow
Hi,
I´m working with OWB 10.1.0.2.0.
I have a process flow with a transform.
The transform has a date parameter and I´ve defined a date parameter in the start activity, which is bound to the start parameter.
If I try to pass a date parameter in this form, sysdate, the process doesn´t recognize it and in the all_rt_audit_execution_params table i can see that the param process has no value.
If I pass a date parameter in this format 2006/08/07 the process works fine
I need to pass the date parameter from start activity to the process activity using expresions with sysdate,
may anyone help me? please and thanks
beatrizHi,
there are several tasks you want to accomplish:
1. "I need to check if the parameter file exists"
Therefor OWB has the File Exists Activity (Process Flow). This one checks if a file exists with specified name on specified location. If so it returns with SUCCESS. If not, it returns a WARNING. In second case you should do a sleep for a while and then re-check.
2. "accessing the date value from the parameter file"
There will be several ways to do this. The easiest one may be, to declare a external Table on this file and simply select from it (use it as a source in your mapping)
3. "After the ETL is finished running, the name of the parameter file needs to be changed"
In your process flow you create a user defined activity. In this one you start cmd.exe (on windows) and execute any DOS-commands you like. In this case a move or rename.
Hope I could help you...
Bye,
iOn. -
Need Information On SIP Contact Header parameters wlsscid and sipappsession
Hi
We are using OCCAS Web Logic server to deploy our application. The content header information has fields wlsscid & sipappsessionid which are coming as default. Want to understand more how & when these fields are getting populated and their significance. Please find the message snippet below
Via: SIP/2.0/TCP 10.68.20.101:5067;*wlsscid=d09c87074527*;branch=z9hG4bK6f882d53b3f7e95ef23452ec3412ab76;received=10.68.20.104
Via: SIP/2.0/UDP 10.48.27.197:5090;branch=z9hG4bK_IMSCA0500514.000_51c3d4c797ac2666f8b9fddc1bd7534c01;lskpmc=S05
Via: SIP/2.0/TCP 10.48.27.197:5070;branch=z9hG4bK_IMSCA0500514.000_32e277815bbabf5de92486514f1e4ad3;lskpmc=P07
Via: SIP/2.0/UDP 10.68.20.101:5168;branch=z9hG4bKnashds8
Record-Route: <sip:10.68.20.101:5067;*wlsscid=d09c87074527;lr;sipappsessionid=app-5u4nn0gjyl4j*;wlssrrd=out>
Record-Route: <sip:[email protected]:5090;routing_id=775a4689c391524586728ff1f57883f6;lskpmc=S05;lr;interface=bcc;tid=51c3d4c797ac2666f8b9fddc1bd7534c01>
Record-Route: sip:pcscf.ims2.mlab:5070;routing_id=pcscf_a_side;lskpmc=P07;lr
The OCCAS server configured with below SIP parameters:
enable-local-dispatch- false
server-header- none
server-header-value-WebLogic SIP Server
globally-routable-uri -false
Enable Contact Header For Non-Reliable Provisional(1xx) Response-false
Default Form for Header Insertion -long
If I set the sip parameter “use-header-form” i.e “Default Form for Header Insertion” with option “compact” will it reduce the size of the header?
Could anyone provide some information on removal of above fields (wlsscid & sipappsessionid) to overcome some sizelimitations which I am facing when sending this request to other applications and some information regarding these parameters.
Thanks in Advance,
KranthiHello Kranthi,
Here is an explanation of these parameters:
The wlsscid identifies the cluster ID of the cluster that originated the SIP message during a software upgrade. The sideways forwarding mechanism uses this attribute to ensure that messages are delivered to a compatible cluster.
sipappsessionid is the id of the sip application session; used with encodeURI and some other mechanisms
You can find an explanation on these custom params here:
http://download.oracle.com/docs/cd/E13153_01/wlcp/wlss40/notes/new.html#whatsnew
Look for Table 1-4 WebLogic SIP Server Parameters
Regarding restricting size of headers:
RFC 3261 does not have any restriction on the size of any header in any SIP message. Other implementations having restrictions are not adhering to the RFC, imho.
Having said that, to reduce the size of header you could use the compact config option, however that will only compact the header name ie, From: will f:
You will get some saving but that wont be significant.
cheers,
Mihir -
Header Row Repeating Erratically
Hi,
I have a problem with a dynamic table using Adobe Lifecycle Designer 8.0 and Adobe Acrobat Professional 8.0.
The table starts with a header row and a single row. The user can add additional rows and the table flows onto multiple pages. Everything appears OK, but when EITHER the user goes back to page 1 or if the user closes and reopens the file, there can be multiple header rows repeated on page 1. Sometimes there might only be 2 header rows, but other times there can be upwards of seven header rows one on top of the other.
This is wrecking the layout and my head. Has anyone had similar problems or could give me a direction as to where I am going wrong.
Thanks in advance.
NiallHi,
I am facing the same issue.
My table header has 2-3 rows of data...the data is populated dynamically. The text fields are set to expand, so I have to make the subforms to flowed.
As soon as I set the subforms to Flowed...evrything overlaps on the second page.
Please help.
Regards
Neha
Maybe you are looking for
-
I just installed the newest version of Firefox version30. It wont play videos on youtube but i figured out what to do to fix that (change to "never activate" on Shockwave Flash add-on in plugins). But if i leave that setting on then the game that i t
-
How can i send a folder containing multiple excel file to a mail address?
hi , i have report showing details sales report. Key field is customer id. my requirement is to send the output of this report as excel file to a mail id according to customer id. suppose there are 100 customer id , so 100 excel sheet will g
-
Report integration to forms in 10g IDS
Hi My package was created using D2K 6.0 version. I donot have access to 6i. Converted the same in 9i first. The proceeded to 10g. While converting forms there were no problems. But reports is a different story. If i compile and run the rdf file in re
-
How does call library / .dll file work?
I'm helping someone troubleshoot their machine / LabVIEW program. I'm fairly new to LabVIEW, and I'm not sure what part of the program is doing. I've attached the .vi in question. In the middle of the page there is a sub.vi with a blank icon with
-
Blank Search Pane after certain searches
I have strange issues after migrating from Robohelp 8 to Robohelp 9. Neither of these issues come up if I view the project in Robohelp HTML before publishing, only after I publish with WebHelp Pro do these come up. I have some searches that say they