AutoVue20.2 - 2DPro - Initialization failed. Could not initialize socket

Hi,
We are running a standard install of AutoVue 20.2 2DPro. We have the situation of the JVueAX.ocx activeX being coded in VB.Net.
When we run the custom application as an admin user there is no issue, however when there is a restriction placed on the users (ie non-admin restricted to read & write on most things) we get the following issue in a popup messagebox.
Error
Initialization failed. Could not initialize socket on localhost:5099
nested exception is:
java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketlmpl.socketconnect(Native Method)
at java,net.PlainSocketlmpl,doConnect(Unknown Source)
at java.net.PlainSocketlmpl.connectToAddress(Unknown Source)
at java.net.PlainSocketlmpl,connect(Unknown Source)
at java,net.SocksSocketlmpl,connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.<init> (Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at com.cimmetiy.vueconnection.g.a(Unknown Source)
at com.cimmetiy.vueconnection.g.<init> (Unknown Source)
at com.cimmetry.vueconnection.ServerControl.a(Unknown Source)
at com.cimmetry.vueconnection.ServerControl.connect(Unknown Source)
at com,cimmetry.vueframe,VueFrame.h(Unknown Source)
at com,cimmetry.vueframe.VueFrame.<init>(Unknown Source)
at com.cimmetry.jvue.JVue.b(Unknown Source)
at com.cimmetiy.jvue.JVue.a(Unknown Source)
at com.cimmetry.jvue.JVue$a.run(Unknown Source)
at java,awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.Event.Queue.dispatchEventImpl(Unknown Source)
at java.awt.Event.Queue.access$000(Unknown Source)
at java.awt.Event.Queue$l.run(Unknown Source)
at java.awt.Event.Queue$l.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$l.dolntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
An error occurred while connecting to the server.
Restart the applet?
So it appears to be a permissions issue.
We have changed the security settings on the Autovue folder but that doesn't alter the outcome.
We have looked for more debug and altered the Log4j.xml to be all DEBUG but that didn't increase the output.
The install log is 3007 of successful and no warnings or failed components.
So we now ask for your input. What port needs opening or what file/folder needs the modify or full control assigned? Or is there a manual we may have misread?
Any pointers would be appreciated.
I have reviewed the AutoVue Desktop Deployment post.
Cheers,

The fix for this is to copy a file called Config.properties into the %userprofile%\AutoVue\Offline_Files
for each user.
In the text file Config.properties are these lines.
#Offline Files Configuration
[WORK OFFLINE]
INSTALLDIR=C:\Oracle\AutoVue Desktop Deployment
ISOFFLINE=1
INSTALLVER=20.2.0.0
Edited on 24-Oct-2012 14:51

Similar Messages

  • Connection test to database failed: could not connect to server

    I restarted one of my HPOV NNMi 9.23 servers this morning and NNMi is no longer loading.  I am seeing the following errors in the logs indicated:
    /var/opt/OV/log/nnm/public/nmsdbmgr.log
    04/06/2015 09:28:05 AM Connection test to database failed: could not connect to server: Connection refused
    Is the server running on host "127.0.0.1" and accepting
    TCP/IP connections on port 5432?
    /var/opt/OV/log/nnm/public/postgres.log
    2015-04-06 09:25:55.312 EDT: :8580:0LOG: could not translate host name "localhost", service "5432" to address: Name or service not known
    2015-04-06 09:25:55.312 EDT: :8580:0WARNING: could not create listen socket for "localhost"
    2015-04-06 09:25:55.312 EDT: :8580:0FATAL: could not create any TCP/IP sockets
    I checked /etc/hosts and found the following entry:
    #; Local
    127.0.0.1 localhost
    From the command line I can ping localhost with no issue.  Not sure why NNMi is not starting at this point. 
    This question was solved.
    View Solution.

    I also attempted to do a reset using nnmresetebdb.ovpl.  I recieved the following:
    Attempting to reset the embedded database...
    Starting nmsdbmgr process for database reset...
    nmsdbmgr process did not restart successfully - please try reset again.
    When I run ovstart -c I receive the following:
    Name PID State Last Message(s)
    OVsPMD 29831 RUNNING -
    pmd 29832 RUNNING Initialization complete.
    nmsdbmgr - NOT_RUNNING - Exit(1)
    ovjboss - UNSTARTABLE -
    nnmaction - UNSTARTABLE -
    ovspmd: Attempt to start HP OpenView services is complete.
    I definitely need some help with this please!  
    Thanks!

  • Itunes says copying the disk "my iphone" failed. could not be read or written to, help!

    Hi, so i have never had issues with my iphone before (3gs), i have up to date software, both on phone and itunes, and all of the sudden my phone will not update my music and itunes says copying the disk "jess sweeney" iphone failed. could not be read or written. I am not sure what to do, if anyone has any insight i would truly appreciate. 

    Read through this support article:
    http://support.apple.com/kb/HT1207

  • Premiere Pro CS4 Export fails with Media Encoder CS4 "Encoding Failed"," Could Not Read From Source.

    There has never been a history of Adobe CS3 installation on the brand new MAC Pro I am using prior to installing Master Collection CS4, despite other posts claiming that chief cause of this issue is a previous CS3, Beta or trial installations of previous versions. I simply had a straightforward installation of CS4 and have had trouble since day 1.
    I have uninstalled and reinstalled Master CS4 three times, two times with the action script cleaner for CS4. I tried changing Adobe Cache folder locations to alternative drives. I ran shift start many times to correct any inconsistencies and corrected for permissions using disk utilities repeatedly. All updates have been installed and I am still getting the same error when exporting my timeline to Media Encoder CS4, be it a large High Definition project or a small one consisting of few stills.
    No matter what presets I chose, the job appears as one of the items in the render qeuee of Media Encoder CS4 and sits there with the status WAITING until i hit Start Queue. When I do, it still says WAITING under Status and at the bottom corner of the window it reads : Loading "project name.prproj" and after an average of about 6 minutes, a yellow caution sign appears. No render whatsoever takes place. When I click on the yellow caution sign, it reads a log of all errors in connection with each job, including the ones that have gone before it. Here is one:
    Start of the Error Paste
    - Source File:/users/myname/Library/Caches/TemporaryItems/test.prproj
    - Output File:/ users/my name/Documetns/Adobe/Premiere Pro/4.0/Sequence 01.mov
    - Preset used :NTSC DV
    - Video:
    - Audio:
    - Bitrate:
    0 Encoding Time: 00:33:01
    Sat Mar 21 17:12:25 2009 : Encoding failed
    Could not read from the source. Please check if it has moved or been deleted.
    END OF ERROR Paste
    Please any gurus out there know how to troubleshoot this damn thing on Mac, I really appreciate it. I have not yet encountered any posts of Mac owners with no previous CS3 installation having this issue. I am in the middle of 3 projects with tight deadlines and need your urgent help. THANK YOU!

    Hello There,
    I resolved the issue through a simple process of elimination. So simple in fact I wonder how I missed it. Since there has been no history of prior CS3 installation on this machine and every conceivable trick was applied to resolve the problem (refer to my original post earlier in the thread) ending in frustration, the problem had to reside in a factor or series of factors that were only present in this machine. Of the two remaining causes different in compare to other machines, I had to look into the possibility of any hardware and/or software conflicts. After all, this very same installation works perfectly fine on my colleague's Apple Macbook Pro and several Windows machines.
    It turns out that I had installed Pro Tools on this machine that comes with all kinds of optional plug-ins in the so called ignition pack. One of these optional plug-ins is called IZOTOPE (three varieties include Spectron, Trash and another one that escapes my mind). They were all lite version licenses that would automatically pop up on their own when you would start a program where they had been residing. One such program where an association existed was indeed the Premiere. An annoying dialogue box directing you to buy the full version when you would start the premiere would refuse to go away. Sometimes it would even start on its own culminating in a a permanent dialogue box.
    The cause of the problem was right before my eyes and I had overlooked it. Once uninstalled using IZOTOPE clean uninstaller on step 4, the problem was resolved. Projects are now loading very fast into the AME and encoding begins in earnest. I have never had any issues ever since.
    Long story short, if you have any plug-ins specially the ones that are loading upon the start of any program or the ones that reside inside the premiere or the ones that start on their own independently, they could be one of the highly probable causes of this error. I have seen other similar posts complaining of plug in folders inside premiere that needed to be moved to resolve the issue for instance the ones that needed to be moved to AE folders. If you are a plug-in admirer, I would suggest to look into them seriously.
    On the side note, many combination and causes may lead to the same error. I am not claiming that this is the solution for everyone.
    It must also be noted that I applied the trick of creating a shortcut of Premiere (and naming it exactly as such) and dropped it into the Adobe Dynamic LInk folder (even though this was suggested for windows)and have changed the adobe Cache locations to an alternative folder on a separate drive. I haven't been able to establish conclusively if the latter steps are also essential in fixing the error on MAC but I can confirm that since the latter steps were taken before the uninstalling of Izotope plug-ins and i still had issues, probably uninstalling those plug ins or finding a way to move them to a place where they don't interfere (if you absolutely need to keep them) is the one essential step that solved the problem.
    Hope this helps.

  • IMessage activation fails: could not sign in

    iMessage activation fails: could not sign in. It waits for activation endlessly.
    The issue started with contacts not being available for iMessage. I ended up not being able to sign in on both Mac and iPhone. Everything works fine on my iPad though.
    Any ideas other than those posted around here? iMessage is becoming a real pain.

    If you get an error when trying to activate iMessage or FaceTime - Apple Support

  • Partition Failed -- Could not unmount disk

    I partitioned my external hard drive into two parts. Now I want to change it back to one partition (500 gb).
    I backed up all the data.
    When I use disk utility and try to re-partition to create one partition from the two existing partitions, I get the error message:
    Partition failed
    Could not unmount disk.
    What am I doing wrong??
    THANKS.

    Sean M wrote:
    I partitioned my external hard drive into two parts. Now I want to change it back to one partition (500 gb).
    I backed up all the data.
    When I use disk utility and try to re-partition to create one partition from the two existing partitions, I get the error message:
    Partition failed
    Could not unmount disk.
    What are you booting from Sean ?
    You could always startup with the external Off, runn DU then turn external ON.. and try.

  • Why do I get the message "CoCreateInstance failed - Could not create 3D mouse device" with Acrobat9?

    Had a crash and reinstalled everything.  All is OK, except when I open Acrobat 9, I get the message "CoCreateInstance failed - Could not create 3D mouse device".  Tried unchecking anything in Acrobat preferences having to do with 3D, and I don't currently have a 3D mouse device installed.  Can't find any other reference in Google that includes both Acrobat and the contents of the message, part or all.  Ran "repair acrobat installation" and rebooted, and that didn't help.  Totally stumped!

    use the cs cleaner.
    first uninstall your cs5 programs (including acrobat) and uninstall adobe reader.
    run the cleaner for reader:  http://labs.adobe.com/downloads/acrobatcleaner.html
    restart your computer.
    then run the cs cleaner (http://www.adobe.com/support/contact/cscleanertool.html)
    restart your computer
    and finally reinstall your cs5 programs including acrobat (but not reader).

  • RFC call ended with "Communication Failure" exception (Function call failed; could not find the function

    Hi All,
    I am getting error while executing oDATA service from SAP Netweaver Gateway
    Error details:
    RFC call ended with "Communication Failure" exception (Function call failed; could not find the function
    I am using SAP NG 740
    Project is created in Gateway system using SEGW having Map to Datasource option used.
    in SPRO manage alias, I had seleted Local App option. Screen attached
    I had tried all troubleshooting like delete and add service and alias in "/IWFND_MAINT_SERVICE".
    but still getting same error for all service.
    Kindly advise.
    Regards
    Vivek

    Hello Vivek,
    Service builder would have also generated code for RFC Exception handling to catch exceptions raised when communication fails between your GW and BE for some reasons.
    Handling is done for 1. System Failure 2. Communication Failure & 3. Business Failure;
    Put a BP in your DPC or DP_EXT class where exception code is written to check what exactly is has caused communication failure.
    Check if that RFC is existing in that destination or not.
    For your reference  : Code would be something like this. Put BP here and check the problem.
    * Error and exception handling
    IF lv_subrc <> 0.
    * Execute the RFC exception handling process
       me->/iwbep/if_sb_dpc_comm_services~rfc_exception_handling(
         EXPORTING
           iv_subrc            = lv_subrc
           iv_exp_message_text = lv_exc_msg ).
    ENDIF.
    Go inside this method and check to get info on what has to be done to resolve issue.
    Check carefully what has gone wrong and fix it accordingly.
    No need of adding service & deleting as problem is not because of that.
    Regards,
    Ashwin

  • Error: "Verification Failed" Could not communicate with the server.

    "Verification Failed" Could not communicate with the server.
    I get this message every time I go to Icloud in setting menu.
    also my contact are not in sync (empty on Ipad)
    What does this message mean, and how do I solve it.
    Everything else works (Autodesk Draw also works with Icloud and it works fine)
    Mail ok
    Downloading from appstore ok (also after password)
    Please provide me with a solution due to this problem I can't get my contacts on my new ipad (at least that is what I think)

    Ok I got it working... the Ipad stores your password at different locations. So changing it once does not do the job. I thought the Ipad had the Single Sign On function for the apple password.
    So make sure that you not only change your password in "the shop" but also in the setting menu (general) and icloud menu.
    this helped for me, I had to let go the Single Sign On thought first....

  • MailAPI SMTP sending error: 'Could not convert socket to TLS'

    I'm stucked with smtp authentication in a project.
    The process works on port 25 with no STARTTLS, but unfortunately our company server uses port 587 and STARTTLS.
    It seems that only the half of the authentication process could be successful, as the server accepts EHLO, but when it switches to secure the program fails with the exception:
    'Could not convert socket to TLS'
    The simplified code (from a sample app) is:
    public void SendMail() throws Exception{
            Properties props = new Properties();
            props.setProperty("mail.transport.protocol", "smtp");
            props.setProperty("mail.smtp.host", "smtpserver");
            props.setProperty("mail.smtp.port", "587");
            props.setProperty("mail.smtp.auth", "true");
            props.setProperty("mail.smtp.auth.ntlm.domain", "codomain");
            props.setProperty("mail.smtp.starttls.required", "true");
            props.setProperty("mail.smtp.auth.mechanisms", "LOGIN NTLM");
            Session mailSession = Session.getDefaultInstance(props, null);
            mailSession.setDebug(true);
            Transport transport = mailSession.getTransport();
            MimeMessage message = new MimeMessage(mailSession);
            message.setSubject("My subject");
            message.setFrom(new InternetAddress("[email protected]"));
            message.setContent("<h1>Hello world</h1>", "text/html");
            message.addRecipient(Message.RecipientType.TO,
                                new InternetAddress("[email protected]"));
            transport.connect("smtpserver", 587, "CODOMAIN\\myaccount", "mypass");
            transport.sendMessage(message,
            message.getRecipients(Message.RecipientType.TO));
            transport.close();
       }

    I'll copy the full message below:
    +2010.06.29. 12:03:10 mailapi_2.Main main+
    SEVERE: null
    javax.mail.MessagingException: Could not convert socket to TLS;+
    nested exception is:
    javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
    at com.sun.mail.smtp.SMTPTransport.startTLS(SMTPTransport.java:1652)
    at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:534)
    at javax.mail.Service.connect(Service.java:291)
    at mailapi_2.SimpleMail.SendMail1(SimpleMail.java:59)
    at mailapi_2.Main.main(Main.java:23)
    Caused by: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
    at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:174)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1591)
    at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:187)
    at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:181)
    at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1035)
    at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:124)
    at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:516)
    at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:454)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:884)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1096)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1123)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1107)
    at com.sun.mail.util.SocketFetcher.configureSSLSocket(SocketFetcher.java:503)
    at com.sun.mail.util.SocketFetcher.startTLS(SocketFetcher.java:443)
    at com.sun.mail.smtp.SMTPTransport.startTLS(SMTPTransport.java:1647)
    +... 4 more+
    Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
    at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:285)
    at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:191)
    at sun.security.validator.Validator.validate(Validator.java:218)
    at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:126)
    at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:209)
    Could not convert socket to TLS
    at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:249)
    at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1014)
    +... 14 more+
    Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
    at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:174)
    at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:238)
    at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:280)
    +... 20 more+
    And the output panel before the exception:
    Sending mail...
    DEBUG: setDebug: JavaMail version 1.4.3
    +DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]+
    DEBUG SMTP: useEhlo true, useAuth true
    DEBUG SMTP: trying to connect to host "smtpserver", port 587, isSSL false
    +220 exch.plt.local Microsoft ESMTP MAIL Service ready at Tue, 29 Jun 2010 12:03:08 +0200+
    DEBUG SMTP: connected to host "smtpserver", port: 587
    EHLO machine.codomain.local
    +250-smtpserver.codomain.local Hello [xxx.xxx.xxx.xxx]+
    +250-SIZE 15728640+
    +250-PIPELINING+
    +250-DSN+
    +250-ENHANCEDSTATUSCODES+
    +250-STARTTLS+
    +250-AUTH GSSAPI NTLM+
    +250-8BITMIME+
    +250-BINARYMIME+
    +250 CHUNKING+
    DEBUG SMTP: Found extension "SIZE", arg "15728640"
    DEBUG SMTP: Found extension "PIPELINING", arg ""
    DEBUG SMTP: Found extension "DSN", arg ""
    DEBUG SMTP: Found extension "ENHANCEDSTATUSCODES", arg ""
    DEBUG SMTP: Found extension "STARTTLS", arg ""
    DEBUG SMTP: Found extension "AUTH", arg "GSSAPI NTLM"
    DEBUG SMTP: Found extension "8BITMIME", arg ""
    DEBUG SMTP: Found extension "BINARYMIME", arg ""
    DEBUG SMTP: Found extension "CHUNKING", arg ""
    STARTTLS
    +220 2.0.0 SMTP server ready+

  • SmbServer: could not create socket: Address already in use

    When I start SmbServerAgent,
    it fails again and again.
    In SmbServer.log there exists
    "SmbServer: could not create socket: Address already in use,"
    but SmbServer was already shutdown.
    How do resolve such issue? Thanks a lot.
    ergent

    Something else is already using that TCP port.
    BTW you can only re-use a TCP port number if you're binding to a different NIC IP address than the one bound by the previous binder to that TCP port. You're not, so you can't.

  • JRE 1.5 VS. JRE 1.6 - Could not convert socket to TLS

    I have an applet that is trying to send an email through an SMTP server. It works just fine 1.6 but on 1.5 it blows up and I'm kind of at the end of my rope. Any help here would be great.
    I've had to set up the DummySSLSocketFactory as described in the JavaMail readme but still no luck on 1.5.
    Here is the error:
    DEBUG: setDebug: JavaMail version 1.4ea
    DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc.]
    DEBUG SMTP: useEhlo true, useAuth true
    DEBUG SMTP: trying to connect to host "mail.bluebottle.com", port 25, isSSL false
    220 fe0.bluebottle.com ESMTP Sendmail 8.13.1/8.13.1; Thu, 28 Jun 2007 08:25:34 -0700
    DEBUG SMTP: connected to host "mail.bluebottle.com", port: 25
    EHLO CC-FRED
    250-fe0.bluebottle.com Hello 207-174-73-129.officepartners.us [207.174.73.129] (may be forged), pleased to meet you
    250-ENHANCEDSTATUSCODES
    250-PIPELINING
    250-8BITMIME
    250-SIZE
    250-DSN
    250-AUTH LOGIN PLAIN
    250-STARTTLS
    250-DELIVERBY
    250 HELP
    DEBUG SMTP: Found extension "ENHANCEDSTATUSCODES", arg ""
    DEBUG SMTP: Found extension "PIPELINING", arg ""
    DEBUG SMTP: Found extension "8BITMIME", arg ""
    DEBUG SMTP: Found extension "SIZE", arg ""
    DEBUG SMTP: Found extension "DSN", arg ""
    DEBUG SMTP: Found extension "AUTH", arg "LOGIN PLAIN"
    DEBUG SMTP: Found extension "STARTTLS", arg ""
    DEBUG SMTP: Found extension "DELIVERBY", arg ""
    DEBUG SMTP: Found extension "HELP", arg ""
    STARTTLS
    220 2.0.0 Ready to start TLS
    javax.mail.MessagingException: Could not convert socket to TLS;
      nested exception is:
                    java.net.SocketException: com.cc.util.controller.email.DummySSLSocketFactory
                    at com.sun.mail.smtp.SMTPTransport.startTLS(SMTPTransport.java:1230)
                    at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:378)
                    at javax.mail.Service.connect(Service.java:275)
                    at javax.mail.Service.connect(Service.java:156)
                    at javax.mail.Service.connect(Service.java:176)
                    at com.cc.util.discovery.DiscoveryService.sendViaSMTP(DiscoveryService.java:422)
                    at com.cc.util.discovery.DiscoveryService.discoverSMTPService(DiscoveryService.java:378)
                    at com.cc.util.discovery.DiscoveryService.discoverPOP3Service(DiscoveryService.java:330)
                    at com.cc.util.discovery.DiscoveryService.checkEmailService(DiscoveryService.java:126)
                    at com.cc.applet.CCNonBlockingThread$1.run(CCNonBlockingThread.java:180)
                    at java.security.AccessController.doPrivileged(Native Method)
                    at com.cc.applet.CCNonBlockingThread.processEventData(CCNonBlockingThread.java:178)
                    at com.cc.applet.CCNonBlockingThread.run(CCNonBlockingThread.java:139)
    Caused by: java.net.SocketException: com.cc.util.controller.email.DummySSLSocketFactory
                    at javax.net.ssl.DefaultSSLSocketFactory.createSocket(Unknown Source)
                    at com.sun.mail.util.SocketFetcher.startTLS(SocketFetcher.java:249)
                    at com.sun.mail.smtp.SMTPTransport.startTLS(SMTPTransport.java:1226)
                    ... 12 moreHere is the code:
                   Properties props = new Properties();
                   props.put("mail.smtp.auth", "true");
                   props.put("mail.smtp.host", smtpServer);
                   props.put("mail.smtp.starttls.enable","true");
                   // the line below is for java 1.5
                   java.security.Security.setProperty("ssl.SocketFactory.provider","com.cc.util.controller.email.DummySSLSocketFactory");
                   // these are for java 1.4
                  props.setProperty("mail.smtps.socketFactory.class","com.cc.util.controller.email.DummySSLSocketFactory");
                  props.setProperty("mail.smtps.socketFactory.fallback", "false");
                   Session session = Session.getInstance(props, null);
                   session.setDebug(true);
                   // -- Create a new message --
                   Message msg = new MimeMessage(session);
                   // -- Set the FROM and TO fields --
                   msg.setFrom(new InternetAddress(from));
                   msg.setRecipients(Message.RecipientType.TO,InternetAddress.parse(to, false));
                   // -- Set the subject and body text --
                   msg.setSubject(subject);
                   msg.setText(body);
                   // -- Set some other header information --
                   msg.setHeader("X-Mailer", "FuserDiscoveryProcess");
                   msg.setSentDate(new Date());
                   // -- Send the message --
                   Transport tr = session.getTransport("smtp");
                   tr.connect(username, password);
                   tr.sendMessage(msg,msg.getAllRecipients());
                   tr.close();
                   CCLogger.getLogger().log(Level.INFO, "Message sent OK.");

    new info it works on 1.5.0_10 but not 1.5.0_06 any ideas?

  • "could not open socket" error

    Hello:
    I am following the book "Adobe Dreamweaver CS5 with PHP" by David Powers (an excellent book I might add) and am currently going over chapter 8. (Zending email). I have completed the section concerning processing of a simple user feedback script, and I beleive I have my connector script, and code correct. My testing server is running and correctly defined in DW. When I attempt to submit the form in a browser window, I get the message "could not open socket" at the top of the  browser document window. I assume this involves adjusting a configuration file but I can not figure out where it is. Any help out there?
    My setup:
    Windows 7
    Apache2.2.17
    PHP5.3.4
    ZendFramework-1.11.4-minimal

    Boy, this one sure has me stumped.
    Despite using the amendment to the catch block that you so graciously suggested, and turning off my firewall, and antivirus software, all I get is the error message "could not open socket" at the top of the browser (various) document window (and a resetting of all fields and textarea):
    Here are my files. (I understand I will be changing my passwords, and getting a new recaptcha key, but I am desperate to fix this):
    I also amended the mail_connector.php script using the (Outgoing Mail Server: (SSL) server306.webhostingpad.com (server requires authentication) port 465) choice below with the same result.
    My hosting company provided this to me for manual setting of email:
    Manual Settings
    Mail Server Username: test1+housecalls4pets.com
    Incoming Mail Server: mail.housecalls4pets.com
    Incoming Mail Server: (SSL) server306.webhostingpad.com
    Outgoing Mail Server: mail.housecalls4pets.com (server requires authentication) port 2626
    Outgoing Mail Server: (SSL) server306.webhostingpad.com (server requires authentication) port 465
    Supported Incoming Mail Protocols: POP3, POP3S (SSL/TLS), IMAP, IMAPS (SSL/TLS)
    Supported Outgoing Mail Protocols: SMTP, SMTPS (SSL/TLS)
    library.php:
    <?php
    // Adjust the path to match the location of the library folder on your system
    $library = 'C:/php_library/ZendFramework-1.11.4-minimal/library';
    set_include_path(get_include_path() . PATH_SEPARATOR . $library);
    require_once('Zend/Loader/Autoloader.php');
    try {
      Zend_Loader_Autoloader::getInstance();
      $write = array('host'     => 'localhost',
         'username' => 'cs5write',
         'password' => 'Bow!e#CS5',
         'dbname'   => 'phpcs5');
      $read  = array('host'     => 'localhost',
         'username' => 'cs5read',
         'password' => '5T@rmaN',
         'dbname'   => 'phpcs5');
      // Comment out the next two lines if using mysqli
      // and remove the comments from the last two lines
      $dbWrite = new Zend_Db_Adapter_Pdo_Mysql($write);
      $dbRead = new Zend_Db_Adapter_Pdo_Mysql($read);
      //$dbWrite = new Zend_Db_Adapter_Mysqli($write);
      //$dbRead = new Zend_Db_Adapter_Mysqli($read);
    catch (Exception $e) {
        echo 'Class: ' . get_class($e) . ' says: ' . $e->getMessage();
    mail_connector.php:
    <?php
    $mailhost = 'smtp.mail.housecalls4pets.com';
    $mailconfig = array('auth' => 'login',
          'username' =>'[email protected]',
         'password' => 'Buffy1481',
         'port'    => '2626');
    $transport = new Zend_Mail_Transport_Smtp($mailhost, $mailconfig);
    Zend_Mail::setDefaultTransport($transport);
    process_comments.php
    <?php
    require_once('library.php');
    $errors = array();
    try {
      $public_key = '6LekzsUSAAAAAP99fQ32-j-qlp2wUWqeUc3_HvkX';
      $private_key = '6LekzsUSAAAAAHxKj135LEE9zoAxQng1A3azJYgE';
      $recaptcha = new Zend_Service_ReCaptcha($public_key, $private_key);
      if (isset($_POST['send'])) {
    // validate the user input
    if (empty($_POST['recaptcha_response_field'])) {
       $errors['recaptcha'] = 'reCAPTCHA field is required';
    } else {
       $result = $recaptcha->verify($_POST['recaptcha_challenge_field'], $_POST['recaptcha_response_field']);
       if (!$result->isValid()) {
      $errors['recaptcha'] = 'Try again';
    $val = new Zend_Validate_Alnum(TRUE);
    if (!$val->isValid($_POST['name'])) {
       $errors['name'] = 'Name is required';
    $val = new Zend_Validate_EmailAddress();
    if (!$val->isValid($_POST['email'])) {
       $errors['email'] = 'Email address is required';
    $val = new Zend_Validate_StringLength(10);
    if (!$val->isValid($_POST['comments'])) {
       $errors['comments'] = 'Required';
    if (!$errors) {
      // create and send the email
        require_once('mail_connector.php');
        $mail = new Zend_Mail('UTF-8');
        $mail->addTo('[email protected]', 'A N Other');
        $mail->setFrom('[email protected]', 'Zend Mail Test');
        $mail->setSubject('Comments from feedback form');
        $mail->setReplyTo($_POST['email'], $_POST['name']);
        $text = "Name: {$_POST['name']}\r\n\r\n";
        $text .= "Email: {$_POST['email']}\r\n\r\n";
        $text .= "Comments: {$_POST['comments']}";
        $html = "<p><strong>Name: </strong><a href='mailto:{$_POST['email']}'>{$_POST['name']}</a></p>";
        $html .= '<p><strong>Comments: </strong>' . nl2br($_POST['comments']) . '</p>';
        $mail->setBodyText($text, 'UTF-8');
        $mail->setBodyHtml($html, 'UTF-8');
        $success = $mail->send();
        if (!$success) {
          $errors = TRUE;
    } catch (Exception $e) {
      echo $e->getMessage();
    ?>
    comments.php:
    <?php
    require_once('scripts/process_comments.php');
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Contact Us</title>
    <link href="../../styles/users_wider.css" rel="stylesheet" type="text/css" />
    </head>
    <body>
    <h1>Get In Touch</h1>
    <form id="form1" name="form1" method="post" action="">
      <?php if (isset($success) && !$errors) { ?>
      <p>Thank you. Your comments have been sent.</p>
      <?php } elseif (isset($success) && $errors) { ?>
      <p>Sorry, there was a problem. Please try later.</p>
      <?php } ?>
      <p>All fields are required</p>
      <p>
        <label for="name">Your name:</label>
        <input value="<?php if ($_POST && $errors) {
      echo htmlentities($_POST['name'], ENT_COMPAT, 'UTF-8');
    }?>" type="text" name="name" id="name" />
        <span>
        <?php if ($_POST && isset($errors['name'])) {
        echo $errors['name'];
    } ?>
        </span></p>
      <p>
        <label for="email">Email address:</label>
        <input value="<?php if ($_POST && $errors) {
      echo htmlentities($_POST['email'], ENT_COMPAT, 'UTF-8');
    }?>" type="text" name="email" id="email" />
      <span>
      <?php if ($_POST && isset($errors['email'])) {
        echo $errors['email'];
    } ?>
      </span></p>
      <p>
        <label for="comments">Comments:</label>
        <textarea name="comments" id="comments" cols="45" rows="5"><?php if ($_POST && $errors) {echo htmlentities($_POST['comments'],ENT_COMPAT, 'UTF-8'); }?></textarea>
      <span>
      <?php if ($_POST && isset($errors['comments'])) {
        echo $errors['comments'];
    } ?>
      </span></p>
      <?php if (isset($errors['recaptcha'])) {
        echo "<p><span>{$errors['recaptcha']}</span></p>";
      echo $recaptcha->getHtml(); ?>
      <p>
        <input type="submit" name="send" id="send" value="Send Comments" />
      </p>
    </form>
    </body>
    </html>

  • Configuration Failed - Could not load the file or assembly Microsoft.IdentityModel

    I have followed the link "Setting up Sharepoint 2010 Development Environment on Windows 7" and while
    following the steps, I was not able to install one of the pre-requisite "Windows Identity Foundation (Windows6.1-KB974405-x64.msu)" which was downloaded from Microsoft website at URL:
    http://www.microsoft.com/en-us/download/details.aspx?id=17331, however, I was able to complete the SharePoint Server 2010 Installation Successfully. And to my surprise, when I run the
    SharePoint Products Configuration Wizard, in the very 2nd Step of configuration, I faced the below issue.
    Configuration Failed
    One or more configuration settings failed. Completed configuration settings will not be rolled back. Resolve the problem and run this configuration wizard again. The following contains detailed information about the failure:
    Failed to create the configuration database.
    An exception of type System.IO.FileNotFoundException was thrown. Additional exception information: Could not load file or assembly 'Microsoft.IdentityModel, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its
    dependencies. The system cannot find the file specified.
    To diagnose the problem, review the application event log and the configuration log file located at: C:\Program Files\Common Files\Microsoft Shared\ Web Server Extensions\14\LOGS\PSCDiagnostics 12_13_2013_8_30_44_220_403724746.log
    I am pretty sure that I have followed each and every step and understood and the only place that I have missed is installing the pre-requisites as mentioned above. How can I fix this issue.
    Let me know if you need more information such as log file content which got generated. Your help in fixing this issue will be really helpfull for me.
    Thanks
    Mahesh

    Hi  Mahesh,
    Thank you for your posting!
    Your issue is caused by that  your windows 7 is not installed Windows Identity Foundation.
    As you say that you were not able to install the Windows Identity Foundation, could you provide more detail about what  you are facing ? Which version of Windows 7 you have? 32bit or
    64bit? Also make sure your computer has installed Internet Information Services (IIS) 7.0  and  .NET Framework 3.5.
    Thank you for your understanding and support.
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • Media Encoder - encoding failed - could not read from the source

    Using PPCC, AME queued jobs all fail with the message "Encoding failed. Could not read from the source".
    But doing a simple export works perfectly.

    I recall quite a few other threads about this.  Do a forum search.

Maybe you are looking for