Environment is not closed properly

Hi,
i am using Berkeley DB XML version 2.4.16. OS is windows 7 64bit/Windows server 2008 64bit. i have compiled the Berkeley DB XML code using Visual Studio 2008. Berkeley DB XML is called from ASP.NET application that is running under WOW64(i.e. in 32bit)
My Scenario is as follows.
DBEvn is opened using following flags
DB_INIT_MPOOL | DB_CREATE | DB_INIT_LOCK | DB_INIT_LOG | DB_INIT_TXN | DB_RECOVER | DB_THREAD | DB_REGISTER
XmlManager is using the following flags
DBXML_ALLOW_AUTO_OPEN | DBXML_ALLOW_EXTERNAL_ACCESS
Containers are created using following flags
DB_CREATE | DBXML_ALLOW_VALIDATION | DBXML_NO_INDEX_NODES | DBXML_TRANSACTIONAL | DB_THREAD | DB_EXCL
Containers are opend using following flags.
DB_CREATE | DBXML_ALLOW_VALIDATION | DBXML_NO_INDEX_NODES | DBXML_TRANSACTIONAL | DB_THREAD
All containers are Whole document containers. if a container does not exists it is created and its pointer is used, and if it exists it is opend and its pointer is used. During the lifetime of my ASP.NET application, many containers will be created and destroyed in a Berkeley DB database and queries will be executed against them. There are cases when a query is executed against a container that is never used before but was created a while ago, or is just created and query is executed against it, which will not return any data in both cases, once this happens a call to DBEnv::Close always fails with the exception "DbEnv::Close Invalid Argument", after debugging Berkeley DB XML code the issue i have found is that if a container is empty or non existent then while opening it, the reference count of DBEnv gets incremented by up to approximately 14 and does not gets decremented after closing the container. the actual issue lies in the initalization of internal SyntaxDatabase classes where it is assumed that these should exist so the DB_CREATE | DB_EXCL are removed from the flags parameter, and actually they(indexes) do not exist, which results in a exception being thrown and handled afterwards, after which the internal reference count member of the DBEnv is out of sync.
In my implementation DBEnv handles for databases are closed on ASP.NET application End or on demand but since the parent ASP.NETwin32 process may not exit, and the next call to open a Database may come in the same win32 process which tries to perform recovery but fails and does not open the environment. i have specified the DB_RECOVER and DB_REGISTER flags but i think that win32 process is same that is why it does not succesfully recover and the application is unable to open that database again.
Sincerely
Bilal Aslam

Please repost in the Photoshop Elements forum: http://forums.adobe.com/community/photoshop_elements

