Oracle vm agent java api
need api
Edited by: [email protected] on Feb 25, 2009 4:46 AM
Hi John,
We've got an application with some reports defined and now we would like to start to OBIEE instead of the current solution. As far as I can see now we can't really give any access to the Answers to the user (because it would be too complicated for them to build a query with filters) so we have to prepare the queries and show them ourselves. I use executeXMLQuery() method to get the XML with the results of my XML query. However, I couldn't find any specification of such queries so I'm not sure how I should compose the filters. Can you give me any source of such information?
Thanks.
Cheers,
WhatTheHell
Similar Messages
-
I'm looking for Conversion Agent Java API. Would you please advise where I can find this API.
Thanks.Hi,
Java API programs should use the library CM_JavaAPI.jar, which is located in the
Conversion Agent api/lib directory.
The CM_JavaApi.sda J2EE library exposes the Conversion Agent Java API. A SAP
NetWeaver component can call the API to run Conversion Agent data
transformations.
For further details, you can check "Conversion Agent Engine Developer's Guide".
Sandeep -
Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile
Where can I find "Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile"?
Thanks a lot for your time.Hi, this is referring to the JavaDocs for Java methods/classes supported by ADF Mobile. You can typically right (or ctrl) click on any ADF Mobile specific Java method and select "JavaDoc". You can open up a sample app that contains any Java class - for example the HR sample app, and find any method with name "adfmf*". You should be able to see the Java doc for the ADF Mobile related methods/classes.
Thanks,
Joe Huang -
Need Conversion Agent Java API Reference document
Hi all,
Can any one provide Java documentation for doing conversion agent?
actually "Conversion Agent Java API Reference" had been refered by Conversion Agent User guide. I couldn't find that one...
Any inputs are great.......
ThanksHi,
All the guides for Conversion agent are present in the service.sap.com
solution DetailsSAP NetweaverSAP Netweaver in detailExcahnge Infrastructure-Media Library---documentation
Regards
Vijaya -
Where can I find the complete Oracle Business Rules Java API Reference ?
Does anybody know where to get the complete Oracle Business Rules Java API Reference ?
The version on http://download-east.oracle.com/docs/cd/B31017_01/web.1013/b28966/toc.htm is incomplete. It is missing the entire "oracle.rules.sdk.ruleset" package.
KiKim,
The oracle.rules.sdk.ruleset package is only for internal operation. The public interface to creating rules is oracle.rules.sdk.editor.ruleset , and this is included in the javadoc. -
Oracle Transport Management - Java API Help
Hi,
Can some one let me know, whether there are any JAVA API / webservices defined for user creation/assigning roles/deleting users . If any , kindly provide the links.
Regards
Vickytrace your session to see what the problem is.
alter session set event = '10046 trace name context forever, level 12';
when completed
alter session set event = '10046 trace name context off';
look at the dump/trace file on your Oracle server to see what the problem is. -
Oracle BI Publisher Java API Converting Excel(.xls) to PDF
Dear Oracle Team,
I'm suffering from converting Excel(.xls) to PDF file which Excel is having some complex Pie charts and formulas.
I've worked on some APIs but not converting properly, Please suggest me any Java API's in Oracle BI Publisher and provide me some code snippet
Thanks in advanceHi,
Can any one please reply to my post -
How to query Task via instanceId as argument in Oracle 11g BPM Java API ?
hi,
Is any one successful of getting Task Object with InstanceId as argument using TaskQueryService or InstanceMangementService ? If So please provide the API.
I am actually looking to assign a task to participant via JAVA api .
ThanksYou will have to query the base tables which are
OE_ORDER_HEADERS_ALL and
OE_ORDER_LINES_ALL -
Oracle XML Publisher Java API's showing arabic characters as question marks
Hi All,
I have created a custom xml publisher report. All the setups in xdo.cfg and the fonts have been installed. When i run the report as concurrent program using the XDODTEXE as the executable this report executes fine displaying the arabic characters in the PDF output.
I have integrated this xml report to a OAF page where am getting the output of the arabic characters as ???????
Following is the java code i have used to generate the blob for the xml publisher report.
pageContext.writeDiagnostics(this,"Inside process Template",4);
AppsContext appsContext = ((OADBTransactionImpl)pageContext.getRootApplicationModule().getOADBTransaction()).getAppsContext();
String applicationShortName = dataDefApplication;
String dataSourceCode = dataDefCode;
OutputStream os = new ByteArrayOutputStream();
try {
DataTemplate dataTemplate = new DataTemplate(transaction.getAppsContext(), dataDefApplication, dataDefCode);
//Get Parameters
ArrayList parameters = dataTemplate.getParameters();
//set Parameter Values as ArrayList of oracle.apps.xdo.dataengine.Parameter
Iterator it = parameters.iterator();
while (it.hasNext())
Parameter p = (Parameter) it.next();
pageContext.writeDiagnostics(this,"Processing Parameters "+p.getName(),4);
if (p.getName().equals("P_AUCTION_HEADER_ID"))
if(AuctionHeaderId != null)
p.setValue(AuctionHeaderId);
else
p.setValue(null);
dataTemplate.setOutput(os);
dataTemplate.processData();
System.out.println(os.toString());
} catch (SQLException e) {
System.out.println("SQLException occurred.");
} catch (XDOException e) {
System.out.println("XDOException occurred.");
} catch(Exception e){
System.out.println("Exception (other) occurred.");
byte[] xmlb = os.toString().getBytes();
BlobDomain blob = new BlobDomain(xmlb);
return blob;
Kindly let me if i had missed something.
Thanks
AnoopOn a related note, I am seeing a couple of different types of 'incorrect' characters based on different NLS_LANG settings.
If it is set to AMERICAN_AMERICA.UTF8, I get characters like this:
رقم الموظ�
If it is set to ARABIC_UNITED ARAB EMIRATES.AR8MSWIN1256, I get characters like this:
ÑÞã ÇáãæÙÝ
Do any of you know what these characters are?
Thanks for any insight. -
请问在哪里可以得到oracle warehouse builder java api
http://docs.oracle.com/html/B12155_01/index.html
就是这个里面所说的API,找不到在哪里可以得到,谢谢各位了Really nothing? ;) Even very simple example will be helpful to me :)
-
Hi everybody!!
I'm wondering if there's a way to define programaticaly an answers query, filters, etc... , and then perform the query and get the results in a Java aplication.
Many thanks in advance,
Jorge.Hi John,
We've got an application with some reports defined and now we would like to start to OBIEE instead of the current solution. As far as I can see now we can't really give any access to the Answers to the user (because it would be too complicated for them to build a query with filters) so we have to prepare the queries and show them ourselves. I use executeXMLQuery() method to get the XML with the results of my XML query. However, I couldn't find any specification of such queries so I'm not sure how I should compose the filters. Can you give me any source of such information?
Thanks.
Cheers,
WhatTheHell -
How to use java api for function activity in embed oracle workflow?
because i can't install standalone oracle workflow successfully.
pls tell me how to use java api for function activity in embed oracle workflow?
are there some patch or pulg-in package?
ths a lot...........The Java Function Activity Agent is not certified for Oracle Workflow embedded in Oracle Applications. Installing standalone workflow should be a lot easier than what you have found, although it looks like you did hit a Pentium 4 issue with the Oracle Universal Installer. I suggest you contact Oracle Support or Oracle Consulting for assistance.
because i can't install standalone oracle workflow successfully.
pls tell me how to use java api for function activity in embed oracle workflow?
are there some patch or pulg-in package?
ths a lot........... -
Java API to work with Oracle Workflow
Hi,
I'm new to Oracle Workflow. Currently, I'm starting to work on a java front-end to work with some features of Oracle Workflow.
The only thing I know, is that I should be using workflow 2.6.3, and someone gave me a jar which is supposed to be the java API to the workflow, and a link to some online info:
http://download-uk.oracle.com/docs/cd/B19306_01/workflow.102/b15855/toc.htm
The api I received, was a jar file named "wfapi.jar". It was sent to me by email, don't know where they got it from.
And that's it ... it's the only info I received.
Searching the web, I found this interesting article:
http://www.oracle.com/technology/products/ias/workflow/release262/wfjavawp.pdf
That teaches me how to work with the java API, but the document itself is intended for release 2.6.2 (november 2001). So I started doing the first coding, and found that I have no way of implementing the instruction: "import oracle.apps.fnd.common.*;"
Seems I don't have the "common" part of the package ... that just pops up two reasons:
1. I don't have the complete java API;
2. This code is for version 2.6.2, and in version 2.6.3 of the API the "common" was removed (which I think it would be quite odd).
So I endup with no way of testing, and don't know the product well enough to start working and learning with it.
Anyone can give me some lights?
Where can I find a complete and definite complete java API?
What about some guide with some examples on how to start working with the API?
Where can I search the demo java programs?
If I download the Oracle Workflow 2.6.3 from oracle.com, will I be able to get that API? Will I need to install it to get the API? Do I need the Oracle DB to be installed first?
I would appreciate some help on how I can startup using this, or what should I look for, and most importantly, where?
Thank you very much.
----- code example -----
To test using what I got, I've ran the following code:
String sUser = "myuser";
String sPass = "mypass";
String sJdbc = "jdbc:oracle:thin:@";
String sStrg = "myserver:1520:mysid";
String sCharSet = null;
WFDB myDB;
WFContext ctx;
myDB = new WFDB(sUser, sPass, sJdbc, sStrg);
sCharSet = System.getProperty("CHARSET");
if(sCharSet==null) { //cannot be null
sCharSet = "UTF8";
This just gives me the following message:
[22-11-2005 14:58:54:328 GMT] 7b4542dd WebGroup E SRVE0026E: [Servlet Error]-[oracle/apps/fnd/common/VersionInfo]: java.lang.NoClassDefFoundError: oracle/apps/fnd/common/VersionInfo
at at oracle.apps.fnd.wf.WFDB.<clinit>(WFDB.java:27).null(Unknown Source)
So it seems the "common" is needed after all ...Hi,
Can any one Please Help me out am Stuck up with the following Exception While trying to invoke a External java Function.
Step 1: Written the attached Java Class from "Oracle WorkFlow's Developers's" guide.
Ref: http://www.stanford.edu/dept/itss/docs/oracle/10g/workflow.101/b10284/deffa02.htm#stdjfa
Step 2: In builder created a process and created a Java Function
<package-name>.<class-name>
Step 3: Compiled the Java Class,and Created a jar file and included the jar and the required .jar files [which are required to make that class compile free] in the class path.
Step 4: We modified the wfjvlsnr.bat by including the custom jar file which was created and the dependent jar files in the classpath and ran the Java Agent.
Step 5: Invoked the Process from client, once the process is invoked we are getting
Unable to load class gov.oracle.apps.fnd.wf.SampleWF
java.lang.ClassNotFoundException: gov.oracle.apps.fnd.wf.SampleWF
Tue Oct 10 14:33:38 GMT+05:30 2006 Enqueuing VAC02/VAC02 gov.oracle.apps.fnd.wf.SampleWF
null
Unable to load class gov.oracle.apps.fnd.wf.SampleWF
: java.lang.ClassNotFoundEx
ception: gov.oracle.apps.fnd.wf.SampleWF
please do reply to my mail [email protected] -
Oracle Spatial 10g R2 Java API
Hi All,
I have a JAVA tool said to be written for Oracle Spatial 10g R2 Java API which uses for example the class oracle.spatial.georaster.JGeoRaster. I have to port it to 11g R2. The tool is definitely written for an earlier version, because compilation fails on for example JGeoRaster.getProperties() method which is not present in the new API. For this new API I have a fine Javadoc documentation here:
http://download-llnw.oracle.com/docs/html/E11829_01/
I have searched for a similar one for 10g R2 but found only like
http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14373/toc.htm
which misses the oracle.spatial.georaster package. Is there such a package and if so, where can I find docs for it?
thank you in advance, best regards: Balázs BámerHi Balázs,
the GeoRaster Java API was first released with 11gR2. Your first link points to that, or this link:
http://download.oracle.com/docs/cd/E11882_01/appdev.112/e11829/toc.htm
your second link points to 10g Oracle Spatial Java API, which doesn't include any GeoRaster related API. your tool might have been developed based on the old INTERNAL georaster jar file, which is not supposed to be used by your java program. But if you do want the api doc, you can run javadoc or jdeveloper to find out the api from the old sdogr.jar file.
jeffrey -
Java API for running entire ".sql" files on a remote DB ( mySQL or Oracle)?
Hi,
Would anyone happen to know if there's a java API for executing entire ".sql" files (containing several different SQL commands), on a remote database server ?
It's enough if the API works with MySQL and/or Oracle.
Just to demonstrate what i'm looking for:
Suppose you've created sql file "c:/test.sql" with several script lines:
-- test.sql:
insert into TABLE1 values(3,3);
insert into TABLE1 values(5,5);
create table TABLE2 (name VARCHER) ENGINE innoDB; -- MYSQL specific
Then the java API should look something like:
// Dummy java code:
String driver="com.mysql.jdbc.Driver";
String url= "jdbc:mysql://localhost:3306/myDb";
SomeAPI.executeScriptFile( "c:/test.sql", driver, url);
Thanks.No such a API, but it's easy to parse all sqls in a file, then run those command:
For instance:
import java.sql.*;
import java.util.Properties;
/* A demo show how to load some sql statements. */
public class testSQL {
private final static Object[] getSQLStatements(java.util.Vector v) {
Object[] statements = new Object[v.size()];
Object temp;
for (int i = 0; i < v.size(); i++) {
temp = v.elementAt(i);
if (temp instanceof java.util.Vector)
statements[i] = getSQLStatements( (java.util.Vector) temp);
else
statements[i] = temp;
return statements;
public final static Object[] getSQLStatements(String sqlFile) throws java.
io.IOException {
java.util.Vector v = new java.util.Vector(1000);
try {
java.io.BufferedReader br = new java.io.BufferedReader(new java.io.
FileReader(sqlFile));
java.util.Vector batchs = new java.util.Vector(10);
String temp;
while ( (temp = br.readLine()) != null) {
temp = temp.trim();
if (temp.length() == 0)
continue;
switch (temp.charAt(0)) {
case '*':
case '"':
case '\'':
// System.out.println(temp);
break; //Ignore any line which begin with the above character
case '#': //Used to begin a new sql statement
if (batchs.size() > 0) {
v.addElement(getSQLStatements(batchs));
batchs.removeAllElements();
break;
case 'S':
case 's':
case '?':
if (batchs.size() > 0) {
v.addElement(getSQLStatements(batchs));
batchs.removeAllElements();
v.addElement(temp);
break;
case '!': //Use it to get a large number of simple update statements
if (batchs.size() > 0) {
v.addElement(getSQLStatements(batchs));
batchs.removeAllElements();
String part1 = temp.substring(1);
String part2 = br.readLine();
for (int i = -2890; i < 1388; i += 39)
batchs.addElement(part1 + i + part2);
for (int i = 1890; i < 2388; i += 53) {
batchs.addElement(part1 + i + part2);
batchs.addElement(part1 + i + part2);
for (int i = 4320; i > 4268; i--) {
batchs.addElement(part1 + i + part2);
batchs.addElement(part1 + i + part2);
for (int i = 9389; i > 7388; i -= 83)
batchs.addElement(part1 + i + part2);
v.addElement(getSQLStatements(batchs));
batchs.removeAllElements();
break;
default:
batchs.addElement(temp);
break;
if (batchs.size() > 0) {
v.addElement(getSQLStatements(batchs));
batchs.removeAllElements();
br.close();
br = null;
catch (java.io.FileNotFoundException fnfe) {
v.addElement(sqlFile); //sqlFile is a sql command, not a file Name
Object[] statements = new Object[v.size()];
for (int i = 0; i < v.size(); i++)
statements[i] = v.elementAt(i);
return statements;
public static void main(String argv[]) {
try {
String url;
Object[] statements;
switch (argv.length) {
case 0: //Use it for the simplest test
case 1:
url = "jdbc:dbf:/.";
if (argv.length == 0) {
statements = new String[1];
statements[0] = "select * from test";
else
statements = argv;
break;
case 2:
url = argv[0];
statements = getSQLStatements(argv[1]);
break;
default:
throw new Exception(
"Syntax Error: java testSQL url sqlfile");
Class.forName("com.hxtt.sql.dbf.DBFDriver").newInstance();
//Please see Connecting to the Database section of Chapter 2. Installation in Development Document
Properties properties = new Properties();
Connection con = DriverManager.getConnection(url, properties);
Statement stmt = con.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE,
ResultSet.CONCUR_READ_ONLY);
//Statement stmt = con.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,ResultSet.CONCUR_UPDATABLE);
// stmt.setMaxRows(0);
stmt.setFetchSize(10);
final boolean serializeFlag = false;//A test switch to serialize/deserialize the resultSet
ResultSet rs;
for (int i = 0; i < statements.length; i++) {
if (statements[i] instanceof java.lang.String) {
String temp = (java.lang.String) statements;
switch (temp.charAt(0)) {
case 'S':
case 's':
case '?':
System.out.println(temp);
rs = stmt.executeQuery(temp);
if (serializeFlag) {
// serialize the resultSet
try {
java.io.FileOutputStream fileOutputStream = new
java.io.FileOutputStream("testrs.tmp");
java.io.ObjectOutputStream
objectOutputStream = new java.io.
ObjectOutputStream(fileOutputStream);
objectOutputStream.writeObject(rs);
objectOutputStream.flush();
objectOutputStream.close();
fileOutputStream.close();
catch (Exception e) {
System.out.println(e);
e.printStackTrace();
System.exit(1);
rs.close(); //Let the CONCUR_UPDATABLE resultSet release its open files at once.
rs = null;
// deserialize the resultSet
try {
java.io.FileInputStream fileInputStream = new
java.io.FileInputStream("testrs.tmp");
java.io.ObjectInputStream objectInputStream = new
java.io.ObjectInputStream(
fileInputStream);
rs = (ResultSet) objectInputStream.
readObject();
objectInputStream.close();
fileInputStream.close();
catch (Exception e) {
System.out.println(e);
e.printStackTrace();
System.exit(1);
ResultSetMetaData resultSetMetaData = rs.
getMetaData();
int iNumCols = resultSetMetaData.getColumnCount();
for (int j = 1; j <= iNumCols; j++) {
// System.out.println(resultSetMetaData.getColumnName(j));
/* System.out.println(resultSetMetaData.getColumnType(j));
System.out.println(resultSetMetaData.getColumnDisplaySize(j));
System.out.println(resultSetMetaData.getPrecision(j));
System.out.println(resultSetMetaData.getScale(j));
System.out.println(resultSetMetaData.
getColumnLabel(j)
+ " " +
resultSetMetaData.getColumnTypeName(j));
Object colval;
rs.beforeFirst();
long ncount = 0;
while (rs.next()) {
// System.out.print(rs.rowDeleted()+" ");
ncount++;
for (int j = 1; j <= iNumCols; j++) {
colval = rs.getObject(j);
System.out.print(colval + " ");
System.out.println();
rs.close(); //Let the resultSet release its open tables at once.
rs = null;
System.out.println(
"The total row number of resultset: " + ncount);
System.out.println();
break;
default:
int updateCount = stmt.executeUpdate(temp);
System.out.println(temp + " : " + updateCount);
System.out.println();
else if (statements[i] instanceof java.lang.Object[]) {
int[] updateCounts;
Object[] temp = (java.lang.Object[]) statements[i];
try {
for (int j = 0; j < temp.length; j++){
System.out.println( temp[j]);
stmt.addBatch( (java.lang.String) temp[j]);
updateCounts = stmt.executeBatch();
for (int j = 0; j < temp.length; j++)
System.out.println((j+1)+":"+temp[j]);
for (int j = 0; j < updateCounts.length; j++)
System.out.println((j+1)+":" +updateCounts[j]);
catch (java.sql.BatchUpdateException e) {
updateCounts = e.getUpdateCounts();
for (int j = 0; j < updateCounts.length; j++)
System.out.println((j+1)+":"+updateCounts[j]);
java.sql.SQLException sqle = e;
do {
System.out.println(sqle.getMessage());
System.out.println("Error Code:" +
sqle.getErrorCode());
System.out.println("SQL State:" + sqle.getSQLState());
sqle.printStackTrace();
while ( (sqle = sqle.getNextException()) != null);
catch (java.sql.SQLException sqle) {
do {
System.out.println(sqle.getMessage());
System.out.println("Error Code:" +
sqle.getErrorCode());
System.out.println("SQL State:" + sqle.getSQLState());
sqle.printStackTrace();
while ( (sqle = sqle.getNextException()) != null);
stmt.clearBatch();
System.out.println();
stmt.close();
con.close();
catch (SQLException sqle) {
do {
System.out.println(sqle.getMessage());
System.out.println("Error Code:" + sqle.getErrorCode());
System.out.println("SQL State:" + sqle.getSQLState());
sqle.printStackTrace();
while ( (sqle = sqle.getNextException()) != null);
catch (Exception e) {
System.out.println(e.getMessage());
e.printStackTrace();
Maybe you are looking for
-
Derivation of Profit Centers in case of bank and Cash line items
We are in the process of configuring the Profit Center Accounting functionality. We are in ECC 6.0 but have not migrated to New G/L. We understand that Profit center needs to be derived for each of the items for which it does not flow online in realt
-
This happens often. It is the same result as if you would hold the Command key when you select a Dock icon. I have to log out or reboot to fix the problem. Anyway around this? Thanks
-
Hi, When we are creating OPP/ACT and when that replicates to CRM online we are getting an erorrs asking for 'sales group'. I checked the EMP sales org. We assigned the EMP to Sales Area and not to the sales group under sales area. Right now in he tab
-
Creating HTTPS Service in AS ABAP
Hi, experts, I'm an ABAPer, I have a question that how can I create HTTPS service in AS ABAP? I've created HTTPS service with transaction code SMICM, but system notices me each time 'WARNING: Your changes will be lost when you restart the ICM'. Doe
-
Adobe won't open pdfs on my mac anymore
adobe is messed up on my mac all of a sudden it says i need to install it and accept end user ag