Re: Tomcat 8 WebSocket Encoders / Decoders Questions

2013-10-16 Thread Niki Dokovski
On Wed, Oct 16, 2013 at 6:36 PM, Daniel Mikusa wrote:

> I have a simple WebSocket endpoint defined, it is just echoing the data
> sent by the client.  Here's the code.
>
> @ServerEndpoint(value="/websocket",
> decoders={ListStringDecoder.class},
> encoders={ListStringEncoder.class})
> public static class Server {
> @OnMessage
> public List rx(List in) {
> return in;
> }
> }
>
> As you can see by the endpoint annotation, I'm defining an encoder and
> decoder.  Here's the code for that.
>
> public static class ListStringEncoder implements
> Encoder.Text> {
>
> @Override
> public void init(EndpointConfig endpointConfig) {
> }
>
> @Override
> public void destroy() {
> }
>
> @Override
> public String encode(List list) throws EncodeException {
> return list.toString();
> }
> }
>
> public static class ListStringDecoder implements
> Decoder.Text> {
>
> @Override
> public void init(EndpointConfig endpointConfig) {
> }
>
> @Override
> public void destroy() {
> }
>
> @Override
> public List decode(String data) throws DecodeException {
> List tmp = new ArrayList();
> for (String str : data.substring(1, data.length() -
> 1).split(",")) {
> tmp.add(str);
> }
> return tmp;
> }
>
> @Override
> public boolean willDecode(String s) {
> return s.startsWith("[") && s.endsWith("]");
> }
> }
>
> Now when I run this, I get the following exception as Tomcat starts up.
>
> 16-Oct-2013 11:29:40.311 SEVERE [localhost-startStop-1]
> org.apache.catalina.core.StandardContext.listenerStart Exception sending
> context initialized event to listener instance of class
> org.apache.tomcat.websocket.pojo.TesterUtil$ServerConfigListener
>  java.lang.NullPointerException
> at
> org.apache.tomcat.websocket.Util$DecoderMatch.(Util.java:428)
> at
> org.apache.tomcat.websocket.pojo.PojoMethodMapping$MessageHandlerInfo.(PojoMethodMapping.java:396)
> at
> org.apache.tomcat.websocket.pojo.PojoMethodMapping.(PojoMethodMapping.java:114)
> at
> org.apache.tomcat.websocket.server.WsServerContainer.addEndpoint(WsServerContainer.java:194)
> at
> org.apache.tomcat.websocket.pojo.TesterUtil$ServerConfigListener.contextInitialized(TesterUtil.java:45)
> at
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4830)
> at
> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5276)
> at
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
> at
> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1390)
> at
> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1)
> at
> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
> at java.util.concurrent.FutureTask.run(FutureTask.java:166)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:724)
>
> If I change my encoder & decoder to use "List" rather than "List"
> everything works fine.
>
> Any thoughts on what's going on here?
>

Hi Dan,
IMHO current implementation of o.a.t.w.Util#getGenericType/getTypeParameter
can be improved. More detailed inspection of the typed parameter will help.
Your sample runs perfectly well on WebSocket RI implementation, hence I
think this is a bug in Tomcat.

cheers
Niki


>
> Thanks
>
> Dan
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>


Re: Please kindly give my wiki user access to edit wiki page

2013-10-16 Thread Konstantin Kolinko
2013/10/16 Hyve Info :
> When I click: https://wiki.apache.org/tomcat/PoweredBy?action=edit
>
> I Get:
> "You are not allowed to edit this page."
>
> I have logged out and back in a couple of times to release the session.
>

The rules of this mailing list:
http://tomcat.apache.org/lists.html#tomcat-users
See "6.".


The convention for wiki login names is FirstnameLastname.
https://wiki.apache.org/tomcat/UserPreferences

Create yourself a different login name that does not have a wtitespace.

(Granting access to a name that has wtitespaces should be possible,
but related help differs in different versions of MoinMoin. Thus I
think it can break when the wiki engine is upgraded, and thus is not
worth trying for a recently created account.)

Best regards,
Konstantin Kolinko

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: Please kindly give my wiki user access to edit wiki page

2013-10-16 Thread Hyve Info
When I click: https://wiki.apache.org/tomcat/PoweredBy?action=edit

I Get:
"You are not allowed to edit this page."

I have logged out and back in a couple of times to release the session.


Best regards,
Jon Lucas

t: 0800 612 2524
e: sa...@hyve.com
w: www.hyve.com

Reg No. 04239352 | VAT Reg No. 798820566 | Registered as Hyve Ltd. in England 
and Wales
This e-mail (including any files or attachments transmitted with it) is 
confidential and intended solely for the use of the individual or entity to 
which it is addressed. It may contain confidential and/or privileged 
information and any review, retransmission, dissemination or other use of, or 
taking any action in reliance thereon, by persons or entities other than those 
for which it is intended is prohibited. If you receive this information in 
error please delete the material from any computer and contact the sender. All 
of our computers have virus-checking software but we are unable to guarantee 
the safety of any of our e-mails due to the constant release of new viruses. 
Therefore we cannot accept responsibility for any such viruses which may be 
inadvertently sent to you in any of our e-mails. All prices exclude VAT unless 
otherwise stated.
Please consider the environment before printing this email. Thank you.



-Original Message-
From: Christopher Schultz [mailto:ch...@christopherschultz.net] 
Sent: 16 October 2013 17:16
To: Tomcat Users List
Subject: Re: Please kindly give my wiki user access to edit wiki page

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Jon,

On 10/16/13 11:24 AM, Hyve Info wrote:
> e.g. when I surf to this URL: 
> https://wiki.apache.org/tomcat/Jon%20Lucas?action=edit&template=HomepageTemplate
>
>  I get
> 
> "You are not allowed to edit this page."