Similar Messages

  • Outlook 2013 are not opening and showing pst files are not closed properly

    Hi
    Outlook 2007 has stopped working and showing close the program. Again,we re-started then outlook 2007 and it has opened and taken the backup of pst files in a separate hard drive.
    The pst file was repaired in scanpst.exe and again i have tried to put the pst file back in outlook 2007.It was hanging and suddenly i have uninstalled 2007 and started installing outlook 2013.
    2013 applications like word,excel,power point are opening and outlook 2013 are not able to open and showing pst files were not closed properly.
    Again i have un-installed and re-installed the outlook 2013.still we are not able to open the outlook.
    Need your support at the earliest to fix the issue.
    Thanks

    Hi,
    What's the .pst file used for? Archive? Or you set up a POP3 account and want to import the emails from the .pst file?
    Another question, you mentioned you installed Outlook 2013 and it didn't open either. Was this from the beginning right after you installed Outlook 2013, or after you did something such as create a new Profile, set up a new account and tried to import the
    .pst file?
    Kindly answer my questions so I can understand the situation better.
    I've seen some of this issue caused by the anti-malware software, check your anti-malware software to see if it's trying to interfere with Outlook - things like real time email checking can sometimes cause these kinds of problems. To troubleshoot, we can
    simply disable the anti-malware software temporarily to see the result.
    Regards,
    Melon Chen
    TechNet Community Support

  • Upon opening Outlook 2003 get message "Not closed properly. File is being checked for erros."

    When opening Outlook 2003 get an error message stating that is was not closed propertly and that the file is being checked. It can sometimes take up to 5-10
    minutes for outlook to open. How can I stop this?

    You need to figure out why Outlook is not closing property. The usual culprits are addins that access Outlook data. 
    Are you closing outlook before shutting down windows? If you let windows shut it down, you can corrupt the pst. 
    Does it work better in Safe mode? To open Outlook in Safe mode: Close Outlook then hold Ctrl as you click on the Outlook icon. You'll get a message asking if you want to start in Safe mode. Click Ok. 
    Diane Poremsky [MVP - Outlook]
    Outlook & Exchange Solutions Center
    Outlook Tips
    Subscribe to Exchange Messaging Outlook weekly newsletter

  • Logical error with Sockets, not closing properly

    Hi again everybody, I am still in need of help it seems. I have been working on a way to transfer files from computer a to computer b but I cannot get the Sockets/Streams to work properly!
    The problem I keep getting is "IOException: java.net.SocketException: Software caused connection abort: socket write error"
    According to some threads in this forum its either because of a firewall blocking or because of an error such as the client trying to write to a stream that is closed in the other end ( or something like that, I cannot remember 100%).
    The thing is: I am only getting this the second time I try to send the file, the first time it works just fine.
    I can solve the problem by restarting the server (resetting the socket) after every time I send the file but that is not a solution, but merely a confirmation that I indeed have a bug.
    Can you please have a look at my code and point out where I missed something? I have been staring blindly at the code on and off for over a day now.
    CLIENT:
    import java.io.*;
    import java.net.*;
    * This is the FileSender class
    * Final version will take a File and Socket pointer
    * and send the file over the socket using the according handshake-protocol.
    * Current version opens it's own socket and can only send one File.
    * parameters:
    *  // File myFile, Socket mySocket <-- Final version goal
    *  String[] args  ()
    * @author Glader
    *     @version 1.2
    public class FileSender {
         private static Socket clientSocket = null;
    //     private static DataOutputStream output; <-- ver 1.0
         private static ObjectOutputStream output = null;
         private static FileInputStream file;
         private static BufferedReader input = null;
         private static final boolean DEBUG = true;
          * @param args
         public static void main(String[] args) {  // NOTE: REBUILD BEFORE FINAL!!!
              if(args.length != 1){
    //               throw new IllegalArgumentException("Error in FileSender: recieved " + args.length + " arguments, expected 2.");
                   System.err.println("Usage: Provide the method with ONE valid filepath/filename");
              else{
                   try{
                        if(DEBUG){ // <--- DEBUG BLOCK
                             if(input != null)
                                  System.out.println("input was not null at beginning of runtime!");
                             if(output != null)
                                  System.out.println("output was not null at beginning of runtime!");
                             if(clientSocket != null)
                                  System.out.println("clientSocket was not null at beginning of runtime!");
                   file = new FileInputStream(args[0]);
                   if(DEBUG){ // <---- DEBUG BLOCK
                        System.out.println("The following argument was entered: " + args[0]);
                             File myFile = new File(args[0]);
                             String sizeString = "";
                             long fileLength = myFile.length();
                             if(fileLength == 0){ // The file does not exist
                                  sizeString = "File does not exist";
                             }else if((fileLength / 1048576) != 0){ // The file is larger than 1Mb
                                  sizeString = "Filesize: " + (fileLength / 1048576) + " Mb";
                             }else if((fileLength / 1024) != 0){ // The file is larger than 1Kb
                                  sizeString = "Filesize: " + (fileLength / 1024) + " Kb";
                             }else{ // The file is larger than 1b
                                  sizeString = "Filesize: " + fileLength + " b";
                             System.out.println(sizeString);
                   send(file);
                   try{
                   input.close();
                   output.close();
                   clientSocket.close();
                   file.close();
                   }catch(IOException e){
                   catch(FileNotFoundException ex){
                        System.err.println("Error: No file was found at " + args[0] + " Double-check and try again.");
                   }finally{
                        try{
                        file.close();
                        }catch(IOException e){
                             //Nothing we can do
               * Send method
              private static void send(FileInputStream inFile){
              try{
                   clientSocket = new Socket("192.168.0.167", 2345);  //open a socket
                   input = new BufferedReader(new InputStreamReader(clientSocket.getInputStream())); // read what the server is saying
                   output = new ObjectOutputStream(clientSocket.getOutputStream());
                   if(DEBUG){  // <----- DEBUG BLOCK
                        String debugString = "";
                        if(input == null)
                             debugString += "input is null";
                        if(debugString.length() != 0)
                             debugString += ", ";
                        if(output == null)
                             debugString += "output is null";
                        if(debugString.length() == 0)
                             debugString += "input & output are OK";
                        System.out.println("status at start of 'send'-method: " + debugString);
                   if(clientSocket != null && inFile != null){
                        try{
                             long currentTime = System.currentTimeMillis();
                             boolean finished = false;
                             int flushTicker = 0;
                             int packetTicker = 0;
                             if(DEBUG){ // <--- DEBUG BLOCK
                                  System.out.println("packet-counter at " + packetTicker + " before sending data");
                             while(!finished){
                                  byte[] buffer = new byte[1024];
                                       if(flushTicker % 100 == 0) // clear cache, prevents OutOfMemory error
                                            output.reset();
                                       flushTicker++;
                                       packetTicker++;
                                       int bytesRead = inFile.read(buffer);
                                       if(bytesRead == -1){
                                            output.writeObject(new Packet(null, "finished", false, bytesRead));
                                            finished = true;
                                            output.flush();
                                       output.writeObject(new Packet(buffer, "", true, bytesRead));
                                       output.flush();
                             if(DEBUG) // <--- DEBUG BLOCK
                                  System.out.println("Number of packets sent: " + packetTicker);
                                  if(DEBUG){ // <---- DEBUG BLOCK
                                       // System.out.println("buffer contains: " + buffer.length + " bytes");
                                  long time = 0;
                                       if(DEBUG){
                                            time = ((System.currentTimeMillis() - currentTime)/1000);
                                       if(time == 0){// The operation took a very short time, cannot measure in seconds
                                            System.out.println("The operation took ~" + (System.currentTimeMillis() - currentTime) + " ms");
                                       }else{
                                       System.out.println( "The operation took " + time + " Seconds");
                             catch(UnknownHostException e){
                                  System.err.println("Trying to connect to unknown host: " + e);
                             catch(IOException e){
                                  System.err.println("IOException: " + e);
                   else{ // SOCKET OR FILE WERE NULL!
                        String result = "";
                        if(clientSocket == null){
                             result += "socket";
                        }else if(output == null){
                             result += "output";
                        }else if(input == null){
                             result += "input";
                        System.out.println("Error occured, " + result + " was null.");
              catch(UnknownHostException e){
                   System.err.println("Couldn't find the host");
                   try{
                   clientSocket.close();
                   }catch(IOException io){
                        //Nothing left to do
              catch(IOException e){
                   System.err.println("Couldn't get I/O from the connection");
              finally{
                   try{
                        if(clientSocket != null)
                             clientSocket.close();
                   }catch(IOException e){
                        //Nothing we can do
    }SERVER:
    import java.io.*;
    import java.net.ServerSocket;
    import java.net.Socket;
    * This is the main class for listening to incoming connections
    * It listens to an incoming ObjectInputStream and is able to
    * follow user-specified commands to execute various methods.
    * @author Glader
    * @version 1.1
    public class FileListener {
         static Socket incoming = null; // Socket connection with the client
         static ServerSocket ss = null;
         static ObjectInputStream is; // Data recieved from the connection
         static OutputStream out = null; // talk back to the client
         static FileOutputStream fout;
         static String response;
         private static final boolean DEBUG = true;
          * @param args
         public static void main(String[] args) {
              int port = 2345;
              boolean finished = false;
              while(true){
                   try{ // Establish server socket
                        ss = new ServerSocket(port);
                        }catch(IOException e){
              try{ // Wait for a client to connect
                   incoming = ss.accept();
                   if(DEBUG){ // <--- DEBUG BLOCK
                        if(ss != null)
                             System.out.println("ObjectInputStream initialized");
                   try{ // Read Objects from the incoming Stream
                   is = new ObjectInputStream(incoming.getInputStream());
                   fout = new FileOutputStream(new File("min fil.avi"));
                   int packetTicker = 0;
                   while(!finished){ // read until there are no more packets incoming
                   Packet currentPacket = (Packet) is.readObject();
                   packetTicker++;               
                   String command = currentPacket.getCommand();
                   if(command.length() != 0){ // The client is telling us something
                        // Insert a checking loop for all possible commands from the client here
                        if(command.equals("initiating")){
                             OutputStream out = incoming.getOutputStream();
                             out.write(10); // 10 signals that the client is cleared to send.
                        if(command.equals("finished")){
                             finished = true;
                             if(DEBUG){ // <--- DEBUG BLOCK
                             System.out.println("Connection terminated, client said \"" + command + "\"");
                             System.out.println("Total amount of packets recieved: " + packetTicker);
                   if(currentPacket.containsFileData()){
                        if(currentPacket.amountOfData() == -1)
                             finished = true;
                        if(currentPacket.amountOfData() != 1024){ // Special handling for not entirely full packets
                                  fout.write(currentPacket.getFileData(), 0, currentPacket.amountOfData());
                        }else{
                        fout.write(currentPacket.getFileData());
                   fout.close();
                   is.close();
                   incoming.close();
                   catch(ClassNotFoundException ex){
                        System.err.println("Error when reading Packet: " + ex);
                   finally{
                        if(fout != null){
                             fout.close();
                        }if(is != null){
                             is.close();
                        }if(incoming != null){
                             incoming.close();
                        }if(out != null)
                             out.close();
              catch (IOException ex){
                   System.err.println("Error getting inputStream");
         

    Follow-up question, need more information to solve the problem:
    My server now uses a ObjectOutputStream to send packets to the client, which successfully reads them BUT:
    the problem still remains! I am still getting a "SocketException socket write error" the second time I use the sender!
    Right now this is what the send-method in FileSender looks like.
    (Look at "// Connection Loop" for the biggest change.)
    What am I doing wrong here?
              private static void send(FileInputStream inFile){
                   if(DEBUG) // <--- DEBUG BLOCK
                        System.out.println("Flag reached: Beginning of \"send\"");
              try{
                   clientSocket = new Socket("192.168.0.167", 2345);  //open a socket
                   output = new ObjectOutputStream(clientSocket.getOutputStream()); // Outgoing Packets to the server
                   if(DEBUG){  // <----- DEBUG BLOCK
                        String debugString = "";
                        if(input == null)
                             debugString += "input is null";  // Expected with current code
                        if(debugString.length() != 0)
                             debugString += ", ";
                        if(output == null)
                             debugString += "output is null";
                        if(debugString.length() == 0)
                             debugString += "input & output are OK";
                        System.out.println("status at start of 'send'-method: " + debugString);
                   if(clientSocket != null && inFile != null){
                        try{
                             long currentTime = System.currentTimeMillis();
                             boolean finished = false;
                             boolean accepted = false;
                             int flushTicker = 0;
                             int packetTicker = 0;
                             // Connection loop with 500ms timeout
                             input = new ObjectInputStream(clientSocket.getInputStream()); // Incoming Packets from the server
                             while((System.currentTimeMillis() - currentTime) <= 500){ // try connecting for 500ms
                                  output.writeObject(new Packet(null, "initiating", false, 0)); // send the first request Packet
                                  try{
                                  Packet currentPacket = (Packet) input.readObject();
                                  String command = currentPacket.getCommand();
                                  if(DEBUG) // <--- DEBUG BLOCK
                                       System.out.println("Command sent from Server: " + command);
                                  if(command.equals("ready")){
                                       accepted = true;
                                  if(accepted){
                             while(!finished){
                                  byte[] buffer = new byte[1024];
                                       if(flushTicker % 100 == 0) // clear cache, prevents OutOfMemory error
                                            output.reset();
                                       flushTicker++;
                                       packetTicker++;
                                       int bytesRead = inFile.read(buffer);
                                       if(bytesRead == -1){
                                            output.writeObject(new Packet(null, "finished", false, bytesRead));
                                            finished = true;
                                            output.flush();
                                       output.writeObject(new Packet(buffer, "", true, bytesRead));
                                       output.flush();
                             catch(ClassNotFoundException e){
                                  System.err.println("ClassNotFoundException: " + e);
                                  while(bytesRead != -1){
                                  if(DEBUG) // <--- DEBUG BLOCK
                                       System.out.println("bytesRead: " + bytesRead);
                                  else{
                                  output.writeObject(new Packet(buffer, "", true));
                                  flushTicker++;
                                  if(bytesRead == -1){ // no more bytes to be read from the file
                                  long time = 0;
                                       if(DEBUG){
                                            System.out.println("Number of packets sent: " + packetTicker);
                                            time = ((System.currentTimeMillis() - currentTime)/1000);
                                       if(time == 0){// The operation took a very short time, cannot measure in seconds
                                            System.out.println("The operation took ~" + (System.currentTimeMillis() - currentTime) + " ms");
                                       }else{
                                       System.out.println( "The operation took " + time + " Seconds");
                             catch(UnknownHostException e){
                                  System.err.println("Trying to connect to unknown host: " + e);
                             catch(IOException e){
                                  System.err.println("IOException: " + e);
                   else{ // SOCKET OR FILE WERE NULL!
                        String result = "";
                        if(clientSocket == null){
                             result += "socket";
                        }else if(output == null){
                             result += "output";
                        }else if(input == null){
                             result += "input";
                        System.out.println("Error occured, " + result + " was null.");
              catch(UnknownHostException e){
                   System.err.println("Couldn't find the host");
                   try{
                   clientSocket.close();
                   }catch(IOException io){
                        //Nothing left to do
              catch(IOException e){
                   System.err.println("Couldn't get I/O from the connection");
              finally{
                   try{
                        if(clientSocket != null)
                             clientSocket.close();
                   }catch(IOException e){
                        //Nothing we can do
              }

  • I am having trouble with Firefox not closing properly. I close a session and when I try to open firefox again it tells me firefox is already running and not responding.

    When I close Firefox and try to open the browser next time it tells me Firefox is already running and not responding.

    See "Hang at exit":
    *http://kb.mozillazine.org/Firefox_hangs
    See "Firefox hangs when you quit it":
    *https://support.mozilla.com/kb/Firefox+hangs

  • I log out properly but when i log back in a message appears basically saying it cant open my page due another one being not closed properly before. WHY?

    I log out correctly every time making sure all windows are closed but every time i log back in a window appears saying "well this is embarrassing, we are having trouble opening your page (or something close to that, i cant remember the exact words) then at the bottom it says"this is usually due to a window being open (or close to that) then it asks me if i want to close or restore the session and it has a list of the last 2 pages i opened.
    But i ALWAYS close them before logging out. Why does it keep doing this? Do we have a clever hacker or something?

    hello lexi, this is currently a problem in firefox when you first close all open firefox windows and then close the application afterwards - the bug should be addressed in a later version of firefox.
    as a workaround in the meanwhile you could close firefox (through firefox > quit) while the browser window is still running or try this: enter about:config into the firefox location bar (confirm the info message in case it shows up) & search for the preference named '''browser.sessionstore.resume_from_crash'''. double-click it and change its value to '''false'''.

  • SharedObjects environment value not updating properly in clustered environment

    Hi All,
    I have clustered UCM having two nodes. I have custom scheduler running every 5 minutes which updates some value in SharedObjects environment. I am using following code:
    SharedObjects.putEnvironmentValue("param", "val");
    the problem is that this value is updated only in one node. If Node1 picks up the scheduler job, then the value is updated only on Node1.
    Next time when Node2 picks up the scheduler job, Node2 does have have updated value and my application fails.
    Any idea why it is happening. How can I fix this issue?
    Thanks

    Hi All,
    I have clustered UCM having two nodes. I have custom scheduler running every 5 minutes which updates some value in SharedObjects environment. I am using following code:
    SharedObjects.putEnvironmentValue("param", "val");
    the problem is that this value is updated only in one node. If Node1 picks up the scheduler job, then the value is updated only on Node1.
    Next time when Node2 picks up the scheduler job, Node2 does have have updated value and my application fails.
    Any idea why it is happening. How can I fix this issue?
    Thanks

  • PowerBook 17" G4 Lid not closing properly

    Hello,
    my PowerBook G4 17" lid doesn't properly close any more. The two little hooks are ok and they get pulled down by the magnet as always but it seems like that the lid with the display is too strongly pulling upwards so that the hooks snap back out.
    Can anybody help me if I can fix this myself? Any trick?
    I'd appreciate any tips
    cu

    On my PowerBook 17" (1Ghz) I can see the latch mechanism from the battery bay if I take out the battery. Looks like this would let you inspect for any dust or debris that can restrict the full range of motion the locking block needs. The typical cause of locking problems is that something gets between the front of the locking block and the inner surface of the case that acts as a forward stop.
    In my MacBook Pro, this access is blocked. I don't know if the blocking panel is fitted to PBG4s newer than mine, but it's worth a try.

  • SubVI not closing properly

    Hi,
    I'm new to Labview so please bear with me. I'm calling a subvi in my main vi and when I close it using the "X" button the main vi freezes. However, if I hault the exceution of the subvi using the red button (which I know shouldnt be done for standard practice), the main vi completes execution. I'm definitely doing something wrong, I just can't seem to figure it out. I've attached the vi's. Any ideas?
    Attachments:
    main.vi ‏41 KB
    24xx Swp-I Meas-V gpib.llb ‏422 KB

    Your problem is that the subVI is still actually running.  What needs to happen is your event structure in the 2400 swI Linear Stain MeasV - LED.vi needs to handle the <This VI>anel Close event.  You can just add that event to the event case handling the Quit button's value change event.  This way, when you close the panel, the code knows to run the cleanup and finish the state machine.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • TestStatnd operatore Interface does not close properly

    Hi
    I am using LabVIEW 8.2 and TestStand 3.5. I use the default Operatore Interface (full featured) provided by NI. The TestExec.exe does not close properly when I exit the application. Everytime the process is running in windows. I had to use Windows Task Manager to kill the TestExec.exe manaully.
    Is there a fix for this?
    Thx
    Abdulla

    Hi,
    Do you start any new executions either from within your sequences or from within a step that you are not closing properly?
    Regards
    Ray Farmer
    Regards
    Ray Farmer

  • Jms is not working properly in clustered environment

    Hi all,
    i am using the application server oc4j 10.1.3.1.0 enterprise edition . my application is standalone application(thick client)
    we are using the jndi.properties as follows ...
    java.naming.factory.initial=com.evermind.server.rmi.RMIInitialContextFactory
    java.naming.provider.url=opmn:ormi://172.16.1.38:6005:group/Security,opmn:ormi://172.16.1.38:6006:deceval_group/Security
    java.naming.security.principal=oc4juser
    java.naming.security.credentials=oc4juser
    oracle.j2ee.rmi.loadBalance=lookup
    we have two application servers in cluster topology as u can see above we have used one instance from one application server and one from another.
    i have seen that for every instance there one jms server. at runtime it is taking one application servers services
    say opmn port 6005 but when the application is connecting to the another application server say opmn 6006
    here jms is not working properly when i send message
    As we have clustered environment message must be propagated all the applications who use above jndi.properties.
    if i keep use only one application server opmn say
    java.naming.provider.url=opmn:ormi://172.16.1.38:6005:group/Security
    then its is working excellently
    please can u provide any solution ASAP
    thanks in advance
    Manu

    Dear Aravindth
      (.*?) means -> Select all contents from where you start and end,
    For Ex. <month>(.*?)</month> then Select for start <month> and end last </month> tag.
    (?) Match zero or one occurrences. Equivalent to {0,1}.
    (*) Match zero or more occurrences. Equivalent to {0,}.
    (+) Match one or more occurrences. Equivalent to {1,}.
    (.) (Dot). Match any character except newline or another Unicode line terminator.
    (.*?) means -> Zero or more times Match any character except newline or another Unicode line terminator + Match zero or more occurrences. Equivalent to {0,}.+Match zero or one occurrences. Equivalent to {0,1}.
    Could you please refere the below cite :
    http://www.javascriptkit.com/jsref/regexp.shtml
    Thanks & Regards
    T.R.Harihara SudhaN

  • Flash player does not work properly on Windows 7 32 bits

    Hello,
    My flash player does not work properly on Windows 7 32 bits with Firfox and IE8 (lasts versions).
    My Flash player version : 10.0.45.2, but I tried with version 9 too, with same problems.
    I have tried to uninstall, reboot, reinstall several times, ... witch did not worked.
    In fact, it works correctly on some sites, like youtube, but not on some others like :
    http://www.dailymotion.com/ => black screen instead of videos, right click gives flash context menu
    http://www.canalplus.fr/ => videos does not load, right click gives flash context menu
    http://www.myspace.com/ => no audio player, right click gives flash context menu
    some games in http://www.kongregate.com/ => black screen instead of games, right click gives flash context menu
    I have no problem with shockwave in http://www.adobe.com/shockwave/welcome/
    No problem too with flash player on http://www.adobe.com/software/flash/about/
    But in the Global Privacy Settings panel (http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager02.htm l), I cannot change any settings :
    I cannot check boxes,
    My changes are not saved.
    In most of flash animations, videos, ...,
    when I click on parameters, I cannot do anything, even closing.
    when I am in full screen mode, the message "press escape to exit...." does not disappear.
    Last thing, all those problems was not there when I was on Windows XP, few weeks ago, and appear with my registered Windows 7 premium familly edition, with the same hardware configuration...
    Thank you for your help

    Hi eidnolb
    Thanks for your answer.
    This is what I have :
    Verify user permissions
    I have an administrator account.
    I tried (uninstall, install and run) with super-administrator account for same results
    Install the most current version.
    I am running the latest version (10.0.45.2)
    Run the Clean Installer to Fix 3rd Party Flash Player Cleaners
    I did not "clean" my computer.
    Troubleshoot Pop-up blockers
    I have no Pop-up or esle blocker  software.
    Ensure that Internet utilities do not block Flash Player
    I tried (uninstall, install and run) without Avast.
    I have windows 7 firewall. I do not know where I can allow ActiveX  controls and Flash (SWF) content. I do not see anything relative to ActiveX an Flash in allowed program list.
    Fix machine crashes when displaying Flash content
    I have no freez or crash.
    Using IE, Shockwave Flash Object is Enabled and vs 10.0.45.2
    Using FF, I have SWF vs  10.0.45.2 and it is Enabled
    I really do not understand !!
    Thanks,
    Ju'

  • JTextField does not redraw properly

    Hi,
    I have a JPanel that displays some buttons amongst some textfields and labels. One of my buttons is labeled Add Customer. When the user clicks on Add Customer he is presented with a number of JTextFields and JLabels which are all displayed fine.
    However, when the user clicks on Cancel or closes the InternalFrame in which the JTextFields and JLabels are displayed and then clicks on Add Customer again, then the JTextFields are not redrawn properly. I image of this behavior can be seen at
    http://www.grosslers.com/totals.07.png
    As soon as I start to type text into the textfield then the whole textfield redraws itself as it should, but when it looses focus then the textfield becomes invisible once again.
         // Some textfields
         private     JTextField textField_customerEditCompanyName = new JTextField(10);
         private     JTextField textField_customerEditContactName = new JTextField(10);
          * Panel that will hold all the buttons for the quote request details tabbed panel
         public JPanel createQuoteRequestDetailsButtons() {
              // Panel to act as a container for the buttons
              JPanel panel_quoteRequestDetailsButtons = new JPanel();
              // Create, register action listeners and add buttons to the panel
              JButton button_addCustomer = new JButton("Add Customer");
              button_addCustomer.addActionListener(new ActionListener() {
                   public void actionPerformed (ActionEvent actionEvent) {
                        // Add a new customer
                        addCustomerListener();
              panel_quoteRequestDetailsButtons.add(button_addCustomer);
              return panel_quoteRequestDetailsButtons;
          * Display a new internal frame when the user wants to add a new customer
         public void addCustomerListener() {
              // Master panel for the add customer details
              JPanel panel_addCustomerMaster = new JPanel();
              // Add the customer details panel to the master panel     
              panel_addCustomerMaster.add(customerDetailsPanel());
              // Ensure that all the textfields are blank
              resetCustomerDetailsPanelTextFields();
              // Add the buttons panel to the master panel          
              panel_addCustomerMaster.add(addCustomerButtons());
              // Add the master panel to the internal frame
              internalFrame_addCustomer.add(panel_addCustomerMaster);
              // Add the internal frame to the desktop pane
              JupiterMainGUI.desktopPane.add(internalFrame_addCustomer);
              // Set the size of the internal frame
              internalFrame_addCustomer.setSize(500,420);
              // Set other properties of the internal frame
              internalFrame_addCustomer.setClosable(true);
              internalFrame_addCustomer.setIconifiable(false);
              internalFrame_addCustomer.setMaximizable(false);
              // Set the location of the internal frame to the upper left corner
              // of the current container
              internalFrame_addCustomer.setLocation(0,0);
              // Set the internal frame resizable
              internalFrame_addCustomer.setResizable(false);
              // Show the internal frame
              internalFrame_addCustomer.setVisible(true);
          * Panel that displays the textfields and labels when the user clicks on
          * add or view customer details
         public JPanel customerDetailsPanel() {
              // Create master container for this panel
              JPanel panel_customerDetailsMaster = new JPanel();
              // Create the container that will hold all the textfields/labels for
              // the creation of a new customer          
              JPanel panel_customerDetails = new JPanel(new SpringLayout());
              // Add the details panel to the master panel
              panel_customerDetailsMaster.add(panel_customerDetails);
              // Set the border for the panel
              panel_customerDetails.setBorder(BorderFactory.createTitledBorder("Customer Details"));
              // Create textfields/labels, add them to the internalFrame
              JLabel label_customerCompanyName = new JLabel("Company Name : ");
              JLabel label_customerContactName = new JLabel("Contact Name : ");
              panel_customerDetails.add(label_customerCompanyName);
              panel_customerDetails.add(textField_customerEditCompanyName);
              panel_customerDetails.add(label_customerContactName);
              panel_customerDetails.add(textField_customerEditContactName);
              //Lay out the panel.
              SpringUtilities.makeCompactGrid(panel_customerDetails,
                                    2, 2, //rows, cols
                                    5, 5,        //initX, initY
                                    5, 5);       //xPad, yPad
              return panel_customerDetailsMaster;
          * Panel holding the buttons when the user clicks on add customer
         public JPanel addCustomerButtons() {
              // Container for the buttons
              JPanel panel_addCustomerButtons = new JPanel();
              // Create the buttons for the panel
              JButton button_customerOk = new JButton("Ok");
              JButton button_customerCancel = new JButton("Cancel");
              button_customerOk.addActionListener(new ActionListener() {
                   public void actionPerformed (ActionEvent actionEvent) {
              // Closing the internal frame. When i re-open this internal frame again
                  // the labels are re-drawn properly but not the textfields.
              button_customerCancel.addActionListener(new ActionListener() {
                   public void actionPerformed (ActionEvent actionEvent) {
                        try {
                             // close and remove the internal frame from the desktop pane     
                             internalFrame_addCustomer.setClosed(true);
                        } catch (PropertyVetoException exception) {
                        JupiterMainGUI.desktopPane.remove(internalFrame_addCustomer);
              panel_addCustomerButtons.add(button_customerOk);
              panel_addCustomerButtons.add(button_customerCancel);          
              return panel_addCustomerButtons;
         }So far I have a solution, and that is to use the GTK look and feel, but it is not really an option. Another way that I have managed to get the textfields to display properly is to create them in the same method, where I create the labels. Again, this is not really an option as i need to access the textfields outside the method scope.
    Any help would be greatly appreciated
    -- Pokkie

    I added the following :
         * Panel that displays the textfields and labels when the user clicks on
         * add or view customer details
         public JPanel customerDetailsPanel() {
              // Create master container for this panel
              JPanel panel_customerDetailsMaster = new JPanel();
              // Create the container that will hold all the textfields/labels for
              // the creation of a new customer          
              JPanel panel_customerDetails = new JPanel(new SpringLayout());
              // Add the details panel to the master panel
              panel_customerDetailsMaster.add(panel_customerDetails);
              // Set the border for the panel
              panel_customerDetails.setBorder(BorderFactory.createTitledBorder("Customer Details"));
              // Create textfields/labels, add them to the internalFrame
              JLabel label_customerCompanyName = new JLabel("Company Name : ");
              JLabel label_customerContactName = new JLabel("Contact Name : ");
              panel_customerDetails.add(label_customerCompanyName);
              panel_customerDetails.add(textField_customerEditCompanyName);
              panel_customerDetails.add(label_customerContactName);
              panel_customerDetails.add(textField_customerEditContactName);
    // Added this line , but doesn't seem to make a difference. also called revalidate() on the
    // internalFrame in which this panel is displayed but no luck either. Called revalidate()
    // on panel_customerDetailsMaster but nothing :(
              panel_customerDetails.revalidate();
              //Lay out the panel.
              SpringUtilities.makeCompactGrid(panel_customerDetails,
    2, 2, //rows, cols
    5, 5, //initX, initY
    5, 5); //xPad, yPad
              return panel_customerDetailsMaster;
    Thanks for the response thou, much appreciated

  • SSRS report does not rendering properly in sharePoint 2013

    Hi everyone,
    I'm a newbie with the MSBI development tool, I've tried to create a testing SSRS reports and its layout showed correct when preview them in Visual Studio (2010 and 2012). Then I migrated the report in SharePoint 2013, but the layout do not rendering as I
    expected, some data mix-up on the matrix table
    The Ident on detail data (drill down) does not render properly compare the layout in when preview in Chrome or Visual Studio (SSRS)
    The summation on second matrix table went wide on both browsers compare when preview thereport in Visual Studio
    The export PDF (using the "action" button on the report in the browsers) showed the second matrix table is overlaps the first matrix table.
    This report has 3 main queries (2 for the matrix tables and 1 for the chart) on a Dev environment:
    Window server 2008 R2 with service pack 2
    SQL server 2012 enteprise with service pack 2
    SharePoint 2013 (no service pack) with integrated mode on the report service 
    Visual Studio 2010 development tools
    I'm very appreciate for anyone can provide any solution to solve this issue.
    Thank you so much,
    Dac.
    P.S.: I attached the preview of the report in both browsers (IE & Chrome) and its preview in Visual Studio.
    An update: ... due to the setting space on"snap to grid" default to 20 and I've made the 2nd matrix table overlaps the 1st one, therefore the it showed overlaps when export to PDF file ... it's solved.
    But the Indent on IE and summation still persist in both browsers.

    Hi everyone,
    The PDF's export has been solved due to the 2nd matrix table overlaps on the 1st table. 
    Also, I don't know why the summation (aka Row Total) went wide when data represented on the 2nd matrix table (see previous post on the row named as "Premium over 5000$" on both browser. So I've redesigned the 2nd table as normal table instead of
    matrix table ... and the summation showed correct (it's so weird)
    For the "Indent" issue showed in IE on both drill down of the 1st table and 2nd table which cannot be fixed, and the end user used only IE.
    Could someone can enlighten me please?
    Many thanks.

  • Copy Function is Not Working properly In Order Management

    Hi,
    Description-
    When an order with remnant model is copied, it copied only the topple model line and they include items attached to the top model line. It doesn’t copy the
    option class lines and the option item lines (unshipped and shipped).
    Example-
    Enter an order with for pd-pto-model. See order#21231.The ordered quantities and structure of the model is shown below:
    pd-pto-model 5 qty
    pd-std-item1 (included item) 5 qty
    pd-pto-oc (option class) 5 qty
    pd-std-item1 (included item with rfr checked) 5 qty
    pd-std-item2 (option item with rfr checked) 5 qty
    pd-std-item3 (option item) 5 qty
    Booked the order and pick relased the order. While shipconfirming only shipped 5 qty of pd-std-item3 and staged the rest. On querying the sales order, the line status is seen correctly as follows:
    pd-pto-model Closed
    pd-std-item1 (included item) Picked
    pd-pto-oc (option class) Closed
    pd-std-item1 (included item with rfr checked) Picked
    pd-std-item2 (option item with rfr checked) Picked
    pd-std-item3 (option item) Partially Interfaced to receivables
    Copied this order from the order header. The new order# is 21232.On querying the order, I see only 2 lines as follows:pd-pto-model.
    Anyone can help me on this issue.
    Thanks,
    Chinna

    haisrig wrote:
    Hi ,
    We are facing an issue with select() in Solaris 10. we had written a sample program to this issue.
    Program name :- sel.cpp
    int main()
    struct timeval sleeptime;
    sleeptime.tv_sec = 60;
    printf("1\n");
    select(0,NULL,NULL,NULL,&sleeptime);
    printf("2");
    return 0;
    When i run this program in Solaris 9, its printing 1 and after one minute its printing 2.
    When i run this program on Solaris 10, its printing 1 and 2 without waiting for 60 seconds.
    When i tried to print tv_usec, its printing as 0 in solaris 9 and some garbage values in solaris 10.
    I think because of that the above select function is not working properly in solaris 10.
    Why the tv_usec is not taking 0 as default values in Solaris 10?
    We are using our legacy code for past 20 years. So, before going to do any changes we are trying to find why this happenig like this.Hi
    It sounds to me that you've been lucky for 20 years then.
    Local POD variables on the stack that aren't explicitly initialized can contain any value. Here's what I see in your app with dbx
    (dbx) run
    Running: sel
    stopped in main at line 9 in file "sel.cpp"
        9      sleeptime.tv_sec = 60;
    (dbx) print sleeptime
    sleeptime = {
        tv_sec  = -4198732
        tv_usec = 0
    }That's on a Solaris 10 SPARC machine. If I try it on a Solaris 10 x86 box then I get
    (dbx) print sleeptime
    sleeptime = {
    tv_sec = -830490588
    tv_usec = 134510556
    and I see the behaviour that you describe.
    Paul

Maybe you are looking for

  • Import bookmarks from word 2003 into PDF

    Hello guys, my english is not the best but i will try my best :-) My enviroment: Microsoft Windows Server 2008 R2 SP1 with XenApp 6, Office 2003 SP3 and Adobe Acrobat 9. My problem: I installed Adobe Acrobat 9 without Adobe Tabs / PlugIns for Office.

  • Insert date into a table in xslt mapping

    Hello , I have developing a BPEL process and I am trying to insert system date through BPEL into the oracle table . I have written the following in the xsl part of my transformation file : <xsl:value-of select="orcl:query-database("select to_date(to_

  • HT4623 Need HELP with this ..since updating my 4S iphone today

    After updating my 4s phone, I suddenly have every facebook friends contact info in my contact list on my phone...all 1000 of them... NOT GOOd... some of them I only play games with.  Where did that come from and how do I get rid of that feature?

  • How to vertically center text within its container

    Whether in a button, or a text element, I see no way to center the text that you type *vertically* in the container.  I'm not talking about within the box element.  I mean just the text element itself.  If I size out a text area and start typing in i

  • Outlook 2003 problem

    Hello, Just recently if I write an e-mail only a part of it will be sent, especially if I delete a part of it and rewrite it. Another time it actually sent what I decided to delete and not any of the new dialogue at all? As you can tell this could be