Apps hanging in standalone mode

Is this normal?
I've had loads of issues with the TP losing connection to my home network which I've pretty much given up on.
However, when it's dropped off the network or when I am out and about and there is no wifi, it seems that apps like Photos/Videos just hang and never open.
Surely I should be able to use the TP when it's not on a network? It's like it is trying to connect to my webos account but can't because there is no web access.
All I want to do is play videos for my child in the car!
Post relates to: HP TouchPad (WiFi)

Have you tried a restart? Go to device info and select reset options. Select restart from that screen and wait for the TP to re-boot. Once restarted, see if you have the same issue with playing videos.
It should not matter if you are connected to a network or not.
Have you copied any pictures or videos to the TP from your PC? If you did and did not eject the TP correctly this could cause a problem in trying to access the pics and videos.
For reference purposes, click on the following link for the support page for your device on the kb.hpwebos.com webpage.
http://kb.hpwebos.com/wps/portal/kb/na/touchpad/touchpad/wifi/home/page_en.html
There are links on the page to the user guide, troubleshooting, how to's, downloads, etc.

Similar Messages

  • Apps hanging up on update stuck in wait mode on desktop iPad mini

    Apps hanging up on update stuck in wait mode on desktop iPad mini

    All of these suggestions have worked for other users in the past, try them in order and maybe one will work for you.
    "Waiting apps"
    1. Tap the "waiting" icon and see if you can pause it. If it does pause, then tap it again and see if it will resume. If that works, repeat the same steps for each "waiting" icon.
    2. Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.
    3. Make sure that you do not have a stalled download in iTunes - if you have a download in there that did not finish, complete that one first.
    4. If that doesn't work - sign out of your account, restart the iPad and then sign in again.
    Settings>iTunes & App Store>Apple ID. Tap your ID and sign out. Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
    Go back to Settings>iTunes & App Store>Sign in and then try to update again. Tap one waiting icon only if necessary to start the download stream.
    5. You can also try deleting the waiting icons - tap and hold down on an icon until it wiggles - the tap the X on the icon to delete it. Then try to download again. Apps may also be able to be deleted in Settings>General>Usage>Storage if you cannot get the X to pop up on the icon.
    6. You can try resetting all settings. Settings>General>Reset>Reset All Settings. You will have to enter all of your device settings again.... All of the settings in the settings app will have to be re-entered.
    7. If all else fails, download the updates or the apps in iTunes on your computer and then sync the content to your iPad.

  • Flash Builder 4.7 + SDK 3.6 + iOS 6.1.2 app hangs, no debugger

    Today i got a rejection letter from Apple on an app i had submitted weeks ago.
    It says that my app doesn't run on an iPad3 or iPhone5 running iOS 6.1.2
    This seemed weird because i did test it on my iPad3 and it ran, but then i realized i hadn't updated to 6.1.2
    So i try to debug my app from FB and indeed, the app just hangs at the Default.png launch image display... the debugger doesn't connect. The app does not crash, there is no crash report. It just hangs.
    I tried running the app by itself, usually, when i do this i will get the dialog saying that the app is waiting for the debugger, but this does not appear either. It looks like the app just hangs before it gets to that.
    I thought it would be an issue with the app, so i created a new one, no code, just a clean app, and try to run it and get the same problem. No debugger, and the app just hangs before it launches.
    I recently updated the SDK to 3.6, and that was the dirtiest install instructions i have seen. It's my only clue, but i heard of a friend having the same issue and his SDK came already with FB.
    Anyone else having the same issue? where should i start looking for the problem? i am totally lost.

    I have resintalled FB. With the original SDK 3.4 it works fine. With the update to 3.6 i get the same problem again.
    I have to assume then the new SDK has an issue with iOS 6.1.2 OR that i somehow screwed up the manual upgrade instructions. Im pretty sure i followed the instructions to the T this time, so if i did screw them up, then they are very error prone.
    Can someone confirm or deny having a similar issue?
    I guess them tmp solution is to compile with the old SDK and have my app run in letterbox mode on the iPhone5... not ideal.

  • Error while trying to start OC4j11g in standalone mode

    I get the following error while trying to start OC4j 11g 11.1.1 in standalone mode:
    Error initializing server: Shared library "oracle.fabric.runtime" could not be found.
    FYI, I have the imports for oracle.fabric, oracle.fabric.interceptors in server.xml already.
    Any thoughts?
    Thanks
    Ramesh

    I deployed the map example app that Oracle posted online (GEOTAGS - Oracle Open World Conference in 2007) on the JDeveloper's embeded OC4J 11g Tech Preview 3. The deployment went well. However, it doesn't seem to work when I go to the main.jsp (http://localhost:8888/geotags/main.jsp). The following is the error. Please tell me what I need to do to solve this problem.
    C:\jdeveloper11\jdev\bin>rem ===================================================
    ========================
    Starting OC4J with command: "C:\devtools\Java\jdk1.5.0_14\\bin\java.exe" -XX:Max
    PermSize=512m -jar oc4j.jar
    Apr 4, 2008 5:23:57 PM oracle.j2ee.xml.XMLMessages warningException
    WARNING: Exception Encountered
    08/04/04 17:24:05 WARNING: ApplicationServer.enableOC4JDocumentChangeNotifier Al
    ternate DocumentChangeNotifier in use!
    08/04/04 17:24:05 JMS server will listen on port 9127.
    08/04/04 17:24:06 oracle.j2ee.jms.oc4j.JMSServer startup complete
    08/04/04 17:24:08 Don't know how to map non-serializable type: interface javax.m
    anagement.j2ee.statistics.Stats to Open MBean Type.
    08/04/04 17:24:09 WARNING: J2EE JNDI-00002
    08/04/04 17:24:09 WARNING: No javax.jms.ConnectionFactory found at null
    08/04/04 17:24:12 WARNING: oracle.j2ee.jmsrouter.RouterException: JMS Destinatio
    n, {0}, does not exist
    08/04/04 17:25:03 Oracle Containers for J2EE 11g (11.1.1.0.0) initialized.
    08/04/04 17:32:29 geotags: JspServlet error: Servlet unable to dispatch to the f
    ollowing requested page: The following exception occurred:oracle.jsp.parse.JspPa
    rseException: /main.jsp: Line # 4, <%@ taglib uri="http://java.sun.com/jsf/core"
    prefix="f"%>
    Error: Internal error, registered Directive handlers MUST descend from JspDirect
    ive or one of its subclasses: {0}
    08/04/04 17:32:29 Unable to dispatch JSP Page : The following exception occurred
    :oracle.jsp.parse.JspParseException: /main.jsp: Line # 4, <%@ taglib uri="http:/
    /java.sun.com/jsf/core" prefix="f"%>
    Error: Internal error, registered Directive handlers MUST descend from JspDirect
    ive or one of its subclasses: {0}

  • I have a problem that I can not load or even close the download in iTunes, it turns out I have hanging in the mode, and because of that I can't download from AppStore, because it turns out that the other programs I have on standby. What do I do? Thank you

    I have a problem that I can not load or even close the download in iTunes, it turns out I have hanging in the mode, and because of that I can't download from AppStore, because it turns out that the other programs I have on standby. What do I do? Thank you.

    If there are multiple apps trying to download at once, only one can download at a time and the rest say "Waiting" until it is then their turn. Try this. Double tap the icon of the Waiting app, and it should resume the download.
    If that doesn't work:
    •  Log out of your iTunes store account.  Go to Settings > Store > Sign Out Then press the Home button.
    • Then press and hold the Home and Sleep buttons simultaneously and don't release them when it brings up the Turn Off screen; keep holding them until the Apple logo appears.
    • After restart, the Waiting should be gone.
     Cheers, Tom

  • Starting the opmn managed OC4J in standalone mode ?

    Hi All,
    I have installed Oracle 10.1.3 production version of the applicartion server.
    i use opmn to start the server "opmnctl startall"
    by starting oc4j in this manner i am unable to get thread dumps, so i tried to start the server in standalone mode by using " java -jar oc4j.jar" but it fails to start throwing an error "unable to start HTTP Server" default website configuration may not be valid: Fatal error: server exiting
    Please help
    Thanks
    Raghavendra

    Deepak,
    Thanks for replying
    i am basically into performance engineering. in our team we basically put the application on a production environment and test for Performace scalability reliability etc now i need thread dumps at one particular load which can only be simulated in a large production environment.
    Today i googled a lot and found some methods
    1. A tool called Stacktrace.exe which allows to get thread dumps from java processes started as windows service
    -----but this is not working for me since intenet is blocked on my app server and this tool can only be run online
    2. their are a couple of free ware utilities which allow to get stack trace by giving input as PID ---here also i could not get, bcos of some of issue with user rights
    3. unixtool utility which runs on window--basically has unix commands simulated on windows--this allows to send kill -3 signal
    4. Last method--use JRockit JVM and get thread dumps from the JRockit Management console
    Thanks
    Raghavendra

  • Java apps hang when trying to open file dialog

    I have several Java applications installed on my Windows Vista machine
    All work perfectly except when accessing any file dialogs.
    If a file dialog is required, the application just hangs
    The only way to resolve this is to open task manager and kill the javaw.exe process
    Does anyone know what is wrong.
    I am using Java 6 update 17 and have tried re-installing the environment.

    ATyas wrote:
    I don't think the problem lies with the vendor apps.
    All Java applications from whatever source exibit this problem. These are independently developed applications from independent vendors.
    I don't have a Java application on my machine that does not exhibit this issue.
    I thought that the problem must be permisions, but am not sure where to look.One or more of the following could be the source of the problem.
    - The apps
    - Your computer
    - The VM
    The first can in fact be the problem because you are not running all possible apps on your computer. Far as you know all the apps that you run use the same library.
    No one here has access to your computer so no one will be able to fix it. No one here has access to those apps so we can fix those either.
    If and only if the vendor of the apps determined that there is a bug in the VM then they could localize it and report it. Without localization and assurance that it is the VM no one can fix it.
    Keep in mind as well that Vista has been out for years. So it seems likely that a general problem with the VM like that would have been discovered by now. Doesn't mean it doesn't exist, but again the vendor of the apps is more likely to discover it.
    For yourself trying running the apps in super user mode (whatever it is called.) If it is a permissions problem then that demonstrates it. Note that if it is permission problem then it most assuredly is one that the vendors must deal with. Just as any other app on Vista must do.

  • FAS2240-4 with controllers in standalone mode

    Hello all. We have a dual controller FAS2240-4 running ONTAP 8.3, with 1 controller (intentionnally) left unplugged.We cannot use both controllers in a cluster configuration, because doing so requires a 10GbE interconnect, which on a FAS2240 can only be provided by the mezzanine card, and the mezzanine slot is already used by an FC card, for tape backups and more. Anyway, since cluster mode won't work, is it possible to have both controllers running in standalone mode ?Will I be able to make use of the ADP root space left on the internal drives ?Or will I be able to totally disconnect the secondary controller from internal storage, and use some DS14 shelves that I have hanging around ? The ultimate goal would be to have the secondary controller running 7-Mode for OSSV backups until NetApp comes with an OSSV alternative for Cluster Mode.Does it sound totally crazy, or can this be achieved in a safe way ?

    With the HA interconnect (internal in the shelf chassis), I don't think it would ever be supported to have both 7-Mode and cDOT.. but might be worth asking the account team to file a request (engineering PVR) to see if supported...but again, don't think it would be approved.  I would run cDOT on the single node and get another chassis to run the other controller in 7-Mode on 8.2 since there is no 7-Mode in 8.3. I don't see anything in the documentation that says you can't use ADP root partitioning on a single node.  If you're not running ADP currently, you need to unassign all the disks, then run special boot option 4 to zero the disks out. Before connecting DS14s, check the hardware universe hwu.netapp.com to confirm support for both the shelf, esh/at-fcx modules and drives.  Only ESH4 and AT-FCX are supported but confirm for disk type as well.

  • ISE 1.2 Standalone Mode

    Hi Experts,
    Good day!
    I just want to clarify if I can provide posture assessment in ISE 1.2 even if it is in standalone mode because some said I can but based on my understandings of ISE since 1.1.4, I need to convert it first to an IPN mode for it to provide posture assessment.
    Please help, I'm a little bit confused.
    thanks,
    niks

    ISE standalone node can  provide posture service, you need to make sure you have advanced license on ISE. IPN is for NAD that do not support COA.
    http://www.cisco.com/c/en/us/td/docs/security/ise/1-2/user_guide/ise_user_guide/ise_man_license.html
    http://www.cisco.com/c/en/us/td/docs/security/ise/1-3/admin_guide/b_ise_admin_guide_13/b_ise_admin_guide_sample_chapter_0100.html

  • Apex Listener in standalone mode, how to set/reset db connection.

    Sometime ago I installed Apex Listener for testing, then I removed it.
    Now I downloaded last version, installed it in standalone mode and try to set the DB connection.
    However when I try to edit in listenerAdmin page the db connection parameters I can't : they are greyed and report the connection informations I gave in my first test installation.
    How can I change them ?
    How can I avoid all fields in listenerAdmin greyed ?
    Tks
    Tullio

    Hello Tullio,
    you can run /listenerConfigure/ only as long as there is no configuration available. The database parameters can only be setup when the APEX Listener is not connected due to the state of its connection pool. Once it is established, you can only configure it offline by editing the apex-config.xml . That's why the parameters are greyed out in /listenerAdmin/.
    You probably only removed the war file of your test installation, but not the apex.home including the apex-config.xml that is stored in there. So your new installation found the old home and reused the connection.
    You could either edit the apex-config.xml or delete the apex.home and rerun /listenerConfigure/
    If you run on a windows system, you'll find the apex.home in your users TEMP, usually located in the temp folder underneath the local settings of your user profile. The directory to locate is now called "apex".
    -Udo

  • Error while trying to start oc4j 11g in standalone mode

    I get this error while trying to start oc4j 11g (that comes with JDeveloper 11g Technical Preview 2 ) in standone mode. Any ideas ?
    Sep 17, 2007 6:29:21 PM com.sun.faces.spi.InjectionProviderFactory createInstance
    INFO: jsf.core.injection.provider_generic_web_configured
    Sep 17, 2007 6:29:23 PM org.apache.myfaces.trinidad.component.UIXComponentBase _createType
    SEVERE: Could not load type properties
    java.lang.NullPointerException
    at oracle.classloader.PolicyClassLoader.findLocalClass(PolicyClassLoader.java:1491)
    at oracle.classloader.SearchPolicy$FindLocal.getClass(SearchPolicy.java:226)
    at oracle.classloader.SearchSequence.getClass(SearchSequence.java:119)
    at oracle.classloader.SearchPolicy.loadClass(SearchPolicy.java:852)
    at oracle.classloader.PolicyClassLoader.askParentForClass(PolicyClassLoader.java:1315)
    at oracle.classloader.SearchPolicy$AskParent.getClass(SearchPolicy.java:72)
    at oracle.classloader.SearchSequence.getClass(SearchSequence.java:119)
    at oracle.classloader.SearchPolicy.loadClass(SearchPolicy.java:852)
    at oracle.classloader.PolicyClassLoader.askParentForClass(PolicyClassLoader.java:1315)
    at oracle.classloader.SearchPolicy$AskParent.getClass(SearchPolicy.java:72)
    at oracle.classloader.SearchSequence.getClass(SearchSequence.java:119)
    at oracle.classloader.SearchPolicy.loadClass(SearchPolicy.java:852)
    at oracle.classloader.PolicyClassLoader.askParentForClass(PolicyClassLoader.java:1315)
    at oracle.classloader.SearchPolicy$AskParent.getClass(SearchPolicy.java:72)
    at oracle.classloader.SearchSequence.getClass(SearchSequence.java:119)
    at oracle.classloader.SearchPolicy.loadClass(SearchPolicy.java:852)
    at oracle.classloader.PolicyClassLoader.askParentForClass(PolicyClassLoader.java:1315)
    at oracle.classloader.SearchPolicy$AskParent.getClass(SearchPolicy.java:72)
    at oracle.classloader.SearchSequence.getClass(SearchSequence.java:119)
    at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1681)
    at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1642)
    at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1627)
    at org.apache.myfaces.trinidad.component.UIXComponentBase._createType(UIXComponentBase.java:1393)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.<clinit>(UIXComponentBase.java:96)
    at oracle.adfinternal.view.faces.renderkit.rich.DialogRenderer.<init>(DialogRenderer.java:34)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
    at java.lang.Class.newInstance0(Class.java:350)
    at java.lang.Class.newInstance(Class.java:303)
    at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:1024)
    at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:1096)
    at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:505)
    at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:398)
    at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1285)
    at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:856)
    at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:473)
    at com.evermind.server.Application.getHttpApplication(Application.java:753)
    at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:2039)
    at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:1958)
    at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:645)
    at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:289)
    at com.evermind.server.http.HttpServer.setSites(HttpServer.java:270)
    at com.evermind.server.http.HttpServer.setConfig(HttpServer.java:177)
    at com.evermind.server.ApplicationServer.initializeHttp(ApplicationServer.java:2747)
    at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1255)
    at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:129)
    at java.lang.Thread.run(Thread.java:595)
    07/09/17 18:29:26 Oracle Containers for J2EE 10g (11.1.1.0.0) initialized
    Thanks
    Ramesh

    Using the OTN2 tech preview build 4684 now available on OTN, I used the JDEVHOME/jdev/bin/start_oc4j script to startup the embedded server in standalone mode and cannot reproduce these errors.
    Can you try with build 4684 from OTN and see if the same issue still reproduces?
    If so, does it occur even before ever deploying any applications of your own to the instance?

  • When the apple review team review our app,they point out that our  app uses a background mode but does not include functionality that requires that mode to run persistently.but in fact,when the app in background ,the app need data update to make the

    when the apple review team review our app,they point out that our  app uses a background mode but does not include functionality that requires that mode to run persistently。but in fact,when the app in background ,the app need data update to make the function of  trajectory replay come ture。in fact, we have added function when the app  is in background mode。we have point out the point to them by email。but they still have question on the background mode,we are confused,does anyone can help me,i still don't know why do review team can't find the data update when  the app is in background and how do i modify the app,or what is the really problem they refered,do i misunderstand them?
    the blow is the content of the review team email:
    We found that your app uses a background mode but does not include functionality that requires that mode to run persistently. This behavior is not in compliance with the App Store Review Guidelines.
    We noticed your app declares support for location in the UIBackgroundModes key in your Info.plist but does not include features that require persistent location.
    It would be appropriate to add features that require persistent use of real-time location updates while the app is in the background or remove the "location" setting from the UIBackgroundModes key. If your application does not require persistent, real-time location updates, we recommend using the significant-change location service or the region monitoring location service.
    For more information on these options, please see the "Starting the Significant-Change Location Service" and "Monitoring Shape-Based Regions" sections in the Location Awareness Programming Guide.
    If you choose to add features that use the Location Background Mode, please include the following battery use disclaimer in your Application Description:
    "Continued use of GPS running in the background can dramatically decrease battery life."
    Additionally, at your earliest opportunity, please review the following question/s and provide as detailed information as you can in response. The more information you can provide upfront, the sooner we can complete your review.
    We are unable to access the app in use in "http://www.wayding.com/waydingweb/article/12/139". Please provide us a valid demo video to show your app in use.
    For discrete code-level questions, you may wish to consult with Apple Developer Technical Support. When the DTS engineer follows up with you, please be ready to provide:
    - complete details of your rejection issue(s)
    - screenshots
    - steps to reproduce the issue(s)
    - symbolicated crash logs - if your issue results in a crash log
    If you have difficulty reproducing a reported issue, please try testing the workflow as described in <https://developer.apple.com/library/ios/qa/qa1764/>Technical Q&A QA1764: How to reproduce a crash or bug that only App Review or users are seeing.

    Unfortunately, these forums here are all user to user; you might try the developer forums or get in touch with the team that you are working with.

  • Adobe Reader 9.5.4.268 shows a search button in embedded but not in standalone mode

    Ever since Adobe Reader was updated to the "new" look I could not figure out how to search PDFs. The previous version had a convenient "find" field in the toolbar. I visited the http://kb.mozillazine.org/Adobe_Reader page, which provides a link to the test PDF at http://plugindoc.mozdev.org/testpages/pdf.html.
    Surprisingly, the embedded PDF shows a magnifying glass button which provides access to the search functions. However, this button is missing when the same test PDF is opened in a standalone mode within the browser (Firefox 20.0.1).
    Why the difference and is there a place to customize the Adobe Reader toolbar?

    You are most likely using the built in PDF reader in Firefox, not Adobe Reader. [[Use the Adobe Reader plugin to view or download PDF files]] can help you switch back to Adobe (which you should update to version 11 BTW)

  • Java Swing App hangs on socket loop

    H}ello everyone i've run into a bit of a snag with my application, its a simple chat bot right now but will evolve into a chat client soon. I can't do that however since my app hangs when i look through the readLine() function to receive data and i dont know how to fix this error. The code is below.
    The doSocket() function is where the while loop is if anyone can help me with this i'd be very greatful.
    * GuiFrame.java
    * Created on August 13, 2008, 9:36 PM
    import java.net.*;
    import java.io.*;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    * @author  brian
    public class GuiFrame extends javax.swing.JFrame {
        /** Creates new form GuiFrame */
        public GuiFrame() {
            initComponents();
        Socket client_sock = null;
        PrintWriter out = null;
        BufferedReader in = null;
        @SuppressWarnings("unchecked")
        // <editor-fold defaultstate="collapsed" desc="Generated Code">                         
        private void initComponents() {
            convertButton = new javax.swing.JButton();
            setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
            setTitle("Test Bot");
            convertButton.setText("Connect");
            convertButton.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    convertButtonActionPerformed(evt);
            javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
            getContentPane().setLayout(layout);
            layout.setHorizontalGroup(
                layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(layout.createSequentialGroup()
                    .addGap(41, 41, 41)
                    .addComponent(convertButton)
                    .addContainerGap(42, Short.MAX_VALUE))
            layout.setVerticalGroup(
                layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(layout.createSequentialGroup()
                    .addGap(22, 22, 22)
                    .addComponent(convertButton)
                    .addContainerGap(26, Short.MAX_VALUE))
            pack();
        }// </editor-fold>                       
    private void convertButtonActionPerformed(java.awt.event.ActionEvent evt) {                                             
        if (convertButton.getText()=="Connect") {
                    String old;
                    try {
                        client_sock = new Socket("www.spinchat.com", 3001);
                        out = new PrintWriter(client_sock.getOutputStream(), true);
                        in = new BufferedReader(new InputStreamReader(client_sock.getInputStream()));
                    } catch (UnknownHostException e) {
                    } catch (IOException e) {
                try {
                    doSocket();
                } catch (IOException ex) {
                    Logger.getLogger(GuiFrame.class.getName()).log(Level.SEVERE, null, ex);
        } else if (convertButton.getText()=="Disconnect") {
            out.println("e");
            out.close();
            try {
                client_sock.close();
                in.close();
            } catch (IOException ex) {
                Logger.getLogger(GuiFrame.class.getName()).log(Level.SEVERE, null, ex);
    private void doSocket() throws IOException {
        BufferedReader stdIn = new BufferedReader(new InputStreamReader(System.in));
        String userInput;
        String old;
            while ((userInput = stdIn.readLine()) != null) {
                old = userInput;
                if (userInput != old) {
                    String proto = userInput.substring(0, 0);
                    if (proto == ":") {
                        out.println("{2");
                        out.println("BI'm a bot.");
                        out.println("aNICKHERE");
                        out.println("bPASSHERE");
                    } else if (proto == "a") {
                        convertButton.setText("Disconnect");
                        out.println("JoinCHannel");
        * @param args the command line arguments
        public static void main(String args[]) {
            java.awt.EventQueue.invokeLater(new Runnable() {
                public void run() {
                    new GuiFrame().setVisible(true);
        // Variables declaration - do not modify                    
        private javax.swing.JButton convertButton;
        // End of variables declaration                  
    }Edited by: briansykes on Aug 13, 2008 9:55 PM
    Edited by: briansykes on Aug 13, 2008 9:56 PM

    >
    ..i've run into a bit of a snag with my application, its a simple chat bot right now but will evolve into a chat client soon. >Is this intended as a GUId app? If so, I would stick to using a GUI for input, rather than reading from the command line (which when I run it, is the DOS window that jumps up in the BG - quite counterintuitive). On the other hand, if it is intended as a non-GUId or headless app., it might be better to avoid any use of JComponents at all.
    My edits stick to using a GUI.
    Other notes:
    - String comparison should be done as
    s1.equals(s2)..rather than..
    s1 == s2- Never [swallow exceptions|http://pscode.org/javafaq.html#stacktrace] in code that does not work.
    - Some basic debugging skills are well called for here, to find where the program is getting stuck. When in doubt, print out!
    - What made you think that
    a) a test of equality on a member against which you had just set the value to the comparator, would logically lead to 'false'?
    old = userInput;
    if (userInput != old) ..b) A substring from indices '0 thru 0' would provide 1 character?
    String proto = userInput.substring(0, 0);
    if (proto == ":") ..
    >
    ..if anyone can help me with this i'd be very greatful.>Gratitude is often best expressed through the offering of [Duke Stars|http://wikis.sun.com/display/SunForums/Duke+Stars+Program+Overview].
    * GuiFrame.java
    * Created on August 13, 2008, 9:36 PM
    import java.net.*;
    import java.io.*;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    import javax.swing.*;
    * @author  brian
    public class GuiFrame extends JFrame {
        /** Creates new form GuiFrame */
        public GuiFrame() {
            initComponents();
        Socket client_sock = null;
        PrintWriter out = null;
        BufferedReader in = null;
        @SuppressWarnings("unchecked")
        // <editor-fold defaultstate="collapsed" desc="Generated Code">
        private void initComponents() {
            convertButton = new JButton();
            setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
            setTitle("Test Bot");
            convertButton.setText("Connect");
            convertButton.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    convertButtonActionPerformed(evt);
            GroupLayout layout = new GroupLayout(getContentPane());
            getContentPane().setLayout(layout);
            layout.setHorizontalGroup(
                layout.createParallelGroup(GroupLayout.Alignment.LEADING)
                .addGroup(layout.createSequentialGroup()
                    .addGap(41, 41, 41)
                    .addComponent(convertButton)
                    .addContainerGap(42, Short.MAX_VALUE))
            layout.setVerticalGroup(
                layout.createParallelGroup(GroupLayout.Alignment.LEADING)
                .addGroup(layout.createSequentialGroup()
                    .addGap(22, 22, 22)
                    .addComponent(convertButton)
                    .addContainerGap(26, Short.MAX_VALUE))
            pack();
            setLocationByPlatform(true);
        }// </editor-fold>
    private void convertButtonActionPerformed(java.awt.event.ActionEvent evt) {
        if (convertButton.getText()=="Connect") {
                    String old;
                    try {
                        System.out.println( "Connect start.." );
                        client_sock = new Socket("www.spinchat.com", 3001);
                        out = new PrintWriter(client_sock.getOutputStream(), true);
                        in = new BufferedReader(new InputStreamReader(client_sock.getInputStream()));
                        System.out.println( "Connect end.." );
                    } catch (UnknownHostException e) {
                        e.printStackTrace();
                    } catch (IOException e) {
                        e.printStackTrace();
                try {
                    doSocket();
                } catch (IOException ex) {
                    Logger.getLogger(GuiFrame.class.getName()).log(Level.SEVERE, null, ex);
        } else if (convertButton.getText()=="Disconnect") {
            out.println("e");
            out.close();
            try {
                client_sock.close();
                in.close();
            } catch (IOException ex) {
                Logger.getLogger(GuiFrame.class.getName()).log(Level.SEVERE, null, ex);
        private void doSocket() throws IOException {
            System.out.println( "doSocket start.." );
            String userInput;
            String old;
            userInput = JOptionPane.showInputDialog(this, "Send..");
            while(userInput!=null && userInput.trim().length()>0) {
                System.out.println( "doSocket loop 1.." );
                String proto = userInput.substring(0, 1);
                System.out.println("proto: '" + proto + "'");
                if (proto.equals(":")) {
                    System.out.println("Sending data..");
                    out.println("{2");
                    out.println("BI'm a bot.");
                    out.println("aNICKHERE");
                    out.println("bPASSHERE");
                } else if (proto.equals("a")) {
                    convertButton.setText("Disconnect");
                    out.println("JoinCHannel");
                userInput = JOptionPane.showInputDialog(this, "Send..");
            System.out.println( "doSocket end.." );
        * @param args the command line arguments
        public static void main(String args[]) {
            java.awt.EventQueue.invokeLater(new Runnable() {
                public void run() {
                    new GuiFrame().setVisible(true);
        // Variables declaration - do not modify
        private JButton convertButton;
        // End of variables declaration
    }

  • Can I configure Cisco 1602i (AIR-CAP1602I-T-K9) in Standalone mode ?

    Hi everybody, please, i need some help here.
    I bought 3 Cisco 1602i (AIR-CAP1602I-T-K9) but I didn't bought a Controller. How can I configure then in Standalone mode ?
    I Saw in other forums, i need to change the IOS Software to an Autonomous Software. They suggested the ap1g2-k9w7-tar.152-4.JA1.tar. I would like to know if it is the right software and if there is any problem with licensing if i download and use it.
    Explanation of the differences between AIR-CAP-1602i-x-K9 e AIR-SAP-1602i-x-K9
    http://community.spiceworks.com/topic/448208-cisco-aironet-1602i-questions-issues
    How to convert to IOS autonomous
    http://www.experts-exchange.com/Networking/Wireless/Q_28245190.html
    IOS Download:
    http://software.cisco.com/download/release.html?mdfid=284366503&softwareid=280775090&release=15.2.4-JA1&flowid=37523
    Thanks.
    Wesley

    Hi,
    Yes you must need to change to autonomous mode.Yes it is the right software and you will not face any problem regarding license.
    But for download the autonomous AP image from cisco you need a CCO (Cisco login) and valid service contract .
    Here is the latest image:Can download from here
    http://software.cisco.com/download/release.html?mdfid=284366503&flowid=37523&softwareid=284180979&release=15.2.4-JB5&relind=AVAILABLE&rellifecycle=ED&reltype=latest
    How to covert from lAP to autonomous :
    http://www.youtube.com/watch?v=QQ_NuxdRhQ4
    http://rscciew.wordpress.com/2014/05/07/access-point-conversion-lap-to-aap-and-vice-versa/
    Regards
    Dont forget to rate helpful posts

Maybe you are looking for

  • Wrong result with SDO_WITHIN_DISTANCE

    Hi All, If you write a query with spatial condition using the SDO_WITHIN_DISTANCE operator and if, in your table there are polylines that have any two consecutive points that are identical, then, the result of the query is inexact. It seems that thes

  • Export - import to a different tablespace ??

    I have exported a schema from 8174 from production as the user itself. exp user/user ........ I am trying to import it into development. Only one table i am importing it from the dump.But this table structure is already existing in a tablespace diffe

  • New To DW5  , downloaded a page, looks a total mess

    Ok, I just downloaded purchased DW5 and downloaded this page via our FTP www.fasttracktofatloss.com [Moderator's note: This website autoplays video and tries to prevent users from leaving by loading a second page which also autoplays a video. Visit a

  • Tax Classification under Item Billing tab is missing

    Hi Gurus, When a particular Sales Order Type is chosen, under item level under billing tab, there is no such field of Tax Classification for the user to key in the tax classification field. However, if reference using another invoice no to create sam

  • Desgin a smple table in Crystal reports

    Hi, I am trying to design a simple table in crystal reports 2008. like this |__________________________|____________________________| |__________________________|____________________________| |__________________________|____________________________|