Category Archives: Programming

Unit Testing WebMethods Services With JUnit

Unit tests are ubiquitous (or at least should be) amongst software projects. Some environments are easier to unit test than others, and WebMethods is somewhere in the middle. As the services run on a server and the tests in your … Continue reading

Posted in Programming, Software AG | Tagged , , , | 2 Comments

WebMethods Client – java.lang.NoClassDefFoundError: iaik/x509/X509Certificate

If you’re calling a WebMethods service from a client and you get the error below, you need to add the enttoolkit jar to your classpath. It can be found under the Software AG installation directory on the server: \common\lib\ext\enttoolkit.jar java.lang.NoClassDefFoundError: … Continue reading

Posted in Programming, Software AG | Tagged , | 1 Comment

WebMethods Client – NoClassDefFoundError: javax/mail/internet/ParseException

If you’re calling a WebMethods service from a client and you get the error below, you need to add the java mail jar to your classpath. java.lang.NoClassDefFoundError: javax/mail/internet/ParseException at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:423) at … Continue reading

Posted in Programming, Software AG | Tagged , | Leave a comment

WebMethods Client Maven Dependencies For 8.2.2.0

If you’re invoking WebMethods services from a Java client, you need 3 jars, two of which are specific to Software AG. Step 1: Add dependencies to pom <!– Software AG specific dependencies–> <dependency> <groupId>com.softwareag</groupId> <artifactId>wm-isclient</artifactId> <version>8.2.2.0</version> </dependency> <dependency> <groupId>com.softwareag</groupId> <artifactId>enttoolkit</artifactId> … Continue reading

Posted in Programming | Tagged , , | 1 Comment

WebMethods Throws NullPointerException When Calling Flow Service In Debug Mode

When debugging a flow service, on calling another flow service an error dialog popped up stating a null pointer exception had occurred. No other information was displayed. On dismissing the dialog, the debugging session terminated. This did not occur when … Continue reading

Posted in Programming | Tagged , | 1 Comment

May Jozi JUG – The Google Guava Libraries

If you’re in the Joburg area and are interested in Java, head over to the May Jozi JUG session on 27 May: Mohamed Akoojee will be discussing various aspects of Google guava libraries and going through some code, working through … Continue reading

Posted in IT, Programming | Tagged , , , | Leave a comment

No Content To Map To Object Due To End Of Input

If you’re using Jersey JAX-RS and get the error “No content to map to Object due to end of input” when your service is called, it may be because you’re attempting to pass in a JSON object while using a … Continue reading

Posted in Programming | Tagged , , , , , | 6 Comments

Single jQuery Ajax Call Results In Two Requests

I implemented simple performance monitoring for a JavaScript/Java application I’m building. This involved writing a Servlet Filter that calls Java Simon code. The Java Simon console application was recording two entries for every single Ajax request that was being made. … Continue reading

Posted in Programming | Tagged , , , , | Leave a comment

Glassfish 3: Space In Custom Resource Name Causes Error

I mistakenly added a custom JNDI resource in Glassfish through the administration console with a space in the name. It was ‘application_configuration /download-token’. The space caused an error when the JNDI>Custom Resource page loaded: REST Request ‘http://localhost:4848/management/domain/servers/server/server/resource-ref/application_configuration+%2Fdownload-token’ failed with response … Continue reading

Posted in Programming | Tagged , , , , | Leave a comment

Cassandra Repository Analyser For Siebel

Tetrad IT has released a new product! The Cassandra Repository Analyser. From the website: Cassandra is a fully automated repository analyser for Siebel. It analyses a Siebel repository for best practice violations in configuration and eScript that lead to performance … Continue reading

Posted in IT, Programming | Tagged , , , , , , , | 1 Comment