GUI locks up when trying to read output from server

I have a client built in MVC fashion and have two GUI views. One view is for output from the server and input from the keyboard. The other view is for changing connection settings and starting the conection. The problem is when I make the call to connect from the connection GUI it is able to connect and set up the streams but both GUIs lock up once I start trying to output the text received from the server. The strange thing is that when I call these methods just from the Model and not via the GUI and its actionListener the whole thing works. I think it may have something to do with the loop locking up the GUI but don't how to resolve this.
public void monitorServer()
try
char inputChar = (char)fromServer.read();
while (socket.isConnected()==true && inputChar >-1 )
inputChar = (char)fromServer.read();
if ( ( (inputChar >= '0') && (inputChar <= 'z') )
||(inputChar == '\n')||(inputChar == '\r')
||(inputChar == ' ') )
String tempString = (""+inputChar);
mv.addText(tempString);
catch(IOException ioException)
JOptionPane.showMessageDialog(null,
"Error: Failed to read message. Corrupt data sent by server",
"Connection Error", JOptionPane.ERROR_MESSAGE);
mv.addText("\nMessage not read.\n");
The code above is the bot that screws it all up. mv is the other view that it is outputting the text to.
Please help! I'm gonna fail my degree. :)

you need to run your server connection part in another thread.

Similar Messages

  • Unable to read output from server on a socket

    Hello everyone,
    I am trying to re-develop and application that traditionally is developed in VB.
    Traditional program does following: communicates with host using telnet; login, send some text, read the output from server, validates output and terminated telnet connection.
    I am trying to build same kind of application in Java using sockets, but I do not get any response from the server.
    Any Suggestions ?
    Thanks,
    Code below:
    String hostName="ip address here";
    int portNum=23; //Verified that server's telnet runs on port 23
    try
    socket=new Socket(hostName,portNum);
    out=new PrintWriter(socket.getOutputStream(),true);
    in=new BufferedReader(new InputStreamReader(socket.getInputStream()));
    }catch(UnknownHostException e){
    System.err.println ("Host not found: " + hostName);
    System.exit(1);
    }catch(IOException e){
    System.err.println("Could not get I/O for host: " + hostName + "on port: " + portNum);
    System.exit(1);
    BufferedReader stdin=new BufferedReader(new InputStreamReader(System.in));
    String userInput;
    try{
    while ((userInput=stdin.readLine()) != null)
    out.println(userInput);
    while (in.readLine() != null){
    System.out.println("echo: "+in.readLine()); // I Expect server's output here but nothing happens.
    }catch(IOException e){
    System.err.println("User Input not read.");

    while (in.readLine() != null){
    System.out.println("echo: "+in.readLine()); // I Expect server's output here but nothing happens.I see two problems here:
    1) in.readLine() only returns null if the socket is closed. You will be forever in that loop.
    2) you are losing every second line of your input. If your telnet server sends only one line at the beginning, the readline() call in the while statement will swollow that.
    If you want to do this in a single thread, you will have to use a method which won't block until input is available, such as the read(char[], int, int) method of BufferedReader.
    You could also use two threads, of which one is printing the output and the other is taking user input. This has the advantage, that you are able to handle any connection errors immediatley instead of only when the user entered a command.
    Does telnet send information about the end of an input sequence (like the end of the welcome message and the end of the answer to any issued command? If not, I'd say that you should use two threads, as you would have to do polling all the time otherwise.
    Hope it helps.

  • Facing error when trying to read message from MQ through B2B

    Hi,
    I'm trying to read the messages from MQ through B2B.
    I have created a listening channel in B2B console.
    Also place the required jar files in the Domain_Dir/lib folder.For your reference the jar files are given below,
    a. com.ibm.mqjms.jar
    b. dhbcore.jar
    c. com.ibm.mq.jar
    d. com.ibm.mq.jmqi.jar
    e. mqcontext.jar
    g. com.ibm.mq.commonservices.jar
    h. com.ibm.mq.headers.jar
    i. com.ibm.mq.pcf.jar
    But i'm encounter the below error while reading the MQ. Pls let me know if i'm missing something.
    ####<Oct 9, 2014 4:00:03 PM IST> <Error> <oracle.soa.b2b.engine> <ULCAKESBTD1P> <b2b-server> <Workmanager: , Version: 0, Scheduled=false, Started=false, Wait time: 0 ms
    > <<anonymous>> <> <0000KZoSn1y5YbWzLwyGOA1KDaCI000002> <1412850603388> <BEA-000000> <oracle.tip.b2b.transport.TransportException: [JMS_CONN_INVALID] JMS connection error.
      at oracle.tip.b2b.transport.TransportException.create(TransportException.java:93)
      at oracle.tip.b2b.transport.basic.jms.JMSMonitor.init(JMSMonitor.java:199)
      at oracle.tip.b2b.transport.basic.jms.JMSMonitor.<init>(JMSMonitor.java:181)
      at oracle.tip.b2b.transport.basic.JMSReceiver.init(JMSReceiver.java:266)
      at oracle.tip.b2b.transport.b2b.B2BTransport.init(B2BTransport.java:577)
      at oracle.tip.b2b.engine.ThreadWorkExecutor.run(ThreadWorkExecutor.java:240)
      at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:120)
      at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:184)
      at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
    Caused by: oracle.tip.b2b.transport.TransportException: [JMS_CONN_FAC_NOT_FOUND] JMS_CONN_FAC_NOT_FOUND
      at oracle.tip.b2b.transport.TransportException.create(TransportException.java:78)
      at oracle.tip.b2b.transport.basic.jms.JMSConnectionFactoryFactory.getConnectionFactory(JMSConnectionFactoryFactory.java:208)
      at oracle.tip.b2b.transport.basic.jms.JMSConnectionFactoryFactory.getQueueConnectionFactory(JMSConnectionFactoryFactory.java:85)
      at oracle.tip.b2b.transport.basic.jms.JMSConnection.<init>(JMSConnection.java:136)
      at oracle.tip.b2b.transport.basic.jms.JMSMonitor.init(JMSMonitor.java:195)
      ... 7 more
    Caused by: java.lang.ClassNotFoundException: QMUL.PDT
      at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
      at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Class.java:190)
      at oracle.tip.b2b.transport.basic.jms.JMSConnectionFactoryFactory.getConnectionFactory(JMSConnectionFactoryFactory.java:162)
      ... 10 more
    oracle.tip.b2b.transport.TransportException: [JMS_CONN_INVALID] JMS connection error.
      at oracle.tip.b2b.transport.TransportException.create(TransportException.java:93)
      at oracle.tip.b2b.transport.basic.jms.JMSMonitor.init(JMSMonitor.java:199)
      at oracle.tip.b2b.transport.basic.jms.JMSMonitor.<init>(JMSMonitor.java:181)
      at oracle.tip.b2b.transport.basic.JMSReceiver.init(JMSReceiver.java:266)
      at oracle.tip.b2b.transport.b2b.B2BTransport.init(B2BTransport.java:577)
      at oracle.tip.b2b.engine.ThreadWorkExecutor.run(ThreadWorkExecutor.java:240)
      at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:120)
      at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:184)
      at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
    Caused By: oracle.tip.b2b.transport.TransportException: [JMS_CONN_FAC_NOT_FOUND] JMS_CONN_FAC_NOT_FOUND
      at oracle.tip.b2b.transport.TransportException.create(TransportException.java:78)
      at oracle.tip.b2b.transport.basic.jms.JMSConnectionFactoryFactory.getConnectionFactory(JMSConnectionFactoryFactory.java:208)
      at oracle.tip.b2b.transport.basic.jms.JMSConnectionFactoryFactory.getQueueConnectionFactory(JMSConnectionFactoryFactory.java:85)
      at oracle.tip.b2b.transport.basic.jms.JMSConnection.<init>(JMSConnection.java:136)
      at oracle.tip.b2b.transport.basic.jms.JMSMonitor.init(JMSMonitor.java:195)
      at oracle.tip.b2b.transport.basic.jms.JMSMonitor.<init>(JMSMonitor.java:181)
      at oracle.tip.b2b.transport.basic.JMSReceiver.init(JMSReceiver.java:266)
      at oracle.tip.b2b.transport.b2b.B2BTransport.init(B2BTransport.java:577)
      at oracle.tip.b2b.engine.ThreadWorkExecutor.run(ThreadWorkExecutor.java:240)
      at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:120)
      at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:184)
      at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
    Caused By: java.lang.ClassNotFoundException: QMUL.PDT
      at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
      at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Class.java:190)
      at oracle.tip.b2b.transport.basic.jms.JMSConnectionFactoryFactory.getConnectionFactory(JMSConnectionFactoryFactory.java:162)
      at oracle.tip.b2b.transport.basic.jms.JMSConnectionFactoryFactory.getQueueConnectionFactory(JMSConnectionFactoryFactory.java:85)
      at oracle.tip.b2b.transport.basic.jms.JMSConnection.<init>(JMSConnection.java:136)
      at oracle.tip.b2b.transport.basic.jms.JMSMonitor.init(JMSMonitor.java:195)
      at oracle.tip.b2b.transport.basic.jms.JMSMonitor.<init>(JMSMonitor.java:181)
      at oracle.tip.b2b.transport.basic.JMSReceiver.init(JMSReceiver.java:266)
      at oracle.tip.b2b.transport.b2b.B2BTransport.init(B2BTransport.java:577)
      at oracle.tip.b2b.engine.ThreadWorkExecutor.run(ThreadWorkExecutor.java:240)
      at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:120)
      at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:184)
      at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
    >
    ####<Oct 9, 2014 4:00:20 PM IST> <Warning> <oracle.adfinternal.view.faces.partition.FeatureUtils> <ULCAKESBTD1P> <b2b-server> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <0000KZoSn1y5YbWzLwyGOA1KDaCI000002> <1412850620868> <ADF_FACES-30130> <Ignoring feature-dependency on feature "AdfDvtCommon".  No such feature exists.>
    ####<Oct 9, 2014 4:00:21 PM IST> <Warning> <org.apache.myfaces.trinidadinternal.config.GlobalConfiguratorImpl> <ULCAKESBTD1P> <b2b-server> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <0000KZoSn1y5YbWzLwyGOA1KDaCI000002> <1412850621197> <BEA-000000> <Configurator services already initialized.>
    ####<Oct 9, 2014 4:00:30 PM IST> <Notice> <Log Management> <ULCAKESBTD1P> <b2b-server> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1412850630361> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.>
    ####<Oct 9, 2014 4:00:30 PM IST> <Notice> <WebLogicServer> <ULCAKESBTD1P> <b2b-server> <main> <<WLS Kernel>> <> <308025e28c55d051:50252314:148f4730231:-8000-0000000000007ac6> <1412850630614> <BEA-000365> <Server state changed to ADMIN>
    ####<Oct 9, 2014 4:00:30 PM IST> <Notice> <WebLogicServer> <ULCAKESBTD1P> <b2b-server> <main> <<WLS Kernel>> <> <308025e28c55d051:50252314:148f4730231:-8000-0000000000007ac6> <1412850630698> <BEA-000365> <Server state changed to RESUMING>
    ####<Oct 9, 2014 4:00:31 PM IST> <Notice> <Server> <ULCAKESBTD1P> <b2b-server> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <308025e28c55d051:50252314:148f4730231:-8000-0000000000007ac8> <1412850631051> <BEA-002613> <Channel "Default[2]" is now listening on fe80:0:0:0:214:4fff:feeb:478d:7003 for protocols iiop, t3, ldap, snmp, http.>
    ####<Oct 9, 2014 4:00:31 PM IST> <Notice> <Server> <ULCAKESBTD1P> <b2b-server> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <308025e28c55d051:50252314:148f4730231:-8000-0000000000007ac8> <1412850631051> <BEA-002613> <Channel "Default[1]" is now listening on 10.236.77.12:7003 for protocols iiop, t3, ldap, snmp, http.>
    ####<Oct 9, 2014 4:00:31 PM IST> <Notice> <Server> <ULCAKESBTD1P> <b2b-server> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <308025e28c55d051:50252314:148f4730231:-8000-0000000000007ac8> <1412850631052> <BEA-002613> <Channel "Default[3]" is now listening on fe80:0:0:0:214:4fff:feeb:478c:7003 for protocols iiop, t3, ldap, snmp, http.>
    ####<Oct 9, 2014 4:00:31 PM IST> <Notice> <Server> <ULCAKESBTD1P> <b2b-server> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <308025e28c55d051:50252314:148f4730231:-8000-0000000000007ac8> <1412850631053> <BEA-002613> <Channel "Default[4]" is now listening on 127.0.0.1:7003 for protocols iiop, t3, ldap, snmp, http.>
    ####<Oct 9, 2014 4:00:31 PM IST> <Notice> <Server> <ULCAKESBTD1P> <b2b-server> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <308025e28c55d051:50252314:148f4730231:-8000-0000000000007ac8> <1412850631053> <BEA-002613> <Channel "Default" is now listening on 192.168.107.97:7003 for protocols iiop, t3, ldap, snmp, http.>
    ####<Oct 9, 2014 4:00:31 PM IST> <Notice> <Server> <ULCAKESBTD1P> <b2b-server> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <308025e28c55d051:50252314:148f4730231:-8000-0000000000007ac8> <1412850631054> <BEA-002613> <Channel "Default[5]" is now listening on 0:0:0:0:0:0:0:1:7003 for protocols iiop, t3, ldap, snmp, http.>
    ####<Oct 9, 2014 4:00:31 PM IST> <Notice> <WebLogicServer> <ULCAKESBTD1P> <b2b-server> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <308025e28c55d051:50252314:148f4730231:-8000-0000000000007ac8> <1412850631055> <BEA-000332> <Started WebLogic Managed Server "b2b-server" for domain "b2b-domain" running in Development Mode>
    ####<Oct 9, 2014 4:00:32 PM IST> <Notice> <WebLogicServer> <ULCAKESBTD1P> <b2b-server> <main> <<WLS Kernel>> <> <308025e28c55d051:50252314:148f4730231:-8000-0000000000007ac6> <1412850632557> <BEA-000365> <Server state changed to RUNNING>
    ####<Oct 9, 2014 4:00:32 PM IST> <Notice> <WebLogicServer> <ULCAKESBTD1P> <b2b-server> <main> <<WLS Kernel>> <> <308025e28c55d051:50252314:148f4730231:-8000-0000000000007ac6> <1412850632559> <BEA-000360> <Server started in RUNNING mode>
    ####<Oct 9, 2014 4:00:38 PM IST> <Warning> <oracle.soa.services.notification> <ULCAKESBTD1P> <b2b-server> <TimerFactory> <<anonymous>> <> <0000KZoSn1y5YbWzLwyGOA1KDaCI000002> <1412850638612> <BEA-000000> <<.> Notification via email, voice, SMS or IM will not be sent. If you would like to enable them, please configure corresponding sdpmessaging driver. Then modify the accounts and set NotificationMode attribute to either NONE, EMAIL or ALL in workflow-notification-config.xml>
    ####<Oct 9, 2014 4:02:41 PM IST> <Warning> <Socket> <ULCAKESBTD1P> <AdminServer> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <a2e657fa9e6b5d11:789eb8cc:148f4403946:-8000-00000000000029c4> <1412850761335> <BEA-000449> <Closing socket as no data read from it on 192.168.96.66:29,963 during the configured idle timeout of 5 secs>
    ####<Oct 9, 2014 4:02:51 PM IST> <Warning> <Socket> <ULCAKESBTD1P> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <a2e657fa9e6b5d11:789eb8cc:148f4403946:-8000-00000000000029d2> <1412850771337> <BEA-000449> <Closing socket as no data read from it on 192.168.96.66:29,970 during the configured idle timeout of 5 secs>
    ####<Oct 9, 2014 4:03:16 PM IST> <Warning> <Socket> <ULCAKESBTD1P> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <a2e657fa9e6b5d11:789eb8cc:148f4403946:-8000-00000000000029f4> <1412850796335> <BEA-000449> <Closing socket as no data read from it on 192.168.96.66:29,984 during the configured idle timeout of 5 secs>
    Thanks,
    Ravindra.

    Hi Ravindra,
    Which mode of connectivity are you trying (credential based / .bindings based)
    MQ connectivity  support is provided via JMS offering of Oracle B2B. This blog post will provide you the steps for the same - https://blogs.oracle.com/oracleb2bgurus/entry/b2b_communication_using_ibm_mq
    Please ensure to provide the proper values for connection factory and other details in JMS configuration in B2B
    HTH

  • Propagation error when trying to download inventory from server

    Hi there,
    Has anyone seen the following error when trying to download an inventory from the server.:
    Buildfile: C:\bea10.3\user_projects\workspaces\RST\RSTPropagation\21102009\propbuild.xml
    import:
    BUILD FAILED
    C:\bea10.3\user_projects\workspaces\RST\RSTPropagation\21102009\propbuild.xml:39: The propagation servlet returned a failure response: The [Download] operation is halting due to the following failure: null
    Additional Information:
    The propagation servlet returned the following log information found in [C:\DOCUME~1\myuser\LOCALS~1\Temp\onlineDownload__D21_H11_M8_S11.log]:
    INFO (Oct 21, 2009 11:08:11 AM SAST): Verbose logging has been disabled on the server.
    INFO (Oct 21, 2009 11:08:11 AM SAST): The propagation servlet is starting the [Download] operation.
    INFO (Oct 21, 2009 11:08:11 AM SAST): The modifier [allowMaintenanceModeDisabled] with a value of [true] will be used for this operation.
    INFO (Oct 21, 2009 11:08:11 AM SAST): Validating that current user is in the Admin role...SUCCESS
    ERROR (Oct 21, 2009 11:08:11 AM SAST): Validating that Maintenance Mode is enabled...FAILURE
    ERROR (Oct 21, 2009 11:08:11 AM SAST): Maintenance Mode has not been enabled on the server. With Maintenance Mode disabled it is possible for users to modify the application. This may cause problems for propagation.
    WARNING (Oct 21, 2009 11:08:11 AM SAST): Because the modifier [allowMaintenanceModeDisabled] was enabled this validation failure will be ignored and the operation will proceed. However, users will still be able to make modifications to the application, which could lead to missing data and unexpected propagation errors.
    WARNING (Oct 21, 2009 11:08:11 AM SAST): The temporary directory on the server used by propagation is [portal/bea10.3/user_projects/domains/RSTDomain/servers/wl_nstf/tmp/_WL_user/RSTEar/7v9j6d/public] with a length of [99] bytes. It is recommended that you shorten this path to avoid path length related failures. See the propagation documentation on how to specify the inventoryWorkingFolder context-param for the propagation servlet.
    INFO (Oct 21, 2009 11:08:19 AM SAST): Validating that LDAP and RDBMS security resources are in sync...SUCCESS
    INFO (Oct 21, 2009 11:08:19 AM SAST): Writing the inventory file to the servers file system at [{0}].
    ERROR (Oct 21, 2009 11:08:23 AM SAST): The [Download] operation is halting due to the following failure: null
    Total time: 14 seconds
    Please let me know if you have any ideas because "The [Download] operation is halting due to the following failure: null" means nothing to me.
    Please note changing the maintenace mode makes no difference.

    Please enable Verbose Logging on the propagation servlet
    http://download.oracle.com/docs/cd/E13155_01/wlp/docs103/prodOps/propToolAdvanced.html#wp1071690
    and check the logs on the server, they might give a clue

  • My ipad locked up when trying to send a large video file. I tried to turn it off and it's stuck. What so I do?, My ipad locked up when trying to send a large video file. I tried to turn it off and it's stuck. What so I do?

    My ipad 2 has locked up when trying to send a large video file. What do I do? Is there a reset button.
    Thank you

    Assuming that it's not still trying to send the video, then you could do a reset : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.

  • Itunes locks up when trying to import CD

    My itunes software locks up when trying to import a CD. Specifically, it will import 1 full CD then lock up when trying to access the artwork. I went into "properties" and stopped the software from looking for artwork, rebooted the machine and was able to import 1 CD, then it would not recognize the next one. I tried 3 different CD's and none of them worked. I am running the most recent version of itunes. Any thoughts?

    Help! I have the same problem! I am running Windows XP SP3 and Itunes 8.0.2.20. I imported about a dozen cd's and then the imports started locking up the whole system. I had to power the pc off to get things running again. I have two cd drives installed and both fail. I tried disconnecting the network cable, and it still locked up. Any ideas??

  • After the latest OS update, Safari locks up when trying to flip back to the previous page

    After the latest OS update, Safari locks up when trying to flip back to the previous page using the two finger sweep.

    Try these in order testing your system after each to see if it's back to normal:
    1. a. Resetting your Mac's PRAM and NVRAM
        b. Intel-based Macs: Resetting the System Management Controller (SMC)
    2. Restart the computer in Safe Mode, then restart again, normally. If this doesn't help, then:
         Boot to the Recovery HD: Restart the computer and after the chime press and hold down the
         COMMAND and R keys until the Utilities menu screen appears. Alternatively, restart the computer and
         after the chime press and hold down the OPTION key until the boot manager screen appears.
         Select the Recovery HD and click on the downward pointing arrow button.
    3. Repair the Hard Drive and Permissions: Upon startup select Disk Utility from the Utilities menu. Repair the Hard Drive and Permissions as follows.
    When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the main menu. Select Restart from the Apple menu.
         Reinstall the 10.9.2 update: OS X Mavericks 10.9.2 Update (Combo).
    4. Reinstall Lion/Mountain Lion, Mavericks: Reboot from the Recovery HD. Select Reinstall Lion/Mountain Lion, Mavericks from the Utilities menu, and click on the Continue button.
    Note: You will need an active Internet connection. I suggest using Ethernet if possible because it is three times faster than wireless.
    Reinstall the 10.9.2 update: OS X Mavericks 10.9.2 Update (Combo).

  • Error message when trying to read ebook E_AUTH_BAD_DEVICE_KEY_OR_PKCS12

    has anyone had this happen, error message when trying to read ebook E_AUTH_BAD_DEVICE_KEY_OR_PKCS12

    deauthorize (shift-ctrl-d) and then restart ade.  you will be prompted to re-authorize.

  • YOUR Message "There is a problem with Adobe Acrobat/Reader. If it is running, please exit and try again. (0:104)" keeps occuring when trying to read.

    YOUR Message "There is a problem with Adobe Acrobat/Reader. If it is running, please exit and try again. (0:104)" keeps occuring when trying to read.

    Hi tanjam38435898,
    Please refer this thread Links as it seems relevant to your query : Re: Error Code 0:104
    hope that helps
    Regards,
    Rahul

  • Do I have to use lock when I am reading data from a table

    Hi,
    When i am reading data from a table , do I have to set a lock on that table .
    Is it necessary for us to set the lock on a table when I am reading data from the table.
    When I am updating the table , do I have to set a lock on the table ?
    If yes, then what sort of lock-read lock,write lock or shared lock?
    Regards,
    Sushanth H.S.

    check it out,
    Lock objects are use in SAP to avoid the inconsistancy at the time of data is being insert/change into database.
    SAP Provide three type of Lock objects.
    - Read Lock(Shared Locked)
    protects read access to an object. The read lock allows other transactions read access but not write access to
    the locked area of the table
    - Write Lock(exclusive lock)
    protects write access to an object. The write lock allows other transactions neither read nor write access to
    the locked area of the table.
    - Enhanced write lock (exclusive lock without cumulating)
    works like a write lock except that the enhanced write lock also protects from further accesses from the
    same transaction.
    You can create a lock on a object of SAP thorugh transaction SE11 and enter any meaningful name start with EZ Example EZTEST_LOCK.
    Use: you can see in almost all transaction when you are open an object in Change mode SAP could not allow to any other user to open the same object in change mode.
    Example: in HR when we are enter a personal number in master data maintainance screen SAP can't allow to any other user to use same personal number for changes.
    Technicaly:
    When you create a lock object System automatically creat two function module.
    1. ENQUEUE_<Lockobject name>. to insert the object in a queue.
    2. DEQUEUE_<Lockobject name>. To remove the object is being queued through above FM.
    You have to use these function module in your program.
    check this link for example.
    http://help.sap.com/saphelp_nw04s/helpdata/en/cf/21eea5446011d189700000e8322d00/content.htm
    tables:vbak.
    call function 'ENQUEUE_EZLOCK3'
    exporting
    mode_vbak = 'E'
    mandt = sy-mandt
    vbeln = vbak-vbeln
    X_VBELN = ' '
    _SCOPE = '2'
    _WAIT = ' '
    _COLLECT = ' '
    EXCEPTIONS
    FOREIGN_LOCK = 1
    SYSTEM_FAILURE = 2
    OTHERS = 3
    if sy-subrc 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    Normally ABAPers will create the Lock objects, because we know when to lock and how to lock and where to lock the Object then after completing our updations we unlock the Objects in the Tables
    http://help.sap.com/saphelp_nw04s/helpdata/en/cf/21eea5446011d189700000e8322d00/content.htm
    purpose: If multiple user try to access a database object, inconsistency may occer. To avoid that inconsistency and to let multiple user give the accessibility of the database objects the locking mechanism is used.
    Steps: first we create a loc object in se11 . Suppose for a table mara. It will create two functional module.:
    1. enque_lockobject
    1. deque_lockobject
    before updating any table first we lock the table by calling enque_lockobject fm and then after updating we release the lock by deque_lockobject.
    Select the radio button "Lock object"..
    Give the name starts with EZ or EY..
    Example: EYTEST
    Press Create button..
    Give the short description..
    Example: Lock object for table ZTABLE..
    In the tables tab..Give the table name..
    Example: ZTABLE
    Save and generate..
    Your lock object is now created..You can see the LOCK MODULES..
    In the menu ..GOTO -> LOCK MODULES..There you can see the ENQUEUE and DEQUEUE function
    Reward if helpful

  • Photoshop CS3 locks up when trying to open an EPS file

    Hello everyone. I have a problem with CS3 locking up when trying to open an EPS file. The files were created in Quark 4.0. Not sure if it has anything to do with my new computer, which has Microsoft XP 64 bit. There's another computer in my office which has CS4 that can open these files. Please help..!! Thank you.

    Try installing a PostScript printer on your XP64 system. For some reason this often seems to fix issues with EPS handling...
    Mylenium

  • After Effects CS6 locks up when trying to use Preferences sub-menu

    I have an issue with AE "freezing" or locking-up when trying to use any of the sub-menu items under preferences. I have to shut down with task manager to regain control. I have a wintel PC with 8 gig of RAM and 2 TB of disk and a quad-core, don't think any of those are an issue. AE is the only problem child in this entire suite. Any help/guidance is deeply appreciated. Thank you in advance for your time and effort.
    Sincerely,
    Vidmist

    1360 x 768.
    That doesn't meet the system requirements and I think it's safe to say thatr this is the reason for the crash - the program is trying to draw the preferences panel in an invalid area since it cannot deal with the too small screen resolution properly. Increase the screen res and everything will probably work.
    Mylenium

  • Why tcp closed by peer when trying to read msg after the successful Listen?

    Hi everyone,
    I had trouble to read data after Listen function return a good connection ID. The embedded application is running in ARM processor and I build a PC application with Labview to read the device status via TCP connecion. There are required two TCP connections between embedded application and PC application with specific port to listen on each side. After exchange port number by UDP message, both sides know the destination port to send msg. I can send request to embedded apllication in one TCP connection then listen to other TCP connection for reply. By monitroing the traffic of network card, I can see the successful TCP open sequence and in coming reply data, but Labview application shows error 66 "network connection closed by peer" when trying to read data, which is quite strange. I already see those data with network monitor tool, such as wire shark.
    Did anybody experience the similar problem? and provide some suggestion? Is it problem of configuration of Labview? windows XP? I am using Labview 6.1.
    Thanks
    Lei
    Solved!
    Go to Solution.

    LeiJ wrote:
    Thanks Mike,
    The problem was solved. It is timing issue. There is another while loop in code which sends heartbeat UDP message regularly for ervry 10 seconds, and this cause the problem of TCP read function. If I stop or remove this thread of while loop, the read function works fine. The UDP heartbeat message is only need to use once at first beginning to broadcast port number when setup TCP connection. Possibly I can send the heartbeat somewhere esle. I think the TCP error code 56 (timeout) and 66 (network connection closed by peer) is not distinguished in TCP read function. Thank you for reply and suggestion.
    Regards
    Lei
    Actually LabVIEW distinguish between these errors very specifically. If you get an error 66 the connection was closed for sure, either explicitedly by the peer of implicitedly by the TCP IP stack after loosing the connection for to long such as when the Ethernet card would be disabled.
    The issue most likely is that your client after sending back an open-package expects a specific response in a specific amount of time and closes the connection down if it does not get a valid response. Seems like a good measure to try to minimize the resources on your embedded target that need to be allocated when a badly behaving client is looping in a connection attempt.
    Rolf Kalbermatter
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • ITunes (10.5.2.11) locks up when trying to download from iTunes U site Madingley Lectures.

    iTunes (10.5.2.11) locks up when trying to download from iTunes U site Madingley Lectures. The problem is repeatable on two different PCs running the same version of iTunes. I never previously had problems downloading presentations from this site. Any ideas?
    Both PCs are running Windows 7 fully up to date with patches.
    Paul

    Duncan,
    I successfully downloaded the latest edition by going to the Store area. It took around 10 minutes. iTunes behaved fine and indicated the progress of the download.
    However when I try to download another lecture via the iTunes U option within iTunes, the software freezes.
    There is no progress bar and I can't change focus within iTunes. The only option I have is to kill the process from the Task Manager.
    The lockup occurs almost immediately after I click on the Get button.
    In previous months the downloads worked fine.
    Thanks for your assistance

  • Macbook (black) first edition hangs when trying to read Serial-ATA

    My Macbook recently died on me. In thinking it was my hard disc I have installed a new one. It did find it briefly when trying to install Snow Leopard again this failed since it could not communicate with the hard disc. Now I am stuck, using the System Profiler it just hangs when trying to read the Serial-ATA device tree.
    Any idea of what is wrong and if it is worth repairing it?
    with kind regards,
    Christian

    Turns out that the brand new Seagate that I got was faulty. Have now installed yet another drive and this seems to have done the trick.

Maybe you are looking for