How about editing the "PoweredBy" page?

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.14 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJSXrulAAoJEBzwKT+lPKRYEsgP/joXPo217Y5vy5Xx4eDl4aXV
Y+iDifA9mMVDoNSzRGkQt2yEZUxV6iAm/NQ1r8NbsLy6lWZDjrXoNY+m3pEh7Jfd
XfGFVpBZ9Xt3NJMfSqH9/M7IdBY1moTUffELL0fhU6CV/B+jm3hRwfVF1D6jEcfz
UUs5rV4GfaVpibuQc3iyyLDYaHPHSUJWY8bgA5cKFbfktn84Rjpif344aoLQqmbq
/A7Wpwy13Dlj7/v4RL+MtkR20XK4bGECX2ImX4014A02kdkv6dqhQH/AAixnH34i
f9VqBU7P/kla9mF0uvowFHBJbYa0/CVFlROG2h2+GGnWLu1Ix/LNqd4WTdgUnRcR
+VWYMkpGVHk3FUepHNv8BXBJzWDGMPu7Bqb4bj3uhfpSaX5vQix+CjPD+zginCnv
Q4cZdELQvXUktwvz41bUV/skDw6arO/9XrA68g7PTNDDDOrp4RImWayZEKy1JRr+
y/aZkd3OVeigfb+/kyQ0/lfgQhIA2+s07WIcgCsQMOrrj1/tUqElwpSFULYHfOM/
8R7+bv3uah/xjZ29jwDSc+ihEp3bUfxnAY0g5JSIAsryeEwWpW21bYDa/aTDyNjv
P8v8FFYM9ix1cjYF87hnwuPyhrXuC4iseWmL68tK0Dw65OiNP5Nd0AdOBioVMebe
PaLwnVzyguNl5YAOK+Ay
=H66N
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Please kindly give my wiki user access to edit wiki page

2013-10-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Jon,

On 10/16/13 11:24 AM, Hyve Info wrote:
> e.g. when I surf to this URL: 
> https://wiki.apache.org/tomcat/Jon%20Lucas?action=edit&template=HomepageTemplate
>
>  I get
> 
> "You are not allowed to edit this page."

How about editing the "PoweredBy" page?

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.14 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJSXrulAAoJEBzwKT+lPKRYEsgP/joXPo217Y5vy5Xx4eDl4aXV
Y+iDifA9mMVDoNSzRGkQt2yEZUxV6iAm/NQ1r8NbsLy6lWZDjrXoNY+m3pEh7Jfd
XfGFVpBZ9Xt3NJMfSqH9/M7IdBY1moTUffELL0fhU6CV/B+jm3hRwfVF1D6jEcfz
UUs5rV4GfaVpibuQc3iyyLDYaHPHSUJWY8bgA5cKFbfktn84Rjpif344aoLQqmbq
/A7Wpwy13Dlj7/v4RL+MtkR20XK4bGECX2ImX4014A02kdkv6dqhQH/AAixnH34i
f9VqBU7P/kla9mF0uvowFHBJbYa0/CVFlROG2h2+GGnWLu1Ix/LNqd4WTdgUnRcR
+VWYMkpGVHk3FUepHNv8BXBJzWDGMPu7Bqb4bj3uhfpSaX5vQix+CjPD+zginCnv
Q4cZdELQvXUktwvz41bUV/skDw6arO/9XrA68g7PTNDDDOrp4RImWayZEKy1JRr+
y/aZkd3OVeigfb+/kyQ0/lfgQhIA2+s07WIcgCsQMOrrj1/tUqElwpSFULYHfOM/
8R7+bv3uah/xjZ29jwDSc+ihEp3bUfxnAY0g5JSIAsryeEwWpW21bYDa/aTDyNjv
P8v8FFYM9ix1cjYF87hnwuPyhrXuC4iseWmL68tK0Dw65OiNP5Nd0AdOBioVMebe
PaLwnVzyguNl5YAOK+Ay
=H66N
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Tomcat 8 WebSocket Encoders / Decoders Questions

2013-10-16 Thread Daniel Mikusa
I have a simple WebSocket endpoint defined, it is just echoing the data sent by 
the client.  Here's the code.

@ServerEndpoint(value="/websocket",
decoders={ListStringDecoder.class},
encoders={ListStringEncoder.class})
public static class Server {
@OnMessage
public List rx(List in) {
return in;
}
}

As you can see by the endpoint annotation, I'm defining an encoder and decoder. 
 Here's the code for that.

public static class ListStringEncoder implements Encoder.Text> 
{

@Override
public void init(EndpointConfig endpointConfig) {
}

@Override
public void destroy() {
}

@Override
public String encode(List list) throws EncodeException {
return list.toString();
}
}

public static class ListStringDecoder implements Decoder.Text> 
{

@Override
public void init(EndpointConfig endpointConfig) {
}

@Override
public void destroy() {
}

@Override
public List decode(String data) throws DecodeException {
List tmp = new ArrayList();
for (String str : data.substring(1, data.length() - 
1).split(",")) {
tmp.add(str);
}
return tmp;
}

@Override
public boolean willDecode(String s) {
return s.startsWith("[") && s.endsWith("]");
}
}

Now when I run this, I get the following exception as Tomcat starts up.

16-Oct-2013 11:29:40.311 SEVERE [localhost-startStop-1] 
org.apache.catalina.core.StandardContext.listenerStart Exception sending 
context initialized event to listener instance of class 
org.apache.tomcat.websocket.pojo.TesterUtil$ServerConfigListener
 java.lang.NullPointerException
at org.apache.tomcat.websocket.Util$DecoderMatch.(Util.java:428)
at 
org.apache.tomcat.websocket.pojo.PojoMethodMapping$MessageHandlerInfo.(PojoMethodMapping.java:396)
at 
org.apache.tomcat.websocket.pojo.PojoMethodMapping.(PojoMethodMapping.java:114)
at 
org.apache.tomcat.websocket.server.WsServerContainer.addEndpoint(WsServerContainer.java:194)
at 
org.apache.tomcat.websocket.pojo.TesterUtil$ServerConfigListener.contextInitialized(TesterUtil.java:45)
at 
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4830)
at 
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5276)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at 
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1390)
at 
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:724)

If I change my encoder & decoder to use "List" rather than "List" 
everything works fine.

Any thoughts on what's going on here?

Thanks

Dan


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: Please kindly give my wiki user access to edit wiki page

2013-10-16 Thread Hyve Info
e.g. when I surf to this URL:
https://wiki.apache.org/tomcat/Jon%20Lucas?action=edit&template=HomepageTemplate

I get 

"You are not allowed to edit this page."

Best regards,
Jon Lucas

t: 0800 612 2524
e: sa...@hyve.com
w: www.hyve.com

