ClassNotFoundException: trying to load OC4J JNDI InitialContextFactory

Hello!
Trying to make a call to an EJB deployed in OCJ4 from a oracle java stored proc. After loaded orion.jar and crimson.jar lib into SCOTT schema, I can't get the JNDI Context working because of this error:
============================================
javax.naming.NoInitialContextException: Cannot instantiate class:
com.evermind.server.ApplicationClientInitialContextFactory. Root exception is
java.lang.ClassNotFoundException:
com/evermind/server/ApplicationClientInitialContextFactory
at java.lang.Class.forName0(Class.java)
at java.lang.Class.forName(Class.java)
at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:45)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java)
at javax.naming.InitialContext.init(InitialContext.java)
at javax.naming.InitialContext.<init>(InitialContext.java)
===============================
I did load the java with "loadjava" with on time with the "resolve" option and time time no option and still no working.
Here is the EJB client code:
=======================================
import java.sql.*;
import java.util.*;
import javax.naming.*;
import com.evermind.server.ApplicationClientInitialContextFactory;
class EmpRemoteCall {
public static void main(String[] args) {
System.out.println(getEmpName());
public static String getEmpName() {
String ejbUrl = "java:comp/env/ejb/Emp";
String username = "admin";
String password = "admin";
Hashtable environment = new Hashtable();
environment.put(Context.INITIAL_CONTEXT_FACTORY, "com.evermind.server.ApplicationClientInitialContextFactory");
environment.put(Context.PROVIDER_URL, "ormi://127.0.0.1/testemp");
environment.put(Context.SECURITY_PRINCIPAL, username);
environment.put(Context.SECURITY_CREDENTIALS, password);
//environment.put(Context.SECURITY_AUTHENTICATION, ServiceCtx.NON_SSL_LOGIN);
//environment.put(javax.naming.Context.URL_PKG_PREFIXES, "oracle.aurora.jndi");
com.kboum.sertir.essais.EmpHome homeInterface = null;
try {
Class.forName("com.evermind.server.ApplicationClientInitialContextFactory", true, ClassLoader.getSystemClassLoader());
System.out.println("Creating an initial context");
Context ic = new InitialContext(environment);
System.out.println("Looking for the EJB published as 'java:comp/env/ejb/Emp'");
homeInterface = (com.kboum.sertir.essais.EmpHome) ic.lookup(ejbUrl);
catch (CommunicationException e) {
System.out.println("Unable to connect: " + ejbUrl);
e.printStackTrace();
//System.exit(1);
catch (NamingException e) {
System.out.println("Exception occurred!");
System.out.println("Cause: This may be an unknown URL, or some" +
" classes required by the EJB are missing from your classpath.");
System.out.println("Suggestion: Check the components of the URL," +
" and make sure your project includes a library containing the" +
" EJB .jar files generated by the deployment utility.");
e.printStackTrace();
//System.exit(1);
catch (ClassNotFoundException e) {
System.out.println("Unable to connect: " + ejbUrl);
e.printStackTrace();
//System.exit(1);
try {
System.out.println("Creating a new EJB instance");
com.kboum.sertir.essais.Emp remoteInterface = homeInterface.findByPrimaryKey(Integer.valueOf("7369"));
System.out.println(remoteInterface.getENAME());
System.out.println(remoteInterface.getSAL());
remoteInterface.setSAL(2);
System.out.println(remoteInterface.getSAL());
return remoteInterface.getENAME();
catch (Exception e) {
System.out.println(e.getMessage());
e.printStackTrace();
return "error";
}

Is there a way to add jar libraries to the Oracle JVM CLASSPATH? Is this the same as the system's CLASSPATH env. variable?
Thank you!
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Alex McClennan ([email protected]):
The package prefix in the code extract was correct - i.e. "oracle.aurora.jndi". A value of "oracle.aurora.jndi.*" would be incorrect.
The problem is that the context factory implementation specified (com.evermind.server.ApplicationClientInitialContextFactory
) can't be found, the mostly likely reason being that the library containing the class isn't on the classpath.
Cheers,
ax<HR></BLOCKQUOTE>
null

Similar Messages

  • ClassNotFoundException trying to load classes in a .war file inside an .ear file

    Hi. I've deployed an EJB2 enterprise app as an ear file on WebLogic 6
              without errors. The ear file contains web app and ejb components in war and
              jar files. The web component is set to be the default web app in the
              config.xml file. Everything deploys without error messages.
              My problem is that I get ClassNotFoundExceptions when I try to invoke a
              servlet (via its servlet-mapping) or do Class.forName() on any class file in
              the war file.
              I see in '.wl_temp_do_not_delete' that the ear file has been decomposed into
              the ejb jar and web war files. The war file is not 'exploded' into a
              directory structure, however (as the console.war is). Is this an error
              (should the class packages in the war file be 'exploded'?)
              I don't see a tag in the web.xml, config.xml, or application.xml that tells
              the server to explode the war file--is there one?
              Note that if I manually copy the exploded class folders into the
              '_tmp_war_myserver_myserver_<<webappname>>' directory (and not, curiously,
              into a WEB-INF/classes subdirectory of that directory), the servlets and
              other classes load correctly. Also, jsps and html files load just fine
              without exploding the war file.
              Note also that the server complains about not being able to find the
              classes, even though it reports that the decomposed war file is in the
              classpath. Is there a problem loading class files from a .war file (because
              the namespace is different, with root classes located in WEB-INF/classes
              rather than the .war file's root?)
              Also, in the application.xml file, what is the meaning of the
              <context-root></context-root> element? What should its value be? What if
              you leave it blank?
              Thanks for any help,
              Reid
              

    Is there a way to add jar libraries to the Oracle JVM CLASSPATH? Is this the same as the system's CLASSPATH env. variable?
    Thank you!
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Alex McClennan ([email protected]):
    The package prefix in the code extract was correct - i.e. "oracle.aurora.jndi". A value of "oracle.aurora.jndi.*" would be incorrect.
    The problem is that the context factory implementation specified (com.evermind.server.ApplicationClientInitialContextFactory
    ) can't be found, the mostly likely reason being that the library containing the class isn't on the classpath.
    Cheers,
    ax<HR></BLOCKQUOTE>
    null

  • Error while trying to start oc4j 11g in standalone mode

    I get this error while trying to start oc4j 11g (that comes with JDeveloper 11g Technical Preview 2 ) in standone mode. Any ideas ?
    Sep 17, 2007 6:29:21 PM com.sun.faces.spi.InjectionProviderFactory createInstance
    INFO: jsf.core.injection.provider_generic_web_configured
    Sep 17, 2007 6:29:23 PM org.apache.myfaces.trinidad.component.UIXComponentBase _createType
    SEVERE: Could not load type properties
    java.lang.NullPointerException
    at oracle.classloader.PolicyClassLoader.findLocalClass(PolicyClassLoader.java:1491)
    at oracle.classloader.SearchPolicy$FindLocal.getClass(SearchPolicy.java:226)
    at oracle.classloader.SearchSequence.getClass(SearchSequence.java:119)
    at oracle.classloader.SearchPolicy.loadClass(SearchPolicy.java:852)
    at oracle.classloader.PolicyClassLoader.askParentForClass(PolicyClassLoader.java:1315)
    at oracle.classloader.SearchPolicy$AskParent.getClass(SearchPolicy.java:72)
    at oracle.classloader.SearchSequence.getClass(SearchSequence.java:119)
    at oracle.classloader.SearchPolicy.loadClass(SearchPolicy.java:852)
    at oracle.classloader.PolicyClassLoader.askParentForClass(PolicyClassLoader.java:1315)
    at oracle.classloader.SearchPolicy$AskParent.getClass(SearchPolicy.java:72)
    at oracle.classloader.SearchSequence.getClass(SearchSequence.java:119)
    at oracle.classloader.SearchPolicy.loadClass(SearchPolicy.java:852)
    at oracle.classloader.PolicyClassLoader.askParentForClass(PolicyClassLoader.java:1315)
    at oracle.classloader.SearchPolicy$AskParent.getClass(SearchPolicy.java:72)
    at oracle.classloader.SearchSequence.getClass(SearchSequence.java:119)
    at oracle.classloader.SearchPolicy.loadClass(SearchPolicy.java:852)
    at oracle.classloader.PolicyClassLoader.askParentForClass(PolicyClassLoader.java:1315)
    at oracle.classloader.SearchPolicy$AskParent.getClass(SearchPolicy.java:72)
    at oracle.classloader.SearchSequence.getClass(SearchSequence.java:119)
    at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1681)
    at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1642)
    at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1627)
    at org.apache.myfaces.trinidad.component.UIXComponentBase._createType(UIXComponentBase.java:1393)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.<clinit>(UIXComponentBase.java:96)
    at oracle.adfinternal.view.faces.renderkit.rich.DialogRenderer.<init>(DialogRenderer.java:34)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
    at java.lang.Class.newInstance0(Class.java:350)
    at java.lang.Class.newInstance(Class.java:303)
    at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:1024)
    at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:1096)
    at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:505)
    at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:398)
    at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1285)
    at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:856)
    at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:473)
    at com.evermind.server.Application.getHttpApplication(Application.java:753)
    at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:2039)
    at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:1958)
    at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:645)
    at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:289)
    at com.evermind.server.http.HttpServer.setSites(HttpServer.java:270)
    at com.evermind.server.http.HttpServer.setConfig(HttpServer.java:177)
    at com.evermind.server.ApplicationServer.initializeHttp(ApplicationServer.java:2747)
    at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1255)
    at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:129)
    at java.lang.Thread.run(Thread.java:595)
    07/09/17 18:29:26 Oracle Containers for J2EE 10g (11.1.1.0.0) initialized
    Thanks
    Ramesh

    Using the OTN2 tech preview build 4684 now available on OTN, I used the JDEVHOME/jdev/bin/start_oc4j script to startup the embedded server in standalone mode and cannot reproduce these errors.
    Can you try with build 4684 from OTN and see if the same issue still reproduces?
    If so, does it occur even before ever deploying any applications of your own to the instance?

  • Loading the JNDI Tree in a Cluster

    Is there any special processing that occurs with a Startup class when it
              has been
              started via the cluster level properties file?
              We've got a class that loads the JNDI tree for various configuration for
              our application.
              It's written that so that it will rebind() entries in the tree, so two
              copies could work together
              in the cluster, but I'd like to prevent the double work. (One copy
              bind()s an element, then the other rebind()s the same value.
              Are Startups "cluster" aware, and is there any magic to simplify this
              for me (or do I do the
              work of creating a semaphore-like setup in my class to detect two copies
              running.)
              Thanks in Advance,
              Brian Homrich
              Chicago, Illinois
              

    In the startup class on Environment object if you don't set
              replicatebindings to false, in a cluster all locally bound objects will be
              replicated. The default it true. So, jndi will try replicate every
              bind/rebind etc.
              Rebind will remove old copy and bind the new copy. But I have to understand
              more what you are trying to do, before I can be of any help.
              - Prasad
              Brian Homrich wrote:
              > Is there any special processing that occurs with a Startup class when it
              > has been
              > started via the cluster level properties file?
              >
              > We've got a class that loads the JNDI tree for various configuration for
              > our application.
              > It's written that so that it will rebind() entries in the tree, so two
              > copies could work together
              > in the cluster, but I'd like to prevent the double work. (One copy
              > bind()s an element, then the other rebind()s the same value.
              >
              > Are Startups "cluster" aware, and is there any magic to simplify this
              > for me (or do I do the
              > work of creating a semaphore-like setup in my class to detect two copies
              > running.)
              >
              > Thanks in Advance,
              >
              > Brian Homrich
              > Chicago, Illinois
              

  • Adobe cloud tries to load addon which I have deleted in Extension manager

    when Adobe Cloud starts it tries to load an application (Edge FX lite) that I have deleted in Adobe Extension Manager cc. I get the error message ' unable to install the addon EdgeFX lite  error 603. How do I stop this?
    Also in Adobe Exchange in 'My Stuff'  there are showing addons which I have removed in Adobe extension Manager cc which I would like to be removed from this listing as I will never use them, but if I right click to uninstall I fail to get rid of them.

    Apologies, without making the assumption that you are signed in
    1) Go to https://creative.adobe.com/addons/
    2) In the top right hand corner select sign in and enter your Adobe ID and password
    3) Once logged in, on the center of the screen at the left hand side, select the link 'All your purchases and shared items'
    4) You will then be taken to a page that is the equivalent of your My Stuff panel.
    5) You can then install individual add-ons/extensions.
    Kind regards,
    Lea

  • Is there a way of stopping the kernel from trying to load a device???

    Hi,
    Basically I have a Nvidia 7950GX2 that i have installed in a Mac Pro to use in windows and it works perfectly but when i try to boot into OSX i get kernel panics.... I still have my 7300 in the machine for OSX. when I try this methos with a 7800 gtx it works just fine.....
    Is there a way i can stop OSX trying to load the device on boot? disable it
    Thanks in Advance...................

    Video cards that do not have Apple ROMs cannot boot an EFI based machine like the Mac Pro.  Currently the only video cards that will properly work in the Mac Pro are the three available from Apple.  You can read more about this in the Mac Pro forums by doing some searching and browsing because the topic has been widely discussed here.  You will also find more at www.xlr8yourmac.co, www.barefeats.com, and the review of the Mac Pro at www.anandtech.com.

  • Firefox browser continues to hang and sometimes crashes when trying to load more than 10 bookmarks in tabs. Please help with my request as I would like to choose which tabs will load webpages and have all others stopped.

    ''locking as a duplicate - https://support.mozilla.com/en-US/questions/876430''
    I have thousands of favorites and Firefox is my web-browser of choice. Sadly I'm backed up on what bookmarks I have stored and if the websites are still active or not.
    I cannot load more than 15 bookmarks it seems at once as my PC is trying to load all the web content for each page in the new tabs.
    This is my PC specs:
    OS Name Microsoft Windows XP Professional
    Version 5.1.2600 Service Pack 2 Build 2600
    OS Manufacturer Microsoft Corporation
    System Name xxxxxxxx
    System Manufacturer System manufacturer
    System Model System Product Name
    System Type X86-based PC
    Processor x86 Family 15 Model 75 Stepping 2 AuthenticAMD ~2210 Mhz
    Processor x86 Family 15 Model 75 Stepping 2 AuthenticAMD ~2209 Mhz
    BIOS Version/Date American Megatrends Inc. 0301, 21/08/2006
    SMBIOS Version 2.3
    Windows Directory D:\WINDOWS
    System Directory D:\WINDOWS\system32
    Boot Device \Device\HarddiskVolume1
    Locale United States
    Hardware Abstraction Layer Version = "5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)"
    User Name xxxxxxxx/ADMIN
    Time Zone Atlantic Daylight Time
    Total Physical Memory 2,048.00 MB
    Available Physical Memory 1.53 GB
    Total Virtual Memory 2.00 GB
    Available Virtual Memory 1.96 GB
    Page File Space 3.85 GB
    Page File D:\pagefile.sys
    I have High Speed internet connection with the provider Rogers.
    Dlspeed is 12.9 Mbps
    Upspeed is514 kbps
    My PC supports Windows 7 OS which I have as a multiboot alternative when my PC starts up.
    I have continually waited and it says Firefox is not responding and I may be able to see the multiple tabs opened in my browser but cannot navigate or access them.
    I have read on various sites that users have had as many as 1500 bookmarks load at once in tabs in the Firefox browser version that are outdated.
    I have not been successful with just loading 50 bookmarks my goal is to be able to have 500 tabs loaded in firefox with webpage loading stopped on all of them. I will choose reload for about 10 tabs at a time to view webpage content and then close and move on to the rest.
    My ultimate goal is to clear up the Thousands of bookmarks I have piling on for the past 6 years and some are duplicates or similar page sites.
    Their is no Firefox 3rd party addons that I could locate that would allow this. Only to restrict the number of tabs loaded by giving warning messages when limit is reached.
    Please assist me as it will greatly help me with finally deleting and re-organizing my Favorite and frequent websites in my Browser of choice Firefox.
    The email is generic for privacy but it is valid please respond with methods on how I can achieve my request or suggestions on how I can modify my browser or PC settings to allow this. Thanks Firefox Administration Team.
    I edited with a recent Workaround added to Troubleshoot section.
    If there is a keyboard shortcut or easier way to do this would someone please let me know?

    Firebug is notorious for causing problems like you described.
    Disable it when you don't need it or install it in a 2nd Profile. Then you can launch the 2nd Profile separately to use Firebug and not affect what you are doing in the 1st Profile,

  • BI pulisher errors out when I tried to load xml in rtf template.

    Hello,
    Today I have installed bi publisher with .net framework.But when I tried to load the xml file after opening .rtf template it gives error "XSD parser returned an error"
    Please let me know what could be the issue.
    Thanks
    Ganesh Mane

    Hello,
    --BI version : 10.1.3.2.0
    --OS          : WINXP
    Did you run microsoft update program if yes then what patches you have updated?
    -No. I just installed .net framework on my machine before installing this BI publisher.
    Thanks
    Ganesh
    Thanks
    Ravi

  • Getting ORA-22805 when trying to load XML file using SQLLDR

    I'm trying to learn the basics of XML since we'll be getting XML files in the near future. I'm using one of the sample schemas that comes with XMLSPY. I loaded this schema into an 11g Oracle DB using XMLSPY:
    <?xml version="1.0" encoding="UTF-8"?>
    <!-- edited with XML Spy v4.0 NT beta 1 build Jun 13 2001 (http://www.xmlspy.com) by Alexander Falk (Altova, Inc.) -->
    <schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:ipo="http://www.altova.com/IPO" targetNamespace="http://www.altova.com/IPO" elementFormDefault="unqualified" attributeFormDefault="unqualified">
         <annotation>
              <documentation>
    International Purchase order schema for Example.com
    Copyright 2000 Example.com. All rights reserved.
    </documentation>
         </annotation>
         <!-- include address constructs -->
         <include schemaLocation="address.xsd"/>
         <element name="purchaseOrder" type="ipo:PurchaseOrderType"/>
         <element name="comment" type="string"/>
         <complexType name="PurchaseOrderType">
              <sequence>
                   <element name="shipTo" type="ipo:Address"/>
                   <element name="billTo" type="ipo:Address"/>
                   <element ref="ipo:comment" minOccurs="0"/>
                   <element name="Items" type="ipo:Items"/>
              </sequence>
              <attribute name="orderDate" type="date"/>
         </complexType>
         <complexType name="Items">
              <sequence>
                   <element name="item" minOccurs="0" maxOccurs="unbounded">
                        <complexType>
                             <sequence>
                                  <element name="productName" type="string"/>
                                  <element name="quantity">
                                       <simpleType>
                                            <restriction base="positiveInteger">
                                                 <maxExclusive value="100"/>
                                            </restriction>
                                       </simpleType>
                                  </element>
                                  <element name="price" type="decimal"/>
                                  <element ref="ipo:comment" minOccurs="0"/>
                                  <element name="shipDate" type="date" minOccurs="0"/>
                             </sequence>
                             <attribute name="partNum" type="ipo:Sku"/>
                        </complexType>
                   </element>
              </sequence>
         </complexType>
         <simpleType name="Sku">
              <restriction base="string">
                   <pattern value="\d{3}-[A-Z]{2}"/>
              </restriction>
         </simpleType>
    </schema>
    Then I created an XMLType table:
    CREATE TABLE purchaseOrder OF XMLType
    XMLSCHEMA "ipo.xsd" ELEMENT "purchaseOrder"
    I'm trying to load the sample XML file ipo.xml into purchaseOrder using SQLLDR. This is ipo.xml:
    <?xml version="1.0"?>
    <!-- edited with XMLSPY v2004 rel. 4 U (http://www.xmlspy.com) by Mr. Nobody (Altova GmbH) -->
    <ipo:purchaseOrder xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ipo="http://www.altova.com/IPO" orderDate="1999-12-01" xsi:schemaLocation="http://www.altova.com/IPO
    ipo.xsd">
         <shipTo export-code="1" xsi:type="ipo:EU-Address">
              <ipo:name>Helen Zoe</ipo:name>
              <ipo:street>47 Eden Street</ipo:street>
              <ipo:city>Cambridge</ipo:city>
              <ipo:postcode>126</ipo:postcode>
         </shipTo>
         <billTo xsi:type="ipo:US-Address">
              <ipo:name>Robert Smith</ipo:name>
              <ipo:street>8 Oak Avenue</ipo:street>
              <ipo:city>Old Town</ipo:city>
              <ipo:state>AK</ipo:state>
              <ipo:zip>95819</ipo:zip>
         </billTo>
         <Items>
              <item partNum="833-AA">
                   <productName>Lapis necklace</productName>
                   <quantity>2</quantity>
                   <price>99.95</price>
                   <ipo:comment>Need this for the holidays!</ipo:comment>
                   <shipDate>1999-12-05</shipDate>
              </item>
              <item partNum="748-OT">
                   <productName>Diamond heart</productName>
                   <quantity>1</quantity>
                   <price>248.90</price>
                   <ipo:comment>Valentine's day packaging.</ipo:comment>
                   <shipDate>2000-02-14</shipDate>
              </item>
              <item partNum="783-KL">
                   <productName>Uncut diamond</productName>
                   <quantity>7</quantity>
                   <price>79.90</price>
                   <shipDate>2000-01-07</shipDate>
              </item>
              <item partNum="238-KK">
                   <productName>Amber ring</productName>
                   <quantity>3</quantity>
                   <price>89.90</price>
                   <ipo:comment>With no inclusions, please.</ipo:comment>
                   <shipDate>2000-01-07</shipDate>
              </item>
              <item partNum="229-OB">
                   <productName>Pearl necklace</productName>
                   <quantity>1</quantity>
                   <price>4879.00</price>
                   <shipDate>1999-12-05</shipDate>
              </item>
              <item partNum="128-UL">
                   <productName>Jade earring</productName>
                   <quantity>5</quantity>
                   <price>179.90</price>
                   <shipDate>2000-02-14</shipDate>
              </item>
         </Items>
    </ipo:purchaseOrder>
    This is what's in the control file:
    LOAD DATA
    INFILE *
    INTO TABLE purchaseOrder TRUNCATE
    xmltype(xmldata)
    FIELDS
    xmldata LOBFILE (CONSTANT ipo.xml)
    BEGINDATA
    0
    The load fails with:
    Record 1: Rejected - Error on table PURCHASEORDER.
    ORA-22805: cannot insert NULL object into object tables or nested tables
    Another question I have is, how do we know how many records (0's) to specify in the control file? In this case there's only one but when real files are used we won't know how many are in the file.
    Thanks for your help!

    The concept was "Don't use SQL*Loader to parse XML".
    You can use SQL*Loader to load an entire XML document into the DB. That is fine. You can do the same via BFILENAME to read in files from disk as well.
    If you want to parse XML, do that from within Oracle via PL/SQL and/or SQL. The solution depends upon your version of Oracle and what is good enough for you in terms of performance.
    So the basics are
    a) How am I getting the information?
    b) How am I getting in into Oracle?
    c) How do I want to parse it?
    As I see the schema, it only allows for one ipo:purchaseOrder node in the document, since that is the root node. If you have multiple in the incoming file, you no longer have valid XML, both per the schema and because you have no single root node. You have an XML fragment, which must be treated different.
    Just trying to understand the question since I now realize it does not agree with what the schema in your initial example shows.

  • Trying to load illustrator 6cs onto new mac and the old activation code for my ill cs doesn't work with it

    Trying to load a downloaded version of illustrator 6cs onto new mac and the old activation code for my illustrator cs doesn't work with it.  Do I need a new code or am I missing something?  Same goes for my Photoshop cs.

    you need your serial number.
    if you purchased from or registered with adobe check your account, https://www.adobe.com/account.html

  • ASA 5505 Keeps rebooting after trying to load image in ROMMON mode

    Hi,
    I erased my image to upgrade but my ASA was shut down half way though, so I found myself in ROMMON mode.
    I was able to upgrade my image once in rommon mode but I found I had an incorrect version so I went through the whole process again. Since trying to load a new image I have been constanly receiving the 'Use Break or Esc to interrupt boot. Use SPACE to begin boot immediatly'.
    I can connect to my TFTP server and load the image but it always reboots, or if I select ESC it just goes back to ROMMON mode.
    Any thoughts??

    I had to do 2 things, one replace memory and the second is set VLAN=untagged, then I could ping the server and tftpdnld would work.

  • I am trying to load an old windows program in wine and I think that mozilla is marking the program as dangerous and I would like to unblock the install cd.

    I have a program, astrodatabank, that I have been using since 2005 or so. The program ran well on Windows XP and Vista operating systems. I tried to load it into my desktop, which runs on the latest verison of Ubuntu. If I try to install from the disk, some of the exe files are not available. If I try to copy the files from the disk to a documents folder, the computer loads everything, except two .exe files. Last night, I got on an XP computer and was able to copy one of the files to a flash drive and copied that file to this computer, but AVAST on that computer decided the files were dangerous. I think I used to have the program installed on that XP computer. Is there a way I can get Ubuntu to let me load the last file and run the install program?

    Hello, you need to contact the makers of avast, alwil software
    * http://forum.avast.com/
    Firefox is not a security program.

  • I keep trying to load an iphoto book and it keeps getting stuck on a page during the assembly. I am using iphoto 11. What can i do to get this book assembled

    Hi
    I have now tried to load this book twice. The first time it got stuck during the assembly process on page 6 of 66. The second time it got stuck on page 7 of 66. I've done a preview and it assembles fine. Any ideas would be awesome
    thanks

    I have now tried to load this book twice
    By load do you mean order?  It appears that there may be a damaged image on page 6 or 7. 
    Export all of the photos on those two pages to the desktop as Kind = Originals.  Open each with Preview and save as a new jpeg file.  Import lthose new files into iPhoto, add them to the book and use them to replace the existing photos in those two pages.  Now try ordering again.
    HOWEWVER, you might try this first: boot into Safe Mode, Mac OS X: Starting up in Safe Mode, and try to order from there.  Keep the pdf Preview files you've created to compare with the printed copy when it arrives.
    OT

  • Trying to load a javascript link from text file into a dynamic textfile

    Can anyone help me with this problem? Im trying to load in a
    newsfeed from freshcontent.net into my text field. If i put this
    javascript link on an html page, the page shows correctly, which is
    im supposed to get 3 dynamic links with news content headlines.
    Please view the link to see what i mean:
    http://www.freshcontent.net/directory/real-estate/real_estate.html
    Now, i cannot get this same type of display behavior in my
    text field if i just paste into my text file the javascript link
    thats supposed to bring up the 3 headlines. It is my understanding,
    that flash cannot do this without some sort of specific
    actionscripting, that involves asfusion, and/or externalInterface.
    Im not sure exactly how to go about setting this up to make this
    work. My current code looks like this:
    If anybody could tell me where im going wrong and what i
    should change in order to get the desired result im going for, Id
    very much appreciate it. Thanks

    well sorry there fanmap - but I don't think you're going to
    be able to get this to work. here's why: the link points to a php
    file - which gathers dynamic info from a DB - the return from the
    php is generating a string that is based on the DOM and
    'constructs' a javascript method that in turn writes to the html
    document. although we can embed html into a textField in Flash
    there are a limited number of supported html tags - and JS methods
    will not operate internally. in addition, (i'm not certain someone
    correct this if i'm off) there's no way to 'change' the output of
    the php call, therefore you will not be able to read the return
    because it is designed to use the DOM and write solely to the
    current document. Even if you were to access the JS method from the
    swf file (which one can) it will still only write the content of
    the php return to the html document - and the output is not
    compatible with the textField class.

  • Error when trying to load jar file (loadjava)

    I have been struggling with this issue for a few days. I read all the old threads and solutions online but none of them worked. I wrote some java stored procedures and have been trying to load the required jar files. The error message I keep getting is this:
    ORA-29532: Java call terminated by uncaught Java exception: oracle.aurora.server.tools.loadjava.ToolsError: Error during loadjava: Failures occurred during processing. Check trace file for details
    I have tried to load them using Enterprise Manager Console and the following:
    call dbms_java.loadjava(' -force -resolve
    c:\javacog\cognosClient.jar', ' -resolver "((* PUBLIC) (*
    SYS) )"')
    Any ideas? We are using Oracle 10gr2, and trying to load Cognos 8.3 SDK jar files. According to Cognos, Java 1.4 is supported.
    Edited by: user10406501 on Oct 8, 2008 2:26 PM

    Sorry to respond to an old message, I was just looking for the solution for the totally different problem.
    Key word 'Cognos' got me here.
    I've menage to load Cognos SDK onto Oracle 10.2.0.2 on Windows XP.
    I've used simple loadjava script. After that it requires some additional GRANTs, and it works.
    If you still are looking for the solution for this problem, respond to this message, and I'll post the scripts.
    Thomas

