Hello I have some evidence that should get to cause of this and possibly help/edify others;hopefully not said selfishly. The exact same war file works in a bare simple deployment in WinXPP and fails in Windows Server OSs, Win2KSrv, and Win2003Srv. I enabled logging and tracing in the plugin and there were distinct differences as follows WinXPP-working basic: Plugin2ClassLoader.addURL parent called for http://localhost:8080/demo/clientSide.jar security: Blacklist revocation check is enabled security: Trusted libraries list check is enabled network: Cache entry found [url: http://localhost:8080/demo/stuff00.jar, version: null] prevalidated=false/0 network: Connecting http://localhost:8080/demo/stuff00.jar with proxy=DIRECT network: Connecting http://localhost:8080/ with proxy=DIRECT network: Connecting http://localhost:8080/demo/stuff00.jar with cookie "blackbird={pos:1,size:0,load:false}; JSESSIONID=C13AD93C0E79D14009D983749ED69189" network: ResponseCode for http://localhost:8080/demo/stuff00.jar : 304 network: Encoding for http://localhost:8080/demo/stuff00.jar : null network: Disconnect connection to http://localhost:8080/demo/stuff00.jar cache: Reading Signers from 2966 http://localhost:8080/demo/stuff00.jar | C:\Documents and Settings\Administrator\Application Data\Sun\Java\Deployment\cache\6.0\31\3bc270df-3b0abcb9.idx cache: Read manifest for http://localhost:8080/demo/stuff00.jar: read=45 full=16708 basic: Plugin2ClassLoader.isTrustedByPolicy called basic: Plugin2ClassLoader.isTrustedByPolicy returns false network: Cache entry found [url: http://localhost:8080/demo/stuff01.jar, version: null] prevalidated=false/0
WinServer OSs-failing basic: Plugin2ClassLoader.addURL parent called for http://localhost:8080/demo/clientSide.jar network: Cache entry not found [url: http://localhost:8080/demo/stuff00.jar, version: null] network: Connecting http://localhost:8080/demo/stuff00.jar with proxy=DIRECT network: Connecting http://localhost:8080/ with proxy=DIRECT network: Connecting http://localhost:8080/demo/stuff00.jar with cookie "blackbird={pos:1,size:0,load:null}; JSESSIONID=A6229E473C7C7ACE4A6D1B4E0A83E537" network: Downloading resource: http://localhost:8080/demo/stuff00.jar Content-Length: 797,273 Content-Encoding: null network: CleanupThread used 91208 us network: Wrote URL http://localhost:8080/demo/stuff00.jar to File C:\Documents and Settings\Administrator\Application Data\Sun\Java\Deployment\cache\6.0\31\3bc270df-4b448aa9-temp security: Blacklist revocation check is enabled security: Trusted libraries list check is enabled network: CleanupThread used 3 us security: Accessing keys and certificate in Mozilla user profile: null security: Loading Root CA certificates from C:\Program Files\Java\jre6\lib\security\cacerts security: Loaded Root CA certificates from C:\Program Files\Java\jre6\lib\security\cacerts security: Loading Deployment certificates from C:\Documents and Settings\Administrator\Application Data\Sun\Java\Deployment\security\trusted.certs security: Loaded Deployment certificates from C:\Documents and Settings\Administrator\Application Data\Sun\Java\Deployment\security\trusted.certs security: Loading certificates from Deployment session certificate store security: Loaded certificates from Deployment session certificate store security: Validate the certificate chain using CertPath API security: Obtain certificate collection in Root CA certificate store security: Obtain certificate collection in Root CA certificate store security: Start to check whether root CA is replaced security: The root CA hasnt been replaced security: No timestamping info available security: Found jurisdiction list file security: No need to checking trusted extension for this certificate security: The CRL support is disabled security: The OCSP support is disabled security: This OCSP End Entity validation is disabled security: Checking if certificate is in Deployment denied certificate store security: Checking if certificate is in Deployment permanent certificate store security: Checking if certificate is in Deployment session certificate store security: User has granted the priviledges to the code forever security: Loading Deployment certificates from C:\Documents and Settings\Administrator\Application Data\Sun\Java\Deployment\security\trusted.certs security: Loaded Deployment certificates from C:\Documents and Settings\Administrator\Application Data\Sun\Java\Deployment\security\trusted.certs security: Adding certificate in Deployment permanent certificate store security: Added certificate in Deployment permanent certificate store as alias deploymentusercert-4090099776771522002 security: Saving Deployment certificates in C:\Documents and Settings\Administrator\Application Data\Sun\Java\Deployment\security\trusted.certs security: Saved Deployment certificates in C:\Documents and Settings\Administrator\Application Data\Sun\Java\Deployment\security\trusted.certs basic: updateValidationResultsForApplet update cache: Mark prevalidated: http://localhost:8080/demo/stuff00.jar true tm=1292000602187 cert=1178512654000 network: Cache entry not found [url: http://localhost:8080/demo/stuff01.jar, version: null] It appears that the WinServer OSs are not "handling" the cache correctly. This detail is line-by-line of the two log sessions, nothing is omitted. Even when I clear out the cache on both and rerun I get the same. It should be impossible for such an inconsistency between the two. I will try a monkey pulling lever of un/reinstall Java on the WinOSs. I will install the JDK instead of the JRE. Ideas? ________________________________ From: Christopher Schultz <ch...@christopherschultz.net> To: Tomcat Users List <users@tomcat.apache.org> Sent: Fri, December 10, 2010 11:30:27 AM Subject: Re: deploy log4j -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Pid, On 12/10/2010 9:27 AM, Pid wrote: > On 12/10/10 2:43 AM, cpanon wrote: >> Hello >> I agree it should be simple and in the IDE it works fine. In simple >> production >> >> environment on Windows Servers it fails. In simple production environment >> on a >> >> WinXPP it works. It cant get any more discipline testing than that. >> Nothing >> changes other than the deployment OS. >> >> >> I am loading an applet and I can synthesize my location as >> codebase+"WEB-INF/classes/log4j.properties but even the working IDE >> environment >> >> fails. I am doing a >>prop.load(getClass().getResourceAsStream(codebase+"WEB-INF/classes/log4j.properties")). >>. >> >> Now neither environment works. Ideas? > > Is the log4j property file loading code inside an applet or inside a web > application? Great question: I hadn't considered an applet being part of the equation, though the use of the word "codebase" is certainly a tip. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk0CVaMACgkQ9CaO5/Lv0PAeDgCgq0oAQJEwWVRPkuFHEAxP4A2c 9VwAnjxATjWi2q4kF9Ia6upSD/pIHCBD =GMZT -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org