Reg No. 04239352 | VAT Reg No. 798820566 | Registered as Hyve Ltd. in England 
and Wales
This e-mail (including any files or attachments transmitted with it) is 
confidential and intended solely for the use of the individual or entity to 
which it is addressed. It may contain confidential and/or privileged 
information and any review, retransmission, dissemination or other use of, or 
taking any action in reliance thereon, by persons or entities other than those 
for which it is intended is prohibited. If you receive this information in 
error please delete the material from any computer and contact the sender. All 
of our computers have virus-checking software but we are unable to guarantee 
the safety of any of our e-mails due to the constant release of new viruses. 
Therefore we cannot accept responsibility for any such viruses which may be 
inadvertently sent to you in any of our e-mails. All prices exclude VAT unless 
otherwise stated.
Please consider the environment before printing this email. Thank you.



-Original Message-
From: Christopher Schultz [mailto:ch...@christopherschultz.net] 
Sent: 16 October 2013 15:33
To: Tomcat Users List
Subject: Re: Please kindly give my wiki user access to edit wiki page

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Jon,

> Yes I have created an account, my user is "Jon Lucas" We are a hosting 
> company and have been hosting Tomcat applications in our data center 
> for clients globally since 2001. We live and breathe Tomcat.

I've added you to the contributors group. Don't break anything ;)

On 10/16/13 9:41 AM, Hyve Info wrote:
>> 1. You offer Tomcat 5 hosting. Seriously? It's EOL.
> We still have clients using 5 yes.

Yikes. You really need to encourage them to move up. Are you responsible for 
security of the servers? If so, you should be ...
unsettled by the use of Tomcat 5.

>> 2. You even support Java 6? It's EOL.
> We regularly have clients asking for Java 6.

I personally think it's entirely reasonable to support Java 6 but you should 
encourage your customers to test with Java 7 and upgrade ASAP.
Again, there are potentially un-patched security vulnerabilities in there that 
will never be fixed.

>> 3. 128 MiB JVM memory? Memory is cheap these days.

> We start our plans with 128MB memory which is suitable for clients 
> requiring less memory on a tight budget but still requiring mission 
> critical hosting, we can scale that up to 2GB.

Don't feel like you have to defend yourself: we ran for several years in 
production with a 64MiB heap and did just fine. On the other hand, you might 
want to consider offering bigger heaps than 2GiB. These days with 64-bit JVMs, 
people are starting to expect insanely-large heaps in certain cases.

> FYI - our web team are updating the site right now to offer Tomcat 8.

You might want to point-out that Tomcat 8 hasn't been released and is currently 
in ALPHA status.

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.14 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJSXqODAAoJEBzwKT+lPKRYW58QAKNBszyA9jyXihsNxw3G228T
biY/GCfXrH+s2z6lXNL+LYUZhHpH+eLEzFD5q1Pe6o1nBHqRptY1ZtdJE87/nBfL
y0OutDA5CteqKlFNDHM6+XwGHCTnIwCfa/HNav3JXoLCaNvgGUlKw47RHuGgr7DC
K7I+dhd9Z98Qf4CWTXAkmryqh2ZYHnq0jPm03KiGPYAWpG1cYsrEINLnSo6iOlf9
JsDwqQtpMbVZ2Y0n0kngwoSSZBEtkHhVHYm4ZlmA0cltX3ABltUNFnKzUheRZe4B
Eoiy38kewxvtfZRYyNeGcGmKpA4w7WmicU1IxGG5V1DPh59V66ZsIYa7+fbQJWBE
M9efbG96/OUT0IEhFtHXKSdoNQNn/sneDwiU8r25C54/uuivfR4jbp2PlBt3GxMH
ing6SHHeeM1/a7+ymzss6wbJNp0DTdFKc/t+tj4jIO7BsDhY8Yzl4d2dw3OgDz7h
vncyQ2kwzUQ/1VyJ1uwRvpiEu1yyvWDP2Kwkf8u+/zAxFpALeUx1RynnMa19Ggdw
hLWKqNz5x6GSt4BvQVEuMvqglPNsHial2Y/XuuSU5MLCg7pPEYZFdKY3QZp4GPlR
rLdvcpm7jXP6OGF9VKNm6cI+6GomWVtyqbdVeln48CPi7PJBoiHDMSu4ATddE7bu
b3SI/vax+4L+vjlGB4Ml
=ShSd
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: overriden context root

2013-10-16 Thread vicky
Thanks Christopher,Chris,Andre for your inputs


vicky

From: Christopher Schultz 
To: Tomcat Users List  
Sent: Wednesday, 16 October 2013 7:55 PM
Subject: Re: overriden context root


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Vicky,

On 10/16/13 6:27 AM, vicky wrote:
> I have added below entry in server.xml  to override the context
> root of my application i.e from /dummy  to /market.

As others have said, don't do this. 


> The problem is now the application is accessible via both context 
> roots i.e via /dummy & /market context roots but I want the 
> application to be accessible only via overridden context root i.e
> via /market only.
> 
> Kindly suggest how to do it.

You want to do one of two things:

1. Just rename dummy.war to market.war. I don't know why so many
people resist the simplest possible way to do this.

2. Move dummy.war outside of Tomcat's auto-deployment directory (which
defaults to CATALINA_BASE/webapps/). Put your  element into
the file CATALINA_BASE/conf/[service]/[host]/market.xml and point
docBase to where you put your WAR file. If you are using the default
service name and "localhost" as your , then your context file
would be here: CATALINA_BASE/conf/Catalina/localhost/market.xml.

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.14 (Darwin)
Comment: GPGTools - http://gpgtools.org/
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJSXqHEAAoJEBzwKT+lPKRYILMP/R0jKGhSeX71dkQO9hY44Zl6
Wo+5LSOZo/Vz+9mInW/UyOU/eYnP9KEMAExHJYgDaf1I1mWcguo9PvY1tBG8R6u/
D+2RvmqznUJzcrKzt2MT46KEKRkMKgRK8lCDxdFs+9iBg0POPEw+8vBv5LZYoMKU
nbVGa2kdWrQB21o/Uyhl51BGINKCD/oifFbqQX4HWiDZFcBARDDt6GzrworgDIrQ
DtwMtday5RQtF7RkrXaTs6j73gq7jFQnqB9rSCxmazkBAaBAab9GtAuXaLtGn1MX
oG9ZhFB9jVYJ8Br2XeBpUeizMsTI/hb6LoEDmvg4Fu979SbgfSi2Z8acyggbIGeK
FaUzVzmCQlK/jRB4c8m1RL+DGHZwux3W2LTQj0BdIb6TgbcHRTjA4AUkoH8jSLBQ
CIFREVkrwRD79LmFkpqjGiHYYKUE8T8G+0JZ45XrwqI6cxO4fMUx2i7RDUzlaLsv
bhtfzad2dpJuRn12stVDvFWyEYGTQEFtz9Y1z+37pBaap2owojZSbxqjbeNvls2R
jo48QQ4IPRZCEyv476rdL3KxlSWBsud8m2oxgjJheCl3CFSu5909rfJGRoYOCrxG
eAeunF5wQ7gOW6bV/jVJEmdZXYRXml83UV9LWKa++zA/F7R73VN/+aB85F1pfS4M
guy19tHu3F+Ng3gy24ho
=iVZh
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org 

