hehe no worries, on the other hand, remember which you need to set Arch => JAVA_ARCH, and Platform => ['win', 'linux']. If you set Platform as 'java', then "native java" payloads, like the java meterpreter will be available, but the module will fail fail.

Finally, probably it's being failing because you're using generate_payload_exe even for ARCH_JAVA payloads. JSP payloads can be generated with just payload.encoded