Setting context-root for web app in EAR for SJAS

I'm trying to deploy a web app bundled in an EAR to SJAS 9, and I want to change the context root name.

Using Netbeans, by default it names the war something like: "MyApp-war", and thus the context root becomes MyApp-war.

It was my understanding that I could change the context-root element in the sun-web.xml to be the name that I wanted.

But that doesn't seem to be working.

And I missing something?

[434 byte] By [whartunga] at [2007-11-26 17:09:43]
# 1
I figured it out. The context root is specified in the application.xml. The one in the WAR is ignored.
whartunga at 2007-7-8 23:37:33 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...