RE: Please kindly give my wiki user access to edit wiki page

2013-10-16 Thread Hyve Info
Hi Christopher,

Thanks very much although I just get "You are not allowed to edit this page." 
when trying to do anything.

Any ideas?

Best regards,
Jon Lucas

t: 0800 612 2524
e: sa...@hyve.com
w: www.hyve.com

Reg No. 04239352 | VAT Reg No. 798820566 | Registered as Hyve Ltd. in England 
and Wales
This e-mail (including any files or attachments transmitted with it) is 
confidential and intended solely for the use of the individual or entity to 
which it is addressed. It may contain confidential and/or privileged 
information and any review, retransmission, dissemination or other use of, or 
taking any action in reliance thereon, by persons or entities other than those 
for which it is intended is prohibited. If you receive this information in 
error please delete the material from any computer and contact the sender. All 
of our computers have virus-checking software but we are unable to guarantee 
the safety of any of our e-mails due to the constant release of new viruses. 
Therefore we cannot accept responsibility for any such viruses which may be 
inadvertently sent to you in any of our e-mails. All prices exclude VAT unless 
otherwise stated.
Please consider the environment before printing this email. Thank you.



-Original Message-
From: Christopher Schultz [mailto:ch...@christopherschultz.net] 
Sent: 16 October 2013 15:33
To: Tomcat Users List
Subject: Re: Please kindly give my wiki user access to edit wiki page

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Jon,

> Yes I have created an account, my user is "Jon Lucas" We are a hosting 
> company and have been hosting Tomcat applications in our data center 
> for clients globally since 2001. We live and breathe Tomcat.

I've added you to the contributors group. Don't break anything ;)

On 10/16/13 9:41 AM, Hyve Info wrote:
>> 1. You offer Tomcat 5 hosting. Seriously? It's EOL.
> We still have clients using 5 yes.

Yikes. You really need to encourage them to move up. Are you responsible for 
security of the servers? If so, you should be ...
unsettled by the use of Tomcat 5.

>> 2. You even support Java 6? It's EOL.
> We regularly have clients asking for Java 6.

I personally think it's entirely reasonable to support Java 6 but you should 
encourage your customers to test with Java 7 and upgrade ASAP.
Again, there are potentially un-patched security vulnerabilities in there that 
will never be fixed.

>> 3. 128 MiB JVM memory? Memory is cheap these days.

> We start our plans with 128MB memory which is suitable for clients 
> requiring less memory on a tight budget but still requiring mission 
> critical hosting, we can scale that up to 2GB.

Don't feel like you have to defend yourself: we ran for several years in 
production with a 64MiB heap and did just fine. On the other hand, you might 
want to consider offering bigger heaps than 2GiB. These days with 64-bit JVMs, 
people are starting to expect insanely-large heaps in certain cases.

> FYI - our web team are updating the site right now to offer Tomcat 8.

You might want to point-out that Tomcat 8 hasn't been released and is currently 
in ALPHA status.

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.14 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJSXqODAAoJEBzwKT+lPKRYW58QAKNBszyA9jyXihsNxw3G228T
biY/GCfXrH+s2z6lXNL+LYUZhHpH+eLEzFD5q1Pe6o1nBHqRptY1ZtdJE87/nBfL
y0OutDA5CteqKlFNDHM6+XwGHCTnIwCfa/HNav3JXoLCaNvgGUlKw47RHuGgr7DC
K7I+dhd9Z98Qf4CWTXAkmryqh2ZYHnq0jPm03KiGPYAWpG1cYsrEINLnSo6iOlf9
JsDwqQtpMbVZ2Y0n0kngwoSSZBEtkHhVHYm4ZlmA0cltX3ABltUNFnKzUheRZe4B
Eoiy38kewxvtfZRYyNeGcGmKpA4w7WmicU1IxGG5V1DPh59V66ZsIYa7+fbQJWBE
M9efbG96/OUT0IEhFtHXKSdoNQNn/sneDwiU8r25C54/uuivfR4jbp2PlBt3GxMH
ing6SHHeeM1/a7+ymzss6wbJNp0DTdFKc/t+tj4jIO7BsDhY8Yzl4d2dw3OgDz7h
vncyQ2kwzUQ/1VyJ1uwRvpiEu1yyvWDP2Kwkf8u+/zAxFpALeUx1RynnMa19Ggdw
hLWKqNz5x6GSt4BvQVEuMvqglPNsHial2Y/XuuSU5MLCg7pPEYZFdKY3QZp4GPlR
rLdvcpm7jXP6OGF9VKNm6cI+6GomWVtyqbdVeln48CPi7PJBoiHDMSu4ATddE7bu
b3SI/vax+4L+vjlGB4Ml
=ShSd
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Please kindly give my wiki user access to edit wiki page

2013-10-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Jon,

> Yes I have created an account, my user is "Jon Lucas" We are a
> hosting company and have been hosting Tomcat applications in our 
> data center for clients globally since 2001. We live and breathe
> Tomcat.

I've added you to the contributors group. Don't break anything ;)

On 10/16/13 9:41 AM, Hyve Info wrote:
>> 1. You offer Tomcat 5 hosting. Seriously? It's EOL.
> We still have clients using 5 yes.

Yikes. You really need to encourage them to move up. Are you
responsible for security of the servers? If so, you should be ...
unsettled by the use of Tomcat 5.

>> 2. You even support Java 6? It's EOL.
> We regularly have clients asking for Java 6.

