Transaction support for LC Java API?
Hi everybody,
I'm using the LC Java API to make some stuff with the LC ES like file converting, create and apply of policies, and reader extending and I will wrap this actions in a single transaction - e.g. if the applying of a policy fails, the document should not be reader enabled or stuff like this.
I've found some classes in the LiveDoc specification - com.adobe.idp.dsc.transaction.* -, but no examples, how to use it.
Can somebody help me with a code snippet or tip?
Thanks & regards
Angel
You can only do this at your own logic, because these operations are not atomic .
Similar Messages
-
Is XA transactions supported for the SOA Suite 10.1.3.4 on weblogic platfor
There are 2 weblogic domains 1 & 2. Domain 1 hosts the JMS queue and domain 2 hosts the BPEL process. The BPEL process in domain 2 uses JMS adapter to get messages from domain 1. With queues on Weblogic domain 1, is XA transactions supported for the SOA suite 10.1.3.4 BPEL process JMS Adapter on weblogic domain 2?
There are 2 weblogic domains 1 & 2. Domain 1 hosts the JMS queue and domain 2 hosts the BPEL process. The BPEL process in domain 2 uses JMS adapter to get messages from domain 1. With queues on Weblogic domain 1, is XA transactions supported for the SOA suite 10.1.3.4 BPEL process JMS Adapter on weblogic domain 2?
-
Getting invalid packages when installing support for stored java objects
I am getting invalid packages notices when installing support for stored java objects in Forms 9i that can with the Oracle 9iDS Suite. In the post installation notes it says to locate a few SQL files, PLB files and a JAR file and run them. On executing the SQL package that will install the rest , I am logged in as SYSTEM as the instructions stated, I get an error when it tries to load the PLB files ( which are encrypted from Oracle). Any one else have this problem or know of a solution?
If you need more information please let me know and I will try to respond promptly.
Thanks
Chad LeathThe PLB package is called ORA_DE_REFLECTION. I forgot to mention this in the previous post.
-
Looking for pure Java API to read metadata from an MP4 file.
Hi, I am looking for a pure Java api that can read MP4 metadata. I have been trying to look online for one but have not found anything
suitable. If there are no good api's, can someone point me to resources on how to parse metadata from an MP4, tutorials would be great
as well. I have looked online for that as well but have not found much. Any help would be greatly appreciated.Cross posted
http://www.java-forums.org/new-java/59652-looking-pure-java-api-read-metadata-mp4-file.html
http://www.coderanch.com/t/580833/Streams/java/Looking-pure-Java-API-read
http://stackoverflow.com/questions/10568588/looking-for-pure-java-api-to-read-metadata-from-an-mp4-file
db -
JSC2 Support for Traditional Java Package Names
We have been looking for some encouraging words in the JSC2 documentation concerning the use of traditional java package organization for our creator projects but have been unable to find any. JSC2 appears to use a new project directory structure for its own purposes. However, there is no mention of package naming improvements in response to past requests from JSC1 users. We still very much want to organize our project content in the familiar java "com.company.ourproject.ourfeature" style. Is it the intention of the Creator developers to provide improvement in support for custom package names in JSC2 that is beyond what was possible in JSC1? Any insightful comments would be greatly appreciated.
Hi,
Please go through the following thread which discusses about the package structure:
http://swforum.sun.com/jive/thread.jspa?threadID=53439&tstart=0
Hope this heps
Cheers
Giri :-)
Creator Team -
Any javadoc documentation available for Workflow Java API?
Does anyone know if there is a "proper" Javadoc generated set of documentation for the Workflow Java API. The supplied html/pdf documentation describing the Java API has lots of omissions (eg, the getItemAttributes method returns an instance of WFTwoDDataSource - but where is the WFTwoDDataSource documented and how should I use the methods in that class?) I've tried loading some of the undocumented class definitions into a class browser, but the class methods have unhelpful parameter names like 'param1', which doesn't help in understanding how some of the classes and their methods should be used. I've tried searching technet and metalink for more specific documentation without success. If anyone can point me at a more useful set of documentation for the class hierarchies and their methods, it would be much appreciated.
ThanksHello,
I'm also starting with workflow 2.6 java api. Just wondering if you had any luck in getting the source for wftest sample program... In case you did, could you send it to me please.
Thanks in advance.
/Fernando Pereira -
I can not find java library for spatial java api B14373-01
hi
at the following link there is a description of the current java api..
http://download-uk.oracle.com/docs/cd/B19306_01/appdev.102/b14373/toc.htm
but i can't find the appendant *.jar files
can anybody help me...
jensYou can find them under $ORACLE_HOME/md/lib
directory.
siva -
Transaction support for OracleAQQueue
How is it possible to provide transaction support on OracleAQQueue enqueue and dequeue?
As far as i can tell, the queue operations are implicitly committed - or maybe im overlooking something fundamental?!You may set OracleAQEnqueueOptions.VisibilityMode and/or OracleAQDequeueOptions.VisibilityMode to "OracleAQVisibilityMode.OnCommit" and wrap Enqueue and/or Dequeue operation in a local transaction to get the desired behavior.
-
I18n Support for WD-Java UI Elements on CE 7.10, Particularly Chinese text
Hello Experts,
Using NWDS 7.10 SP5, I have followed the Tutorial : Developing International
WebDynpro Applications
(cf. http://help.sap.com/saphelp_nw04s/helpdata/en
/44/f0674039c6c549e10000000a1550b0/frameset.htm)
to create a WD-Java program with three languages : English, German and Chinese.
I can see that the files below
Location.dtsimpletytype
Location.dtsimpletytype_de.xlf
Location.dtsimpletytype_de.properties
Location.dtsimpletytype_zh.xlf
Location.dtsimpletytype_zh.properties
I18nView0.wdview.xlf
I18nView0.wdview_de.xlf
I18nView0.wdview_de.properties
I18nView0.wdview_zh.xlf
I18nView0.wdview_zh.properties
are generated in the related folders.
The build EAR file is deployed a CE 7.10 SP7 instance.
The English and German versions of UI are working fine; however, the Chinese version is missing.
I checked inside the generated JAR file (company.com~i18ntest.jar) and found the following files :
(Simple Type Resource Properties File)
simpleTypeResource.properties
simpleTypeResource_de.properties
simpleTypeResource_en.properties
(WD Component Text Resource Properties File)
ResouceI18nComp01.properties
ResouceI18nComp01_de.properties
ResouceI18nComp01_en.properties
There is no *_zh.properties file in there !
I am wondering whether I have missing something or WD-Java for CE 7.10 does
support Chinese (or other asian languages) UI element/message at all ??
Any info will be much appreciated !
Ying-Jie ChenHi Yingjie,
I am also facing the same problem.
Can you pls tell how did you solve this issue?
Thanks! -
Transaction Support for message broker channel
Hi all,
I have created a JPD and subscribing to an MB channel and listening for messages, suppose the message is delivered to the JPD i.e onMessage is invoked successfully, but at the next node there is an exception thrown, so I want to rollback all the stuff done and also pushback the message to the channel, (and if possible get the message back to the JPD by retrying the entire tranaction).
1. Can the message be pushed back to the channel?
2. Will the channel try to send the same message again to the JPD incase we rollback and wait again at onMessage in the same JPD by means of exceptional path (retry count)?
3. Is the message available for consumption for other subscribers incase we are able to pushback the message to the channel?
4. Bottomline - How can I include the MB channel(message delivery) within transactional boundary?
TIA
AbhishekHi kai/All,
Thanks for ur response, but I still have some questions.
1. If the message is not going to be pushed back to the channel, what exactly do we mean by "retry"(is it that I have to resubscribe(and wait at onMessage call in my subscriber jpd) to the channel, and wait for the same message to be pusblished by the publisher JPD)?
Also my requirement is - I am having number of subscriber(JPD instances say workflow JPDs) to the same channel and using filters to deliver the message to the appropriate workflow JPD instance, So, One and only one instance can listen for a particular message, so incase there is an exception in a particular workflow JPD, no other instance can cover for it beacuse of a particualr filter value for the message subscription. How can I overcome this shortcoming?
TIA
Abhishek -
IE8 Support for WebDynrpo Java
Hi, We are on EP6 and i read in SAP Notes that the Support Pack Level is 25 for IE8 Support (in non-compatability mode), but I can only see a support pack to patch level 24 in service.sap.com.
Does anyone know if SP25 for EP6 is out yet? or if not, then when it is likely to be released?
regards,
rob
Edited by: robert munro on Jun 23, 2009 1:57 PMI was aware that SP 23 was already out in the beginning of this year and as per your information SP 24 is also available now. SP 25 is surely not out yet.
Just keep checking the PAM it would be updated as soon as the new SP is released. Not sure but I don't think you'll have to wait too long -
Java API's supported in the Jdeveloper, IAS, and RDBMS product components
If there are any technical errors or "mistatement of the facts" in this posting, please let me know about them ..
This article is being delivered in Draft form and may contain
errors. Please use the MetaLink "Feedback" button to advise
Oracle of any issues related to this article.
PURPOSE
This article describes the "Enterprise Java Beans" (EJB), "Java Server Pages"
(JSP) and servlets Application Programming Interfaces (API) supported by the
Oracle products, Jdeveloper, Internet Application Server (IAS) and the Oracle
RDBMS release 2 and release 3, also known as Version 8.1.6 and 8.1.7,
respectively.
SCOPE & APPLICATION
All parties interested in the Java API's supported by these products.
Java API's supported in the Jdeveloper, IAS, and RDBMS product components
JDEVELOPER
JDEVELOPER is Oracle's Java development tool designed for coding / development,
testing / debugging, and deployment of Java Applications to the IAS and
RDBMS platforms.
With the java software api's being in a constant state of evolution, each new
release of Jdeveloper adds support for the "then current" version of the java
software api's, if it does not already have it implemented.
JDEVELOPER SERVLET API JSP API EJB API
VERSION VERSION VERSION VERSION
3.2.X.X 2.2 1.1 1.1
3.1.X.X 2.1 1.0 1.0
NOTE :
Sun Microsystems and their advisory teams (Oracle is on it) is working on
"draft" specifications for the next version of all of these API's
EJB -------> http://java.sun.com/products/ejb/index.html
JSP -------> http://java.sun.com/products/jsp/index.html
Servlets --> http://java.sun.com/products/servlet/?frontpage-javaplatform
It is anticipated that future releases of Jdeveloper will continue to be
upgraded to include support for the next version of each api.
To obtain the latest information on Oracle's Internet Development Suite (IDS)
of tools, please review the "Internet Developer Suite" information located
on Oracle's technet web site at :
http://technet.oracle.com/products/index.htm
IAS
IAS is Oracle's next evolution of the web server and application server
product technology superceeding the Web Application Server (WAS) and Oracle
Application Server (OAS) product lines.
IAS SERVLET API JSP API EJB API EJE VERSION
VERSION VERSION VERSION VERSION SUPPORTED
9I(1.0.2) 2.2 1.1 1.1 817
8i(1.0.1-NT) 2.0 1.0 1.0 816
8i(1.0.0-UNIX) 2.0 1.0 1.0 816
The IAS product contains two Java Virtual Machines (JVM) within it's
architecture.
They are called :
1) APACHE JSERV servlet engine
2) ORACLE ENTERPRISE JAVA ENGINE (EJE)
APACHE JSERV servlet engine
The APACHE JSERV servlet engine is an EXISTING product licensed from the
apache group which supports the servlet api 2.0.ONLY.
The APACHE JSERV product does not support ANY JSP's unless the customer
installs a third party jsp engine.
The IAS 8i/9i which has the APACHE JSERV product embedded in it, comes with
Oracle's JSP engine (OJSP) already integrated into it. OJSP supports JSP's up
to the specific JSP engine version documented in the Oracle Universal
Installer (OUI) for the 8.1.7 RDBMS or the IAS products. It is also documented
in the product's release notes.
Oracle ENTERPRISE JAVA ENGINE (EJE)
The EJE formerly known as :
1) Oracle 8i Java Virtual Machine (JVM)
2) JSERVER component,
3) Aurora JVM
was originally releas ed in the RDBMS 8.1.5 database with jdk 1.1.6 based java
support.
The currently supported versions of the Oracle 8i RDBMS, versions 2 and 3,
also known as Version 8.1.6 and 8.1.7, respectively, provides a jdk 1.2.1
based java virtual machine support.
"EJE" Version 816
This EJE, found in rdbms 8.1.6 and IAS 8i, contains support for the ejb
api 1.0, corba, and java stored procedures.
"EJE" Version 817
This EJE, found in rdbms 8.1.7 and IAS 9i, contains support for the ejb,
corba, and java stored procedures as well as the Oracle Servlet Engine (OSE)
which provides support for the servlets 2.2 api and JSP 1.1 api.
Note :
EJB support in the "EJE" Version 817 has been upgraded to comply with the EJB
1.1 api specification which includes "entity beans" support.
What is the bottom line ??
1) Servlets deployed to the APACHE JSERV must comply with servlet api 2.0.
2) Servlets 2.1 or higher are only supported in EJE's OSE component found in
the rdbms 817 or ias 9i products. Servlets api 2.0 can also run in the OSE.
References
1) "Oracle9i Application Server Technical White Paper" located at :
http://technet.oracle.com/products/ias/pdf/9ias_102.pdf
2) "Whats New? Oracle8i JVM Accelerator, Oracle Servlet Engine, OracleJSP ..."
located at :
http://technet.oracle.com/products/oracle8i/pdf/504.pdf
3) "Oracle8i Release 3 New Features Summary" located at :
http://technet.oracle.com/products/oracle8i/pdf/8iR3_nfs.pdf
nullwhich jvm is used by jserv ?? EJE or a separate jdk ?
The Jserv servlet engine is running in a separate jdk JVM external to the EJE jvm which is embedded within the "database" component of ias and the RDBMS.
See the reference below for more details ...
if jserv only support old apis, why it is in oracle's products ?
i would assume that the oracle servlet engine was under development when ias 8i was released and became available in time for the ias 9i and rdbms 817 products.
looking back in history leads me to believe ias 8i was a migration path to get to ias 9i or rdbms 817.
Based upon the long history of new releases of every oracle product being upgraded with new features, it's reasonable to assume that these products will continue to evolve.
when I deploy a jsp how to deploy in the right servlet container ("EJE") ?
as documented in the reference below, you can deploy JSP's to either the apache jserv jvm or the EJE since the ORACLE JSP engine functionality is in both jvm's.
there are many posts where you can see that people have deploy in jserv and they have problems because they don't use the right container (servlet 2.0 instead of
servlet 2.2) http://technet.oracle.com:89/ubb/Forum2/HTML/006349.html
when ias 8i came out this was clearly an issue since servlet support was at api 2.0, and the current servlet api was probably at 2.1.
oracle clearly made every effort to get ias 9i released quickly to supply a servlet 2.1 and 2.2 capable engine to resolve this issue.
since ias 9i and rdbms 8.1.7 are available this is no longer an issue.
The reference below explains the architecture and understanding it would eliminate a lot of "deploy to the wrong ias 9i component" issues.
so why jserv is bundled with oracle 8i/9ias since EJE support the right api version ?
if in ias 9i release , oracle had removed the jserv component without any advance warning, many customers would have been very upset since oracle makes every attempt to give advance notice before removal of functionality.
References
1) "Oracle9i Application Server Technical White Paper" located at :
http://technet.oracle.com/products/ias/pdf/9ias_102.pdf -
Hi all ,
How we can work with JAVA APIs and MDM .
Please tell step by step ways.
thanks in advance.
Thnks
nmHi Man,
You have to specify the correct JAR files in the classpath of the Java Virtual Machine (JVM). The API consists of five JAR files:
1. mdm-admin.jar
2. mdm-common.jar
3. mdm-core.jar
4. mdm-data.jar
5. mdm-protocol.jar
These files in one single archive file with the name MDMJavaAPI_Ver<buildnumber>.zip. you can download this file from the service market place by using mentioned below link:
http://service.sap.com/swdc
then goto Download>Support Packages and Patches> Entry by application group -->SAP NetWeaver -->SAP MDM -->SAPMDM5.5 -->Java API
for the Java API documentation, you can download it from the link below:
http://help.sap.com/javadocs/MDM/current
But remember one thing that this JAVA API Version file must be compitable with your MDM Server version.you can verify this as per the build version.
Hope this will help you.
TNR,
Saurabh...
Edited by: Saurabh Kumar Sahu on Feb 1, 2008 8:09 AM
Edited by: Saurabh Kumar Sahu on Feb 4, 2008 7:49 AM -
Support for Java Server FAce in Workshop
Dear All,
Does anyone have any idea if and when Workshop will include support for the Java
Server Faces (JSF) framework?
Thank you
AbeWhile I cannot share any specific product plans from any vendor, I would like to point out that all of the vendors of IDEs in the Java web application space are members of the JSR-127 expert group that is defining JavaServer Faces. Indeed, one of the primary design goals for the APIs is to ensure that development tools have sufficient information available to create high quality user interfaces at design time, so we're doing all we can to enable this kind of thing.
As JavaServer Faces matures, I think you will be very pleased with the quality and quantity of tools support for it.
Craig McClanahan -
Any java API to get the metadata for a deployed bpel process in soa/bpm11g?
Hi,
Just wonder if this is possible, that there is some existing java api to retrieve the metadata (containing activities, isSynchrous, version information etc) for a deployed bpel process? If not, is there any other way to achieve this goal ( or example query database table directly)?
I can only find this link for soa11g java api. I am able to invoke the bpel process using this API(direct binding) from java client.
http://download.oracle.com/docs/cd/E14571_01/apirefs.1111/e10659/index.html?overview-tree.html
Any help will be greatly appreciated.
Thanks,
BinWhat I find so far:
1. can get some process property values from ComponentInstance class, see its api.
http://download.oracle.com/docs/cd/E14571_01/apirefs.1111/e10659/oracle/soa/management/facade/ComponentInstance.html
Please refer http://blogs.oracle.com/soabpm/2009/07/soa_suite_11g_api_tricks_part.html of how to get the component instance (contain the bpel process) from a composite object
2. in dev_soainfra database schema, the CUBE_INSTANCE table contains most of soa bpel components information. The BPM_CUBE_PROCESS table seems to contain only the process defined in a bpm application. This sounds a little confused, if we want to develop a bpel application, should it be put in soa or bpm application and what is the difference?
Please feel free to correct any mistakes here.
Maybe you are looking for
-
Adobe Creative Cloud Desktop causes PC to hang
Hi there, Up to yesterday, Creative Cloud Desktop (CCD) was working fine. However, yesterday when I tried to run it, it would cause my whole system to hang. All my apps would start working. I've tried the following: 1) Stop all running applications a
-
I desperately need help!! my old laptop is about to die, it barely moves, i cant load anything at all, the most i have is photo shop open on my browser and i went to Help>Deactivate like i always do when I get a new computer, but it won't let me sele
-
Column name in the database starts with a number!
Hello, Recently we updated out database and we changed our tables' and columns' names, I'm developing an adf application with EJB3.0 the question is that the new column names start with a number (eg. 001U_ID), its a kind of encoding the names of the
-
Apple should make a macBook where the screen can turn around and become touch screen, for easier use. especially for when i go to uni
-
Premiere Elements 9 - how to resolve license issue after uninstall - reinstall?
Hi I am trying to help out my dad who had Premiere Elements 9 installed on his PC. Due to malfunction of the PC a total reinstallwas performed. PE9 was uninstalled but now he tries to reinstall and the license does not work anymore because it is cons