Re: Issue with the "admin" webapp

2005-09-12 Thread Toby Vidler

Hi All,

I am also experiencing issues with this and am wondering if what is 
happening is intended behaviour or not.  Have replicated this using 
Tomcat 5.5.7 and 5.5.9 on Windows.  When I use the Tomcat Admin webapp 
the server.xml is overwritten without any of our customised preexisting 
(manually configured) settings.  Indeed, when I use the admin app to 
configure settings in the server.xml these changes are applied OK but 
then seem to be lost on a Tomcat restart anyway!  Surely I'm doing 
*something* wrong!  Any help here would be great. There doesn't seem to 
be much documentation around for this Admin app so any pointers in this 
regard would be helpful as well.


Regards,
Toby

Sastry Malladi wrote:


Hi,
I've noticed that when I use the "admin" web app (the default one that 
comes with
tomcat distribution) and click on "commit changes",  the SSL connector 
entry
in server.xml seems to get corrupted. As a result, tomcat can not be 
restarted. This happens
whether or not I actually change any parameters through the admin 
page, before I click

on "commit changes".

For example, there are extra duplicate attributes on the SSL connector 
entry :

  secure="true" keystore=".." protocol="TLS"

If I remove the duplicate attributes manually, and then restart, it 
works ok.


Has anyone else noticed this ? Is this a known issue ? I'm using 
tomcat 5.0.28


Thanks,
Sastry


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Too many jars

2004-11-23 Thread Toby Vidler
The issue I am describing below is not one of the jar's being in an 
incorrect location. They are located in the WEB-INF/lib directory as 
recommended and the application runs fine once the JSPs are compiled. 
The problem is the javac command which runs in a separate JVM to Tomcat 
(fork=true) is not running as it should. It is failing as the classpath 
for this command is too long.

It appears that I've answered my own question though. Just set fork to 
false and this problem is overcome. I probably could have thought of 
that about 8 hours ago...

Thanks anyway.
Carl Olivier wrote:
Place your JARs in the WEB-INF/lib directory of your web app - or if they
are shared in the /common/lib (5.x) location of Tomat.
These locations are scanned and used automagically by Tomcat when doing
classloading.
You may want to check out the tomcat architecture descriptions for the
version of Tomcat you are using , for 5.0.x:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/class-loader-howto.html
Carl
-Original Message-----
From: Toby Vidler [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 24, 2004 8:23 AM
To: Tomcat Users List
Subject: Too many jars

Hi All,
I'm sure this must be a reasonably common scenario but havn't been unable to
find a suitable solution as yet:
For my application I utilise many jar files from the rich and varied open
source apps that are out there.  After deploying the webapp I am now getting
a Jasper compilation error when viewing the JSPs for the first time:
org.apache.jasper.JasperException: Unable to compile class for JSP
This is apparently due to the fact that classpath parameter is too long for
the Windows allowed command line length when the javac command is called.
This can be fixed by shortening the names of the jars or moving
CATALINA_HOME to be in a less verbose directory location (eg not ..\Program
Files\Apache Group\Tomcat.. etc).
Does anyone have a better solution for this?
Thanks,
Toby
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 

--
<http://www.eb2-international.com>    
    
Toby Vidler — Solutions Engineer
*EB2 International Limited (London & Sydney)
* Grd Floor, 99 Stanley Street,
Darlinghurst, NSW 2010
Australia
(ABN 27 095 125 045)
Tel:+61 (2) 8353 9101
Fax:+61 (2) 9380 9386
Mob:+61 (0) 405 241 842
www.EB2-International.com <http://www.EB2-International.com>
IMPORTANT: This electronic mail message and its attachments (if any) are 
confidential and may be legally privileged. If you are not the intended 
recipient, you may not legally copy, disclose or use the contents in any 
way and you should contact us immediately and destroy this message and 
any attachments.

This email is not guaranteed to be error-free, virus-free, or intact. 
The sender does not accept any liability for the effects the reception, 
or non-reception, of this email have on their systems or business. This 
email is not guaranteed to arrive in a timely manner.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Too many jars

2004-11-23 Thread Toby Vidler
Hi All,
I'm sure this must be a reasonably common scenario but havn't been 
unable to find a suitable solution as yet:

For my application I utilise many jar files from the rich and varied 
open source apps that are out there.  After deploying the webapp I am 
now getting a Jasper compilation error when viewing the JSPs for the 
first time:

org.apache.jasper.JasperException: Unable to compile class for JSP
This is apparently due to the fact that classpath parameter is too long 
for the Windows allowed command line length when the javac command is 
called.  This can be fixed by shortening the names of the jars or moving 
CATALINA_HOME to be in a less verbose directory location (eg not 
..\Program Files\Apache Group\Tomcat.. etc).

Does anyone have a better solution for this?
Thanks,
Toby
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: is it possible to go to https and return to http?

2004-11-03 Thread Toby Vidler
Acácio Furtado Costa wrote:
We need to use https  for authentication and in 1 or to 2 url´s in our application.

In other case we prefer to stay in http mode . To do this we need to redirect the connection to https and return to http . 


How can we do this?
 

Check out sslext [ http://sslext.sourceforge.net ]. This is your best bet.
-Toby
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]