  In the netscape api for LDAP; the LDAPSearchResults method getCount() doesn't work. When there was more than one results the count would still return 1. That took over 3 hours to figure out because we assumed the whole time that it was working. Yesterday was a long day; our LDAP server went down and all the data was gone so after getting it back up and reviving the data our application was acting funny. Most of the side effects were due to human error. I finally checked out Struts test case. And from now on I'm going to be a unit testing madman. Haven't test EJB unit testing but I have enough to get me going on Struts and Servlets; Still need to try testing a JSP, using integration testing, and functional testing. This all came about from the decompression meeting and I'm going to make it a standard for development practice and process. I've looking at webservices usage. First I looked at Apache SOAP project, but then found Apache Axis which seems to be more up to date and active. Donny also enlightened me about how EJBs are used to implement RMI and RMIC is used to create RMI at a lower level than EJB. @work start postgress by going to /usr/local/pgsql/data and typing ./startdb & This weekend I started working on my course materials, about time.
I have no idea how I'm going to fit all this content into only three days. It's going to take me a full day to get people aquainted with the development environment and get through the introduction. Working on getting the idea of developer data sandboxes going. Testing the usage of the servletcontext in cactusstrutstestcase.
I originally worked on setting up the configuration variables in the servlet unit test case; but then I realized the system should initialize itself via the filter; however, a servlet loaded on startup would be better. Be careful not to include language="java", errorPage="MyError.jsp", isErrorPage="false" in jsps that directive includes like jar classes have different uid from web to ejb fixed problem compiling WS with glue made proxy objects for the client that would convert the Soap response of the server to an exception in the client. Nice. There was a problem of connection refused to host: 127.0.0.1 from our EJB server. This was caused because the machine name was in the /etc/hosts file so when doing a host lookup it would return the localhost ip instead of the machine's actual ip.
My estimate for how long it was going to take to deploy our app from staging to production was way off due to more LDAP migration problems. From deployment yesterday, I have narrowed down the problem with LDAP. It seems that spaces are to blame, specifically between the user's DN and the entries in the groupOfUniqueNames. For instance, the user's dn may be something like this, "mail=joe@public.com,ou=people,o=jway.com", but in the group the uniqueMember attribute is "mail=joe@public.com,_ou=people,_o=jway.com", notice the space after the commas.
Therefore, the search would not find the user and there we have a problem. We are planning to standardize. been working with cactusstrutstestcase; having problem with sending the actionform This has been solved.. Ricardo helped me to figure out that the setRequestPathInfo() must be called before setActionForm() because the name of the actionform is looked up in the strut-config action mapping. have ldap outputting logs now to :/usr/local/var/openldap-data/replog; sweet! 
