Gareth Roberts, founder of Virtuate, a consulting outfit based in New Zealand, came up with a doh! moment for me this week. He has been working with Publisher and trying to get images into his reports that are sitting behind a proxy server. This is all inside E Business Suite so no means to use the JVM proxy settings when the concurrent manager starts up. The support folks found the solution that I had completely forgotten about ... I have been away from EBS too long :(
When the concurrent manager (CM) starts a java based job (concurrent program) such as a Publisher one. It fires up a new JVM instance for it. In their wisdom the CM development folks left an 'options' field on the concurrent program definition where you can add JVM start up parameters.
So to allow Publisher to reach the proxied images adding the following to the options field:
did the trick. Why a Doh! moment? Because we also used the same field when we knew a report was going to be BIG and wanted to increase the memory heap available to that particular report at runtime i.e. -Xmx, -Xmn, etc. You can catch Gareth over on his blog waxing lyrical about all things EBS.
Pieter from support pointed out that if the application requires a proxy server then it can be done at
a more global level, that is via the context file using these CP
[vispb12@pbreugel4 ~]$ grep s_afjsmarg $CONTEXT_FILE
<AFJSMARG oa_var="s_afjsmarg" osd="Linux">-server
-Xmx384m -XX:NewRatio=2 -XX:+UseSerialGC
[vispb12@pbreugel4 ~]$ grep s_afjcparg $CONTEXT_FILE
More on that approach here -