Threads with http socket

Are there any good tutorials that teaches multithreading with http sockets?

Topic: IDLE Time for Java Application not SYSTEM Idle Hi I am Krishna , I want to calculate idle time for an application.That is , if user1 uses the application for example called "yahoo site" for checking mails , then after 10 mins he went to outside , from 11th min the status of application should show (Like Yahoo messenger after certail time it shows idle time ) in another ADMINJSP page for Admins that how much this user1 idle say.. : 1 min idle 2 min idle .... .... 10 min idle Now user1 comes and now clicks on application . then ADMINJSP page should show total IDLE time (10 mins idle). And he again after 15 mins he went some where from 16th min the status of the application should show in ADMINJSP page.If user1 left the application like that then the application should be idle for 1 hour i.e 1 min idle 2 min idle ... ... 59 mins idle 60 mins idle Time Up -- Session Expired then he has to login again. So the above is the issue --------------------------------------------------------------------------- What i have done ..................issssssssssssss ------------------------------------------------------------------------- I have taken time for last request by using getLastAccessedTime() I have taken present time System.currentTimeMills() Taking the difference we will get the idle time . But the problem here is When user1 click on any page only this calcuting will be done and showing to ADMINJSP because getLastAccessedTime works only when any requests comes , but we dont want like that , we want the application without any requests from user1 the application should show idle for 1 min , 2 mins , 3 mins...so on upto user1 uses the application then the time should be normal. I have also tried all the EVENTS classes in HttpSessionBinding like valueunbound()...or sessiondestroy() etc. Can any one please help me by giving any CODE.If you need more information plz ask me Plz plz plz plz this is very urgent plz can any please send me the CODE , ihave tried this very hard but no idea how to do? long startTime = session.getLastAccessedTime(); long stopTime = System.currentTimeMillis(); long diffTimeInSecs = (stopTime - startTime) / 1000 ; gives idle time for every request Regards Krishna

