"Descriptor not a socket" - Exception

Hello,
my WebLogic 11 (10.3.6) throws sometime a Socket Exception:
<26.09.2012 14:27 Uhr MESZ> <Error> <Socket> <BEA-000403> <IOException occurred on socket: Socket[addr=/2.148.104.94,port=59900,localport=7001]
java.net.SocketException: recv failed: Descriptor not a socket.
java.net.SocketException: recv failed: Descriptor not a socket
     at jrockit.net.SocketNativeIO.readBytesPinned(Native Method)
     at jrockit.net.SocketNativeIO.socketRead(SocketNativeIO.java:32)
     at java.net.SocketInputStream.socketRead0(SocketInputStream.java)
     at java.net.SocketInputStream.read(SocketInputStream.java:129)
     at weblogic.socket.SocketMuxer.readFromSocket(SocketMuxer.java:988)
     at weblogic.socket.SocketMuxer.readReadySocketOnce(SocketMuxer.java:922)
     at weblogic.socket.SocketMuxer.readReadySocket(SocketMuxer.java:889)
     at weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:339)
     at weblogic.socket.SocketReaderRequest.run(SocketReaderRequest.java:29)
     at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
     at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
Does anybode know the reason?
Bye
Axel

It would be easier to help you if you could post the relevant code. Another idea is to post this in the JDBC forum.
Jamie

