Writing Exception into ccBPM container trace from Graphical mapping
Hi guys,
I followed the Guarneri's blog /people/alessandro.guarneri/blog/2006/01/26/throwing-smart-exceptions-in-xi-graphical-mapping
It works fine within message monitor, but at the trace of ccBPM nothing appears! I'm talking about the trace of the container at the message mapping in the ccBPM. (I increased the trace level, but didn't solve)
Anyone knows if it is possible to use this approach for the ccBPM container trace as well, or I'm missing something here?
Thanks in advance & regards,
Ricardo.
Hi Gonzalo,
you wrote:
>>Mark the tag 'Create new transaction' in your transformation step in your BPM. Then navigating in the sxmb_moni_bpe transaction wil bring you to your message. But it is hard to find the XML there.
The low technology solution is simulating the data flow in your bpm throw a sequence of chained mapping tests. <<
I already have the option "create new transaction". but maybe I'm searching in the wrong place. Could you point me where to find at ccBPM?
Thanks ®ards,
Ricardo.
Similar Messages
-
XSLT using Java function from graphical mapping (RFClookup)
Hi,
I was wondering if it is possible to use the standard Java functions of the graphical mapping (RFCLookup, Datetrans, ...) or from my own UDF inside an xslt mapping. Does anyone have every tried this or is an example available ?
Regards BerndHi Bernd,
here you can find an example how to use RFC lookup from an XSLT Mapping:
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/05a3d62e-0a01-0010-14bc-adc8efd4ee14?quicklink=index&overridelayout=true
Is this what you're looking for?
Regards,
Gábor -
i imported IE favorites into firefox bookmarks. my IE favorites contained many folders with different categoties of information......eg., folders for car repair, investments,etc. now that i am using firefox, how do i
bookmark a new page into one of the existing IE favorite folders? I have tried every option I could think of using the options shown when i click bookmark this page.......i am getting as far as FROM INTERNET EXPLORER, but i can't seem to find a way to reach one of the sub-folders within the FROM INTERNET EXPLORER folder? also, nothing is happening when i click on the star symbol to the right of the address space?thanks for the suggestion....sounds good to Old Goofy! Before your response was received, I continued to fiddle with the popup box that appears when you click the "bookmark this page". in my fiddling, i noticed that at least once, a litlle small solid triangle appeared just before From IE....I clicked on that little triangle and voila, there were all my sub-folders under the main IE folder!!! Nowhere in all the old posted Firefox support had I seen I clear illustration of doing this......probably I missed it or I'm just a dumbie?
Meanwhile, if anyone is having all kinds of strange problems with computer, and no browsers including IE, with the exception of Firefox, are working properly, if you have Norton Security on your computer and it al;so is not working properly, UNINSTALL NORTON!!!!!!!!!!! That was my situation, to the extent HP free support was going to help me wipe the drive and try to put the computer back "as new", but using a different security program!!!!! -
Urgent help needed - writing japanese into the applet code from servlet
Hi,
I have a jsp file which writes an applet as well as a popup menu on the applet. All the menu items and applet text displays japanese character.
Two menu items on this popup menu are written by the same jsp while three dynamic menu items are written by a servlet which does so by writing a response back to the jsp.
My problem is when I write the popup items from the servlet it doesn't display the japanese character but something like this "-- $B?7$7$$$*5RMM$rA*Br(B --"
I am sure that something wrong in the way I write into the response in the SERVLET because JSP writes japanese menu items fine.
my code in servlet is like this.
response.setContentType("text/plain;charset=ISO-2022-JP");
PrintWriter output = response.getWriter();
output.println(\u30aa\u30f3\u30c7\u30de\u30f3\u30c9\u30ec\u30dd\u30fc\u30c8);
I have set the font family to, font-family: gothic, mincho, arial unicode ms; in the jsp that takes care of displaying everything propertly but the MenuItems from the servlet :(
Please write back if you have the solution.
Thanks,
preeti..i don't know exactly,but ithink that the problem is about the ISO-code
japanese has got another number -
Lost all photos on my iPhoto and get the ERROR WRITING TO DISK when trying to reload from Time Machine. iPhoto cannot import your photos because there was a problem writing to the volume containing your iPHOTO LIBRARY . Looking for solution.
Problems such as yours are sometimes caused by files that should belong to you but are locked or have wrong permissions. This procedure will check for such files. It makes no changes and therefore will not, in itself, solve your problem.
First, empty the Trash, if possible.
Triple-click anywhere in the line below on this page to select it, then copy the selected text to the Clipboard by pressing the key combination command-C:
find ~ $TMPDIR.. \( -flags +sappnd,schg,uappnd,uchg -o ! -user $UID -o ! -perm -600 \) 2>&- | wc -l | pbcopy
Launch the built-in Terminal application in any of the following ways:
☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
Paste into the Terminal window (command-V). The command may take a noticeable amount of time to run. Wait for a new line ending in a dollar sign ($) to appear.
The output of the command will be a number. It's automatically copied to the Clipboard. Please paste it into a reply.
The Terminal window doesn't show the output. Please don't copy anything from there. -
Taking a container element into a graphical mapping
Hi experts,
I need to take a simple container string value from a container step into a graphical mapping in my BPM.
Does anybody knows how to do that?
Regards
GonzaloHi,
Check the discussions
Accessing container variable of BPM in Message Mapping function
Re: How to use Container Variable across Maps
Thanks! -
Logging into CLI from graphical login manager...possible?
Hey guys, this sounds like a backwards question, but hear me out.
I have two accounts on my computer. One of which is my main account, where do graphical design, sound editing, web surfing, and various LibreOffice tasks. This account, I want to boot straight into my standard Openbox account.
The other account, I'm planning to use solely for writing, and want to use it as a "no distractions, get stuff done," type account where I will just sit and write. I plan on using wordgrinder for word processing on this account, since that's as "no distractions" as they come. Thus, with my no distraction rule, I want to boot this account straight into commandline, and then from there, launch wordgrinder. At the very worst, if I'm going to use another program with this account, it would be mutt. However, I've already set up a GUI login manager.
Right now I'm using LXDM, and am wondering if there's a config I can write to have LXDM send me back out to the CLI after I login using this secondary account. If this is not possible, I have considered using a tiling window manager to emulate the CLI, but really have never used any, so I don't know which would be able to provide the feel of pure CLI without much hassle.
So preferably, what options out of these are available for what I want to do?
1) Create a config file for LXDM that can send me out to CLI.
2) Uninstall LXDM and use a command line-based display manager. (If so, which one?)
3) Use a tiling window manager. (If so, which one?)
4) Ditch the display manager altogether and just use startx when I want to use Openbox.
5) Other (Please state)loafer wrote:Sorry if I've completely misunderstood but isn't Ctrl + Alt + F2 etc. an option?
It is, and I may have to settle for it (TBH, I hadn't even thought of that, when I had used it before, so thanks for reminding me of that.) However, having an out to go back into openbox anytime I want easily just by doing Ctrl+Alt+F1 may be an issue, but I guess every option I have has a flaw TBH. So C+A+F2 may be the best one. Thanks. -
I download a song & then I try to drag it into a playlist & I get a warning "iCloud playlists can only contain songs from your iCloud music library. If you continue, my iPod will be removed from iCloud and will only be available on this computer."
I'm sorry to see that no one has answered this. I'm hoping Apple with reply to my support request, as I'm having the same issue. I really don't want to continue with iCloud at this point.
-
I am writing datas into a FIFO in FPGA Target side ,i am reading datas from fifo in windows host side .but when i am writing datas like a a(0),a(1),a(2 like that.when i am reading dating datas a(0)comes to a(3 ) rd place, a(1) comes to a a(0) .what is the reason ?
Please use a shorter title in your subject line and not post the entire question in therre. (See the subject line I created.) There is also no such word as "datas". Data is already plural.
Please read http://stackoverflow.com/help/how-to-ask. Your question is hard to read because you aren't using proper punctuation and capitalization of your sentences. It looks like one run-on sentence.
Beyond that, it is impossible to help you solve our problem with just your question. Please provide some more information. Perhaps even attach code we can look at. Show us what the data you are sending is supposed to look like, and what it actually looks like. -
CcBPM extract data from query input (muliple row) to multiline container.
Hi XI Expert,
I have ccBPM scenario JDBC -
> RFC.
JDBC Sender contain multiple rows, how can i extract the muliple rows into multiline container so i can use for looping and send to RFC one by one.
Thank you and Best Regards
FernandHi,
Your scenario is JDFC to RFC, where u have to extract the multiple records and apeend to RFC.
first thing, in order to bundle multiple rows
is there any time constraint ?(like with in 24 hours), in that situation use block step and append mode.
also use activate corelarion step in receive.
as u know, we need loop, recive, transformation out of loop send and block.
plese check the following blog related to BPM.
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2034. [original link is broken] [original link is broken] [original link is broken]
warm regards
mahesh. -
Hi Sir/Mam,
Please give me solution for this problem.I tried this in all ways for solve this problem like i checked my all class objects cleared or not when leaving current page to come to before page.
This Exception came at After saved data in the wp8 device database,then it is coming to back page(when i navigate to another page) then that navigated page running and go to "Public Asyn Void Listmenu()" method ,in this method again retrieve the
data from database after getting this data,it shows this Exception.
Note :-This Exception came in WP8 Device only,not in Emulator.In the Emulator it is working fine.
My Exception:-
Exception:- System.Exception.Exception.HRESULT:0*80040015
at
System.Runtime.CompliterServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at
System.Runtime.ComplierServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at
System.Runtime.ComplierServices.TaskAwaiter'1.GetResult()
at
_10Min._10MinUserPages.<checkStatusAndSavedDataExistinFormTable>d_e3.MoveNext()
End of stack trace from previous location where exception was thrown
at
system.runtime.Compilerservices.TaskAwater.throwForNonSuccess(Task task)
at
System.Runtime.compilerservices.TaskAwaiter.HandlerNonSuccessAndDebuggerNotification(Task task)
at
System.Runtime.ComplierServices.TaskAwaiter'1.GetResult()
at
_10Min._10MinUserPages.<listmenu>d_8.MoveNext().
How can i solve this problem please help me. I am suffering from 1 week days with this problem.
Please help me.any one.
Thanks & Regards,
SrinivaaS.Is the flow of code to the point where exception occurs:
1) Data saved in Db
2) Navigated back
3)Navigated to another page
4) Method ListMenu() is called(as soon as navigated to page in step 3) to retrieve the saved data from db & exception occurs.
Can you paste here the definition of ListMenu(), also does the exception occurs as soon as db is accessed inside this method or else.
http://developer.nokia.com/community/wiki/Using_Crypto%2B%2B_library_with_Windows_Phone_8 -
Exceptions thrown while importing tables from SQL Server 2000
Hi all,
<MyProblem:
I cannot import the tables defined in my local SQL Server. An exception is thrown --oracle.jdeveloper.cm.ds.db.ValidationException: Columns of type varchar cannot have a size specified.
/>
<What I have done:
In Oracle JDev 10g, Created a new DB connection called "SQLServerConnection" to connect to the SQL Server and it works fine. I am able to see all tables by expanding the connection.
During the creation of a new partner link named "DBAdapter", I use the adapter wizard to select DB Adapter and then select the "SQLServerConnection" DB connection I have created. I select Perform an Operation on a Table and then check Select. After I pressed OK button on the[i] Import Tables dialog, a Error messege box emmerged indicating the Exception: Columns of type varchar cannot have a size specified.
I try to change the data type of the columns of the tables to char, there is still similar exception (Columns of type char cannot have a size specified).
/>
I got the stack trace from the prompt by using jdev.exe.
<StackTrace:
oracle.jdeveloper.cm.ds.db.ValidationException: Columns of type varchar cannot h
ave a size specified.
at oracle.jdeveloper.offlinedb.OfflineDBTableValidator.validateObject(Of
flineDBTableValidator.java:116)
at oracle.jdeveloper.cm.ds.db.AbstractDBObjectProvider.validateObject(Ab
stractDBObjectProvider.java:601)
at oracle.jdeveloper.offlinedb.OfflineDBObjectProvider.updateObject(Offl
ineDBObjectProvider.java:952)
at oracle.tip.tools.ide.pm.wizard.adapter.db.DBAdapterDescriptorGenerato
r.generate(DBAdapterDescriptorGenerator.java:274)
at oracle.tip.tools.ide.pm.wizard.adapter.db.DBAdapterSelectTablePage.ac
tionPerformed(DBAdapterSelectTablePage.java:451)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:17
86)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Abstra
ctButton.java:1839)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel
.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonL
istener.java:245)
at java.awt.Component.processMouseEvent(Component.java:5100)
at java.awt.Component.processEvent(Component.java:4897)
at java.awt.Container.processEvent(Container.java:1569)
at java.awt.Component.dispatchEventImpl(Component.java:3615)
at java.awt.Container.dispatchEventImpl(Container.java:1627)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
at java.awt.Container.dispatchEventImpl(Container.java:1613)
at java.awt.Window.dispatchEventImpl(Window.java:1606)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
read.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:151)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:141)
at java.awt.Dialog$1.run(Dialog.java:540)
at java.awt.Dialog.show(Dialog.java:561)
at java.awt.Component.show(Component.java:1133)
at java.awt.Component.setVisible(Component.java:1088)
at oracle.bali.ewt.wizard.WizardDialog.runDialog(Unknown Source)
at oracle.tip.tools.ide.pm.wizard.adapter.techAdapterWizard.display(tech
AdapterWizard.java:151)
at oracle.tip.tools.ide.pm.bpelgraph.editors.PartnerLinkEditPage.handleA
dapterWizard(PartnerLinkEditPage.java:311)
at oracle.tip.tools.ide.pm.bpelgraph.editors.PartnerLinkEditPage.actionP
erformed(PartnerLinkEditPage.java:893)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:17
86)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Abstra
ctButton.java:1839)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel
.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonL
istener.java:245)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:2
31)
at java.awt.Component.processMouseEvent(Component.java:5100)
at java.awt.Component.processEvent(Component.java:4897)
at java.awt.Container.processEvent(Container.java:1569)
at java.awt.Component.dispatchEventImpl(Component.java:3615)
at java.awt.Container.dispatchEventImpl(Container.java:1627)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
at java.awt.Container.dispatchEventImpl(Container.java:1613)
at java.awt.Window.dispatchEventImpl(Window.java:1606)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
read.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:151)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:141)
at java.awt.Dialog$1.run(Dialog.java:540)
at java.awt.Dialog.show(Dialog.java:561)
at oracle.tip.tools.ide.pm.bpelgraph.editors.PartnerLinkDialog.create(Pa
rtnerLinkDialog.java:90)
at oracle.tip.tools.ide.pm.bpelgraph.collaxalaf.BPELGraphPane.createPart
nerLink(BPELGraphPane.java:324)
at oracle.tip.tools.ide.pm.bpelgraph.collaxalaf.BPELDNDDropHandler.handl
eDrop(BPELDNDDropHandler.java:77)
at oracle.tip.tools.ide.common.graph.DefaultGraphPaneDropTargetListener.
routeToDropHandler(DefaultGraphPaneDropTargetListener.java:212)
at oracle.tip.tools.ide.common.graph.DefaultGraphPaneDropTargetListener.
handleDrop(DefaultGraphPaneDropTargetListener.java:200)
at oracle.tip.tools.ide.pm.bpelgraph.collaxalaf.BPELGraphPaneDropTargetL
istener.handleDrop(BPELGraphPaneDropTargetListener.java:75)
at oracle.tip.tools.ide.common.graph.DefaultGraphPaneDropTargetListener.
drop(DefaultGraphPaneDropTargetListener.java:260)
at java.awt.dnd.DropTarget.drop(DropTarget.java:398)
at sun.awt.dnd.SunDropTargetContextPeer.processDropMessage(SunDropTarget
ContextPeer.java:542)
at sun.awt.dnd.SunDropTargetContextPeer.access$800(SunDropTargetContextP
eer.java:52)
at sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchDropEven
t(SunDropTargetContextPeer.java:805)
at sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchEvent(Su
nDropTargetContextPeer.java:743)
at sun.awt.dnd.SunDropTargetEvent.dispatch(SunDropTargetEvent.java:29)
at java.awt.Component.dispatchEventImpl(Component.java:3494)
at java.awt.Container.dispatchEventImpl(Container.java:1627)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483
at java.awt.LightweightDispatcher.processDropTargetEvent(Container.java:
3269)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3123)
at java.awt.Container.dispatchEventImpl(Container.java:1613)
at java.awt.Window.dispatchEventImpl(Window.java:1606)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
read.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
/>
<Oracle:
Oracle JDeveloper 10.1.2.0.0 (Build 1811)
Oracle IDE 10.1.2.17.84
Business Components Version 10.1.2.17.96
UML Modelers Version 10.1.2.16.71
Versioning Support 10.1.2.16.71
WebDAV Support Version 10.1.2.16.71
Struts Modeler Version 10.1.2.6.15
BPEL Designer 10.1.2.0.0 (Build 050504)
Designer Generators Framework 10.1.2.7.56
ADF UIX 2.2.16
java.version 1.4.2_06
java.home E:\OraBPELPM\jdk\jre
java.vm.name Java HotSpot(TM) Client VM
java.vm.vendor Sun Microsystems Inc.
java.vm.version 1.4.2_06-b03
user.language zh
user.region <no value assigned>
user.name Administrator
user.home C:\Documents and Settings\Administrator
user.dir E:\OraBPELPM\integration\jdev\jdev\bin
os.name Windows 2003
os.version 5.2
os.arch x86
http.proxyHost jproxy.nju.edu.cn
http.proxyPort 8080
/>
<SQL Server:
Microsoft SQL Server 2000 with the Microsoft SQL Server 2000 Driver for JDBC Service Pack 3 installed
/>
By the way, I have read the thread Thread: DB Adapter not importing SQL Svr tables and take some of their advises but the problem still exist.
Any help would be greatly appreciated.
Thanks!
And Merry Christmas to all!Hi, ronen!
Thank you.
I followed the steps and the there were no exceptions then.
However, new runtime error emerged.
The BPEL PM Server cannot build Toplink Session. But I do not know why.
The messeges from the "Start BPEL PM Server" console about this project (named "TryDB") is as following (DoSelect is the service name of the DB Adapter):
<::Outbound><oracle.tip.adapter.db.ox.TopLinkXMLProjectInitializer initialize> I
nitializing an existing toplink project for use by the database adapter.
<::Outbound><oracle.tip.adapter.db.ox.TopLinkXMLProjectInitializer initialize> I
nitializing an existing toplink project for use by the database adapter.
<2006-01-10 16:03:02,656> <INFO> <default.collaxa.cube.compiler> 正在验证 "E:\Or
aBPELPM\integration\orabpel\domains\default\tmp\.bpel_TryDB_1.0.jar\TryDB.bpel"
<2006-01-10 16:03:05,156> <INFO> <default.collaxa.cube.engine.deployment> <CubeP
rocessFactory::generateProcessClass>
流程 "TryDB" (修订 "1.0") 编译成功。
<2006-01-10 16:03:05,765> <INFO> <default.collaxa.cube.engine.deployment> 流程 "
TryDB" (修订标记 "1.0") 已成功加载。
06/01/10 16:03:34 Tutalii: E:\OraBPELPM\integration\orabpel\lib\orabpel.jar arch
ive
<2006-01-10 16:03:34,500> <INFO> <default.collaxa.cube.ws> <AdapterFramework::Ou
tbound> file:/E:/OraBPELPM/integration/orabpel/domains/default/tmp/.bpel_TryDB_1
.0.jar/DoSelect.wsdl [ DoSelect_ptt::DoSelectSelect(DoSelectSelect_inparameters,
AirlineTableCollection) ] - Using JCA Connection Pool - max size = <unbounded>
<2006-01-10 16:03:35,093> <ERROR> <default.collaxa.cube.ws> <Database Adapter::O
utbound> <oracle.tip.adapter.db.DBManagedConnectionFactory acquireClientSession>
unable to build the TopLink Session
<2006-01-10 16:03:35,125> <ERROR> <default.collaxa.cube.ws> <Database Adapter::O
utbound> <oracle.tip.adapter.db.DBInteraction executeOutboundRead> unable to exe
cute the NamedQuery: TryDB.AirlineTable.DoSelectSelect
<2006-01-10 16:03:35,125> <ERROR> <default.collaxa.cube.ws> <AdapterFramework::O
utbound> file:/E:/OraBPELPM/integration/orabpel/domains/default/tmp/.bpel_TryDB_
1.0.jar/DoSelect.wsdl [ DoSelect_ptt::DoSelectSelect(DoSelectSelect_inparameters
,AirlineTableCollection) ] - Could not invoke operation 'DoSelectSelect' against
the 'Database Adapter' due to:
ORABPEL-11622
无法创建/访问 TopLink 会话.
此会话用于连接到数据存储。.
有关特定异常错误, 请参阅根异常错误。您可能需要在 j2ee/home/application-deploymen
ts/default/DbAdapter/oc4j-ra.xml 中配置连接设置并重新启动服务器。由 $J2EE_HOME/a
pplication-deployments/default/DbAdapter/oc4j-ra.xml 导致。
<2006-01-10 16:03:35,125> <INFO> <default.collaxa.cube.ws> <AdapterFramework::Ou
tbound> Change logging level for Logger 'default.collaxa.cube.ws' to DEBUG to se
e full error stack
<2006-01-10 16:03:35,125> <ERROR> <default.collaxa.cube.ws> <AdapterFramework::O
utbound> file:/E:/OraBPELPM/integration/orabpel/domains/default/tmp/.bpel_TryDB_
1.0.jar/DoSelect.wsdl [ DoSelect_ptt::DoSelectSelect(DoSelectSelect_inparameters
,AirlineTableCollection) ] - Rolling back JCA LocalTransaction
And in the Audit part of the BPEL Console, I got the following "details"
<remoteFault xmlns="http://schemas.oracle.com/bpel/extension">
<part name="code">
<code>4003</code>
</part>
<part name="summary">
<summary>file:/E:/OraBPELPM/integration/orabpel/domains/default/tmp/.bpel_TryDB_1.0.jar/DoSelect.wsdl [
DoSelect_ptt::DoSelectSelect(DoSelectSelect_inparameters,AirlineTableCollection) ] - WSIF JCA Execute of operation
'DoSelectSelect' failed due to: ????/?? TopLink ??. ?????????????. ; nested exception is: ORABPEL-11622 ????/??
TopLink ??. ?????????????. ????????, ??????????????? j2ee/home/application-deployments/default/DbAdapter/oc4j-ra.xml
????????????????? $J2EE_HOME/application-deployments/default/DbAdapter/oc4j-ra.xml ???</summary>
</part>
<part name="detail">
<detail>??????: ????????? [com.microsoft.jdbc.sqlserver.SQLServerDriver]?</detail>
</part>
</remoteFault>
My oc4j-ra.xml has the following content (SQLServerConnection is the name of the connection of SQL Server database):
<connector-factory location="eis/DB/SQLServerConnection" connector-name="Database Adapter">
<config-property name="driverClassName" value="com.microsoft.jdbc.sqlserver.SQLServerDriver"/>
<config-property name="connectionString" value="jdbc:microsoft:sqlserver://localhost:1433;SelectMethod=cursor;databasename=lxbpel"/>
<config-property name="userName" value="bpel"/>
<config-property name="password" value="bpel"/>
<config-property name="minConnections" value="5"/>
<config-property name="maxConnections" value="5"/>
<config-property name="minReadConnections" value="1"/>
<config-property name="maxReadConnections" value="1"/>
<config-property name="usesExternalConnectionPooling" value="false"/>
<config-property name="dataSourceName" value=""/>
<config-property name="usesExternalTransactionController" value="false"/>
<config-property name="platformClassName" value="oracle.toplink.internal.databaseaccess.SQLServerPlatform"/>
<config-property name="usesNativeSequencing" value="true"/>
<config-property name="sequencePreallocationSize" value="50"/>
<config-property name="tableQualifier" value=""/>
</connector-factory>
I think this configuration in this oc4j-ra.xml is fine
So please help me again. I owe you so much.
Thank you! -
\n is not working by the time writing text into file ...
Hi,
I am reading each line from file and writing into another file ...
It is writing continously in the file even if i use \n for new line ...
Why "\n" is not working by the time writing text into file ...
Here is my code:
import java.io.*;
import java.net.*;
import java.util.*;
public class Test11{
private BufferedReader data;
private String line=null;
private StringBuffer buf= new StringBuffer();
private BufferedWriter thewriter=null;
private File file=null;
private FileReader fr=null;
private String inputLocation="c:\\test14.txt";
public Test11(){ }
public void disp(){
try {
file=new File(inputLocation);
fr = new FileReader(file);
data = new BufferedReader(fr);
while ((line = data.readLine()) != null) {
buf.append(line + "\n");
String text=buf.toString();
thewriter = new BufferedWriter(new FileWriter("c:\\test15.txt"));
thewriter.write(text);
buf=null;
thewriter.close();
} catch(IOException e) { System.out.println("error ==="+e ); }
public static void main(String[] args) {
Test11 t=new Test11();
t.disp();
System.out.println("all files are converted...");
I used "\n" after reading each line .. i want output file also same as input file ... how do i break each line by the time writing into text file .. "\n" is working in word pad but now working in notepad ... in note pad i am getting some thing like rectangle insted of "\n" ....
Any help please .....
thanks.\n works just fine, and every text editor in the world except Notepad understands that it is supposed to be a line-ending character. You don't have a problem, except in your choice of text editor. If somebody is forcing you to use Notepad then you'll have to output "\r\n" instead.
-
Embed a MIME image into a container
Hi experts,
I am trying to create a selection menu that is composed of several images as pushbuttons.
I have implemented an initial solution uploading those images using SE78 transaction. But, it has the restriction of using images of a very low quality (256 colours). However, I upload again the image to the MIME repository object and in the preview I could see it correctly.
So, is it possible to embed this MIME image into a container in a dynpro? I was reading several posts but I cannot create an example:
My picture is a .PNG and is upload into path SAP/PUBLIC/.
http://scn.sap.com/community/abap/blog/2013/08/05/pictures-from-mime-repository-in-html
I’d really appreciate your help.
Lots of thanks,
JavierPlease See this cod : He is in PBO.
*& Module IMAGE OUTPUT
* text
MODULE image OUTPUT.
DATA: lt_query LIKE w3query OCCURS 1 WITH HEADER LINE,
lt_html LIKE w3html OCCURS 1,
l_return LIKE w3param-ret_code,
l_content_type LIKE w3param-cont_type,
l_content_length LIKE w3param-cont_len,
lt_pic_data LIKE w3mime OCCURS 0,
l_pic_size TYPE i,
l_url(256) TYPE c .
IF v_container IS INITIAL.
CREATE OBJECT v_container
EXPORTING
container_name = 'CONTAINER'.
CREATE OBJECT v_image
EXPORTING
parent = v_container.
lt_query-name = '_OBJECT_ID'.
lt_query-value = 'ZLOGO_VIVO_CAIXA'.
APPEND lt_query.
CALL FUNCTION 'WWW_GET_MIME_OBJECT'
TABLES
query_string = lt_query
html = lt_html
mime = lt_pic_data
CHANGING
return_code = l_return
content_type = l_content_type
content_length = l_content_length.
IF l_return IS INITIAL.
CALL FUNCTION 'DP_CREATE_URL'
EXPORTING
type = 'image'
subtype = cndp_sap_tab_unknown
size = l_pic_size
lifetime = cndp_lifetime_transaction
TABLES
data = lt_pic_data
CHANGING
url = l_url
EXCEPTIONS
OTHERS = 1.
CALL METHOD v_image->load_picture_from_url
EXPORTING
url = l_url.
ENDIF.
ENDIF.
Hope helped you.
ENDMODULE. " IMAGE OUTPUT -
EJB Exceptions generate entry in trace file
Every exception I throw an exception from an EJB generates a stack trace in the oracle trace file. These are business rule errors like "Withdrawal Denied: Insuffient Funds". Can I turn this off? The J2EE spec says that the container should notify when an EJBException is throw to the container. How do I get the container to ignore my custom exception? My exception class is just derived from RemoteException like in the below Oracle example.
package employee;
public class EmpException extends RemoteException
public EmpException(String msg)
super(msg);
nullPlease refer:
http://www.oracle.com/technology/oramag/oracle/09-mar/o29asktom.html?_template=/ocom/print
Edited by: SKU on 19-Dec-2009 05:10
Maybe you are looking for
-
How to specify "Layout Grid" or "Margin/Column" for a new doc in the Japanese version
I am using the Japanese version of InDesign CS2. When you open a new document in the Japanese version, you can specify what kind of layout grid to use "Layout Grid" (traditional Japanese layout) or "Margin/Column" (normal English layout). How do you
-
Battery life on my iPhone 5 or lack of!!
I cannot for the life of me understand how to stop my iPhone 5 battery from dropping like a stone when I have EVERY possible life daring soured turned off!!!!!!!! What on earth is happening???? I watch it (barely due to me putting the screen on to th
-
How i can delete Apps Cash ?
Hello everyone, How i can delete Application Cash, My iPhone 4S Storage is full !!!, When i log to the Usage i see the Applications take huge size, for Example: App Size: 46.7 MB , Document & Data : 230 MB , See this image:
-
Flash will not display on cfm page
For some reason my coldfusion server will not display any Flash (including Flash Forms) If I change the page to html it displays fine, also there are no issues with my dev machine, both machines are running cf8. Any ideas? Thanks in advanced Cavan
-
IPhoto library moved to Time Machine now missing
So I needed to beckup my HD and re-install Mac OSX, so I deleted my Time Machine file, and used the HD on it as a backup for files...everything. Now I re-installed MAC OSX and my iPhoto library is nowhere to be found!!! Where did it go? I am really f