I personally think it's entirely reasonable to support Java 6 but you
should encourage your customers to test with Java 7 and upgrade ASAP.
Again, there are potentially un-patched security vulnerabilities in
there that will never be fixed.

>> 3. 128 MiB JVM memory? Memory is cheap these days.

> We start our plans with 128MB memory which is suitable for clients
> requiring less memory on a tight budget but still requiring mission
> critical hosting, we can scale that up to 2GB.

Don't feel like you have to defend yourself: we ran for several years
in production with a 64MiB heap and did just fine. On the other hand,
you might want to consider offering bigger heaps than 2GiB. These days
with 64-bit JVMs, people are starting to expect insanely-large heaps
in certain cases.

> FYI - our web team are updating the site right now to offer Tomcat
> 8.

You might want to point-out that Tomcat 8 hasn't been released and is
currently in ALPHA status.

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.14 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJSXqODAAoJEBzwKT+lPKRYW58QAKNBszyA9jyXihsNxw3G228T
biY/GCfXrH+s2z6lXNL+LYUZhHpH+eLEzFD5q1Pe6o1nBHqRptY1ZtdJE87/nBfL
y0OutDA5CteqKlFNDHM6+XwGHCTnIwCfa/HNav3JXoLCaNvgGUlKw47RHuGgr7DC
K7I+dhd9Z98Qf4CWTXAkmryqh2ZYHnq0jPm03KiGPYAWpG1cYsrEINLnSo6iOlf9
JsDwqQtpMbVZ2Y0n0kngwoSSZBEtkHhVHYm4ZlmA0cltX3ABltUNFnKzUheRZe4B
Eoiy38kewxvtfZRYyNeGcGmKpA4w7WmicU1IxGG5V1DPh59V66ZsIYa7+fbQJWBE
M9efbG96/OUT0IEhFtHXKSdoNQNn/sneDwiU8r25C54/uuivfR4jbp2PlBt3GxMH
ing6SHHeeM1/a7+ymzss6wbJNp0DTdFKc/t+tj4jIO7BsDhY8Yzl4d2dw3OgDz7h
vncyQ2kwzUQ/1VyJ1uwRvpiEu1yyvWDP2Kwkf8u+/zAxFpALeUx1RynnMa19Ggdw
hLWKqNz5x6GSt4BvQVEuMvqglPNsHial2Y/XuuSU5MLCg7pPEYZFdKY3QZp4GPlR
rLdvcpm7jXP6OGF9VKNm6cI+6GomWVtyqbdVeln48CPi7PJBoiHDMSu4ATddE7bu
b3SI/vax+4L+vjlGB4Ml
=ShSd
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: overriden context root

2013-10-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Vicky,

On 10/16/13 6:27 AM, vicky wrote:
> I have added below entry in server.xml  to override the context
> root of my application i.e from /dummy  to /market.

As others have said, don't do this.

> The problem is now the application is accessible via both context 
> roots i.e via /dummy & /market context roots but I want the 
> application to be accessible only via overridden context root i.e
> via /market only.
> 
> Kindly suggest how to do it.

You want to do one of two things:

1. Just rename dummy.war to market.war. I don't know why so many
people resist the simplest possible way to do this.

2. Move dummy.war outside of Tomcat's auto-deployment directory (which
defaults to CATALINA_BASE/webapps/). Put your  element into
the file CATALINA_BASE/conf/[service]/[host]/market.xml and point
docBase to where you put your WAR file. If you are using the default
service name and "localhost" as your , then your context file
would be here: CATALINA_BASE/conf/Catalina/localhost/market.xml.

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.14 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJSXqHEAAoJEBzwKT+lPKRYILMP/R0jKGhSeX71dkQO9hY44Zl6
Wo+5LSOZo/Vz+9mInW/UyOU/eYnP9KEMAExHJYgDaf1I1mWcguo9PvY1tBG8R6u/
D+2RvmqznUJzcrKzt2MT46KEKRkMKgRK8lCDxdFs+9iBg0POPEw+8vBv5LZYoMKU
nbVGa2kdWrQB21o/Uyhl51BGINKCD/oifFbqQX4HWiDZFcBARDDt6GzrworgDIrQ
DtwMtday5RQtF7RkrXaTs6j73gq7jFQnqB9rSCxmazkBAaBAab9GtAuXaLtGn1MX
oG9ZhFB9jVYJ8Br2XeBpUeizMsTI/hb6LoEDmvg4Fu979SbgfSi2Z8acyggbIGeK
FaUzVzmCQlK/jRB4c8m1RL+DGHZwux3W2LTQj0BdIb6TgbcHRTjA4AUkoH8jSLBQ
CIFREVkrwRD79LmFkpqjGiHYYKUE8T8G+0JZ45XrwqI6cxO4fMUx2i7RDUzlaLsv
bhtfzad2dpJuRn12stVDvFWyEYGTQEFtz9Y1z+37pBaap2owojZSbxqjbeNvls2R
jo48QQ4IPRZCEyv476rdL3KxlSWBsud8m2oxgjJheCl3CFSu5909rfJGRoYOCrxG
eAeunF5wQ7gOW6bV/jVJEmdZXYRXml83UV9LWKa++zA/F7R73VN/+aB85F1pfS4M
guy19tHu3F+Ng3gy24ho
=iVZh
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: Please kindly give my wiki user access to edit wiki page

2013-10-16 Thread Hyve Info
Hi Michael,

Thanks for your feedback.

1. You offer Tomcat 5 hosting. Seriously? It's EOL.
We still have clients using 5 yes. 

2. You even support Java 6? It's EOL.
We regularly have clients asking for Java 6.

3. 128 MiB JVM memory? Memory is cheap these days.
We start our plans with 128MB memory which is suitable for clients requiring
less memory on a tight budget but still requiring mission critical hosting,
we can scale that up to 2GB.

FYI - our web team are updating the site right now to offer Tomcat 8.

Best regards,
Jon Lucas

t: 0800 612 2524
e: sa...@hyve.com
w: www.hyve.com

Reg No. 04239352 | VAT Reg No. 798820566 | Registered as Hyve Ltd. in
England and Wales
This e-mail (including any files or attachments transmitted with it) is
confidential and intended solely for the use of the individual or entity to
which it is addressed. It may contain confidential and/or privileged
information and any review, retransmission, dissemination or other use of,
or taking any action in reliance thereon, by persons or entities other than
those for which it is intended is prohibited. If you receive this
information in error please delete the material from any computer and
contact the sender. All of our computers have virus-checking software but we
are unable to guarantee the safety of any of our e-mails due to the constant
release of new viruses. Therefore we cannot accept responsibility for any
such viruses which may be inadvertently sent to you in any of our e-mails.
All prices exclude VAT unless otherwise stated.
Please consider the environment before printing this email. Thank you.



