Can't create XMLType based on OPAQUE in Java+JDBC

Hi,
I'm querying the database using Java and JDBC. The resulting column (there is only one) is of type SYS.XMLTYPE. When I want to create an object of class XMLType of the data in this column I'm getting an error in the orageneric.dll.
The (partial) code I use is:
        OracleResultSetMetaData metaData = (OracleResultSetMetaData)rs.getMetaData();
        int columnCount = metaData.getColumnCount();
        if((columnCount==1) && (metaData.getColumnTypeName(1).equals("SYS.XMLTYPE"))) {
            System.out.println(metaData.getColumnClassName(1));
            XMLType xt = XMLType.createXML(rs.getOPAQUE(1));This is based on some example code in:
http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28369/xdb11jav.htm
When I run this I'm getting the following error:
java.lang.UnsatisfiedLinkError: C:\app\tijink\product\11.1.0\client_2\BIN\orageneric11.dll: The specified procedure could not be found
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1676)
        at java.lang.Runtime.loadLibrary0(Runtime.java:823)
        at java.lang.System.loadLibrary(System.java:1030)
        at oracle.xdb.XMLType.getConnType(XMLType.java:3325)
        at oracle.xdb.XMLType.initConn(XMLType.java:3267)
        at oracle.xdb.XMLType.<init>(XMLType.java:1225)
        at oracle.xdb.XMLType.createXML(XMLType.java:698)I've tried a different version of getting the XMLType object:
            XMLType xml2 = (XMLType)rs.getObject(1);This is based on the example in the XMLDB forum FAQ (How do I access XMLType using JDBC ?
This gives the following casting error:
java.lang.ClassCastException: oracle.sql.OPAQUE cannot be cast to oracle.xdb.XMLTypeI'm a bit lost... any suggestion would be helpful

Harald, also post this question on the java/xdk forum.
A long time ago (2 / 3 years) while fiddling around with XSQL (from the XDK), trying to create XML webpages, I run into several OPAQUE issues as well and I was able to solve them via a lot of info on the java forum (but maybe a java enthousiast here can solve it / answer it anyway). Just a suggestion.
Message was edited by:
Marco Gralike

Similar Messages

  • Can we create Criteria based groups of computers?

    Hi Team,
    We have imported the computer objects to FIM portal and it has few attributes which can help creating the criteria based group of computers.
    But when we tried creating the criteria based security group, we were not able to select any custom object other than Users,Groups in the filter builder.
    We have added the computer objects in the Filter permission as well, but no luck.
    Any suggestions?
    Thanks and Regards, Siva Kumar Balaguru

    Hi Siva
    you definitely can do so.
    You have to modify the RCDC for Group creation. Look for "GroupingCalculatedMembers". within this section you will find a "FilterBuilder" section and here you Change "PermittedObjectTypes" to the list of your object types you
    want to be able to include in your Groups.
    Henry

  • I can't create a empty project in Sun Java Studio Enterprise 8.1

    Hello, i have a problem, i can't create a empty projects because the option is not in wizard, i only have a option "Web Application with Existing Ant Project"
    Why? What can i do?
    I only have one template!!! In other PC work OK with all templates.
    I reinstall, uninstall, install, all!!!
    Regards.
    Edited by: Crainar on Feb 25, 2008 1:26 PM

    I am having same trouble. Installed JDK 5.0 Update 5. Installed the Studio. Ctrl+Shift+N, the only option I have is Web Application with Existing Ant Script.. Please advise how to solve this problem. thx

  • Can i create an exetutable (.exe) program with java???????

    I would like to learn how i can create an exetutable (.exe) program with java.
    Is there any additional package which i should download or buy it?
    Also i would like to write files into CD's direct from my application.
    Is there any library which i must download or buy?
    Thanks!

    check out the free open source GNU gcj native compiler for Java to see if it will do what you want.
    http://gcc.gnu.org/java/
    for writing data files you could use java.io.BufferedWriter. For sound files, look in the javax.sound package

  • Can I connect to Oracle server7.1  through Java-JDBC using the latest thin drivers???

    Hey Gurus,
    Please help me .
    MY Current requirement is to connect to multiple oracle 7.1( and other variants) servers running on different operating systems, through Java/JDBC.
    My FIrst question is, can i connect to older versions of database using latest drivers?
    I could connect to the server running on SCO-oracle 7.1 using SQLNet8.1.7 under windows. But the same is not happening when the client is on Linux.But I need to connect from linux
    It says ORA-03113 - End of communication channel.
    What may be th problem.
    If any one could show some pointers where I can get more information about this problem would be helpfull
    THanks
    Lokesh

    I tried the classpath suggestion above (not the one modifying the .xml file) , but it didnt work for me , I am using WLI 10.3.1 and trying to connect DB on 8.1.7 V . I downloaded the classes12.jar and the ojdbc14.jar file from the oracle and placed in lib and the even included the classpath , but i again got the same exception .
    All this while i was selecting the option Oracle Driver Thin from the DataBase Driver when creating the connection pool from console . I tried with "BEA Oracle Driver (Type 4)" and it worked for me .. Although the option "BEA Oracle Driver (Type 4)" lists only the DBs from 9.0.1 to 11 G , but in my case using this driver i am able to connect to Oracle DB 8.1.7 . So all you guys if it classpath doesnt fix the issue try out by selecting Driver , "BEA Oracle Driver (Type 4)" .
    Manoj , this will fix the Connection pool part of the ques, but for the java part Try to load the Driver class "weblogic.jdbc.oracle.OracleDriver" before connecting to DB with Class.forName.
    Thx
    Yatin Mehta

  • Can not create template based page with customized page type.

    I built a customized page type (with persepective attribute) and wanted to build pages with this type. If the new pages do not based on any template, it works fine. However, if I wanted to use a template, the page type was set back to "standard"!
    Steps to reproduce it:
    1. create a new page type - test page type.
    2. create a new template = test template.
    3. create a new page - test page.
    3.1 choose the page type to be "test page type"
    3.2 fill in the form including the new attribute info.
    3.2 choose the page template to be 'test template"
    3.3 click finish
    4. click the properties of "test page", it shows that the page type is "standard" and the new attribute information is gone!
    If in step 3.2, no template is chosen, the properties of the new page shows the page type is "test page type".
    I tried to find a workaround.
    1. create a page with "test page type".
    2. covert the new page to template.
    I got this error message:
    Error while copying page. (WWC-44262)
    (WWC-00000)
    Looks like customized page type and template can not coexist. Is this a bug?

    How long should the upgrade take? And should it be attempted on a production (infrastructure on machine 1/middle-tier on machine 2) Windows 2000 architecture? Or should be wait for 9.0.4? Or ... should I ask this in a TAR? Thanks!
    Mike

  • Can I create template-based library objects in Dreamweaver CS5?

    At work we need two 'streams' of template. The first are general layout templates, like the ones already available in the MX through CS5 packages (except we'd have our own customised ones). The second are more granular objects, some of which are functional.
    In both cases, I don't want Jimmy to be able to wreak havoc inside anything other than the 'editable regions' which make up the templates.
    Now this is fine if I stick with the first scenario (layout templates) where there's simply a big chunk of editable region for good ole Jim to sprawl into, think of this as the 'body content' area. But I really do need these granular library (or snippet) objects to work in the same way. Unfortunately with my attempts so far they don't work as I'd have thought - perhaps for good reason?
    When I create a blank template and throw in my chunk of HTML (unobstrusive JS and external CSS use selectors in this HTML to provide style and function) and save it as a new library item or snippet, all looks well. Then I create a new document based on a layout template and save it as a plain html file (still all good so far). Next I drop in my custom library item... still all good... but then I go to save the document and it only allows me to save it as a new template! I expected it would just allow me to save it as HTML and have it simply respect the defined editable regions, as happens in the containing page 'body content' editable region.
    Apologies if that got specific and technical quite quickly, but it is quite particular. If you want some example files lemme know and I'll zip some up.
    Many thanks
    p.s It is not a requirement that my library objects must somehow inject their dependency files into the newly created page - I already know what they'll be. Also, I know I must 'detatch from original' once I drop a library item into a document which then allows customisation of the library object.

    Unfortunately that leads me to the same place, I suppose another way of saying my question which may clear the matter up, is: "Can I embed mutually exclusive templates inside templates?"
    For those of you who like things explained conceptually in XML structures, or you're an Adobe developer and you think this isn't currently possible but is awesome, the basic premise is this:
    <page template>
         <noneditable region />
         <editable region>
              Jimmy's text blah blah lorem ipsum.
              <widget template>
                   <editable region>
                        Jimmy's widget customised title
                   </editable region>
                   <noneditable region />
                   <editable region>
                        Jimmy's widget customised feedback
                   </editable region>
              </widget template>
         </editable region>
         <noneditable region />
    </page template>
    Where '<page template />' is stored as a Template (a layout template), and '<widget template>' is stored in either the Library, or as a Snippet.
    cheers,
    -d

  • How can i create Level Based Hierarchy using multiple logical table.

    Hi All,
    in my use case i have two master logical table.
    Division_Mst(divncd,DivnName)
    Department_Mst(deptcd,DeptName)
    and one logical table which contain both column Header (divncd,deptcd)
    and fact table detail where one measure column(empcd) using aggregation count on it.
    so i want to create levelbased hierarchy like this.
    DivnName
              |------DeptName
    which are come from(Division_Mst,Department_Mst) .
    so user can see no of employees division wise and drill down to Department wise.
    How can i achieved this?
    thanks
    Manish

    Check out Shay's blog https://blogs.oracle.com/shay/entry/adf_faces_dynamic_tags_-fora
    Timo

  • Can't create MDFORM based on detail table with upload field

    Has anyone suceeded in creating a Master Detail Form based on a detail form which has an upload field (blob column)?
    I created a table (workingorders) and I want to attach documents to these orders so I created a table (attachments) which holds the attached documents and created a FK between workingorders and attachments. When I create a MD-form based on these tables I get the error:
    Exception from wwv_generate_component.build_procedure (WWV-01821)
    Error creating module: ORA-01403: no data found (WWV-16042)
    When I use a detail table without the BLOB column I don't get this error and everything works just fine.
    any ideas?
    Edward

    Yes, there was a problem when there was a blob field only in the detail table. This has been addressed in patch 3.0.9.8.4 (to be released shortly).
    Till then you will have to put corresponding dummy blob columns in the master table to create the form.

  • Can not create Database-based MDS connection

    Hello Dear Oracle Support,
    I am trying to use MDS to share some common dvm files. First step, I want to create a database based MDS connection but failed.
    My SOA schema is JDEV_SOAINFRA. When I test my Database based MDS connection, I got ORA-01031: insufficient privileges. What privileges I need to grand to MDS schema?
    I am using JDEV_MDS as username to establish MDS connection.
    Thank you for any suggestion and/or information,
    Alena Li

    Hello Alena!
    If you want to wait the answer from Oracle Support here.. you'll need a lot of patience.
    Is the corresponded Database Connection test succeed?
    If it also fails that, I think, your JDEV_MDS user (schema) lack of the CONNECT privilege.
    A question to you - how did you created this schema?
    You should use RCU to create the schemes  for SOA Suite (and other Oracle Middleware).
    The RCU creates the schemes with all necessary structures (tables) and grants.
    Hope this helps,
    Oleg

  • Can not create XMLType

    Hi all,
    I would like to create an XMLType instance in a web application with Sun One Application Server. Here is the code:
    openConnection(); //OK, with a connection pool, oci8 driver
    oracle.xdb.XMLType xml = oracle.xdb.XMLType.createXML(conn, "<foo>Bar</foo>"); //pass, but not OK
    String str = xml.getStringVal(); //got exception
    But there is an exception:
    [03/Oct/2003:15:52:29] INFO ( 6281): CORE3282: stdout: Looking resource name ...
    [03/Oct/2003:15:52:29] INFO ( 6281): CORE3282: stdout: Resource information : com.sun.enterprise.resource.JdbcDataSource@1927275
    [03/Oct/2003:15:52:29] INFO ( 6281): CORE3282: stdout: Sucess to getConnection!
    [03/Oct/2003:15:52:29] WARNING ( 6281): CORE3283: stderr: java.lang.ClassCastException
    [03/Oct/2003:15:52:29] WARNING ( 6281): CORE3283: stderr: at oracle.sql.OpaqueDescriptor.createDescriptor(OpaqueDescriptor.java:76)
    [03/Oct/2003:15:52:29] WARNING ( 6281): CORE3283: stderr: at oracle.xdb.XMLType.<init>(XMLType.java:496)
    [03/Oct/2003:15:52:29] WARNING ( 6281): CORE3283: stderr: at oracle.xdb.XMLType.createXML(XMLType.java:593)
    [03/Oct/2003:15:52:29] WARNING ( 6281): CORE3283: stderr: at org.eun.celebrate.bs.daos.Test.t2(Test.java:111)
    [03/Oct/2003:15:52:29] WARNING ( 6281): CORE3283: stderr: at jasper.Test_jsp._jspService(_Test_jsp.java:83)
    [03/Oct/2003:15:52:29] WARNING ( 6281): CORE3283: stderr: at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
    [03/Oct/2003:15:52:29] WARNING ( 6281): CORE3283: stderr: at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    [03/Oct/2003:15:52:29] WARNING ( 6281): CORE3283: stderr: at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.service(JspServlet.java:552)
    [03/Oct/2003:15:52:29] WARNING ( 6281): CORE3283: stderr: at com.iplanet.ias.web.jsp.JspServlet.serviceJspFile(JspServlet.java:368)
    [03/Oct/2003:15:52:29] WARNING ( 6281): CORE3283: stderr: at com.iplanet.ias.web.jsp.JspServlet.service(JspServlet.java:287)
    [03/Oct/2003:15:52:29] WARNING ( 6281): CORE3283: stderr: at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    [03/Oct/2003:15:52:29] WARNING ( 6281): CORE3283: stderr: at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:720)
    [03/Oct/2003:15:52:29] WARNING ( 6281): CORE3283: stderr: at org.apache.catalina.core.StandardWrapperValve.access$000(StandardWrapperValve.java:118)
    [03/Oct/2003:15:52:29] WARNING ( 6281): CORE3283: stderr: at org.apache.catalina.core.StandardWrapperValve$1.run(StandardWrapperValve.java:278)
    [03/Oct/2003:15:52:29] WARNING ( 6281): CORE3283: stderr: at java.security.AccessController.doPrivileged(Native Method)
    [03/Oct/2003:15:52:29] WARNING ( 6281): CORE3283: stderr: at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:274)
    [03/Oct/2003:15:52:29] WARNING ( 6281): CORE3283: stderr: at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
    [03/Oct/2003:15:52:29] WARNING ( 6281): CORE3283: stderr: at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
    [03/Oct/2003:15:52:29] WARNING ( 6281): CORE3283: stderr: at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
    [03/Oct/2003:15:52:29] WARNING ( 6281): CORE3283: stderr: at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:203)
    [03/Oct/2003:15:52:29] WARNING ( 6281): CORE3283: stderr: at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
    [03/Oct/2003:15:52:29] WARNING ( 6281): CORE3283: stderr: at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:157)
    [03/Oct/2003:15:52:29] WARNING ( 6281): CORE3283: stderr: at com.iplanet.ias.web.WebContainer.service(WebContainer.java:598)
    Does anyone have an idea?
    Regards,
    Dung

    And if I use a direct connection (DriverManager.getConnection) the exception becomes
    [03/Oct/2003:16:05:13] WARNING ( 6281): CORE3283: stderr: java.sql.SQLException: ORA-21608: duration is invalid for this function
    [03/Oct/2003:16:05:13] WARNING ( 6281): CORE3283: stderr: at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
    [03/Oct/2003:16:05:13] WARNING ( 6281): CORE3283: stderr: at oracle.jdbc.oci8.OCIDBAccess.check_error(OCIDBAccess.java:2337)
    [03/Oct/2003:16:05:13] WARNING ( 6281): CORE3283: stderr: at oracle.jdbc.oci8.OCIDBAccess.createTemporaryLob(OCIDBAccess.java:3644)
    [03/Oct/2003:16:05:13] WARNING ( 6281): CORE3283: stderr: at oracle.sql.LobDBAccessImpl.createTemporaryClob(LobDBAccessImpl.java:725)
    [03/Oct/2003:16:05:13] WARNING ( 6281): CORE3283: stderr: at oracle.sql.CLOB.createTemporary(CLOB.java:1011)
    [03/Oct/2003:16:05:13] WARNING ( 6281): CORE3283: stderr: at oracle.sql.CLOB.createTemporary(CLOB.java:956)
    [03/Oct/2003:16:05:13] WARNING ( 6281): CORE3283: stderr: at oracle.xdb.XMLType.getStringVal(XMLType.java:917)
    [03/Oct/2003:16:05:13] WARNING ( 6281): CORE3283: stderr: at org.eun.celebrate.bs.daos.Test.t2(Test.java:113)
    [03/Oct/2003:16:05:13] WARNING ( 6281): CORE3283: stderr: at jasper.Test_jsp._jspService(_Test_jsp.java:83)
    [03/Oct/2003:16:05:13] WARNING ( 6281): CORE3283: stderr: at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
    [03/Oct/2003:16:05:13] WARNING ( 6281): CORE3283: stderr: at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    [03/Oct/2003:16:05:13] WARNING ( 6281): CORE3283: stderr: at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.service(JspServlet.java:552)
    [03/Oct/2003:16:05:13] WARNING ( 6281): CORE3283: stderr: at com.iplanet.ias.web.jsp.JspServlet.serviceJspFile(JspServlet.java:368)
    [03/Oct/2003:16:05:13] WARNING ( 6281): CORE3283: stderr: at com.iplanet.ias.web.jsp.JspServlet.service(JspServlet.java:287)
    [03/Oct/2003:16:05:13] WARNING ( 6281): CORE3283: stderr: at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    [03/Oct/2003:16:05:13] WARNING ( 6281): CORE3283: stderr: at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:720)
    [03/Oct/2003:16:05:13] WARNING ( 6281): CORE3283: stderr: at org.apache.catalina.core.StandardWrapperValve.access$000(StandardWrapperValve.java:118)
    [03/Oct/2003:16:05:13] WARNING ( 6281): CORE3283: stderr: at org.apache.catalina.core.StandardWrapperValve$1.run(StandardWrapperValve.java:278)
    [03/Oct/2003:16:05:13] WARNING ( 6281): CORE3283: stderr: at java.security.AccessController.doPrivileged(Native Method)
    [03/Oct/2003:16:05:13] WARNING ( 6281): CORE3283: stderr: at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:274)
    [03/Oct/2003:16:05:13] WARNING ( 6281): CORE3283: stderr: at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
    [03/Oct/2003:16:05:13] WARNING ( 6281): CORE3283: stderr: at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
    [03/Oct/2003:16:05:13] WARNING ( 6281): CORE3283: stderr: at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
    [03/Oct/2003:16:05:13] WARNING ( 6281): CORE3283: stderr: at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:203)
    [03/Oct/2003:16:05:13] WARNING ( 6281): CORE3283: stderr: at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
    [03/Oct/2003:16:05:13] WARNING ( 6281): CORE3283: stderr: at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:157)
    [03/Oct/2003:16:05:13] WARNING ( 6281): CORE3283: stderr: at com.iplanet.ias.web.WebContainer.service(WebContainer.java:598)

  • How can I create a new User with the Java API like OIDDAS do?

    Hello,
    I'm currently working on an BPEL based process. And i need to create an OCS user. So far I can create an user in the OID. But I cant find any documentation about given this user an email account,calendar and content function etc.
    Did anybody know if there are some OIDDAS Webservices? Or did anybody know how to do this using the Java APIs?

    You are asking about a Database User I hope.
    You can look into the Oracle 8i Documentation and find various privillages listed.
    In particular, you may find:
    Chapter 27 Privileges, Roles, and Security Policies
    an intresting chapter.
    You may want to do this with the various tools included with 8i - including the
    Oracle DBA Studio - expand the Security node and you can create USERS and ROLES.
    Or use SQL*Plus. To create a
    user / password named John / Smith, you would login to SQL*Plus as System/manager (or other) and type in:
    Create user John identified by Smith;
    Grant CONNECT to John;
    Grant SELECT ANY TABLE to John;
    commit;
    There is much more you can do
    depending on your needs.
    Please read the documentation.
    -John
    null

  • Can't create engine: a new feature with Java Plug-in 1.6.0-beta2 ?

    Hi
    We use Java.Help embedded in an applet to check small pieces of text. The whole things works without problems until recently: the full text search does not work anymore when the applet is called with http, it does work when it is called as File in the browser. I suspect the automatic upgrade of JRE 1.6.0-beta2 is related to this.
    I have tried to put
    grant codeBase "http://www.unifr.ch/dokpe/procedures/procall.jar" {
    permission java.security.AllPermission;
    }in my security file but it does not change the problem.
    The url is http://www.unifr.ch/dokpe/procedures/index.htm
    Thanks for any help
    Fran�ois Rappaz
    The complete error stack is
    MergineSearchEngine: params: {engine=com.sun.java.help.search.DefaultSearchEngine, data=_jhs}
    Exception while creating engine named com.sun.java.help.search.DefaultSearchEngine for view: javax.help.SearchView@dfe303
    java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
         at java.lang.reflect.Constructor.newInstance(Unknown Source)
         at javax.help.search.MergingSearchEngine.makeEngine(MergingSearchEngine.java:169)
         at javax.help.search.MergingSearchEngine.<init>(MergingSearchEngine.java:63)
         at javax.help.JHelpSearchNavigator.getSearchEngine(JHelpSearchNavigator.java:102)
         at javax.help.plaf.basic.BasicSearchNavigatorUI$SearchActionListener.actionPerformed(BasicSearchNavigatorUI.java:110)
         at javax.swing.JTextField.fireActionPerformed(Unknown Source)
         at javax.swing.JTextField.postActionEvent(Unknown Source)
         at javax.swing.JTextField$NotifyAction.actionPerformed(Unknown Source)
         at javax.swing.SwingUtilities.notifyAction(Unknown Source)
         at javax.swing.JComponent.processKeyBinding(Unknown Source)
         at javax.swing.JComponent.processKeyBindings(Unknown Source)
         at javax.swing.JComponent.processKeyEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)
         at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)
         at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)
         at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)
         at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    Caused by: java.security.InvalidParameterException
         at com.sun.java.help.search.DefaultSearchEngine.<init>(DefaultSearchEngine.java:75)
         ... 35 more
    MergineSearchEngine: startSearch()

    I have found a thread in another forum with the same problem, I think: http://forum.java.sun.com/thread.jspa?forumID=42&threadID=616794
    One more point: I have remove the Plug-in 1.6.0-beta2 and use now the 1.5.0_06 version: I can use the full text search without problem !
    any idea someone ?
    Fran�ois

  • How can i create a project with my exisiting java code

    Hi All,
    I have a source code of one project and i want to execute this in jdeveloper 10.1.3.1.0 version.
    can u please suggest me how can i execute that project
    its using struts and ejb's
    i need clear steps of this.
    Thanks in Advance.
    Regards,
    588872

    Under file->new->Projects you'll find two options that are relevant to you:
    One is called project from WAR file - this will allow you to point to a project that has been packaged as a WAR and will create a JDeveloper project for it.
    The other option is called "Project from existing source" this will allow you to point to your existing code directory and will create the JDeveloper project for this.
    After you created the project, you might want to do a bit of tweaking under the project properties->content and sub categories for Web content, resources etc...
    And you might also need to add any missing JAR files you are depending on to the libraries node of your project properties.

  • Can i create & use ms-word files with java?

    I am making an application in which I need to write some information into a formatted ms word document. I am familiar with writing into a .txt file, but have no idea how to create / or even add info taken from text fields and insert it into an exixting word file. If anyone has any ideas or code frags I would really appreciate the help. Thanks

    Provided that you are on a Windows machine and that Word is installed, you can manipulate an instance of the MSWord ActiveX control to create documents (that's how we do it). See:
    http://danadler.com/jacob/

Maybe you are looking for