How to Add Publisher Administrator Credentials to Oracle BI Presentation Services Credential Store
I used to follow this document until 10g - Bookshelf v10.1.3.2: Adding Publisher Administrator Credentials to Oracle BI Presentation Services Credential Store
Does anyone know how to configure the same in OBIEE 11G
Thanks for your help
Srix
Tarun
In BI URL word analytics is kind of virtual directory, if you want to change this you might have to change at Web Server side.
Try to use em for your oc4j to change or redeploy the analytics with desired name.
Just in case you are using IIS then you need to check in IIS.
If helps mark
~ http://cool-bi.com
Similar Messages
-
How to add users/entry in the oracle internet directory using XML file
hi friends,
i need to know how to add entries, attributes in the oracle internet directory using the XML file.I could able to execute the ldapadd command with out error as
ldapadd -h islch-532.i-flex.com -p 389 -D "cn=orcladmin" -w password -X mypath/filename.xml
but the data entry is not added in OID. can any one help me out. -
How to mention more than one values in URL Suffix for Oracle BI presentation Services?
Hi,
I'm using OBIEE 10
In BI Publisher-> Oracle BI Presentation Services setup default value is 'analytics/saw.dll'
I've to add another suffix i.e. 'analyticsApp/saw.dll' which we use for another set of reports.
Is it possible to add bot of these entries in URL suffix?
Else, how can I expose both of my OBIEE URLs to BI publisher?
Thanks
TarunTarun
In BI URL word analytics is kind of virtual directory, if you want to change this you might have to change at Web Server side.
Try to use em for your oc4j to change or redeploy the analytics with desired name.
Just in case you are using IIS then you need to check in IIS.
If helps mark
~ http://cool-bi.com -
Enable/Disable access to Oracle BI Presentation Services Administration
Dear Forum members,
We are using OBIEE in combination with Oracle E-Business Suite.
We have different environments according the OTAP principle.
In the P(production) environment i CAn`t access the Oracle BI Presentation Services Administration in OBIEE, in all other environments OTA i CAN.
See the screens of 2 different envorinments.
Producten(P) - NO administration option
[http://www.imageupload.org/?d=0EF83C701]
Acceptation(A) YES administration option
[http://www.imageupload.org/?d=DD360D8B1]
OBI PSA
[http://www.imageupload.org/?d=50363AB11]
In all environments i have the Administrator(OBIEE_BIS_ADMIN) rights
Does anyone know where i have to made changes to get these options also in the P environment?
Is it in the repository? or in de catalog manager? i don`t know....
Thanx for helping me
Kind Regards,
MurselDear Rachit,
First of all thanx for your replay
In all environments i have the same privileges:
Authenticated Users
BIS_OBIEE_ADMIN
This is managed by going to Administration>Manage Privileges>Access to Administration
I know how to get there, but i dont have the option to get there in the P envoriment.. Administration is not visible.
I cant get in with a link like that bezcause we use EBS. first i have to log in in EBS, then select autorisation Oracle Business Intelligence, Beheerder> answers/dasboards
No option to log in without use of EBS. :-(
Hopefully you know some other options....
kind regards,
Mursel -
Oracle biee presentation service is not starting
hi All,
Today i installed oracle biee on my machine(having windows vista) andreplaced all corresponding files (like .rpd file & catalog and modify the nqsconfig.ini & instanceconfig.xml files). but when i tried to start the oracle bi presentation service, it was not starting(though i already started the oracle bi server and java host service).
i got the following error prompt:
"Windows could not start BI Presentation server on local computer.
For more information,review the system event log.if this is non-microsoft service,contact the service vendor, and refer to service specific error code-1"
Then i again replaced all the files to the default one(paint.rpd and paint catalog) and again tried to restart the service but this time i got the "error : 1053 Error 1053: The service did not respond to the start or control request in a timely fashion."
please help me out
ThanksIs oc4j running? otherwise start it form Start>All Programs>Oracle Business Intelligence>Start OC4J.
Then start Presentation services (sawserver.exe in the OracleBI/web/bin directory or from Control Panel>Administrative tools> Services
Then try the wbe URL -
Error - Unable to communicate to Oracle BI Presentation service...
Hi all,
Why am I getting error in Answers -> Edit dashboard -> Try to add request from left panel
+"Unable to communicate to Oracle BI Presentation service. Please ensure you are still logged in and try again."+
I am connected an every thing else is working fine. This is only happening in one dashboard. Please help.
ThanksThanks for reply saichand,
I have tried this from your link
Hi,
I've faced the same problem as yours; unable to access other links in Presentation Services. I've finally resolved the problem by replacing the URL http://<computername>:<portnumber>/analytics/ with http://localhost:portnumber/analytics. Eg. http://localhost:9704/analytics. It works for me.
but nothing is changed I am still getting error.
Edited by: Micek on 2009.07.21 13:41
Edited by: Micek on 2009.07.21 13:41 -
"Your browser is not supported by Oracle BI Presentation Services"
Hi,
I have installed obiee11.1.1.5 on windows 7 and i am using Firefox 12.0 latest version.When I am trying to open analytics through firefox12.0 i am getting warning like “Your browser is not supported by Oracle BI Presentation Services” and it is opening in IE but charts are not displayed. Can any one tell me the solution for this?
Edited by: Uma on Apr 26, 2012 5:24 AMHi Uma,
good that your issue is resolved. we are generally modifying/adding the header to override the existing version to previous version, so instead of using the FF10+ header we are just modifying it to FF9 inorder to make it work
The UA string of Firefox itself is broken down into four components:
Mozilla/5.0 (platform; rv:geckoversion) Gecko/geckotrail Firefox/firefoxversion
Mozilla/5.0 is the general token that says the browser is Mozilla compatible, and is common to almost every browser today.
platform describes the native platform the browser is running on (e.g. Windows, Mac, or Linux). Note that platform can consist of multiple "; "-separated tokens. See below for further details and examples.
rv:geckoversion indicates the release version of Gecko (such as "10.0"). From Firefox 5.0 and Gecko 5.0 onwards, geckoversion is the same as firefoxversion (described below).
Gecko/geckotrail indicates that the browser is based on Gecko. geckotrail is "20100101" in desktop release builds and does not represent the actual build date of the browser. For desktop development builds, geckotrail presently indicates the build date of the browser, but this is likely to change in the future. Starting February 1st 2012, geckotrail is the same as geckoversion and firefoxversion in Firefox for Android with a native front end (aka. Fennec Native).
Firefox/firefoxversion indicates the browser is Firefox, and provides the version (such as "11.0").
Thanks,
RM -
Automation of Users in Oracle BI presentation services
In Oracle BI presentation services users are only visible if and only if they login atleast once so I want to create those users also in Presentation services who have not yet logged in.
Why do you want this?
If you need this to assign them to a group. You can do this in the repository as well. If you define a group in the RPD it will be used in the presentation services as well. -
Oracle bi presentation service is not getting started
hi All,
for this i checked the sawkig0.log file (under OracleBIdata\web\log ) i got the following details:
Type: Information
Severity: 30
Time: Tue May 20 10:32:15 2008
File: project/sawserver/sawserver.cpp Line: 386
Properties: ThreadID-812
Location:
saw.sawserver
saw.sawserver.initializesawserver
saw.threads
Oracle BI Presentation Services 10.1.3.3.3 (Build 080430.1930) are starting up.
Type: Warning
Severity: 30
Time: Tue May 20 10:32:17 2008
File: project/websubsystems/webextensionbase.cpp Line: 380
Properties: ThreadID-812
Location:
saw.webextensionbase.init.workstationCheck
saw.webextensionbase.init
saw.sawserver
saw.sawserver.initializesawserver
saw.threads
WARNING: The Oracle BI Presentation Server is running on a workstation class machine (Windows 2000 Workstation, Windows XP Professional, etc.). Number of concurrent users may be severely limited by the operating system.
Type: Error
Severity: 42
Time: Tue May 20 10:32:18 2008
File: project/webutil/streaming.cpp Line: 72
Properties: ThreadID-812
Location:
saw.catalog.local.loadCatalog
saw.webextensionbase.init
saw.sawserver
saw.sawserver.initializesawserver
saw.threads
Unexpected end of file encountered. 2 bytes were requested and 1 bytes were read.
Type: Error
Severity: 30
Time: Tue May 20 10:32:18 2008
File: project/webcatalog/catalogimpl.cpp Line: 1216
Properties: ThreadID-812
Location:
saw.catalog.local.loadCatalog
saw.webextensionbase.init
saw.sawserver
saw.sawserver.initializesawserver
saw.threads
Error reading object: /system/privs/catalog/ChangePermissionsPrivilege
Unexpected end of file encountered. 2 bytes were requested and 1 bytes were read.
Type: Error
Severity: 20
Time: Tue May 20 10:32:18 2008
File: project/sawserver/winmain.cpp Line: 74
Properties: ThreadID-812
Location:
saw.sawserver.initializesawserver
saw.threads
Error reading object: /system/privs/catalog/ChangePermissionsPrivilege
Unexpected end of file encountered. 2 bytes were requested and 1 bytes were read.
Type: Error
Severity: 30
Time: Tue May 20 10:32:18 2008
File: project/webcomm/rpcserver.cpp Line: 145
Properties:
Location:
saw.unknown
Assertion failure: m_pImpl != 0 at line 145 of ./project/webcomm/rpcserver.cpp
I already checked the instanceconfig.xml file and found it ok.
please help me out
thanksI have installed Oracle BI EE on My vista Home premuim edition and have installed DB 10g . now trying to start the presentation services but getting error message..
Oracle BI Presentation Services 10.1.3.4 (Build 080726.1900) are starting up.
Type: Warning
Severity: 30
Time: Thu Apr 23 01:07:56 2009
File: project/websubsystems/webextensionbase.cpp Line: 380
Properties: ThreadID-5552
Location:
saw.webextensionbase.init.workstationCheck
saw.webextensionbase.init
saw.sawserver
saw.sawserver.initializesawserver
saw.threads
WARNING: The Oracle BI Presentation Server is running on a workstation class machine (Windows 2000 Workstation, Windows XP Professional, etc.). Number of concurrent users may be severely limited by the operating system.
Type: Error
Severity: 10
Time: Thu Apr 23 01:08:03 2009
File: project/webcatalog/catalogimpl.cpp Line: 736
Properties: ThreadID-5552
Location:
saw.sqlNodeCacheMgr.loadCatalog
saw.webextensionbase.init
saw.sawserver
saw.sawserver.initializesawserver
saw.threads
Invalid item \\?\C:\OracleBIData\web\catalog\samplesales\root\system\mktgcache\anuj-pc\sawguidstate.atr.
Type: Error
Severity: 10
Time: Thu Apr 23 01:08:03 2009
File: project/webcatalog/catalogimpl.cpp Line: 736
Properties: ThreadID-5552
Location:
saw.webextensionbase.init
saw.sawserver
saw.sawserver.initializesawserver
saw.threads
Invalid item \\?\C:\OracleBIData\web\catalog\samplesales\root\system\mktgcache\anuj-pc\sawguidstate.atr.
Type: Error
Severity: 10
Time: Thu Apr 23 01:08:03 2009
File: project/webcatalog/catalogimpl.cpp Line: 381
Properties: ThreadID-5552
Location:
saw.webextensionbase.init
saw.sawserver
saw.sawserver.initializesawserver
saw.threads
Invalid item /system/mktgcache/Anuj-PC/sawguidstate.
Type: Error
Severity: 20
Time: Thu Apr 23 01:08:05 2009
File: project/sawserver/winmain.cpp Line: 74
Properties: ThreadID-5552
Location:
saw.sawserver.initializesawserver
saw.threads
Invalid item /system/mktgcache/Anuj-PC/sawguidstate.
Type: Error
Severity: 30
Time: Thu Apr 23 01:08:05 2009
File: project/webcomm/rpcserver.cpp Line: 145
Properties:
Location:
saw.unknown
Assertion failure: m_pImpl != 0 at line 145 of ./project/webcomm/rpcserver.cpp
Type: Information
Severity: 30
Time: Thu Apr 23 01:08:35 2009
File: project/sawserver/sawserver.cpp Line: 386
Properties: ThreadID-5848
Location:
saw.sawserver
saw.sawserver.initializesawserver
saw.threads
Oracle BI Presentation Services 10.1.3.4 (Build 080726.1900) are starting up.
Type: Warning
Severity: 30
Time: Thu Apr 23 01:08:35 2009
File: project/websubsystems/webextensionbase.cpp Line: 380
Properties: ThreadID-5848
Location:
saw.webextensionbase.init.workstationCheck
saw.webextensionbase.init
saw.sawserver
saw.sawserver.initializesawserver
saw.threads
WARNING: The Oracle BI Presentation Server is running on a workstation class machine (Windows 2000 Workstation, Windows XP Professional, etc.). Number of concurrent users may be severely limited by the operating system.
Type: Error
Severity: 10
Time: Thu Apr 23 01:08:35 2009
File: project/webcatalog/catalogimpl.cpp Line: 736
Properties: ThreadID-5848
Location:
saw.sqlNodeCacheMgr.loadCatalog
saw.webextensionbase.init
saw.sawserver
saw.sawserver.initializesawserver
saw.threads
Invalid item \\?\C:\OracleBIData\web\catalog\samplesales\root\system\mktgcache\anuj-pc\sawguidstate.atr.
Type: Error
Severity: 10
Time: Thu Apr 23 01:08:35 2009
File: project/webcatalog/catalogimpl.cpp Line: 736
Properties: ThreadID-5848
Location:
saw.webextensionbase.init
saw.sawserver
saw.sawserver.initializesawserver
saw.threads
Invalid item \\?\C:\OracleBIData\web\catalog\samplesales\root\system\mktgcache\anuj-pc\sawguidstate.atr.
Type: Error
Severity: 10
Time: Thu Apr 23 01:08:35 2009
File: project/webcatalog/catalogimpl.cpp Line: 381
Properties: ThreadID-5848
Location:
saw.webextensionbase.init
saw.sawserver
saw.sawserver.initializesawserver
saw.threads
Invalid item /system/mktgcache/Anuj-PC/sawguidstate.
Type: Error
Severity: 20
Time: Thu Apr 23 01:08:37 2009
File: project/sawserver/winmain.cpp Line: 74
Properties: ThreadID-5848
Location:
saw.sawserver.initializesawserver
saw.threads
Invalid item /system/mktgcache/Anuj-PC/sawguidstate.
Type: Error
Severity: 30
Time: Thu Apr 23 01:08:37 2009
File: project/webcomm/rpcserver.cpp Line: 145
Properties:
Location:
saw.unknown
Assertion failure: m_pImpl != 0 at line 145 of ./project/webcomm/rpcserver.cpp
--------------------------------------- -
Oracle BIEE Presentation Service
The Oracle BIEE Presentation Service will not start on my machine. Help!
Hi,
if you don't give us some more info, version, machine, logs, etc we won't be able to help you.
Regards. -
How we can make use of cache management using presentation services
hi all
how we can make use of cache management using presentation services
Thanks
Sreedharhi
i have one small question,
first time i have submitted a report and the data has come from database, second i have interchange the cols like col1 to col2 and col2 to col1 and i did col1/col2 will it comes from cache or will it come from database(my question is that any in memory calculations will be done by cache )
Thanks
Sreedhar -
Oracle BI Presentation Services problem - Message without protocol negotiat
Hello,
I have installed all the BI EE components on a single RH linux machine, I'm able to start ORACLE BI presentation service and Java host services after the startup the log file (sawlog0.log) says
Oracle BI Presentation Services 10.1.3.4 (Build 080726.1900) are starting up.
Type: Information
Severity: 30
Time: Thu Feb 26 18:42:56 2009
File: project/sawserver/sawserver.cpp Line: 459
Properties: ThreadID-3086547168
Location:
saw.sawserver
Oracle BI Presentation Services have started successfully.
BUT when I hit the URL [http://]<local host name>:9710/analytics/saw.dll?Dashboard
The browser is blank and the log file throw error message as following
Type: Error
Severity: 40
Time: Thu Feb 26 18:45:12 2009
File: project/webcomm/rpcserver.cpp Line: 744
Properties: ThreadID-41417616
Location: saw.rpc.server
saw.rpc.server.handleConnection
saw.rpc.server.dispatch
saw.threadPool
saw.threads
Message without protocol negotiation
Type: Warning
Severity: 40
Time: Thu Feb 26 18:45:12 2009
File: project/webcomm/socketrpcserver.cpp Line: 491
Properties: ThreadID-41417616
Location:
saw.rpc.server.handleConnection
saw.rpc.server.dispatch
saw.threadPool
saw.threads
Bad request. Closing connection.
Please note that Java host service is up & running with following message
Feb 26, 2009 6:42:59 PM Main main
INFO: Listening for new connections
Can someone help me on what I'm missing?Did you check the Enterprise Manager to see wheter the application was correctly deployed and is up and running?
http://ofdsys.us.oracle.com:9704/em
Go Applications -> "analytics" (already here you can check the status) -> Module "analytics" -> "Test Web Module" -
How to add an image file to Oracle db?
Need help urgently....Anybody knows how to add an image file (example: jpg)into one of the fields in Oracle database??
This will do the job..
package forum;
import javax.servlet.*;
import javax.servlet.http.*;
import java.io.*;
import java.util.*;
import java.sql.*;
import oracle.jdbc.driver.*;
//import oracle.sql.*;
Wanneer een request.getInputStream wordt geconferteerd naar een "String" (zie later) dan ziet de output in tekstformaat er als volgt uit:
-----------------------------7d280152604f4 Content-Disposition: form-data; name="oploadfile"; filename="C:\WINNT\Profiles\mvo\Desktop\boodschap.txt" Content-Type: text/plain Deze boodschap dient te worden ge-insert in de database. -----------------------------7d280152604f4 Content-Disposition: form-data; name="StadID" 1234 -----------------------------7d280152604f4 Content-Disposition: form-data; name="SuccessPage" /forum/error.jsp -----------------------------7d280152604f4--
of opgesplitst
contentType........... multipart/form-data; boundary=---------------------------7d235ade00f0
filename.............. "C:\Documents and Settings\Administrator\Desktop\boodschap.txt"
MIME type............. text/plain
Wat in database moet.. Dit is de eigenlijke boodschap die moet worden ge-insert in de database.
Eind boundary......... -----------------------------7d235ade00f0 Content-Disposition: form-data; name="file1"; filename="" Content-Type: application/octet-stream -----------------------------7d235ade00f0--
We gaan achtereenvolgens:
1. Kijken of het van het "multipart/form-data" type is (uploaden) en strippen van eerste boundery.
1.a Geen "multipart/form-data" ? dan... error message
1.b Groter dan MAX_SIZE ?..dan .. error message
2. Filenaam van de te uploaden file uitlezen
3. Mimetype bepalen en bepalen in welke positie van de string het Mimetype ophoudt, cq waar te uploaden file begint
4. Bepalen waar eind boundery begint
5. De eigenlijke file uitlezen
6. Terug converteren naar bytes
public class WriteBlob extends HttpServlet {
public static final int MAX_SIZE = ParameterSettings.imageUpload;
String successMessage = "";
public void init(ServletConfig config) throws ServletException {
super.init(config);
* Process the HTTP Get request
public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
DataInputStream in = null;
FileOutputStream fileOut= null;
PrintWriter out = response.getWriter();
int kb_size = 0;
boolean pass2 = true;
String message = "";
String responseRedirect = "/forum/uploaden.jsp?message="+" Uploaden geslaagd";
try
//get content type of client request
String contentType = request.getContentType();
// Start stap 1...content type is multipart/form-data
if(contentType != null && contentType.indexOf("multipart/form-data") != -1)
//open input stream
in = new DataInputStream(request.getInputStream());
//get length of content data
int formDataLength = request.getContentLength(); // totale lengte van de inputstream
//initieer een byte array om content data op te slaan
byte dataBytes[] = new byte[formDataLength];
//read file into byte array
int bytesRead = 0;
int totalBytesRead = 0;
int sizeCheck = 0;
while (totalBytesRead < formDataLength)
//kijken of de file niet te groot is
sizeCheck = totalBytesRead + in.available();
if (sizeCheck > MAX_SIZE)
pass2 = false;
message = "Sorry. U kunt slechts bestanden uploaden tot een grootte van 500KB";
responseRedirect = "/forum/uploaden.jsp?message="+message;
bytesRead = in.read(dataBytes, totalBytesRead,formDataLength);
totalBytesRead += bytesRead;
if (pass2==true)
kb_size = (int)(formDataLength/1024);
//create string from byte array for easy manipulation
String file = new String(dataBytes);
/*get boundary value (boundary is a unique string that separates content data)
contentType........... multipart/form-data; boundary=---------------------------7d235ade00f0
int lastIndex = contentType.lastIndexOf("=");
String boundary = contentType.substring(lastIndex+1, contentType.length());
// Stap 2.....bepaal de naam van de upload file
// filename.............. "C:\Documents and Settings\Administrator\Desktop\boodschap.txt"
String saveFile = file.substring(file.indexOf("filename=\"")+10);
saveFile = saveFile.substring(0,saveFile.indexOf("\n"));
saveFile = saveFile.substring(saveFile.lastIndexOf("\\")+1,saveFile.indexOf("\"")); //naam van de file...boodschap.txt
String saveFileName = saveFile;
// Stap 3..Bepaal MIME Type en de positie van eind mime type in string
voorbeeld: -----------------------------7d23d21220524 Content-Disposition: form-data; name="file0"; filename="C:\WINNT\Profiles\mvo\Desktop\z clob.txt" Content-Type: text/plain
String restant = "";
int pos; //position in upload file
// bijv .. filename="C:\Documents and Settings\Administrator\Desktop\boodschap.txt"
pos = file.indexOf("filename=\"");
//find position of content-disposition line
pos = file.indexOf("\n",pos)+1; // eing file naam + spatie
// onderstaand geeft bijv Content-Type: text/plain
restant = file.substring(pos,file.indexOf("\n",pos)-1);
restant = restant.substring(restant.indexOf(":")+2,restant.length()); // MIME type
String mimeType = restant;
//find position of eind content-type line
pos = file.indexOf("\n",pos)+1;
//find position of blank line
pos = file.indexOf("\n",pos)+1;
int start = pos;
// Stap 4 eind boundary
/*find the location of the next boundary marker (marking the end of the upload file data)*/
int boundaryLocation = file.indexOf(boundary,pos)-4; //waarom -4 ..? ziet er uit als linebreak spatie--boundary=-----------------------------7d21c9ae00f0
// Stap 5 en 6..de eigelijke te uploaden file in nieuwe byte file inserten
byte dataBytes2[] = new byte[boundaryLocation-start]; //declareren
for (int i=0;i<(boundaryLocation-start);i++) // inserten BELANGRIJK !!
dataBytes2=dataBytes[start+i];
String next_id = "0";
Statement statement = null;
Connection conn = null;
boolean pass = true;
ResultSet rs = null;
Statement stmt_empty = null;
oracle.sql.BLOB blb = null;
try
int vendor = DriverUtilities.ORACLE;
String username = ConnectionParams.userName;
String password = ConnectionParams.passWord;
String connStr = DriverUtilities.makeURL(vendor);
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
conn = DriverManager.getConnection(connStr,username, password);
if (conn==null){pass=false;}
} catch (Exception e){out.println("<P>" + "There was an error establishing a connection:");}
if (pass==true)
try
String seq_nextval ="select forum_blob_seq.nextval from dual";
statement = conn.createStatement();
ResultSet rset = statement.executeQuery(seq_nextval);
while (rset.next())
next_id = rset.getString(1);
if (next_id.equals("0"))
message = "Uploaden mislukt !...Er ging wat fout tijdens de interactie met de database";
responseRedirect = "/forum/uploaden.jsp?message="+message;
pass = false;
} catch (Exception e1) { out.println("Error blob1 : "+e1.toString()); };
} // end pass
if (pass==true)
try
Statement stmt2 = conn.createStatement();
String insert_empty_blob = "INSERT INTO test_blob(id "+
",filename "+
",mimetype "+
",kb) "+
"VALUES("+Integer.parseInt(next_id) +
",'"+saveFileName+"'"+
",'"+mimeType+"'"+
","+kb_size+")";
stmt2.executeQuery(insert_empty_blob);
conn.commit();
if (stmt2!= null) {stmt2.close();}else{stmt2.close();pass = false;}
} catch (Exception e2){
message = "Uploaden mislukt !...Er ging wat fout tijdens de interactie met de database";
responseRedirect = "/forum/uploaden.jsp?message="+message;
out.println("<P>" + "2. There was an error inserting mime type:");}
} //end pass
if (pass==true)
try
conn.setAutoCommit(false);
} catch (Exception e3) { pass = false; out.println("Error blob 3: "+e3.toString()); };
} //end pass
if (pass==true)
try
String Query_blob ="Select test_blob FROM test_blob where id="+next_id+" FOR UPDATE";
stmt_empty = conn.createStatement();
rs=stmt_empty.executeQuery(Query_blob);
} catch (Exception e4) {
pass = false;
out.println("Error blob 4: "+e4.toString());
message = "Uploaden mislukt !...Er ging wat fout tijdens de interactie met de database";
responseRedirect = "/forum/uploaden.jsp?message="+message;};
} //end pass
if (pass==true)
try
if (rs.next())
blb = ((OracleResultSet)rs).getBLOB(1);
OutputStream stmBlobStream = blb.getBinaryOutputStream();
try {
int iSize = blb.getBufferSize();
byte[] byBuffer = new byte[iSize];
int iLength = -1;
ByteArrayInputStream stmByteIn = new ByteArrayInputStream(dataBytes2);
try {
// while ( (iLength = in.read(byBuffer, 0, iSize)) != -1 )
while ( (iLength = stmByteIn.read(byBuffer, 0, iSize)) != -1 )
stmBlobStream.write(byBuffer, 0, iLength);
stmBlobStream.flush();
} // end while
} catch (Exception e5) {
pass=false;
out.println("Error blob 5: "+e5.toString());
message = "Uploaden mislukt !...Er ging wat fout tijdens de interactie met de database";
responseRedirect = "/forum/uploaden.jsp?message="+message; }
finally { conn.commit(); }
} catch (Exception e6) { out.println("Error blob 6: "+e6.toString()); };
} //end if rs.next()
else { throw new SQLException("Could not locate message record in database."); }
} catch (Exception e7) { out.println("Error blob : "+e7.toString()); };
} // end pass
} // end pass2
else //request is not multipart/form-data
message = "Uploaden mislukt !...Gegevens niet verstuurd via multipart/form-data.";
responseRedirect = "/forum/error.jsp?message="+message;
out.println("Request not multipart/form-data.");
catch(Exception e)
try
//print error message to standard out
out.println("Error in doPost: " + e);
//send error message to client
out.println("An unexpected error has occurred.");
out.println("Error description: " + e);
}catch (Exception f) {}
response.sendRedirect(responseRedirect);
public void doGet(HttpServletRequest request,
HttpServletResponse response)
throws ServletException, IOException {
doPost(request,response);
Regards
Martin -
How to add a custom attributes in Oracle HTML Quotes page?
Hi,
Could someone advice on the best way to add a custom attribute in Oracle HTML Sales Quoting page.
As this page is not an OA page, we are not able to use the concept of View Objects using AK Developer.
Thanks,
ArathiI have a requirement from our end users that all of them requires a shortcut button in toolbar for submitting a request instead of going the normal way in order to submit a single request.
please can any one help me out in solving this query.Any reason you want to use a shortcut rather than using (Requests > Submit) window?
You can use "FND_REQUEST.SUBMIT_REQUEST" API -- https://forums.oracle.com/forums/search.jspa?threadID=&q=FND_REQUEST.SUBMIT_REQUEST&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
How To Submit A Concurrent Request Set Using Fnd_Request.Submit_Request [ID 382791.1]
How To Set ORG_ID When Submitting A Concurrent Request Using FND_REQUEST.SUBMIT_REQUEST in Release 12 [ID 1383266.1]
Thanks,
Hussein -
How to add a new filter in an existing web service method (BIWS - WEBI document)
Hello Experts, we have 7 web service query's connected to a dashboard. Basically it is one WSDL URL and 7 Get Methods...Web service queries are BIWS (via WEBI document instance). There are filters setup for each of these web service methods.
Recently there was a request to add 2 new fields to the webi document and also the 2 fields need to be included as filters in the 7 methods. I know there is an option to edit the method, but when i edit the method, i cannot find the 2 new fields in list to set as filters.Can anybody help me understand how to add filters to an existiing web service method? I do not want to delete the method and republish the block as web service.
Any help will be great and points rewarded.
Thank you
AnnHi Ann,
The reason you are not able to see any of the new columns as a option to select in your web service block is because when you have published that block, they were not present. Add these two new objects in your block and publish it again. You will be prompted for duplication content. Select the highlighted block for duplicate and now you can see the new added objects in the filter option. Update and this will overwrite your published block. Please note, web services do appear to behave weirdly when used with dashboards so I request you to please try it in a separate test report first.
Hope that helps.
Regards,
Tanisha
Maybe you are looking for
-
Display the foreign keys and primary keys in hirarchy qeury please ?
Any sql query to get the following columns: I should display all the master table names,it's primary key field and its foregin key field,the name of the foreignkey'table. This should be displayed in hirarchy i.e. it should start from the top level ta
-
2560x1440 quit on macbook with miniDP to DP
My macbook quit displaying 2560x1440. It is a late 2009 13 inch notebook with the NVidia GeForce 9400M graphics. I connected the display to another mac to learn that the display and cable worked perfectly. Therefore, the problem was with my macbook.
-
Send PDF form to email address user enters in textfield on form.
I would like to be able to allow the person using the form to choose what email address the PDF form is emailed to. I read this post which sounds like what I want but I keep getting a Submit Cancelled error. The email does get generated and the form
-
Traversal field in XML Source of LiveCycle Designer files
Can someone explain to me how the Traversal field in XML Source relates to the tab order for an entire PDF form? Like in my form i have the following, but both have 70 in them, but different names (field vs draw), but i dont know how that relates to
-
Simple Step-by-Step Weblogic+EJB Tutorial
Anyone know of a simple step-by-step weblogic+ejb tutorial? Online? Thanks, Rocky