Category Archives for Java
OpenAM Apache Web Agent
Make sure you set the Encode Cookie Value to Yes or True. If it’s not able to be modified, it’s an inherited setting that you will need to change. If you don’t, you’ll get a 500 error once a successful … Continue reading
SalesForce.com JAX-WS & Netbeans
The process for using SalesForce.com (SFDC) webservices in Netbeans isn’t as intuitive as you would think. Most of the SFDC documentation examples are built using Apache Axis vis-a-vis JAX-WS. The good news is that it’s possible to get Netbeans (and … Continue reading
Keep JUnit TestCases from Cobertura Instrumentation
To keep your Cobertura code coverage reports accurate, don’t forget to exclude any JUnit TestCases during instrumentation. Example: 1 2 3 4 5 6 <cobertura-instrument todir="${cobertura.inst.classes}" datafile="${cobertura.datafile}"> <fileset dir="${build}"> <include name="**/*.class"/> <exclude name="**/*Test*.class"/> </fileset> </cobertura-instrument> Here’s one of my full … Continue reading