Service.connect fails occasionally with strange error

I've created an application which checks an POP3 mailbox every minute to check if there are any messages and if there are, it processes the e-mails according to some rules.
This works fine most of the time but every now and then the application fails. I can see two different error messages. The first I can understand but the second is very strange. The username and password haven't changed so it should be alright.
The problem with this is that if I try to connect to the server from Outlook or any other e-mailclient it works fine even at times when my application don't.
Have anybody seen anything like this?
Stacktrace:
Connect failed;
  nested exception is:
     java.net.ConnectException: Connection timed out: connect
javax.mail.MessagingException: Connect failed;
  nested exception is:
     java.net.ConnectException: Connection timed out: connect
     at com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:106)
     at javax.mail.Service.connect(Service.java:233)
     at javax.mail.Service.connect(Service.java:134)
     at biz.MailMethods.readEmail(MailMethods.java:167)
     at application.MailReaderTask.run(MailReaderTask.java:113)
     at java.util.TimerThread.mainLoop(Timer.java:432)
     at java.util.TimerThread.run(Timer.java:382)
EOF on socket
javax.mail.AuthenticationFailedException: EOF on socket
     at com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:104)
     at javax.mail.Service.connect(Service.java:233)
     at javax.mail.Service.connect(Service.java:134)
     at biz.MailMethods.readEmail(MailMethods.java:167)
     at application.MailReaderTask.run(MailReaderTask.java:113)
     at java.util.TimerThread.mainLoop(Timer.java:432)
     at java.util.TimerThread.run(Timer.java:382)Code:
