Application Server and exploded directory

Does it make sense to have the exploded directory to be relative to the
application server? We define our tomcat server(s) separately. If we
want to deploy to another server, we have to navigate to the new
server. Why not just have it be relative to the currently selected server.

We have the application server. Tomcat in this case. We know where the
webapps are located.
The Web Resource Directories setting specifies the relative path in the
deployment directory. This would be the context directory.
Then the Web Module Exploded Directory box becomes a check box (do you
want it or not). It displays where it is going to go, but no need to
set it because all the other information has been provided elsewhere.

Does this make sense to submit?

--
Norris Shelton
Sun Certified Java Programmer

6 comments
Comment actions Permalink

Em Wed, 02 Jun 2004 15:18:25 -0400, Norris Shelton escreveu:

Does it make sense to have the exploded directory to be relative to the
application server? We define our tomcat server(s) separately. If we
want to deploy to another server, we have to navigate to the new server.
Why not just have it be relative to the currently selected server.


OTOH, I prefer to build the application to a separate directory (not under
the application server) and configure the server to look for my
application in that place. If I used multiple servers, I'd configure them,
not my project, multiple times.

In tomcat speak, I create a
$TOMCAT_HOME/config/Catalina/localhost/myapp.xml context
configuration pointing to my exploded directory, which is not under
$TOMCAT_HOME/webapps.

--
Marcus Brito <pazu@animegaiden.com.br>


0
Comment actions Permalink

If this makes sense, then the Web Resources Directories area can be
moved from the Web Module Settings tag to the J2EE Build Settings tab.

FYI - the Deployment descriptors box is smaller, but it is still too large.

Norris Shelton
Sun Certified Java Programmer




Norris Shelton wrote:

Does it make sense to have the exploded directory to be relative to
the application server? We define our tomcat server(s) separately.
If we want to deploy to another server, we have to navigate to the new
server. Why not just have it be relative to the currently selected
server.

>

We have the application server. Tomcat in this case. We know where
the webapps are located.
The Web Resource Directories setting specifies the relative path in
the deployment directory. This would be the context directory.
Then the Web Module Exploded Directory box becomes a check box (do you
want it or not). It displays where it is going to go, but no need to
set it because all the other information has been provided elsewhere.

>

Does this make sense to submit?

>

0
Comment actions Permalink

That's interesting. I had done that before, but abandoned that idea.

How many people develop on more than one server?

Norris Shelton
Sun Certified Java Programmer




Marcus Brito wrote:

>Em Wed, 02 Jun 2004 15:18:25 -0400, Norris Shelton escreveu:
>

>
>>Does it make sense to have the exploded directory to be relative to the
>>application server? We define our tomcat server(s) separately. If we
>>want to deploy to another server, we have to navigate to the new server.
>>Why not just have it be relative to the currently selected server.
>>
>>
>
>OTOH, I prefer to build the application to a separate directory (not under
>the application server) and configure the server to look for my
>application in that place. If I used multiple servers, I'd configure them,
>not my project, multiple times.
>
>In tomcat speak, I create a
>$TOMCAT_HOME/config/Catalina/localhost/myapp.xml context
>configuration pointing to my exploded directory, which is not under
>$TOMCAT_HOME/webapps.
>

>

0
Comment actions Permalink

(Raising hand) Not only more than one server but more than one DB also.

R


On 6/3/04 9:04 AM, in article 40BF21C3.8070402@yahoo.com, "Norris Shelton"
<i.hate.spam@yahoo.com> wrote:

That's interesting. I had done that before, but abandoned that idea.

How many people develop on more than one server?
Norris Shelton
Sun Certified Java Programmer



Marcus Brito wrote:

