Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Java Callouts and Templating UI
Srinivas
Hello,
Is there any way to debug java callouts running in client UI?. I have deployed a java callout but it didn't work and I just want to know what runtime exceptions stopping the callout to run. Btw, the callout has been successfully compiled and needs two jar files to run. I have downloaded the jar files and placed in classpath of Java Templating UI.
Find more posts tagged with
Comments
Migrateduser
You can attach a debugger to the Java application once launched. Change the parameters that are used to invoke the JRE in the tst.lax file (located where the Java client is installed) with the appropriate jdwp params.
You can also set the file where stdout and stderr is piped to. For example:
lax.stderr.redirect=c:\\stderr.txt
lax.stdout.redirect=c:\\stdout.txt
pipes stderr and stdin to stderr.txt and stdout.txt respectively.
--Daniel
Srinivas
Thanks for your reply. I have tried before I put this question up but it doesn't seem to work. Did you ever try to redirect (stderr and stdout) output before?
Migrateduser
Yes. Actually, I took the excerpts from my .lax files on my Windows box. However, I admit it has been a while...
Does any file get created when you do this? Of course, you have to relaunch the GUI when you make changes to the .lax file.
--Daniel