-Original Message-
From: Michael-O [mailto:1983-01...@gmx.net] 
Sent: 16 October 2013 14:00
To: Tomcat Users List
Subject: Re: Please kindly give my wiki user access to edit wiki page

Am 2013-10-16 14:11, schrieb Hyve Info:
> HI Daniel,
>
> Yes I have created an account, my user is "Jon Lucas"
> We are a hosting company and have been hosting Tomcat applications in 
> our data center for clients globally since 2001. We live and breathe
Tomcat.
>
> Here is our page:
> http://www.hyve.com/cloud-hosting/technologies/java-tomcat-hosting

Jon,

just checked your company page. Your services are outdated.

1. You offer Tomcat 5 hosting. Seriously? It's EOL.
2. You even support Java 6? It's EOL.
3. 128 MiB JVM memory? Memory is cheap these days.

Michael


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Please kindly give my wiki user access to edit wiki page

2013-10-16 Thread Michael-O

Am 2013-10-16 14:11, schrieb Hyve Info:

HI Daniel,

Yes I have created an account, my user is "Jon Lucas"
We are a hosting company and have been hosting Tomcat applications in our
data center for clients globally since 2001. We live and breathe Tomcat.

Here is our page:
http://www.hyve.com/cloud-hosting/technologies/java-tomcat-hosting


Jon,

just checked your company page. Your services are outdated.

1. You offer Tomcat 5 hosting. Seriously? It's EOL.
2. You even support Java 6? It's EOL.
3. 128 MiB JVM memory? Memory is cheap these days.

Michael


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Please kindly give my wiki user access to edit wiki page

2013-10-16 Thread Daniel Mikusa
On Oct 16, 2013, at 8:11 AM, Hyve Info  wrote:

> HI Daniel,
> 
> Yes I have created an account, my user is "Jon Lucas"
> We are a hosting company and have been hosting Tomcat applications in our
> data center for clients globally since 2001. We live and breathe Tomcat.
> 
> Here is our page:
> http://www.hyve.com/cloud-hosting/technologies/java-tomcat-hosting
> 
> Could you please kindly give my wiki user Jon Lucas access to edit this page
> so we can add our page to https://wiki.apache.org/tomcat/PoweredBy
> 
> I would be very grateful.

I'm not an admin so I can't do it, but I saw one of the admin's respond to your 
email yesterday and ask for your user name.  Hence why I asked you for it here.

I imagine one of the admins will get to it soon.  They are very good about this.

Dan

> 
> We are also in the process of creating a mirror. 
> 
> Thanks so much for your help!
> 
> Best regards,
> Jon Lucas
> 
> t: 0800 612 2524
> e: sa...@hyve.com
> w: www.hyve.com
> 
> Reg No. 04239352 | VAT Reg No. 798820566 | Registered as Hyve Ltd. in
> England and Wales
> This e-mail (including any files or attachments transmitted with it) is
> confidential and intended solely for the use of the individual or entity to
> which it is addressed. It may contain confidential and/or privileged
> information and any review, retransmission, dissemination or other use of,
> or taking any action in reliance thereon, by persons or entities other than
> those for which it is intended is prohibited. If you receive this
> information in error please delete the material from any computer and
> contact the sender. All of our computers have virus-checking software but we
> are unable to guarantee the safety of any of our e-mails due to the constant
> release of new viruses. Therefore we cannot accept responsibility for any
> such viruses which may be inadvertently sent to you in any of our e-mails.
> All prices exclude VAT unless otherwise stated.
> Please consider the environment before printing this email. Thank you.
> 
> 
> 
> -Original Message-
> From: Daniel Mikusa [mailto:dmik...@gopivotal.com] 
> Sent: 16 October 2013 12:57
> To: Tomcat Users List
> Subject: Re: Please kindly give my wiki user access to edit wiki page
> 
> On Oct 16, 2013, at 7:47 AM, Hyve Info  wrote:
> 
>> Hi Guys,
>> 
>> Who do I contact to get my user access to edit this page:
>> https://wiki.apache.org/tomcat/PoweredBy
> 
> You're in the right place.  Have you created a l/p for the wiki yet?
> 
>  https://wiki.apache.org/tomcat/FrontPage?action=newaccount
> 
> Dan
> 
>> 
>> Thanks!
>> 
>> Best regards,
>> Jon Lucas
>> 
>> t: 0800 612 2524
>> e: sa...@hyve.com
>> w: www.hyve.com
>> Reg No. 04239352 | VAT Reg No. 798820566 | Registered as Hyve Ltd. in 
>> England and Wales This e-mail (including any files or attachments
> transmitted with it) is confidential and intended solely for the use of the
> individual or entity to which it is addressed. It may contain confidential
> and/or privileged information and any review, retransmission, dissemination
> or other use of, or taking any action in reliance thereon, by persons or
> entities other than those for which it is intended is prohibited. If you
> receive this information in error please delete the material from any
> computer and contact the sender. All of our computers have virus-checking
> software but we are unable to guarantee the safety of any of our e-mails due
> to the constant release of new viruses. Therefore we cannot accept
> responsibility for any such viruses which may be inadvertently sent to you
> in any of our e-mails. All prices exclude VAT unless otherwise stated.
>> Please consider the environment before printing this email. Thank you.
>> 
>> 
>> Hi Guys,
>> 
>> We are a hosting company and have been hosting Tomcat applications in our
> data center for clients globally since 2001. We live and breath Tomcat.
>> 
>> http://www.hyve.com/cloud-hosting/technologies/java-tomcat-hosting
>> 
>> Could you please kindly give my wiki user Jon Lucas access to edit 
>> this page so we can add our page to
>> 
>> https://wiki.apache.org/tomcat/PoweredBy
>> 
>> I would be very grateful.
>> 
>> Thanks so much for your help!
>> 
>> Best regards,
>> Jon Lucas
>> 
>> t: 0800 612 2524
>> e: sa...@hyve.com
>> w: www.hyve.com
>> Reg No. 04239352 | VAT Reg No. 798820566 | Registered as Hyve Ltd. in 
>> England and Wales This e-mail (including any files or attachments
> transmitted with it) is confidential and intended solely for the use of the
> individual or entity to which it is addressed. It may contain confidential
> and/or privileged information and any review, retransmission, dissemination
> or other use of, or taking any action in reliance thereon, by persons or
> entities other than those for which it is intended is prohibited. If you
> receive this information in error please delete the material from any
> computer and contact the sender. All of our computers have virus-checking
> software but we a

