Deploying Info ticker into Oracle forms
I have downloaded the jar file 'Infoticker.jar' from some web site,I managed to deploy it to an Oracle form ,but I don't have any control over it,I want to know the methods of dealing with such bean,it is amazing and very useful to our applications,How can I handle it?
Did anyone have such experience before?
thanks
I had a discussion with one of the Oracle technical consultants prior to your reply who mentioned that the Oracle's JDeveloper utility has functionality to tranform Forms into JSPs. Is that a possible path for this conversion.. it may not be an automatic solution but is it possible?
Thanks,
Milind
Similar Messages
-
How to deploy ADF page into Oracle Applications
Hi Guys,
Is there anyway for deploying ADF pages into Oracle Applications.
Please share some links or information if you have any.
Appreciate your help !!
Thanks,
VJYou cannot run your ADF application on the EBS web-server. You need to run it on weblogic or glassfish or tomcat. But you can call your page from the EBS. For this, just define proper "Function" in EBS that calls a jsp page. If you need to pass information from EBS to your application like USER_ID, you can in "Function" -> "Parameters" use $PROFILE$.USER_ID to get the connected user id.
You can also research AppsDataSource that you can define in weblogic , but it is more difficult -
How to read a Value from Excel Cell into Oracle Forms 10g with Java
Did any one Implamented a Java PJC to integrate Excel on Oracle Forms 10g?
I Open Excel Applikation.
Open a File like c:\import_test.xls
read a number 05 from A:1 (i get it as return value).
Save a number in a variable in Forms 10g
Can any one help my please?
Thankswhy don't you use webutil.
it has package client_ole2 which allows you to have programmatic interface with excel application.
this is especially useful if the excel to be read is available in the client. -
Error while importing java class into oracle forms 10g
Hi
I have generated a web service client using jdeveloper 10g. It consists of complex type methods. I am trying to import the class files using java importer in oracle form 10g. I am able import all of them successfully except one. That one is the main method. Please see the error and suggest me how to overcome this error.
Exception occurred: java.lang.NoClassDefFoundError: oracle/jdeveloper/webservices/runtime/WrappedDocLiteralStub
Thanks in advanceDo you see oracle/jdeveloper listed in "Import Java Classes" when you try to import?
If not, make sure you add C:\DevSuiteHome_1\jdev\lib\jdev.jar to FORMS_BUILDER_CLASSPATH in registry
Also excetion indicates: oracle/jdeveloper/webservices/runtime/WrappedDocLiteralStub
If you typing it - type: oracle.jdeveloper.webservices.runtime.WrappedDocLiteralStub -
Importing Access Data into Oracle Forms through Forms 10g
Sirs,
How can i import the data of Access file into Oracle tables.
i have the tables in access of approx 10 how can it be imported in oracle with same data structure.
ThanX in advanceDECLARE
kAccess client_ole2.obj_type;
kdb client_ole2.obj_type;
ktables client_ole2.obj_type;
krec client_ole2.obj_type;
kcurr client_ole2.obj_type;
begin
kaccess:=client_ole2.create_obj('Access.application);
kdb:=client_ole2.invoke_obj(kaccess,'open','D:\acc.mdb');
ktables:=client_ole2.get_obj_property(kdb,'tables',1);
//then process teh data of the table which is at 1 using another
krec:=client_ole2.invoke_obj(ktables,'count');
for s in 1 .. krec
loop
/// code for sinserting the current records data into the oracle tables.
kcurr:=client_ole2.get_obj_type(ktables,'recordset',s);
// then access each filed in kcurr and then insert in oracle table
end loop;
end;
the above code is not tested your can alter any syntatical error if any. -
Weight scale input into oracle forms developer 10g
Dear All Experts
it is request to you kindly guide me full code and description of
weight scale device input in oracle form show digits continuously in form 10g kindly proved me data device connect through port so plz help meMake a PJC (plugable java component) and look at RXTX library for java...
I have done a PJC to use a POS terminal over RS232 from oracle forms..
It's not complicated..
here is my example for POS terminal and RXTX library (JControl)
[code]
package in2.pos;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.Arrays;
import java.util.Enumeration;
import java.util.Properties;
import java.util.ResourceBundle;
import java.util.StringTokenizer;
import javax.swing.JOptionPane;
import oracle.forms.handler.IHandler;
import oracle.forms.properties.ID;
import oracle.forms.ui.CustomEvent;
import oracle.forms.ui.VBean;
import gnu.io.*;
* PosTerminalPjc, PJC component for Hypercom POS terminal data exchange
* @author Peter Valencic, [email protected]
public class PosTerminalPjc extends VBean {
private static final long serialVersionUID = -8814623494538014849L;
Properties res = new Properties();
SerialPort serialPort;
OutputStream os;
InputStream is;
CommPortIdentifier portId;
Enumeration portList;
IHandler mHandler;
char STX = (char) 0x02;
char ETX = (char) 0x03;
char EOT = 4;
char ACK = 6;
char NAK = 15;
char FS = 28;
private static final ID COMPORT = ID.registerProperty("COMPORT"); // serial
// port
// (COM1,COM2,COM3,...)
private static final ID AMOUNT = ID.registerProperty("AMOUNT"); // amount of
// the
// transaction
// (12)
private static final ID TRANSACTIONTYPE = ID
.registerProperty("TRANSACTIONTYPE"); // 01-sale, 05-refund, 13
// ticket duplicate
private static final ID AMOUNTCURRENCY = ID
.registerProperty("AMOUNTCURRENCY"); // ISO currency code
private static final ID TRANSACTIONNUMBER = ID
.registerProperty("TRANSACTIONNUMBER"); // transaction number
private static final ID EVT_OK = ID.registerProperty("EVT_OK"); //custom event if all ok
private static final ID EVT_ERR = ID.registerProperty("EVT_ERR"); //custom event if error occured
// state machine variables
long l_timeout;
long l_wait_for = 5000; // pos terminal wait for command (5 seconds)
long l_wait_for_transaction = 62000 * 2; // pos terminal timeout
long l_second = 1000; // one second
byte b_retry = 0;
String dataValue = "";
byte[] readBuffer = new byte[2000]; //2000 bytes buffer to read rs232 stream
String comPort = ""; // local variable to store com port name
// (COM1,COM2,...)
String transactionType = "SALE"; // type of transaction to be executed (SALE
// or REFUND) default SALE
String amount = "0"; // default amount value is set to 0
String transactionNumber =""; //store a transaction number from POS trminal
String transactionProcessed;
String transactionFlag;
String transactionDate;
String transactionTime;
String transactionBatchNumber;
String terminalTid;
String terminalCard;
String errDesc;
public PosTerminalPjc() {
super();
System.out.println("============================");
System.out.println("== State machine POS v1.0 ==");
System.out.println("== Peter Valencic (c) ==");
System.out.println("== 03.04.2012 ==");
System.out.println("============================");
try {
res.load(this.getClass().getResourceAsStream(
"/res/language.properties")); // load language file
} catch (Exception ex) {
System.err.println("Err loading language.properties file: "
+ ex.toString());
private void doTransaction() throws Exception {
String phase = null; // initial null value for state machine phase
long l_ack_timeout = 0; //initial value for acknowledge timeout
// com port check
if (getComPort().trim().equalsIgnoreCase("")) {
this.showError(res.getProperty("s_dlg_err_title"),
res.getProperty("s_com_invalid"));
return;
// transaction type chek
System.out.println(this.getTransactionType());
if (!getTransactionType().equalsIgnoreCase("REFUND")
& !getTransactionType().equalsIgnoreCase("SALE")) {
this.showError(res.getProperty("s_dlg_err_title"),
res.getProperty("s_tran_invalid_type"));
return;
portList = portId.getPortIdentifiers();
while (portList.hasMoreElements()) {
portId = (CommPortIdentifier) portList.nextElement();
if (portId.getName().equalsIgnoreCase(this.getComPort())) {
System.out.println("Port is used : "
+ portId.isCurrentlyOwned());
serialPort = (SerialPort) portId.open("ComDriver", 2000);
serialPort.setSerialPortParams(9600, SerialPort.DATABITS_7,
SerialPort.STOPBITS_1, SerialPort.PARITY_EVEN);
// serialPort.addEventListener(this);
serialPort.notifyOnDataAvailable(true);
serialPort.notifyOnOutputEmpty(true);
os = serialPort.getOutputStream();
is = serialPort.getInputStream();
break;
if (portId == null) {
throw new Exception(res.getProperty("s_com_not_found")
+ this.getComPort() + "\n");
// state machine infinite loop
while (true) {
// SEND DATA TO POS TERMINAL
if (phase == null) {
System.out.println("start phase");
byte[] req = null;
//verify transaction type to be SALE or REFUND
//if REFUND then transaction number must be specified
if (getTransactionType().equalsIgnoreCase("SALE")) {
System.out.println("--> SALE send message to the pos terminal");
System.out.println("--> amount: " + amount);
req = protocolStream("000000123401100" + FS + amount + FS
+ FS + "+0" + FS + "978" + FS + FS + FS + FS + FS
+ FS + FS + ETX);
else if (getTransactionType().equalsIgnoreCase("REFUND")) {
System.out.println("--> REFUND send message to the pos terminal");
System.out.println("--> amount: " + amount);
System.out.println("--> transaction number: " + getTransactionNumber());
req = protocolStream("000000123405100" + getTransactionNumber() + FS + amount
+ FS + FS + "+0" + FS + "978" + FS + FS + FS + FS
+ FS + FS + FS + ETX);
} else {
// maybe VOID in the future..
os.write(req);
os.flush();
l_ack_timeout = System.currentTimeMillis() + 1500;
//wait for half second
try {
Thread.sleep(500);
} catch (Exception ee) {
l_timeout = System.currentTimeMillis() + l_wait_for; //add some time for timeout
phase = "TO_POS_ACK";
System.out.println("phase: " + phase);
}//phase null
//CHECK IF THE TIMEOUT OCCURED
if (phase.equalsIgnoreCase("TO_POS_ACK") &
(l_timeout < System.currentTimeMillis()) & (b_retry < 4)) {
b_retry += 1;
System.out.println("TIMEOUT: " + b_retry);
l_timeout = System.currentTimeMillis() + l_wait_for;
if (b_retry >= 4) {
System.out.println("Timeout occured");
try {
serialPort.close();
is.close();
os.close();
} catch (Exception ee) {
//Timeout occured show error
//s_timeout
this.showError(res.getProperty("s_dlg_err_title"),
res.getProperty("s_timeout"));
break;
//CHECK FOR THE ACKNOWLEDGE (FIRST RESPONSE FROM POS TERMINAL)
if (phase.equalsIgnoreCase("TO_POS_ACK") &
(l_ack_timeout < System.currentTimeMillis())) {
try {
int numBytes = 0;
dataValue = "";
while ((numBytes = is.read(readBuffer)) > 0) {
dataValue += new String(readBuffer, 0, numBytes, "ASCII");
if (dataValue.getBytes().length > 0) {
System.out.println("->first byte: " +
dataValue.getBytes()[0]);
System.out.println("total length: " +
dataValue.getBytes().length);
//check for ack byte
if (dataValue.getBytes()[0] == 6) {
System.out.println(
"<--ACKNOWLEDGE received from pos terminal");
phase = "WAIT_FOR_TRANSACTION";
l_timeout = System.currentTimeMillis() +
l_wait_for_transaction;
} catch (IOException ev) {
//WAIT FOR TIMEOUT ON MESSAGE
if (phase.equalsIgnoreCase("WAIT_FOR_TRANSACTION") &
(l_timeout < System.currentTimeMillis())) {
System.out.println(
"Error receiving response from pos terminal!!!");
try {
serialPort.close();
is.close();
os.close();
} catch (Exception ee) {
this.showError(res.getProperty("s_dlg_err_title"),
res.getProperty("s_response_error"));
break;
//WAIT FOR SOME DATA TO COME FROM POS TERMINAL OVER RS232
if (phase.equalsIgnoreCase("WAIT_FOR_TRANSACTION")) {
try {
int numBytes = 0;
dataValue = "";
while ((numBytes = is.read(readBuffer)) > 0) {
dataValue += new String(readBuffer, 0, numBytes, "ASCII");
if (dataValue.getBytes().length > 0) {
System.out.println("->first byte: " +
dataValue.getBytes()[0] + "|" +
dataValue.getBytes()[1]);
System.out.println("->ascii: " + dataValue);
System.out.println("total length: " +
dataValue.getBytes().length);
if (dataValue.indexOf("PREKINIL UPORABNIK") != -1) {
System.out.println(
"Uporabnik je prekinil povezavo!");
try {
serialPort.close();
is.close();
os.close();
} catch (Exception ee) {
//transaction cancelled by user s_user_cancel
this.showError(res.getProperty("s_dlg_err_title"),
res.getProperty("s_user_cancel"));
break;
if (dataValue.indexOf("NAPACEN VNOS") != -1) {
System.out.println("Napačen vnos");
try {
serialPort.close();
is.close();
os.close();
} catch (Exception ee) {
//invalid user entry
this.showError(res.getProperty("s_dlg_err_title"),
res.getProperty("s_user_invalid_entry"));
break;
if (dataValue.indexOf("PROSIM POCAKAJ") != -1) {
System.out.println("<-- PROSIM POCAKAJ");
continue;
//preberemo podatke iz stringe terminala
if (dataValue.indexOf("SPREJETO") != -1) {
try {
serialPort.close();
is.close();
os.close();
} catch (Exception ee) {
System.out.println("<-- TRANSAKCIJA SPREJETA");
System.out.println(dataValue);
System.out.println("Prožimo event v formse");
this.transactionProcessed = dataValue.substring(1, 3); //podatek mora biti 10
this.transactionFlag = dataValue.substring(13, 15);
this.transactionNumber = dataValue.substring(16, 21);
System.out.println("transaction number: " + this.transactionNumber);
this.transactionDate = dataValue.substring(25, 31);
this.transactionTime = dataValue.substring(31, 37);
this.transactionBatchNumber = dataValue.substring(21, 25);
StringTokenizer st = new StringTokenizer(dataValue, "" + FS);
System.out.println(st.nextToken());
System.out.println(st.nextToken());
System.out.println(st.nextToken());
System.out.println(st.nextToken());
System.out.println(st.nextToken());
System.out.println(st.nextToken());
this.terminalTid = st.nextToken();
System.out.println(st.nextToken());
System.out.println(st.nextToken());
System.out.println(st.nextToken());
this.terminalCard = st.nextToken();
if (transactionProcessed.equalsIgnoreCase("10")) {
else
CustomEvent ce = new CustomEvent(mHandler,
EVT_ERR);
if (transactionProcessed.equalsIgnoreCase("00")) {
System.out.println(
"Error in the format of the request message");
this.errDesc = res.getProperty("s_tf_00");
} else if (transactionProcessed.equalsIgnoreCase(
"01")) {
System.out.println(
"Transaction accepted without authorization code");
this.errDesc = res.getProperty("s_tf_01");
} else if (transactionProcessed.equalsIgnoreCase(
"02")) {
System.out.println(
"Transaction accepted with authorization code");
this.errDesc = res.getProperty("s_tf_02");
} else if (transactionProcessed.equalsIgnoreCase(
"03")) {
System.out.println("Needs voice referall");
this.errDesc = res.getProperty("s_tf_03");
} else if (transactionProcessed.equalsIgnoreCase(
"04")) {
System.out.println("Transaction refused");
this.errDesc = res.getProperty("s_tf_04");
} else if (transactionProcessed.equalsIgnoreCase(
"05")) {
System.out.println(
"Needs manual card data entry");
this.errDesc = res.getProperty("s_tf_05");
} else if (transactionProcessed.equalsIgnoreCase(
"06")) {
System.out.println(
"Authorization call failure");
this.errDesc = res.getProperty("s_tf_06");
dispatchCustomEvent(ce);
return;
//če gre skozi potem je vse ok
CustomEvent ce = new CustomEvent(mHandler, EVT_OK);
dispatchCustomEvent(ce);
return;
} catch (IOException ev) {
//wait 200 ms
try {
Thread.sleep(200);
} catch (InterruptedException ex) {
ex.printStackTrace();
System.out.print('*');
}//end state machine loop
* protocolStream prepare the stream to be send over RS232 to POS terminal
* with LRC cheksum control
* @param data
* @return byte[]
private byte[] protocolStream(String data) {
char STX = (char) 0x02;
String tmp = "" + STX + STX + data + "" + getLRC(data);
System.out.println("PStream: " + tmp);
for (int i = 0; i < tmp.getBytes().length; i++) {
System.out.print(tmp.getBytes()[i] + ":");
// System.out.println("čeksum: " + chksm);
return tmp.getBytes();
* Longitudinal Redundancy Check (LRC)
* @param packet
* @return String
private String getLRC(String packet) {
char[] splitPacket = packet.toCharArray();
char lrc = 0x00;
for (int x = 0; x < splitPacket.length; x++) {
lrc = (char) (lrc ^ splitPacket[x]);
return "" + (char) lrc;
private String paddingString(String s, int n, char c, boolean paddingLeft) {
if (s == null) {
return s;
int add = n - s.length(); // may overflow int size... should not be a
if (add <= 0) {
return s;
StringBuffer str = new StringBuffer(s);
char[] ch = new char[add];
Arrays.fill(ch, c);
if (paddingLeft) {
str.insert(0, ch);
} else {
str.append(ch);
return str.toString();
* Display error message inside oracle form
* @param title
* @param exceptionString
private void showError(String title, String exceptionString) {
JOptionPane.showMessageDialog(this, exceptionString, title, 0);
public String getComPort() {
return comPort;
public void setComPort(String comPort) {
this.comPort = comPort;
public String getTransactionType() {
return transactionType;
public void setTransactionType(String transactionType) {
this.transactionType = transactionType;
public String getAmount() {
return amount;
public void setAmount(String amount) {
this.amount = amount;
public String getTransactionNumber() {
return transactionNumber;
public void setTransactionNumber(String transactionNumber) {
this.transactionNumber = transactionNumber;
public static void main(String[] args) {
PosTerminalPjc pjc = new PosTerminalPjc();
pjc.setComPort("COM1");
pjc.setTransactionType("SALE");
pjc.setAmount("1000");
try
pjc.doTransaction();
catch(Exception ex)
System.err.println(ex.toString());
[/code] -
Web Cam add into oracle form 10g
My form version is -
Forms [32 Bit] Version 10.1.2.0.2 (Production)
Gud evening all,
I want add webcam into my forms. I read that JMF is usefull and another option is PJB.
But i don't have any proper documentation for that.
Please help.. provide the any PJB..No. But you don't have to do everything on your own; you would just need a java implementation of the communication with a webcamand implement a Java Bean upon that. Just google for it, and you shall be enlightened; e.g.:
http://stackoverflow.com/questions/276292/capturing-image-from-webcam-in-java
Another option would be to invoke another program which takes a picture and stores it to somewhere with client_host and display it in your form with client_read_image_file. You'd need webutil for that.
cheers -
Conversion of oracle forms 4.5 into oracle forms 9i
Hi Gurus!
Its becoming a bit more difficult for me to find the solutoin of the following problem!
Scenario is that i have a form developed in oracle forms 4.5, after conversion in oracle forms 9i, i am getting fixed as,
I have two text items say item1 and item2, item2's "Synchronize with item" property is set to "item1" and there is also a
WHEN-VALIDATE-ITEM trigger on item2, and as u know in 9i forms WHEN-VALIDATE-ITEM trigger on child item in this case item2 is
ignored, now if i move that trigger to item1(in this case the master item) then trigger is fired but then the business
logic/flow change as originally i didnt require any WHEN-VALIDATE-ITEM trigger on master item i.e item1
So wot should i do to resolve this problem/situation?
Plz let me know if i have conveyed successfully!
Thanx in advance!Hi my company specialises in doing exactly this.
Please look at our web site www.transenigma.co.uk to see out conversion tools. We can take you from Forms v2 right htrough to Forms 6i web forms, and anywhere in between.
If we can help you, please send us an email.
Tony -
Want to read out put from Solaris System into Oracle Form
Hi all
I want some code of trigger which on fire get output from Solaris system into Windows i.e When I press push button window base system sent "df -kh" command to "\\172.16.3.16" and display output into text box.
BR//When I press push button window base system sent "df -kh" command to " 172.16.3.16" and display output into text box.This can be accomplished by using a Host call to run the system command. You will need to output the results of the system command to a file and then read contents of the file into your form. The HOST built-in has a limitation, however. The HOST built-in can only execute commands on the Application Server (AS), so hopefully, the "Solaris" system you mentioned is your AS. Once the HOST call completes and the output file is created, you can read the contents of the file using the TEXT_IO built-in.
Hope this helps,
Craig B-)
If someone's response is helpful or correct, please mark it accordingly. -
Deploying an Oracle Form on 10G AS.
Hi
Can I deploy or test an Oracle Form on the 10G Application server which i have installed ? (10g AS 10.1.2)
Any pointers please as to how to deploy this ?Mona - this is really a question for the Forms forum.
Also Mona, this is clearly described in the Application Server documentations!!! If you don't have the documentation cd you can find them under "PRODUCT CENTERS" (top left on this page). Click on Documentations and Application Server. Select 10g (9.0.4) and there B10464_05 'View Library' ("Oracle Application Server 10g Online Documentation Library 10g (9.0.4)").
The document you're looking for is "Deployment Guide" which is found under "Oracle Application Server Forms Services" under the J2EE tab (second right).
Regards,
Martin Malmstrom -
How to Deploy SSRS Reports(Sql Server 2008 R2) into Oracle Weblogic Application Server
Hi Friends
One of my project requirement is Developing reports by using SSRS and deploying the reports into Oracle Wblogic Server
Could you please give me a Steps where we need to configure.
Regards
Hasthi.Hi Hasthi,
As per my understanding, I think we couldn’t directly deploy the SSRS report to Oracle Weblogic Application Server. We can deploy report to report server and SharePoint library. And we can display report to some applications, for example, windows application
and web application. Sorry for that I am not familiar with Oracle. So if your Oracle Weblogic Application Server support those Visual Studio application, then we can use report viewer control to display report in application. For more detail information about
report viewer control, please refer to the following document:
http://msdn.microsoft.com/en-us/library/ms251671.aspx
Hope this helps.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
Error while deploying adf application on oracle cloud service
hello, i hv registered oracle cloud service for java and database. i hv created simple adf application in which there are 2 jsf pages only linked together. I m using oracle jdeveloper 11gr2. so i hv created ear file for deployment on cloud. i deployed adf application on cloud using java console. But, after uploading application, deployment was failed. I tried 3 times this, but the result was same. I checked log, where i got 3 warnings in whitelist log and error in deploy log. Those are as follows:
Warnings in whitelist log:
2013-04-14 06:57:11 CDT: Starting action "API Whitelist"
2013-04-14 06:57:11 CDT: API Whitelist started
2013-04-14 06:57:12 CDT: WARNING - There are 3 warnings(s) found for Testapp.ear.
2013-04-14 06:57:12 CDT: WARNING - Path:Testapp.ear (3 Warnings)
2013-04-14 06:57:12 CDT: WARNING - Path:Testapp.ear (3 Warnings)
2013-04-14 06:57:12 CDT: WARNING - Path:Test_ViewController_webapp.war (3 Warnings)
2013-04-14 06:57:12 CDT: WARNING - Path:WEB-INF**** (1 Warning)
2013-04-14 06:57:12 CDT: WARNING - 1:Recommended child element "login-config" missing under element /
javaee:web-app.
If you want to make your application public, you can have empty
<login-config/> in your web.xml. If you need authentication then you must
have <login-config> and its child <auth-method> element in web.xml.
Without this element(<login-config>), users may be challenged by SSO, but
the application code will be executed as anonymous user only. Line No:4.
2013-04-14 06:57:12 CDT: WARNING - Path:WEB-INF**** (2 Warnings)
2013-04-14 06:57:12 CDT: WARNING - 1:Recommended child element "jsp-descriptor" missing under element /
orcl-weblogic:weblogic-web-app.
If you have a JSP file that is not pre-compiled, The compilation errors
could be shown on the browser. It is recommended to include
<jsp-descriptor><verbose>false<****><****-descriptor> in weblogic.xml.
Line No:2.
2013-04-14 06:57:12 CDT: WARNING - 2:Recommended child element "session-descriptor" missing under element /
orcl-weblogic:weblogic-web-app.
You will be required to have distinct cookie-path, if multiple
applications are accessed with in the same SSO session or if you have
multiple applications with different auth-method(CLIENT-CERT, FORM, BASIC)
in the same service instance.
Line No:2.
2013-04-14 06:57:12 CDT: WARNING - Testapp.ear had 3 warning(s).
2013-04-14 06:57:12 CDT: INFO - Whitelist validation has completed with 0 error(s) and 3 warning(s).
2013-04-14 06:57:12 CDT: Whitelist validation passed.
2013-04-14 06:57:12 CDT: "API Whitelist" complete: status SUCCESS
and Error in deploy log:
2013-04-14 06:57:12 CDT: Starting action "Deploy Application"
2013-04-14 06:57:12 CDT: Deploy Application started
2013-04-14 06:57:15 CDT: weblogic.application.ModuleException: Failed to load webapp: Test-ViewController-context-root because of DeploymentException: java.lang.ClassNotFoundException: oracle.adf.view.faces.bi.webapp.MapProxyServlet
2013-04-14 06:57:15 CDT: WL action state: failed
2013-04-14 06:57:15 CDT: Action FAILED with WL action state: failed
2013-04-14 06:57:15 CDT: Check the server log of your Java cloud service for more info about the failure.
2013-04-14 06:57:16 CDT: Application deployment failed.
2013-04-14 06:57:16 CDT: "Deploy Application" complete: status FAILED
I am using jdeveloper 11gr2, so pls dont tell me to use jdeveloper 11gr1. because, i hv already developed an application for my final year B.Tech and i cant migrate to previous release. So there is only one way for me by generating ear file and deploying from console.
So,
I m not getting what is the problem and what will be solution for this?
What should i do?
What changes should required?
pls, help me to get out from this problem !!!!!Well, I guess you have a problem here. Check http://multikoop.blogspot.de/2012/12/deploying-adf-applications-into-oracle.html and from this
>
Note: In its current stage Oracle Java Cloud Service runs WebLogic Server 10.3.6 with the appropriate Runtime ADF 11.1.1.6. Deployment of ADF 11gR2 Applications is currently not supported. Beside this limitation some ADF Features are not supported on the Oracle Cloud. According to the Oracle Cloud Documentation it is not supported to use the following ADF features
ADF Desktop Integration
ADF mBean
ADF MDS (Seeded customizations or cross-session personalization)
ADF Mobile
ADF Active Data Services (=> No real-time ADF Web Apps in Oracles Cloud)
ADF Business Components services interfaces (web services) or events
ADF Data Controls for BI, Essbase, BAM, and JMX
Further there are some restrictions which are good to know I think
No Java Mail API (=>Sending Mails is prohibited)
No File system access by deployed applications (=>Writing files is prohibited)
No Direct use of Oracle JDBC Driver APIs
No Java Message Service (JMS)
Max Size for deployment archive 95MB
>
I hope for you that the information from the blog has changes in the meantime (blog is from end of last year). Check the current doc for the cloud ...
Timo -
Modifying properties with a file for Web Service Stub used for Oracle Forms
I have created a stubbed-out web service in JDeveloper (10.1.3.4) and imported into Oracle Forms.
However, I would like to use a properties file to call the appropriate endpoint based on if the environment is dev, test, UAT or prod. I see that a properties file is referenced in the _Stub class. Here is a snippet of code from that class file:
public CriticalChangeWS_Soap11_Stub(HandlerChain handlerChain) {
super(handlerChain);
setProperty(ENDPOINTADDRESS_PROPERTY, "http://epw-01.gds.graebel.com:8087/CriticalChange.svc/Soap11");
setSoapVersion(SOAPVersion.SOAP_11);
setServiceName( new QName("http://tempuri.org/","CriticalChangeService"));
setPortName( new QName("http://tempuri.org/","CriticalChangeWS_Soap11"));
setupConfig("wsquery/proxy/runtime/CriticalChangeWS_Soap11_Stub.xml");
How can I use the XML file to set the ENDPOINT_ADDRESS_PROPERTY?
Thanks.
Jim OHi Frank,
I got the following two lines of code just to check if WebServiceConnection was able to read the connections file alright.
String urlString = wsc.getWsdlUrlStr();
System.out.println("WSDL URL: "+urlString);
I am not using urlString for further processing.
The output is
WSDL URL: http://<host>/PSIGW/PeopleSoftServiceListeningConnector/MyService.1.wsdl
java.lang.NullPointerException
at java.lang.Class.isAssignableFrom(Native Method)
at oracle.j2ee.ws.common.jaxws.runtime.GenericJavaType.create(GenericJavaType.java:97)
at oracle.j2ee.ws.common.jaxws.runtime.GenericJavaType.create(GenericJavaType.java:118)
The WSDL Url pointed to is the one that I configure in the connection while deploying the App.
Ran a test and WSDL Url is accessible by the app. -
Integrate XMLP APIs with Oracle Forms
Hi,
I want to integrate XML Publisher's APIs with Oracle Forms. I have done the following to achieve this.
1. Built a Java class to
a.Handle the Data extraction from Database using the data template
b.Convert the RTF to XSL-FO format
c.Render the report by merging the xsl and the data xml files
2.Created a jar file of the java class file
3.Imported these classes into Oracle Form, using Jimporter
All works fine, when I execute the form in a client-server architecture.
But am getting the 105101 non-ORACLE exception if I run the form, when the form is deployed in an Application Server. I have set the classpath to all the xmlp APIs (xdocore.jar, xmlparserv2-904.jar, and the jar of my java class) in the .env file and also in the system's classpath.
Could someone please clarify what else has to be done to set this right. Also, as I am relatively new to Java, can anyone clarify, the java class what I have used should be a servlet in case my Form is accessed via an Application Server or just the java class would serve the purpose.
Thanks,
SureshHi,
I was able to resolve this, after I went through few threads in the same forum. I set the classpath to i18nAPI_v3.jar, collections.jar, versioninfo.jar files in the .env file apart from the xdocore.jar and xmlparserv2-904.jar.
Now am able to execute the form and everything works fine!!
Thanks,
Suresh -
Oracle.forms.handelr.* package???
Hi guys..
i have downloaded some samples of integrating JavaBeans into oracle forms; these samples require some oracle packages like:
oracle.forms.handelr.*
oracle.forms.ui.*
oracle.forms.properties.*
where can i get these from, and how to install them??
thanx in advance.. MouradMohammed,
all Forms Java files are in the forms90/java/f90all.jar package. If you don't have Forms installed then look at the JDeveloper library, there is one for Forms. If you use the latter then make sure that all dependecy files get deployed with your Forms applications. This is not necessary if using the Forms jar file from teh Forms installation.
Frank
Maybe you are looking for
-
Being Told That The Lack Of Upward Compatibility in Mail is NOT a Bug
Animated GiFs, which ran when viewed under Mail in Tiger, will no longer run under Leopard's version of Mail. This is a lack of Upward Compatibility and should be viewed as a bug and not as a Design Change, that will be gotten to when the maintenance
-
APEX 4.2.3 Bug: Cascading Style Sheets cannot edit from list view
APEX Builder page 4000:37 List view shows name, notes and download columns. The name column should link through to CSS Edit page (39), but instead downloads the file. Workaround: Switch to the icon view, and click on the icon which takes you to the C
-
Extracting a passage with Nekohtml
Hi, I am trying to to DOM parser in NekoHtml to extract a passage which contains a string from a HTML document. From the documentation provided I could get the DOM tree printed. Does anybody have any idea as to how I can extract a passage from a DOM
-
MDM: 7.1 SP6 CE 7.2 Fields in main table (customer): 75 Total records: approx 500,000 MDM JAVA API and Web Services Configurator used Hi, Has anyone, using MDM for central master data maintenance, carried out performance tests on their systems? Do yo
-
Mail crashes and cannot delete outgoing message with large attachment
Tried to send an email with too large an attachment. Now it is stuck in Outgoing Mail. I cannot delete it. It just causes the spinning ball and then eventually mail crashes. I need a way to delete the outgoing message. Any ideas would be appreciated.