Problem in loading an applet using JRE 1.5

Hi,
I have an applet which is working fine under JRE 1.4, but the same applet failing to load by using JRE 1.5
Problem Description:
1. The images in the applet fails to load using JRE 1.5
2. The Username and Password text box are also failing to initialize.
Can anyone help me out in this.
Is there any code changes required ?

I wonder if you have the same problem as me... Maybe we can find a solution for us both, no need for me to open a new thread for this topic then...
I wrote an applet using Swing and compiled it using JavaSDK 1.4.x. I also installed the 1.4.x JRE for both of my test browsers. In Mozilla 1.1 the applet displays properly all the time. In IE6 SP1 it sometimes works as intended but sometimes the applet simply stops working, as per my Java Console somewhere after invoking the "start" method. Parts of the applet simply become gray and when I resize it - I have a JFrame in my applet - the whole JFrame becomes gray and does not respond to input nor it redraws itself. Shutting down IE does not close the JFrame(although the java console reports normal program termination and cleanup) and the only way to close it is through the task manager. I am using Windows 98SE btw.
Does it sound similiar to your problem? It happens ONLY with IE, not with Mozilla. Anybody has an idea on what it could be? I doubt there's an error in my code...

Similar Messages

  • Facing the problem in loading the applet in mozilla, Firefox and netscape

    Dear sir,
    Well I am facing the problem regarding loading of applet in firefox,mozilla and netscape. Its working fine in IE6 I have the samplecode which asks for jdk1.4 whenever the applet gets loaded in IE6 and also it works fine for every browser but he is asking jre for every time whenever the page gets loaded even if the jre is installed. I need a code such that it should ask only if the jre is not installed. One more thing is it so that for mozilla or netscape the jre installation files are different.
    pls give the solution.
    Well I am also facing the problem like when I load login page of my applicatoin in netscape or firefox
    I provided the buton on login page on which the hyperlink is present, the hyperlink is of servlet path when I click on the same it shows me the blank page instead he should forward the page to the next jsp webpage where I am showing the applet. But it works fine in IE versions and opera but not in the others.
    Awating for your reply.
    Rgs
    sumeet.

    Issue resolved with the help of ABAP.
    Regards
    Bijudas

  • How to load an applet using custom classloader ?

    Hi All,
    How to load an applet using custom classloader rather than using default browsers classloader i.e AppletClassLoader usually ?
    Regards,
    Kumar.

    I would guess that that would require two applets.
    The first does nothing but create the custom class loader and then load the second applet.

  • Please help...Problem with 3D Applet using JRE 1.5

    Hi all,
    I have an applet which uses sun opengl 1.3.1 plugin to render some 3D graphics. It is working fine with JRE 1.4.2_06, but not showing the 3D graphics with the latest JRE 1.5 release. I tried to repaint using available API with no success.
    Please help asap,
    Thanks in advance
    prasad

    I wonder if you have the same problem as me... Maybe we can find a solution for us both, no need for me to open a new thread for this topic then...
    I wrote an applet using Swing and compiled it using JavaSDK 1.4.x. I also installed the 1.4.x JRE for both of my test browsers. In Mozilla 1.1 the applet displays properly all the time. In IE6 SP1 it sometimes works as intended but sometimes the applet simply stops working, as per my Java Console somewhere after invoking the "start" method. Parts of the applet simply become gray and when I resize it - I have a JFrame in my applet - the whole JFrame becomes gray and does not respond to input nor it redraws itself. Shutting down IE does not close the JFrame(although the java console reports normal program termination and cleanup) and the only way to close it is through the task manager. I am using Windows 98SE btw.
    Does it sound similiar to your problem? It happens ONLY with IE, not with Mozilla. Anybody has an idea on what it could be? I doubt there's an error in my code...

  • How to cache Applet using  JRE 1.2.2

    I have an applet that is about 500+ kb in size.
    I will like to cache this Applet on the end user's
    machine and to be downloaded only when the version
    on the server has changed. I had done quite a lot
    of search on java.sun.com and java usenet
    newsgroups, but could not find definintive answer.
    This what I had to use:
    JRE Plugin 1.2.2 release 006, On Windows NT 4
    with SP4 and IE 4.0 with SP1. I could not make
    it cache on above platform as Cleint.
    This is my understanding so far:
    1> Java 1.2.2 jre/plugin depends on browser to cache
    the Applet. There is nothing special you have to do.
    Is above correct?
    2>SOme of the message I had seen on usenet and sun site indicate that the people have problem opposite than me. i.e Applet is cached and they dont want that wherever I want it to be cached and it is not caching.
    3> Is it true that for browser to cache the 1.2.2 Applet
    (with pluguin installded on end user PC), it had to be
    signed using the tools those come with JDK. Keytool
    and Jarsigner etc. I tried both ways by using signed
    and unsigned applet.
    4> I heard that JDK1.3 plugin had additional
    parameters i.e cache_option = "plugin" etc
    where Applet JAR will be saved in a place other
    than Browser's cache. Is it true above is not
    available in JDK 1.2.2.
    5> I have 'cache im memory' option checked in
    Java Plugin control panel. But that did not help.
    6> Is there any special way to put html tag for Applet
    Jar to be cached. The Applet that needs to be cached
    is already in production and html file is working fine
    as such.
    7>Is there any known bug with JRE 1.2.2 that will
    prevent it from caching.
    Any responses or pointer to responses appreciated.
    TIA
    Rakesh K Mittal

    I am trying the same in order to implement a version control applet.
    The proposal is that an applet runs previous to the main applet. It checks the JARs versions with the server and download the latest if they does not exist in the client. All the version are placed in the extensions directory of the plugin so when the main applet loads the clases it can pick them up lastest versions from the extensions directory.
    It works for me. However there is some anoying bug to regard as 4215307.
    However, in spite all the previous is working, I can not make it work through a proxy since Control Panel ignores when I set Browser settings or another proxy and always executes without proxy.
    A caching proxy could also reduce the network traffic.
    Any ideas??
    ([email protected])

  • Beginner Has Problem With Loading JDBC Driver Using MySQL

    Hi, I am having problem with loading JDBC driver, and need your diagnotic help.
    1. I have installed MySQL (C:\mysql), created a databse (soup), and created a littel table (VIDEOS). I am able to see the table in the console:
    sql> select * from videos
    2. I have downloaded the latest version of Connector/J (mysql-connector-java-3.1.0-alpha.zip), and unzip the zip file into my C:\ directory.
    3. I copied the mysql-connector-java-3.1.0-alpha-bin.jar to the C:\j2sdk1.4.1_02\jre\lib\ext folder and it is in my CLASSPATH
    4. MySQL server is running
    C:\> C:\mysql\bin\mysqld-nt --standalone
    5. open another DOS window and use the database
    mysql>USE SOUP
    6. succesfully compiled a Java program (javac Test.java):
    import java.sql.* ;
    public class Test
    public static void main( String[] args )
    try
    Class.forName("org.gjt.mm.mysql.Driver").newInstance();
    try
    Connection con = DriverManager.getConnection( "jdbc:mysql://localhost:3306/soup" );
    try
    Statement statement = con.createStatement();
    ResultSet rs = statement.executeQuery("SELECT TITLE FROM VIDEOS");
    while ( rs.next() )
    System.out.println( rs.getString( "TITLE" ) );
    rs.close();
    statement.close();
    catch ( SQLException e )
    System.out.println( "JDBC error: " + e );
    finally
    con.close();
    catch( SQLException e )
    System.out.println( "could not get JDBC connection: " + e );
    catch( Exception e )
    System.out.println( "could not load JDBC driver: " + e );
    7. when I run the Java program (java Test), I got
    the message:
    could not load JDBC driver: java.lang.ClassNotFoundException: org.gjt.mm.mysql.Driver
    What am I missing?

    Hi,
    I missed to specify test in my last post.
    Try running your program by explicitly setting the classspath when
    running your program . java -classpath c:\mysql-connector-java-3.1.0-alpha-bin.jar test
    Make sure your jar file contains org.gjt.mm.mysql.Driver class

  • Cannot load a Applet using Weblogic6.1

    I am unable to load an applet. My application/web server is weblogic6.1. The problem is i am unable to set the right codebase.
    any ideas..on how to set codebase when using weblogic 6.1.. my applet class files are in
    c:/bea/applications/myApp/WEB-INF/classes

    thanx for the mail..
    When this application was set as Default application, even though the applet class files were in /WEB-INF/classes, it worked.. but now this is no longer a default application and the applet throws classnotfound exception..
    i guess i am missing some other settings ...
    The applet needs to be publically accessible to the
    client. Nothing in WEB-INF is going to be publically
    accessible. You need to put the applet somewhere
    else, such as where you'd normally put the referencing
    HTML file.

  • Problem while loading the applet across SSL in IE 5.0 & NS 6.0

    Hi
    Can any one of u guys solve my problem????
    I m trying to load an applet thru https protocol in both the browsers( IE 5.0 and Netscape 6.0). I am having a jar file which contains the applet class files and some helper files for the applet.When i m accessing the image URL (in the html file for the applet) thru https protocol itz working fine on both the browsers. But when i try to access codebase thru https i m getting different errors on both the browsers. Errors r as follows.
    Exception in IE 5.0
    java.net.ConnectException: HTTPS response=404
    at
    sun.plugin.protocol.https.BrowserHttpsInputStream.openStream(Native
    Method)
    at
    sun.plugin.protocol.https.BrowserHttpsInputStream.<init>(Unknown
    Source)
    at
    sun.plugin.protocol.https.BrowserHttpsURLConnection.getInputStream(Unknown
    Source)
    at sun.plugin.cachescheme.PluginURLConnection.downLoadFile(Unknown
    Source)
    at
    sun.plugin.cachescheme.PluginJarCacheHandler.downloadJarFileToCache(Unknown
    Source)
    at
    sun.plugin.cachescheme.PluginJarCacheHandler.cacheHandler(Unknown
    Source)
    at
    sun.plugin.cachescheme.PluginJarCacheHandler.getJarFilesPath(Unknown
    Source)
    at sun.plugin.AppletViewer.loadJarFiles(Unknown Source)
    at sun.applet.AppletPanel.runLoader(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Exception in Netscape 6.0
    java.lang.ClassFormatError: package1/package2/package3/TiffViewer (Bad
    magic number)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Source)
    at sun.applet.AppletClassLoader.findClass(Unknown Source)
    at sun.plugin.security.PluginClassLoader.access$201(Unknown
    Source)
    at sun.plugin.security.PluginClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadCode(Unknown Source)
    at sun.applet.AppletPanel.createApplet(Unknown Source)
    at sun.plugin.AppletViewer.createApplet(Unknown Source)
    at sun.applet.AppletPanel.runLoader(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Plz help me out if any one of u guys have came across such type of problem. Its very very urgent as well as critical. Any help / suggestion will highly be appreciated
    tks in advance
    Soniya

    Hi..
    I m also facing the same problem as described above. I have checked up the path for the class files mentioned in the "code" param in the html file.I also tested with the sample program but could not succed in getting the result.Both the browsers give different error messages as mentioned in the query posted by soniya1.I would be thankful if u can kindly throw some light on this
    if u have some sample code u may kindly drop it to the following mail id
    [email protected]
    hope to hear from u soon
    tx in advance
    R.Lakshmi

  • Problem with access JSF applet using javascript

    Can someone help me!
    I'm using a applet in jsf page, and i'm trying to access this applet using a javascript.
    Here is the applet code
    <jsp:plugin code="DoAction.class" codebase="." height="400" hspace="10" jreversion="1.5" type="applet" vspace="50" width="100" name="myApp"/>
    Here is the javascript
    function printReturn()
    var a = document.myApp.returnString();
    alert(a);
    "returnString" is the method in applet which simply return a string
    But it doesn't work, it works well when i'm using this applet in JSF
    <applet code="DoAction.class" width="100" height="50" name="myApp" ></applet>
    Unfortunately it's depricated!
    Please tell me what is the solution....

    Thank You for replying.
    I'm trying to call applet method using JavaScript.
    It works when i'm using below apllet tag.
    <applet code="DoAction.class" width="100" height="50" name="myApp" ></applet>
    But it's deprecated
    It doesn't work for below applet tag
    <jsp:plugin code="DoAction.class" codebase="." height="400" hspace="10" jreversion="1.5" type="applet" vspace="50" width="100" name="myApp"/>
    This is my javascript
    <script type="text/javascript">
    function setSearch()
    var a = document.myApp.returnString();
    alert(a);
    </script>

  • Discoverer Plus -- Cannot Load Java Applet after JRE upgrade to 6

    Hi,
    After our users upgrade Java Runtime Environment to version 6 Update 1, Discoverer Plus stops working, the applet is opened but does not load.
    Uninstalling the update solves the problem.
    I disabled the automatic upgrade of Sun JRE on a few machines, but we have over 100 users.
    Did anyone else face the same issue and is there any patch for the Discoverer installation?
    Thanks,
    Vlad

    Hi George
    You can get the 10.1.2.2 patch (4960210) on MetaLink. Be warned though that this not a small patch. It is 1.6 GB in size and is a full upgrade of the 10.1.2.0.2 application server.
    I had some interesting problems when I first starting patching up to 10.1.2.2. First of all, if you are using a Windows server, you need to make sure that there are no lowercase characters used in your computer name. I know this sounds crazy but 10.1.2.2 will fail on Windows if you have this. If you've already got lowercase names in your machine you can't simply change the machine name to upper case because your existing application server will stop working as it embeds the machine name into dozens of configuration and setup locations. None of the Microsoft applications care what you call the machine as they don't embed like this but Oracle does. You'll probably end up having to reinstall the application server. However, the good news is that this only affects Windows and only when you have lowercase characters in your machine name.
    Secondly, also on Windows, make sure there are no spaces anywhere within any of the folder names from where you will be installing the patch. This is another cause of failure. Thus, don't put the patch on your Desktop as there are spaces in Documents and Settings!
    Thirdly, and this can happen on all platforms, if you are using an Infrastructure database and it is at 10.1.0.4 or less you will need to upgrade that database to 10.1.0.5 before you start any of the application server upgrades. If you don't do this your upgrade will fail. The release notes for the patch clearly state this but because they are very large I missed this the first time round and - oops - failed upgrade.
    By the way, it seems Oracle have also released a patch (5758865) , available on MetaLink, with the fix for IE7. This is a one-off patch and requires a password which means you will have to raise a service request and tell Oracle you are having trouble drilling in Viewer when using IE7. This patch is applicable whether you are using relational or OLAP modeling. It can only be installed on top of 10.1.2.2.
    Best wishes
    Michael

  • Problem In loading Application_context.xml using CustomContextListener

    Hi,
    I had a problem with Acegi Security 2.0.2 as we are using our customLoaderListener class.We are using Mevan Build tool, Weblogic11g Application server and We are create EAR File . CustomLoaderListener we are configuring in Weblogic-application.xml and We are placing application-context.xml,application-context-security.xml,Data-access-context.xml in META-INF folder .I will post my CustomLoaderListener tell me a way to run SpringSecurity .
    Jar files We are using for Security:
    1)spring-security-acl-2.0.2.jar
    2)spring-security-core-2.0.2.jar
    3)spring-security-core-tiger-2.0.2.jar
    4)spring-security-taglibs-2.0.2.jar
    <Dec 30, 2010 4:49:13 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <Dec 30, 2010 4:49:13 PM IST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
    <Dec 30, 2010 4:49:14 PM IST> <Notice> <LoggingService> <BEA-320400> <The log file C:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\logs\AdminServer.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
    <Dec 30, 2010 4:49:14 PM IST> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to C:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\logs\AdminServer.log00014. Log messages will continue to be logged in C:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\logs\AdminServer.log.>
    <Dec 30, 2010 4:49:14 PM IST> <Notice> <Log Management> <BEA-170019> <The server log file C:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\logs\AdminServer.log is opened. All server side log events will be written to this file.>
    <Dec 30, 2010 4:49:21 PM IST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
    <Dec 30, 2010 4:49:24 PM IST> <Notice> <LoggingService> <BEA-320400> <The log file C:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\logs\access.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
    <Dec 30, 2010 4:49:24 PM IST> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to C:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\logs\access.log00007. Log messages will continue to be logged in C:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\logs\access.log.>
    <Dec 30, 2010 4:49:28 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
    <Dec 30, 2010 4:49:28 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    Dec 30, 2010 4:49:37 PM com.sun.faces.config.ConfigureListener contextInitialized
    INFO: Initializing Mojarra 2.0.2 (FCS b10) for context '/PBAWeb'
    Dec 30, 2010 4:49:40 PM com.sun.faces.spi.InjectionProviderFactory getProviderInstance
    SEVERE: JSF1030: The specified InjectionProvider implementation 'com.bea.faces.WeblogicInjectionProvider' cannot be loaded.
    Dec 30, 2010 4:49:40 PM com.sun.faces.spi.InjectionProviderFactory createInstance
    INFO: JSF1048: PostConstruct/PreDestroy annotations present. ManagedBeans methods marked with these annotations will have said annotations processed.
    <Dec 30, 2010 4:49:42 PM IST> <Error> <HTTP> <BEA-101165> <Could not load user defined filter in web.xml: org.springframework.security.util.FilterToBeanProxy.
    java.lang.IllegalStateException: No WebApplicationContext found: no ContextLoaderListener registered?
    at org.springframework.web.context.support.WebApplicationContextUtils.getRequiredWebApplicationContext(WebApplicationContextUtils.java:95)
    at org.springframework.security.util.FilterToBeanProxy.getContext(FilterToBeanProxy.java:178)
    at org.springframework.security.util.FilterToBeanProxy.doInit(FilterToBeanProxy.java:120)
    at org.springframework.security.util.FilterToBeanProxy.init(FilterToBeanProxy.java:190)
    at weblogic.servlet.internal.FilterManager$FilterInitAction.run(FilterManager.java:332)
    Truncated. see log file for complete stacktrace
    >

    EJP wrote:
    You need to give the InitialContext some properties, there's no magical way it'll configure itself (outside of a Java EE container).If you lookup a URL with a known protocol, e.g. ldap: or in this case java:, it will configure itself in any environment that has a factory for the protocol.Is this a recent change? Last time I was accessing Ldap, it did require me to specify the com.sun.jndi.ldap.LdapCtxFactory separately.

  • How can I load an applet using Java Plug-in?

    I have written an applet and have tested with appletviewer, but I can't load it from a browser. Ghlin told me that I need to use Java Plug-in to load it. Please tell me how.

    Click on the Products and API link at the top left of this page. Download the Java Plugin. Be sure to get the developers version. Inside that developer's version there is a tool called HTMLConverter. Run HTMLConverter on your HTML and it will modify the applet tag in such a way that if the user already has the Java Plugin then it will use it. IF not, then the user will be asked if he wants to download it.

  • Load Biometric applets using JCF Biometric API

    I have an egate 32K card with a biometric (MOC) mask on it. I have sample applets from precise biometrics I would like to load on the card then capture fingerprint and verification. I'll appreciate any help with this.
    Thanks

    First of all you need to download the BioServer applet, which handles the card edge API (the communication between the SC and the card). This is done using the card toolkits (as Joseph described). After that you need a library that enables your host to grab fingerprint images and convert them into MOC templates. You can contact me directly for information of the different software packages, examples, etc.

  • Urgent: Problem to load Flat file using DTP.

    Hi Experts,
    I try to load a flat file  PSA->DSO->INFOCUBE using DTP.
    I my flatfile in the application server in csv format.
    in the My data source I opted Adapter  as Load Text -Type file from Application Server.
    Data Format : I test with both the potions : Fixed length &  Separated with Separator( For example CSV) .
    If I check the preview:  I cant find any data and get the message: Inbound processing of data package 000001 finished
    when  I try to Load the data thorough PC the load was successfull but only 0 records are transfered and added to PSA:; DSO and Info Cube.
    The test file contains around 20 records.
    Any suggestions please.
    Thanks & Regards

    Hi Sailekha..
    in the My data source I opted Adapter as Load Text -Type file from Application Server.
    Data Format : I test with both the potions : Fixed length & Separated with Separator( For example CSV) .
    Note: As per ur info:
    In the Flat file Data source :
    1. You have to maintain the Adapter as:
    Load Text -Type file from Application Server
    Data Format : Separated with Separator
    Then Use the "Proposal" Tab to generate the field proposals.
    (Only in BI 7.0 this option is available).
    After that check the Preview in "Preview" Tab.
    Hope it works...
    Cheers,...
    Varma

  • Problem when loading xml file using sql loader

    I am trying to load data into table test_xml (xmldata XMLType)
    i have an xml file and i want whole file to be loaded into a single column
    when i use the following control file and executed from command prompt as follows
    sqlldr $1@$TWO_TASK control=$XXTOP/bin/LOAD_XML.ctl direct=true;:
    LOAD DATA
    INFILE *
    TRUNCATE INTO TABLE test_xml
    xmltype(xmldata)
    FIELDS
    ext_fname filler char(100),
    xmldata LOBFILE (ext_fname) TERMINATED BY EOF
    BEGIN DATA
    /u01/APPL/apps/apps_st/appl/xxtop/12.0.0/bin/file.xml
    the file is being loaded into table perfectly.
    unfortunatley i cant hardcode file name as file name will be changed dynamically.
    so i removed the block
    BEGIN DATA
    /u01/APPL/apps/apps_st/appl/xxtop/12.0.0/bin/file.xml
    from control file and tried to execute by giving file path from command line as follows
    sqlldr $1@$TWO_TASK control=$XXTOP/bin/LOAD_XML.ctl data=/u01/APPL/apps/apps_st/appl/xxtop/12.0.0/bin/file.xml direct=true;
    but strangely it's trying to load each line of xml file into table instead of whole file
    Please find the log of the program with error
    Loading of XML through SQL*Loader Starts
    SQL*Loader-502: unable to open data file '<?xml version="1.0"?>' for field XMLDATA table TEST_XML
    SQL*Loader-553: file not found
    SQL*Loader-509: System error: No such file or directory
    SQL*Loader-502: unable to open data file '<Root>' for field XMLDATA table TEST_XML
    SQL*Loader-553: file not found
    SQL*Loader-509: System error: No such file or directory
    SQL*Loader-502: unable to open data file '<ScriptFileType>' for field XMLDATA table TEST_XML
    SQL*Loader-553: file not found
    SQL*Loader-509: System error: No such file or directory
    SQL*Loader-502: unable to open data file '<Type>Forms</Type>' for field XMLDATA table TEST_XML
    SQL*Loader-553: file not found
    SQL*Loader-509: System error: No such file or directory
    SQL*Loader-502: unable to open data file '</ScriptFileType>' for field XMLDATA table TEST_XML
    SQL*Loader-553: file not found
    SQL*Loader-509: System error: No such file or directory
    SQL*Loader-502: unable to open data file '<ScriptFileType>' for field XMLDATA table TEST_XML
    SQL*Loader-553: file not found
    SQL*Loader-509: System error: No such file or directory
    SQL*Loader-502: unable to open data file '<Type>PLL</Type>' for field XMLDATA table TEST_XML
    SQL*Loader-553: file not found
    SQL*Loader-509: System error: No such file or directory
    SQL*Loader-502: unable to open data file '</ScriptFileType>' for field XMLDATA table TEST_XML
    SQL*Loader-553: file not found
    SQL*Loader-509: System error: No such file or directory
    SQL*Loader-502: unable to open data file '<ScriptFileType>' for field XMLDATA table TEST_XML
    please help me how can i load full xml into single column using command line without hardcoding in control file
    Edited by: 907010 on Jan 10, 2012 2:24 AM

    but strangely it's trying to load each line of xml file into table instead of whole fileNothing strange, the data parameter specifies the file containing the data to load.
    If you use the XML filename here, the control file will try to interpret each line of the XML as being separate file paths.
    The traditional approach to this is to have the filename stored in another file, say filelist.txt and use, for example :
    echo "/u01/APPL/apps/apps_st/appl/xxtop/12.0.0/bin/file.xml" > filelist.txt
    sqlldr $1@$TWO_TASK control=$XXTOP/bin/LOAD_XML.ctl data=filelist.txt direct=true;

Maybe you are looking for