Jdev basic problems!

hello,
new in Jdev and java - France
Jdeveloper 9i - version 9.0.4.0 (build 1407)
same demand as number 318074
1) In a Panelxxxx.java for a form created automatically via the Swing/ Jclient for BC4J - Form, I have inserted a Jbutton to create a new row (instead of the + JUNavigationBar).
//Positionne le panel en Insert Mode
RowIterator iter = null;
iter = navBar.getModel().getNavigatableRowIterator();
Row row = iter.createRow();
iter.insertRow(row);
all the fields have a "document - Jclient Attribute binding"
then i set some Jtextfields automatically, exemple :
mNivUrg.setText(result1);
or setting some others in the EOImpl.java
it works but when I entered a value in any field, many values initialized (not all...) disappeared (are reset to blank).
if I entered the value again manually, when I commit, it seems that the EO Attribute are not informed...
I have to pass on the jtextfield and press return key
What do I do?
I have seen in the forum that maybe I have to call textfieldbinding.setDataValueAt(text,0)...??? but what means textfieldbinding? if it is the solution.
2) I have a big problem with the control hints for the EO (and the view linked).
the first to attributes are:
NoTicket - type number
Horodate - type date
in the control hints when i indicate number and a format for the first, the control hints for the second propose me a number-currency type (it must be simple date).
when i choose simple date for the second, it re-initialize the first attribute to format type in control hints at simple date...???
do you have heard of this bug. strange.
so when I commit, it tells me that the field horadate for exemple is not in the good format!
(oracle.jbo.JboException) JBO-29000: Cannot format given Object as a Date
3) when i am positioned on a row in the form, it seems that I can't retrieve the values by a jtextfield.getText() - (Panelxxxx.java) .how can I retrieve the values of the current row?
could you help me?
thanks

thanks for your answer frank.
1) ok to initialize values in the Impl.java class but I can initialize some values only after a click on a jbutton in the panel - sample:
jButton1.addActionListener(new ActionListener()
public void actionPerformed(ActionEvent e)
jButton1_actionPerformed(e);
private void jButton1_actionPerformed(ActionEvent e)
int creat=1;
methode_creation(creat);
private void methode_creation(int creat)
//System.out.println("entrée dans methode_creation : " + creat);
switch(creat)
case 1 : mDescrPb.setText("Problème imprimante");
break;
case 2 : mDescrPb.setText("Problème bureautique");
break;
case 3 : mDescrPb.setText("Système bloqué");
break;
case 4 : mDescrPb.setText("Problème Formation utilisateur");
break;
case 5 : mDescrPb.setText("Problème utilisateur récurrent");
break;
default : break;
how to do this in the Impl class? when I'm on the create method, the button is not yet clicked...
Is the setText the reason why the jtextfield are reset to blank when entered ou modify new values?
2) ok I have resolved the problem with java format.
3)ok it works. My problem is this one : when I click on the previous or next button bar, the row (and the attributes that correspond) is well displayed on the form (update mode). I have some fields that are not linked with the view object and I have do do some treatment (method) to display and populate them. With which event(s) can I call the methods in the panel after the values linked are displayed automatically by jdev? how can I hold the hand on the program?
thanks.