>>
>> Em Wed, 02 Jun 2004 15:18:25 -0400, Norris Shelton escreveu:
>>
>>
>>
>>>
>>> Does it make sense to have the exploded directory to be relative to the
>>> application server? We define our tomcat server(s) separately. If we
>>> want to deploy to another server, we have to navigate to the new server.
>>> Why not just have it be relative to the currently selected server.
>>>
>>>
>>
>>
>> OTOH, I prefer to build the application to a separate directory (not under
>> the application server) and configure the server to look for my
>> application in that place. If I used multiple servers, I'd configure them,
>> not my project, multiple times.
>>
>> In tomcat speak, I create a
>> $TOMCAT_HOME/config/Catalina/localhost/myapp.xml context
>> configuration pointing to my exploded directory, which is not under
>> $TOMCAT_HOME/webapps.
>>
>>



0
Comment actions Permalink

Do you deploy to a standalone directory and have your web servers point
to it?

Norris Shelton
Sun Certified Java Programmer




Robert Sfeir wrote:

(Raising hand) Not only more than one server but more than one DB also.

>

R

>
>

On 6/3/04 9:04 AM, in article 40BF21C3.8070402@yahoo.com, "Norris
Shelton" <i.hate.spam@yahoo.com> wrote:

>

That's interesting. I had done that before, but abandoned that idea.

>

How many people develop on more than one server?
Norris Shelton
Sun Certified Java Programmer

>
>
>

Marcus Brito wrote:

>
>

Em Wed, 02 Jun 2004 15:18:25 -0400, Norris Shelton escreveu:

>


>
>

Does it make sense to have the exploded directory to be
relative to the
application server? We define our tomcat server(s)
separately. If we
want to deploy to another server, we have to navigate to
the new server.
Why not just have it be relative to the currently selected
server.

>
>
>

OTOH, I prefer to build the application to a separate
directory (not under
the application server) and configure the server to look for my
application in that place. If I used multiple servers, I'd
configure them,
not my project, multiple times.

>

In tomcat speak, I create a
$TOMCAT_HOME/config/Catalina/localhost/myapp.xml context
configuration pointing to my exploded directory, which is
not under
$TOMCAT_HOME/webapps.

>

>
>
>

0
Comment actions Permalink

No, not at all. I explode the dir in idea and I switch app servers in idea.
So I would use a combination of JSR45 and Tomcat, until we can get our hands
on more app server plugins.

My exploded dir is in the same directory as my project, not external. My
test needs to be as controlled as possible, and by having the exploded dir,
all app servers will run the same setup of my application.

R


On 6/3/04 9:27 AM, in article 40BF274F.7090506@yahoo.com, "Norris Shelton"
<i.hate.spam@yahoo.com> wrote:

Do you deploy to a standalone directory and have your web servers point to it?
Norris Shelton
Sun Certified Java Programmer



Robert Sfeir wrote:

>> Re: Application Server and exploded directory (Raising hand) Not only more
>> than one server but more than one DB also.
>>
>> R
>>
>>
>> On 6/3/04 9:04 AM, in article 40BF21C3.8070402@yahoo.com, "Norris Shelton"
>> <i.hate.spam@yahoo.com> wrote:
>>
>>
>>> That's interesting. I had done that before, but abandoned that idea.
>>>
>>> How many people develop on more than one server?
>>> Norris Shelton
>>> Sun Certified Java Programmer
>>>
>>>
>>>
>>> Marcus Brito wrote:
>>>
>>>>
>>>> Em Wed, 02 Jun 2004 15:18:25 -0400, Norris Shelton escreveu:
>>>>
>>>>
>>>>
>>>>
>>>>>
>>>>> Does it make sense to have the exploded directory to be relative to the
>>>>> application server? We define our tomcat server(s) separately. If we
>>>>> want to deploy to another server, we have to navigate to the new server.
>>>>> Why not just have it be relative to the currently selected server.
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> OTOH, I prefer to build the application to a separate directory (not under
>>>> the application server) and configure the server to look for my
>>>> application in that place. If I used multiple servers, I'd configure them,
>>>> not my project, multiple times.
>>>>
>>>> In tomcat speak, I create a
>>>> $TOMCAT_HOME/config/Catalina/localhost/myapp.xml context
>>>> configuration pointing to my exploded directory, which is not under
>>>> $TOMCAT_HOME/webapps.
>>>>
>>>>
>>>>
>>>
>>>
>>
>>



0

Please sign in to leave a comment.