Maybe you are looking for

  • How do I use 1 Apple ID for iCloud and iTunes Purchases?

    Hey Guys and Gals, I would like to use 1 Apple ID instead of 2.  I know that Apple ID's cannot be merged. My original solution was to change my Apple ID, which is a Yahoo address to an iCloud address.  However, you cannot do this since it is an Apple

  • Pls help me to track post print event in reports 10g (web layout)

    I am displaying a report on the web using WEB.SHOW_DOCUMENT built in after calling it from Forms. I want to update some attribute in the database after the report is printed. Where can i place the update statement. note:I dont need solution for the r

  • How do I relink FCP libraries on external HD?

    I have been using FCP for several years. Use an external HD in conjunction with it. Have a large library stored there and another on the internal HD. While setting up to do an import this afternoon I accidentally disconnected the FireWire connection

  • Need to tune SGA SIZE AND PGA SIZE, SHARED POOL SIZE.

    Hi, We have 2node rac with 11g on Linux with 32 bit RAM on each machine. two instances are running on each machine. i.e on NODE1(OBI1,EBS1) and on node2(OBI2,EBS2) instances. we allocated memory parameter as follows. FOR OBI1,OBI2 :- sga_target --> 1

  • Stopping automatic playback

    Have a small problem and the Captivate help files aren't really that helpful at all. Is there any way to prevent captivate flash files from automatically playing within a web page? I have tried the playback options within Dreamweaver but that does no