Thread Problem during Multiple Canvas....

Hi,
I have designed two games for a suite while integrating these into a single MIDlet, the flow of the canvas are good but when i go to the secomd game the thread is not executing which cause paint also not executing.. so i don find any interaction with key events.Please help in this.
1. From the main MIDlet i set the DISPLAY.SETCURRNT to the first canvas.
2. From the First canvas i set the DISPLAY.SETCURRNT of the second canvas using the main MIDlet.
3. The setCurrent method is working and as i started the Thread from here.
4.But Run is executing only one which cause Paint also only once.
Please Help me regarding...

Dear Bhanu,
Firstly FRC1 is quantity based condition now you want the quantity check in MIRO (FRB1 is absolute value based , FRA1 is Percentage based)
Lets take 1 example
PO quantity 100 Kg price 100 Rs/Kg. with 3 FRC1 conditions values are 5 Rs/kg ,6 Rs/kg,7Rs/kg (3 separate vendor A,B,C)
so total PO with freight =100100 +51006*1007*100
                                      =10000 +  1800
                                      =11800 Rs
Now say you have received 10 Kg of material
And for freight vendor A you are performing MIRO ->Enter PO ->Select planned delivery cost-> Pop up will appear
Select vendor A.
Now it will propose 50 Rs and 10 KG
If you enter qty as 11 kg it will show you warning ( that Qty exceed from GR) but
TO achieve this you need to set tolerance key DQ (Qty check) for your company ->select check limit in OMR6
and if want price check too set tolerance key KW this will check the amount of FRC1
You can also make this warning as error in OMRM message no M8 081 as error
Edited by: redriver on Dec 12, 2011 6:55 AM

