I tryed today current release TC5 and seen errors:

1. I have the following lines which run under 4.1.29
but not in TC5 ("locale" exists in the HttpSession !)

<jsp:useBean id="locale" scope="session"
class="java.util.Locale" />
<fmt:setLocale value="<%= locale %>" />

I got

[javac] symbol  : constructor Locale ()
    [javac] location: class java.util.Locale
    [javac]           locale = new java.util.Locale();
    [javac]                    ^
    [javac] 1 error

Then I removed these lines to let TC5 compile JSP and
print the "locale" - I see "en_US"

<% System.out.println("... jsp=" +
request.getSession().getAttribute("locale")); %>


2. TC5 doesn't know (?) about some Java Enterprise
APIs. I got the following error in TC5 at run-time,
after succesfull compilation

java.lang.NoClassDefFoundError:
javax/mail/internet/AddressException

If I add j2ee.jar to classpath in catalina.sh

CLASSPATH="$CLASSPATH":/usr/java/lib/j2ee.jar

I got another error when starting Tomcat

java.lang.NoSuchMethodException:
org.apache.catalina.startup.Catalina.stopServer()
        at java.lang.Class.getMethod(Class.java:978)
        at
org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:320)
        at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:400)

This application runs well under tomcat 4.1.29
Any comments?

Evgeny /Javadesk/

--- David Wall <[EMAIL PROTECTED]> wrote:
> > We run Tomcat on 8080 using Cisco Routers for port
> redirection.
> > Nobody has to type in a port number.
> 
> Well, I agree that would work for everyone who just
> buys some hardware to
> give the illusion of using port 80.  Of course,
> running tomcat on port 80
> itself would be nice if anybody knows if/whether
> JSVC can mimick the
> "-security" argument of catalina.sh.
> 
> And the best part is that we're happy to know that
> some more heavily used
> production sites are using TC 5, which was the
> original question and
> interest!
> 
> David
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 


__________________________________
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html

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

Reply via email to