[jcifs] ERROR_NOT_ENOUGH_MEMORY resulting into HTTP 500

Radovan Skolnik radovan_skolnik at tempest.sk
Tue Jan 10 14:25:55 GMT 2006


Hello!

We are using JCIFS 1.1.11 to autenthicate web users accessing Apache
Tomcat/4.1.30 on HP-UX platform. The domain consists of few Windows 2003
domain controllers running backward compatibility mode (so Windows 2003
style is not enabled) without any WINS server (there won't be any in the
future). Quite often the PDC returns message 8 - ERROR_NOT_ENOUGH_MEMORY
resulting into HTTP 500. Refresh of the page usually helps the situation.
Another workaround is to reconfigure the filter to go to another PDC. Has
anyone encountered this? Any suggestions? Is there (could there be) some
load-balancing mechanism to query more than one PDC in case one fails? Is
there any part of the code in 1.2.x versions that could help this? If needed
I can provide communication dump.

Here's a list of parameters that are setup:
	jcifs.smb.client.domain=ST
	jcifs.netbios.wins=10.168.7.31
	jcifs.smb.client.username=webtest
	jcifs.smb.client.password=************
	jcifs.http.domainController=10.168.7.31
	jcifs.http.loadBalance=false
	jcifs.http.insecureBasic=0
	jcifs.http.enableBasic=0

Here's a entry from the audit log (seems to me everything's OK there):
	Event Type:	Success Audit
	Event Source:	Security
	Event Category:	Account Logon 
	Event ID:	680
	Date:		8. 12. 2005
	Time:		15:31:51
	User:		ST\webtest
	Computer:	DATACENTER02
	Description:
	Logon attempt by:	MICROSOFT_AUTHENTICATION_PACKAGE_V1_0
	Logon account:	webtest
	Source Workstation:	\\JCIFS192_76_94
	Error Code:	0x0
	For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.

Best regards

	Radovan Skolnik

------------------------------------------------------------------
Ing. Radovan Skolnik
TEMPEST s.r.o.
Department of Enterprise Management
Plynarenska 7/B
821 09 Bratislava
Slovak Republic

E-mail: radovan_skolnik at tempest.sk
www:   http://www.tempest.sk
Tel:   +421 (2) 502 67 174
Fax:   +421 (2) 502 67 100

ITIL, SLM, Networking, Telco, Management, CORBA, Java and XML
------------------------------------------------------------------



More information about the jcifs mailing list