Similar Messages

  • Threading problem during File Upload with Apache faces upload tag

    First I am going to tell you "My Understanding of how JSF Apache Upload works, Correct me if i am wrong".
    1) Restores View (to show Input box and Browse button to facilitate users to select a file for upload)
    2) Translates Request Parameters to Component Values (Creates equivalent components to update them with request values).
    3) Validates Input(Checks to see whether the User has input the correct file)
    4) Updates Backing Bean or Model to reflect the values.
    5) Renders response to user.
    I am uploading huge files of sizes 400MB and above with the help of JSF apache extensions tag
    <h:form id="uploadForm" enctype="multipart/form-data">
    <x:inputFileUpload style="height:20px;" id="upload" value="#{backingbean.fileContents}" storage="file" size="50" />
    </h:form>
    In the backing bean
    private UploadedFile fileContents;
         public UploadedFile getFileContents() {
              return fileContents;
         public void setFileContents(UploadedFile fileContents) {
              System.out.println("File being uploaded...");
              this.fileContents = fileContents;
    Since, the file size is so huge, I am using temp folder to use for the apache tag instead of memory.
    In web.xml i am using like this
    <filter>
    <filter-name>ExtensionsFilter</filter-name>
    <filter-class>org.apache.myfaces.component.html.util.ExtensionsFilter</filter-class>
    <init-param>
    <param-name>uploadMaxFileSize</param-name>
    <param-value>600m</param-value>
    </init-param>
    <init-param>
    <param-name>uploadThresholdSize</param-name>
    <param-value>10m</param-value>
    </init-param>
         <init-param>
    <param-name>uploadRepositoryPath</param-name>
    <param-value>/uploadfolder/</param-value>
    </init-param>
    </filter>
    <filter-mapping>
    <filter-name>ExtensionsFilter</filter-name>
    <servlet-name>Faces Servlet</servlet-name>
    </filter-mapping>
    The upload process is working perfectly fine.
    Now coming to the problem:
    Suppose one user is logging into the application & uploading say 400MB of files.
    Until these files are linked to the model objects as my understanding of step 2, if second user tries to open the application he gets stuck with the loading page.
    The page gets loaded only after the request files are linked to the component values(Step 2 above) and updates the backing bean's values.
    I don't see any error in the logs. User is getting stuck. The user is getting stuck only when uploading the files. The other operations like searching are not blocking any other activities performed by the user.
    Server used: IBM Application Server V6.0. CPU is normal, memory usage is normal.

    Dear friend,
    i am also trying to upload using the common file upload.
    when try to run the file error is coming
    can give some suggestion.
    can i use if concurrent user file upload at a time

  • Problem using multiple contexts in same thread

    Hello,
    I am having problem using multiple contexts in the same thread. Here is the scenario:
    front-end is calling a ejb1 with a user1 and password. Ejb1 is then calling ejb2
    using user2 and password. I am getting security exception when calling ejb2 with
    the message user1 is not authorized. Looking at the documentation, context 2 should
    be pushed on stack on top of context 1 and context 2 should then be used until
    context.close() is called. It looks like this is not the case in this scenario?
    Regards,
    Jeba Bhaskaran

    I have the GTX670. So pretty much the same.
    When I go to  Edit>Preferences>Playback I see:
    When I select the monitor I am not currently using for Premiere Pro, the Program Monitor shows up full size at 1920X1080 in that monitor.
    While that may not help you, at least you know a similar card can do the job and you know that it should work.. What happens if you drop down to two monitors? Will it work then?
    Also, have you performed the hack that allows Premiere Pro to use the card since that card is not in the file? I have no idea if that is relevant at all, by the way. It is just an attempt at getting our systems to work the same way.

  • Cant syncronize! Threads problem

    Hello everybody,
    recently i posted a question(im new to threads) and it was asked immediately but now i have another
    type of problem.
    Please read here the initial post and the answer and please give me any ideas..
    Initial Post
    Hi everybody,i have this thread problem(i'm new to java and h
    ave no idea what exactly to do).
    Well,in my applet i have this action performed method
    that i imagine is in the event dispatch thread.
    This method calls as u see, two other methods of a class named CPU(.
    Note that fetch and execute are observed classes and my applet class
    is the observer.
    The problem is that during the execution of fetch() and execute(),
    inside these methods change some things and so they call notifyObservers(Object arg)
    passing to the applet the argument and so the applet updates some text components.
    But as you can immagine there is no time for the gui to update himself so i see nothing.
    So, my question is which of the methods need to be in a separate thread so to ensure
    visible results(component updating)?
    Perhaps,the update method needs to be invokedLater with SwingUtilities?
    Please give me an example code if possible.
    Here is the actionPerformed code(from the applet class) and the fetch method:
        void executeProgramButton_actionPerformed(ActionEvent e) {      
    int numInstr = this.machine.ram.segmentSize;       
    for (int i = 0; i < numInstr; i = i + 4) {           
    machine.cpu.fetch();           
    machine.cpu.execute();       
    /*The following method is in the CPU class
    fetch method:here the observedPC is the observable value
    that notifies the observer(the main applet)
    that does: pcTextField.setText(arg.toString());*/   
    public void fetchInstructionProgram() {       
    observedPC = Integer.toString(pc);       
    setChanged();       
    notifyObservers(observedPC);       
    instructions++;       
    instruction=readOperation(cache.instructionfetch,pc);       
    pc = pc + 4;    }
    Answer to initial post
    Author: stevejluke
    One way could be to put the content of the action performed method into a new thread, then use invokeLater in your Observers that cause GUI updates:
        void executeProgramButton_actionPerformed(ActionEvent e) {     
    new Thread()       {      
    public void run()        {         
    int numInstr = this.machine.ram.segmentSize;         
    for (int i = 0; i < numInstr; i = i + 4)           {           
    machine.cpu.fetch();           
    machine.cpu.execute();         
    }.start();    }
    // In your Observer    public void update(Observable o, Object arg)    {     
    SwingUtilities.invokeLater(new Runnable() {      
    public void run()        { 
    /* your GUI afecting code
    });[i]
    Or something like that.
    You might need to watch for synchronizing things
    He was right...GUI is responsive but the results...
    Well,let me describe the new problem.
    Here you cant see the method execute().
    The problem is a synchronization problem.
    Actually,what the two methods do is:fetch() updates the value of a long called instruction and execute() takes this value and do some things.Note also that the time the execute method needs to finish is not
    always the same.By that, i mean that it depends on the value of the instruction updated by fetch().
    By putting some System.outs before and after updating i realized that there are delays or sometimes
    i noticed that fetch() executes 2 times before execute() takes control.
    So,i created some synchronized private methods set and get to control access to these resources.
    Better but still not correct...
    What should i look?Where stays the answer?
    How to synchronize these two methods on these resources?
    Thank you in advance,
    Chris

    I think that your fetch and execute has a "Producer-Consumer Relationship"
    in such cases you can make the producer place the produced value in to a queue and consumer take the vlues from the queue
    In the producer thread it sleeps for a while and try again if the Queue is full
    In the Consumer thread it sleeps for a while if the Queue is empty and then try again
    Or you can do as follows
    In the Producer thread it waite() if the Queue is full
    In the Consumer thread it waite() if the queue is empty
    When ever Producer put a value in to the Queue it calls the notify on Consumer and when ever Consumer takes a value from Queue it calls the notify() on Producer
    you can even use notify all
    I think thiere is no built in Queue class in java so you will have to write one here is a example
    public class MyLongQueue{
                long data[];
                int head, tail;
                int size;
               public MyLongQueue(int size){
                    data = new long[size];
                    head = -1;
                    tail = -1;
                    this.size = 0;
                public synchronized boolean isFull(){
                    return (size==data.length);
                public synchronized boolean isEmpty(){
                    return (size==0);
                public synchronized boolean  insert(long l){
                    if (size==data.length) return false; //Queue is full cant add more data
                    tail = (tail + 1) % data.length;
                    data[tail] = l;
                     size++;
                    return true;
               public synchronized long remove(){
                   if (size==0) throw new ArrayIndexOutOfBoundsException();
                   size--;
                   head = (head + 1) % data.length;
                   return data[head];

  • Problem in multiple selections in a jList

    I have two jLists. Now I have to select some items from one jlist and have to transfer in the other one. But while trying to do it in the runtime I am getting some unexpected runtime errors including "Exception occurred during event dispatching". When I try to transfer only one item it works fine but shows problem in multiple selections. Pleast give your suggestions.

    [_First suggestion_|http://catb.org/~esr/faqs/smart-questions.html]
    [_Second suggestion_|http://mindprod.com/jgloss/sscce.html]
    db

  • Problem during installation of Solution Manager

    Hi All,
    I am facing problem during the installation of solution manager. it shows following error during installation
    ERROR 2010-05-21 14:39:24
    FJS-00003  TypeError: this._name has no properties (in script NW_Doublestack_SCS|ind|ind|ind|ind, line 5140: ???)
    ERROR 2010-05-21 14:39:25
    FCO-00011  The step collect with step key |NW_Doublestack_SCS|ind|ind|ind|ind|0|0|NW_GetSidNoProfiles|ind|ind|ind|ind|1|0|collect was executed with status ERROR .
    Please also let me konw how much space do we require for installating the Solution manager as a central system on one drive?

    Hi Chandan,
    Well may be below SDN thread will help you... out ! try out with Curd Abstoss Response !!
    Inst. SAP NW 2004s Java SP9 - Error FJS-00003 this._name has no properties
    Hope it will work for you..as well !

  • Problem during installation of  NW7.0 SR3 on Windows x64

    Hello all,
    I have a problem during the installation of a new central instance.
    During the phase 38 "Install Software units", SAPINST shows that logs :
    Jul 30, 2008 1:41:10 PM  Info: Ending deployment prerequisites. All items are correct.
    Jul 30, 2008 1:41:11 PM  Info: Saved current Engine state.
    Jul 30, 2008 1:41:11 PM  Info: Starting: Initial deployment: Selected development component 'caf/eu/gp/model/eap'/'sap.com'/'MAIN_APL70VAL_C'/'1497904'/'5' will be deployed.
    Jul 30, 2008 1:41:11 PM  Info: SDA to be deployed: D:\usr\sap\PAD\DVEBMGS00\SDM\root\origin\sap.com\caf\eu\gp\model\eap\MAIN_APL70VAL_C\5\1497904\cafeugpmodeleap.sda
    Jul 30, 2008 1:41:11 PM  Info: Software type of SDA: J2EE
    Jul 30, 2008 1:41:11 PM  Info: ***** Begin of SAP J2EE Engine Deployment (J2EE Application) *****
    Jul 30, 2008 1:41:13 PM  Info: Begin of log messages of the target system:
    08/07/30 13:41:11 -  ***********************************************************
    08/07/30 13:41:12 -  Start updating EAR file...
    08/07/30 13:41:12 -  start-up mode is lazy
    08/07/30 13:41:12 -  EAR file updated successfully for 250ms.
    08/07/30 13:41:12 -  Start deploying ...
    08/07/30 13:41:12 -  EAR file uploaded to server for 93ms.
    08/07/30 13:41:13 -  ERROR: NOT deployed. The Deploy Service returned the following error:
                         For detailed information see the log file of the Deploy Service.
                         Exception is:
                         com.sap.engine.services.rmi_p4.P4RuntimeException: Unexpected exception.
                              Nested exception is:
                              java.net.SocketException: Connection reset
                         java.net.SocketException: Connection reset
                              at java.net.SocketInputStream.read(SocketInputStream.java:168)
                              at com.sap.engine.services.rmi_p4.Connection.run(Connection.java:395)
                              at java.lang.Thread.run(Thread.java:534)
    08/07/30 13:41:13 -  ***********************************************************
    Jul 30, 2008 1:41:13 PM  Info: End of log messages of the target system.
    Jul 30, 2008 1:41:13 PM  Info: ***** End of SAP J2EE Engine Deployment (J2EE Application) *****
    Jul 30, 2008 1:41:13 PM  Error: Aborted: development component 'caf/eu/gp/model/eap'/'sap.com'/'MAIN_APL70VAL_C'/'1497904'/'5', grouped by software component 'SAP-EU'/'sap.com'/'MAIN_APL70VAL_C'/'1000.7.00.14.0.20071210153525''/'5':
    Caught exception during application deployment from SAP J2EE Engine's deploy API:
    com.sap.engine.deploy.manager.DeployManagerException: ERROR: NOT deployed. The Deploy Service returned the following error: com.sap.engine.services.rmi_p4.P4RuntimeException: Unexpected exception.
         Nested exception is:
         java.net.SocketException: Connection reset
    Exception is:
    com.sap.engine.services.rmi_p4.P4RuntimeException: Unexpected exception.
         Nested exception is:
         java.net.SocketException: Connection reset
    java.net.SocketException: Connection reset
         at java.net.SocketInputStream.read(SocketInputStream.java:168)
         at com.sap.engine.services.rmi_p4.Connection.run(Connection.java:395)
         at java.lang.Thread.run(Thread.java:534)
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).DMEXC)
    Jul 30, 2008 1:41:13 PM  Info: Starting to save the repository
    Jul 30, 2008 1:41:13 PM  Info: Finished saving the repository
    What can I do to validate that step ?
    Thanks in advance,
    Edited by: Alexandre Belgrand on Jul 30, 2008 1:48 PM

    Hi,
    I had same problem.i resolved it by reinstalling OS and configuring high Page file.
    Please set the max and min Page file size of same value.
    and also do the java memory tuning as per SAP Notes.
    Regards,
    Sandeep Nayak

  • Hyper-V 2012 R2. RemoteFx. "The remote session was disconnected because there were network problems during the licensing protocol. Please try connecting to the remote computer again."

    After a Installation from Windows 8.1/windows 7 everything works fine. For example  Install updates and Software. If I connect the first time a remotefx card i can use RDP as well. But if i restart the host I get the mentioned error. What can I do. These
    Hosts are not in a domain configuration. I tried it too but there was  no difference. I didn't discovered any errors in the eventlog, too. Only an actviex error. But same errors occurs with a succsefull rdp session.
    Also strange is if i start the vm without a remotefx card it works fine again. Only session with a Remotefx card aren't possible anymore.
    Is there a bug or something. I tried it many times with the same error.
    Maybe someone can help me. 
    kind regards  
    Tobi

    Hi Tobi,
    Thank you for posting in Windows Server Forum.
    For a workaround, please try to perform the two steps.
    1. Do NOT enable RDP 8 on the Windows 7 SP1 VM.  You should install RDP 8 and update the ICs though.
    2. Change the connection setting on the client from "Automatically detect" to "LAN"
    Please check again below thread for information.
    a. "The remote session was disconnected
    because there were network problems during the licensing protocol" after enabling RemoteFX Windows 8 VM
    (Please recheck answer by “dgeddes”)
    b. "The remote session
    was disconnected because there were network problems during the licensing protocol" After Installing RemoteFX
    Hope it helps!
    Thanks,
    Dharmesh

  • Transaction Locking during multiple Webservice - persistent webs sessions

    Hi All,<br>
    <br>
    Yesterday evening we had a discussion concerning ESA architecture. We want to create (web)services for accessing the SAP business objects (using XI) and use these (web)services via visual composer, webdynpro or custom java development.<br>
    <br>
    It does not seem a big problem to perform creations and reads of transaction, but when we want to change objects, we saw some problems concerning locking/commiting and rollbacks.<br>
    <br>
    From our GUI we would like to be able to go in edit mode and from that moment on, the transaction should be locked. We then want to change certain parameters and commit only when we push the save button.<br>
    <br>
    We can invoke a webservice wich tries to lock the transaction, but at the moment the XI scenario is completed (=the lock is created), the program at SAP side (=proxy in our case) is also finished and the lock is automaticly removed. How can we do locking, when using webservices via XI?<br>
    <br>
    The problem of the rollback and commit we can partially solve by putting more logic in the GUI, but we don't want to do that. How can we do a change of a business object and remember this change without doing a commit on the SAP system.... . Same problem for the rollback.<br>
    <br>
    Is there a away to keep a session "alive" during multiple webservice calls or to simulate it? Every webservice invokation happens in a different context...isn't it?<br>
    <br>
    <br>
    <b>Just to make it a bit more clear.</b><br>
    <br>
    Suppose we create 6 service related to the business object bupa (business partner).<br>
    - read<br>
    - change<br>
    - commit<br>
    - rollback<br>
    - lock<br>
    - unlock.<br>
    <br>
    We create a GUI which uses these services.<br>
    <br>
    <b>Step1:</b> we want to see bupa in detail, so the read webservice is called and the retrieved details are shown in the GUI<br>
    <b>Step2:</b> we want to go in edit mode, so the lock webservice is called to lock the bupa. The bupa should stay locked, untill the unlock is called. Here occurs the problem. The webservice lock is called, XI will trigger the proxy on the SAP system. This proxy will lock the bupa. As soon as the proxy-program is completed, the bupa lock will automaticly be removed ... . We want to keep this lock!<br>
    <b>Step3:</b> we change the bupa using the change webservice. Only the user who locked the bupa should be able to change it.<br>
    Problem concerning the locking occurs: standard we don't know who locked the bupa (this is done by the generic RFC user, configured in sm59). Should we pass some kind of GUID towards the proxy and build some additional logic to know which end-user in fact locked it... . Using the userid isn't sufficient, because a user could logon multiple time simultanously.<br>
    <br>
    Another problem is that we want to change the bupa, without having to do a commit yet.De commit should be called only when pushing the save button. When the proxy is ended and we did not do a commit, the changes are lost normally ... .<br>
    <br>
    What we in fact want to do is Simulate the bsp behaviour.<br>
    <b>Step4:</b>We want to perform a save of the things we changed or a reset. This means the commit or rollback webservice is called.<br>
    <b>Step5:</b> We want to unlock the bupa by calling the unlock webservice.<br>
    <br>
    <br>
    Please give me your comments.<br>
    <br>
    Kind regards<br>
    Joris<br>
    <br>
    Note: Transaction Locking during multiple Webservice "sessions".
    Message was edited by:
            Joris Verberckmoes

    There are multiple strategies how to resolve this. They require that the last change time is available in the changed object, and also that the client keeps the value of the change time when it read the data.
    1. First one wins
    Immediately before posting the changes, the current change time is read from the server. In case it is different from the client buffer, then the client changes are discarted.
    Example:
    1. Client A reads data
    2. Client B reads data
    3. Client B changes its buffer
    4. Client B checks if server change time has changed (result is no)
    5. Client B writes his changes to the server
    6. Client A changes its buffer
    7. Client A checks if server change time has changed (result is yes)
    8. Client A discarts its changes
    2. Last one wins
    Easy. Client just writes his changes to the server, overwriting any changes that might have occured since it read the data.
    Example:
    1. Client A reads data
    2. Client B reads data
    3. Client B changes its buffer
    4. Client B writes his changes to the server
    5. Client A changes its buffer
    6. Client A writes its changes to the server -> changes from client B are lost
    3. Everybody wins
    Most complicated. In case of concurrent changes, the client is responsible for merging his changes with the changes from other clients and to resolve any conflicts.
    Example:
    1. Client A reads data
    2. Client B reads data
    3. Client B changes its buffer
    4. Client B checks if server change time has changed (result is no)
    5. Client B writes his changes to the server
    6. Client A changes its buffer
    7. Client A checks if server change time has changed (result is yes)
    8. Client A merges its changes with changes from client B
    9. Client A writes his changes to the server
    "Last one wins" is definitely not water-proof. But even with the other strategies, data can potentially get lost in the short timeframe when the change time is checked and the actual update.
    To make it more secure, server support is required. E.g. the client could pass the change time from its read access to the server. The server can then reliably reject the update if the change data has been updated in beetween by another client.

  • There was a problem during installation of blackberry messenger. Please try again

    There was a problem during installation of blackberry messenger ( any application). Please try again, this is the message i get anytime i try to download or upgrade any application on my blackberry bold 9870. pls i need your help
     Thanks
    bellokeshi

    bellokeshi wrote:
    Blackberry appworld version: 4.0.0.63
    OK, that is almost the latest version... .65 is later.
    You can upgrade your AppWorld from using your BlackBerry browser to go to www.blackberry.com/appworld
    After you upgrade, Do a simple reboot on the BlackBerry in this manner: With the BlackBerry device POWERED ON, remove the battery for a minute, and then reinsert the battery to reboot.
    IF then you don't see or can't find the AppWorld icon, please post back here.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Weird problem during synchronization !!!??

    Hi all
    I came accross a weird problem during synchronization. I am into customizing MAM2.5, and in testing phase. I created 600 local measurement documents and tried to sync. Nearly half of the documents got successfully posted at the back end and got deleted from the hand held. Nearly 250 documents were not posted and it stays in the hand held. On multiple synchronization also it is not getting moved but it says "synchronization successfully completed". The state in the upload syncBO (040) shows the state of these documents as "S" that corresponds to synchronized documents.
    any of you had come accross this problem?? any thoughts??
    Raj

    Hi Raj,
    Now that a new development, If the device was restarted manually please do a client data reset. Settings-> client data reset.
    I know you have tried doing this before but I want you to check the following.
    This will ensure that the data in the client and the middleware are consistent.
    Check the MEREP_MON when you perform the first sync.
    Download requests must be sent from the client to the middleware (They will be in I-Finished status after processing) and the response will be found in O-Waiting. When you perform the sync the second time all the data is sent to the client. Now the data in the client and the server are in-sync. Now if you change any data and sync the data should be sent to the middleware.
    If it still doesnt work your only option is to reinstall MI on the device and start from scratch.
    Let me know.
    Best Regards,
    Karthik

  • Problem during the changing of  Password in Active Directory

    Hello All !
    I am facing a problem during the password modification
    in active directory, i got the same exception as other are getting i.e
    javax.naming.OperationNotSupportedException: [LDAP: error code  53 - 00002077: SvcErr: DSID-03190959, problem 5003 (WILL_NOT_PERFORM), data 0
                       Can any body help me how i will come to know that 128 bit
      Encryption is done successfully. Although i Installed the  MS High Encryption  Pack but it's registry is not done in Conrol Panel.
    is this a problem(as i think) ?
        I am giving the code please check it out->
                          import java.util.Hashtable;
    import javax.naming.*;
    import javax.naming.ldap.*;
    import javax.naming.directory.*;
    //import java.io.*;
    //import javax.net.ssl.*;
    //import java.security.*;
    import java.io.UnsupportedEncodingException;
    public class setpassword
         public static void main (String[] args)
              Hashtable env = new Hashtable();
              String adminPassword = "";
              String userName = "ou=MCA,ou=Trainee,dc=ControlsNet,dc=local";
              String newPassword = "yadav";
              String keystore = "D:\\j2sdk1.4.2_12\\jre\\lib\\security\\cacerts";
              System.setProperty("javax.net.ssl.trustStore",keystore);
              env.put(Context.INITIAL_CONTEXT_FACTORY,"com.sun.jndi.ldap.LdapCtxFactory");
              env.put(Context.SECURITY_AUTHENTICATION,"simple");
              env.put(Context.SECURITY_PRINCIPAL,"[email protected]");
              env.put(Context.SECURITY_CREDENTIALS,adminPassword);
              env.put(Context.SECURITY_PROTOCOL,"ssl");
              String ldapURL = "ldap://gateway.ControlsNet.local:636/";
              env.put(Context.PROVIDER_URL,ldapURL);
              try {
                   LdapContext ctx = new InitialLdapContext(env,null);
              ModificationItem[] mods = new ModificationItem[1];
                   String newQuotedPassword = "\"" + newPassword + "\"";
                   byte[] newUnicodePassword = newQuotedPassword.getBytes("UTF-16LE");
                   mods[0] = new ModificationItem(DirContext.REPLACE_ATTRIBUTE, new BasicAttribute("unicodePwd", newUnicodePassword));
                   ctx.modifyAttributes(userName, mods);
              System.out.println("Reset Password for: " + userName);     
                   ctx.close();
              catch (NamingException e) {
                   System.out.println("Problem resetting password: " + e);
              catch (UnsupportedEncodingException e) {
                   System.out.println("Problem encoding password: " + e);
    Please reply me immideiately as soon as you see this problem.
    I think some of u already solved this problem. thanks in advance.

    Believe it or not, looks similar to the problem in the post http://forum.java.sun.com/thread.jspa?threadID=580113&tstart=0
    More unbelievable is the huge security hole in your network !String adminPassword = "";
    env.put(Context.SECURITY_PRINCIPAL,"[email protected]");
    env.put(Context.SECURITY_CREDENTIALS,adminPassword);An administrator with a blank password !
    The ldap standard (rfc 2251) defines an anonymous user as a user with a null passsword. By default, Active Directory does not allow anonymous users to perform searches against the directory, let alone reset a user's password.

  • Problem during restore from a file

    Hello guys,
    I'have a big problem during restore a backup, the situation :
    I want to upgrade my iPhone from 4.0.2 to 4.3.3
    I make a encrypted backup (I know password ...) of the old version -> ok no errors
    I upgrade iOS -> ok
    When I want to restore the version I ve just backup -> it crashs : iphone restart and error appears "the Iphone was disconnected" ... (it works fine with an older backup of december 2010 ...)
    I try to unistall / reinstall iTunes, it's the last version -> same problem
    I try one a another machine (Windows 7 and XP) -> same problem
    The logs :
    [4896 @ Mon Jun 20 22:33:02 2011] [com.apple.console AppleMobileBackup.exe] Unable to move temporary file "C:\Users\***\AppData\Roaming\Apple Computer\MobileSync\Backup\Logs\MobileBackup-unknown-20110620-223302-Restore-Co mputer.log" (3)
    [4896 @ Mon Jun 20 22:33:02 2011] [com.apple.console AppleMobileBackup.exe] Unable to move temporary file "C:\Users\Hamad\AppData\Roaming\Apple Computer\MobileSync\Backup\Logs\MobileBackup-10b66065f7dbf1da28658fd7fbeb7b128a 871760-20110620-223302-Restore-Computer.log" (3)
    [4896 @ Mon Jun 20 22:33:02 2011] [com.apple.console AppleMobileBackup.exe] WARNING: Restoring 10b66065f7dbf1da28658fd7fbeb7b128a871760 from 10b66065f7dbf1da28658fd7fbeb7b128a871760-20110619-224423
    [5564 @ Mon Jun 20 22:34:09 2011] [(unknown facility) iTunes.exe] AMDServiceConnectionReceiveMessage (thread 3352): Could not receive size of message: 0 No error
    [5564 @ Mon Jun 20 22:34:09 2011] [(unknown facility) iTunes.exe] _read_thread (thread 3352): Could not receive message: 0xe8000001
    [4896 @ Mon Jun 20 22:34:10 2011] [com.apple.console AppleMobileBackup.exe] ERROR: Connection to device lost (com.apple.MobileBackup.ErrorDomain/200)
    [4896 @ Mon Jun 20 22:34:10 2011] [com.apple.console AppleMobileBackup.exe] ERROR: Restore error: -10
    I want to restore at least my contacts, sms and photos, the issue was the backup is encrypted that why I cant't acceess directly to the concerned files ...
    Can somebody help me?
    Thanks

       Hello, I had the same problem with my notebook (HP Envy 15) and iTunes 10.5 after install iOS 5. The restore backup fail and show the next text:
    [4428 @ Mon Oct 17 00:44:41 2011] [com.apple.console AppleMobileBackup.exe] Unable to move temporary file "C:\Users\Dani\AppData\Roaming\Apple Computer\MobileSync\Backup\Logs\MobileBackup-unknown-20111017-004441-Restore-Co mputer.log" (2)
    [4428 @ Mon Oct 17 00:44:41 2011] [com.apple.console AppleMobileBackup.exe] Unable to move temporary file "C:\Users\Dani\AppData\Roaming\Apple Computer\MobileSync\Backup\Logs\MobileBackup-71f0bc4bbd4f76087135ff002d3b0c7f6b 85ee0f-20111017-004441-Restore-Computer.log" (2)
    [4428 @ Mon Oct 17 00:44:41 2011] [com.apple.console AppleMobileBackup.exe] WARNING: Restoring 71f0bc4bbd4f76087135ff002d3b0c7f6b85ee0f from 71f0bc4bbd4f76087135ff002d3b0c7f6b85ee0f
    [4428 @ Mon Oct 17 00:44:41 2011] [(unknown facility) AppleMobileBackup.exe] _AMDDeviceAttachedCallbackv3 (thread 3008): Device 'AMDevice 004EFAA8 {UDID = 71f0bc4bbd4f76087135ff002d3b0c7f6b85ee0f, device ID = 1, location ID = 0x0, product ID = 0x1297}' attached.
    [4428 @ Mon Oct 17 00:45:08 2011] [(unknown facility) AppleMobileBackup.exe] lockssl_handshake (thread 3008): SSL handshake fatal lower level error -1: SSL_ERROR_SYSCALL errno (No such file or directory)
    [4428 @ Mon Oct 17 00:45:08 2011] [(unknown facility) AppleMobileBackup.exe] AMDeviceStartSession (thread 3008): Could not start session: kAMDInvalidPairRecordError
    [4428 @ Mon Oct 17 00:45:08 2011] [(unknown facility) AppleMobileBackup.exe] _AMDNotifyHook (thread 3008): Could not load library SHLWAPI.dll from the AppleMobileDeviceSupport directory, C:\Program Files (x86)\Common Files\Apple\Mobile Device Support\\SHLWAPI.dll.
    [4428 @ Mon Oct 17 00:45:08 2011] [com.apple.console AppleMobileBackup.exe] ERROR: Error attaching to device
    [4428 @ Mon Oct 17 00:45:08 2011] [YSLoader AppleMobileBackup.exe]
    Without any doubt there's some problem with USB device during this operation of restore. After 5 hours looking for a solution, I copied the backup folder (C:\Users\Dani\AppData\Roaming\Apple Computer\MobileSync) to an external disk, installed iTunes in other PC, copy the backup and restore without any problem.
    Regards

  • Problems during NWDS startup

    I have installed Netweaver developer studio. When i tried to launch it , it gave me an error "Problem during start up". The log file show the following
    !SESSION Oct 22, 2004 18:26:15.579 -
    java.version=1.4.2_04
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
    Command-line arguments: -os win32 -ws win32 -arch x86 -install file:C:/Program Files/SAP/JDT/eclipse/
    !ENTRY org.eclipse.core.runtime 2 1 Oct 22, 2004 18:26:15.589
    !MESSAGE Problems encountered loading the plug-in registry.
    !SUBENTRY 1 org.eclipse.core.runtime 2 1 Oct 22, 2004 18:26:15.589
    !MESSAGE Plug-in "com.tssap.dtr.client.vfs" was disabled due to missing or disabled prerequisite plug-in "com.sap.ide.eclipse.ext.libs.iaik".
    !SUBENTRY 1 org.eclipse.core.runtime 2 1 Oct 22, 2004 18:26:15.589
    !MESSAGE Plug-in "com.tssap.dtr.client.eclipse" was disabled due to missing or disabled prerequisite plug-in "com.tssap.dtr.client.vfs".
    !SUBENTRY 1 org.eclipse.core.runtime 2 1 Oct 22, 2004 18:26:15.589
    !MESSAGE Plug-in "com.tssap.dii" was disabled due to missing or disabled prerequisite plug-in "com.tssap.dtr.client.eclipse".
    !SUBENTRY 1 org.eclipse.core.runtime 2 1 Oct 22, 2004 18:26:15.589
    !MESSAGE Plug-in "com.tssap.j2ee.model" was disabled due to missing or disabled prerequisite plug-in "com.tssap.dii".
    !SUBENTRY 1 org.eclipse.core.runtime 2 1 Oct 22, 2004 18:26:15.589
    !MESSAGE Plug-in "com.tssap.j2ee.viewmaps.java" was disabled due to missing or disabled prerequisite plug-in "com.tssap.j2ee.model".
    !SUBENTRY 1 org.eclipse.core.runtime 2 1 Oct 22, 2004 18:26:15.589
    !MESSAGE Unable to satisfy prerequisite constraint from "com.tssap.j2ee.library" to "com.tssap.j2ee.model".
    !SUBENTRY 1 org.eclipse.core.runtime 2 1 Oct 22, 2004 18:26:15.589
    !MESSAGE Plug-in "com.sap.tc.col" was disabled due to missing or disabled prerequisite plug-in "com.sap.mw.jco".
    !SUBENTRY 1 org.eclipse.core.runtime 2 1 Oct 22, 2004 18:26:15.589
    !MESSAGE Unable to satisfy prerequisite constraint from "com.tssap.j2ee.external" to "com.tssap.j2ee.model".
    !SUBENTRY 1 org.eclipse.core.runtime 2 1 Oct 22, 2004 18:26:15.589
    !MESSAGE Unable to satisfy prerequisite constraint from "com.sap.sld.client" to "com.tssap.dtr.client.vfs".
    !SUBENTRY 1 org.eclipse.core.runtime 2 1 Oct 22, 2004 18:26:15.589
    !MESSAGE Plug-in "com.sap.sld.namealloc" was disabled due to missing or disabled prerequisite plug-in "com.sap.sld.client".
    !SUBENTRY 1 org.eclipse.core.runtime 2 1 Oct 22, 2004 18:26:15.589
    !MESSAGE Unable to satisfy prerequisite constraint from "com.sap.tc.build" to "com.tssap.dtr.client.vfs".
    !SUBENTRY 1 org.eclipse.core.runtime 2 1 Oct 22, 2004 18:26:15.589
    !MESSAGE Plug-in "com.sap.tc.webdynpro.runtime" was disabled due to missing or disabled prerequisite plug-in "com.sap.ide.jcb.core".
    !SUBENTRY 1 org.eclipse.core.runtime 2 1 Oct 22, 2004 18:26:15.589
    !MESSAGE Unable to satisfy prerequisite constraint from "com.tssap.j2ee.core.providers.dtr" to "com.tssap.dii".
    !SUBENTRY 1 org.eclipse.core.runtime 2 1 Oct 22, 2004 18:26:15.589
    !MESSAGE Plug-in "com.sap.opensql" was disabled due to missing or disabled prerequisite plug-in "com.sap.exception".
    !SUBENTRY 1 org.eclipse.core.runtime 2 1 Oct 22, 2004 18:26:15.589
    !MESSAGE Plug-in "com.sap.sqlj" was disabled due to missing or disabled prerequisite plug-in "com.sap.opensql".
    !SUBENTRY 1 org.eclipse.core.runtime 2 1 Oct 22, 2004 18:26:15.589
    !MESSAGE Unable to satisfy prerequisite constraint from "com.tssap.j2ee.ui" to "com.tssap.j2ee.model".
    !SUBENTRY 1 org.eclipse.core.runtime 2 1 Oct 22, 2004 18:26:15.589
    !MESSAGE Plug-in "com.tssap.j2ee.ui.perspective" was disabled due to missing or disabled prerequisite plug-in "com.tssap.j2ee.ui".
    !SUBENTRY 1 org.eclipse.core.runtime 2 1 Oct 22, 2004 18:26:15.589
    !MESSAGE Unable to satisfy prerequisite constraint from "com.tssap.j2ee.ui.ejb" to "com.tssap.j2ee.ui".
    !SUBENTRY 1 org.eclipse.core.runtime 2 1 Oct 22, 2004 18:26:15.589
    !MESSAGE Plug-in "com.sap.tc.security.https" was disabled due to missing or disabled prerequisite plug-in "com.sap.ide.eclipse.ext.libs.iaik".
    !SUBENTRY 1 org.eclipse.core.runtime 2 1 Oct 22, 2004 18:26:15.599
    !MESSAGE Unable to satisfy prerequisite constraint from "com.tssap.j2ee.model.ext" to "com.tssap.j2ee.model".
    !SUBENTRY 1 org.eclipse.core.runtime 2 1 Oct 22, 2004 18:26:15.599
    !MESSAGE Plug-in "com.sap.tc.cmi" was disabled due to missing or disabled prerequisite plug-in "com.sap.dictionary.runtime".
    !SUBENTRY 1 org.eclipse.core.runtime 2 1 Oct 22, 2004 18:26:15.599
    !MESSAGE Unable to satisfy prerequisite constraint from "com.tssap.j2ee.ui.ejbjar" to "com.tssap.j2ee.ui".
    !SUBENTRY 1 org.eclipse.core.runtime 2 1 Oct 22, 2004 18:26:15.599
    !MESSAGE Unable to satisfy prerequisite constraint from "com.tssap.j2ee.ui.web" to "com.tssap.j2ee.ui".
    !SUBENTRY 1 org.eclipse.core.runtime 2 1 Oct 22, 2004 18:26:15.599
    !MESSAGE Unable to satisfy prerequisite constraint from "com.tssap.j2ee.ui.ear" to "com.tssap.j2ee.ui".
    !SESSION Oct 22, 2004 18:26:26.985 -
    java.version=1.4.2_04
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
    Command-line arguments: -os win32 -ws win32 -arch x86 -install file:C:/Program Files/SAP/JDT/eclipse/
    !ENTRY org.eclipse.ui 4 4 Oct 22, 2004 18:26:26.996
    !MESSAGE Unable to find Action Set: com.sap.ide.help.actionSet
    !ENTRY org.eclipse.ui 4 4 Oct 22, 2004 18:26:27.16
    !MESSAGE Unable to find Action Set: com.sap.ide.eclipse.component.provider.BuildActionSet
    !ENTRY org.eclipse.ui 4 4 Oct 22, 2004 18:26:27.16
    !MESSAGE Unable to find Action Set: com.sap.ide.login.LoginActionSet
    !ENTRY org.eclipse.core.runtime 4 2 Oct 22, 2004 18:26:29.459
    !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.core.runtime".
    !STACK 0
    java.lang.NullPointerException
         at com.tssap.util.InstallationInfo.checkInstType(InstallationInfo.java:83)
         at com.tssap.util.InstallationInfo.getInstallationType(InstallationInfo.java:66)
         at com.tssap.util.UtilPlugin.startup(UtilPlugin.java:343)
         at org.eclipse.core.internal.plugins.PluginDescriptor$1.run(PluginDescriptor.java:736)
         at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1006)
         at org.eclipse.core.internal.plugins.PluginDescriptor.internalDoPluginActivation(PluginDescriptor.java:748)
         at org.eclipse.core.internal.plugins.PluginDescriptor.doPluginActivation(PluginDescriptor.java:188)
         at org.eclipse.core.internal.plugins.PluginClassLoader.activatePlugin(PluginClassLoader.java:112)
         at org.eclipse.core.internal.plugins.PluginClassLoader.internalFindClassParentsSelf(PluginClassLoader.java:185)
         at org.eclipse.core.internal.boot.DelegatingURLClassLoader.findClassParentsSelf(DelegatingURLClassLoader.java:485)
         at org.eclipse.core.internal.boot.DelegatingURLClassLoader.loadClass(DelegatingURLClassLoader.java:882)
         at org.eclipse.core.internal.boot.DelegatingURLClassLoader.access$0(DelegatingURLClassLoader.java:876)
         at org.eclipse.core.internal.boot.DelegatingURLClassLoader$DelegateLoader.loadClass(DelegatingURLClassLoader.java:90)
         at org.eclipse.core.internal.boot.DelegatingURLClassLoader.findClassPrerequisites(DelegatingURLClassLoader.java:554)
         at org.eclipse.core.internal.boot.DelegatingURLClassLoader.loadClass(DelegatingURLClassLoader.java:890)
         at org.eclipse.core.internal.boot.DelegatingURLClassLoader.loadClass(DelegatingURLClassLoader.java:862)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
         at com.tssap.config.ConfigPlugin.<clinit>(ConfigPlugin.java:17)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
         at java.lang.reflect.Constructor.newInstance(Unknown Source)
         at org.eclipse.core.internal.plugins.PluginDescriptor.internalDoPluginActivation(PluginDescriptor.java:722)
         at org.eclipse.core.internal.plugins.PluginDescriptor.doPluginActivation(PluginDescriptor.java:188)
         at org.eclipse.core.internal.plugins.PluginDescriptor.getPlugin(PluginDescriptor.java:306)
         at org.eclipse.ui.internal.Workbench$15.run(Workbench.java:1325)
         at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1006)
         at org.eclipse.core.runtime.Platform.run(Platform.java:413)
         at org.eclipse.ui.internal.Workbench$14.run(Workbench.java:1334)
         at java.lang.Thread.run(Unknown Source)
    !ENTRY org.eclipse.ui.workbench 4 2 Oct 22, 2004 18:26:29.479
    !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench".
    !STACK 0
    java.lang.ExceptionInInitializerError
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
         at java.lang.reflect.Constructor.newInstance(Unknown Source)
         at org.eclipse.core.internal.plugins.PluginDescriptor.internalDoPluginActivation(PluginDescriptor.java:722)
         at org.eclipse.core.internal.plugins.PluginDescriptor.doPluginActivation(PluginDescriptor.java:188)
         at org.eclipse.core.internal.plugins.PluginDescriptor.getPlugin(PluginDescriptor.java:306)
         at org.eclipse.ui.internal.Workbench$15.run(Workbench.java:1325)
         at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1006)
         at org.eclipse.core.runtime.Platform.run(Platform.java:413)
         at org.eclipse.ui.internal.Workbench$14.run(Workbench.java:1334)
         at java.lang.Thread.run(Unknown Source)
    Caused by: org.eclipse.core.internal.boot.DelegatingURLClassLoader$DelegatingLoaderException: "Plug-in "com.tssap.util" activation failed while loading class "com.tssap.util.trace.TracingManager".
         at org.eclipse.core.internal.plugins.PluginClassLoader.activatePlugin(PluginClassLoader.java:116)
         at org.eclipse.core.internal.plugins.PluginClassLoader.internalFindClassParentsSelf(PluginClassLoader.java:185)
         at org.eclipse.core.internal.boot.DelegatingURLClassLoader.findClassParentsSelf(DelegatingURLClassLoader.java:485)
         at org.eclipse.core.internal.boot.DelegatingURLClassLoader.loadClass(DelegatingURLClassLoader.java:882)
         at org.eclipse.core.internal.boot.DelegatingURLClassLoader.access$0(DelegatingURLClassLoader.java:876)
         at org.eclipse.core.internal.boot.DelegatingURLClassLoader$DelegateLoader.loadClass(DelegatingURLClassLoader.java:90)
         at org.eclipse.core.internal.boot.DelegatingURLClassLoader.findClassPrerequisites(DelegatingURLClassLoader.java:554)
         at org.eclipse.core.internal.boot.DelegatingURLClassLoader.loadClass(DelegatingURLClassLoader.java:890)
         at org.eclipse.core.internal.boot.DelegatingURLClassLoader.loadClass(DelegatingURLClassLoader.java:862)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
         at com.tssap.config.ConfigPlugin.<clinit>(ConfigPlugin.java:17)
         ... 12 more
    !ENTRY org.eclipse.ui 4 4 Oct 22, 2004 18:26:29.479
    !MESSAGE Unhandled Exception
    !ENTRY org.eclipse.ui 4 0 Oct 22, 2004 18:26:29.479
    !MESSAGE Unhandled Exception
    !STACK 0
    java.lang.ExceptionInInitializerError
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
         at java.lang.reflect.Constructor.newInstance(Unknown Source)
         at org.eclipse.core.internal.plugins.PluginDescriptor.internalDoPluginActivation(PluginDescriptor.java:722)
         at org.eclipse.core.internal.plugins.PluginDescriptor.doPluginActivation(PluginDescriptor.java:188)
         at org.eclipse.core.internal.plugins.PluginDescriptor.getPlugin(PluginDescriptor.java:306)
         at org.eclipse.ui.internal.Workbench$15.run(Workbench.java:1325)
         at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1006)
         at org.eclipse.core.runtime.Platform.run(Platform.java:413)
         at org.eclipse.ui.internal.Workbench$14.run(Workbench.java:1334)
         at java.lang.Thread.run(Unknown Source)
    Caused by: org.eclipse.core.internal.boot.DelegatingURLClassLoader$DelegatingLoaderException: "Plug-in "com.tssap.util" activation failed while loading class "com.tssap.util.trace.TracingManager".
         at org.eclipse.core.internal.plugins.PluginClassLoader.activatePlugin(PluginClassLoader.java:116)
         at org.eclipse.core.internal.plugins.PluginClassLoader.internalFindClassParentsSelf(PluginClassLoader.java:185)
         at org.eclipse.core.internal.boot.DelegatingURLClassLoader.findClassParentsSelf(DelegatingURLClassLoader.java:485)
         at org.eclipse.core.internal.boot.DelegatingURLClassLoader.loadClass(DelegatingURLClassLoader.java:882)
         at org.eclipse.core.internal.boot.DelegatingURLClassLoader.access$0(DelegatingURLClassLoader.java:876)
         at org.eclipse.core.internal.boot.DelegatingURLClassLoader$DelegateLoader.loadClass(DelegatingURLClassLoader.java:90)
         at org.eclipse.core.internal.boot.DelegatingURLClassLoader.findClassPrerequisites(DelegatingURLClassLoader.java:554)
         at org.eclipse.core.internal.boot.DelegatingURLClassLoader.loadClass(DelegatingURLClassLoader.java:890)
         at org.eclipse.core.internal.boot.DelegatingURLClassLoader.loadClass(DelegatingURLClassLoader.java:862)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
         at com.tssap.config.ConfigPlugin.<clinit>(ConfigPlugin.java:17)
         ... 12 more
    !SESSION -
    !ENTRY org.eclipse.core.launcher 4 0 Oct 22, 2004 18:47:19.256
    !MESSAGE Exception launching the Eclipse Platform:
    !STACK
    java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.eclipse.core.launcher.Main.basicRun(Main.java:291)
         at org.eclipse.core.launcher.Main.run(Main.java:747)
         at org.eclipse.core.launcher.Main.main(Main.java:583)
    Caused by: java.lang.RuntimeException: Fatal Error: Unable to locate matching org.eclipse.core.runtime plug-in.
         at org.eclipse.core.internal.boot.PlatformConfiguration.locateDefaultPlugins(PlatformConfiguration.java:2264)
         at org.eclipse.core.internal.boot.PlatformConfiguration.<init>(PlatformConfiguration.java:903)
         at org.eclipse.core.internal.boot.PlatformConfiguration.startup(PlatformConfiguration.java:1368)
         at org.eclipse.core.internal.boot.InternalBootLoader.initialize(InternalBootLoader.java:582)
         at org.eclipse.core.internal.boot.InternalBootLoader.startup(InternalBootLoader.java:1035)
         at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:838)
         at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
         ... 7 more
    !SESSION -
    !ENTRY org.eclipse.core.launcher 4 0 Oct 22, 2004 18:47:25.415
    !MESSAGE Exception launching the Eclipse Platform:
    !STACK
    java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.eclipse.core.launcher.Main.basicRun(Main.java:291)
         at org.eclipse.core.launcher.Main.run(Main.java:747)
         at org.eclipse.core.launcher.Main.main(Main.java:583)
    Caused by: java.lang.RuntimeException: Fatal Error: Unable to locate matching org.eclipse.core.runtime plug-in.
         at org.eclipse.core.internal.boot.PlatformConfiguration.locateDefaultPlugins(PlatformConfiguration.java:2264)
         at org.eclipse.core.internal.boot.PlatformConfiguration.<init>(PlatformConfiguration.java:903)
         at org.eclipse.core.internal.boot.PlatformConfiguration.startup(PlatformConfiguration.java:1368)
         at org.eclipse.core.internal.boot.InternalBootLoader.initialize(InternalBootLoader.java:582)
         at org.eclipse.core.internal.boot.InternalBootLoader.startup(InternalBootLoader.java:1035)
         at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:838)
         at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
         ... 7 more
    Any Idea? HOw to get rid of this problem?.

    I have figured out the problem. Some of the plugins were missing from the installation source. I copied the missing plugins from other installation and it worked.

  • Multiple canvas overlapping other canvas

    I have 3 canvases in one form. The first one will appear at the top and the other 2 will appear at the bottom. I have created a radio button in the first canvas to allow the user to have to option to choose. If the first option is choosed, the 2nd canvas will appear at the bottom of the screen(3rd canvas will be hidden) and if the 2nd option is selected, the 3rd canvas will appear same position as 2nd canvas and the 2nd canvas will be hidden.
    The "VIEWPORT_Y_POS" and ""VIEWPORT_Y_POS_ON_CANVAS" for the 1st canvas is set to ZERO while the 2nd and 3rd is set to 200.
    The "HEIGHT" property for the 1st canvas is 155 and the other 2 canvases is 480.
    During the POST_NEW_FORM and after the user selected the second option, the 1st canvas and 3rd canvas display nicely(the 2nd canvas hidden). But after the data being displayed and some of the fields in the 3rd canvas has been enabled, the 3rd canvas being overlapped by the first canvas at the top portion.
    I have double checked the coding and there is no run-time setting the canvas viewport Y position property. What was wrong with the setting? This program has been running in our production server(Application Server 9.0.2) quite some time without any problem. But, when copied to our development server(application server 9.0.4), it gave me this kind of problem.
    Is this a bug for the newer version of application server? or it's the setting problem to the canvas?

    I have tried to set the viewport of the canvas programatically during run-time, but seems like the same problem happened.
    I tried to set the viewport Y position on canvas to Zero instead of 200 and then the viewport Y position to 200 at design-time. My problem solved!
    But the question is why the 2nd canvas didn't give me this kind of problem even I have set the viewport Y position on canvas same as the 3rd canvas(the canvas will appear same position as the 3rd canvas) wherelse the 3rd canvas did?
    Another question is why when I run this form on the Apps Server 9.0.2 no problem but Apps Server 9.0.4 did?
    Thanks.
    Cheong

Maybe you are looking for

  • What is use of defining SELECTION PARAMETER in MOVEMENT TYPE

    Hi All , Can u pls tell me the reason of defining SELECTION PARATEMETER in MOVEMENT TYPE. REGARDS Sandeep

  • No black

    I have replaced the black cartridge twice, but there is no black printed. Have also done everything suggested in the forum. Now I have taken the printer apart and soaked the printhead in hot water, but that didn't work either. Is it possible to buy a

  • How to read path data?

    Hello, I'm new to photoshop plugin development, and wondering how to read the path data in plugin? That is, the data generated by the pen tool. Thanks.

  • Discussing Calendar class

    I had a quickie utility program to write for a friend of mine and seeing as how I am incredibly new to Java I came here to look for answers. Doing a search on adding to days in an object of the Calendar class, I've made a loose obersvation based on a

  • Selective flattening of data

    I need help on this query if I'm going to be able to make some functionality that I've been agonizing over work.  Any help would be greatly appreciated! Table: --NAME-- --LOCATION-- --GROUP-- name1 location1 group1 name1 location1 group2 name1 locati