Similar Messages

  • Why do we run into stupid basic problems with firefox?

    I have jre1.6_u31 installed on a Windows 7 and the brilliant
    firefox keep tell me that I've to install the jre_1.6_u29 missing plugin when I try to run an applet...a simple applet!! The plugin doesn't appear on add-ons manager then i use "check your plugins" and the stupid response is: "For your safety, Firefox has disabled your outdated version of Java. Please upgrade to the latest version."
    Running an applet is basic! Why are u making new versions when older ones are better? I' m sick of running into this stupid problems with firefox! Everything works on ie, chrome and safari but not on Firefox!
    I' m sick of trying to solve firefox basic problems!
    We have a site that has one thousand ore more visits per day...and we only have troubles with firefox! What do I tell the costumers? I' m not going to give them solutions difficult and confusing as usually your solutions are! They are common people not developers as me...they just want the things to work! I gave up and the solution that I give to them now is to stop using firefox and uninstall it. And people ask I chrome is becoming the second most used browser...here is your answer...
    I' m a developer and I've to develop I don't have the time patiente to trying solving basic firefox problems. If you don't know how to solve the problems then stop developing this and save us the headaches.

    Have you updated Java lately? You say you have jre1.6_u31 installed, but "Java(TM) Platform SE 6 U31" is not showing in the Plugins submitted with your question (click "More system details" to the right of your original question post). To enable, Add-ons > Plugins, and enable the item.
    If your OS is 64-bit and you have 32-bit browsers (Firefox) and 64-bit browsers installed, then you need to install both the 32-bit and 64-bit versions of Java.
    *See --> https://www.java.com/en/download/faq/java_win64bit.xml
    '''Older versions of Java blocked in Firefox''' --> https://addons.mozilla.org/en-US/firefox/blocked/p80 <br />
    '''Using/Updating Java''' --> [https://support.mozilla.org/en-US/kb/Using%20the%20Java%20plugin%20with%20Firefox#w_installing-or-updating-java Installing or Updating Java in Firefox] <br />
    '''Unblocking Java''' --> https://support.mozilla.org/en-US/kb/unblocking-java-plugin
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''

  • JScrollPanel basic problem

    Hi,
    would be grateful if someone could help out with this basic problem:
    I'm using a JTextArea that displays additional text added using the append() method in a java2 1.4 program, but I need it to automatically scroll down to show the latest line of text added whereas the panel by default requires the user to scroll down.
    Thanks,
    Allan.

    try looking at setCaretPosition(int position).

  • Jdev10.1.3.3/jdev 11 : very basic problem with h:commandButton

    Hello,
    I'm writing a manual training about standard JSF. I'm using Reference Implementation (RI) from Oracle and Jdev.
    I'm writing this very basic code for a binding method on the action property of a Command button (standard h:commandButton) :
    public String commandButton1_action() {
    System.out.println("commandButton1_action()");
    return null;
    The weird thing is that this code never executes...
    If I use an af:commandButton instead of h:commandButton, the same code works.
    Why the standard h:commandButton doesn't work ? (same thing with actionListener)
    If I replace the Oracle's JSF library by Sun implementation, obviously the standard h:commandButton and its binding action works...
    Have you got an explanation ?
    Thanks,
    Christophe,

    Frank,
    Thanks you very much. Your use case is excellent !
    Writing a JSF standard training manual is sometimes a bit boring but trying your wonderful Oracle components is so exciting !
    I guess that my problem comes that for my playtime I use Oracle parameters and components but I'm not always reading the documentation !
    I'm impatient to finish this training manual for having the time to read the full Oracle documentation when I try something !
    Bye!
    Christophe

  • A sample project with basic problems to solve. Lets make it as a tutorial!

    The project is attached it's supposed to end up being a simple file manager, so you can browse the files and folders using the list component.
    I've done some part which is the attached one. Now I meet some problems since it's my first project and I need some help so I can solve them. I will try to make this project available to everyone because I think in it's end it will really cover the basics you need to know to get started making more complex stuff.
    So I zipped the php folder with just 1 file that currently has script for browsing the current directory. At this stage of the development I would only like to be able to make the files and folders that the php returns to be displayed correctly in the list, the files no icon and the folders with the folder.png icon. To have a nice padding so they look good in the list and have a nice hover.
    Problems:
    1) warning: unable to bind to property 'name' on class 'Array' (class is not an IEventDispatcher)
    Note: that's the first problem you will see when you setup the project, change the php server urls and run it.
    http://flexponential.com/2009/11/11/binding-warnings-when-using-object-in-a-list -dataprovider/ - this post has some info on the problem but the example is with static mxml data and I am not sure how to fix this when the data comes from the php.
    2) what's the proper way to make some customizations on the data received, so to speak I need to check if the type of the file is "dir", that would mean it's a folder and should display the folder icon and if it's not not to display any image infront of the file. I am really not sure how to do that so any solutions are welcome.
    3) What's the most convinient way to adjust the padding between each line in the list and padding for the icon and label inside the line.
    I think solving these 3 problems will be a huge step forward to finish and have a complete structure which could help more people understand how things work.
    Everyones help will be greatly appreciated

    Anamorphicizer didn't work.
    I can use Quicktime Pro cause I currently have Quicktime X on my computer (snow leopard) which doesn't have a Pro upgrade.
    Any myDVDedit is really confusing to use do I have to export the DVD into a VIDEO_TS file to fix it? I'm still puzzled

  • Basic Problems with Attributes and Data Loading

    Hi Specialists,
    I have a basic understanding Problem. I will explain it with a simple Example. I have to load Employee-Data from a file. For each Employee we have
    EmployeeNo
    EmployeeName
    EmployeeLanguage
    My Modelling:
    1 InfoObject Employee, with EmployeeNo as Key and EmployeeName as Text. For the EmployeeLanguage I create an additional InfoObject, in order to have an Attribute EmployeeLanguage at the InfoObject Employee. So far so good (I think).
    What kind of DataSources have I to create?? It is necessary to load the possible Languages first?? If yes, what kind of DS I have to choose, for loading only "English", "German", "Dutch". Attribute? Text?
    If not, the loading process is not possible, because one language exists more than one time in my flat file.
    Hope you can help me to see it clear.
    Thanks.
    Denise

    Hi Denise,
    I don't think you have to load all possible languages first. This is only necessary if you also want to load texts for EmployeeLanguage (example language german with texts "german", "deutsch", ...).
    Specify Employee as data target (in tab Master Data / Texts) and assign your InfoArea. There you will find your targets for texts and attributes, now create InfoSource for your file and assign update rules for both texts and attributes.
    Best regards,
    Björn

  • IWeb basic problems? Issue with galleries

    Hi,
    A while ago I posted a question about a photo gallery I was trying to display, which went something like:
    "Hello,
    Just finished putting together a website for my brother but having issues with the gallery. I have a portfolio page for his photos. When I'm in iweb the photo album covers scroll nicely between images and link straight to the photo gallery page. But when I put it online I click and nothing happens, as you can see here:
    http://www.guycollier.com/guycollier/EdmundCollier_Theatre_Photography_My_Portfolio/Edmund_Collier_Theatre_Photography_MyPortfolio.html
    Does anyone know why? This is driving me crazy. I have deleated and uploaded the sight several times from iWeb and also Filezilla and Cyberduck but have the same issues. Please help!
    ps. also if anyone knows how to set the title of the page in the browser then that would be great too!"
    I have finally got the time to get back to it and have been trying various options suggested by users, including deleating and rebuilding the gallery, but it still doesn't work either online or on a local hosting. It was suggested that I might have some basic iWeb problems. Any idea what these maybe and how they might be resolved?
    Thanks
    Guy

    Thanks for the suggestion. I rebuilt it and without making any changes to the layout it seemed to work ok. However, when I have made some minor changes (putting a frame around the images, changing the layout slightly, removing the navigation menus) it no longer works. Any idea? Might I be deleting something by accident?
    Guy

  • JDev 10g: Problem when generating database objects from UML diagram

    Hi,
    I have noticed following problem.
    I made some business components through UML diagrammer in 9.0.3. From the diagram I generated database objects. It worked fine.
    When I doing the same thing in 10g, the generation fails on several tables with the message that the "identifier is too long".
    Looking at the SQL produced in one of the failing tables. In 9.0.3 following is produced:
    create table sfs_document_def (
    id number constraint document_definition_id_check not null,
    caption varchar2(100) constraint document_definition_caption_ch not null,
    index1 number,
    owner_type number constraint document_definition_owner_type not null
    alter table sfs_document_def add (constraint documentdefinition_primary_key primary key (id));
    And in 10g following is produced:
    create table sfs_document_def (
    id number,
    caption varchar2(100) constraint sfs_document_def_caption_check not null,
    index1 number,
    owner_type number constraint sfs_document_def_owner_type_ch not null
    alter table sfs_document_def add ( constraint documentdefinition_primary_key primary key (id));
    alter table sfs_document_def add ( constraint document_definition_id_check check ("id" is not null));
    alter table sfs_document_def add ( constraint sfs_document_def_caption_check_10 check ("caption" is not null));
    alter table sfs_document_def add ( constraint sfs_document_def_owner_type_ch_10 check ("owner_type" is not null));
    It seems that column that are set not to be null in 10 g first get a constraint creating the table and then when altering the table. Furthermore, notice that the name of the second constraint is longer than 30 chars, which is reason to the error when creating the tables.

    Thanks for reporting the issue. I have managed to reproduce your problem and logged a bug to get the problem fixed.
    Thanks,
    Lisa Sherriff
    JDev QA

  • JDev Debugging problem

    Dear sirs,
    I would like to be able to debug my JDeveloper project and trace into the J2SE source files, but JDeveloper will not let me.
    The project JVM is currently set to "Java 1.3.1"
    with the path : "E:\java\jdk1.3.1\jre\bin\java.exe"
    and with the classpath:
    E:\java\jdk1.3.1\lib\dt.jar;E:\java\jdk1.3.1\jre\lib\rt.jar;E:\java\jdk1.3.1\jre\lib\i18n.jar
    I have tried to set the path to
    "E:\java\jdk1.3.1\bin\java.exe" instead, but JDeveloper switches the path back to "E:\java\jdk1.3.1\jre\bin\java.exe" for no apparent reason.
    I have tried to uncompress the src.jar and set the
    source path: E:\java\jdk1.3.1\src\ but to no avail.
    I have tried to set the classpath to
    E:\java\jdk1.3.1\lib\dt.jar;
    E:\java\jdk1.3.1\src.jar;
    E:\java\jdk1.3.1\jre\lib\i18n.jar;
    E:\java\jdk1.3.1\jre\lib\rt.jar
    to try and force it to use the source files instead of the runtime files, but then I get a System Error when trying to run my compiled project and execution is halted :
    System Error:     java version "1.3.1"
    System Error:     Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-b24)
    System Error:     Java HotSpot(TM) Client VM (build 1.3.1-b24, interpreted mode)
    System Error:     
    Please help me, as I am running out of ideas on how to trace into the Java source code.
    Best regards,
    Christian Loft
    "E:\java\jdk1.3.1\jre\bin\java" -mx50m -showversion -classpath "E:\Program Files\Oracle\JDeveloper 3.2\myprojects\RMI2\myclasses;E:\Program Files\Oracle\JDeveloper 3.2\jdbc\lib\oracle8.1.7\classes12.zip;E:\Program Files\Oracle\JDeveloper 3.2\lib\connectionmanager.zip;E:\Program Files\Oracle\JDeveloper 3.2\lib\jdev-rt.zip;E:\java\jdk1.3.1\lib\dt.jar;E:\java\jdk1.3.1\src.jar;E:\java\jdk1.3.1\jre\lib\i18n.jar;E:\java\jdk1.3.1\jre\lib\rt.jar" -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=2103 RMI_Client_Application

    Dear Christophe,
    thank you for your reply. I have included the src.jar in the source path. But there is no "tracing classes and packages to Exclude" under the "Run/Debug" tab (I use JDeveloper 3.2.2 (Build 915)), but under the "Compiler" tab I have made sure that there is no files mentioned in the "Exlude class" and the "Exclude Sources".
    The problem remains. I can run the application, but when I try to debug, the application window never appears.
    Do you have any other things I can try?
    Best regards,
    Christian
    You need to make sure sure of a couple of things:
    - have src.jar added to your java source path (Project settings Input path)
    - also you need to go into the debugger pane of project Settings and remove from "tracing classes and packages to Exclude" all the classes you want to trace into. For example if you want to trace into java.lang.String remove the java package.
    Hope it helps, Christophe [JDeveloper team]

  • Basic problem displaying components

    I downloaded Creator today to see if I could make the basic JSF code and then fill in the parts that Creator would not know about. I"ve used similar tools before, like VIsual Basic, as well as the component palette in a Java IDE or two. I'm haivng a problem. WHen I try to add a textfield to a page in JSC, the list at the left says it is thre and I can set the properties, but I cannot see it on the screen, no matter whati do. I've never had this kind of tool do that. What might I need to do? Thanks.
    Ken

    Hi,
    Possibly, you unchecked the rendered property.
    In the Application Outline pane, expand the html - body - form nodes
    then select the textfield.
    Next look in the Properties pane, make sure the rendered property
    checkbox is checked.
    John

  • New to J2EE Pls Help in some basic Problems

    Hello Friends! This is Anand. I had started working in J2EE recentelly. In start we r using J2EE server. but later we deployed same java beans on iPplanet server. it gives some problems. So can anybuddy told me answers of my following questions-
    1) What is basic difference in J2EE server and iPlanet.
    2) Is iPlanet is reliable server or suggest some reliable server(shoule i use Oracle 9i)
    3) Sometimes i come accross an error - Marshal Error or UnMarshal error. i cant understand what actually
    i have to change in my EJB.
    so pls guide me.
    - Thanks in advance

    Hello Friends.
    Thanks for quick replay.
    I am using J2EE server means which comes with J2EE 1.3
    Now I am using MySql and iPlanet Server. In that i always face a problem with database and i have to restart database server-
    Too many connection
    I am using a helper class for database connection. So if there is any better way to connect to database pls suggest
    (We are not using CMP Entity Beans)
    The class is as follows
    public class help
         public String server="localhost";
         public static String database="system";
         public String driver="org.gjt.mm.mysql.Driver";
         public String user="root";
         public String dns="jdbc:mysql://"+server+":3306/"+database+"?user=root&password=";
         String passward="";
         String password="";
         public help(){
    public class help10 extends help
    public Connection c = null;
    public Statement st = null;
    public ResultSet rs = null;
         public help10()
         public void connect()
              try
                   Class.forName(driver);
                   c=DriverManager.getConnection(dns,user,passward);
                   st=c.createStatement();
              }catch(Exception ex){e.printStackTrace();}
    public void disconnect()
              try
                   if(c!=null)
                        c.close();
              }catch(Exception ex){e.printStackTrace();}
              c = null;
    }

  • Some basic problems with multicast, IGMP & NLB

    Hi out there
    We have two DC's with 10G interconnection in  between - these connections are run as L2 links - put into a set of  nexus 5000 (the old nx5020) - acting access-switches - and uplinked to a  set of nexus 7009 which act as L3 switch for us.
    We  have a cluster of vmware boxes in each site and are running MS windows  2008 machines with MS NLB for TerminalServices - in IGMP multicast mode -  in VLAN 21.
    Now I looked in the log of the nexus 7000 and found that the PIM DR is "flapping" between the two sites from time to time:
    2013  Nov 25 22:50:58 ve-coresw-01 %PIM-5-DR_CHANGE:  pim [26128]  DR change  from 172.21.159.253 to 172.21.144.3 on interface Vlan21
    2013 Nov  25 22:51:54 ve-coresw-01 %PIM-5-DR_CHANGE:  pim [26128]  DR change from  172.21.144.3 to 172.21.159.253 on interface Vlan21
    2013 Nov 25  23:26:07 ve-coresw-01 %PIM-5-DR_CHANGE:  pim [26128]  DR change from  172.21.159.253 to 172.21.144.3 on interface Vlan21
    2013 Nov 25  23:26:10 ve-coresw-01 %PIM-5-DR_CHANGE:  pim [26128]  DR change from  172.21.144.3 to 172.21.159.253 on interface Vlan21
    I am not that familiar with multicast but the basic concepts are there - in the vrf I have defined
    ip pim ssm range 232.0.0.0/8
    the vlan is defined as:
    vlan configuration 21
      layer-2 multicast lookup mac
    vlan 2001
    under the SVI interface vlan 21 I have also defined - and there is a sample showning the nlb
    interface Vlan21
      vrf member DMZ_21
      no ip redirects
      ip address 172.21.144.3/20
      ip pim sparse-mode
      ip arp 172.21.149.19 0100.5E7F.9513
    these flapping should only occur if the keep-alives between the two sites are missed 3 times
    The uplinks to the nexus 5000 are defined as mrouters
    vlan 21
      ip igmp snooping mrouter interface port-channel5
      ip igmp snooping mrouter interface port-channel16
    SW5020-01# sh ip igmp snooping vl 21
    IGMP Snooping information for vlan 21
      IGMP snooping enabled
      IGMP querier present, address: 172.21.144.3, version: 2, interface port-channel5  -> the DR on the nx7k
      Switch-querier disabled
      IGMPv3 Explicit tracking enabled
      IGMPv2 Fast leave disabled
      IGMPv1/v2 Report suppression enabled
      IGMPv3 Report suppression disabled
      Link Local Groups suppression enabled
      Router port detection using PIM Hellos, IGMP Queries
      Number of router-ports: 3
      Number of groups: 3
      VLAN vPC function enabled
      Active ports:
        Po10        Po15    Eth1/3  Eth1/11
        Eth1/12     Eth1/13 Eth1/14 Eth1/15
        Eth1/16     Eth1/17 Eth1/18 Eth1/19
        Eth1/20     Eth1/25 Eth1/26 Eth1/27
        Eth1/28     Eth1/29 Eth1/30 Eth1/31
        Eth1/32     Po16    Po5
    The  link between the two sites - and boxes - is running error-free. As far  as I can see there hasn't been any problems in that vlan since ??
    If I look at f.ex spanning-tree the topology hast changed for long time in that vlan (2 weeks).
    Could I harden the igmp multicast setup?
    What is happening when a DR is changing? Will the multicast stop work or what happens?
    As  far as I understood the DR is the service which forwards the multicast  traffic to the groups so if suddenly some re-negotiation occurs I would  expect that the active traffic will be interrupted.
    here the actual MS NLB clusters adresses:
    SW5020-01# sh ip igmp snooping groups vl 21
    Type: S - Static, D - Dynamic, R - Router port
    Vlan  Group Address      Ver  Type  Port list
    21  */*                -    R     Po10 Po16 Po5
    21  239.255.149.19     v1   D     Eth1/14 Eth1/19 Eth1/32
    21  239.255.149.24     v1   D     Eth1/12 Eth1/15 Eth1/16
                                        Eth1/26 Eth1/31
    21  239.255.255.250    v2   D     Po15 Eth1/11 Eth1/28
                                        Eth1/29
    SW5020-01#
    Any suggeestions?

    What Is OneClickStarter.exe?
    OneClickStarter.exe is a type of EXE file associated with TuneUp Utilities 2013 developed by AVG Technologies for the Windows Operating System. The latest known version of OneClickStarter.exe is 13.0.4000.189, which was produced for Windows.
    This EXE file carries a popularity rating of 1 stars and a security rating of "UNKNOWN".
    Sounds like you have some misbehaving software on your system.  I would suggest a clean install to see if you still have all the problems you are reporting.

  • Code alteration - Basic problem or XML-RPC?

    I'm trying to alter the following client/server code to create an XML-RPC such that when the client offers an argument eg ?John? then the result of the method call returned to the client would be ?John*John? rather than the result of the equation currently shown.
    I'm not sure if it's just my lack of knowledge or something in the basic data types in XML-RPC
    Any help much appreciated.
    Client
    [ code ]
    import java.util.*;
    import org.apache.xmlrpc.*;
    //simple XML-RPC client that makes an XML-RPC request to a Server
    public class XMLRPCClient {
    public static void main(String args[]) {
    try {
    // Specify the server
    XmlRpcClient server = new XmlRpcClient("http://localhost/RPC2");
    // Create request
    Vector params = new Vector();
    params.addElement(new Integer(17));
    params.addElement(new Integer(13));
    // Make a request and print the result
    Object result = server.execute("sample.sum", params);
    int sum = ((Integer ) result).intValue();
    System.out.println("Response from server: " + sum);
    } catch (Exception exception) {
    System.err.println("JavaClient: " + exception);
    [ /code ]
    Server
    [ code ]
    import org.apache.xmlrpc.*;
    //XMLRPCServer is a simple XML-RPC server
    public class XMLRPCServer {
    //Start up the XMLRPC server and register a handler.
    public Integer sum(int x, int y) {
    return new Integer(x+y);
    public static void main (String [] args) {
    try {
    System.out.println("Attempting to start XML-RPC Server...");
    WebServer server = new WebServer(80);
    server.addHandler("sample", new XMLRPCServer());
    server.start();
    System.out.println("Started successfully.");
    System.out.println("Accepting requests. (Halt program to stop.)");
    } catch (Exception exception) {
    System.err.println("JavaServer: " + exception);
    [ /code ]

    cause of the error:
    After some extensive research on the web, it is found that that you are using an UTF-8 encoded file with byte-order mark (BOM). Java doesn't handle BOMs on UTF-8 files properly, making the three header bytes appear as being part of the document. UTF-8 files with BOMs are commonly generated by tools such as Window's Notepad. This is a known bug in Java, but it still needs fixing after almost 8 years...
    There are some hexadecimal character at the begining of the file, which is giving error"content not allowed in prolog". No solution is provided for this till now.
    Example: suppose your file start with <?xml version="1.0" encoding="utf-8"?>. you will see this in a editor. But if you open this file with any hexadecimal editor you will find some junk character in the start of the file.that is causing the problem
    solution:
    1) convert your file into a string and then read the file from the forst character that in my case the first character will be "<".so the junk character will not be there in the string and then again convert it into a file.
    2) some people are able to solve this problem by changing the "utf-8" to "utf-16". remember only in some case. some times this problem also exits in "utf-16" file.
    3) some are able to solve this problem by changing the LANG to US.en.
    4) If the first three bytes of the file have hexadecimal values EF BB BF then the file contains a BOM.so you can also handle by your own.
    5)Download a hexadecimal editor and remove the BOM.
    6) In case you are not able to think furthe then please to more research in internet may be you find some other solution to this problem. But These solution are some type of hack not exactly a solution.

  • GetRequestDispatcher:  probably basic problem

    This is probably one of the "basics", but neither the course I took on servlets and JSPs at Sun nor either of the books I have on servlets and JSPs really tell me what I need to know, and I can't find an answer through Google either, so please be patient with what is probably basic.
    I'm trying to dispatch a JSP from my FrontController servlet. My ap0plication is pretty straightforward, so I'm not tyring to do anything tricky, just basic servlet programming. I'm getting an error from the web server (Tomcat) when it tries to find the resource. I get a 404. Now I know that means normally that the page cnanot be found.
    Here's the error:
    The requested resource (/display_contract.jsp) is not available.
    Here's the code:
    if(request.getParameter("thePage").equalsIgnoreCase("index"))
                            RequestDispatcher rd =getServletContext().
                                getRequestDispatcher("/display_contract.jsp");
                            rd.forward(request, response);
                        }The display_contract.jsp is located in the WEB-INF directory (not a subdirectory below it). What am I doing wrong? Equally important, where is the exact requirement for what to specify in terms of both contents and format desribed? I'd prefer a book to a spec, because I find specs, even when I was a Sun employee, to be less than helpful at times on these sorts of technical details. Must this start with a "/"? Does anyone explain that? All the examples I've been able to find assume you've set up your web app structure the way the example does, so there's no explanation of what needs to be in the resource name, e.g., absolute path vs. relative path, wild cards, etc., so I can't begin to see what I'm doing wrong. I'm not unwilling to read. I just can't find any book or article to date that explains this at the level of detail I need to resolve my own problem. Thanks.
    Ken

    I think the problem is that /display_contract.jsp will be translated to http://www.yourdomain.com/yourapplication/display_contract.jsp, but the file is hidden in your WEB-INF.
    Either move the jsp up one directory or add an entry to your web.xml to make the jsp available.

  • Jdev version problems .. please help!

    Hi ,
    I had devleoped a project using jdev 10g .. now need to open that project in Jdev 9i .. cant use jdev 10g anymore due to some issues..
    But when i try to open the project in JDev 9i , it gives a warning .. that the projects will be migrated and cant be opened with a lower version of JDEV ..
    Can anyone please help on this ! Its very urgent ..
    Regards,
    Preeti

    Preeti,
    As sumit suggested you try to fix the R12 error, else raise a SR with support and get fixed.
    Btw, Re: Regd JDEV set up .. error running default toolbox.jsp page
    is the thread you discussed about the R12 issue?
    Check the following, it may add some value for fixing your issue.
    1) Can you run the following URL in your R12 instance,
    http://<hostname>:<port>/OA_HTML/jsp/fnd/aoljtest.jsp
    and do the testings and see any error you are getting related to Guest user.
    2) Check the password for the Guest user,
    and use the same in the following query
    select fnd_web_sec.validate_login('GUEST','<PASSWORD FROM DBC FILE>') from dual;
    This should return "Y', If it returns "N', you need to change the password for GUESTin the database
    (More details check the metalink note - 458064.1)
    3) Are you able to login in your instance and access the pages without any error?
    Thanks.
    With Regards,
    Kali.
    OSSI.

Maybe you are looking for

  • How do I download Lightroom on a new laptop?

    I had gotten Lightroom as a birthday present a couple of years ago. The computer that I had it on crashed and I'm wondering if there is a way to download it on my new laptop. I do not have the serial number and didn't think to register it. My old lap

  • How to make changes in infose query in SQ01

    Dear experts, I hv question abt infoset query. I m not very familiar with infoset query and now i hv to make some changes in already existing query. I hv found the infoset in use. from this infoset i can find the query. Now the question is I just hv

  • Mail notifications not working in Notification Centre iOS5

    Hi I am using an iPhone 4 and recently updated to iOS5. Most of my notifications in the new Notification Centre work fine, except my Mail. Whenever I send a test email, it never pops up as a banner at the top of the screen, as it would like an ordina

  • FlatFile to produce multiple xml Files

    Hi - my requirement is I need to convert the below FF to xml format producing unique ID record and multiple Question and Answer Record under it. Output should be of this format :For 5 different IDs, 5 seperate xml's should be produced <ID> 000000001

  • What is it with the onboard devices on Neo2 Plat.

    What is it with the onboard devices on the Neo2 Plat. The sound really really sucks. Bass is like not there at all, other sounds is of LOW quality - Even with the Nforce driver the sound sucks, infact this is the WORST onboard sound I have ever tried