[jcifs] Properties at run time
Cheng, Anne
Anne.Cheng at moh.gov.on.ca
Mon Oct 3 17:01:00 GMT 2005
Hi,
I figure out the item 1 and 3.
For item 1, once we set up the jcifs.util.loglevel in the web.xml, we can
see the properties at the run time.
For item 3, I still just the jcifs.http.domainController as the parameter in
the filter, but I get the correct IP address.
Is there anybody can help me with item 2? How can I see the logs in an
external log files?
Anne
-----Original Message-----
From: Cheng, Anne
Sent: Monday, October 03, 2005 11:17 AM
To: 'jcifs at lists.samba.org'
Subject: [jcifs] Properties at run time
Hi,
I am new on JCIFS. Currently my company would like to use JCIFS to get the
WIN NT user name and work it with the JSF.
I have three questions now.
1. How can I set up the properties at the run time, like Welsh, Phillip
posted on Tue Jun 14 15:20:36 GMT 2005?
2. If we set the jcifs.util.loglevel in the web.xml, we can see the logs at
the run time. Can we export the logs to a file? How?
3. Current I just use jcifs.http.domainController as the parameter in the
filter. It works fine in my local PC. But once I user the IP address of
the WINS of our company server, it won't work any more. It shows the error
message:
[10/3/05 11:12:58:341 EDT] 000000a4 WebApp E SRVE0026E: [Servlet
Error]-[/myJSP.jsp]: jcifs.smb.SmbException:
jcifs.util.transport.TransportException
java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:331)
at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:196)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:183)
at java.net.Socket.connect(Socket.java:478)
at java.net.Socket.connect(Socket.java:428)
at java.net.Socket.<init>(Socket.java:335)
at java.net.Socket.<init>(Socket.java:150)
at jcifs.smb.SmbTransport.negotiate(SmbTransport.java:233)
at jcifs.smb.SmbTransport.doConnect(SmbTransport.java:277)
at jcifs.util.transport.Transport.run(Transport.java:213)
at java.lang.Thread.run(Thread.java:568)
at jcifs.util.transport.Transport.run(Transport.java:229)
at java.lang.Thread.run(Thread.java:568)
at jcifs.smb.SmbTransport.connect(SmbTransport.java:264)
at jcifs.smb.SmbSession.getChallenge(SmbSession.java:138)
at jcifs.smb.SmbSession.getChallenge(SmbSession.java:132)
at jcifs.http.NtlmHttpFilter.negotiate(NtlmHttpFilter.java:157)
at jcifs.http.NtlmHttpFilter.doFilter(NtlmHttpFilter.java:114)
at
com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstance
Wrapper.java:142)
at
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.
java:77)
at
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.
java(Compiled Code))
at
com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(Gener
icServletWrapper.java:117)
at
com.ibm.ws.jsp.webcontainerext.JSPExtensionServletWrapper.handleRequest(JSPE
xtensionServletWrapper.java:171)
at
com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:2837)
at
com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:220)
at
com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:204)
at
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java(Compile
d Code))
at
com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java(Compi
led Code))
at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(Ht
tpInboundLink.java(Compiled Code))
at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(Ht
tpInboundLink.java(Compiled Code))
at
com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLRea
dCallback.java(Compiled Code))
at
com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManage
r.java(Compiled Code))
at
com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java
(Compiled Code))
at
com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java
(Compiled Code))
at
com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.jav
a(Compiled Code))
at
com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))
Thanks a lot!
Anne Cheng
-------------- next part --------------
HTML attachment scrubbed and removed
More information about the jcifs
mailing list