Oracle Intermedia Search in jsp files
I am using Oracle Intermedia for search ".jsp" files. Actually i am storing the files on a bfile column and passing the bfile to a stored procedure which atually reads and highlights the given search keywords in the ".jsp" files.
Problem here is that the content of the ".jsp" file is a mix and match of staic html and script. the search output gives HTML along with the jsp tags and scripts.
Can anyone suggest a way to give the html output alone excluding the jsp tags and scripts.
Is there any method or any inbuilt oracle package thru which we can extract the static content alone(if the starting and ending position of the static content is known).
Solicit suggestions at the earliest.
That this searches for the phrase "Oracle programmer", not just any document which has these words.
Similar Messages
-
Getting intermedia classes in jsp file
Hi,
I am using oracle intermedia classes in jsp file.I am importing the package 'oracle.ord.im' , and when running it is telling that the package is not available.
I installed intermedia with oracle 10g, and i am using tomcat server,i don't know why it is saying that package is not availabe.
can any one tell me how to access that package in a jsp fileSee my reply to your duplicate query
-
Is it possible to integrate Oracle intermedia search into apex ?(1)
Or do something similar manually yourself in oracle xe ?(2)
(1)I've been reading through part of the documentation of the intermedia search, and find it quite intresting. Better to use that if one can, then to have to do that it manually or yourself. But all I read is about JSP and PSP, and I guess PSP's are used by apex, but I was wondering if there was any way, to integrate intermedia search into apex, so that one can lookup say mp3, video files and images and display them in apex as well. Images may take some work but would I suppose be possible.
However for the other two you need also player software to play both of them. As far as I know this is not integrated into Apex, but could possibly be provided by using the player integrated with a webbrowser, and by linking it to apex. So the browser is launched and plays the video or the audio file or alternatively a player is launched that allows to do that. But correct me if I'm wrong.
(2) Alternatively I was wondering if one could do this, manually in Oracle XE, but then manually, by making tables with blobs and putting the files in there, and then finding somehow a way to get them played by a player, or to have them be put in a directory, and/or erased from that directory, and modify the player, or let it be activated and controlled by some kind of script to look for new files, and then play them off . Could this be done, by adding a parameter new_file_to_play to a message passed to the player, or the program governing the players behavior ?
I know this sound difficult, and it probably is, but it would have its benefits. I suppose a simple answer would by, why not use oracle 10g with intermedia search ? Well because although I expect this to be the preferable choice, the license is rather expensive for me, and if I could get a rudimentary version working on XE, even having to do it myself, and writing the code as well,
it would be ok.
I just wonder could one not, make a table, with a nr, a blob, and then the specific fields for the specific information of that type, and then use a extraction program that extracts that information from a file, and puts it in a xml or csv file, so that say after the images were uploaded, one can load the details in as well ?
It is more work, more complicated, and not as easy to use, but it could work I suppose.
Any comments are welcome.
Best Regards,
FlorisYou should be able to add a menu option to Oracle E-Business Suite that just calls out to the URL of your ADF 11g application.
http://knol.google.com/k/andy-pellew/creating-new-menu-items-in-oracle-e/v4b5tu39zysj/17# -
Easy way to search for jsp file
is there a way to search for a file in jdeveloper. I have lots of jsp file. and I sometimes i know the full name or partial name of the jsp file, but not sure if there is a way to search for the file in JDev.
Thanks in advnace.When you run the search all of the files that match your query will be listed in message log. Simply double click on the file in the message log to view it.
--Ric -
How to import jsp file in other jsp file
I am using JSP for a website and my database is in Oracle. I want to connect to Oracle database in one jsp file such as connection .jsp.
Then I want to use this same connection in all the jsp files by importing the jsp file. (I know in Core java we can do this by import statement e.g. import connection.java) but how can I do this in jsp. whwn i am importing connection.jsp using <%@ page import=connection.jsp%> It is showing errors.
Plz help me. It's very urgent.
Thanks in advance.Thats because import is for importing packages as any jsp tutorial could have told you. You are looking for include:
<%@ include file="connection.jsp"%> -
Searching for ARCHIVLOG file.
Hi all,
I'm hitting this error.
unable to find archive log
archive log thread=1 sequence=4367
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of recover command at 05/04/2010 12:38:29
RMAN-06054: media recovery requesting unknown log: thread 1 seq 4367 lowscn 176373105
I need to know where oracle is searching for what file.... is it possible to get this infos ??????
Thanks
*THi.
thanks for your reply.
I was trying to move my OEM GC Repository to a new database / host.
I use the metalink doc 602955.1
I activated the archivlog Mode descried in the doc.. After that I create the RMAN backup. ...database plus archivelog;
At the restore point I got the error of missig archivlogs :-(((
SQL> select FIRST_TIME, SEQUENCE#, THREAD# from V$ARCHIVED_LOG where SEQUENCE# = 4367;
.. NOTHING SELECTED..
select first_time, sequence# from V$ARCHIVED_LOG
FIRST_TI SEQUENCE#
09.06.09 3247
09.06.09 3248
09.06.09 3249
09.06.09 3247
09.06.09 3248
09.06.09 3249
09.06.09 3247
09.06.09 3248
09.06.09 3249
09.06.09 3247
09.06.09 3248
FIRST_TI SEQUENCE#
09.06.09 3249
04.05.10 5650
04.05.10 5651
What can I do to find the archivlog file or ignore it.
Thanks. *T -
Internal Server Error while running JSP file (Oracle AS - HP Unix)
Hello Friends,
I have created a JSP file in which I am trying to connect the database using oracle.jdbc.pool directory. But it shows an error message as:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
the path for pool package is:
/appltest/apps/prodora/iAS/oem_webstage/oracle/jdbc/pool
the location of JSP file is:
/appltest/apps/prodcomn/portal/TEST_test/test
What I think is I have to play with the CLASSPATh entries, but dont know how. Please help me in solving this issue...
For your reference the JSP code is:
<%@ page import="java.sql.*, javax.sql.*, oracle.jdbc.pool.*" %>
<jsp:useBean id="ods" class="oracle.jdbc.pool.OracleConnectionCacheImpl" scope="session" />
<%
try
ods.setURL("jdbc:oracle:thin:@test:1546:test");
ods.setUser("kpm_hr");
ods.setPassword("kpm_hr");
Connection conn = ods.getConnection();
Statement stmt = conn.createStatement();
Resultset rset = stmt.executeQuery("select first_name,last_name from kpm_hr.kpm_hr_emp_mst where empcode='P0580'");
rset.next();
out.println(rset.getString(1)+" "+rset.getString(2);
catch(SQLException e)
out.println(e);
Thanks in adavnce,
Ankur
Regards,
Ankur BhatiaJust to verify, which relevant log files have you found?
catch(SQLException e) {
out.println(e);
} Have you search the console log file?
A quick observation reveals that your jsp is just a standalone java program executed inside jsp. Suppose you just run it as a standalone program. Any error then?
Another way going forward is to install oc4j standalone of the same version. It is very easy to install: just download the oc4j-extended.zip and unzip it and run "java -jar oc4j.jar". Put you jsp inside j2ee/home/default-web-app and run. You should see relevant log messages in j2ee/home/log/server.log and j2ee/home/application-deployments/yourApp/application.log.
You should have Jdeveloper of some appropriate version installed. If you have not, install one. It might be not a little bit high learning curve at first, but the rewards are quick and amazing, especially since jdev 10.1.3. (I am speaking from my experience.) Try it with Jdeveloper. -
Hello there!
I installed the package of Examples for Oracle 11g and did everything correctly about the configuration process of the PhotoAlbum example for JSP, but when I searched for the file "PhotoAlbumDBInfo.jsp" - funnily, the main file to run the example - it strangely wasn't in the package located in <ORACLE_HOME>\ord\http\demo\jsp. Then, I'm not able to run the program without this file.
I tried to search it through the internet, but with no success.
Maybe was it corrupted during the instalation? Or there is some issue about the Oracle Examples updated?
Can someone point out how to solve this situation? If I could get this JSP file, would be great.
Thank you very much! I'm really needing this to start a customized work to my university using Oracle Multimedia.
Greetings from Brazil!Yes, there is. As follows:
About the JSP Sample Application
================================
The Oracle Multimedia JavaServer Pages (JSP) Photo Album sample application
shows how to use the Oracle Multimedia Servlets and JSP Java Classes library
to upload and retrieve multimedia data to and from a database. Users can
access the JSPs to view the contents of the photo album (including thumbnail
versions of each photograph), to view the full-size version of any
photograph, and upload new photographs into the album.
The Oracle Multimedia JSP Photo Album sample application contains the
following files:
PhotoAlbumDBInfo.jsp
A JSP that displays an HTML form that prompts users to enter the database
schema, password and the database connection string.
Users can choose one of these options for the database connection string.
Option 1. A JDBC OCI driver specifying a SQL*Net service name.
This option works on all platforms where an Oracle Database
client is installed.
Option 2. A JDBC Thin driver specifying a host, port and Oracle
database SID. This option works on all platforms and does not
require an Oracle Database client.
PhotoAlbumBean.java uses the input information to connect to the database,
retrieve and upload photographs.
PhotoAlbum.jsp
A JSP that displays the contents of the photo album using an image
tag <IMG SRC="PhotoAlbumMediaViewer.jsp?media=thumb&...> to display
the thumbnail images.
A friend of mine did the same installation and configuration on a Windows Ultimate (x64) and the file is also missing there. Could it be possible that the "Oracle Database 11g Release 2 Examples" do not have this file in the version that I mentioned? None has the file or it's not permitted to share this file through this forum?
Thanks!
Edited by: 945632 on 11/07/2012 17:33
Edited by: 945632 on 11/07/2012 17:40 -
Exception while opening a JSP file created using oracle report builder
I have created a JSP page which contains embedded Oracle reports build using Oracle Report Builder.
I have deployed the JSP created above to the Oracle Application Server
but when i try to open the JSP file it gives the following error:
500 Internal Server Error
javax.servlet.jsp.JspException: rwlib-1: REP-1202: ORACLE logon not specified. at oracle.reports.jsp.ObjectsTag.doEndTag(ObjectsTag.java:206) at testing.test1._jspService(_test1.java:75) [SRC:/testing/test1.jsp:0] at com.orionserver[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56) at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:567) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:302) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65) at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source) at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:604) at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317) at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790) at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:208) at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:125) at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192) at java.lang.Thread.run(Thread.java:534)
can anybody help regarding this
this is of high priority to me
thanks and regards
Subhajitbump
-
Using JSP to stream XML to a Oracle Report .jsp file
I created some Oracle Reports for a pdf output. Using these reports can I stream a URL XML file to it from a JSP XML read from a database? I would like to use JSP's to read the datbase and then stream the XML to the JSP report (Oracle Report Server). Is this possible?
Any help would be great.
Thanks in advance.I was able to hard code a URL running XSQL which created XML and it worked great. Then I created a Oracle Report and saved it as a JSP file. With this JSP file can you feed it XML from another JSP process that reads the database? I looked at using something like inputstream coding in this JSP report file. I am new to JSP's and Java so any examples would be great.
What I am tring to do is change the JSP file with diffent values each time I run the report and I do not want to read from the database at report generation time. I would like to input the data from a JSP streamed process that would stream the XML to the report JSP with out hard coding the URL in the report data source. Is this possible?
Thanks for your help in advance. -
Difference between Oracle Ultra Search and Intermedia Search
hi,
Can any one please tell me how Oracle Ultra Search is Different from Intermedia Search .from an article i came to know that Ultra search helps you to search dataq in Multiple RDBMS ,documents,URLs etc . but i think these options are also there in Intermedia
regds
sangeethThese are Oracle Text questions. Intermedia Text is now Oracle Text and has it's own forum. Please post Oracle Text qestions in the Oracle Text Forum where you will get a better, quicker answer. The Oracle Text forum is frequently monitored by Oracle text experts, this forum may be occasionally scanned by these experts, or not at all.
-
How Oracle Ultra Search is Different from Intermedia Search
hi,
Can any one please tell me how Oracle Ultra Search is Different from Intermedia Search .from an article i came to know that Ultra search helps you to search dataq in Multiple RDBMS ,documents,URLs etc . but i think these options are also there in Intermedia
regds
sangeethUltra Search is an application on top of Oracle Text (aka interMedia Text). You can find more information about it here: http://otn.oracle.com/products/ultrasearch/content.html
-
Oracle text search not working for WSDL files
I have a table (resources) with blob data type column (xml_data) and I've created context type index on that column. I've XSD and WSDL files stored in that blob column.
I can search XSD and XML files with a query with contains operator. But any search on the words from wsdl file returns zero results.I am not able to perform search on wsdl file.
Please advise me whether oracle text can work for WSDL files also ?
Query details
===========
create index myIndex on resources (xml_data) indextype is ctxsys.context;
select * from resources where contains(xml_data, 'searchword') > 0
Thanks a lot,
SanthiEven though it isn't listed specifically, I can't see why it wouldn't work. The WSDL file should be a simple XML file, so in theory it shouldn't be any different to Oracle Text than the XML file that you loaded and searched successfully. Did you get any errors during indexing, and what do your tokens look like in the DR$MYINDEX$I.TOKEN_TEXT column?
Do you have a mini test case that didn't work for you? Perhaps we could play with it a bit.
Long term you might want to consider using section groups so that you can search "within" tags.
-Ron -
Calling oracle reports from jsp file
how to pass parameters from jsp file oracle reports.i am getting reports wihtout passin parameters.
pls help me
urgent
vasavadattaKarthik,
You might want to repost this question to the reports forum - you'll be more likely to get a response from a reports expert.
Thanks
Blaise -
Oracle error 3113 end-of-file on communication channel in intermedia
Hello from Athens.I create a domain index.After that insert into
the table 600 rows from another identical table.
then I make the query select count(*) from table A;
return 600 rows
then I make the query select count(*) from ctx_user_pending
return 600 rows
then I execute the statement
exec ctx_ddl.sync_index('myindex')
After some minutes I get the message
plsql procedure sucessfully completed.
then the query select count(*) from ctx_user_pending
return 0 rows
But after the 8 insert when I make for 8th time
exec ctx_ddl.sync_index('myindex')
I took the message
oracle -error 3113 end-of-file on communication channel
I think is some problem with oracle shared memory allocation but
I kneed some more help.The environment is
oracle intermedia 8.1.7 and the os is linux (kernel 2.4.10)
I waiting for details please
Thanks PanosWe have had this problem quite frequently after a number of
updates to an index. Rebuilding the index or optimizing it
usually fix the problem.
More recently, we have upgraded to 8.1.7.2 (a week ago) and
haven't yet encountered the problem.
Maybe you are looking for
-
How to find out Query name if i have Program generated by Query
Hi Gurus, Can you please let me know the Query Name if i have the Program name. The program name is : AQTQP2P=========INVENTORY_SUM= I thought P2P is the user group and either "INVENTORY_SUM" or "AQTQP2P" is the Query name but both doesn't exists
-
My wife has an I Tunes account on our PC, I have an I tune account on my Mac Book Pro. How can I get the music from her account on the PC to my account on the Mac Book and I phone?
-
Error in Creating New Web Application SharePoint 2013
Everything was working fine but today when i try to create a new web application i am getting the following error.It's happening whenever i am trying to create a new web application. The directory C:\inetpub\wwwroot\wss\VirtualDirectories\26060 is a
-
Best Approach for Security in WebCenter Portal Application
Hi, We are analyzing a right approach for webcenter portal security on an application . We found that we can do all Roles and Security in Page Hierarchy which in turn stores the security details in Jazn-data.xml . Is this the right approach for defin
-
Opening new Mail message in the main window
Hello, When I get a new mail message notification banner in the right top corner of the screen and click on it, this message is opened in a popup window. I want it to be opened in the main window, like it does when you click on a message if you are a