try {
  Properties props = new Properties();
  Session session = Session.getDefaultInstance(props, null);
  Store store = session.getStore("pop3");
  store.connect(server, username, password);
  Folder folder = store.getFolder("INBOX");
  folder.open(Folder.READ_WRITE);
  Message messages[] = folder.getMessages();
  String from = null;
  MimeMessage mm = null;
  for (int i = 0; messages != null && i < messages.length; i++) {
    mm = (MimeMessage) messages;
from = ((InternetAddress)mm.getFrom()[0]).getAddress();
if ("[email protected]".equals(from)) {
} else {
messages[i].setFlag(Flags.Flag.DELETED, true);
folder.close(true);
store.close();
} catch (Exception e) {
e.printStackTrace();

HI
I have a similar scenario whr the connect fails ..
I shal be gr8ful to u, if u cud let me know how u resolved this problem
my email id is [email protected]
with regards
Kalyan

Similar Messages

  • Hi,  I have keep seeing a small 'Connection failed'  warning box popping up: [[Connection failed  There was an error connecting to the server "Warning; Self Aware"]].  Question for you gods - what does it mean. is it important?  my computer connects to my

    hi,  I have keep seeing a small 'Connection failed'  warning box popping up: [[Connection failed  There was an error connecting to the server "Warning; Self Aware"]].  Question for you gods - what does it mean. is it important?  my computer connects to my server works.  Could it be related to  "Network Preference & Monitor icons missing from my system preferences page?  and my guest sign=in account is now the main account??     thanks you. jb

    hi,  I have keep seeing a small 'Connection failed'  warning box popping up: [[Connection failed  There was an error connecting to the server "Warning; Self Aware"]].  Question for you gods - what does it mean. is it important?  my computer connects to my server works.  Could it be related to  "Network Preference & Monitor icons missing from my system preferences page?  and my guest sign=in account is now the main account??     thanks you. jb

  • Hi, I am using a iphone 3g and i did not update it for 4 years now i have updated the software and the phone is not connecting to itunes with the error flashing error 11556

    Hi, I am using a iphone 3g and i did not update it for 4 years now i have updated the software and the phone is not connecting to itunes with the error flashing error 11556

    https://discussions.apple.com/thread/4977025

  • Event ID: 5014, 5004 The DFS Replication Service is stopping communication with partner / Error 1726 (The remote procedure call failed.)

    I'm replicating between two servers in two sites (Server A - Server 2012 R2 STD, Server B - Server 2008 R2) over a VPN (Sonicwall Firewall).  Though the initial replication seems to be
    happening it is very slow (the folder in question is less than 3GB).  I'm seeing these in the event viewer every few minutes:
    The DFS Replication service is stopping communication with partner PPIFTC for replication group FTC due to an error. The service will retry the connection periodically.
    Additional Information:
    Error: 1726 (The remote procedure call failed.)
    and then....
    The DFS Replication service successfully established an inbound connection with partner PPIFTC for replication group FTC.
    Here are all my troubleshooting steps (keep in mind that our VPN is going through a SonicWall <--I increased the TCP timeout to 24 hours):
    -Increased TCP Timeout to 24 hours 
    -Added the following values on both sending and receiving members and rebooted server
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
    Value =DisableTaskOffload
    Type = DWORD
    Data = 1
    Value =EnableTCPChimney
    Type = DWORD
    Data = 0
    Value =EnableTCPA
    Type = DWORD
    Data = 0
    Value =EnableRSS
    Type = DWORD
    Data = 0
    ---------------------------------more troubleshooting--------------------------
    -Disabled AntiVirus on both members
    -Made sure DFSR TCP ports 135 & 5722 are open
    -Installed all hotfixes for 2008 R2 (http://support.microsoft.com/kb/968429) and rebooted
    -Ran NETSTAT –ANOBP TCP and the DFS executable results are listed below:
    Sending Member:
    [DFSRs.exe]
      TCP    10.x.x.x:53            0.0.0.0:0             
    LISTENING       1692
    [DFSRs.exe]
      TCP    10.x.x.x:54669        
    10.x.x.x:5722          TIME_WAIT       0
      TCP    10.x.x.x:54673        
    10.x.x.x:5722          ESTABLISHED     1656
     [DFSRs.exe]
      TCP    10.x.x.x:64773        
    10.x.x.x:389           ESTABLISHED     1692
    [DFSRs.exe]
      TCP    10.x.x.x:64787        
    10.x.x.x:389           ESTABLISHED     1656
     [DFSRs.exe]
      TCP    10.x.x.x:64795        
    10.x.x.x:389           ESTABLISHED     2104
    Receiving Member:
    [DFSRs.exe]
      TCP    10.x.x.x:56683        
    10.x.x.x:389           ESTABLISHED     7472
     [DFSRs.exe]
      TCP    10.x.x.x:57625        
    10.x.x.x:54886         ESTABLISHED     2808
    [DFSRs.exe]
      TCP    10.x.x.x:61759        
    10.x.x.x:57625         TIME_WAIT       0
      TCP    10.x.x.x:61760        
    10.x.x.x:57625         TIME_WAIT       0
      TCP    10.x.x.x:61763        
    10.x.x.x:57625         TIME_WAIT       0
      TCP    10.x.x.x:61764        
    10.x.x.x:57625         TIME_WAIT       0
      TCP    10.x.x.x:61770        
    10.x.x.x:57625         TIME_WAIT       0
      TCP    10.x.x.x:61771        
    10.x.x.x:57625         TIME_WAIT       0
      TCP    10.x.x.x:61774        
    10.x.x.x:57625         TIME_WAIT       0
      TCP    10.x.x.x:61775        
    10.x.x.x:57625         TIME_WAIT       0
      TCP    10.x.x.x:61776        
    10.x.x.x:57625         TIME_WAIT       0
      TCP    10.x.x.x:61777        
    10.x.x.x:57625         TIME_WAIT       0
      TCP    10.x.x.x:61778        
    10.x.x.x:57625         TIME_WAIT       0
      TCP    10.x.x.x:61779        
    10.x.x.x:57625         TIME_WAIT       0
      TCP    10.x.x.x:61784        
    10.x.x.x:52757         ESTABLISHED     7472
    [DFSRs.exe]
      TCP    10.x.x.x:63661        
    10.x.x.x:63781         ESTABLISHED     4880
    ------------------------------more troubleshooting--------------------------
    -Increased Staging to 32GB
    -Opened the ADSIedit.msc console to verify the "Authenticated Users" is set with the default READ permission on the following object:
    a. The computer object of the DFS server
    b. The DFSR-LocalSettings object under the DFS server computer object
    -Ran
    ping <var>10.x.x.x</var> -f -l 1472 and got replies back from both servers
    -AD replication is successful on all partners
    -Nslookup is working so DNS is working
    -Updated NIC drivers on both servers
    - I ran the following to set the Primary Member:
    dfsradmin Membership Set /RGName:<replication group name> /RFName:<replicated folder name> /MemName:<primary member> /IsPrimary:True
    Then Dfsrdiag Pollad /Member:<member name>
    I'm seeing these errors in the dfsr logs:
    20141014 19:28:17.746 9116 SRTR   957 [WARN] SERVER_EstablishSession Failed to establish a replicated folder session. connId:{45C8C309-4EDD-459A-A0BB-4C5FACD97D44} csId:{7AC7917F-F96F-411B-A4D8-6BB303B3C813}
    Error:
    + [Error:9051(0x235b) UpstreamTransport::EstablishSession upstreamtransport.cpp:808 9116 C The content set is not ready]
    + [Error:9051(0x235b) OutConnection::EstablishSession outconnection.cpp:532 9116 C The content set is not ready]
    + [Error:9051(0x235b) OutConnection::EstablishSession outconnection.cpp:471 9116 C The content set is not ready]
    ---------------------------------------more troubleshooting-----------------------------
    I've done a lot of research on the Internet and most of it is pointing to the same stuff I've tried.  Does anyone have any other suggestions?  Maybe I need to look somewhere
    else on the server side or firewall side? 
    I tried replicating from a 2012 R2 server to another 2012 server and am getting the same events in the event log so maybe it's not a server issue. 
    Some other things I'm wondering:
    -Could it be the speed of the NICs?  Server A is a 2012 Server that has Hyper-V installed.  NIC teaming was initially setup and since Hyper-V is installed the NIC is a "vEthernet
    (Microsoft Network Adapter Multiplexor Driver Virtual Switch) running at a speed of 10.0Gbps whereas Server B is running a single NIC at 1.0Gbps
    -Could occasional ping timeout's cause the issue?  From time to time I get a timeout but it's not as often as the events I'm seeing.  I'm getting 53ms pings.  The folder
    is only 3 GB so it shouldn't take that long to replicate but it's been days.  The schedule I have set for replication is mostly all day except for our backup times which start at 11pm-5am.  Throughout the rest of the time I have it set anywhere from
    4Mbps to 64 Kbps.  Server A is on a 5mb circuit and Server B is on a 10mb circuit. 

    I'm seeing the same errors, all servers are running 2008 R2 x64. Across multiple sites, VPN is steady and reliably.
    185 events from 12:28:21 to 12:49:25
    Events are for all five servers (one per office, five total offices, no two in the same city, across three states).
    Events are not limited to one replication group. I have quite a few replication groups, so I don't know for sure but I'm running under the reasonable assumption that none are spared.
    Reminder from original post (and also, yes, same for me), the error is: Error: 1726 (The remote procedure call failed.)
    Some way to figure out what code triggers an Event ID 5014, and what code therein specifies an Error 1726, would extremely helpful. Trying random command line/registry changes on live servers is exceptionally unappealing.
    Side note, 1726 is referenced here:
    https://support.microsoft.com/kb/976442?wa=wsignin1.0
    But it says, "This RPC connection problem may be caused by an unstable WAN connection." I don't believe this is the case for my system.
    It also says...
    For most RPC connection problems, the DFS Replication service will try to obtain the files again without logging a warning or an error in the DFS Replication log. You can capture the network trace to determine whether the cause of the problem is at the network
    layer. To examine the TCP ports that the DFS Replication service is using on replication partners, run the following command in a
    Command Prompt window:
    NETSTAT –ANOBP TCP
    This returns all open TCP connections. The connections in question are "DFSRs.exe", which the command won't let you filter for.
    Instead, I used the NETSTAT command as advertised, dumping output to info.txt:
    NETSTAT -ANOBP TCP >> X:\info.txt
    Then I opened Excel and manually opened the .TXT for the open wizard. I chose fixed-width fields based on the first row for each result, and then added a column:
    =IF(A3="Can not", "Can not obtain ownership information", IF(LEFT(A3,1) = "[", A3&B3&C3, ""))
    Dragging this down through the entire file let me see that row (Row F) as the file name. Some anomalies were present but none impacted DFSrs.exe results.
    Finally, you can sort/filter (I sorted because I like being able to see everything, should I choose to) to get just the results you need, with the partial rows removed from the result set, or bumped to the end.
    My server had 125 connections open.
    That is a staggering number of connections to review, and I feel like I'm looking for a needle in a haystack.
    I'll see if I can find anything useful out, but a better solution would be most wonderful.

  • Scheuled report failing intermittently With Permission Error

    Hello,
    A scheduled custom report fails some days. The user has permission to both run and schedule the report. There is no problem to view the reports neither to set up the schedule. And the schedule often runs ok, just every now and then it fails with following error.
    errdetail=oracle.apps.xdo.servlet.scheduler.ProcessingException\: Job execution failed because the user who scheduled this job has no more permission or priviledge to run the job. [REPORT_URL]\=[/*********.xdo], [USERNAME]\=[USERNAME]\r\n\********(XDOJob.java\:356)\r\n\tat org.quartz.core.JobRunShell.run(JobRunShell.java\:195)\r\n\tat org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java\:520)\r\nI saw a related document in metalink [ID 1330421.1] but it mentions about sharing the scheduler bertween two instances which I am not sure what that means. I have also checked following forum but for that user the failuer is permanent unlike in our case where its random.
    Schedule problems
    We are currently on;
    Standalone Oracle BI Publisher 10.1.3.4
    Windows 2003
    Using LDAP (MS Active Directory) as a Security Model
    Thanks for your help.

    After we restarted the services, the issue went away. (very strange)

  • VBScript: can't connect to OraDB with no error shown

    Hi all!
    I've wrote a simple VB Script program which uses tnsnames.ora file to connect to Oracle 10g2 DB.
    Here it is:
    Dim connectionString: connectionString = "DRIVER={Microsoft ODBC for Oracle}; SERVER=mydb;User Id=system;Password=" & DBpassword & ";"
    Dim connection: Set connection = CreateObject("ADODB.Connection")
    Dim rows: Set rows = CreateObject("ADODB.Recordset")
    connection.Open connectionString
    connection.Close
    I have 2 copies of databases: test and productoinal. I run the script from my localhost machine. For test envirinment in work okay, but for productional i'm getting the strange error:
    C:\oracle\admin\Script\myscript.vbs(93, 1) Microsoft OLE DB Provider for ODBC Drivers: (Microsoft)(ODBC driver for Oracle)(Oracle)
    C:\oracle\admin>pause
    Press any key to continue . . .
    No errors, but still no connection :( Line 93 is connection.Open connectionString.
    I've verified that tnsnames.ora is correct and ORACLE_HOME variable is set. DB OS is Windows Server 2003.
    Edited by: chii on Sep 8, 2008 5:03 AM

    1) It looks like there is an error-- it just looks like it is getting cut off. What is at line 93 of your script? Is that the "Dim connection" line?
    2) Is there a reason that you need to use the Microsoft ODBC driver for Oracle? Rather than the Oracle ODBC driver? The Microsoft driver is rather ancient and may not work properly on newer Oracle clients because certain OCI functions it depends on have been desupported.
    Justin

  • CodedUI Tests Fails Intermittently With Initialization Errors

    I would like to re-ask the question asked in this thread:
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/855c561b-2100-4494-bf65-c5b9ec83e4af/inconsistent-coded-ui-test-behavior-depending-on-lab-size?forum=vsmantest
    There was no answer given and no more replies coming in to that thread.
    We are exactly in the same situation. We have large number of CodedUI test cases (500+) which runs daily. Some of the tests fails intermittently with the initialization failures. The details are:
    ERROR MESSAGE
    Error calling Initialization method for test class TEST_CLASS_NAME: System.Runtime.InteropServices.COMException: Error HRESULT E_FAIL has been returned from a call to a COM component.
    ERROR STACK TRACE
    Microsoft.VisualStudio.TestTools.UITest.Playback.Engine.IRPFPlayback.SetSkipStepEventName(String skipStepEventName)
    Microsoft.VisualStudio.TestTools.UITest.Playback.ScreenElement.InitPlayback()
    Microsoft.VisualStudio.TestTools.UITesting.Playback.Initialize()
    Could someone please let us know what could be the issue of these intermittent failures?

    Hi digitali,
    According to your description, I would like to know the details:
    How many agent machines in the lab environment?
    What’s the details of these machines? (e.g. memory, system)
    What’s the version of TFS, MTM, test controller and test agent?
    Regards
    Starain
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • BB 9100 Bluetooth connection failed paring with Blue&Me

    HI,
    I tried paring my BB 9100 bluetooth with my Blue & Me (CAR Bluetooth), while I enter the passcode It tried a connect for a while and displays a message that connection failed.
    Please let me know how I cna connect my Mobile bluetooth with my car blue & me.
    Thanks & Regards
    Sunthar

    Hi sunthar,
    Welcome to BlackBerry Support Community Forums.
    Is your BlackBerry able to pair successfully with another BlackBerry smartphone or Bluetooth enabled device? Have you tried the steps provided in this blog post? http://my.blackberry.com/tips/8000
    If so, you may need to contact the manufacturer of the car kit for more information on compatibility or further instructions for pairing.
    -FS
    Come follow your BlackBerry Technical Team on Twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.
    Click Solution? for posts that have solved your issue(s)!

  • Please Help with strange error.

    I've searched extensively for an answer to this strange problem I'm having both throughout this forum and in Google and have come up dry. Any help would be HUGELY appreciated.
    I'm using Audition 3 with a Windows XP Pro SP3 comp.
    I have recorded some live music at 44.8/24 bit sample rate and used Audition to cut the individual tracks and make a few other minor editing changes. I saved the files and they play with no problem. I did this for about 10 complete live shows so this represents a lot of work and there are many files.
    Now I want to downsample the files to 44.1/16 like I have done many times before with no problems. Well, it seems that about 25% of the files I've saved, although can be played with my default player with no problems can NOT be opened using Audition. I receive an "above file name is invalid" error. I also tried to open with Audacity and get the same error message. I tried to right click on these files and choose "open with" but that option, along with copy, cut, rename, properties etc is not there. The names of these files are perfectly valid but I'm unable to rename the files. When I try to move, copy or cut the file, nothing happens.
    I've rebooted as well as defragged the drive but still no joy. I still have the original large files but it was so much work to edit these files I really don't want to do it all over again. I would like to know why it happened so it won't happen anymore.
    I think I covered everything here but if you have questions please ask. Does anyone have any ideas why this is happening and what I can do about it?
    Thank you very much,
    Seth
    UPDATE: I just found that Windows Media Player gives me the same error. I'm using XM Player as my audio player and it doesn't have any problems playing these files.

    Are these files "real" files or perhaps shortcuts to the files, and/or are these files located on a local hard drive or on a network drive (Windows Home Server...)? The "file" name may actually be a perfectly valid name, but when you are not logged in to that server, you might get that message.
    Is "above file name is invalid" the only part of the error, or is the filename (or part of it) in this error message. E.g. "04 above file name is invalid": it might indeed be possible that the spaces in the filename cause this error. But since you cannot rename them there's hardly a remedy other than to record these files again in AA whilst playing them in XM player.
    There is a utility called "unstoppable copier"; it can copy files that you normally cannot copy (http://www.roadkil.net/). Try that one so we can have a look at one of the files.

  • Officejet 6500 (e709a) MFP service manual or help with General Error

    Hi. I have an Officejet 6500 (e709a) that I am having some problems with.  It started with a paper jam/carriage jam message and then became a "General Error 0x61011beb".  The carrier holding the ink cartridges was indeed stuck on the right side, so I followed a video showing how to open the unit.  When I did I discovered a small plastic piece with a couple of gears had fallen off.  The piece has different numbers on each side of it so I am not sure which numbers might be helpful in identifying it.  I am not sure exactly how to put it back on so I am hoping there is a service manual for this printer or maybe even just some kind of general technical reference that has assembly diagrams?  (I know this is a longshot but my local service center charges $50 just to diagnose the problem.  I only paid slightly over $100 and I could get another for that same price so I'd rather save that $50 to use buying a new one if I can't fix this myself.) If it would help I could attach some pictures of the piece in question. Thanks in advance. Jim 

    The utility is of no utility when the printer is perpetually taking itself OFFLINE. No printer is detected. I power it down with the switch, unplug the power supply for anywhere from 20 seconds to 20 minutes, plug it back in, power it back up and my stalled print job may or may not print the last page of a two-page document (first one to print in my selected print order). If it gets to the first page, only part prints then the printer sits there doing nothing. After a long time, it spits out the front page. Usually it won't even get halfway down the page.
    In the meantime, the HPHNDU.exe utility cannot even find the printer, regardless of when I press the "refresh printer list" button.
    The software/device is broken. Didn't even get two years out of it.

  • Help with strange error Can't load IA 32-bit .so on a IA 32-bit platform

    Hi guys
    I'm stuck on this problem for so long, it would be great if some one can help me out. I use jni to build a interface to access an native library and I have successfully get in running on my development environment, but when at deployment to another box, I get the following message.
    /data/tomcat/app/libXXX.so Can't load IA 32-bit .so on a IA 32-bit platform
    I have checked the configuration of LD_LIBRARY_PATH to point to the dir of the libXXX.so file. Is this error caused by dynamic link library missing something when it is moved to the deployment environment ? or is it because I'm not building it properly ? or the os version version ?? Thanks a lot guys.
    the libXXX.so is build using the following line:
    gcc -g -fno-exceptions -fPIC -DPIC -shared -I$JAVA_HOME/include/ -I$JAVA_HOME/include/linux -I./include -I./lib/gcc/ -lapi_v2_Core -lgrammarsCNT -lCryptoLib -lcontainer -ledi -ledicont -ledixml -ltcpsocket -lzlib -lexpat XXX.c -o ../../../target/classes/libXXX.so
    Development Environment:
    Deployment Environment
    Tomcat Version = Apache Tomcat/5.5.14
    JVM Version =      1.5.0_11-b03      
    OS Name = Linux           
    OS Version = 2.6.9-11.ELsmp
    OS Architecture = i386
    Deployment Environment
    Tomcat Version = Apache Tomcat/5.5.20      
    JVM Version =      1.5.0_11-b03      
    OS Name = Linux           
    OS Version = 2.4.21-15.0.3.ELsmp     
    OS Architecture = i386

    This error this being generated from linux when I execute the Jasper. I have jdk1.5.0_11 installed.:
    org.apache.jasper.JasperException: /opt/jdk1.5.0_11/jre/lib/i386/xawt/libmawt.so: Can't load IA 32-bit so on to IA 32-bit platform.
    Somebody can help me with this is urgent.

  • Need Help with Strange Error

    Hi All,
    While developing my JNI native methods, I have run across the following error:
    Unexpected Signal : 11 occurred at PC=0x40301743
    Function=(null)+0x40301743
    Library=/usr/java/j2sdk1.4.2_02/jre/lib/i386/client/libjvm.so
    NOTE: We are unable to locate the function name symbol for the error
    just occurred. Please refer to release documentation for possible
    reason and solutions.
    Current Java thread:
    at java.lang.ref.ReferenceQueue.enqueue(ReferenceQueue.java:42)
    - locked <0x453e6cf0> (a java.lang.ref.Finalizer)
    at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:128)
    Dynamic libraries:
    08048000-0804e000 r-xp 00000000 03:02 2048244 /usr/java/j2sdk1.4.2_02/bin/jav
    Has anyone seen this before? What does it mean? It not in any of my native methods, but somehow I know they must be causing it.

    Yes, but ..
    The strange part is that usually when that happens I get a signal 11 or some such thing in the method where the problem is..
    In this case, it seems to die a lot later, inside of some other classes.
    The only explanation I have is "memory trampling".. :(

  • Memory Leaks with AVAudioPlayer with strange error

    Hey guys, I have an app that have 20 buttons, each time a button presses an MP3 file is playing, the mp3's are 1 sec each.
    after pressing the buttons for one minute the sounds is gone and I need to restart the app in order to hear the audio files again.
    I release in my code everything I can and this is the error I get, I couldn't find any other people that had the same error:
    <0x3f8fece8> shm_open failed: "AppleAudioQueue.45.2420" (23) flags=0x2 errno=24
    Well, if anyone can help,
    THANK YOU !!!

    First I use this code:
    - (void)audioPlayerDidFinishPlaying:(AVAudioPlayer *)player successfully:(BOOL)flag {
        [player release];
    Then I use this to play:
    {NSString *pathForSilentFile = [[NSBundle mainBundle] pathForResource:@"11" ofType:@"mp3"];
        NSURL *soundFile = [[NSURL alloc] initFileURLWithPath:pathForSilentFile];
        AVAudioPlayer *sPlayer = [[AVAudioPlayer alloc] initWithContentsOfURL:soundFile error:NULL];
        [soundFile release];
        [sPlayer prepareToPlay];
        [sPlayer play];
    What am I not realeasing ?
    Thank you!!!

  • Premiere Pro crashes when editing with strange error

    My project in Premiere Pro CS6 opens up fine. When I attempt to edit anything in the sequence (simply moving some footage around), I get the following error:
    Premiere pro has encountered an error. [/Volumes/BuildDisk/builds/mightykilt/shared/adobe/MediaCore/Backend/Make/Mac/../../Src/S equence/FeedbackGroup.cpp-193]
    Then the program crashes. Have to reopen, and rename the project. And I'm never able to edit anything. It's been working fine for about a month. This happened suddenly. Tried rebooting both external harddrive and computer. Tried saving the project file on the harddrive and on the computer. Tried opening a new file and copying in the sequence.

    Thanks, ibrahimashmawey. That error report gives us enough information to investigate this crash. Our offices are closed all next week, so it will be at least July 8 before we have any answer. In the meantime, you might want to try downloading the CC trial to test whether this issue is fixed in the new version. Also, I suggest Googling: ".cpp-193" premiere. I got several hits, including one on these very forums that moving an audio clip to another track resolved the problem.

  • Error in ADF Web Service Connection

    Hello everyone.
    I have the following problem.
    Create a "Web Services Proxy" to consume a Web Services outside the application.
    Web services require authentication and create a Web ADF Services Connection to authenticate, but when you programmatically use the ADF Web Service Connection I get the following error:
    java.lang.NullPointerException
         at java.lang.Class.isAssignableFrom(Native Method)
         at oracle.j2ee.ws.common.jaxws.runtime.GenericJavaType.create(GenericJavaType.java:97)
         at oracle.j2ee.ws.common.jaxws.runtime.GenericJavaType.create(GenericJavaType.java:118)
         at oracle.j2ee.ws.common.jaxws.runtime.OperationMappingModeler.processParameters(OperationMappingModeler.java:268)
         at oracle.j2ee.ws.common.jaxws.runtime.OperationMappingModeler.processMethod(OperationMappingModeler.java:155)
         at oracle.j2ee.ws.common.jaxws.runtime.ServiceEndpointRuntimeModeler.buildRuntimeModel(ServiceEndpointRuntimeModeler.java:114)
         at oracle.j2ee.ws.client.jaxws.WsClientProxyFactory.getRuntimeMetadata(WsClientProxyFactory.java:69)
         at oracle.j2ee.ws.client.jaxws.WsClientProxyFactory.createProxy(WsClientProxyFactory.java:126)
         at oracle.j2ee.ws.client.jaxws.WsClientProxyFactory.createProxy(WsClientProxyFactory.java:106)
         at oracle.j2ee.ws.common.jaxws.ServiceDelegateImpl.getPort(ServiceDelegateImpl.java:219)
         at oracle.j2ee.ws.common.jaxws.ServiceDelegateImpl.getPort(ServiceDelegateImpl.java:249)
         at oracle.adf.model.connection.webservice.impl.WebServiceConnectionImpl.getJaxWSPort(WebServiceConnectionImpl.java:399)
         at edu.esade.portal.wsclient.wordpress.WordPressCliente.getDatosBlogsBndQSService(WordPressCliente.java:62)
         at edu.esade.portal.wsclient.wordpress.WordPressCliente.getDatosBlogsPortClient(WordPressCliente.java:86)
         at edu.esade.portal.wsclient.wordpress.WordPressCliente.getBlogs(WordPressCliente.java:105)
         at edu.esade.portal.wsclient.wordpress.WordPressCliente.main(WordPressCliente.java:167)
    The code I use to get the connection is:
    private DatosBlogsBndQSService getDatosBlogsBndQSService () {
    Context ctx;
    try {
    ctx = ADFContext.getCurrent().getConnectionsContext();
    WebServiceConnection wsc = (WebServiceConnection) ctx.lookup("DatosBlogsBndQSService");
    System.out.println("wsc:"+wsc.toString());
    DatosBlogsBndQSService proxy = wsc.getJaxWSPort(DatosBlogsBndQSService.class); // line 62
    return proxy;
    } catch (NamingException e) {
    e.printStackTrace();
    return null;
    Finalmente la configuración del recurso es:
    <Reference name="DatosBlogsBndQSService" className="oracle.adf.model.connection.webservice.impl.WebServiceConnectionImpl" credentialStoreKey="DatosBlogsBndQSService" xmlns="">
    <Factory className="oracle.adf.model.connection.webservice.api.WebServiceConnectionFactory"/>
    <RefAddresses>
    <XmlRefAddr addrType="WebServiceConnection">
    <Contents>
    <wsconnection description="URL-XXX" service="{URL-XXX}DatosBlogsBndQSService">
    <model name="{URL-XXX}DatosBlogsBndQSService" xmlns="http://oracle.com/ws/model">
    <service name="{URL-XXX}DatosBlogsBndQSService">
    <port name="DatosBlogsBndQSPort" binding="{URL-XXX}DatosBlogsBnd">
    <soap username="transportUserName" password="transportPassword" addressUrl="URL-XXX" xmlns="http://schemas.xmlsoap.org/wsdl/soap/"/>
    <operation name="consultarPosts">
    <soap soapAction="URL-XXX" xmlns="http://schemas.xmlsoap.org/wsdl/soap/"/>
    <output name=""/>
    <input name=""/>
    </operation>
    <operation name="listarBlogs">
    <soap soapAction="URL-XXX" xmlns="http://schemas.xmlsoap.org/wsdl/soap/"/>
    <output name=""/>
    <input name=""/>
    </operation>
    </port>
    </service>
    </model>
    </wsconnection>
    </Contents>
    </XmlRefAddr>
    <SecureRefAddr addrType="transportPassword"/>
    <SecureRefAddr addrType="transportUserName"/>
    </RefAddresses>
    </Reference>
    When the Web Service did not require authentication to work without problem, the error arises when you need to login and use the "ADF Web Services Connection", is there some other way to log in using the Web Service proxy client directly?
    Any help is welcome.
    Regards.
    Marcelo

    Hi Shay.
    I not use Web service data control, I use only Web Service proxy and the client class for populate data to view object programmatically.
    However, in a test class do I have this:
    public class WordPressCliente {
    private final static Logger logger = Logger.getLogger(WordPressCliente.class);
    public WordPressCliente() {
    super();
    private DatosBlogsBndQSService getDatosBlogsBndQSService () {
    Context ctx;
    try {
    ctx = ADFContext.getCurrent().getConnectionsContext();
    WebServiceConnection wsc = (WebServiceConnection) ctx.lookup("DatosBlogsBndQSService");
    System.out.println("wsc:"+wsc.toString());
    DatosBlogsBndQSService proxy = wsc.getJaxWSPort(DatosBlogsBndQSService.class);
    return proxy;
    } catch (NamingException e) {
    e.printStackTrace();
    return null;
    private DatosBlogsPT getDatosBlogsPortClient() throws Exception {
    URL baseUrl = DatosBlogsBndQSService.class.getResource(".");
    URL url = new URL(baseUrl,ArchivoUtil.getInstance().getPropiedad("ws.integracion.wordpress"));
    QName qName = new QName("http://esade.edu/soa/servicio/DatosBlogs/v01_00","DatosBlogsBndQSService");
    System.setProperty("http.username", "atsistemas");
    System.setProperty("http.password", "atsistemas2011");
    DatosBlogsBndQSService integracionWordpress = new DatosBlogsBndQSService(url,qName);
    DatosBlogsPT wordpressPT = integracionWordpress.getDatosBlogsBndQSPort();
    if (ArchivoUtil.getInstance().getPropiedad("ws.integracion.wordpress.autenticacion").equals("true")) {
    System.out.println("hay que validar el WS");
    BindingProvider bp = (BindingProvider)wordpressPT;
    bp.getRequestContext().put(BindingProvider.USERNAME_PROPERTY, ArchivoUtil.getInstance().getPropiedad("ws.integracion.wordpress.usuario"));
    bp.getRequestContext().put(BindingProvider.PASSWORD_PROPERTY, ArchivoUtil.getInstance().getPropiedad("ws.integracion.wordpress.clave"));
    DatosBlogsPT wordpressPT = getDatosBlogsBndQSService().getDatosBlogsBndQSPort();
    return wordpressPT;
    private DatosItemsPT getDatosItemsPortClient() throws Exception {
    DatosItemsBndQSService datosItems = new DatosItemsBndQSService();
    DatosItemsPT itemsPT = datosItems.getDatosItemsBndQSPort();
    if (ArchivoUtil.getInstance().getPropiedad("ws.integracion.items.autenticacion").equals("true")) {
    BindingProvider bp = (BindingProvider)itemsPT;
    bp.getRequestContext().put(BindingProvider.USERNAME_PROPERTY, ArchivoUtil.getInstance().getPropiedad("ws.integracion.wordpress.usuario"));
    bp.getRequestContext().put(BindingProvider.PASSWORD_PROPERTY, ArchivoUtil.getInstance().getPropiedad("ws.integracion.wordpress.clave"));
    return itemsPT;
    public List<Blog> getBlogs() throws Exception {
    List<Blog> lista = null;
    try {
    DatosBlogsPT cliente = getDatosBlogsPortClient();
    FiltroBlogs filtroBlog = new FiltroBlogs();
    ListarBlogsInput blogInput = new ListarBlogsInput();
    HeaderESADE header = new HeaderESADE();
    header.setUsernameESADE("");
    header.setParentSOAComponent("");
    blogInput.setFiltroBlogs(filtroBlog);
    lista = cliente.listarBlogs(blogInput,header).getBlogs().getBlog();
    } catch (ClientTransportException e) {
    logger.error(e.getStackTrace());
    e.printStackTrace();
    ADFUtils.showMessage(Constantes.TITULO_01, Constantes.MENSAJE_01);
    return lista;
    public List<Post> getPostsPorBlog(String idBlog) throws Exception {
    List<Post> lista = null;
    try {
    DatosBlogsPT cliente = getDatosBlogsPortClient();
    ConsultarPostsInput postInput = new ConsultarPostsInput();
    FiltroPosts filtroPost = new FiltroPosts();
    HeaderESADE header = new HeaderESADE();
    filtroPost.setBlogId(new Long(idBlog).longValue());
    filtroPost.setFechaInicio(FechaUtil.getFecha());
    filtroPost.setFechaFin(null);
    header.setUsernameESADE("");
    header.setParentSOAComponent("");
    lista = cliente.consultarPosts(postInput,header).getPosts().getPost();
    } catch (ClientTransportException e) {
    logger.error(e.getStackTrace());
    ADFUtils.showMessage(Constantes.TITULO_01, Constantes.MENSAJE_01);
    return lista;
    public static void main(String[] args) {
    WordPressCliente wordPressCliente = new WordPressCliente();
    try {
    Iterator i = wordPressCliente.getBlogs().iterator();
    while (i.hasNext()) {
    Blog blog = (Blog)i.next();
    logger.debug("Blog Id:" + blog.getId() + " url:" + blog.getUrl() + " nombre:" + blog.getNombre() + " publico:" + blog.isPublico() + " lang:" + blog.getLang());
    try {
    Iterator j = wordPressCliente.getPostsPorBlog(Long.toString(blog.getId())).iterator();
    while (j.hasNext()) {
    Post post = (Post)j.next();
    logger.debug(" Post Id:" + post.getId() + " autor:" + post.getAutor() + " titulo:" + post.getTitulo() + " size ambitos:" + post.getAmbitos().getAmbito().size() +
    " tags:" + post.getTags());
    } catch (Exception e) {
    e.printStackTrace();
    } catch (Exception e) {
    e.printStackTrace();
    }

Maybe you are looking for

  • DO MY HOMEWORK NOW!!!! ASAP

    Spent a bit of time on the forums this morning and Holy 'shit', How may request for "do my homework for me, I have spent no time researching for myself" have there been recently!!!!!!!!!! Chris

  • Playing old games on new Mac

    Hello, I have a macbook pro and i want to play this old powerPC mac game called Indiana Jones and the Fate of Atlantis. Seeing as how my computer is intel based, i dont have classic environment. I put the game CD into my computer and it reads, but do

  • Pulling in other data to DBI

    Is it possible to pull in data and caculate variables on that data using DBI? For example, can I make a copy of the seeded On-hand Inventory Detail query in the Supply Chain MFG resp, add a column to it showing open sales order quantities? And then c

  • Cannot manage the user profile database on Peoplesoft CRM 9.1

    Hello, under peopletools/security/User Profiles, when i open any user profil i got automatically this error : A SQL error occurred. Please consult your system log for details Thank you in advance

  • Problemas memoria iPod 4g

    Hola a todos! Al parecer tengo problemas con la memoria de mi iPod Touch 4g me podrian ayudar como verificar la memoria, como nota nunca le he realizado el Jailbreak y no quiero hacerlo, por su atencion Gracias!