I am attempting to use Jolokia agent(WAR) with apache tomcat and Oracle Coherence. It was my understanding that the agent would attempt to discover all mbean servers and make all mbeans available.
However, I can only see native mbeans and no coherence mbeans when using the http://localhost:8080/jolokia/list/ command.
No, you don't specify the full path with "max", the full path would e.g. "Coherence:Domain=java.lang,nodeId=4,subType=Memory,type=Platform/HeapMemoryUsage/max", i.e. everything starting from top of value. The path is always from top of the value object.
Hence you need a path with wildcards, too as described in this issue.
Sorry, applying multiple paths is not possible. You could use multiple attributes like "HeapMemoryUsage,NonHeapMemoryUsage" instead of "MemoryUsage", but only a single path.
However, if your are able to switch to POST requests (instead of GET), you could do a bulk request with two Jolokia request objects, each with a different path. Look for "Bulk requests" in the reference manual if this is an option for you.