RE: Please kindly give my wiki user access to edit wiki page

2013-10-16 Thread Hyve Info
HI Daniel,

Yes I have created an account, my user is "Jon Lucas"
We are a hosting company and have been hosting Tomcat applications in our
data center for clients globally since 2001. We live and breathe Tomcat.

Here is our page:
http://www.hyve.com/cloud-hosting/technologies/java-tomcat-hosting
  
Could you please kindly give my wiki user Jon Lucas access to edit this page
so we can add our page to https://wiki.apache.org/tomcat/PoweredBy
  
I would be very grateful.
  
We are also in the process of creating a mirror. 

Thanks so much for your help!

Best regards,
Jon Lucas

t: 0800 612 2524
e: sa...@hyve.com
w: www.hyve.com

Reg No. 04239352 | VAT Reg No. 798820566 | Registered as Hyve Ltd. in
England and Wales
This e-mail (including any files or attachments transmitted with it) is
confidential and intended solely for the use of the individual or entity to
which it is addressed. It may contain confidential and/or privileged
information and any review, retransmission, dissemination or other use of,
or taking any action in reliance thereon, by persons or entities other than
those for which it is intended is prohibited. If you receive this
information in error please delete the material from any computer and
contact the sender. All of our computers have virus-checking software but we
are unable to guarantee the safety of any of our e-mails due to the constant
release of new viruses. Therefore we cannot accept responsibility for any
such viruses which may be inadvertently sent to you in any of our e-mails.
All prices exclude VAT unless otherwise stated.
Please consider the environment before printing this email. Thank you.



-Original Message-
From: Daniel Mikusa [mailto:dmik...@gopivotal.com] 
Sent: 16 October 2013 12:57
To: Tomcat Users List
Subject: Re: Please kindly give my wiki user access to edit wiki page

On Oct 16, 2013, at 7:47 AM, Hyve Info  wrote:

> Hi Guys,
>  
> Who do I contact to get my user access to edit this page:
> https://wiki.apache.org/tomcat/PoweredBy

You're in the right place.  Have you created a l/p for the wiki yet?

  https://wiki.apache.org/tomcat/FrontPage?action=newaccount

Dan

>  
> Thanks!
>  
> Best regards,
> Jon Lucas
> 
> t: 0800 612 2524
> e: sa...@hyve.com
> w: www.hyve.com
> Reg No. 04239352 | VAT Reg No. 798820566 | Registered as Hyve Ltd. in 
> England and Wales This e-mail (including any files or attachments
transmitted with it) is confidential and intended solely for the use of the
individual or entity to which it is addressed. It may contain confidential
and/or privileged information and any review, retransmission, dissemination
or other use of, or taking any action in reliance thereon, by persons or
entities other than those for which it is intended is prohibited. If you
receive this information in error please delete the material from any
computer and contact the sender. All of our computers have virus-checking
software but we are unable to guarantee the safety of any of our e-mails due
to the constant release of new viruses. Therefore we cannot accept
responsibility for any such viruses which may be inadvertently sent to you
in any of our e-mails. All prices exclude VAT unless otherwise stated.
> Please consider the environment before printing this email. Thank you.
>  
>  
> Hi Guys,
>  
> We are a hosting company and have been hosting Tomcat applications in our
data center for clients globally since 2001. We live and breath Tomcat.
>  
> http://www.hyve.com/cloud-hosting/technologies/java-tomcat-hosting
>  
> Could you please kindly give my wiki user Jon Lucas access to edit 
> this page so we can add our page to
>  
> https://wiki.apache.org/tomcat/PoweredBy
>  
> I would be very grateful.
>  
> Thanks so much for your help!
>  
> Best regards,
> Jon Lucas
> 
> t: 0800 612 2524
> e: sa...@hyve.com
> w: www.hyve.com
> Reg No. 04239352 | VAT Reg No. 798820566 | Registered as Hyve Ltd. in 
> England and Wales This e-mail (including any files or attachments
transmitted with it) is confidential and intended solely for the use of the
individual or entity to which it is addressed. It may contain confidential
and/or privileged information and any review, retransmission, dissemination
or other use of, or taking any action in reliance thereon, by persons or
entities other than those for which it is intended is prohibited. If you
receive this information in error please delete the material from any
computer and contact the sender. All of our computers have virus-checking
software but we are unable to guarantee the safety of any of our e-mails due
to the constant release of new viruses. Therefore we cannot accept
responsibility for any such viruses which may be inadvertently sent to you
in any of our e-mails. All prices exclude VAT unless otherwise stated.
> Please consider the environment before printing this email. Thank you.
>  
>  


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.a

Re: Please kindly give my wiki user access to edit wiki page

2013-10-16 Thread Daniel Mikusa
On Oct 16, 2013, at 7:47 AM, Hyve Info  wrote:

> Hi Guys,
>  
> Who do I contact to get my user access to edit this page:
> https://wiki.apache.org/tomcat/PoweredBy

You're in the right place.  Have you created a l/p for the wiki yet?

  https://wiki.apache.org/tomcat/FrontPage?action=newaccount

Dan