Similar Messages

  • Error in accessing ResultSet - Descriptor index not valid SQL Exception

    Hi
    I am trying to execute a procedure in java and try to access the result set, but it is giving out Descriptor index not valid SQL Exception.
    While printing the first record the error is thrown the code is as follows. Any help would be appreciated. Thanks in Advance.
    1 . The Procedure
    CREATE PROCEDURE library.fetchssncursor()
    RESULT SETS 1
    LANGUAGE SQL
    BEGIN
    DECLARE c1 CURSOR WITH RETURN FOR
    SELECT * FROM VBPLTC.LTCP_DUMMY;
    open c1;
    END;2. Java Class
    public class TestFunction2
    public void getPassThruReport()
         Connection objConnection=null;
         ResultSet rs=null;
         CallableStatement callableStatement=null;
         try
              List returnList=new ArrayList();
              DriverManager.registerDriver(new com.ibm.as400.access.AS400JDBCDriver());
              objConnection = DriverManager.getConnection("URL","USERID","PWD");
              callableStatement  = objConnection.prepareCall("{call fetchssncursor() }");
               System.out.println("Got Connection "+ objConnection.toString()); 
                 callableStatement.execute();
                 rs = callableStatement.getResultSet();
                 // callableStatement.executeQuery (); i also tried this
                if(rs!=null)
                  while(rs.next())
                       System.out.println(rs.getString(1)+","+rs.getString(2)+","+rs.getInt(3)+","+rs.getInt(4));
         catch(SQLException e)
              System.out.println("SQLException "+e);
         catch(Exception e)
              System.out.println("Exception "+e);
         finally
              try
                   if(rs!=null)     
                   rs.close();
                   if(objConnection!=null)
                   objConnection.close();
               catch (SQLException e) {
    public static void main(String args[])
           TestFunction2 obj = new TestFunction2();
           obj.getPassThruReport();
    }3. Output
    Got Connection S101C3DE
    shar,Sharath,123456,1 <------------- records
    SQLException java.sql.SQLException: Descriptor index not valid.(1574
    ****************************************

    http://www-03.ibm.com/servers/eserver/iseries/toolbox/troubleshooting.htm

  • 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?

  • 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+

  • Problem with file descriptors not released by JMF

    Hi,
    I have a problem with file descriptors not released by JMF. My application opens a video file, creates a DataSource and a DataProcessor and the video frames generated are transmitted using the RTP protocol. Once video transmission ends up, if we stop and close the DataProcessor associated to the DataSource, the file descriptor identifying the video file is not released (checkable through /proc/pid/fd). If we repeat this processing once and again, the process reaches the maximum number of file descriptors allowed by the operating system.
    The same problem has been reproduced with JMF-2.1.1e-Linux in several environments:
    - Red Hat 7.3, Fedora Core 4
    - jdk1.5.0_04, j2re1.4.2, j2sdk1.4.2, Blackdown Java
    This is part of the source code:
    // video.avi with tracks audio(PCMU) and video(H263)
    String url="video.avi";
    if ((ml = new MediaLocator(url)) == null) {
    Logger.log(ambito,refTrazas+"Cannot build media locator from: " + url);
    try {
    // Create a DataSource given the media locator.
    Logger.log(ambito,refTrazas+"Creating JMF data source");
    try
    ds = Manager.createDataSource(ml);
    catch (Exception e) {
    Logger.log(ambito,refTrazas+"Cannot create DataSource from: " + ml);
    return 1;
    p = Manager.createProcessor(ds);
    } catch (Exception e) {
    Logger.log(ambito,refTrazas+"Failed to create a processor from the given url: " + e);
    return 1;
    } // end try-catch
    p.addControllerListener(this);
    Logger.log(ambito,refTrazas+"Configure Processor.");
    // Put the Processor into configured state.
    p.configure();
    if (!waitForState(p.Configured))
    Logger.log(ambito,refTrazas+"Failed to configure the processor.");
    p.close();
    p=null;
    return 1;
    Logger.log(ambito,refTrazas+"Configured Processor OK.");
    // So I can use it as a player.
    p.setContentDescriptor(new FileTypeDescriptor(FileTypeDescriptor.RAW_RTP));
    // videoTrack: track control for the video track
    DrawFrame draw= new DrawFrame(this);
    // Instantiate and set the frame access codec to the data flow path.
    try {
    Codec codec[] = {
    draw,
    new com.sun.media.codec.video.colorspace.JavaRGBToYUV(),
    new com.ibm.media.codec.video.h263.NativeEncoder()};
    videoTrack.setCodecChain(codec);
    } catch (UnsupportedPlugInException e) {
    Logger.log(ambito,refTrazas+"The processor does not support effects.");
    } // end try-catch CodecChain creation
    p.realize();
    if (!waitForState(p.Realized))
    Logger.log(ambito,refTrazas+"Failed to realize the processor.");
    return 1;
    Logger.log(ambito,refTrazas+"realized processor OK.");
    /* After realize processor: THESE LINES OF SOURCE CODE DOES NOT RELEASE ITS FILE DESCRIPTOR !!!!!
    p.stop();
    p.deallocate();
    p.close();
    return 0;
    // It continues up to the end of the transmission, properly drawing each video frame and transmit them
    Logger.log(ambito,refTrazas+" Create Transmit.");
    try {
    int result = createTransmitter();
    } catch (Exception e) {
    Logger.log(ambito,refTrazas+"Error Create Transmitter.");
    return 1;
    } // end try-catch transmitter
    Logger.log(ambito,refTrazas+"Start Procesor.");
    // Start the processor.
    p.start();
    return 0;
    } // end of main code
    * stop when event "EndOfMediaEvent"
    public int stop () {
    try {   
    /* THIS PIECE OF CODE AND VARIATIONS HAVE BEEN TESTED
    AND THE FILE DESCRIPTOR IS NEVER RELEASED */
    p.stop();
    p.deallocate();
    p.close();
    p= null;
    for (int i = 0; i < rtpMgrs.length; i++)
    if (rtpMgrs==null) continue;
    Logger.log(ambito, refTrazas + "removeTargets;");
    rtpMgrs[i].removeTargets( "Session ended.");
    rtpMgrs[i].dispose();
    rtpMgrs[i]=null;
    } catch (Exception e) {
    Logger.log(ambito,refTrazas+"Error Stoping:"+e);
    return 1;
    return 0;
    } // end of stop()
    * Controller Listener.
    public void controllerUpdate(ControllerEvent evt) {
    Logger.log(ambito,refTrazas+"\nControllerEvent."+evt.toString());
    if (evt instanceof ConfigureCompleteEvent ||
    evt instanceof RealizeCompleteEvent ||
    evt instanceof PrefetchCompleteEvent) {
    synchronized (waitSync) {
    stateTransitionOK = true;
    waitSync.notifyAll();
    } else if (evt instanceof ResourceUnavailableEvent) {
    synchronized (waitSync) {
    stateTransitionOK = false;
    waitSync.notifyAll();
    } else if (evt instanceof EndOfMediaEvent) {
    Logger.log(ambito,refTrazas+"\nEvento EndOfMediaEvent.");
    this.stop();
    else if (evt instanceof ControllerClosedEvent)
    Logger.log(ambito,refTrazas+"\nEvent ControllerClosedEvent");
    close = true;
    waitSync.notifyAll();
    else if (evt instanceof StopByRequestEvent)
    Logger.log(ambito,refTrazas+"\nEvent StopByRequestEvent");
    stop =true;
    waitSync.notifyAll();
    Many thanks.

    Its a bug on H263, if you test it without h263 track or with other video codec, the release will be ok.
    You can try to use a not-Sun h263 codec like the one from fobs or jffmpeg projects.

  • Socket Exception in Admin Server Logs

    Hi All,
    We are facing a socket exception in Admin Server log. PFB for the exception logs:
    [2011-12-26T00:36:21.793-06:00] [AdminServer] [WARNING] [] [oracle.adfinternal.view.faces.renderkit.rich.TreeRendererUtils] [tid: [ACTIVE].ExecuteThread: '44' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 0000JHt5O2e6yGD_n95EiZ1Ev5590005ms,0] [APP: em] [dcid: 88568bb1654f17ca:22e22403:1344b1dc283:-7ffe-0000000000042162] Context menu child is not a RichMenu
    [2011-12-26T00:39:05.574-06:00] [AdminServer] [ERROR] [] [oracle.adfinternal.view.faces.config.rich.RegistrationConfigurator] [tid: [ACTIVE].ExecuteThread: '44' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 0000JHt60Xn6yGD_n95EiZ1Ev5590005nI,0] [APP: em] [dcid: 88568bb1654f17ca:22e22403:1344b1dc283:-7ffe-0000000000042182] Server Exception during PPR, #126[[
    java.net.SocketException: Write failed: Broken pipe
         at jrockit.net.SocketNativeIO.writeBytesPinned(Native Method)
         at jrockit.net.SocketNativeIO.socketWrite(SocketNativeIO.java:46)
         at java.net.SocketOutputStream.socketWrite0(SocketOutputStream.java)
         at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
         at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
         at weblogic.servlet.internal.ChunkOutput.writeChunkTransfer(ChunkOutput.java:507)
         at weblogic.servlet.internal.ChunkOutput.writeChunks(ChunkOutput.java:486)
         at weblogic.servlet.internal.ChunkOutput.flush(ChunkOutput.java:382)
         at weblogic.servlet.internal.CharsetChunkOutput.flush(CharsetChunkOutput.java:313)
         at weblogic.servlet.internal.ChunkOutputWrapper.flush(ChunkOutputWrapper.java:174)
         at weblogic.servlet.internal.ServletOutputStreamImpl.flush(ServletOutputStreamImpl.java:111)
         at weblogic.servlet.internal.ServletResponseImpl.flushBuffer(ServletResponseImpl.java:185)
         at javax.servlet.ServletResponseWrapper.flushBuffer(ServletResponseWrapper.java:176)
         at javax.servlet.ServletResponseWrapper.flushBuffer(ServletResponseWrapper.java:176)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:229)
         at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
         at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:193)
         at oracle.sysman.emSDK.adfext.ctlr.EMViewHandlerImpl.renderView(EMViewHandlerImpl.java:149)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:710)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:273)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:205)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.help.web.rich.OHWFilter.doFilter(Unknown Source)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.sysman.emSDK.license.LicenseFilter.doFilter(LicenseFilter.java:164)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.sysman.emas.fwk.MASConnectionFilter.doFilter(MASConnectionFilter.java:41)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.sysman.eml.app.AuditServletFilter.doFilter(AuditServletFilter.java:179)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:203)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.sysman.core.app.perf.PerfFilter.doFilter(PerfFilter.java:141)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:542)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    [2011-12-26T00:39:07.687-06:00] [AdminServer] [WARNING] [] [oracle.adfinternal.view.faces.renderkit.rich.TreeRendererUtils] [tid: [ACTIVE].ExecuteThread: '44' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 0000JHt60co6yGD_n95EiZ1Ev5590005nJ,0] [APP: em] [dcid: 88568bb1654f17ca:22e22403:1344b1dc283:-7ffe-0000000000042183] Context menu child is not a RichMenu
    [2011-12-26T00:41:42.485-06:00] [AdminServer] [WARNING] [] [oracle.adfinternal.view.faces.renderkit.rich.TreeRendererUtils] [tid: [ACTIVE].ExecuteThread: '65' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 0000JHt6aR46yGD_n95EiZ1Ev5590005na,0] [APP: em] [dcid: 88568bb1654f17ca:22e22403:1344b1dc283:-7ffe-0000000000042198] Context menu child is not a RichMenu
    [2011-12-26T10:30:56.963-06:00] [AdminServer] [WARNING] [] [org.apache.myfaces.trinidad.webapp.ResourceServlet] [tid: [ACTIVE].ExecuteThread: '30' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 0000JHvDUMs6yGD_n95EiZ1Ev5590005q5,0] [APP: em] [dcid: 88568bb1654f17ca:22e22403:1344b1dc283:-7ffe-0000000000046718] ResourceServlet._setHeaders(): Content type for /bi/jsLibs/engine_20100410.swf is NULL![[
    Cause: Unknown file extension
    Kindly provide us a solution to avoid this issue.
    Thanks & Regards,
    Prabhu

    It seems that chunking is causing the issue. In the HTTP Transport Configuration Options of your business service, disable the setting "Use Chunked Streaming Mode"
    Regards,
    Anuj

  • Socket Exception in Oc4j to OID server communication

    Hi,
    Problem statement -
    We have a custom JAAS login module running in oracle 10g( version-10.1.3) server and which authenticates the loged in user against oracle LDAP server(version-10.1.4 ), which is running in a separate machine. We are getting some socket exception after couple of hours, the complete stack trace is listed below. We are using ldap pooling and closing the context properly along with other resources which are opened. i am finding difficulty to resolve the issue, appreciate if any one has any idea to resolve it
    Stack Trace
    26332728 [AJPRequestHandler-HTTPThreadGroup-12] INFO com.hp.dit.ldap.LDAPManagerImpl - dit exception in validating user
    com.hp.dit.exception.DITLDAPException: 030001
         at com.hp.dit.ldap.LDAPManagerImpl.getUserDN(LDAPManagerImpl.java:159)
         at com.hp.dit.ldap.LDAPManagerImpl.isValidUser(LDAPManagerImpl.java:176)
         at com.hp.dit.ldap.DITLoginModule.login(DITLoginModule.java:131)
         at sun.reflect.GeneratedMethodAccessor34.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
         at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
         at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
         at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
         at oracle.security.jazn.oc4j.OC4JUtil.doJAASLogin(OC4JUtil.java:241)
         at oracle.security.jazn.oc4j.GenericUser$1.run(JAZNUserManager.java:818)
         at oracle.security.jazn.oc4j.OC4JUtil.doWithJAZNClsLdr(OC4JUtil.java:173)
         at oracle.security.jazn.oc4j.GenericUser.authenticate(JAZNUserManager.java:814)
         at oracle.security.jazn.oc4j.FilterUser.authenticate(JAZNUserManager.java:1143)
         at com.evermind.server.http.EvermindHttpServletRequest.getUserPrincipalInternal(EvermindHttpServletRequest.java:3601)
         at com.evermind.server.http.AJPHttpServletRequest.getUserPrincipalInternal(AJPHttpServletRequest.java:261)
         at com.evermind.server.http.HttpApplication.checkAuthenticationAndAuthorize(HttpApplication.java:6332)
         at com.evermind.server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:3009)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:736)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: javax.naming.CommunicationException: Connection timed out [Root exception is java.net.SocketException: Connection timed out]; remaining name 'dc=dit,c=in'
         at com.sun.jndi.ldap.LdapCtx.doSearch(LdapCtx.java:1961)
         at com.sun.jndi.ldap.LdapCtx.searchAux(LdapCtx.java:1806)
         at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1731)
         at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search(ComponentDirContext.java:368)
         at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:338)
         at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:321)
         at javax.naming.directory.InitialDirContext.search(InitialDirContext.java:248)
         at com.hp.dit.ldap.LDAPManagerImpl.getUserDN(LDAPManagerImpl.java:137)
         ... 30 more
    Caused by: java.net.SocketException: Connection timed out
         at java.net.SocketInputStream.socketRead0(Native Method)
         at java.net.SocketInputStream.read(SocketInputStream.java:129)
         at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
         at java.io.BufferedInputStream.read1(BufferedInputStream.java:256)
         at java.io.BufferedInputStream.read(BufferedInputStream.java:313)
         at com.sun.jndi.ldap.Connection.run(Connection.java:784)
         ... 1 more
    26338902 [AJPRequestHandler-HTTPThreadGroup-40] INFO com.hp.dit.web.action.RegisterAction - day string in reg action *****03/01/1989
    26338910 [AJPRequestHandler-HTTPThreadGroup-40] INFO com.hp.dit.web.action.RegisterAction - Register PAN VO is Not Nullcom.hp.dit.vo.PANRegVO@3a15bb
    26349628 [AJPRequestHandler-HTTPThreadGroup-12] INFO com.hp.dit.ldap.LDAPManagerImpl - exception in getting user distinguished name
    javax.naming.CommunicationException: Connection timed out [Root exception is java.net.SocketException: Connection timed out]; remaining name 'dc=dit,c=in'
         at com.sun.jndi.ldap.LdapCtx.doSearch(LdapCtx.java:1961)
         at com.sun.jndi.ldap.LdapCtx.searchAux(LdapCtx.java:1806)
         at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1731)
         at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search(ComponentDirContext.java:368)
         at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:338)
         at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:321)
         at javax.naming.directory.InitialDirContext.search(InitialDirContext.java:248)
         at com.hp.dit.ldap.LDAPManagerImpl.getUserDN(LDAPManagerImpl.java:137)
         at com.hp.dit.ldap.LDAPManagerImpl.isValidUser(LDAPManagerImpl.java:176)
         at com.hp.dit.ldap.DITLoginModule.login(DITLoginModule.java:131)
         at sun.reflect.GeneratedMethodAccessor34.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
         at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
         at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
         at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
         at oracle.security.jazn.oc4j.OC4JUtil.doJAASLogin(OC4JUtil.java:241)
         at oracle.security.jazn.oc4j.GenericUser$1.run(JAZNUserManager.java:818)
         at oracle.security.jazn.oc4j.OC4JUtil.doWithJAZNClsLdr(OC4JUtil.java:173)
         at oracle.security.jazn.oc4j.GenericUser.authenticate(JAZNUserManager.java:814)
         at oracle.security.jazn.oc4j.FilterUser.authenticate(JAZNUserManager.java:1143)
         at com.evermind.server.http.EvermindHttpServletRequest.getUserPrincipalInternal(EvermindHttpServletRequest.java:3601)
         at com.evermind.server.http.AJPHttpServletRequest.getUserPrincipalInternal(AJPHttpServletRequest.java:261)
         at com.evermind.server.http.HttpApplication.checkAuthenticationAndAuthorize(HttpApplication.java:6332)
         at com.evermind.server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:3009)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:736)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: java.net.SocketException: Connection timed out
         at java.net.SocketInputStream.socketRead0(Native Method)
         at java.net.SocketInputStream.read(SocketInputStream.java:129)
         at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
         at java.io.BufferedInputStream.read1(BufferedInputStream.java:256)
         at java.io.BufferedInputStream.read(BufferedInputStream.java:313)
         at com.sun.jndi.ldap.Connection.run(Connection.java:784)
         ... 1 more
    26349629 [AJPRequestHandler-HTTPThreadGroup-12] INFO com.hp.dit.ldap.LDAPManagerImpl - dit exception in validating user
    com.hp.dit.exception.DITLDAPException: 030001
         at com.hp.dit.ldap.LDAPManagerImpl.getUserDN(LDAPManagerImpl.java:159)
         at com.hp.dit.ldap.LDAPManagerImpl.isValidUser(LDAPManagerImpl.java:176)
         at com.hp.dit.ldap.DITLoginModule.login(DITLoginModule.java:131)
         at sun.reflect.GeneratedMethodAccessor34.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
         at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
         at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
         at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
         at oracle.security.jazn.oc4j.OC4JUtil.doJAASLogin(OC4JUtil.java:241)
         at oracle.security.jazn.oc4j.GenericUser$1.run(JAZNUserManager.java:818)
         at oracle.security.jazn.oc4j.OC4JUtil.doWithJAZNClsLdr(OC4JUtil.java:173)
         at oracle.security.jazn.oc4j.GenericUser.authenticate(JAZNUserManager.java:814)
         at oracle.security.jazn.oc4j.FilterUser.authenticate(JAZNUserManager.java:1143)
         at com.evermind.server.http.EvermindHttpServletRequest.getUserPrincipalInternal(EvermindHttpServletRequest.java:3601)
         at com.evermind.server.http.AJPHttpServletRequest.getUserPrincipalInternal(AJPHttpServletRequest.java:261)
         at com.evermind.server.http.HttpApplication.checkAuthenticationAndAuthorize(HttpApplication.java:6332)
         at com.evermind.server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:3009)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:736)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: javax.naming.CommunicationException: Connection timed out [Root exception is java.net.SocketException: Connection timed out]; remaining name 'dc=dit,c=in'
         at com.sun.jndi.ldap.LdapCtx.doSearch(LdapCtx.java:1961)
         at com.sun.jndi.ldap.LdapCtx.searchAux(LdapCtx.java:1806)
         at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1731)
         at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search(ComponentDirContext.java:368)
         at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:338)
         at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:321)
         at javax.naming.directory.InitialDirContext.search(InitialDirContext.java:248)
         at com.hp.dit.ldap.LDAPManagerImpl.getUserDN(LDAPManagerImpl.java:137)
         ... 30 more
    Caused by: java.net.SocketException: Connection timed out
         at java.net.SocketInputStream.socketRead0(Native Method)
         at java.net.SocketInputStream.read(SocketInputStream.java:129)
         at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
         at java.io.BufferedInputStream.read1(BufferedInputStream.java:256)
         at java.io.BufferedInputStream.read(BufferedInputStream.java:313)
         at com.sun.jndi.ldap.Connection.run(Connection.java:784)
         ... 1 more
    0 [OC4J Launcher] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
    4 [OC4J Launcher] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
    294 [OC4J Launcher] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='com.hp.dit.web.action.ApplicationResources', returnNull=true
    451 [OC4J Launcher] INFO org.apache.struts.tiles.TilesPlugin - Tiles definition factory loaded for module ''.
    560 [OC4J Launcher] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
    561 [OC4J Launcher] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
    872 [OC4J Launcher] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='com.knowtan.view.ApplicationResources', returnNull=true
    8669 [OC4J Launcher] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
    8669 [OC4J Launcher] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
    9033 [OC4J Launcher] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='com.hp.dit.web.action.ApplicationResources', returnNull=true
    9454 [OC4J Launcher] INFO org.apache.struts.tiles.TilesPlugin - Tiles definition factory loaded for module ''.
    11036 [AJPRequestHandler-HTTPThreadGroup-4] INFO org.apache.struts.tiles.TilesRequestProcessor - Tiles definition factory found for request processor ''.
    11329 [AJPRequestHandler-HTTPThreadGroup-5] INFO org.apache.struts.tiles.TilesRequestProcessor - Tiles definition factory found for request processor ''.
    11435 [AJPRequestHandler-HTTPThreadGroup-5] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    11439 [AJPRequestHandler-HTTPThreadGroup-5] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    11464 [AJPRequestHandler-HTTPThreadGroup-6] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
    11595 [AJPRequestHandler-HTTPThreadGroup-8] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    11604 [AJPRequestHandler-HTTPThreadGroup-8] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    11604 [AJPRequestHandler-HTTPThreadGroup-8] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    11607 [AJPRequestHandler-HTTPThreadGroup-8] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    11613 [AJPRequestHandler-HTTPThreadGroup-8] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    11615 [AJPRequestHandler-HTTPThreadGroup-8] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    11648 [AJPRequestHandler-HTTPThreadGroup-8] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
    12881 [AJPRequestHandler-HTTPThreadGroup-5] ERROR org.apache.struts.action.RequestProcessor - Invalid path /downloads was requested
    17516 [AJPRequestHandler-HTTPThreadGroup-4] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    17518 [AJPRequestHandler-HTTPThreadGroup-6] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    17538 [AJPRequestHandler-HTTPThreadGroup-4] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
    0 [OC4J Launcher] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
    4 [OC4J Launcher] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
    18073 [AJPRequestHandler-HTTPThreadGroup-14] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='org.apache.struts.actions.LocalStrings', returnNull=true
    18098 [AJPRequestHandler-HTTPThreadGroup-14] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    303 [OC4J Launcher] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='com.hp.dit.web.action.ApplicationResources', returnNull=true
    457 [OC4J Launcher] INFO org.apache.struts.tiles.TilesPlugin - Tiles definition factory loaded for module ''.
    560 [OC4J Launcher] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
    560 [OC4J Launcher] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
    857 [OC4J Launcher] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='com.knowtan.view.ApplicationResources', returnNull=true
    8951 [OC4J Launcher] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
    8952 [OC4J Launcher] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
    9326 [OC4J Launcher] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='com.hp.dit.web.action.ApplicationResources', returnNull=true
    9734 [OC4J Launcher] INFO org.apache.struts.tiles.TilesPlugin - Tiles definition factory loaded for module ''.
    10874 [AJPRequestHandler-HTTPThreadGroup-4] INFO org.apache.struts.tiles.TilesRequestProcessor - Tiles definition factory found for request processor ''.
    10907 [AJPRequestHandler-HTTPThreadGroup-4] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    10910 [AJPRequestHandler-HTTPThreadGroup-4] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    10934 [AJPRequestHandler-HTTPThreadGroup-4] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
    11237 [AJPRequestHandler-HTTPThreadGroup-4] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    11246 [AJPRequestHandler-HTTPThreadGroup-4] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    11247 [AJPRequestHandler-HTTPThreadGroup-4] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    11250 [AJPRequestHandler-HTTPThreadGroup-4] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    11256 [AJPRequestHandler-HTTPThreadGroup-4] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    11258 [AJPRequestHandler-HTTPThreadGroup-4] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    11300 [AJPRequestHandler-HTTPThreadGroup-4] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
    12583 [AJPRequestHandler-HTTPThreadGroup-4] INFO org.apache.struts.tiles.TilesRequestProcessor - Tiles definition factory found for request processor ''.
    33404 [AJPRequestHandler-HTTPThreadGroup-11] INFO com.hp.dit.ldap.DITLoginModule - userRoleName govtadmin
    33962 [AJPRequestHandler-HTTPThreadGroup-14] INFO com.hp.dit.ldap.DITLoginModule - userRoleName induser
    16145 [AJPRequestHandler-HTTPThreadGroup-4] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    16148 [AJPRequestHandler-HTTPThreadGroup-4] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    16168 [AJPRequestHandler-HTTPThreadGroup-4] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
    1 [OC4J Launcher] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
    4 [OC4J Launcher] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
    304 [OC4J Launcher] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='com.hp.dit.web.action.ApplicationResources', returnNull=true
    458 [OC4J Launcher] INFO org.apache.struts.tiles.TilesPlugin - Tiles definition factory loaded for module ''.
    561 [OC4J Launcher] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
    562 [OC4J Launcher] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
    857 [OC4J Launcher] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='com.knowtan.view.ApplicationResources', returnNull=true
    41063 [AJPRequestHandler-HTTPThreadGroup-14] INFO com.hp.dit.ldap.DITLoginModule - userRoleName induser
    41089 [AJPRequestHandler-HTTPThreadGroup-17] INFO com.hp.dit.web.action.RegisterAction - day string in reg action *****18/04/1958
    41110 [AJPRequestHandler-HTTPThreadGroup-17] INFO com.hp.dit.web.action.RegisterAction - Register PAN VO is Not Nullcom.hp.dit.vo.PANRegVO@1426780
    8845 [OC4J Launcher] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
    8846 [OC4J Launcher] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
    9209 [OC4J Launcher] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='com.hp.dit.web.action.ApplicationResources', returnNull=true
    9636 [OC4J Launcher] INFO org.apache.struts.tiles.TilesPlugin - Tiles definition factory loaded for module ''.
    12923 [AJPRequestHandler-HTTPThreadGroup-4] INFO org.apache.struts.tiles.TilesRequestProcessor - Tiles definition factory found for request processor ''.
    12956 [AJPRequestHandler-HTTPThreadGroup-4] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    12959 [AJPRequestHandler-HTTPThreadGroup-4] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    12983 [AJPRequestHandler-HTTPThreadGroup-4] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
    49394 [AJPRequestHandler-HTTPThreadGroup-11] INFO com.hp.dit.ldap.DITLoginModule - userRoleName induser
    0 [OC4J Launcher] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
    3 [OC4J Launcher] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
    305 [OC4J Launcher] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='com.hp.dit.web.action.ApplicationResources', returnNull=true
    54351 [AJPRequestHandler-HTTPThreadGroup-7] INFO com.hp.dit.web.action.RegisterAction - day string in reg action *****03/01/1989
    54365 [AJPRequestHandler-HTTPThreadGroup-7] INFO com.hp.dit.web.action.RegisterAction - Register PAN VO is Not Nullcom.hp.dit.vo.PANRegVO@154598e
    460 [OC4J Launcher] INFO org.apache.struts.tiles.TilesPlugin - Tiles definition factory loaded for module ''.
    565 [OC4J Launcher] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
    566 [OC4J Launcher] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
    875 [OC4J Launcher] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='com.knowtan.view.ApplicationResources', returnNull=true
    37396 [AJPRequestHandler-HTTPThreadGroup-4] INFO com.hp.dit.ldap.DITLoginModule - userRoleName induser
    37412 [AJPRequestHandler-HTTPThreadGroup-4] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='org.apache.struts.actions.LocalStrings', returnNull=true
    57805 [AJPRequestHandler-HTTPThreadGroup-12] INFO com.hp.dit.ldap.DITLoginModule - userRoleName induser
    22424 [AJPRequestHandler-HTTPThreadGroup-5] INFO org.apache.struts.tiles.TilesRequestProcessor - Tiles definition factory found for request processor ''.
    22449 [AJPRequestHandler-HTTPThreadGroup-5] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    22452 [AJPRequestHandler-HTTPThreadGroup-5] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    22472 [AJPRequestHandler-HTTPThreadGroup-5] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
    44494 [AJPRequestHandler-HTTPThreadGroup-8] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    8920 [OC4J Launcher] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
    8921 [OC4J Launcher] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
    9304 [OC4J Launcher] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='com.hp.dit.web.action.ApplicationResources', returnNull=true
    9707 [OC4J Launcher] INFO org.apache.struts.tiles.TilesPlugin - Tiles definition factory loaded for module ''.
    65228 [AJPRequestHandler-HTTPThreadGroup-12] INFO com.hp.dit.web.action.RegisterAction - day string in reg action *****26/11/1961
    65238 [AJPRequestHandler-HTTPThreadGroup-12] INFO com.hp.dit.web.action.RegisterAction - Register PAN VO is Not Nullcom.hp.dit.vo.PANRegVO@1c7d395
    11721 [AJPRequestHandler-HTTPThreadGroup-4] INFO org.apache.struts.tiles.TilesRequestProcessor - Tiles definition factory found for request processor ''.
    11893 [AJPRequestHandler-HTTPThreadGroup-4] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    11896 [AJPRequestHandler-HTTPThreadGroup-4] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    11919 [AJPRequestHandler-HTTPThreadGroup-4] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
    70517 [AJPRequestHandler-HTTPThreadGroup-12] INFO com.hp.dit.web.action.MyAccountMenuAction - Exception Inside MyAccountActionoracle.oc4j.rmi.OracleRemoteException: com.hp.dit.exception.ToplinkRuntimeException: 040001; nested exception is:
         com.hp.dit.exception.ToplinkRuntimeException: 040001
    19299 [AJPRequestHandler-HTTPThreadGroup-5] INFO org.apache.struts.tiles.TilesRequestProcessor - Tiles definition factory found for request processor ''.
    73771 [AJPRequestHandler-HTTPThreadGroup-4] INFO com.hp.dit.ldap.LDAPManagerImpl - Authentication failure in LDAP in context look up
    javax.naming.AuthenticationException: [LDAP: error code 49 - Invalid Credentials]
         at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:2985)
         at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2931)
         at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2732)
         at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2646)
         at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:283)
         at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:175)
         at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:193)
         at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:136)
         at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:66)
         at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
         at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
         at javax.naming.InitialContext.init(InitialContext.java:223)
         at javax.naming.InitialContext.<init>(InitialContext.java:197)
         at javax.naming.directory.InitialDirContext.<init>(InitialDirContext.java:82)
         at com.hp.dit.ldap.LDAPManagerImpl.getDirectoryContext(LDAPManagerImpl.java:87)
         at com.hp.dit.ldap.LDAPManagerImpl.isValidUser(LDAPManagerImpl.java:179)
         at com.hp.dit.ldap.DITLoginModule.login(DITLoginModule.java:131)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
         at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
         at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
         at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
         at oracle.security.jazn.oc4j.OC4JUtil.doJAASLogin(OC4JUtil.java:241)
         at oracle.security.jazn.oc4j.GenericUser$1.run(JAZNUserManager.java:818)
         at oracle.security.jazn.oc4j.OC4JUtil.doWithJAZNClsLdr(OC4JUtil.java:173)
         at oracle.security.jazn.oc4j.GenericUser.authenticate(JAZNUserManager.java:814)
         at oracle.security.jazn.oc4j.FilterUser.authenticate(JAZNUserManager.java:1143)
         at com.evermind.server.http.EvermindHttpServletRequest.getUserPrincipalInternal(EvermindHttpServletRequest.java:3601)
         at com.evermind.server.http.AJPHttpServletRequest.getUserPrincipalInternal(AJPHttpServletRequest.java:261)
         at com.evermind.server.http.HttpApplication.checkAuthenticationAndAuthorize(HttpApplication.java:6332)
         at com.evermind.server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:3009)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:736)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    73775 [AJPRequestHandler-HTTPThreadGroup-4] INFO com.hp.dit.ldap.LDAPManagerImpl - dit exception in validating user
    com.hp.dit.exception.DITLDAPException: 030002
         at com.hp.dit.ldap.LDAPManagerImpl.getDirectoryContext(LDAPManagerImpl.java:101)
         at com.hp.dit.ldap.LDAPManagerImpl.isValidUser(LDAPManagerImpl.java:179)
         at com.hp.dit.ldap.DITLoginModule.login(DITLoginModule.java:131)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
         at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
         at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
         at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
         at oracle.security.jazn.oc4j.OC4JUtil.doJAASLogin(OC4JUtil.java:241)
         at oracle.security.jazn.oc4j.GenericUser$1.run(JAZNUserManager.java:818)
         at oracle.security.jazn.oc4j.OC4JUtil.doWithJAZNClsLdr(OC4JUtil.java:173)
         at oracle.security.jazn.oc4j.GenericUser.authenticate(JAZNUserManager.java:814)
         at oracle.security.jazn.oc4j.FilterUser.authenticate(JAZNUserManager.java:1143)
         at com.evermind.server.http.EvermindHttpServletRequest.getUserPrincipalInternal(EvermindHttpServletRequest.java:3601)
         at com.evermind.server.http.AJPHttpServletRequest.getUserPrincipalInternal(AJPHttpServletRequest.java:261)
         at com.evermind.server.http.HttpApplication.checkAuthenticationAndAuthorize(HttpApplication.java:6332)
         at com.evermind.server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:3009)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:736)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: javax.naming.AuthenticationException: [LDAP: error code 49 - Invalid Credentials]
         at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:2985)
         at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2931)
         at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2732)
         at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2646)
         at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:283)
         at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:175)
         at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:193)
         at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:136)
         at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:66)
         at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
         at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
         at javax.naming.InitialContext.init(InitialContext.java:223)
         at javax.naming.InitialContext.<init>(InitialContext.java:197)
         at javax.naming.directory.InitialDirContext.<init>(InitialDirContext.java:82)
         at com.hp.dit.ldap.LDAPManagerImpl.getDirectoryContext(LDAPManagerImpl.java:87)
         ... 31 more
    78597 [AJPRequestHandler-HTTPThreadGroup-7] INFO com.hp.dit.web.action.RegisterAction - day string in reg action *****03/11/1971
    78607 [AJPRequestHandler-HTTPThreadGroup-7] INFO com.hp.dit.web.action.RegisterAction - Register PAN VO is Not Nullcom.hp.dit.vo.PANRegVO@116ce6e
    26439 [AJPRequestHandler-HTTPThreadGroup-6] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    26441 [AJPRequestHandler-HTTPThreadGroup-6] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    26461 [AJPRequestHandler-HTTPThreadGroup-6] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
    83344 [AJPRequestHandler-HTTPThreadGroup-5] INFO com.hp.dit.web.action.RegisterAction - day string in reg action *****18/04/1958
    83356 [AJPRequestHandler-HTTPThreadGroup-5] INFO com.hp.dit.web.action.RegisterAction - Register PAN VO is Not Nullcom.hp.dit.vo.PANRegVO@1074641
    83612 [AJPRequestHandler-HTTPThreadGroup-7] INFO com.hp.dit.web.action.RegisterAction - day string in reg action *****16/09/1986
    83623 [AJPRequestHandler-HTTPThreadGroup-7] INFO com.hp.dit.web.action.RegisterAction - Register PAN VO is Not Nullcom.hp.dit.vo.PANRegVO@1155331
    92047 [AJPRequestHandler-HTTPThreadGroup-15] INFO com.hp.dit.ldap.DITLoginModule - userRoleName induser
    96447 [AJPRequestHandler-HTTPThreadGroup-17] INFO com.hp.dit.web.action.MyAccountMenuAction - Exception Inside MyAccountActionoracle.oc4j.rmi.OracleRemoteException: com.hp.dit.exception.ToplinkRuntimeException: 040001; nested exception is:
         com.hp.dit.exception.ToplinkRuntimeException: 040001
    50870 [AJPRequestHandler-HTTPThreadGroup-5] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    50880 [AJPRequestHandler-HTTPThreadGroup-5] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    50880 [AJPRequestHandler-HTTPThreadGroup-5] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    50883 [AJPRequestHandler-HTTPThreadGroup-5] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    50889 [AJPRequestHandler-HTTPThreadGroup-5] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    50891 [AJPRequestHandler-HTTPThreadGroup-5] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    50918 [AJPRequestHandler-HTTPThreadGroup-5] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
    109405 [AJPRequestHandler-HTTPThreadGroup-4] INFO com.hp.dit.ldap.LDAPManagerImpl - UserID not found in search
    118815 [AJPRequestHandler-HTTPThreadGroup-19] INFO com.hp.dit.web.action.RegisterAction - day string in reg action *****28/11/1961
    118826 [AJPRequestHandler-HTTPThreadGroup-19] INFO com.hp.dit.web.action.RegisterAction - Register PAN VO is Not Nullcom.hp.dit.vo.PANRegVO@1ba18ce
    121088 [AJPRequestHandler-HTTPThreadGroup-19] INFO com.hp.dit.web.action.MyAccountMenuAction - Exception Inside MyAccountActionoracle.oc4j.rmi.OracleRemoteException: com.hp.dit.exception.ToplinkRuntimeException: 040001; nested exception is:
         com.hp.dit.exception.ToplinkRuntimeException: 040001
    87244 [AJPRequestHandler-HTTPThreadGroup-8] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    87254 [AJPRequestHandler-HTTPThreadGroup-8] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    87254 [AJPRequestHandler-HTTPThreadGroup-8] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    87257 [AJPRequestHandler-HTTPThreadGroup-8] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    87264 [AJPRequestHandler-HTTPThreadGroup-8] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    87267 [AJPRequestHandler-HTTPThreadGroup-8] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    87274 [AJPRequestHandler-HTTPThreadGroup-8] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
    124169 [AJPRequestHandler-HTTPThreadGroup-23] INFO com.hp.dit.ldap.LDAPManagerImpl - UserID not found in search
    125928 [AJPRequestHandler-HTTPThreadGroup-23] INFO com.hp.dit.ldap.LDAPManagerImpl - UserID not found in search
    91938 [AJPRequestHandler-HTTPThreadGroup-9] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='org.apache.struts.actions.LocalStrings', returnNull=true
    92057 [AJPRequestHandler-HTTPThreadGroup-9] INFO com.hp.dit.web.action.RegisterAction - day string in reg action *****03/04/1951
    92281 [AJPRequestHandler-HTTPThreadGroup-9] INFO com.hp.dit.web.action.RegisterAction - Register PAN VO is Not Nullcom.hp.dit.vo.PANRegVO@177e3d4
    92301 [AJPRequestHandler-HTTPThreadGroup-9] INFO org.apache.struts.util.PropertyMessageResources - Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    114238 [AJPRequestHandler-HTTPThreadGroup-11] INFO com.hp.dit.web.action.RegisterAction - day string in reg action *****21/02/1960
    114442 [AJPRequestHandler-HTTPThreadGroup-11] INFO com.hp.dit.web.action.RegisterAction - Register PAN VO is Not Nullcom.hp.dit.vo.PANRegVO@17a64f2
    135185 [AJPRequestHandler-HTTPThreadGroup-25] INFO com.hp.dit.web.action.RegisterAction - day string in reg action *****03/11/1927
    135208 [AJPRequestHandler-HTTPThreadGroup-25] INFO com.hp.dit.web.action.RegisterAction - Register PAN VO is Not Nullcom.hp.dit.vo.PANRegVO@1dbda4f
    139243 [AJPRequestHandler-HTTPThreadGroup-25] INFO com.hp.dit.ldap.DITLoginModule - userRoleName induser
    154238 [AJPRequestHandler-HTTPThreadGroup-28] INFO com.hp.dit.web.action.RegisterAction - day string in reg action *****30/12/1971
    154253 [AJPRequestHandler-HTTPThreadGroup-28] INFO com.hp.dit.web.action.RegisterAction - Register PAN VO is Not Nullcom.hp.dit.vo.PANRegVO@acb798
    190846 [AJPRequestHandler-HTTPThreadGroup-4] INFO com.hp.dit.ldap.DITLoginModule - userRoleName induser

    Raj,
    Thanks for your answer. It solved my problem. Thanks you very much.
    Thanks,
    Madhu.

  • Jwsdp: after more than one day live the server send a socket exception.

    Hello,
    I built a beginning of an application using bookstore2 as a template. The main difference is that I am using mysql DBMS. The application runs fine, but when I leave the server running overnight, the following day I get this error:
    Your request cannot be completed. The server got the following error:
    Communication link failure: java.net.SocketException
    every time I use a jsp involved in the database access. The other jsps like cart checking are working fine.
    I checked the database server (even thru a socket), it works fine and worse, manager: a context not depending on the database doesn't work anymore when I try to use ant reload I get this error:
    /home/jeanct/jwsdp/dvl/dciweb/build.xml:62: java.io.IOException: Server returned HTTP response code: 401 for URL: http://localhost:8080/manager/reload?path=%2Fdciweb
    After a server shutdown and a startup it works fine again.
    Thank you if you can give me any clue
    Jean-Claude Tebbal
    Senior Analyst progammer
    DCI ltd UK
    PS:
    here follow the application context an logs:
    Property Value
    JNDI Name: Localwebdb
    Data Source URL: jdbc:mysql://localhost:3306/dciweb
    JDBC Driver Class: org.gjt.mm.mysql.Driver
    User Name: root
    Password: *********
    Max. Active Connections: 4
    Max. Idle Connections: 2
    Max. Wait for Connection: 5000
    context.xml
    <Context path="/dciweb" docBase="../dvl/dciweb/build" debug="0">
    <ResourceLink name="jdbc/dciweb" global="Localwebdb" />
    </Context>
    logs:
    access_log.2002-10-16.txt:
    127.0.0.1 - - [16/Oct/2002:09:56:40 00] "GET /dciweb/ HTTP/1.1" 302 -
    127.0.0.1 - - [16/Oct/2002:09:56:42 00] "GET /dciweb/index.jsp HTTP/1.1" 200 -
    127.0.0.1 - - [16/Oct/2002:09:56:42 00] "GET /dciweb/browser_checker.js HTTP/1.1" 304 -
    127.0.0.1 - - [16/Oct/2002:09:56:42 00] "GET /dciweb/start.jsp?browser=ok HTTP/1.1" 200 -
    127.0.0.1 - - [16/Oct/2002:09:56:50 00] "GET /dciweb/offerlist.jsp HTTP/1.1" 200 -
    catalina.out:
    DbcpDataSourceFactory: driverClassName=com.informix.jdbc.IfxDriver, url=jdbc:informix-sqli://bti:3003/cell:INFORMIXSERVER=sh_bti, use
    r=informix
    DbcpDataSourceFactory: driverClassName=org.gjt.mm.mysql.Driver, url=jdbc:mysql://localhost:3306/dciweb, user=root
    Starting service Internal Services
    Java Web Services Developer Pack/1.0_01-fcs
    Starting service Java Web Services Developer Pack
    Java Web Services Developer Pack/1.0_01-fcs
    jwsdp_log.2002-10-16.txt:
    2002-10-16 09:24:34 jsp: init
    2002-10-16 09:30:51 jsp: init
    2002-10-16 09:56:42 jsp: init
    2002-10-16 09:56:50 jsp: init
    localhost_admin_log.2002-10-16.txt:
    2002-10-16 09:49:29 jsp: init
    2002-10-16 09:49:37 jsp: init
    2002-10-16 09:49:52 jsp: init
    2002-10-16 09:49:54 jsp: init
    2002-10-16 09:49:55 jsp: init
    2002-10-16 09:49:59 jsp: init
    2002-10-16 09:50:02 action: Entered TreeControlTestAction:perform()
    2002-10-16 09:50:02 action: tree param is null
    2002-10-16 09:50:02 action: Select event on Globally Administer Data Sources
    2002-10-16 09:50:03 jsp: init
    2002-10-16 09:50:11 jsp: init
    services_log.2002-10-15.txt:
    2002-10-15 13:26:43 WebappLoader[jaxm-provideradmin]: Deploying class repositories to work directory /home/jeanct/jwsdp/work/Services
    Engine/jwsdp-services/jaxm-provideradmin
    2002-10-15 13:26:43 WebappLoader[jaxm-provideradmin]: Deploy class files /WEB-INF/classes to /home/jeanct/jwsdp/services/jaxm-provide
    radmin/WEB-INF/classes
    2002-10-15 13:26:43 WebappLoader[jaxm-provideradmin]: Deploy JAR /WEB-INF/lib/provider.jar to /home/jeanct/jwsdp/services/jaxm-provid
    eradmin/WEB-INF/lib/provider.jar
    2002-10-15 13:26:43 WebappLoader[jaxm-provideradmin]: Deploy JAR /WEB-INF/lib/struts.jar to /home/jeanct/jwsdp/services/jaxm-provider
    admin/WEB-INF/lib/struts.jar
    2002-10-15 13:26:45 ContextConfig[jaxm-provideradmin]: WARNING: Security role name provider used in an <auth-constraint> without bein
    g defined in a <security-role>
    2002-10-15 13:26:47 ContextConfig[jaxm-provideradmin]: Configured an authenticator for method BASIC
    2002-10-15 13:26:47 StandardManager[jaxm-provideradmin]: Seeding random number generator class java.security.SecureRandom
    2002-10-15 13:26:47 StandardManager[jaxm-provideradmin]: Seeding of random number generator has been completed
    2002-10-15 13:26:47 StandardWrapper[jaxm-provideradmin:default]: Loading container servlet default
    2002-10-15 13:26:47 default: init
    2002-10-15 13:26:47 StandardWrapper[jaxm-provideradmin:invoker]: Loading container servlet invoker
    2002-10-15 13:26:47 invoker: init
    2002-10-15 13:26:47 action: init
    2002-10-15 13:26:49 jsp: init
    2002-10-15 13:26:52 WebappLoader[jaxm-provider]: Deploying class repositories to work directory /home/jeanct/jwsdp/work/Services Engi
    ne/jwsdp-services/jaxm-provider
    2002-10-15 13:26:52 WebappLoader[jaxm-provider]: Deploy JAR /WEB-INF/lib/provider.jar to /home/jeanct/jwsdp/services/jaxm-provider/WE
    B-INF/lib/provider.jar
    2002-10-15 13:26:53 StandardManager[jaxm-provider]: Seeding random number generator class java.security.SecureRandom
    2002-10-15 13:26:53 StandardManager[jaxm-provider]: Seeding of random number generator has been completed
    2002-10-15 13:26:53 providerservlet: init
    2002-10-15 13:26:54 StandardWrapper[jaxm-provider:default]: Loading container servlet default
    2002-10-15 13:26:54 default: init
    2002-10-15 13:26:54 StandardWrapper[jaxm-provider:invoker]: Loading container servlet invoker
    2002-10-15 13:26:54 invoker: init
    2002-10-15 13:26:54 receiverservlet: init
    2002-10-15 13:26:54 jsp: init
    2002-10-15 13:26:54 digest: init

    I found the answer to my question, I give it here for those using mysql as a DBMS.
    Two variables in MySql have to be tuned: INTERACTIVE_TIMEOUT and WAIT_TIMEOUT. They default to 8 hours, so after 8 hours the two remaining idle connections were killed
    and a socket exception was thrown to the first use of the connection pool.

  • 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

  • "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>

  • No more data to read from socket Exception -thin client

    my program is ..
    import java.sql.*;
    class OracleSQL
         OracleSQL()
         public static void connect2DB()
         try
              Class.forName("oracle.jdbc.driver.OracleDriver");
              Connection con=DriverManager.getConnection("jdbc:oracle:thin:@POOJAK:1521:PLSExtProc","System","pooja");
              if(con!=null)
                   Statement stmt=con.createStatement();
                   stmt.executeUpdate("insert into emp values('a',8,8)");
                   stmt.close();
                   con.close();
              else
                   System.out.println("NOT ok");
         catch(Exception e)
              e.printStackTrace();
         public static void main(String args[])
              OracleSQL osql=new OracleSQL();
              osql.connect2DB();
    following error on execution..
    java.sql.SQLException: No more data to read from socket
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java
    :112)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java
    :146)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java
    :208)
    at oracle.jdbc.driver.T4CMAREngine.unmarshalUB1(T4CMAREngine.java:1118)
    at oracle.jdbc.driver.T4CMAREngine.unmarshalSB1(T4CMAREngine.java:1070)
    at oracle.jdbc.driver.T4C8TTIpro.receive(T4C8TTIpro.java:131)
    at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:867)
    at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:268)
    at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:
    420)
    at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)
    at
    oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtensio
    n.java:35)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)
    at java.sql.DriverManager.getConnection(Unknown Source)
    at java.sql.DriverManager.getConnection(Unknown Source)
    at OracleSQL.connect2DB(OracleSQL.java:15)
    at OracleSQL.main(OracleSQL.java:38)
    classpath
    C:\oraclexe\app\oracle\product\10.2.0\server\jdbc\lib\ojdbc14.jar;C:\oraclexe\app\oracle\product\10.2.0\server\jlib\orai18n.jar ;C:\bea\weblogic81\server\lib\weblogic.jar;
    path
    C:\oraclexe\app\oracle\product\10.2.0\server\BIN;
    i m using jdk 1.5
    Plz state reason of error as i hv tried many alternatives but in vain.

    When you post code, please use[code] and [/code] tags as described in Formatting tips on the message entry page. It makes it much easier to read.
    Google:
    User StuDerby posted:
    Well, lot's of things could be causing this. Off the top of my head, in rough order of likelihood:
    1) firewall - personal, on your box, or general, around the database, is reaping long-lived connections
    2) connection wrappers on the database - ditto
    3) your pooler is configured to terminate connections that are checked out of the pool for too long and you're exceeding that time for some operations
    4) your database or it's listener is crashing out from under you (and possibly being auto-restarted by the time you look at it).

  • NULL in primary keys NOT logged to exceptions table

    Problem: Inconsistent behavior when enabling constraints using the "EXCEPTIONS INTO" clause. RDBMS Version: 9.2.0.8.0 and 10.2.0.3.0
    - NULL values in primary keys are NOT logged to exceptions table
    - NOT NULL column constraints ARE logged to exceptions table
    -- Demonstration
    -- NULL values in primary keys NOT logged to exceptions table
    TRUNCATE TABLE exceptions;
    DROP TABLE t;
    CREATE TABLE t ( x NUMBER );
    INSERT INTO t VALUES ( NULL );
    ALTER TABLE t
    ADD ( CONSTRAINT tpk PRIMARY KEY (x) EXCEPTIONS INTO exceptions );
    SELECT * FROM exceptions; -- returns no rows
    -- NOT NULL column constraints logged to exceptions table
    TRUNCATE TABLE exceptions;
    DROP TABLE t;
    CREATE TABLE t ( x NUMBER );
    INSERT INTO t VALUES ( NULL );
    ALTER TABLE t MODIFY ( X NOT NULL EXCEPTIONS INTO EXCEPTIONS );
    SELECT * FROM exceptions; -- returns one row
    I would have expected all constraint violations to be logged to exceptions. I was not able to find any documentation describing the behavior I describe above.
    Can anyone tell me if this is the intended behavior and if so, where it is documented?
    I would also appreciate it if others would confirm this behavior on their systems and say if it is what they expect.
    Thanks.
    - Doug
    P.S. Apologies for the repost from an old thread, which someone else found objectionable.

    I should have posted the output. Here it is.
    SQL>TRUNCATE TABLE exceptions;
    Table truncated.
    SQL>DROP TABLE t;
    Table dropped.
    SQL>CREATE TABLE t ( x NUMBER );
    Table created.
    SQL>INSERT INTO t VALUES ( NULL );
    1 row created.
    SQL>ALTER TABLE t ADD ( CONSTRAINT tpk PRIMARY KEY (x) EXCEPTIONS INTO exceptions );
    ALTER TABLE t ADD ( CONSTRAINT tpk PRIMARY KEY (x) EXCEPTIONS INTO exceptions )
    ERROR at line 1:
    ORA-01449: column contains NULL values; cannot alter to NOT NULL
    SQL>SELECT * FROM exceptions;
    no rows selected
    SQL>
    SQL>TRUNCATE TABLE exceptions;
    Table truncated.
    SQL>DROP TABLE t;
    Table dropped.
    SQL>CREATE TABLE t ( x NUMBER );
    Table created.
    SQL>INSERT INTO t VALUES ( NULL );
    1 row created.
    SQL>ALTER TABLE t MODIFY ( X NOT NULL EXCEPTIONS INTO EXCEPTIONS );
    ALTER TABLE t MODIFY ( X NOT NULL EXCEPTIONS INTO EXCEPTIONS )
    ERROR at line 1:
    ORA-02296: cannot enable (MYSCHEMA.) - null values found
    SQL>SELECT * FROM exceptions;
    ROW_ID OWNER TABLE_NAME CONSTRAINT
    AAAkk5AAMAAAEByAAA MYSCHEMA T T
    1 row selected.
    As you can see, I get the expected error message. But I only end up with a record in the exceptions table for the NOT NULL column constraint, not for the null primary key value.

  • "application descriptor not found" when trying to create .ane file

    I have been trying to create a very simple native extention for the better part of a week now and I just can't seem to figure it out.
    Using tutorials and guides from the following sources:
    http://www.adobe.com/devnet/air/articles/extending-air.html
    http://www.adobe.com/content/dam/Adobe/en/devnet/devices/pdfs/DevelopingActionScriptExtens ionsForAdobeAIR.pdf
    http://custardbelly.com/blog/2011/09/21/air-native-extension-example-ibattery-for-ios/
    I managed to get up to the point where I need to create the ane file, but I am getting "application descriptor not found".
    So, here is the detailed explanation of everything I have done to date. Can someone tell me where I have gone wrong?
    1. On the mac, I created an xcode project, using the iBattery example code from the link above, I managed to create static library .a file. I am not going to discount the possiblity that there are many errors still in this file, but I am going to assume for the moment that my current problem is not related to any issues in this static library.
    2. Copied the static library "DaveExtention.a" to my PC where I have flash CS5.5 installed (yes, I know there is a typo in the name)
    3. In my app folder, I created a lib folder that now contains the following files:
    D:\GoldSun\Source Code\Flash\ExtentionTest\lib\DaveExtension.fla
    D:\GoldSun\Source Code\Flash\ExtentionTest\lib\DaveExtension-app.xml
    D:\GoldSun\Source Code\Flash\ExtentionTest\lib\com\extensions\DaveExtension\DaveExtension.as
    D:\GoldSun\Source Code\Flash\ExtentionTest\lib\com\extensions\DaveExtension\BatteryStateEnum.as
    I set my project to compile an swc into the build folder and simply put the following code into my project:
    import com.extensions.DaveExtension.BatteryStateEnum;
    import com.extensions.DaveExtension.DaveExtension;
    var ext:DaveExtension = new DaveExtension;
    var batterystate:BatteryStateEnum;
    stop();
    I then publish the swc.
    4. Once the swc is created in the build folder, I copy the libDaveExtention.a to the build folder and create the extension.xml file, which looks like this:
    <extension xmlns="http://ns.adobe.com/air/extension/2.5">
      <id>com.extensions.DaveExtension</id>
      <versionNumber>1</versionNumber>
      <platforms>
        <platform name="iPhone-ARM">
            <applicationDeployment>
                <nativeLibrary>libDaveExtention.a</nativeLibrary>
                <initializer>ExtInitializer</initializer>
                <finalizer>ExtFinalizer</finalizer>
            </applicationDeployment>
        </platform>
      </platforms>
    </extension>
    5. I make a copy of the swc file and rename it to .zip... I then extract library.swf from it and delete the zip. My build folder now looks like this:
    D:\GoldSun\Source Code\Flash\ExtentionTest\lib\Build\DaveExtension.swc
    D:\GoldSun\Source Code\Flash\ExtentionTest\lib\Build\extension.xml
    D:\GoldSun\Source Code\Flash\ExtentionTest\lib\Build\libDaveExtention.a
    D:\GoldSun\Source Code\Flash\ExtentionTest\lib\Build\library.swf
    6. I downloaded the flex 4.5.1.21328 sdk and the Air 3.0 sdk, which I copied into the flex sdk folder (which is located in "D:\SDKs\flex_sdk_4.5.1.21328")
    7. In my build folder, I create a simple batch file called buildane.bat with the following command:
    D:\SDKs\flex_sdk_4.5.1.21328\bin\adl -package -target ane DaveExtension.ane extension.xml -swc DaveExtension.swc -platform iPhone-ARM library.swf libDaveExtention.a
    8. I then open a command prompt to my build folder and run buildane.bat and this is my output:
    D:\GoldSun\Source Code\Flash\ExtentionTest\lib\Build>buildane.bat
    D:\GoldSun\Source Code\Flash\ExtentionTest\lib\Build>D:\SDKs\flex_sdk_4.5.1.21328\bin\adl -package -target ane DaveExtension.ane extension.xml -swc DaveExtension.swc -platform iPhone-ARM library.swf libDaveExtention.a
    application descriptor not found
    No matter what I try, I can't get passed this.
    Can anyone tell me what I am doing wrong?

    >>D:\GoldSun\Source Code\Flash\ExtentionTest\lib\Build>D:\SDKs\flex_sdk_4.5.1.21328\bin\adl -package -target ane DaveExtension.ane extension.xml -swc DaveExtension.swc -platform iPhone-ARM library.swf libDaveExtention.a
    Either its a typo or by mistake you wrote adl in yout bat file. Change it to adt since that is the file that will package your ane. adl is just used for debugging/running on Desktop.
    Hope this helps. let me know how it goes.
    Thanks,
    Meet

  • [Solved] The requested object does not exist. (Exception from HRESULT: 0x80010114)

    I have a 8 node cluster with Hyper-V, which will be 10 nodes when it's finally done.
    Recently I've been try to add nodes and though that went fine, after about a week I could not open the Failover Cluster Manager anymore.
    After some checking I found out that the latest added node was giving problems.
    VM's on the node still run and function properly, but most Powershell commands result in a "The requested object does not exist. (Exception from HRESULT: 0x80010114)".
    I can suspend the node with Suspend-ClusterNode, but draining roles was unsuccesful in one case.
    In the other there were no VM's on the node so suspending went fine.
    What I did find out was that when I tried to ping the node from another, proper functioning node, it took a while before the pinging started. It felt like the interface had to come back online on the problem node.
    After that, I could add the cluster to the Failover Cluster Manager. However, Powershell commands still give a 0x80010114 error or a CIM error for when I use Get-NetAdapter.
    A reboot resolves the problem, but only for about a week.
    I know there is a topic with the same title already, but the wbemtest en rollup update "answer" is totally unclear to me why I should change something with wbemtest, or why to install updates that to me have nothing to do with this problem.
    Before I did the ping test from a functioning node I pinged my DC and another node from the problem node just fine.
    No waiting at all.
    The cluster has three networks. Management (host only), Live Migration and iSCSI (also a VMSwitch for certain VM's).
    I have no idea where to look. Evenviewer doesn't give me anything I can work with that I can find...

    Hi,
    Are you using the HP servers? It seems is the HP Nic team service was causing the issue, please try to
     disabled the HP NIC team service from services and restarted the WMI service.
    The related third party information:
    Advisory: (Revision) HP ProLiant Servers - Systems Running Microsoft Windows Server 2012 or 2012 R2 May Experience a Memory Leak Up To 5 Mb/ Hour for Some NIC Teaming Configurations
    http://h20566.www2.hp.com/portal/site/hpsc/template.PAGE/public/kb/docDisplay/?javax.portlet.begCacheTok=com.vignette.cachetoken&javax.portlet.endCacheTok=com.vignette.cachetoken&javax.portlet.prp_ba847bafb2a2d782fcbb0710b053ce01=wsrp-navigationalState%3DdocId%253Demr_na-c04209163-2%257CdocLocale%253D%257CcalledBy%253D&javax.portlet.tpst=ba847bafb2a2d782fcbb0710b053ce01&ac.admitted=1401176219136.876444892.199480143
    Hope this helps.
    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.

  • RSAR_TRFC_DATA_RECEIVED Function module does not exist or EXCEPTION raised

    Dear All,
            We have 2 production systems one is a APO server & the other being BW server.
            While checking in SM58 of our APO production server we found that so many entries were in error saying "ERROR REQU_<number> PG# 12 In BW" with target system as BWCLNT<CLIENT NO>.
    We checked in both the production systems for any job failure w.r.t same time span but could find nothing.
    When we tried to solve this by using F6 option to re-execute the LUW it says "Functional Module doesnot exists or Exception Raised". After doing checks it was found out that the Functional Module (RSAR_TRFC_DATA_RECEIVED) was existing . So we need to know about how we can solve this EXCEPTION RAISED issue.
    Thanks & Regards,
    SAPAPO
    Edited by: SAP-APO on Dec 30, 2009 8:38 AM

    Hi,
    This migth be problem with not catching exact exception in the code.There might be data you are passing which not getting caught by the exception.
    If you are using any code add this FM in the code or else try to debug where exactly u r facing this problem.
    Regards,
    Shiva Kumar G.C

Maybe you are looking for

  • IMac starts with fan, screen stays black

    When attempting to start my iMac G5 (Ambient Light Sensor), fans come on but screen stays black. A couple minutes later, the fans rev up and run very quickly and loudly. This started happening when: 1. One day the screen showed a green question mark

  • Getting [Microsoft][ODBC SQL Server Driver] Optional feature not implemented

    I am using below mentioned code to insert values in MSAccess 2000 which having table structure as mentioned below:- Field Name Data Type TodaysDate Date/Time Cart ID Number Client Name Text Campaign Text Team & Segment Text Duration Number Tape ID Te

  • AI 3D extrusions - lines / streaks / striations in PDF format file

    OS: Win 7 / 64 AI:  CS5  15.0.2 Acrobat: 9.4.6 I am attempting to create a shaded vertical cylinder using AI's 3D extrusion function. When shading is applied to the object, I am getting lines / streaks / striations in the PDF format file when viewed

  • ORA-00904: "YEAR": invalid identifier

    Hi, I am getting ORA-00904: "YEAR": invalid identifier error while running the following query. This query was written in MySQL and being migrated to Oracle. The problem is in where clause as i am unable to migrate the YEAR,MONTHNAME "diet_details.di

  • Export Media to H.264 Blu-Ray 720p 30fps?

    I have video I've shot on a point and shoot camera which shoots video at 720p (1280x720) at 30fps.   I'm able to import it into Premier CS4, edit, etc.   Then when I go to export the media to Media Encoder I'm looking for the preset to match this inp