private Jmap createMap()
Can you post yourprivate Jmap createMap()
function so we can see what types of layers you are adding.
What kind of layers are you adding to the JMap ? dynamic layer from local map package, online web service, local tiled layer ?
In case you are loading a TPK or MPK file, as a resource file, it's working in local because the file is accessible, but in deployment your resource file are in the jar... so you need to deploy or copy them outside the jar file for deployment.
I hope this can help you.
Just a quick update. The map works on when I deployed it in home laptop which is windows 8.
But it does not work on the actual deployment machine which is windows server 2008 service pack 2 64 bit.