Similar Messages

  • Socket communication with HTTP server : how to send a form variable ?

    Hi everyone,
    I'm trying to program a Socket application that calls a CGI programmed in ASP and sends a variable with some content via the POST HTTP method.
    My problem is that I'm unable to retrieve my variable content in the CGI. I don't know what I'm doing wrong when sending my variable. Here are the main steps of my application
    [Client side]
    - Create an URL
    - Open a connection
    - Send header info with variable name and content via POST method
    - Read server response
    [Server side]
    - Request the variable
    - Store its content in a file
    Here's the code of my class :
    import java.net.*;
    import java.io.*;
    public class SocketTest{
         public static void main(String args[]){
                 //create the URL
              URL url = null;
              String strURL = "http://192.168.1.11/htmleditor/cgi.asp";
              try{
                   url = new URL(strURL);
              catch(MalformedURLException exc){
                   System.out.println("Invalid URL : " + strURL);
                    //create a socket
              Socket socket = null;
              try{
                   int port = url.getPort();
                   if (port < 0){
                        port = 80;
                   socket = new Socket(url.getHost(), port);
              catch(Exception exc){
                   exc.printStackTrace();
              OutputStream out = null;
              InputStream in = null;
              try{
                   //configure request
                   String data = "htm_content=toto";
                   String request =      "POST "+ url + " HTTP/1.0\r\n" +
                                         "Accept: */*\r\n" +
                                         "Content-length: " + String.valueOf(data.length()) + "\r\n" +
                                         "Host: JAVA_HOST\r\n" +
                                         "User-Agent: Generic\r\n\r\n" +
                                         "htm_content=toto";
                   //send request
                   out = socket.getOutputStream();
                   out.write(request.getBytes());
                   out.flush();
                   //read server response
                   in = socket.getInputStream();
                   int bufferSize = 1024;
                   byte responseBytes[] = new byte[bufferSize];
                   while ((bufferSize = in.read(responseBytes)) > 0){
                        System.out.print(new String(responseBytes, 0,bufferSize));
              catch(IOException exc){
                   System.out.println(exc);
              //Close streams and sockets
              try{
                   in.close();
              catch(IOException exc){
                   exc.printStackTrace();
              try{
                   out.close();
              catch(IOException exc){
                   exc.printStackTrace();
              try{
                   socket.close();
              catch(IOException exc){
                   exc.printStackTrace();
    }Here's the code of my ASP CGI page (called cgi.asp) :
    //CGI.ASP - Begin
    <%
         Option Explicit
         Dim objFso, objFile, strHtmContent, strFileName
         On Error Resume Next
         Set objFso  = Nothing
         Set objFile = Nothing
         Set objFso  = Server.CreateObject("Scripting.FileSystemObject")
         strFileName = Server.MapPath("htm_content.htm")
         Set objFile = objFso.CreateTextFile(strFileName, True)
         strHtmContent = Request("htm_content")
            If len(strHtmContent) > 0 Then
           objFile.Write strHTMContent
            Else
              objFile.Write "NO CONTENT RECEIVED"
            End If
    %>
    <html>
    <head>
    <script language="javascript">
      function closeAll()
        window.close();
        return 0;
    </script>
    <body onLoad="javascript:closeAll();">
    </body>
    </html>
    //CGI.ASP - ENDWhen I execute my SocketTest app I get this output:
    F:\JavaDev\htmleditor\docs>java SocketTest
    HTTP/1.1 200 OK
    Server: Microsoft-IIS/5.0
    Date: Fri, 12 Jul 2002 15:31:56 GMT
    Connection: Keep-Alive
    Content-Length: 192
    Content-Type: text/html
    Set-Cookie: ASPSESSIONIDQQGGGKMU=MMPPMLEDGDEMCCJDBGOKMNDC; path=/
    Cache-control: private
    <html>
    <head>
    <script language="javascript">
    function fermerTout()
    window.close();
    return 0;
    </script>
    <body onLoad="javascript:fermerTout();">
    </body>
    </html>
    The file "htm_content.htm" is created but it has this content :
    NO CONTENT RECEIVED
    This means the server was unable to retrieve the content of the variable called "htm_content"
    REM : the variable is called like this 'cause I intend to use it to send HTML content
    Any idea of what I'm doing wrong ?
    Thanxs in advance for any help,
    Diego TERCERO

    For the POST request you'll only need (with HTTP 1.0)
         String request =      "POST "+ url + " HTTP/1.0\n" +
              "Content-type: application/x-www-form-urlencoded\n" +
              "Content-Length: " + String.valueOf(data.length()) + "\n" +
              "\n" +
              data;
    Note the Content-type header.
    Fred (Donne les duke�)

  • Help me with cpan please LWP::Protocol::https::Socket

    I get this error
    Can't locate object method "new" via package "LWP::Protocol::https::Socket"
    I installed a bunch of stuff with cpanp, including Crypt::SSLeay. Don't know where to go from here.

    Java has methods, not functions (it's important), and there are many other kinds of blocks. Here's how you create a static block: public static HashMap<String, String> wapforum=new HashMap<String, String>(37);
    static {
      wapforum.put("-//WAPFORUM//DTD WML 1.0//EN", "0x02");
      wapforum.put("-//WAPFORUM//DTD WTA 1.0//EN", "0x03");
      wapforum.put("-//WAPFORUM//DTD WML 1.1//EN", "0x04");
      // etc.
    } Also known as static initializers, static blocks get executed when the class is loaded, in the order they appear, along with static variable declarations.
    As for you other question, there's a bug in the forum software that sometimes adds right angle brackets when we use left angle brackets in our posts (as if it were closing HTML tags that had been left open). You can work around it by using the &lt; entity in place of literal left angle brackets: Set<Map.Entry<String, String>> settag = tags.entrySet(); ...or by always leaving a space after the bracket: Set< Map.Entry< String, String>> settag = tags.entrySet(); I prefer the former approach, but if you go back to edit your post you'll have to re-escape all the brackets because the forum software replaces them for you. As you may have guessed, the forum software is pretty pathetic.

  • How to set FTP Connection type BINARY with the SOCKET

    hi all,
    manish here.
    could anyone help me in setting the Binary type FTP with the SOCKET.....
    one thing i tried command "TYPE" and argument "I ". but its not accepting and then the Window gets Hang.
    Regards,
    Manish

    X-post:
    http://forum.java.sun.com/thread.jspa?threadID=585104&tstart=0

  • Too long url error when emailing thread with replies

    There is apparently a bug in the "email thread with replies" feature.
    I tried emailing myself this thread and it returned this error:
    Request-URI Too Large
    The requested URL's length exceeds the capacity limit for this server.
    Apache/2.2.3 (Red Hat) Server at discussions.apple.com Port 80
    No surprise it did either. Look at what it was trying to send.
    http://discussions.apple.com/mailpost.jspa?messageID=4435127&toEmailName=me&toEm ailAddress=emailaddy%40someisp.net&fromEmailName=emailaddy&fromEmailAddress=emailaddy%40someother_isp&email Subject=AppleDiscussions%3A+Panther+security+update+2007%2F4+and+Airport+Extreme&originalMess age=The+following+was+posted+on+Apple+Discussions.%0D%0AOn+Fri+Apr+20+05%3A16%3A 47+CDT+2007%2C+WillParton+wrote%3A+%0D%0ASubject%3A+Panther+security+update+2007 %2F4+and+Airport+Extreme%0D%0A%0D%0AI%27ve+just+installed+the+2007%2F4+security+ update+and+it+seems+to+be+causing+wireless+connectivity+problems+with+my+Airport +Extreme+basestation.+On+power+up+my+Powerbook+G4+connects+to+my+Airport+Extreme +basetation+%28V5.6%29+successfully+but+looses+the+connection+after+a+period+of+ time+%2820-30+minutes%29.+Attempts+to+reconnect+%28using+WPA+Personal+security%2 9+result+in+a+message+stating+the+basestation+does+not+support+this+security+opt ion+%28which+it+obviously+does%29.%3Cbr%3E%3Cbr%3EAnyone+else+seen+any+similar+p roblems%3F%3Cbr%3E%3Cbr%3E%3Cspan+class%3Dotherinfo%3EPowerbook+G4+Titanium+++Ma c+OS+X+%2810.3.9%29+++%3C%2Fspan%3E%0D%0A%0D%0A%0D%0A----%0D%0AOn+Fri+Apr+20+07% 3A16%3A29+CDT+2007%2C+kathieg+wrote%3A+%0D%0ASubject%3A+Re%3A+Panther+security+u pdate+2007%2F4+and+Airport+Extreme%0D%0A%0D%0AInterestingly+enough%2C+I+too+expe rienced+connectivity+problems+once+I+ran+the+security+update.+I+have+two+compute rs+that+I+updated+last+night.+One+running+OS+10.4.9+and+the+other+running+10.3.9 .+They+both+use+Airport+%28not+extreme%29.+The+OS+10.4.9+had+no+problems+at+all+ connecting+via+airport.+The+OS+10.3.9+couldn%27t+see+the+network+at+all.+Followi ng+the+advice+of+another+poster%2C+I+removed+my+WEP+password.+I+wish+I+didn%27t+ have+to+do+that%2C+but+I+need+my+internet+connection+today%21%0D%0A%0D%0A----%0D %0AOn+Fri+Apr+20+07%3A51%3A37+CDT+2007%2C+Don_Michele1+wrote%3A+%0D%0ASubject%3A +Re%3A+Panther+security+update+2007%2F4+and+Airport+Extreme%0D%0A%0D%0ASimilar+p roblem+here%3A+after+install+of+sec+upd+4-2007+in+G3+iBook+800%2FPanther+a+kerne lpanic+is+appearing+after+waking+up+from+sleepmode.+paniclog+in+console+is+repor ting%3A%3Cbr%3E%3Cbr%3E%3Cbr%3E%22Unresolved+kernel+trap%28cpu+0%29%3A+0x300+-+D ata+access+DAR%3D0x0000000000000050+PC%3D0x000000000041D08C%3Cbr%3ELatest+crash+ info+for+cpu+0%3A%3Cbr%3E+++Exception+state+%28sv%3D0x2E0F4C80%29%3Cbr%3E++++++P C%3D0x0041D08C%3B+MSR%3D0x00009030%3B+DAR%3D0x00000050%3B+DSISR%3D0x40000000%3B+ LR%3D0x22FB74CC%3B+R1%3D0x0F4EB8D0%3B+XCP%3D0x0000000C+%280x300+-+Data+access%29 %3Cbr%3E++++++Backtrace%3A%3Cbr%3E+++++++++0x22FB74B8+0x00000000+0x00256EBC+0x00 257938+0x002531D8+0x00253040+0x0041D034+0x00408EA0+%3Cbr%3E+++++++++0x0040124C+0 x00405DE8+0x004080A0+0x00408034+0x0026A610+0x00035148+0x00035028+%3Cbr%3E++++++K ernel+loadable+modules+in+backtrace+%28with+dependencies%29%3A%3Cbr%3E+++++++++c om.apple.driver.AirPortFirmware%283.4.9%29%400x22fb6000%3Cbr%3E++++++++++++depen dency%3A+com.apple.driver.AppleAirPort%283.4.7%29%400x3ff000%3Cbr%3E+++++++++com .apple.driver.AppleAirPort%283.4.7%29%400x3ff000%3Cbr%3E++++++++++++dependency%3 A+com.apple.iokit.IONetworkingFamily%281.4.0%29%400x3e2000%3Cbr%3EProceeding+bac k+via+exception+chain%3A%3Cbr%3E+++Exception+state+%28sv%3D0x2E0F4C80%29%3Cbr%3E ++++++previously+dumped+as+%22Latest%22+state.+skipping...%3Cbr%3E+++Exception+s tate+%28sv%3D0x00956A00%29%3Cbr%3E++++++PC%3D0x00000000%3B+MSR%3D0x0000D030%3B+D AR%3D0x00000000%3B+DSISR%3D0x00000000%3B+LR%3D0x00000000%3B+R1%3D0x00000000%3B+X CP%3D0x00000000+%28Unknown%29............%22%3Cbr%3E%3Cbr%3ECan+anybody+help%3F% 0D%0A%0D%0A----%0D%0AOn+Sat+Apr+21+00%3A22%3A13+CDT+2007%2C+DIXIE+wrote%3A+%0D%0 ASubject%3A+Re%3A+Panther+security+update+2007%2F4+and+Airport+Extreme%0D%0A%0D% 0AIf+after+installing+Security+Update+2007-004+on+OS10.3.9+and+after+waking+from +Sleep+you+experience+a+kernel+panic+notification+%28black+pane%29+to+reboot+wit h+the+power+button+.........+do+the+following%3A%3Cbr%3E%3Cbr%3EReboot+....+then +apply+%2FApp%2FUtilities%2FDisk+Utility%2FRepair+Permissions+....+shut+down+... .+Reboot+while+holding+down+Command-Option-P-R+keys+together+until+the+computer+ chimes+three%283%29+individual+times+...+release+keys+to+complete+reboot+....+Re pair+Permissions+again+...+click+the+soft+Restart+....+Sleep+the+computer+then+w ake+it+up+....+the+kernel+panic+pane+should+be+gone.%3Cbr%3E%3Cbr%3EIt+worked+fo r+me+and+I+never+before+had+a+panic+pane+on+a+15%22FP+iMac%21+%3Cbr%3E%3Cbr%3EDI XIE+%3A%29+%3Cbr%3E%3Cbr%3E%3Cspan+class%3Dotherinfo%3E15%22iMacG4%2F800%2F60GHD %2F768MB-12%22PB%2F867%2F60GHD%2F1.12GB-G3%2F400%2F1GB+ +Mac+OS+X+%2810.3.9%29+  +AE+network%3C%2Fspan%3E%0D%0A%0D%0A----%0D%0AOn+Sat+Apr+21+12%3A17%3A40+CDT+200 7%2C+Don_Michele1+wrote%3A+%0D%0ASubject%3A+Re%3A+Panther+security+update+2007%2 F4+and+Airport+Extreme%0D%0A%0D%0AThanks+for+the+clue%2C+Dixie%2C+after+the+proc edure+it+seemed+to+work%2C+if+I+put+the+iBook+%3Cu%3Emanually%3C%2Fu%3E+to+sleep +and+%3Cu%3Ethen%3C%2Fu%3E+wake+it+up.+%3Cbr%3E%3Cbr%3EFor+some+reason+the+kerne l+panic+appears+again+after+waking+up%2C+when+I+let+the+iBook+%3Cu%3Eautomatical ly%3C%2Fu%3E+%28after+6+minutes%29+go+to+sleep.+What+a+hustle%21%3Cbr%3E%3Cbr%3E %3Cspan+class%3Dotherinfo%3EiBook+G3+800+ +Mac+OS+X+%2810.3.9%29+ +%3C%2Fspan%3E %3Cbr%3E%3Cbr%3Eupdate%3A+after+having+the+kernel+panic+again+after+automatic+sl eep+mode%2C+my+iBook+produces+a+kernel+panic+after+waking+up+again%2C+even+if+I+ had+closed+the+lid+or+had+put+it+manually+to+sleep.+No+advancement+at+all%21%0D% 0A%0D%0A----%0D%0AOn+Fri+Apr+20+09%3A19%3A56+CDT+2007%2C+dr.+te+wrote%3A+%0D%0AS ubject%3A+Re%3A+Panther+security+update+2007%2F4+and+Airport+Extreme%0D%0A%0D%0A Similar+on+my+iBook.+When+awaking+the+airport+menu+doesn´t+even+show+the+wireles s+networks.+After+restarting+Airport+works+well+until+the+next+time+in+suspend+m ode.%3Cbr%3E%3Cbr%3E%3Cspan+class%3Dotherinfo%3EiBook+G3+ +Mac+OS+X+%2810.3.9%29 + +%3C%2Fspan%3E%0D%0A%0D%0A----%0D%0AOn+Fri+Apr+20+17%3A09%3A28+CDT+2007%2C+Meg atokio+wrote%3A+%0D%0ASubject%3A+Re%3A+Panther+security+update+2007%2F4+and+AirP ort%0D%0A%0D%0Asame+here.%3Cbr%3Ei+have+a+2001+iBook+with+AirPort+card.%3Cbr%3Ea fter+this+update+the+reactivation+of+the+card+fails%2C+only+rebooting+helps.+%28 luckily+enough..%29%3Cbr%3E%3Cbr%3Ethis+is+what+the+system+log+says%3A%3Cbr%3E%3 Cbr%3E%3E%3E%3E%3Cbr%3EApr+20+22%3A47%3A29+localhost+kernel%3A+System+Wake%3Cbr% 3EApr+20+22%3A47%3A29+localhost+kernel%3A+Wake+event+0008%3Cbr%3EApr+20+22%3A47% 3A29+localhost+kernel%3A+AppleNMI+unmask+NMI%3Cbr%3EApr+20+22%3A47%3A29+localhos t+kernel%3A+ADB+present%3A8c%3Cbr%3EApr+20+22%3A47%3A29+localhost+kernel%3A+AirP ortDriver%3A+F%2FW+download+failed%3Cbr%3EApr+20+22%3A47%3A29+localhost+kextd%5B 84%5D%3A+a+different+version+of+dependency+extension+%2FSystem%2FLibrary%2FExten sions%2FAppleAirPort.kext+is+already+loaded%3Cbr%3EApr+20+22%3A47%3A29+localhost +kernel%3A+AirPortDriver%3A+F%2FW+download+failed%3Cbr%3E%3C%3C%3C%3Cbr%3E%3Cbr% 3EFirmware+download+failed.+I+hope+there+is+a+fix+very+fast.+%3Cbr%3E%3Cbr%3E+++ +++...+Kio+%21+%3Cbr%3E+++++++%3Cbr%3E%3Cbr%3E%3Cspan+class%3Dotherinfo%3EiBook+ G3+ +Mac+OS+X+%2810.3.9%29+ +%3C%2Fspan%3E%0D%0A%0D%0A----%0D%0AOn+Sat+Apr+21+15 %3A59%3A09+CDT+2007%2C+old+comm+guy+wrote%3A+%0D%0ASubject%3A+Re%3A+Panther+secu rity+update+2007%2F4+and+AirPort%0D%0A%0D%0AI+had+the+same+things+in+my+system+l og+after+the+update%2C+especially+the+FW+failure+to+load.++On+the+chance+that+th e+two+kernel+extensions+AppleAirPort.kext+and+AppleAirPort2.kext+might+be+in+a+c atfight%2C+I+removed+AppleAirPort2.kext+%28the+actually+older+file%29+from+the+e xtensions+folder+and+rebooted.++This+has+alleviated+the+no-airport+after+wakeup% 2C+at+what+price+I+do+not+know.%3Cbr%3E%3Cbr%3EThe+system+log+now+looks+like+thi s%2C+which+is+what+it+looked+like+before+the+update.%3Cbr%3E%3Cbr%3Elocalhost+ke rnel%3A+System+Sleep%3Cbr%3Elocalhost+kernel%3A+System+Wake%3Cbr%3Elocalhost+ker nel%3A+Wake+event+0008%3Cbr%3Elocalhost+kernel%3A+enableClockSpreading+returned+ with+0%3Cbr%3Elocalhost+kernel%3A+AppleNMI+unmask+NMI%3Cbr%3Elocalhost+kernel%3A +Sound+assertion+%220+%21%3D+err%22+failed+in+%22AppleLegacyAudio%2FAppleTexas2A udio%2FAppleTexas2Audio.cpp%22+at+line+960+goto+Exit%3Cbr%3Elocalhost+kernel%3A+ %10ADB+present%3A8c%3Cbr%3Elocalhost+kernel%3A+AirPortFirmware%3A+start+Sta+f%2F w+download%3Cbr%3Elocalhost+configd%5B115%5D%3A+executing+%2FSystem%2FLibrary%2F SystemConfiguration%2FKicker.bundle%2FContents%2FResources%2Fset-hostname%3Cbr%3 Elocalhost+configd%5B115%5D%3A+posting+notification+com.apple.system.config.netw ork_change%3Cbr%3E%3Cbr%3EThis+is+a+temporary+fix+with+unknown+consequences%2C+a nd+I+pass+the+information+on+as+another+hint+to+the+developers+in+Cupertino.%3Cb r%3E%3Cbr%3EBTW%2C+this+is+not+the+first+or+last+time+that+a+SW+bug+will+evade+t esting+and+make+it+to+the+wild%2C+no+matter+what+organization+is+involved.++Be+t hankful+they+are+as+few+and+far+between+as+they+are.%3Cbr%3E%3Cbr%3E%3Cspan+clas s%3Dotherinfo%3EG3+Blue%2F+Titanium+G4+ +Mac+OS+X+%2810.3.9%29+ +%3C%2Fspan%3E%0 D%0A%0D%0A----%0D%0AOn+Sat+Apr+21+16%3A35%3A06+CDT+2007%2C+Megatokio+wrote%3A+%0 D%0ASubject%3A+Re%3A+Panther+security+update+2007%2F4+and+AirPort%0D%0A%0D%0AHi+ old+comm+guy%2C%3Cbr%3E%3Cbr%3Ethis+is+exactly+as+things+look+like+on+my+ibook%2 7s+HD%2C+and+removing+one+.kext+seems+to+fix+the+problem.+Thanks+a+lot+for+this+ hint%21+Only+one+minor+problem+remains%2C+my+ibook+does+not+connect+with+the+%27 blessed%27+network+after+booting+or+wake+up%2C+i+currently+must+select+my+networ k+each+time.+But+it+is+95%25+fixed.+%3B-%29%3Cbr%3E%3Cbr%3E++...+kio+%21%3Cbr%3E %3Cbr%3E%3E+I+had+the+same+things+in+my+system+log+after+the%3Cbr%3E%3E+update%2 C+especially+the+FW+failure+to+load.++On+the%3Cbr%3E%3E+chance+that+the+two+kern el+extensions%3Cbr%3E%3E+AppleAirPort.kext+and+AppleAirPort2.kext+might+be+in%3C br%3E%3E+a+catfight%2C+I+removed+AppleAirPort2.kext+%28the%3Cbr%3E%3E+actually+o lder+file%29+from+the+extensions+folder+and%3Cbr%3E%3E+rebooted.++This+has+allev iated+the+no-airport+after%3Cbr%3E%3E+wakeup%2C+at+what+price+I+do+not+know.%0D% 0A%0D%0A----%0D%0AOn+Sat+Apr+21+20%3A15%3A31+CDT+2007%2C+old+comm+guy+wrote%3A+% 0D%0ASubject%3A+Re%3A+Panther+security+update+2007%2F4+and+AirPort%0D%0A%0D%0AMy +TiBook+was+doing+that+after+I+moved+from+10.2.8+to+10.3.9%2C+so+I+thought+nothi ng+of+it.+++However%2C+for+a+few+wakeups+after+removing+the+kext+file%2C+it+did+ connect+automatically+to+my+AirPort+on+wakeup%2C+as+it+had+done+in+10.2.8.++My+p reference+is+to+connect+to+my+own+base+station%2C+but+apparently+I+will+have+to+ continue+to+manually+select+the+station+when+I+open+up+the+book.++Not+really+a+p roblem.%3Cbr%3E%3Cbr%3E%3Cspan+class%3Dotherinfo%3EG3+Blue%2F+Titanium+G4+++Mac+ OS+X+%2810.3.9%29+++%3C%2Fspan%3E%0D%0A%0D%0A----%0D%0AOn+Sun+Apr+22+01%3A24%3A5 2+CDT+2007%2C+rwsniffin+wrote%3A+%0D%0ASubject%3A+Re%3A+Panther+security+update+ 2007%2F4+and+AirPort%0D%0A%0D%0AI+haved+the+original+PowerBook+%28with+upgrades% 29+and+had+the+same+problem+%28no+airport+connection+after+wake-up%29+after+this +morning%27s+security+update.+I+took+old+comm+guy%27s+suggestion+and+removed+the +%2FSystem%2FLibrary%2FExtensions%2FAppleAirPort2.kext+file.+It+took+much+longer +than+usual+to+boot+but+seems+to+work+fine.+I%27m+running+in+automatic+and+it+co nnects+to+the+only+network+it+can+find+in+my+house+without+any+intervention+from +me.+Thanks+old+comm+guy%21%0D%0A%0D%0A----%0D%0AOn+Sun+Apr+22+18%3A05%3A50+CDT+ 2007%2C+Victor+Oder+wrote%3A+%0D%0ASubject%3A+Re%3A+Panther+security+update+2007 %2F4+and+AirPort%0D%0A%0D%0AThanks%21%3Cbr%3EiBook+G3+300+is+not+my+most+used+Ma c%2C+but+the+only+one+running+Panther.%3Cbr%3ESo+I+wasn%27t+going+to+spend+a+lot +of+time+on+it.%3Cbr%3ETrashing+Appleairport2.kext+fixed+it.+I+did+nothing+furth er.%3Cbr%3EStill+there+after+sleep.+It+also+reads+out+the+network+name+when+I+wa ke+it+up.+It+hasn%27t+done+that+before.%3Cbr%3EThe+problem+is+solved+for+me.%3Cb r%3E%3Cbr%3E%3Cspan+class%3Dotherinfo%3EiMac+G5+ +Mac+OS+X+%2810.4.3%29+ +SE%2F3 0%2C+iMac+G3+700%2C+PBG4+Ti%2C+iBook+Tangerine.%3C%2Fspan%3E%0D%0A%0D%0A----%0D% 0AOn+Tue+May+01+01%3A21%3A53+CDT+2007%2C+ilaya+wrote%3A+%0D%0ASubject%3A+Re%3A+P anther+security+update+2007%2F4+and+AirPort%0D%0A%0D%0AThanks+for+the+method+to+ fix+the+security+update+snafu.%3Cbr%3E%3Cbr%3EI+found+the+kernel+after+a+while.+ For+others+not+as+savvy+as+you%2C+I+would+note+that+the+airport+extension+kernel +is+in+the+library+folder%2C+as+opposed+to+the+system+folder.%3Cbr%3E%3Cbr%3EI+h ope+this+does+it.%3Cbr%3E%3Cbr%3EI+guess+we+just+got+a+taste+of+what+windows+use rs+eat+too+often%2C+sloppy+work.%3Cbr%3E%3Cbr%3ETom%0D%0A%0D%0A----%0D%0AOn+Tue+ Apr+24+15%3A26%3A17+CDT+2007%2C+old+comm+guy+wrote%3A+%0D%0ASubject%3A+Re%3A+Pan ther+security+update+2007%2F4+and+AirPort%0D%0A%0D%0AJust+an+update+on+the+Apple Airport2.kext+removal+fix+on+my+TiBook.++As+originally+reported%2C+I+tried+the+f ix+at+about+1200+PDT+on+the+21st.++After+rebooting+at+that+time%2C+I+have+not+ex perienced+the+inability+to+connect+to+my+AirPort+network+after+wakeup%2C+and+mos t+of+the+time+the+reconnection+has+been+without+manual+intervention%2C+which+was +always+required+after+the+10.2.8+to+10.3.9+upgrade.%3Cbr%3E%3Cbr%3EAs+noted+ori ginally%2C+this+is+an+unknown+consequences+fix%2C+but+at+least+for+the+moment+it +has+gotten+me+back+in+the+water+for+three+days+now.%0D%0A%0D%0A----%0D%0AOn+Sat +Apr+21+13%3A35%3A26+CDT+2007%2C+Brianna+Sollandry+wrote%3A+%0D%0ASubject%3A+Re% 3A+Panther+security+update+2007%2F4+and+Airport+Extreme%0D%0A%0D%0AI%27ll+chime+ in+with+a+%22me+too%22.%3Cbr%3E%3Cbr%3EPowerbook+G4+with+10.3.9+and+plain+old+%2 8non+extreme%29+Airport+card%3Cbr%3EAfter+a+fresh+boot%2C+wireless+networks+show +up+on+my+Airport+menu.+I+can+connect+and+all+is+well.%3Cbr%3EBut+woe+betide+me+ if+the+computer+ever+goes+to+sleep%3A+after+it+wakes+up%2C+no+wireless+networks+ are+available.%3Cbr%3E%3Cbr%3E-+Turning+on+and+off+Airport%3A+no+effect%3Cbr%3E- +Logging+out+and+back+on%3A+no+effect%3Cbr%3E-+Reboot%3A+wireless+networks+are+a vailable+again+-+until+the+next+wakeup+from+sleep.%3Cbr%3E%3Cbr%3EThis+is+brand+ new+behavior+starting+immediately+after+installing+Security+Update+2007%2F4.%3Cb r%3E%3Cbr%3ESigh.%3Cbr%3E%3Cbr%3E%3Cspan+class%3Dotherinfo%3EPowerbook+G4+ +Mac+ OS+X+%2810.3.9%29+ +%3C%2Fspan%3E%0D%0A%0D%0A----%0D%0AOn+Tue+Apr+24+23%3A11%3A1 0+CDT+2007%2C+dbsantana+wrote%3A+%0D%0ASubject%3A+Re%3A+Panther+security+update+ 2007%2F4+and+Airport+Extreme%0D%0A%0D%0Athat+is+exactly+what+I+get+since+2007%2F 004+security+update.%3Cbr%3E%3Cbr%3EI+did+take+the+2.ktext+out+of+the+folder+but +am+unsure+whether+to+actually+delete+it.+In+any+event+it+hasn%27t+changed+anyth ing.%3Cbr%3E%3Cbr%3EIt%27s+very+annoying+to+have+to+reboot+every+time+the+comput er+goes+to+sleep.%0D%0A%0D%0A----%0D%0AOn+Fri+Apr+20+09%3A20%3A00+CDT+2007%2C+Wa lmo+wrote%3A+%0D%0ASubject%3A+Re%3A+Panther+security+update+2007%2F4+and+Airport +Extreme%0D%0A%0D%0AReading+about+the+problems+this+update+has+created+makes+me+ feel+fortunate+that+I+can%27t+even+load+it%21++Each+time+I+attempt+to+go+through +the+process+I+get+a+warning+sign+and+a+message+that+reads%2C%3Ci%3E+%22You+cann ot+install+this+software+on+this+volume+%28HD%29.++This+volume+does+not+meet+the +requirements+for+this+update.%22%3C%2Fi%3E++I%27m+still+operating+OS+X+10.3.9%2 C+but+this+update+is+supposed+to+cover+it.++Do+you+think+there+will+be+an+update +to+the+update%3F%3Cbr%3E%3Cbr%3E%3Cspan+class%3Dotherinfo%3EG4+Powerbook+ +Mac+ OS+X+%2810.3.9%29+ +%3C%2Fspan%3E%0D%0A%0D%0A----%0D%0AOn+Fri+Apr+20+10%3A42%3A5 1+CDT+2007%2C+Don_Michele1+wrote%3A+%0D%0ASubject%3A+Re%3A+Panther+security+upda te+2007%2F4+and+Airport+Extreme%0D%0A%0D%0AHope+there+will+be+an+update+for+the+ update.+the+interesting+thing+is%2C+if+after+a+reboot%2C+the+network+is+%3Cu%3En ot%3C%2Fu%3E+available%2C+there+will+be+no+probs+with+wake+up+after+sleep.+But+i f+Airport+networking+is+active%2C+immediate+crash+after+wake+up.%3Cbr%3E%3Cbr%3E As+I+told+before%2C+the+crashreporter+is+pointing+to%3A%3Cbr%3Ecom.apple.driver. AirPortFirmware%283.4.9%29+%400x22fb6000%3Cbr%3Ecom.apple.driver.AppleAirPort%28 3.4.7%29%400x3+ff000%3Cbr%3Ecom.apple.iokit.IONetworkingFamily%281.4.0+%29%400x3 e2000%3Cbr%3E%3Cbr%3ESo+I%27m+quite+sure%2C+the+sec+upd+4-2007+killed+my+airport +and+network+drivers%21%3Cbr%3E%3Cbr%3EBTW%3A+Apple+Customer+support+Germany+rec ommends+to+reinstall+the+complete+system%2C+great+idea.%0D%0A%0D%0A----%0D%0AOn+ Sat+Apr+21+11%3A18%3A33+CDT+2007%2C+CBcards+wrote%3A+%0D%0ASubject%3A+Re%3A+Pant her+security+update+2007%2F4+and+Airport+Extreme%0D%0A%0D%0AI+have+tried+to+down load+this+security+update+a+few+times+and+it+continually+stalls+while+it+is+in+p rogress.+Now+that+I+have+read+all+of+your+problems+related+to+it%2C+I+am+not+goi ng+to+bother+with+it+anymore.+Thankfully%2C+it+wouldn%27t+install+on+my+machine% 21+I+hope+you+all+get+your+problems+solved.%3Cbr%3E%3Cbr%3E%3Cbr%3E%3Cbr%3E%3Csp an+class%3Dotherinfo%3EG5+DP+ +Mac+OS+X+%2810.3.9%29+ +3.5gb+RAM%3C%2Fspan%3E%0D %0A%0D%0A----%0D%0AOn+Fri+Apr+20+10%3A59%3A04+CDT+2007%2C+gameduck+wrote%3A+%0D% 0ASubject%3A+Re%3A+Panther+security+update+2007%2F4+and+Airport+Extreme%0D%0A%0D %0AI+am+having+this+issue+as+well.++I+am+using+an+old+iBook+G3.++If+it+goes+to+s leep%2C+I+cannot+even+see+the+network.++Only+a+reboot+works.%3Cbr%3E%3Cbr%3EI+tr ied+giving+Keychain+access+for+the+Base+Station+to+all+apps+without+confirmation +in+Utilities%2C+but+it+says+the+Password+is+incorrect.++%3Cbr%3E%3Cbr%3EI+then+ turned+off+WEP+as+suggested+above%2C+same+problem.%3Cbr%3E%3Cbr%3EI+then+tried+d eleting+the+keychain+items+and+then+rebooting%2C+same+problem.%3Cbr%3E%3Cbr%3EI+ cannot+put+10.4+on+this+machine+due+to+no+dvd+or+firewire.%3Cbr%3E%3Cbr%3ESomeon e++PLEASE+HELP%21%0D%0A%0D%0A----%0D%0AOn+Fri+Apr+20+11%3A30%3A31+CDT+2007%2C+in lineplanet+wrote%3A+%0D%0ASubject%3A+Re%3A+Panther+security+update+2007%2F4+and+ Airport+Extreme%0D%0A%0D%0AAfter+installing+the+security+update+last+night+on+my +Powerbook+G3+%28firewire%29%2C+I+can+no+longer+connect+to+my+wireless+network.+ I+then+tried+connecting+using+my+dial-up+account%2C+and+I+once+again+could+not+c onnect.+The+tec+guy+at+my+internet+provider+said+the+computer+was+%22not+passing +traffic.%22+...+Is+there+a+way+to+remove+the+security+update%3F%0D%0A%0D%0A---- %0D%0AOn+Sat+Apr+21+00%3A05%3A01+CDT+2007%2C+PISMO+LIVES+wrote%3A+%0D%0ASubject% 3A+Re%3A+Panther+security+update+2007%2F4+and+Airport+Extreme%0D%0A%0D%0AAfter+i nstalling+the+security+update+last+night+on+my+Powerbook+G3+%28firewire%29%2C+I+ could+no+longer+connect+to+my+wireless+network+either.+It+was+as+if+the+Security +Update+had+diabled+my+wireless+card.%3Cbr%3E%3Cbr%3EI+accessed+this+thread+on+m y+G5+iMac+tonight+and+noted+someone%27s+comment+about+repairing+permissions.+%3C br%3E%3Cbr%3ESo+I+restarted+my+PISMO+in+single-user+mode+and+ran+Applejack.+I+ty ped+%22applejack+AUTO+restart%22+and+when+my+PISMO+restarted%2C+my+wireless+conn ection+was+back%2C+and+everything+is+fine.%3Cbr%3E%3Cbr%3EThanks+again+to+the+Ap plejack+people%3B+you%27ve+bailed+me+out+once+again%21%0D%0A%0D%0A----%0D%0AOn+S at+Apr+21+19%3A13%3A38+CDT+2007%2C+Nman+wrote%3A+%0D%0ASubject%3A+Re%3A+Panther+ security+update+2007%2F4+and+Airport+Extreme%0D%0A%0D%0AWorks%21++Great+suggesti on.++%22auto%22+or+%22AUTO%22+does+the+job.%3Cbr%3E%3Cbr%3E%3E+So+I+restarted+my +PISMO+in+single-user+mode+and+ran%3Cbr%3E%3E+Applejack.+I+typed+%22applejack+AU TO+restart%22+and+when%3Cbr%3E%3E+my+PISMO+restarted%2C+my+wireless+connection+w as+back%2C%3Cbr%3E%3E+and+everything+is+fine.%0D%0A%0D%0A----%0D%0AOn+Sat+Apr+21 +19%3A19%3A20+CDT+2007%2C+Matthew+Rossi+wrote%3A+%0D%0ASubject%3A+Re%3A+Panther+ security+update+2007%2F4+and+Airport+Extreme%0D%0A%0D%0AHello%2C%3Cbr%3E%3Cbr%3E I+have+having+this+problem+as+well.+I+have+an+iBook+G3+500Mhz+running+10.3.9+and +when+it+wakes+from+sleep+there+it+doesn%27t+find+my+Wireless+connections+until+ I+reboot.+I+know+my+router+is+fine+because+I+have+many+other+devices+that+use+wi reless.%3Cbr%3E%3Cbr%3EI+hope+a+fix+is+found+for+this+soon.%0D%0A%0D%0A----%0D%0 AOn+Sat+Apr+21+21%3A49%3A18+CDT+2007%2C+LonesomeMac+wrote%3A+%0D%0ASubject%3A+Re %3A+Panther+security+update+2007%2F4+and+Airport+Extreme%0D%0A%0D%0AThanks%2C+PI SMO%3B+this+seems+to+have+worked+for+me%2C+at+least+for+the+last+few+hours+anywa y.++I%27ve+put+my+PowerBook+through+several+sleep+cylces+of+varying+lengths+with +no+AirPort+problems+so+far.%3Cbr%3E%3Cbr%3EI+ran+Applejack+per+instructions+%28 single-user+mode%2C+%22a%22+for+auto%2C+manual+reboot%29.++Site%3A+%3Ca+href%3D% 22http%3A%2F%2Fapplejack.sourceforge.net%22%3EApplejack%3C%2Fa%3E%3Cbr%3E%3Cbr%3 EWorth+a+try+if+nothing+else+has+worked+for+you.++I+have+an+AirPort+card%2C+no+b ase+station.%3Cbr%3E%3Cbr%3E---------%3Cbr%3E%3Cbr%3E%3E+After+installing+the+se curity+update+last+night+on+my%3Cbr%3E%3E+Powerbook+G3+%28firewire%29%2C+I+could +no+longer+connect+to%3Cbr%3E%3E+my+wireless+network+either.+It+was+as+if+the+Se curity%3Cbr%3E%3E+Update+had+diabled+my+wireless+card.%3Cbr%3E%3E+%3Cbr%3E%3E+I+ accessed+this+thread+on+my+G5+iMac+tonight+and%3Cbr%3E%3E+noted+someone%27s+comm ent+about+repairing+permissions.%3Cbr%3E%3E+%3Cbr%3E%3E+So+I+restarted+my+PISMO+ in+single-user+mode+and+ran%3Cbr%3E%3E+Applejack.+I+typed+%22applejack+AUTO+rest art%22+and+when%3Cbr%3E%3E+my+PISMO+restarted%2C+my+wireless+connection+was+back %2C%3Cbr%3E%3E+and+everything+is+fine.%3Cbr%3E%3E+%3Cbr%3E%3E+Thanks+again+to+th e+Applejack+people%3B+you%27ve+bailed%3Cbr%3E%3E+me+out+once+again%21%3Cbr%3E%3C br%3E%3Cbr%3E%3Cspan+class%3Dotherinfo%3EPowerBook+500+MHz+PPC+G3+ +Mac+OS+X+%28 10.3.9%29+ +%3C%2Fspan%3E%0D%0A%0D%0A----%0D%0AOn+Wed+Apr+25+11%3A11%3A20+CDT+20 07%2C+Hanuman+Hoffman+wrote%3A+%0D%0ASubject%3A+Re%3A+Panther+security+update+20 07%2F4+and+Airport+Extreme%0D%0A%0D%0ASince+I+got+my+TiBook+new+in+early+2003%2C +I+have+never+had+a+problem+with+any+updates.+Always+repairing+permissions.+%3Cb r%3EI+downloaded+update+Sec004+and+waited+and+watched+this+thread+before+install ing.%3Cbr%3EBased+on+%22Pismo+Lives%22+I+downloaded+applejack+and+installed.%3Cb r%3EI+have+two+external+clones+of+my+system%2C+so+I+installed+the+Sec004+on+one+ of+them+knowing+I+had+safety+net.+%3Cbr%3EAfter+the+install%2C+I+had+wireless+si gnal.+I+put+system+to+sleep+and+upon+waking%2C+signal+was+gone+and+had+kernel+pa nic+message+to+reboot.%3Cbr%3EI+rebooted+and+had+airport+until+sleep+and+waking. +No+kernel+panic+this+time.%3Cbr%3ERebooted%2C+repaired+permissions+with+same+re sults.%3Cbr%3ENo+wireless.+Not+a+router+%28D-link%29+issue+as+my+Pismo+was+unaff ected.%3Cbr%3ERebooted+in+Single+User+Mode+and+ran+%27applejack%27+in+auto+mode. %3Cbr%3E%3Cbr%3ESUCCESS.+%3Cbr%3E%3Cbr%3EI+have+put+to+sleep+numerous+times+and+ left+in+sleep+mode+overnight+without+any+failures.%3Cbr%3E%3Cbr%3EWill+now+updat e+main+system.+Still+have+another+clone%2C+just+in+case.%3Cbr%3E%3Cbr%3EThanks+P ismo%21%3Cbr%3EThanks+Applejack%2C+I+am+definitely+contributing+there.%3Cbr%3ETh anks+to+all+contributing+here.%3Cbr%3E%3Cbr%3E%3Cspan+class%3Dotherinfo%3E15%22+ G4+PB+Titanium+1ghz+1gb+RAM+120gb+HD+ +Mac+OS+X+%2810.3.9%29+ +Pismo+400+512k+RA M+40Gb+HD+10.3.9%3C%2Fspan%3E%0D%0A%0D%0A----%0D%0AOn+Fri+Apr+20+12%3A49%3A39+CD T+2007%2C+gameduck+wrote%3A+%0D%0ASubject%3A+Re%3A+Panther+security+update+2007% 2F4+and+Airport+Extreme%0D%0A%0D%0ASOLVED+for+me%21%3Cbr%3E%3Cbr%3EI+called+Appl e+and+got+a+high+level+tech+on+the+phone.++He+said+that+the+Security+Update+has+ tighter+Wireless+Security+and+works+differently+with+Panther+than+with+Tiger.++T he+Tiger+OS+handles+security+differently+and+thus+no+issues+for+them.%3Cbr%3E%3C br%3EHere+is+what+he+had+me+do%3A%3Cbr%3E%3Cbr%3E1%29++Go+to+Network+Preferences %2C+Airport.++Manually+delete+the+old+Network+name+that+is+in+the+box.++Then%2C+ manually+type+in+the+name+again+and+password+if+necessary.%3Cbr%3E%3Cbr%3E2%29++ Restart+computer%3Cbr%3E%3Cbr%3EThat+worked+for+me+even+after+waking+from+sleep+ until+I+turned+WEP+back+on%2C+then+the+issue+came+back.%3Cbr%3E%3Cbr%3ESo+he+had +me+do+the+same+thing+in+steps+1+and+2+again+%28re-add+network+name+and+restart% 29+and+now+it+is+working+fine+again+after+sleeping+and+restarts.%3Cbr%3E%3Cbr%3E I+am+using+%27Join+a+specific+Network%27+but+he+said+%27Automatic%27+would+be+th e+same+procedure.%3Cbr%3E%3Cbr%3EHe+then+game+me+some+tips+on+these+issues%3A%3C br%3E%3Cbr%3E1%29++After+a+%27Security+Update%27%2C++delete+the+old+network+you+ are+using+from+%27Network+Preferences%27+and+then+re-add+it+manually.++After+tha t%2C+restart+the+computer.++%3Cbr%3E%3Cbr%3E2%29++If+you+update+the+Base+Station %2C+do+the+same+thing+afterwards++%28delete+the+old+network+you+are+using+from+% 27Network+Preferences%27+and+then+re-add+it+manually.++After+that%2C+restart+the +computer%29.+%3Cbr%3E%3Cbr%3EIf+you+do+not+do+these+steps%2C+the+computer+uses+ the+old+network+settings+and+will+not+see+the+network.%3Cbr%3E%3Cbr%3EAnyhow+I+h ope+this+helps+someone.%0D%0A%0D%0A----%0D%0AOn+Fri+Apr+20+13%3A02%3A03+CDT+2007 %2C+gameduck+wrote%3A+%0D%0ASubject%3A+Re%3A+Panther+security+update+2007%2F4+an d+Airport+Extreme%0D%0A%0D%0Anever+mind%2C+the+issue+came+back+after+waking.++Cr ap.%3Cbr%3E%3Cbr%3ECan+anyone+help+here%3F%0D%0A%0D%0A----%0D%0AOn+Fri+Apr+20+13 %3A08%3A47+CDT+2007%2C+roam+wrote%3A+%0D%0ASubject%3A+Re%3A+Panther+security+upd ate+2007%2F4+and+Airport+Extreme%0D%0A%0D%0AHi+you+guys%2C%3Cbr%3E%3Cbr%3EYou+co uld+try+going+a+bit+further+and+resetting+Airport+as+detailed+here%3A%3Cbr%3E%3C a+href%3D%22http%3A%2F%2Fdocs.info.apple.com%2Farticle.html%3Fartnum%3D108044%22 %3Ehttp%3A%2F%2Fdocs.info.apple.com%2Farticle.html%3Fartnum%3D108044%3C%2Fa%3E%3 Cbr%3E%3Cbr%3Eor+resetting+Airport+base+station%2C%3Cbr%3E%3Ca+href%3D%22http%3A %2F%2Fdocs.info.apple.com%2Farticle.html%3Fartnum%3D107451%22%3Ehttp%3A%2F%2Fdoc s.info.apple.com%2Farticle.html%3Fartnum%3D107451%3C%2Fa%3E%3Cbr%3E%3Cbr%3EI+hop e+that+helps.%3Cbr%3E%3Cbr%3Eregards+roam%0D%0A%0D%0A----%0D%0AOn+Fri+Apr+20+13% 3A19%3A32+CDT+2007%2C+WillParton+wrote%3A+%0D%0ASubject%3A+Re%3A+Panther+securit y+update+2007%2F4+and+Airport+Extreme%0D%0A%0D%0AAfraid+Gameduck%27s+suggestion+ didn%27t+work+for+me+either.+I%27ve+also+power-cycled+the+basestation%2C+but+tha t+made+no+difference.+%3Cbr%3E%3Cbr%3E%3Cspan+class%3Dotherinfo%3EPowerbook+G4+T itanium+++Mac+OS+X+%2810.3.9%29+++%3C%2Fspan%3E%3Cbr%3E%3Cbr%3E%3Cspan+class%3Do therinfo%3EPowerbook+G4+Titanium+++Mac+OS+X+%2810.3.9%29+++%3C%2Fspan%3E%0D%0A%0 D%0A----%0D%0AOn+Fri+Apr+20+14%3A18%3A45+CDT+2007%2C+gameduck+wrote%3A+%0D%0ASub ject%3A+Re%3A+Panther+security+update+2007%2F4+and+Airport+Extreme%0D%0A%0D%0AWe ll%2C+I+got+another+guy+on+the+phone+and+we+did%3A%3Cbr%3E%3Cbr%3EPMU+Reset%3Cbr %3E%3Cbr%3ERepair+Permissions%3Cbr%3E%3Cbr%3Etrashed+Home%2Flibrary%2Fkeychains+ folder%3Cbr%3E%3Cbr%3EIt+seems+to+be+working+now%2C+but+who+knows+for+how+long.% 3Cbr%3E%3Cbr%3ENext+step+he+said+was+a+Repair+Disc+from+the+OSX+Panther+Disc+1%2 C+then+an+Archive+Install+if+that+doesnt+work.%3Cbr%3E%3Cbr%3ECripes.%0D%0A%0D%0 A----%0D%0AOn+Fri+Apr+20+16%3A27%3A40+CDT+2007%2C+Forbidden+Donut+wrote%3A+%0D%0 ASubject%3A+Re%3A+Panther+security+update+2007%2F4+and+Airport+Extreme%0D%0A%0D% 0ASame+problems+too+after+putting+the+thing+to+sleep.++My+network+just+disappear s+and+can%27t+connect+unless+I+restart.+%3Cbr%3E%3Cbr%3EAlso%2C+if+I+try+to+log+ out+or+switch+to+a+different+user%2C+the+computer+freezes+and+I+have+to+unplug+t he+computer+to+restart.++Anyone+else+have+this+experience%3F++%3Cbr%3E%3Cbr%3EWh at+the+**%21++Are+we+turning+in+to+a+PC%3F%0D%0A%0D%0A----%0D%0AOn+Fri+Apr+20+17%3A38%3A5 9+CDT+2007%2C+gameduck+wrote%3A+%0D%0ASubject%3A+Re%3A+Panther+security+update+2 007%2F4+and+Airport+Extreme%0D%0A%0D%0AAlright%2C+I+think+I+finally+have+this+fi xed.%3Cbr%3E%3Cbr%3EAfter+doing%3A%3Cbr%3E%3Cbr%3EManual+re-add+of+the+network+i n+Net+Pref%3Cbr%3E%3Cbr%3Erestart%2C+then%3A%3Cbr%3E%3Cbr%3EBase+Station+passwor d+change+and+Reset%3Cbr%3E%3Cbr%3EAnother+Manual+re-add+of+the+network+in+Net+Pr ef%3Cbr%3E%3Cbr%3EAnother+Restart%3Cbr%3E%3Cbr%3EPMU+Reset%3Cbr%3E%3Cbr%3ERepair +Permissions%3Cbr%3E%3Cbr%3ETrashed+Home%2Flibrary%2Fkeychains+folder%3Cbr%3E%3C br%3EIt+then+seemed+to+be+working+on+the+%27Automatic%27+setting+in+Net+Pref.%3C br%3E%3Cbr%3EAfter+getting+my+Panther+Disc+1%2C+and+calling+Apple+again+to+see+i f+I+needed+to+use+Disc+Repair%2C+I+then+talked+to+a+third+guy+who+was+a+Network+ Specialist.++%3Cbr%3E%3Cbr%3EHe+said+that+it+should+be+set+on+%27Join+a+Specific +Network%27+in+Net+Prefs+if+you+are+using+your+home+Network+and+only+have+one+ne twork.++So%2C++I+did+that%2C+entered+the+Network+password%2C+applied+that%2C+res tarted+and+have+not+had+the+issue+since%2C+even+after+a+reboot+and+hours+of+waki ng+it.%3Cbr%3E%3Cbr%3EHe+said+also+that+these+Security+Updates+are+not+tested+on +old+hardware+%28ie%2C+my+iBook+G3+graphite%29.++He+said+that+by+installing+thes e+updates%2C+you+are+rolling+the+dice+that+it+may+cause+an+issue.%3Cbr%3E%3Cbr%3 EI+personally+am+not+doing+any+more+Security+Updates+EVER%21%3Cbr%3E%3Cbr%3EI+am +not+sure+if+it+was+the+steps+above%2C+or+simply+trashing+the+Keychains+and+then +setting+the+specific+network%2C+and+neither+are+the+Apple+people.%3Cbr%3E%3Cbr% 3EI+will+check+back+if+it+returns.%0D%0A%0D%0A----%0D%0AOn+Fri+Apr+20+18%3A30%3A 12+CDT+2007%2C+Forbidden+Donut+wrote%3A+%0D%0ASubject%3A+Re%3A+Panther+security+ update+2007%2F4+and+Airport+Extreme%0D%0A%0D%0AUnbelievable%21+How+is+it+that+th ey+suggest+we+update+our+computer+and+then+tell+us+it+hasn%27t+been+tested+on+th e+%22older%22+ones.++3.9+is+not+that+out+of+date.%3Cbr%3E%3Cbr%3EIf+that%27s+the +case%2C+they+should+not+make+these+updates+show+up++older+OS+X+versions.++%3Cbr %3E%3Cbr%3EDoes+this+mean+there+will+be+no+patch+to+fix+our+problem+and+we+are+s tuck+with+it+since+our+system+is+no+longer+supported%3F%0D%0A%0D%0A----%0D%0AOn+ Fri+Apr+20+18%3A43%3A40+CDT+2007%2C+DonMichele1+wrote%3A+%0D%0ASubject%3A+Re%3A+Panther+security+update+2007%2F4+and+Ai rport+Extreme%0D%0A%0D%0AI+will+not+hope+so%21+%3Cbr%3E%3Cbr%3EAfter+2+successfu l+%22wakeups%22+after+sleep+same+situation+as+before%3A+Kernelpanic+and+crashlog +reports+mentioning+airport+driver+and+airport+firmware+failed+to+be+loaded.+%3C br%3E%3Cbr%3EPlease%2C+Apple%2C+fix+this%2C+maybe+you+forgot+that+the+iBook+G3+8 00+comes+only+with+an+airport+standard+11+MB+card%3F%3Cbr%3E%3Cbr%3EIt%27s+my+fi rst+time+with+such+a+severe+failure+with+a+security+update.%0D%0A%0D%0A----%0D%0 AOn+Fri+Apr+20+20%3A15%3A28+CDT+2007%2C+weing+wrote%3A+%0D%0ASubject%3A+Re%3A+Pa nther+security+update+2007%2F4+and+Airport+Extreme%0D%0A%0D%0AThis+is+a+real+dra g+.+I+have++some++older++g+3+laptops+I+use+for+specific+tasks+that++i+don%27t+ru n+10.4+on+.+%3Cbr%3E+I+get+it+if+you+are+trying+to+kluge+a+OS+into+a+machine+tha t+doesnt+meet+the+system+requirements+that+its+tough+luck++.+But+if+it++can+nati vley+load+the+OS%2C+they+should+test.++I+would+guess+Apple+has+less+than+40+piec es+of+hardware+they+would+have+to+test+that++this+might+be+a+issue+on+.%3Cbr%3E+ Sorry++Apple+.+No+excuse.%0D%0A%0D%0A----%0D%0AOn+Sat+Apr+21+10%3A16%3A50+CDT+20 07%2C+Bob+Bujic+wrote%3A+%0D%0ASubject%3A+Re%3A+Panther+security+update+2007%2F4 +and+Airport+Extreme%0D%0A%0D%0AGameduck%3A+%3Ci%3E%22I+personally+am+not+doing+ any+more+Security+Updates+EVER%21%22%3Cbr%3E%3C%2Fi%3E%3Cbr%3EI+do+agree+with+yo u.+Previous+security+upgrade+killed+10.3.9+on+an++Wallstreet+II+where+Panther+wa s+installed+using+XPostFacto.+All+previous+updates+on+that+machine+went+smoothly .%3Cbr%3E%3Cbr%3EThis+new+screw+up+is+%27not+allowed%27+in+a+Mac+world.+When+I+t hink+of+apple%2C+I+don%27t+think+of+a+lemon.%3Cbr%3E%3Cbr%3ESory+for+the+troll.% 3Cbr%3E%3Cbr%3EBob%0D%0A%0D%0A----%0D%0AOn+Sat+Apr+21+14%3A54%3A40+CDT+2007%2C+J ianli+Dai+wrote%3A+%0D%0ASubject%3A+Re%3A+Panther+security+update+2007%2F4+and+A irport+Extreme%0D%0A%0D%0AGameduck%2C%3Cbr%3EWhich+keychains+folder+did+you+tras h%3F+there+is+one+in+the+HD%3Alibrary.+there+is+another+in+my+user%3A+library.%3 Cbr%3EThis+mess+reminds+me+how+apple+trashed+users+with+os9%2C+10.1+%2C+10.2+and +now+10.3.%0D%0A%0D%0A----%0D%0AOn+Sat+Apr+21+16%3A19%3A45+CDT+2007%2C+gameduck+ wrote%3A+%0D%0ASubject%3A+Re%3A+Panther+security+update2007%2F
    p.s. I previewed this thread and used the p class="code" for the html tags around these long urls. Doesn't that work anymore or am I misremembering the permitted tag?

    Thanks for your answer,
    It's an web application made in Oracle ALBPM and which uses JSPs to entering data. The insert is made on the database object inside the ALBPM studio:
    INSERT INTO <<ALBPM SQLQuery object>> ( field-1,field-n) VALUES ( value-1 value-n) );
    I read the link you posted, but I'm still confused. I did the following:
    SELECT  FIELD, LENGTH(FIELD), LENGTHB(FIELD)
    FROM    TABLE
    I was expeting to get a larger value in LENGTHB(FIELD), but the values are equal. I can only insert 2000 characters from the application, so, I was expecting a LENGTHB 2x greater than LENGTH(FIELD).

  • Right way to communicate with a socket server (TCP/IP)

    Hi,
    I used to write data from my J2ME socket client to a J2EE socket server with writeUTF(). In this way I can send (and receive) directly Strings.
    When I need an XML file I ask the server with something like os.writeUTF(GIVE_ME_XML_FILE) and I use an XML parser with this socket InputStream.
    I was wondering if it's the right way to proceed ....?
    How do you guys communicate with a server when you need "to talk" a lot ? Do you use only HTTP requests or (if you are allowed to) do you use Socket with writeUTF ?
    Just to know if I'm completely wrong....and if I gonna have unsolicited issues ...
    Thanks..

    AdrienD wrote:
    When I need an XML file I ask the server with something like os.writeUTF(GIVE_ME_XML_FILE) and I use an XML parser with this socket InputStream.
    I was wondering if it's the right way to proceed ....?No, it is not. Read the writeUTF api docs, and you'll know why!
    How do you guys communicate with a server when you need "to talk" a lot ? Do you use only HTTP requests or (if you are allowed to) do you use Socket with writeUTF ?There is answer to this question. it al depends on what data gets send where, how often, and how large..

  • SMS_WSUS_CONFIGURATION_MANAGER - MessageID 6600 - The request failed with HTTP status 503: Service Unavailable

    Hi all,
    knowning that there are already a lot of posts concerning above message, I have to write an additional one as I could not find a solution on the web yet.
    Situation:
    Windows Server 2008 forest including empty root and two child domains, one child domain does have SCCM SP1 (central primary site WND) installed on W2k8 x64 machine including WSUS 3.0 SP1 => everything is working fine.
    Second child domain also contains a SCCM SP1 server  (primary site HUN) running on W2k8 x64 and is defined as child site of central site WND => everything is working fine too - except Software Updates.
    WSUS 3.0 SP1 installed on both SCCM servers by creating additional web site (not using "defautl web site") and configured ports 8530 and 8531 (SSL not used!). No proxy necessary/used. All WSUS 3.0 requirements for W2k8 are installed (IIS roles)
    Error:
    SMS_WSUS_CONFIGURATION_MANAGER - MessageID 6600:
    SMS WSUS Configuration Manager failed to configure upstream server settings on WSUS Server "xxxx0003".
    Possible cause: WSUS Server version 3.0 SP1 and above is not installed or cannot be contacted.
    Solution: Verify that the WSUS Server version 3.0 SP1 or greater is installed. Verify that the IIS ports configured in SMS are same as those configured on the WSUS IIS website.
    wsusutil checkhealth =>OK
    downloading updates from WSUS at central site (SUSDB and WSUS folder equal in size) =>OK
    wsus admin console able to connect and configuration possible => OK
    IIS ports configured within SMS are equal to those configured for WSUS website
    SCCM config (using Configuration Manager Console) does look correct - ConfigMgr Software Update Point role properties and Software Update Point Component properties
    wcm.log does report an error: (SCCM Log files at the end.)
    "The request failed with HTTP status 503: Service Unavailable"
    IIS log files of both websites (default web site and WSUS Administration website) do not show any errors.
    Questions:
    What else should I look at? (registyr, SUSDB content,..)
    What exactly does happen during the attempt to configure the upstream server by the SMS_WSUS_Configuration_Manager component? I guess a SMS process tries to contact a webservice - would it be possible to debug in more detail ?
    And finally - Who does know the solution ?
    wcm.log:
    Found WSUS Admin dll of assembly version Microsoft.UpdateServices.Administration, Version=3.0.6000.273, Major Version = 0x30000, Minor Version = 0x17700111 SMS_WSUS_CONFIGURATION_MANAGER 16.07.2008 12:49:47 4468 (0x1174)
    Found WSUS Admin dll of assembly version Microsoft.UpdateServices.Administration, Version=3.1.6001.1, Major Version = 0x30001, Minor Version = 0x17710001 SMS_WSUS_CONFIGURATION_MANAGER 16.07.2008 12:49:47 4468 (0x1174)
    The installed WSUS build has the valid and supported WSUS Administration DLL assembly version (3.1.6001.65) SMS_WSUS_CONFIGURATION_MANAGER 16.07.2008 12:49:47 4468 (0x1174)
    System.Net.WebException: The request failed with HTTP status 503: Service Unavailable.~~   at Microsoft.UpdateServices.Administration.AdminProxy.CreateUpdateServer(Object[] args)~~   at Microsoft.UpdateServices.Administration.AdminProxy.GetUpdateServer(String serverName, Boolean useSecureConnection, Int32 portNumber)~~   at Microsoft.SystemsManagementServer.WSUS.WSUSServer.ConnectToWSUSServer(String ServerName, Boolean UseSSL, Int32 PortNumber) SMS_WSUS_CONFIGURATION_MANAGER 16.07.2008 12:49:47 4468 (0x1174)
    Remote configuration failed on WSUS Server. SMS_WSUS_CONFIGURATION_MANAGER 16.07.2008 12:49:47 4468 (0x1174)
    STATMSG: ID=6600 SEV=E LEV=M SOURCE="SMS Server" COMP="SMS_WSUS_CONFIGURATION_MANAGER" SYS=xxxx0003 SITE=HUN PID=2424 TID=4468 GMTDATE=Mi Jul 16 10:49:47.758 2008 ISTR0="xxxx0003" ISTR1="" ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=0 SMS_WSUS_CONFIGURATION_MANAGER 16.07.2008 12:49:47 4468 (0x1174)
    Waiting for changes for 59 minutes SMS_WSUS_CONFIGURATION_MANAGER 16.07.2008 12:49:47 4468 (0x1174)
    wsusctrl.log (looks fine to me - is able to connect to local WSUS !):
    SMS_EXECUTIVE started SMS_WSUS_CONTROL_MANAGER as thread ID 6156 (0x180C). SMS_WSUS_CONTROL_MANAGER 16.07.2008 12:04:01 2732 (0x0AAC)
    This is a WSUS Role as WSUS registry key exists. SMS_WSUS_CONTROL_MANAGER 16.07.2008 12:04:01 6156 (0x180C)
    Found WSUS Admin dll of assembly version Microsoft.UpdateServices.Administration, Version=3.0.6000.273, Major Version = 0x30000, Minor Version = 0x17700111 SMS_WSUS_CONTROL_MANAGER 16.07.2008 12:04:01 6156 (0x180C)
    Found WSUS Admin dll of assembly version Microsoft.UpdateServices.Administration, Version=3.1.6001.1, Major Version = 0x30001, Minor Version = 0x17710001 SMS_WSUS_CONTROL_MANAGER 16.07.2008 12:04:01 6156 (0x180C)
    The installed WSUS build has the valid and supported WSUS Administration DLL assembly version (3.1.6001.65) SMS_WSUS_CONTROL_MANAGER 16.07.2008 12:04:01 6156 (0x180C)
    Successfully connected to local WSUS server SMS_WSUS_CONTROL_MANAGER 16.07.2008 12:04:01 6156 (0x180C)
    Local WSUS Server Proxy settings are correctly configured as Proxy Name  and Proxy Port 80 SMS_WSUS_CONTROL_MANAGER 16.07.2008 12:04:01 6156 (0x180C)
    Waiting for changes for 0 minutes SMS_WSUS_CONTROL_MANAGER 16.07.2008 12:04:01 6156 (0x180C)
    Timed Out... SMS_WSUS_CONTROL_MANAGER 16.07.2008 12:04:01 6156 (0x180C)
    Found WSUS Admin dll of assembly version Microsoft.UpdateServices.Administration, Version=3.0.6000.273, Major Version = 0x30000, Minor Version = 0x17700111 SMS_WSUS_CONTROL_MANAGER 16.07.2008 12:04:01 6156 (0x180C)
    Found WSUS Admin dll of assembly version Microsoft.UpdateServices.Administration, Version=3.1.6001.1, Major Version = 0x30001, Minor Version = 0x17710001 SMS_WSUS_CONTROL_MANAGER 16.07.2008 12:04:01 6156 (0x180C)
    The installed WSUS build has the valid and supported WSUS Administration DLL assembly version (3.1.6001.65) SMS_WSUS_CONTROL_MANAGER 16.07.2008 12:04:01 6156 (0x180C)
    Successfully connected to local WSUS server SMS_WSUS_CONTROL_MANAGER 16.07.2008 12:04:01 6156 (0x180C)
    Local WSUS Server Proxy settings are correctly configured as Proxy Name  and Proxy Port 80 SMS_WSUS_CONTROL_MANAGER 16.07.2008 12:04:01 6156 (0x180C)
    Successfully connected to local WSUS server SMS_WSUS_CONTROL_MANAGER 16.07.2008 12:04:01 6156 (0x180C)
    There are no unhealthy WSUS Server components on WSUS Server xxxx0003 SMS_WSUS_CONTROL_MANAGER 16.07.2008 12:04:01 6156 (0x180C)
    Successfully checked database connection on WSUS server xxxx0003 SMS_WSUS_CONTROL_MANAGER 16.07.2008 12:04:02 6156 (0x180C)
    Waiting for changes for 57 minutes SMS_WSUS_CONTROL_MANAGER 16.07.2008 12:04:02 6156 (0x180C)
    wsyncmgr.log (as a result of being not able to configure upstream server I guess):
    STATMSG: ID=6701 SEV=I LEV=M SOURCE="SMS Server" COMP="SMS_WSUS_SYNC_MANAGER" SYS=xxxx0003 SITE=HUN PID=2424 TID=4476 GMTDATE=Mi Jul 16 10:03:51.481 2008 ISTR0="" ISTR1="" ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=0 SMS_WSUS_SYNC_MANAGER 16.07.2008 12:03:51 4476 (0x117C)
    Sync failed: WSUS server not configured. Source: CWSyncMgr:oSync SMS_WSUS_SYNC_MANAGER 16.07.2008 12:08:51 4476 (0x117C)
    STATMSG: ID=6703 SEV=E LEV=M SOURCE="SMS Server" COMP="SMS_WSUS_SYNC_MANAGER" SYS=xxxx0003 SITE=HUN PID=2424 TID=4476 GMTDATE=Mi Jul 16 10:08:51.636 2008 ISTR0="CWSyncMgr:oSync" ISTR1="WSUS server not configured" ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=0 SMS_WSUS_SYNC_MANAGER 16.07.2008 12:08:51 4476 (0x117C)

    I just experienced the exact same scenario.  After much digging I found that csakg6so posted a fix at
    Windoows-Noob
    Run Internet Explorer as the SYSTEM account (psexec -s -d -i cmd.exe & C:\Program Files\Internet Explorrer\iexplore.exe)
    Go to internet options
    Go to conections
    Go to LAN settings
    Uncheck all boxes
    The original post said to reboot, but that wasn't necessary for me.
    After initiating a manual Software Update sync the WCM.log and WSyncMgr.log errors do not return and new updates are synchronized.

  • Problems connecting to SSRS using IReportServerCredentials, the request failed with http status 401: unauthorized

    We have a hosted SSRS server and we access it's reports using the reportviewer in an ASP.net application.
    We are getting the error: The request failed with HTTP status 401: Unauthorized. When trying to run one of the reports. I have confirmed that the login details work when logging into the report manager page directly.
    I have implemented an instance of IReportServerCredentials in a separate class (below) and I call it from the page before it tries to access the report. I'm not sure if this is all I need but can't seem to find any other info.
    I have managed to gain access connecting to the external server from my PC and accessed the report, but when I promote the code to production and run it from there on my local PC I get the unauthorized message again: the request failed with http status
    401: unauthorized
    The class:
    [Serializable]
    public sealed class MyReportServerCredentials :
    IReportServerCredentials
    public WindowsIdentity ImpersonationUser
    get
    // Use the default Windows user. Credentials will be
    // provided by the NetworkCredentials property.
    return null;
    public ICredentials NetworkCredentials
    get
    // Read the user information from the Web.config file.
    // By reading the information on demand instead of
    // storing it, the credentials will not be stored in
    // session, reducing the vulnerable surface area to the
    // Web.config file, which can be secured with an ACL.
    // User name
    string userName =
    ConfigurationManager.AppSettings
    ["MyReportViewerUser"];
    if (string.IsNullOrEmpty(userName))
    throw new Exception(
    "Missing user name from web.config file");
    // Password
    string password =
    ConfigurationManager.AppSettings
    ["MyReportViewerPassword"];
    if (string.IsNullOrEmpty(password))
    throw new Exception(
    "Missing password from web.config file");
    // Domain
    string domain =
    ConfigurationManager.AppSettings
    ["MyReportViewerDomain"];
    return new NetworkCredential(userName, password);
    public bool GetFormsCredentials(out Cookie authCookie,
    out string userName, out string password,
    out string authority)
    authCookie = null;
    userName = null;
    password = null;
    authority = null;
    // Not using form credentials
    return false;
    The call to the class, just before the report is run:
    if (GetConnection.GetConnectionString().ToString().Contains("IP of external server removed"))
    invoiceviewer.ServerReport.ReportServerCredentials = new MyReportServerCredentials();
    We have tried so many things here, we don't even care whether the server authenticates or not but it appears to be as standard. Our hosting company has also drawn a blank and changed so many settings to no ava

    Hi Nasa1999,
    According to your description, you are getting the error: The request failed with HTTP status 401: Unauthorized when you access the report using the ReportViewer in an ASP.net application.
    Regarding the 401 error, it could cause by the Service Principal Name(SPN) for the account the Reporting Services is running under hasn’t been registered when the Reporting Services is configured to use Kerberos authentication. So in your scenario,
    please check if you are using Kerberos authentication. If that is a case, please make sure SPN is configured correctly. For more information, please refer to the similar thread:
    The request failed with HTTP status 401: Unauthorized. in SSRS.
    If issue persists, please check the Reporting Service error log (default location: %programfiles%\Microsoft SQL Server\<SQL Server Instance>\Reporting Services\LogFiles) around the time that the error message thrown out.
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu
    Qiuyun Yu
    TechNet Community Support

  • Error in SOAP Receiver Adapter with HTTPS

    Dear All,
    I am developing a SOAP to SOAP scenario with HTTPS i.e. client without authentication and I am facing an issue with the receiver adapter. Few messages fails in the receiver side while rest are successful.
    Error - Delivery of the message to the application using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: Failed to get the input stream from socket: iaik.security.ssl.SSLCertificateException: Peer certificate rejected by ChainVerifier
    Please let me know what can be the reason for the error.
    Thanks and Regards,
    Rana Brata De

    Hi Rana,
    Check the certificates sequence as well the certificates end dates in STRUST in SAP PI system. if, deployed in NWA level check over there.
    One more :: sending the data to web server or web page. make sure, PI is pointing to which server.
    Regards,
    Kesava.

  • Error: response does not start with HTTP

    hi,
    i am using a MIDP class to send a string to a java servlet which then returns a .gif image. the string is being successfully to the servlet, but an exception is being thrown when the image is being sent back.
    java.io.IOException: response does not start with HTTP it starts with: GIF89aï4
    at com.sun.midp.io.j2me.http.Protocol.readResponseMessage(Protocol.java:2166)
    at com.sun.midp.io.j2me.http.Protocol.finishRequestGetResponseHeader(Protocol.java:1934)
    at com.sun.midp.io.j2me.http.Protocol.sendRequest(Protocol.java:1598)
    at com.sun.midp.io.j2me.http.Protocol.sendRequest(Protocol.java:1517)
    at com.sun.midp.io.j2me.http.Protocol.openInputStream(Protocol.java:484)
    my code is as follows in the midp class :
    HttpConnection c = null;
    InputStream is = null;
    StringBuffer sb = new StringBuffer();
    String url="http://localhost:8090/ProjectServer/createMap";
    url=url+"?Source="+src+"&Destination="+dest;
    try {
    c = (HttpConnection)Connector.open(url,Connector.READ_WRITE, true);
    c.setRequestMethod(HttpConnection.GET); //default
    //is = c.openDataInputStream();
    is = new DataInputStream(c.openInputStream()); //openInputStream(); // transition to connected!
    Image im=null;
    try
    ByteArrayOutputStream bStrm = new ByteArrayOutputStream();
    int ch;
    while ((ch = is.read()) != -1)
    bStrm.write(ch);
    // Place into image array
    byte imageData[] = bStrm.toByteArray();
    // Create the image from the byte array
    im = Image.createImage(imageData, 0, imageData.length);
    finally
    // Clean up
    if (is != null)
    is.close();
    the code in the servlet is as follows :_
    ServletContext sc = getServletContext();
    // Get the MIME type of the image
    String mimeType = sc.getMimeType("route.gif");
    if (mimeType == null) {
    sc.log("Could not get MIME type ");
    response.setStatus(HttpServletResponse.SC_INTERNAL_SERVER_ERROR);
    return;
    // Set content type
    response.setContentType(mimeType);
    // Set content size
    response.setContentLength((int)file.length());
    // Open the file and output streams
    FileInputStream in = new FileInputStream(file);
    OutputStream outstream = response.getOutputStream();
    // Copy the contents of the file to the output stream
    byte[] buf = new byte[1024];
    int count = 0;
    while ((count = in.read(buf)) >= 0) {
    outstream.write(buf, 0, count);
    in.close();
    outstream.close();
    il be immensely grateful if some1 cud tell me whre i am gng wrong.
    thnx,
    nev

    Hi, I�m trying to do the same as above, get MP3 from a Shoutcast server.
    I got the same fault ("response does not start with HTTP it starts with: ICY") when I tried to open an HttpConnection as bellow:
    ============================================
    HttpConnection conn = (HttpConnection) Connector.open("http://64.236.34.196/stream/1074");
    Then I tried to open a socket connection as bellow:
    ======================================
    SocketConnection conn = (SocketConnection) Connector.open("socket://64.236.34.196:80");
    String get = "GET /stream/1074 HTTP/1.1";
    DataOutputStream os = conn.openDataOutputStream();
    os.writeUTF(get);
    InputStream is = conn.openInputStream();
    But then I got the following error:
    =========================
    java.lang.SecurityException: Target port denied to untrusted applications
    Could someone help me to find out what is going on?
    Thanks a lot!

  • How to search for a message or thread with a known message ID in forum?

    How to search (or "swich") to a thread with a known ID ? The "Search
    Message" yields no results when searching for a message ID. Is there a
    other proper way for referencing a thread or message?

    If you want to keep the threads for yourself, you can use your favorites menu or the site's bookmarks option.
    If you have to transfer the number to some one else, the URL format looks fairly simple -
    http://  forums.ni.com/ni/board/message?board.id=board number\name&message.id=your number.
    if you enter the same board, you will have the board number. This doesn't look like a particularly convenient way, but I don't have a problem with copying and pasting URLs.
    The other option would be to do a search, but that is not guranteed to give you an exact answer.
    Try to take over the world!

  • Error: on clicking Registry menu item in ESM Management Portal. The request failed with HTTP status 404: Not Found.

    Hi,
    I have installed ESB Management Portal successfully after following all the steps. everything is working fine except when I click the Registry menu in the portal. I get an unhandled exception. The event viewer shows the below error "The request failed
    with HTTP status 404: Not Found."
    ================================================
    Event code: 3005 
    Event message: An unhandled exception has occurred. 
    Event time: 1/27/2015 5:56:10 PM 
    Event time (UTC): 1/27/2015 5:56:10 PM 
    Event ID: f7aedd39118845b79c17d3442a0d15a7 
    Event sequence: 54 
    Event occurrence: 1 
    Event detail code: 0 
    Application information: 
        Application domain: /LM/W3SVC/1/ROOT/ESB.Portal-1-130668549484455107 
        Trust level: Full 
        Application Virtual Path: /ESB.Portal 
        Application Path: C:\Projects\Microsoft.Practices.ESB\Source\Samples\Management Portal\ESB.Portal\ 
        Machine name: <Machine Name> 
    Process information: 
        Process ID: 4712 
        Process name: w3wp.exe 
        Account name: NT AUTHORITY\NETWORK SERVICE 
    Exception information: 
        Exception type: TargetInvocationException 
        Exception message: Exception has been thrown by the target of an invocation.
       at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
       at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
       at System.Web.UI.WebControls.ObjectDataSourceView.InvokeMethod(ObjectDataSourceMethod method, Boolean disposeInstance, Object& instance)
       at System.Web.UI.WebControls.ObjectDataSourceView.ExecuteSelect(DataSourceSelectArguments arguments)
       at System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback)
       at System.Web.UI.WebControls.DataBoundControl.PerformSelect()
       at System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound()
       at System.Web.UI.WebControls.CompositeDataBoundControl.CreateChildControls()
       at System.Web.UI.Control.EnsureChildControls()
       at System.Web.UI.Control.PreRenderRecursiveInternal()
       at System.Web.UI.Control.PreRenderRecursiveInternal()
       at System.Web.UI.Control.PreRenderRecursiveInternal()
       at System.Web.UI.Control.PreRenderRecursiveInternal()
       at System.Web.UI.Control.PreRenderRecursiveInternal()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    The request failed with HTTP status 404: Not Found.
       at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
       at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
       at Microsoft.Practices.ESB.Portal.UDDIService.UDDIService.GetCategoryByName(String UDDIServerUrl, String tModelName) in c:\Projects\Microsoft.Practices.ESB\Source\Samples\Management Portal\ESB.Portal\Web References\UDDIService\Reference.cs:line
    575
       at Microsoft.Practices.ESB.Portal.Uddi.ServiceProxy.getBTEndpoints(String applicationName, Boolean getSendPorts, Boolean getRcvLocations) in c:\Projects\Microsoft.Practices.ESB\Source\Samples\Management Portal\ESB.Portal\Uddi\ServiceProxy.cs:line
    553
       at Microsoft.Practices.ESB.Portal.Uddi.ServiceProxy.GetEndpointsByApplication(String applicationName, Boolean getSendPorts, Boolean getRcvLocations) in c:\Projects\Microsoft.Practices.ESB\Source\Samples\Management Portal\ESB.Portal\Uddi\ServiceProxy.cs:line
    46
    Request information: 
        Request URL: http://localhost/ESB.Portal/uddi/uddi.aspx 
        Request path: /ESB.Portal/uddi/uddi.aspx 
        User host address: ::1 
        User: <domain>\<user>
        Is authenticated: True 
        Authentication Type: Negotiate 
        Thread account name: NT AUTHORITY\NETWORK SERVICE 
    Thread information: 
        Thread ID: 19 
        Thread account name: NT AUTHORITY\NETWORK SERVICE 
        Is impersonating: False 
        Stack trace:    at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
       at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
       at System.Web.UI.WebControls.ObjectDataSourceView.InvokeMethod(ObjectDataSourceMethod method, Boolean disposeInstance, Object& instance)
       at System.Web.UI.WebControls.ObjectDataSourceView.ExecuteSelect(DataSourceSelectArguments arguments)
       at System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback)
       at System.Web.UI.WebControls.DataBoundControl.PerformSelect()
       at System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound()
       at System.Web.UI.WebControls.CompositeDataBoundControl.CreateChildControls()
       at System.Web.UI.Control.EnsureChildControls()
       at System.Web.UI.Control.PreRenderRecursiveInternal()
       at System.Web.UI.Control.PreRenderRecursiveInternal()
       at System.Web.UI.Control.PreRenderRecursiveInternal()
       at System.Web.UI.Control.PreRenderRecursiveInternal()
       at System.Web.UI.Control.PreRenderRecursiveInternal()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    Custom event details: 
    =================================
    Any idea why this is happening and what needs to be done ?
    PLEASE HELP
    Thanks & Regards
    Vikram

    Snippet from the link below:
    If you get a “404: Not Found” error, it ‘s because by default there is no script map for .svc file with default IIS 7.0 installation, so you need to register .svc extension in IIS:
    You need to update IIS script maps to register .svc extension In a command prompt (ran as administrator), execute the following command:
    “%windir%\Microsoft.NET\Framework\v3.0\Windows Communication Foundation\ServiceModelReg.exe” -r -y"
    Refer:
    https://dgoins.wordpress.com/2010/05/01/esb-toolkit-management-portal-installation-notes-from-the-field-2/
    Sarvanan's blog around this with detailed explanation:
    Configuring Exception Management Portal
    As mentioned above also
    Check Portal Configuration Settings
    Rachit
    Please mark as answer or vote as helpful if my reply does

  • HTTP socket connection

    Hi,
    I have an applet which communicates with servlets, sending serialized objects back and forth. This works fine but it means communication between client and server can only be instantiated from the client side. It would be better if my applet (or possibly client application) kept a connection with the server that enabled the server to send messages to the client.
    Presumably i would use sockets to do this. The problem with that may be that i need to be sure there will be no problems with firewalls etc.
    Could anyone tell me if it is possible to get the sort of two way communication i am after using HTTP, or maybe HTTPS(presumably this is normally open)?
    Any suggestions would be most appreciated

    You cannot use the HTTP connection that downloaded the applet for further use.
    You get the applet to send HTTP requests and POST serialized java objects/receive serialized java objects.
    You can get the server to open a connection to the client, but increasingly many clients have their own firewalls which will block this. Since you control over your firewall but not theirs this is a bad idea.
    Firewalls can cause some issues with custom socket solutions, if you cannot use the HTTP protocol, I would suggest connecting port 443 normally used for HTTPS. You need to ensure this does not go to a real HTTPS server but instead your application. This has the best chance for success with both firewalls.

  • Cannot Stop Thread with ServerSocket

    Hi
    I have a problem with a Thread that runs a ServerSocket. I want to stop this Thread from the main-application:
    Thread class:
    Constructor:
    serverSocket = new ServerSocket(address, port);
    public void run() {...
    while (true) { ....
    clientSocket = serverSocket.accept();
    I want to do the following in the main-application:
    because I want to set up a Thread with a new ServerSocket:
    myThread = null; // to stop the Thread, I also have tried to interrupt without success
    myThread = new Thread(); // => BindException and serverSocket == null;
    I always catch a BindException and in the Thread-Constructor the serverSocket is set null !
    How can I avoid this?
    I need to get a new serverSocket!!
    Can anyone help me?
    thanks, walter

    Thank's for reply: The problem I have is the following: My domain has a dynamic IP, so after the IP changes the s.accept() does not work any more!
    try // Point 1 *)
    ServerSocket s = new ServerSocket(portNumber);
    for(;;)     
    Socket incoming = s.accept(); // does not work after IP changes
    new ThreadedEchoHandler(incoming, i).start();
    So I have to detect that the IP has changed and have to start again at Point 1
    How can I do this?
    thx walter

  • PUT Blobs of size greater than 5.5MB fail with HTTPS but not HTTP

    I have written a Cygwin app that uploads (using the REST API PUT operation) Block Blobs to my Azure storage account, and it works well for different size blobs when using HTTP. However, use of SSL (i.e. PUT using HTTPS) fails for Blobs greater than 5.5MB.
    Blobs less than 5.5MB upload correctly. Anything greater and I find that the TCP session (as seen by Wireshark) reports a dwindling window size that goes to 0 once the aforementioned number of bytes have been transferred. The failure is very repeatable and
    consistent. As a point of reference,  PUT operations against my Google/AWS/HP accounts work fine when using HTTPS for various object sizes, which suggests my problem is not in my client but specific to the HTTPS implementation on the MSAZURE storage servers. 
    If I upload the 5.5MB blob as two separate uploads of 4MB and 1.5MB followed by a PUT Block List, the operation succeeds as long as the two uploads used
    separate HTTPS sessions. Notice the emphasis on separate. That same operation fails if I attempt to maintain an HTTPS session across both uploads. This is another data point that seems to suggest that the Storage
    server has a problem 
    Any ideas on why I might be seeing this odd behavior that appears very specific to MS Azure HTTPS, but is not seen when used against AWS/Google/HP cloud storage servers?

    Hi,
    I'm getting this problem also when trying to upload blobs > 5.5mb using the Azure PHP SDK with HTTPS.
    There is no way I can find to get a blob > 5.5mb to upload, unless you use http, rather than https, which is not a good solution.
    I've written my own scripts to use the HTTP_Request2 library, to send the request as a test, and it fails with that also when using the 'socket' method.
    However, if I write a script using the PHP Curl extension directly, then it works fine, and blobs > 5.5mb get uploaded.
    It seems to be irrelevant which method is used, uploading in 1 go, or using smaller chunks, the PHP SDK seems broken.
    Also, I think I've found another bug in the SDK, when you do the smaller chunks, the assigning of the BlockID is not correct.
    In: WindowsAzure/Blob/BlobRestProxy.php
    Line: $block->setBlockId(base64_encode(str_pad($counter++, '0', 6)));
    That is incorrect usage of the str_pad function, and if you upload a huge blob that needs splitting, then the blockIDs will after a while become a different length and therefore fail.
    It should be: str_pad($counter++, 6, '0',STR_PAD_LEFT);
    I also think there is 1 too many base64_encodes() in there, as I think its being done twice, once in that line, and then again within the createBlobBlock() just before the send() for a 2nd time.
    Can someone please advice, when this/these bug(s) will be fixed in the PHP SDK, as at the moment its useless to me as I cant upload things securely.

Maybe you are looking for

  • Adobe 8 Reader/Acrobat Standard 6

    i have adobe acrobat standard v.6 installed on my Win XP Pro Sp2 Dell laptop. no problems with that version. although it is older it serves my limited needs very well. recently, another family member inadvertently (they claim) installed the free adob

  • Need help understanding profiles and color management

    I made the big leap from inexpensive inkjets to: 1 Epson 3800 Standard 2 Spyder3Studio I have a Mac Pro Quad, Aperture, PS3, etc. I have a steep learning curve ahead, here's what I've done: 1 Read a lot of books, watched tutorials, etc. 2 Calibrated

  • Ipnat/solaris10/x86 rdr problem

    Hi there, I have a very simple setup I'm trying to create as follows: solaris 10 box, connected to corporate LAN and private network. Corporate Lan interface: e1000g0 Private network interface: elxl0 What I want is NAT for all the solaris (8) machine

  • Trouble installing 1TB HD in late 2011 MBP 17"

    I have just got my hands on the last 2011 model MBP17", but it was fitted with a 500GB solid state drive, which is not really big enough I have tried to replace it with a 1TB 5400rpm drive from mid 2009 MBP 17", but it doesn't recognise it Will the l

  • Jaggy Edges

    Jaggy Edges- Ok, This topic comes up all the time. Sometimes no matter what advise is given to the poster it won't go away. Well, I've been going over some footage and have "Jaggy Edges". Now it's happening to me. I try all the fixes but they don't g