>  
> Thanks!
>  
> Best regards,
> Jon Lucas
> 
> t: 0800 612 2524
> e: sa...@hyve.com
> w: www.hyve.com
> Reg No. 04239352 | VAT Reg No. 798820566 | Registered as Hyve Ltd. in England 
> and Wales
> This e-mail (including any files or attachments transmitted with it) is 
> confidential and intended solely for the use of the individual or entity to 
> which it is addressed. It may contain confidential and/or privileged 
> information and any review, retransmission, dissemination or other use of, or 
> taking any action in reliance thereon, by persons or entities other than 
> those for which it is intended is prohibited. If you receive this information 
> in error please delete the material from any computer and contact the sender. 
> All of our computers have virus-checking software but we are unable to 
> guarantee the safety of any of our e-mails due to the constant release of new 
> viruses. Therefore we cannot accept responsibility for any such viruses which 
> may be inadvertently sent to you in any of our e-mails. All prices exclude 
> VAT unless otherwise stated.
> Please consider the environment before printing this email. Thank you.
>  
>  
> Hi Guys,
>  
> We are a hosting company and have been hosting Tomcat applications in our 
> data center for clients globally since 2001. We live and breath Tomcat.
>  
> http://www.hyve.com/cloud-hosting/technologies/java-tomcat-hosting
>  
> Could you please kindly give my wiki user Jon Lucas access to edit this page 
> so we can add our page to
>  
> https://wiki.apache.org/tomcat/PoweredBy
>  
> I would be very grateful.
>  
> Thanks so much for your help!
>  
> Best regards,
> Jon Lucas
> 
> t: 0800 612 2524
> e: sa...@hyve.com
> w: www.hyve.com
> Reg No. 04239352 | VAT Reg No. 798820566 | Registered as Hyve Ltd. in England 
> and Wales
> This e-mail (including any files or attachments transmitted with it) is 
> confidential and intended solely for the use of the individual or entity to 
> which it is addressed. It may contain confidential and/or privileged 
> information and any review, retransmission, dissemination or other use of, or 
> taking any action in reliance thereon, by persons or entities other than 
> those for which it is intended is prohibited. If you receive this information 
> in error please delete the material from any computer and contact the sender. 
> All of our computers have virus-checking software but we are unable to 
> guarantee the safety of any of our e-mails due to the constant release of new 
> viruses. Therefore we cannot accept responsibility for any such viruses which 
> may be inadvertently sent to you in any of our e-mails. All prices exclude 
> VAT unless otherwise stated.
> Please consider the environment before printing this email. Thank you.
>  
>  


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Please kindly give my wiki user access to edit wiki page

2013-10-16 Thread Hyve Info
Hi Guys,

 

Who do I contact to get my user access to edit this page:

https://wiki.apache.org/tomcat/PoweredBy

 

Thanks!

 


Best regards,
Jon Lucas



  http://www.hyve.com/images/hyve_logo_email_sig.gif


t: 0800 612 2524
e:   sa...@hyve.com
w:   www.hyve.com


Reg No. 04239352 | VAT Reg No. 798820566 | Registered as Hyve Ltd. in
England and Wales


This e-mail (including any files or attachments transmitted with it) is
confidential and intended solely for the use of the individual or entity to
which it is addressed. It may contain confidential and/or privileged
information and any review, retransmission, dissemination or other use of,
or taking any action in reliance thereon, by persons or entities other than
those for which it is intended is prohibited. If you receive this
information in error please delete the material from any computer and
contact the sender. All of our computers have virus-checking software but we
are unable to guarantee the safety of any of our e-mails due to the constant
release of new viruses. Therefore we cannot accept responsibility for any
such viruses which may be inadvertently sent to you in any of our e-mails.
All prices exclude VAT unless otherwise stated.


Please consider the environment before printing this email. Thank you.

 

 

Hi Guys,

 

We are a hosting company and have been hosting Tomcat applications in our
data center for clients globally since 2001. We live and breath Tomcat.

 

http://www.hyve.com/cloud-hosting/technologies/java-tomcat-hosting

 

Could you please kindly give my wiki user Jon Lucas access to edit this page
so we can add our page to

 

https://wiki.apache.org/tomcat/PoweredBy

 

I would be very grateful.

 

Thanks so much for your help!

 


Best regards,
Jon Lucas



  http://www.hyve.com/images/hyve_logo_email_sig.gif


t: 0800 612 2524
e:   sa...@hyve.com
w:   www.hyve.com


Reg No. 04239352 | VAT Reg No. 798820566 | Registered as Hyve Ltd. in
England and Wales


This e-mail (including any files or attachments transmitted with it) is
confidential and intended solely for the use of the individual or entity to
which it is addressed. It may contain confidential and/or privileged
information and any review, retransmission, dissemination or other use of,
or taking any action in reliance thereon, by persons or entities other than
those for which it is intended is prohibited. If you receive this
information in error please delete the material from any computer and
contact the sender. All of our computers have virus-checking software but we
are unable to guarantee the safety of any of our e-mails due to the constant
release of new viruses. Therefore we cannot accept responsibility for any
such viruses which may be inadvertently sent to you in any of our e-mails.
All prices exclude VAT unless otherwise stated.


Please consider the environment before printing this email. Thank you.

 

 



Re: overriden context root

2013-10-16 Thread André Warnier

vicky wrote:

hi All,
I have added below entry in server.xml  to override the context root of my 
application i.e from /dummy  to /market.
 
The problem is now the application is accessible via both context roots i.e via /dummy & /market context roots but I want the application to be accessible only via overridden context root i.e via /market only.
 
Kindly suggest how to do it.





Vicky,

I think that you are going to be submitted to quite a number of rebuffs.

1. You should specify at least the Tomcat version which you are using : x.y.z

2. You should indicate where this  element is located

3. You should really read : 
http://tomcat.apache.org/tomcat-7.0-doc/config/context.html#Introduction


and in particular :
- that  elements inside of server.xml are discouraged
- that outside of server.xml, the "path" attribute is invalid in  
elements

and to make it short, why do you not just rename "dummy.war" to "market.war" ?


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: overriden context root

2013-10-16 Thread chris derham
> hi All,
> I have added below entry in server.xml  to override the context root of my 
> application i.e from /dummy  to /market.

You can add entries to server.xml, but people on this forum generally
advise against it. Please remove that

> The problem is now the application is accessible via both context roots i.e 
> via /dummy & /market context roots but I want the application to be 
> accessible only via overridden context root i.e via /market only.

Tomcat auto deploys war files in webapps. If you do not want this, do
not place the war file there. In similar situations I create a
directory notWebapps at the same level, and place the war file there.
Then point your context.xml file at it and you will have what you
require.

Chris

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



overriden context root

2013-10-16 Thread vicky
hi All,
I have added below entry in server.xml  to override the context root of my 
application i.e from /dummy  to /market.
 
The problem is now the application is accessible via both context roots i.e via 
/dummy & /market context roots but I want the application to be accessible only 
via overridden context root i.e via /market only.
 
Kindly suggest how to do it.


thanks
Vicky