users@glassfish.java.net

Configuring EAR, going to be deployed on a glassfish

From: Robert Meusel <robert.meusel_at_freenet.de>
Date: Wed, 12 Nov 2008 21:26:40 +0100

Hello,

 

sorry for disturbing you.

I am actually looking for a possibility to restrict the URI of a .war - file
included in a .ear-file. I know that this is possible adjusting the
application.xml in the .ear - file, but the problem is, that I could not
control what the users are uploading to this server - I just want to make
sure that everybody is deploying his applications into his own folder (URI -
Prefix).

 

For Example:

                Uploaded .ear includes a test.war which is mentioned in the
application.xml which maps the test.war to /test

                But the user should deploy all his files to the URI
/username

 

I check all the documentations on the web - but could find a clue.

 

Perhaps you could help me.

 

Greetings Robert Meusel