Query re: SSL / socket exceptions in J2SE 1.4.1_01
Hi.
We recently migrated a large EFT-related website from a four year old version of Java Web Server to the Jakarta Tomcat 4.1.12 release. This involved an upgrade to the 1.4.1_01 JDK.
Since the upgrade we've been getting occasional exceptions within the SSL classes shipped with the J2SE. We're not sure if these are actual critical errors or whether they're related to users clicking stop or back buttons in their browsers.
Below are some samples:
example 1:
java.net.SocketException: Connection reset
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:96)
at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
at com.sun.net.ssl.internal.ssl.OutputRecord.a(DashoA6275)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
at com.sun.net.ssl.internal.ssl.AppOutputStream.write(DashoA6275)
at org.apache.coyote.http11.InternalOutputBuffer$OutputStreamOutputBuffer.doWrite(InternalOutputBuffer.java:652)
...example 2:
javax.net.ssl.SSLException: Connection has been shutdown:
javax.net.ssl.SSLException: java.net.SocketException: Connection reset
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.d(DashoA6275)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.e(DashoA6275)
at com.sun.net.ssl.internal.ssl.AppOutputStream.write(DashoA6275)
at org.apache.coyote.http11.InternalOutputBuffer$OutputStreamOutputBuffer.doWrite(InternalOutputBuffer.java:652)
...example 3:
java.net.SocketException: Broken pipe
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
at com.sun.net.ssl.internal.ssl.OutputRecord.a(DashoA6275)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
at com.sun.net.ssl.internal.ssl.AppOutputStream.write(DashoA6275)
at org.apache.coyote.http11.InternalOutputBuffer$OutputStreamOutputBuffer.doWrite(InternalOutputBuffer.java:652)
...If anyone has any clue as to why this is happening, please let me know. If it's just users being silly in their browsers, then it would be nice to know that I don't need to fix it ;-)
McFinnigan
It's probably users being silly with their browsers. I have heard it said that MSIE does connection-resets instead of properly closing sockets for some reason, but I could have heard this wrong, and one would hope that any such stupidity would not apply to HTTPS connections.
You still need to evalulate the security implications, if any, of the connection being broken earlier than expected, e.g. the client not getting all the data you're trying to send, or premature termination of the session. This could result from a man-in-the-middle attack (which is why SSL flags it).
Similar Messages
-
hi,
i seem to have a problem with establishing an ssl socket between 2 machines. This problem has to do with certificates as the runtime error i get specifies.
So i figured out there must be a concept that i'm misssing.
So why do i have to place a certificate on my client? how can i generate it? where do i place it?
Can anyone please provide me with a sample code that establishes an sslsocket connection.
thnx a millionA good place to start is:
http://java.sun.com/j2se/1.4.1/docs/guide/rmi/socketfactory/SSLInfo.html
There is a code example, but you will also need to follow the guide in the other link below to create the required key files.
Don't base your knowledge of SSL RMI sockets solely on what I say here, as I'm fairly new to this so I may express myself wrong. But here is a 30,000 foot overview of what I did to get them to work:
If you are using RSA on your SSL connection, a public and private key are required. For this to work, you must create a key (keystore) via Java's "keytool.exe" tool using the '-genkey' option (the keystore should eventually reside on your server). You will then create a certificate from that keystore using the '-export' option of the keytool. Lastly, you will import the certificate into your client's store of accepted certificates (the file java\lib\security\cacerts) via the '-import' option of keytool.
For a full description, you need to read:
http://java.sun.com/j2se/1.4/docs/guide/security/jsse/JSSERefGuide.html
the section from this page on using keytool:
http://java.sun.com/j2se/1.4/docs/guide/security/jsse/JSSERefGuide.html#CreateKeystore
The example shows using a new custom file for the truststore, but I imported the certificate into Java's cacerts file instead. I was unable to find the certificate if it was not in this file, but I very well may have been doing something wrong. -
Problem with SSL socket(SSLSocketFactoryImpl.createSocket())
Hello,
I'm trying to create a ssl socket but I get an exception, I really don't know why. I have alredy include the certificate via keytool to my jdk. And I'm able to get html header with URLConnection with the code below
import java.net.URL;
import java.net.URLConnection;
public class testClass {
public static void main(String[] args) throws Exception {
try{
URL url = new URL("https://ippbx1:8443/axl/");
String userPassword = "****" + ":" + "****";
String encoding = new sun.misc.BASE64Encoder().encode (userPassword.getBytes());
URLConnection c = url.openConnection();
c.setRequestProperty("Authorization", "Basic " + encoding);
for (int i=0; ; i++)
String name = c.getHeaderFieldKey(i);
String value = c.getHeaderField(i);
if (name == null && value == null) // end of headers
break;
if (name == null) // first line of headers
System.out.println("Server HTTP version, Response code:");
System.out.println(value);
System.out.print("\n");
else
System.out.println(name + "=" + value);
catch (Exception e) {}
}and I get the following result :
Server HTTP version, Response code:
HTTP/1.1 200 OK
Server=Apache-Coyote/1.1
Pragma=No-cache
Cache-Control=no-cache
Expires=Thu, 01 Jan 1970 01:00:00 CET
Set-Cookie=JSESSIONIDSSO=77670D5480DAD295C6519E812F9FED64; Path=/
Set-Cookie=JSESSIONID=B71BDB730FA5B3B431D3B16C41E190E3; Path=/axl; Secure
Content-Type=text/html;charset=ISO-8859-1
Content-Length=233
Date=Wed, 10 Jun 2009 15:17:10 GMTBut when I try to make a socket :
import java.io.*;
import java.net.*;
import javax.net.SocketFactory;
import javax.net.ssl.SSLSocketFactory;
public class axlforward {
public static void main(String[] args) {
String address = "https://ippbx1:8443/axl/";
int portnum = 8443;
try
SocketFactory socketFactory = SSLSocketFactory.getDefault();
Socket socket = socketFactory.createSocket(address, portnum);
} catch (Exception e) {e.printStackTrace();} I get the following
java.net.UnknownHostException: https://ippbx1/axl/
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:519)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:550)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.<init>(SSLSocketImpl.java:353)
at com.sun.net.ssl.internal.ssl.SSLSocketFactoryImpl.createSocket(SSLSocketFactoryImpl.java:71)
at axlforward.main(axlforward.java:89)I have a VB program that connects to the socket(with Inet1.Protocol = icHTTPS and Inet1.Execute strURL, "Post", strFormData, strFormHdr methods) and do what I want but I need to do it in Java but I'm not able to find the error.
the server socket is a Cisco callManager Service(AXL Web Service) which receives and html+SOAP request and sends back an xml response and this server socket is running correctly with no problem.
Thanks for your help.Jdevelopper8709 wrote:
Thanks for your reply.
I now can access to my socket and get the information I want with:
SocketFactory socketFactory = SSLSocketFactory.getDefault();
socket = (SSLSocket) socketFactory.createSocket("ippbx1", 8443);In fact the problem was a username/password issue.
Thanks.I quote from reply #1 "The address is just "ippbx1" and not "https://ippbx1:8443/axl/". The protocol is not part of the IP address.". -
hi,
i use rmi using ssl-sockets. the server rebinds to the
rmiregistry -> it works fine but
when i try to connect from client (browser ie) -> the needed classes (RMISSLCLientSocketFactory...)
could not loaded
whats the problem??
mikehi,
i use following code to test rmi with ssl-sockets:
interface:
import java.rmi.*;
public interface StringTag extends java.rmi.Remote
public String appendX(String s) throws RemoteException;
server:
import java.rmi.*;
import java.rmi.server.UnicastRemoteObject;
import java.rmi.registry.*;
public class StringTagImpl extends UnicastRemoteObject implements StringTag
public StringTagImpl() throws RemoteException
super(0, new RMISSLClientSocketFactory(), new RMISSLServerSocketFactory());
public String appendX(String s) throws RemoteException
return (s + "xxx");
public static void main(String[] arg)
System.setProperty("java.security.policy", "F:\\rmi\\security.policy");
System.setSecurityManager(new RMISecurityManager());
try{
Registry reg = LocateRegistry.createRegistry(Registry.REGISTRY_PORT);
StringTagImpl so = new StringTagImpl();
reg.rebind("StringTag", so);
System.out.println("StringTag bound in registry");
catch(Exception e){
System.out.println("StringTagImpl: \n" + e);
applet:
import java.awt.*;
import java.rmi.*;
public class StringTagApplet extends java.applet.Applet
String tagged;
public void init()
try
String host = "127.0.0.1";
int port = 1099;
StringTag st = (StringTag)Naming.lookup("//" + host + ":" + port + "/" + "StringTag");
tagged = st.appendX("The String: ");
catch(Exception e)
System.out.println(e);
e.printStackTrace();
public void paint(Graphics g)
g.drawString(tagged,25,30);
clientsocket:
import java.rmi.server.*;
import javax.net.ssl.*;
import java.io.*;
import java.net.*;
public class RMISSLClientSocketFactory implements RMIClientSocketFactory, Serializable{
public Socket createSocket(String host, int port) throws IOException{
SSLSocketFactory factory = (SSLSocketFactory) SSLSocketFactory.getDefault();
return factory.createSocket(host, port);
serversocket:
import java.rmi.server.*;
import javax.net.ssl.*;
import java.io.*;
import java.net.*;
public class RMISSLServerSocketFactory implements RMIServerSocketFactory, Serializable{
public ServerSocket createServerSocket(int port) throws IOException{
SSLServerSocketFactory factory = (SSLServerSocketFactory) SSLServerSocketFactory.getDefault();
return factory.createServerSocket(port);
the html-file:
<HTML>
<title>String appending</title>
<center><h2>Append X and Y</h2></center>
The result of appending to the Strings is:
<p>
<applet codebase="." code="StringTagApplet" width=500 height=120>
</applet>
</html>
policy:
grant
permission java.security.AllPermission;
all files are in the same folder.
the class-file(RMISSLClientSocketFactory) could not loaded from client!
when i make a new instance from RMISSLClientSocketFactory before line:
StringTag st = (StringTag)Naming.lookup("//" + host + ":" + port + "/" + "StringTag");
--> the client could not loaded class StringTag ...and so on
i dont know why it not work!!
i were very happy to solve this problem!! -
Overview: I need to make an Applet communicate with a server using an SSLSocket and I can't figure out how to include a truststore when running the applet in a web browser.
Background:
The applet communicates perfectly using regular non-secure sockets. I am now porting it to use secure sockets (SSLSocket, SSLServerSocket from JSSE).
The applet communicates perfectly using secure sockets when run in appletviewer with the truststore file in the classpath. I have specified the appropriate truststore properties in the Applet as follows:
System.setProperty("javax.net.ssl.trustStore", "truststore");
System.setProperty("javax.net.ssl.trustStorePassword", "password");
This works when run using appletviewer when the "truststore" file is in the classpath, and now I need to make it work in a web browser.
Problem: How do I include the "truststore" file with an Applet?
I have tried including it in the .jar file, which seems conceptually similar to including it in the classpath, which worked with appletviewer. However, including it with the .jar file doesn't work. The exception I get is:
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate found
Any ideas on how I can include the truststore file or suggestions on another approach that will accomplish the same thing?
Thanks a lot!
-Jeff DyckHi,
I'm in the same boat.
Thought I had a solution. I'm running an applet that opens an SSL socket back to the web server it came from
URL url = new URL("https://" + baseUrl);
URLConnection connection = url.openConnection();
connection.setDoOutput(true);
connection.setDoInput(true);
-then just open streams. Info related to this at
http://java.sun.com/products/plugin/1.3/docs/https.html
Essentially, I'm taking advantage of the SSL connection made during the initial web page/applet load ([SSL_RSA_WITH_RC4_128_MD5 is what my HTTPS server wanted )
The down side is that GET/POST are the only actions supported (refer to the link).
I'm looking for a solution that specifies HOW I ACCESS my local browser's security so I don't get
j'avax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate found'.
Hope someone replies...
-
Applet(using SSL sockets) application in browser
hello everyone,
I am new to this forum, and this is my first forum in this site, please help me,
My problem is,
I have done an applet application which uses the SSL sockets, and it is working fine if i use the appletviewer tool, with the arguments of policy and URL, when i run this command "appletviewer -J-Djava.security.policy=mypolicy.policy URL of my html page" in the command mode its working fine.
I have wrote HTML file for running the applet, and when i used it in the browser i was not able to get output , i was getting the error "NoTrustedCertificates found", i have setted the properties of truststore and password in the program itself like,
System.setProperty("javax.net.ssl.trustStore", System.getProperty("java.home")+"cert");
System.setProperty("javax.net.ssl.trustStorePassword", "pwd");
and i also used the policy tool. I have stored my certificate along with the jar file, and i was getting this error
can anyone please help me, or suggest me the right way to reach my target.
Thanx in advanceHai,
I have made my client applet running from the remote system, and the client was establishing SSL sockets, and there is a problem in Handshake, NO TRUSTED CERTIFICATE found was the error, and i had loaded the certificates ( one is used for signing the certificate, and the other is used for the SSL sockets authentication ) in my applet client code i have setted the system properties like
System.setProperty("javax.net.ssl.trustStore", System.getProperty("java.home")+"\\lib\\security\\cert");
System.setProperty("javax.net.ssl.trustStorePassword", "pwd");
and this is the certificate which is used for SSL sockets authentication, and i stored the cert in the "jre\lib\security\" directory, and im using the jdk1.4.2_05 version.
At the client side the error is
Network Error: sun.security.validator.ValidatorException: No trusted certificate found.
at com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.a(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(Unknown Source)
at com.sun.net.ssl.internal.ssl.SunJSSE_az.a(Unknown Source)
at com.sun.net.ssl.internal.ssl.SunJSSE_az.a(Unknown Source)
at com.sun.net.ssl.internal.ssl.SunJSSE_ax.a(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.j(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(Unknown Source)
at com.sun.net.ssl.internal.ssl.AppOutputStream.write(Unknown Source)
at java.io.OutputStream.write(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: sun.security.validator.ValidatorException: No trusted certificate found
at sun.security.validator.SimpleValidator.buildTrustedChain(Unknown Source)
at sun.security.validator.SimpleValidator.engineValidate(Unknown Source)
at sun.security.validator.Validator.validate(Unknown Source)
at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Source)
at com.sun.net.ssl.internal.ssl.JsseX509TrustManager.checkServerTrusted(Unknown Source)
At the server side the error is
javax.net.ssl.SSLHandshakeException: Received fatal alert: certificate_unknown
at com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.a(Unknown Source)
at com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.b(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.b(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.j(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(Unknown Source)
at com.sun.net.ssl.internal.ssl.AppInputStream.read(Unknown Source)
at com.ClientNeg.run(ClientNeg.java:76)
at java.lang.Thread.run(Unknown Source)
i was not able to understand what went wrong , so any one please help me in doing my work.
Thanx
dwurity -
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,
PrabhuIt 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 induserRaj,
Thanks for your answer. It solved my problem. Thanks you very much.
Thanks,
Madhu. -
SSL Certificate Exception everytime a connection is established
Hello guys!
I am trying to authenticate a website running SharePoint 2010. But everytime a connection is established, an SSL/TLS exception is thrown. The following is the code I am using. Any idea??
The exception is: "The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel."
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitives;
using Windows.UI.Xaml.Data;
using Windows.UI.Xaml.Input;
using Windows.UI.Xaml.Media;
using Windows.UI.Xaml.Navigation;
using System.Net;
using System.Net.NetworkInformation;
using Windows.Networking.Connectivity;
using System.Net.Http;
using System.Xml.Linq;
using System.Text;
using Windows.Web.Http.Filters;
using Windows.Security.Cryptography.Certificates;
// The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=234238
namespace TestApp
/// <summary>
/// An empty page that can be used on its own or navigated to within a Frame.
/// </summary>
public sealed partial class MainPage : Page
public MainPage()
this.InitializeComponent();
private static HttpWebRequest CreateWebRequest(string url, NetworkCredential credentials)
//Initialize new instance of HttpBaseProtocolFilter, which implements IHttpFilter.
string action = "http://schemas.microsoft.com/sharepoint/soap/GetWebCollection";
HttpWebRequest req = (HttpWebRequest)WebRequest.Create(url);
req.Credentials = credentials;
req.Headers["SOAPAction"] = action;
req.ContentType = "text/xml;charset=\"utf-8\"";
req.Accept = "text/xml";
req.Method = "POST";
return req;
static string soapEnvelope = @"<soap:Envelope xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:soap='http://schemas.xmlsoap.org/soap/envelope/'><soap:Body></soap:Body></soap:Envelope>";
//static string soapEnvelope =
// @"<?xml version=""1.0"" encoding=""utf-8""?> <soap:Envelope xmlns:xsi=""http://www.w3.org/2001/XMLSchema-instance"" xmlns:xsd=""http://www.w3.org/2001/XMLSchema""
xmlns:soap=""http://schemas.xmlsoap.org/soap/envelope/""> <soap:Body> <Login xmlns=""http://schemas.microsoft.com/sharepoint/soap/""> <username>{0}</username> <password>{1}</password>
</Login> </soap:Body> </soap:Envelope>";
private static XDocument CreateSoapEnvelope(string content)
StringBuilder sb = new StringBuilder(soapEnvelope);
sb.Insert(sb.ToString().IndexOf("</soap:Body>"), content);
XDocument soapEnvelopeXml = XDocument.Parse(sb.ToString());
return soapEnvelopeXml;
private static void InsertSoapEnvelopeIntoWebRequest(XDocument soapEnvelopeXml, HttpWebRequest webRequest)
webRequest.BeginGetRequestStream((IAsyncResult asynchronousResult) =>
HttpWebRequest request = (HttpWebRequest)asynchronousResult.AsyncState;
Stream postStream = request.EndGetRequestStream(asynchronousResult);
soapEnvelopeXml.Save(postStream);
//postStream.Close();
request.BeginGetResponse(new AsyncCallback(GetResponseCallback), request);
}, webRequest);
private static void GetResponseCallback(IAsyncResult asynchronousResult)
HttpWebRequest request = (HttpWebRequest)asynchronousResult.AsyncState;
HttpWebResponse response = (HttpWebResponse)request.EndGetResponse(asynchronousResult);
Stream streamResponse = response.GetResponseStream();
StreamReader streamRead = new StreamReader(streamResponse);
string responseString = streamRead.ReadToEnd();
//do whatever with the response
//streamResponse.Close();
//streamRead.Close();
//response.Close();
private void Button_Click(object sender, RoutedEventArgs e)
NetworkCredential credentials = new NetworkCredential("<user>", "<password>", "<domain>");
HttpWebRequest request = CreateWebRequest("https://the_website_I_am_trying_to_connect_to", credentials);
XDocument soapEnvelope = CreateSoapEnvelope("<GetWebCollection xmlns=\"http://schemas.microsoft.com/sharepoint/soap/\" />");
InsertSoapEnvelopeIntoWebRequest(soapEnvelope, request);
Hi,
According to your description, my understanding is that when you access a https web service, it occurs the “The underlying connection was closed. Could not establish trust relationship for the SSL/TLS secure channe” error.
To overcome this error, you need to install the certificate that is used by the web service provider in the server that will be calling the web service.
Open Microsoft Management Console (Start --> Run --> mmc.exe);
Choose File --> Add/Remove Snap-in;
In the Standalone tab, choose Add;
Choose the Certificates snap-in, and click Add;
In the wizard, choose the Computer Account, and then choose Local Computer. Press Finish to end the wizard;
Close the Add/Remove Snap-in dialog;
Navigate to Certificates (Local Computer)
Choose a store to import:
If you have the Root CA certificate for the company that issued the certificate, choose Trusted Root Certification Authorities;
If you have the certificate for the server itself, choose Other People
Right-click the store and choose All Tasks --> Import
Follow the wizard and provide the certificate file you have;
Here are some detailed articles for your reference:
http://www.c-sharpcorner.com/uploadfile/anavijai/could-not-establish-trust-relationship-for-the-ssltls-secure-channel/
http://stackoverflow.com/questions/703272/could-not-establish-trust-relationship-for-ssl-tls-secure-channel-soap
Thanks
Best Regards
Jerry Guo
TechNet Community Support
Hello Jerry,
Thank you very much for your reply.
But what about Windows Phone? I am running the same code on´WP 8.1 as a store app, and returns an exception at the same place: the GetResponseCallBack.
Any workaround? Can I run a code from the app that uses the certificate or at least installs it?
Thanks a lot. -
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: initI 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. -
Setting cipher suites for ssl sockets
Hi
While setting cipher suites for ssl serversocket and socket, there may be lot of stream ciphers and block ciphers in the list. (also there may or may not be anonymous cipher suites).
How does the ssl socket decide which cipher suite to use?
Sorry for this newbie question.
Thank you.Have you read the JSSE Reference Guide? It has a really good description of how the SSL handshake works. Part of the "Client Hello" step includes sending all the cipher-suites the client has enabled. The server picks the "best" of that set, that the server also supports, and sends it back as part of the "Server Hello". Both sides switch to that set.
Now, what "best" means isn't defined. I'm not sure what criteria the server uses to determine that. Maybe someone else reading the thread can chime in.
Grant -
Some General Questions about using SSL sockets
1 Since both SSL and TLS rely on public-key cryptography, can I use it efficiently for encrypting large amount of data transfer within a network? Or I�ll be better off using secret key.
2 If I understand correctly, I can install client/server certificate (public key) along with the software installation. Is that right? In other words, I don�t have to create them programmatically.
3 To convert our unsecured client/server application, is it enough to replace plain sockets with SSL sockets and use a self signed certificate for the server? (Ours is a closed network and we don�t require any client authentication).
4 How does SSL handles server to server communications?
5 How do you encrypt data ( some of the fields) in a text file?
Thank you all.hey there.
1.yes you can use it to encrypt large amounts of data, and heres why:
when you use SSL, it uses public key encryption to first tranfser across a private key. then from then on the data is simply private key encrypted, which is relatively fast and easy.
2. Yes, you may chose to make them programatically or not
4. the question doesn't really make sense. In the end, what is a Server and what is a Client is up to your application. From SSL's point of view, you just have two machines with Sockets on either side that are connected. You can use SSLSocket.setClientMode(boolean) to choose which of those socket will act as the "server" for the purpose of the authentication handsake. -
Disabling Certificate Validation in SSL Sockets
I followed the examples on this site.
http://javaalmanac.com/egs/javax.net.ssl/TrustAll.html?l=rel
I was wondering will this work with SSL Sockets?This is SSL sockets.
-
I have installed the Firefox 4.0 Beta 11 (+updates), I try to connect to our https: website and I receive the following error:
Secure Connection Failed An error occurred during a connection.
Renegotiation is not allowed on this SSL socket.
(Error code: ssl_error_renegotiation_not_allowed)
I have installed this certificate on Firefox 3.6.13 and I am able to connect to our HTTPS site but it will not work with the Beta 4.0 11I read about this for ages. I had problems setting up a certificate for my online banking. This one solution genuinely worked for me (finally!) ...Fingers crossed it will for you too:
1) In the address bar type in '''about:config''' ...Firefox will say it's dangerous, but I just went ahead anyway lol - It's fine. Thank god there's always an edit-undo!
2) Copy and paste this into the ''filter'' at the top: '''security.ssl.allow_unrestricted_renego_everywhere'''
3) Then change ''false'' to ''true'' (I think I just clicked it, and it changed)
That's it! Refresh your bank page, and it should work!
(Spanish source: '''http://translate.google.com/translate?sl=es&tl=en&js=n&prev=_t&hl=en&ie=UTF-8&layout=2&eotf=1&u=http%3A%2F%2Fwww.fedora-ve.org%2F2011%2F09%2F14%2Ferror-error-code-ssl_error_renegotiation_not_allowed-en-firefox-4-x.html&act=url''') -
Issue porting WebLogic 8.1 SSL Socket code to WebLogic 9.2
I did not write this code, but am trying to port the code from Weblogic 8.1 to Weblogic 9.2. The code comes from a custom OpenLDAPAuthenticator, that uses a SSL Socket to connect to an LDAP server.
The following lines are used:
Socket socket = SSLSocketFactory.getDefaultJSSE().createSocket(host, port);
if (socket instanceof SSLSocket) {
SSLContextWrapper sslcontextwrapper = SSLContextManager.getInstance().getDefaultSSLContext();
sslcontextwrapper.forceHandshakeOnAcceptedSocket((SSLSocket) socket);
}Does anyone know what this forceHandshakeOnAcceptedSocket method does, and if there is way to write this in WebLogic 9.2?
ThanksI did not write this code, but am trying to port the code from Weblogic 8.1 to Weblogic 9.2. The code comes from a custom OpenLDAPAuthenticator, that uses a SSL Socket to connect to an LDAP server.
The following lines are used:
Socket socket = SSLSocketFactory.getDefaultJSSE().createSocket(host, port);
if (socket instanceof SSLSocket) {
SSLContextWrapper sslcontextwrapper = SSLContextManager.getInstance().getDefaultSSLContext();
sslcontextwrapper.forceHandshakeOnAcceptedSocket((SSLSocket) socket);
}Does anyone know what this forceHandshakeOnAcceptedSocket method does, and if there is way to write this in WebLogic 9.2?
Thanks
Maybe you are looking for
-
Using Web Service as Data source (Pluggable Data Source) in Oracle Reports
Anyone using Webservice as a pluggable data source in oracle 10g reports.(Report builder version:10.1.2.0.2)? We need to be able to use web service as one of the data source to create reports.Tried the following and ran into issues: Imported the wspd
-
Photoshop CS6/Extended Issues
Anyone know whats wrong with the Photoshop CS6/Extended Download? It starts and remains at 0.00MB and its not my internet. Ive downloaded other files just fine * Attempted * its just the CS6. ive tried on different computers at different IP's and sti
-
Feature Request: Preset Preview on Second Monitor
Currently, when you have monitor 2 set on "Loupe" mode and it is set for a "Live" view, and then scroll across the filmstrip on monitor 1, you can see the images change on the second monitor. I would like to have the ability to set monitor 2 on "Loup
-
IPhone (unhacked) and rigtone issue
Saturday evening, I decided to buy three additional ringtones for my iPhone, so I picked the songs and purchased ringtones. They show in iTunes just fine, and when I synced, they were put into ringtones in iTunes just fine. But when I look at my iPho
-
Hi All, Actually there is a requirement where i need for options in PR/PO release strategy. The four options that i need are >Approve >Cancel >Recommend to approve >Recommend to reject The SAP provided standard options are approve and cancel. How can