> Can i have different ports for different applications?
> How do i do this?
I am not sure if this is possible using Tomcat configuration only, but
what you could do is add a number of different connectors (i.e. a
connector at 8080 for app1, one at 8081 for app2 ...) and check in
your code if the application has been accessed via the right port.
Note that this workaround has at least one major drawback: you cannot
map a single URL to more than one application, ie. you cannot have
http://myserver.com:[8080|8081|...]/
map to more than one application.
/philipp
Lew - 14 Apr 2007 00:51 GMT
ruds wrote:
>> Can i have different ports for different applications?
>> How do i do this?
> I am not sure if this is possible using Tomcat configuration only, but
Use a web server like Apache Web Server, and let it handle port assignments.
Why do you want to use different ports for different applications? Is there a
problem with using only one port?

Signature
Lew
ruds - 17 Apr 2007 05:14 GMT
> Why do you want to use different ports for different applications? Is there a
> problem with using only one port?
>
> --
> Lew
My applications have a lot of transactions carried on them so i want
different ports for different applications.
Thankx all for ur suggestions..
I used Conectors for different applications.
Lew - 17 Apr 2007 12:35 GMT
Lew <l...@nospam.lewscanon.com> wrote:
>> Why do you want to use different ports for different applications? Is there a
>> problem with using only one port?
> My applications have a lot of transactions carried on them so i want
> different ports for different applications.
How does using different ports affect how many transactions you can carry out?

Signature
Lew