How to override the 'default' partition in composite.xml - urgent
All,
Version: 11.1.1.4
I have created a simple BPEL A which invokes another BPEL B which is deployed to 'default' partition. In the composite.xml of BPEL A I can see the WSDL location of BPEL B as *"http://localhost:7001/soa-infra/services/default/BPELB/BPELB.wsdl"*. I noticed that the name of the partition (i.e in our case its 'default') is hardcoded in the wsdl location. During deployment I want to override to other partition, how I can achieve this?
thanks
sen
If you want to change the partion name at run time then used Token ,value concept and define it in build.xml
For Example
<target name="replaceAllValues">
<input
message="Please enter full path of the file directory:"
addproperty="dirPath"/>
<replace dir="${dirPath}">
<replacefilter
token="OldValue."
value="Newvalue"/>
</replace>
</target>
Call the above target from ant build.xml before you deploying the service.
Regards,
Tarak.
Similar Messages
-
How to override the default height of tree component...
Hi,
Can anyone please tell me how to override the default height of <af:tree> component.
Actual Problem:
I have a PanelBox in which I have a ShowDetail component. ShowDetail contains Tree component. When I click on ShowDetail item the Tree component have to be displayed. But, PanelBox is expanding to TREE default height(27.27 ems) instead of expanding to exact height of Tree.
How to manage this issue?
Thanks
-SukumarDid you already try
<af:treeTable value="#{bindings.DashProjectPhasesDev.treeModel}"
var="node"
selectionListener="#{bindings.DashProjectPhasesDev.treeModel.makeCurrent}"
rowSelection="none" rowBandingInterval="0"
inlineStyle="width:810px; height:1100px;"> Check the last line with inlineStyle...
Julian -
How to override the default delete operation
Hi,
I am new to Jheadstart, java coding for that matter.
Here's my situation,
I have a view which is based on a function (function returns a collection).
I have created instead of triggers on this view to perform insert/update/delete operations.
All these DML operations work as expected in Oracle database.
Now, I created an Entity object and a view object on this view in my jheadstart project.
When I run this Jheadstart application my insert and search operations run fine but update and delete operations fail with JBO-26080 error.
The underlying oracle error is "ORA-02014: cannot select FOR UPDATE from view with DISTINCT, GROUP BY, etc."
I know that delete and update operations work fine in Oracle and hence I would like to override the default Jheadstart operations. Can any body tell me how can I do it or point me in right direction?Hi,
From the JHeadstart Developer's Guide, chapter TroubleShooting - Problem Assessment:
If you are getting a JBO error (Business Components for Java error), try to perform the same data retrieval or data manipulation action using the BC4J Tester. You can
invoke the tester through a right-mouse-click on the BC4J application module. If you get the same error using the BC4J tester, the problem is in the BC4J object definitions. If you added business rules, or other custom code to your BC4J objects that executes during your data retrieval or data manipulation action, you can debug this code line-by-line by running the tester in debug mode. You can also look up the JBO error in the JDeveloper online help, for each error possible causes and how to solve them are described.
It sounds to me like you will also get this error in the BC4J Tester. This means that the problem is not related to JHeadstart. You can go to the JDeveloper discussion forum http://otn.oracle.com/discussionforums/jdev.html and ask your question there without mentioning JHeadstart. Maybe there is some switch you can set in the BC4J object to let BC4J not use SELECT FOR UPDATE.
Hope this helps,
Sandra Muller
JHeadstart Team -
Hello Experts,
How do I force BAPI BAPI_PO_CREATE1 to use my declared purchase order unit of measurement instead
of getting it in the material master data? For example, material A has a default purchase UOM of CV, but
when I create a PO using material A I want the purchase UOM to be EA instead of the default CV.
How do I do that?Sorry settings in inforecord problem.
-
How to override the default "required" attribute for the UIComponent?
Hi, consider the following markup: <h:inputText id="txt_firstName" value="#{myBean.firstName}" required="true"/>
if I leave this field empty and hit the submit button, the required validator will fire an error msg. If however, I leave an empty space in the text box and hit submit button, it will go through no problem.
I'd like to override the required attribute, so it will trim the spaces first before decide if it really is empty:
//whatever the name of the method i'm overriding....
String value = (String)value;
if(value==null)throw new ValidatorException(whateverDefinedInTheBundle);
value = value.trim();
if(value.length==0)throw new ValidatorException(whateverDefinedInTheBundle);
How can I go about doing that?
Thank you.Did you already try
<af:treeTable value="#{bindings.DashProjectPhasesDev.treeModel}"
var="node"
selectionListener="#{bindings.DashProjectPhasesDev.treeModel.makeCurrent}"
rowSelection="none" rowBandingInterval="0"
inlineStyle="width:810px; height:1100px;"> Check the last line with inlineStyle...
Julian -
JRE 1.4.2: how to override the default xml parser?
Hi all,
I have JRE 1.4.2_03 and I need to replace the default xml "crimson" parser with xerces because the former one doesn't properly handle utf-8 BOM.
Does anyone have an idea where I should look at for this kind of configuration?
I skimmed thorugh the oracle docs but couldn't find anything.
I found a link describing how to change the xml parser in OC4J, but my understanding is that this has little to do with what I am looking for.
I need to force Saxon 8.6.1, that is invoked by means of java.exe from the command line, to pick up the right xml parser.
Has anyone else tried this out already?
Alternatively, is it safe to install JRE 1.5 in place of JRE 1.4.2 on a Oracle 10.1.0.4 database?
I am told that JRE 1.5 uses a different xml parser that should fix my problem.
Bye,
FlavioI sorted this out myself.
Downloaded the latest stable xerces binary (2.5.0) from http://xml.apache.org/dist/xerces-j/
Then I extracted xercesImpl.jar and put it under:
%ORACLE_HOME%\LIB\endorsed
I had to create the endorsed folder as it didn't exist.
Then, when invoking Saxon using java.exe, I added the following switch:
-Djava.endorsed.dirs=%ORACLE_HOME%\LIB\endorsed
That's it.
You can find some background info on:
https://jaxp.dev.java.net/Updating.html
Bye,
Flavio -
HT201448 How to override the default order of Websites, Wiki, and Xcode services?
Greetings,
On my Mac server, I have the Websites, Wiki, and Xcode services all enabled but, as detailed by the Apple support article, Xcode takes precedence over all, or Wiki if Xcode is disabled.
What I would like to see is a virtual host (e.g. wiki.myhost.com) and/or directory alias (www.mydomain.com/xcode) that opens the home page for the respective service while the default (e.g. www.mydomain.com) goes to the home page for mydomain.com.
I'm no httpd configuration expert but I expect some manual httpd configuration will be required. Any help appreciated.At the end, I decided to adopt Firefox add-on "Classic Theme Restore"—amazing output. I guess it is impossible to get such a space saving but full furnished solution somehow else.
-
How to override the default SOAP envelope prefix?
I have a Web service as an external reference. In run-time WebLogic generates SOAP messages with a default prefix <env:Envelope xmlns:env=http://schemas.xmlsoap.org/soap/envelope/”…>. Normally this is fine. However the Web service required a prefix as <soapenv:…>. How can I have WebLogic generate soap envelope prefix as soapenv instead env?
hello!
It's possible. You must implement handler and change envelope and body prefix. Here is example:
public class WsHandler implements SOAPHandler<SOAPMessageContext> {
public boolean handleMessage(SOAPMessageContext context) {
Boolean outboundProperty =
(Boolean) context.get(MessageContext.MESSAGE_OUTBOUND_PROPERTY);
if (outboundProperty.booleanValue()) {
try {
SOAPEnvelope envelope = context.getMessage().getSOAPPart().getEnvelope();
envelope.setPrefix("soapenv");
envelope.removeNamespaceDeclaration("env"); //remove old prefix
envelope.getBody().setPrefix("soapenv");
context.getMessage().saveChanges();
} catch (Exception e) {
throw new ProtocolException(e);
} -
Can I override the default ReadObjectQuery for an entity and specify my own call
Hi,
I am trying to override the default ReadObjectQuery and the ReadAllQuery for an entity and supply my own call.The entities have to be read from the database using a StoredProcedure.I tried doing something like
Descriptor desc=evt.getSession().getDescriptor(Configuration.class);
desc.getQueryManager().setReadObjectQuery(new ReadObjectQuery());
StoredProcedureCall call = new StoredProcedureCall();
call.setProcedureName("CONFIGSVC");
call.addUnamedArgument("CATEGORY");
call.addUnamedArgument("CFGKEY");
call.addUnamedArgument("VALUE");
desc.getQueryManager().getReadObjectQuery().setCall(call1);
desc.getQueryManager().getReadObjectQuery().addArgument("CATEGORY");
desc.getQueryManager().getReadObjectQuery().addArgument("CFGKEY");
desc.getQueryManager().getReadObjectQuery().addArgument("VALUE");
When I try to execute the query
ExpressionBuilder builder = new ExpressionBuilder();
Expression expr = (builder.getField("category").equal("GOESVC.GETTDEV")).and(
new ExpressionBuilder().getField("configKey").equal("GOESVC.REQ")).and(
new ExpressionBuilder().getField("value").equal("$ENV.$ORIGIN.GOESVC.REQ"));
ReadObjectQuery query = new ReadObjectQuery(Configuration.class, expr);
session.executeQuery(query);
I can see in the log that it completely ignores the call I set and tries to execute using the default call and that too with incorrect mappings between the "entity" field names and the actual database field names.
2002.11.01 08:50:52.640--ClientSession(8218801)--Thread[main,5,main]--#executeQuery(ReadObjectQuery(com.fmrco.gett.toplink.Configuration))
2002.11.01 08:50:52.750--ServerSession(7721862)--Thread[main,5,main]--Connection(5230193)--SELECT CFGKEY, CATEGORY, VALUE FROM CONFIG_ETT WHERE (((category = 'GOESVC.GETTDEV') AND (configKey = 'GOESVC.REQ')) AND (value = '$ENV.$ORIGIN.GOESVC.REQ'))
2002.11.01 08:50:53.375--ClientSession(8218801)--Thread[main,5,main]--EXCEPTION [TOPLINK-4002] (TopLink - 9.0.3 with StoredProcedureCall patch [email protected] 28/10/2002 (Build 423)): oracle.toplink.exceptions.DatabaseException
EXCEPTION DESCRIPTION: java.sql.SQLException: [SQL0206] Column CONFIGKEY not in specified tables.
INTERNAL EXCEPTION: java.sql.SQLException: [SQL0206] Column CONFIGKEY not in specified tables.
How to I solve this issue?
Thanks,
HariniHi,
The "ReadObjectQuery" in a descriptor's query manager can only be used to change the primary key read query. It will be used only for a ReadObjectQuery that either has a selection key, selection object, or an expression that exactly matches the primary key.
If you have a non-primary key query that you want to use, you can add it as a named query to the descriptor's query manager.
I'm not sure of the primary key of your descriptor, assuming that it is a 3 part composite key, then your ReadObjectQuery procedure is defined correctly in the descriptor. However the ReadObjectQuery is incorrect, you must use "get" not "getField", also you must use a single expression builder.
i.e.
ExpressionBuilder builder = new ExpressionBuilder();
Expression expr = (builder.get("category").equal("GOESVC.GETTDEV")).and(
builder get("configKey").equal("GOESVC.REQ")).and(
builder.get("value").equal("$ENV.$ORIGIN.GOESVC.REQ"));
ReadObjectQuery query = new ReadObjectQuery(Configuration.class, expr);
session.executeQuery(query);
you could also do,
Vector key = new Vector(3);
key.add("GOESVC.GETTDEV");
key.add("GOESVC.REQ");
key.add("$ENV.$ORIGIN.GOESVC.REQ");
ReadObjectQuery query = new ReadObjectQuery(Configuration.class);
query.setSelectionKey(key);
session.executeQuery(query);
If the descriptor primary key is not 3 part, then add this query as a named query.
Descriptor desc=evt.getSession().getDescriptor(Configuration.class);
ReadObjectQuery query = new ReadObjectQuery();
StoredProcedureCall call = new StoredProcedureCall();
call.setProcedureName("CONFIGSVC");
call.addUnamedArgument("CATEGORY");
call.addUnamedArgument("CFGKEY");
call.addUnamedArgument("VALUE");
query.setCall(call);
query.addArgument("CATEGORY");
query.addArgument("CFGKEY");
query.addArgument("VALUE");
desc.getQueryManager().addQuery("findConfigSVC", query);
To execute the query,
Vector arguments = new Vector(3);
arguments.add("GOESVC.GETTDEV");
arguments.add("GOESVC.REQ");
arguments.add("$ENV.$ORIGIN.GOESVC.REQ");
session.executeQuery(Configuration.class, "findConfigSVC", arguments); -
How to change the default KeyBinding of the TableView ?
how to change the default key binding of the TableView ?
When press Enter key on a editable TableView, the default action is to make the selceted cell to a editing state. I want to know if there is any way to make it select the right cell and wouldn't change the editing state of the selected cell when i press Enter key.
here is something i've done.
table.setOnKeyPressed(new EventHandler<KeyEvent>() {
@Override
public void handle(KeyEvent e) {;
table.requestFocus();
KeyCode code =e.getCode();
if(code == KeyCode.ENTER){
try {
new Robot().keyPress(java.awt.event.KeyEvent.VK_RIGHT);//XXX
} catch (Exception e1) {
Thanks,
ahiwoo
Edited by: 911579 on 2012-2-1 上午3:15
Edited by: 911579 on 2012-2-1 上午6:26
Edited by: 911579 on 2012-2-1 上午6:41thanks jsmith. now it works well.
table.addEventFilter(KeyEvent.KEY_PRESSED, new EventHandler<KeyEvent>() {
@Override
public void handle(KeyEvent e) {
table.requestFocus();
KeyCode code =e.getCode();
if(code == KeyCode.ENTER){
try {
new Robot().keyPress(key);//XXX javafx has no robot for key type...
} catch (Exception e1) {
e.consume();
}); -
How do change the default "Save As" from PSD to JPG?
I know a while back, Photoshop was offering to save my files as JPEGs as default. But now it defaults to saving as a PSD file, and I am having some difficulty figuring out how to make it save as a JPG file instead.
OS: CS 5.1 Production Premium, Mac
Adobe Photoshop 5.1
Thanks!Some of the posters up in this thread implied that this is a problem and/or is somehow not logical (yes, I know some of the posts are old).
That's not the case. There actually is rhyme and reason. Understanding it could help you make better decisions while using Photoshop.
Photoshop has a concept that you will be working with master documents and occasionally saving copies as work products. Conceptually a master document is saved into a file and loaded from a file so that it maintains all the features you added while editing.
So Photoshop considers that JPEG can actually house a master document IF (and only if) all the features of your document can be saved in the JPEG format. For this to be true, the document has to be a flat single layer, 8 bits/channel, and without other things such as extra channels. It can have paths.
Here's the logic as I understand it:
IF the last time you saved or opened the master document you're working on you saved it as a JPEG, and IF all the features currently in the document can be saved as a JPEG, your default format in the File - Save As menu will be JPEG.
If you change or add something in the document - say create a layer (or turn the Background into a layer), add a channel, or increase the bit depth to 16 - the next time you try to save it Photoshop will offer to save it in e.g., PSD format, since that format is now needed to save and re-load all the additional features of the document that you have added. At this point, if you override the default format and change it to JPEG, you'll find the [ ] As a Copy option will be automatically be given a checkmark which you can't change, indicating you cannot save all the current document features in that format.
For brand new documents you've just created, I believe Photoshop simply checks to see if the current document can be completely saved in the last master document format you saved something else in successfully, and offers that as the default if everything about the document will "fit" in that format. So if a few minutes ago you saved a JPEG master document, then you created a new flattened image in 8 bits/channel and now you do File - Save As, it will offer JPEG as the default choice.
Someone please correct me if I've missed anything here.
-Noel -
HOW TO override/modify default PTG homepage?
Hi:
I want to know how to override default portal to go homepage. I've create my wireless app that is already well deployed in a container and already working in PTG. I want to know how to modify the default ptg home. I've removed all apps from ptg to the guests users and just give access to guest to my application. I need a simple default homepage and i need to remove the SETUP link that is always displayed in /PTG/RM page. Also, can anyone tell me how to create a simple url to access my wireless portal?
for instance i have to write : portal.myorg.pt/ptg/rm and i would like to just hae to write : wire.morg.pt
How can i achieve this?
Thanks
JoaoI'm using a beta of 10G at the moment. What I did is change the oracle logo (logo.gif) with our own company's logo (http://host:port/ptg/images/logo.gif) (also the wbmp and png file) .
If you can get access to the webtool http://host:port/webtool/login.uix you can click on the system tab and look for
System > Wireless Server: Administration > Device (look at component configuration).
From here you can enable/disable standard interface options
Multi-Channel Server Setup Menu Configuration
Enable Login
Enable Logout
Enable User Info
Enable Application Customization
Enable Global Preset
Enable User Profile
Enable Self Registration
Enable User's Home Page
Enable Help
Help URL
You can change the logon page and other pages on <oracle_home>\wireless\j2ee\applications\ptg\ptg-web\modules\login
and
<oracle_home>\wireless\j2ee\applications\ptg\ptg-web\modules\iaswfr
I'm also curious if there is a more easy way to customize things.
Thomas -
How to override component default events
How to override the scroll panel default click event to custom event.
Events bubble by default... It sounds like you want to look at the Event class' stopImmediatePropagation method.
-
Add default partition to composite partition key
I am partitioning :
PARTITION BY RANGE (key, DATE)
partition p1 VALUES LESS THAN (key value, quarter 1)
partition p_default values (default)
above is not letting me add the default partition:
ORA-14007: missing LESS keyword
How do I add the default partitionWhat is a "default" partition?
For partitioning demos go to Morgan's Library at www.psoug.org and look up PARTITIONING. -
ADF &CSS :overriding the default ADF:tree icons and CSSs
Hi,
I have major layout issue regarding ADF:tree, how can I override the default icons?
I override the oracle CSS with my own, but when I did that, the tree images has changed, its now small hideous triangles, I copied some lines from the oracle CSS and it worked, but the small triangles still show inside the images, how can I remove those triangles, or can I write something in my CSS to override them?
Thanks in prior,
Ahmad EsbitaAhmad,
According to bug 5682799, you cannot work around this in the current JDeveloper release. It is fixed in 10.1.3.3 (due out "soon," perhaps as early as 15th June, according to another post on this forum)
John
Maybe you are looking for
-
I attempted to update my iphone 4 from the settings on my phone to the iOS6 operating system. After doing this and the download appeared to be complete, my screen showed the itunes hook up. I hooked up to itunes, it said that my phone needed to be re
-
I am using MAC OS X 10.7.5 and Adobe Reader 10.1.9. Now my pdf files will not print. The message is the system is "unable to covert the post script file" Suggestions? Never had this problem before.
-
Home directory for my documents
Hello, I am writing an international program which reads in files placed under the "My Documents" directory of the users home directory. I can get access to the homedirectory using System.getProperty("user.home"). But depending on the language, the "
-
Connecting xMII with ms sql2005
Hi All, I want to connect to ms sql2005 from xmii11.5 My xmii is installed in one machine and the sql2005 database is installed in a different machine. Is it mandatory to install sql2005 on the same machine where xmii is installed or we can put it ac
-
after installing windows 7 in boot camp i lost my recovery HD which is i can not download mac os via internet