Re: Charset configurations for JSP pages

2005-09-29 Thread Mieke Banderas
Mark Thomas said:

>Read the spec.

Where in the spec?


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



List Nanny

2005-05-18 Thread Mieke Banderas
Matt Galvin said:

>On 5/17/05, Guy Katz <[EMAIL PROTECTED]> wrote:
>> am i the only one getting this annoying spam from the tomcat lisy?
>
>No, I have gotten like 100 of them, it's getting really annoying.


What is the adress of the list nanny? I can't seem to find it. Such a
problem like we currently experience should have been blocked serverside
days ago.



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



Re: Illegal IMail List Server Command! SPAM?

2005-05-17 Thread Mieke Banderas
Lutz Zetzsche said:

>I set up a pop filter for these mails. Works fine. :-)

I unsubbed the sender. I'm not sure if it works without a reply, but
maybe he'll get it now.

I'm sure the behaviour must be a violation of military standards.



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



first request gives "not available"

2005-05-13 Thread Mieke Banderas
I'm not sure if this is a Java/Tomcat problem or an OS problem, but maybe
you guys have any idea how to address the problem.

I have "pmset -g live" showing for my server
Currently in use:
 sleep  0
 autorestart1
 spindown   0
 dim30

So my Beige G3 with Mac OS X Server 10.2.6 never sleeps and don't spin
down, yet the first request of the day to the server quite often renders
a "not available" response. After that any connection will work.
Does this ring a bell? Could it be a Tomcat problem somehow. How can I
verify the Tomcat processes aren't sleeping or that it is a router or
other problem?
The Tomcat 3 that came with the OS, ran as  standalone, is my current
webserver. I'll probably upgrade to 5.x when I have my first Webwork made
site ready, but except for this small problem it does the job well for
now. I don't want to rock the boat too much.

Any suggestions how to troubleshoot this type of problem?




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



Re: class path (UNCLASSIFIED)

2005-04-13 Thread Mieke Banderas
Hassan Schroeder said:

>2) Don't put servlet.jar and j2ee.jar in the same classpath, as
>you'll have duplicated classes...

Excuse a stupid question, but how do you use both libraries at once then?
2 JVMs? separation between Tomcat and the J2EE framework? Or can one use
2 classpaths in the same JVM somehow? 
I haven't made it to this level yet, so bear with me.




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



Re: JVM's perm size always increase after hot deploy to tomcat 5.0.28

2005-04-10 Thread Mieke Banderas
[EMAIL PROTECTED] said:

>I'm afraid the subject of this post caused it to go to my spam box, :->
Was that before or after you moved that "s"? 


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



Re: Default password

2005-03-18 Thread Mieke Banderas
Trond G. Ziarkowski said:

>there is no default login/passwd. You have to edit 
>$CATALINA_HOME/conf/tomcat-users.xml and add:
>
>
>

As I had the same problem with Tomcat 4: Is this little item somewhere to
be found in the downloaded material with Tomcat 5? With TC4, it seemed
well hidden. 



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



Re: Problems loading external stylesheet in Tomcat

2005-03-01 Thread Mieke Banderas
haim said:

>I had something similar and it was because I placed the link element 
>outside of the head element in my a JSP file that was included as an header.
>Check it out , haim .

Thanks for the suggestion, but no, I don't have any errors of that type. 

One of my sites use this linking technique:
 

 

But, neither that nor the other way: (with or
without an ending "/")
work the very first load of the day (or something like that). After that
firslt load it will work on in any browser on any machine. The only thing
that got me wanting to solve it was that if one site didn't display the
stylesheets, then no other site did the same. I have a feeling this is
some kind of cache problem, but I have tried to delete the cache. I'll
report back if I find out what is causing the trouble, but it's hard to
determine as it appears randomly.



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



Problems loading external stylesheet in Tomcat

2005-02-28 Thread Mieke Banderas
Anyone seen that the first hit of the day on a Tomcat website, doesn't
load the external stylesheets? Reloading the page loads the stylesheets
also. Can I enforce external stylesheets must be sent with the page
somehow? I only seen this is in Safari so far, but it looks like a server
problem, I'll put a log on there to see if it's true, but if you
recognize this problem, please share your experience.




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



Re: Startup

2005-02-28 Thread Mieke Banderas
Caldarale, Charles R said:

>5.5.7 is also noticeably faster than 5.0.30, even on the 1.4.2 JRE.

And how much faster is Tomcat 5.5.7 compared to old Tomcat 3.2/3.3?


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



Adding -Dfile.encoding=ISO-8859-1 to where in tomcat.sh?

2005-02-23 Thread Mieke Banderas

Where exactly in the start process can I add "-Dfile.encoding=ISO-8859-1"
to ensure this is the base encoding of Tomcat:

Quote from tomcat.sh (invoked with "start" from startup.sh):

if [ "$1" = "start" ] ; then 
  shift 
  echo Using classpath: ${CLASSPATH}
  if [ "$1" = "-security" ] ; then
shift
echo Starting with a SecurityManager
$JAVACMD $TOMCAT_OPTS -Djava.security.manager -
Djava.security.policy==${TOMCAT_HOME}/conf/tomcat.policy -
Dtomcat.home=${TOMCAT_HOME}  org.apache.tomcat.startup.Tomcat "$@" &
  else
  $JAVACMD $TOMCAT_OPTS -Dtomcat.home=${TOMCAT_HOME} 
org.apache.tomcat.startup.Tomcat "$@" &
  fi
#   $JAVACMD org.apache.tomcat.shell.Startup "$@" &



($JAVACMD= $JAVA_HOME/bin/java and $TOMCAT_OPTS seem to be "")

I tried adding my line at several positions in the "else" part, but get
errors like "XmlMapper: Can't find resource for entity:..". Isn't
there anyone that can give advice on the subject? I use Tomcat 3.2.4
(Yes, I know this is old, but it's what I'm stuck with for now).



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



Re: Pagecache framework?

2005-02-22 Thread Mieke Banderas
Mike Fuellbrandt said:

>How about this?
>
>http://www.servlets.com/cos/javadoc/com/oreilly/servlet/CacheHttpServlet.html

Thanks Mike, I'll check it out.


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



CSS mime-type vs Netscape 7 and Firefox 1

2005-02-05 Thread Mieke Banderas
I have added the mime-type for css in Tomcat 3s conf/web.xml file  as so:

css
text/css
 

using the same format as the rest of the file and as TOmcat 4. Yet the
server serves the linked css files as text/plain. Why? What can I do
about this. 
The page only breaks in Netscape 7 (6 also I presume) and Firefox, but FF
is a target broswer for my project.




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



Adding "-Dfile.encoding=ISO-8859-1" to Tomcat 3 startup

2005-02-03 Thread Mieke Banderas
Can I use "-Dfile.encoding=ISO-8859-1" somewhere to make sure Tomcat 3
encode email messages sent with a bean and mail.jar in ISO-8859-1 format
when appropriate?
I though it defaulted to that, but I get Macroman when sent from a Mac
and 1252 when sent from a PC.




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



Enforce ISO-8859-1

2005-02-01 Thread Mieke Banderas
I have a form on a HTML page with the meta attribute 'content="text/html;
charset=iso-8859-1" ' and also the attribute 'accept-charset="ISO-8859-1"
' in the form tag. Yet I get Mac-Roman in the resulting email that I
utilize with Suns mail.jar via a bean. What can I do at the servercode or
in the  browser to enforce ISO-8859-1? 
Is there a setting in Tomcat I have missed?

Problem, is that besides the form page itself I see no obvious places to
affect the encoding, so any suggestions for where to look would be helpful.




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



Re: Pagecache framework?

2005-01-11 Thread Mieke Banderas
QM said:

>For the former, there are ways to make the Apache httpd a content
>caching engine.  This works well if the content you'd like cached is
>global -- that is, not tied to a specific user or group login.  (You
>could also use webDAV for this._

If there is no performance penalty on my slow G3 hardware, as I'd need to
use mod_jk and Apache as opposed to just Tomcat, then cached HTML pages
(ending in .jsp probably) is what I want.

What solutions involving Tomcat only is there?


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



Pagecache framework?

2005-01-09 Thread Mieke Banderas
What should I look for if I want a simplistic system for avoiding trips
to the DB for pages that are only built upon and between changes are 100%
similar? Is there a cache framework I should look into or could I use
something even simpler? After all, most pages only occasionally have true
dynamic needs. I suppose I'm looking for something like a publishing
system, only much much simpler, especially on how much resources (and
coding) it would need.

It would be nice if it would easily integrate with Tomcat 3, 4 or 5 (any
version will do for now, but I'm currently using 3.2.4 on Mac OS X Server
10.2.6), Apache 1.3 and later the WebWork 1 or 2 frameworks. But
basically I'm just looking for starting points for research. 

I know I can separate to have Apache serve static pages not ending with
.jsp, but if my structure and links points to .jsp files, then I need
some kind of mechanism to check whether the cache can be used instead of
building the page a new.




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



issues using Tomcat 3.2.4 with JavaVM jdk 1.4.1?

2005-01-06 Thread Mieke Banderas
Are there any issues I should know about using Tomcat 3.2.4 with JavaVM
jdk 1.4.1? I'm looking for general known info/bugs . I'm deploying on Mac
OS X Server 10.2.6 and the bundled Tomcat 3.2.4 distribution.

Database is MySQL 3, which may change and Web server is Apache 1.3.




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



Tomcat 3.2.4 problem under Mac OS X SERVER 10.2.6

2005-01-02 Thread Mieke Banderas
When I try and run the originally installed Tomcat 3.2.4 that came with
Mac OS X Server 10.2 nothing happens. If I try and use the startup
script, which I think on this system is not enough, I get this message
during upstart.

Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/
commons/discovery/tools/DiscoverSingleton

Any ideas were to start an debug this installation or how to get back to
the original installation wihtout reinstalling the complete OS? I have
removed the Tomcat folder once for making room for Tomcat 4, but I moved
it back and repaired permissions. This clearly was not enough. Any ideas
for troubleshooting this are welcome.

Here is the full startup result:


[machine:/Library/Tomcat/bin] root# ./startup.sh
Guessing TOMCAT_HOME from tomcat.sh to ./..
Setting TOMCAT_HOME to ./..
Using classpath: /Library/Tomcat/lib/xercesImpl.jar:/Library/Tomcat/lib/
xmlParserAPIs.jar:./../lib/ant.jar:./../lib/axis.jar:./../lib/commons-
logging.jar:./../lib/jasper.jar:./../lib/jaxp.jar:./../lib/jaxrpc.jar:./
../lib/log4j-core.jar:./../lib/parser.jar:./../lib/saaj.jar:./../lib/
servlet.jar:./../lib/test:./../lib/tt-bytecode.jar:./../lib/
webserver.jar:./../lib/xercesImpl.jar:./../lib/xmlParserAPIs.jar
[tankekraft:/Library/Tomcat/bin] root# 2005-01-03 06:19:02 -
ContextManager: Adding context Ctx( /examples )
2005-01-03 06:19:02 - ContextManager: Adding context Ctx( /admin )
Starting tomcat. Check logs/tomcat.log for error messages 
2005-01-03 06:19:02 - ContextManager: Adding context Ctx( /axis )
2005-01-03 06:19:02 - ContextManager: Adding context Ctx(  )
2005-01-03 06:19:02 - ContextManager: Adding context Ctx( /test )
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/
commons/discovery/tools/DiscoverSingleton
at org.apache.axis.components
.logger.LogFactory$1.run(LogFactory.java:84)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.axis.components
.logger.LogFactory.getLogFactory(LogFactory.java:80)
at org.apache.axis.components
.logger.LogFactory.(LogFactory.java:72)
at org.apache.axis.transport.
http.AxisServlet.(AxisServlet.java:101)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:140)
at org.apache.axis.transport.
http.AxisServletBase.class$(AxisServletBase.java:87)
at org.apache.axis.transport.
http.AxisServletBase.(AxisServletBase.java:94)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at sun.reflect.NativeConstruc
torAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingCons
tructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at java.lang.Class.newInstance0(Class.java:306)
at java.lang.Class.newInstance(Class.java:259)
at org.apache.tomcat.core.Ser
vletWrapper.loadServlet(ServletWrapper.java:268)
at org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:289)
at org.apache.tomcat.context.
LoadOnStartupInterceptor.contextInit(LoadOnStartupInterceptor.java:130)
at org.apache.tomcat.core.Con
textManager.initContext(ContextManager.java:491)
at org.apache.tomcat.core.ContextManager.init(ContextManager.java:453)
at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:195)
at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:240)
 



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



Re: Problems With Configuring IP

2004-12-10 Thread Mieke Banderas
Shapira, Yoav said:

>(What's not fine is using Tomcat v4.1.3 -- bad and ancient version, and
>you should upgrade when you get a chance).

Why is this a bad version? What bugs are not possible to live with? What
about Tomcat 3.2.1? 
Isn't it enough (in both cases) that one also keeps third party and
homemade libraries at the latest compatible version? 


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



Error invoking operation removeHost

2004-12-07 Thread Mieke Banderas
What can cause "Error invoking operation removeHost" when using the
Tomcat 4 admin webapp? I edited the server.xml file in the end, but I'm
still curious to know why this action could have failed.




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



simplest way to cache jsp pages into built "static" files?

2004-12-07 Thread Mieke Banderas
What's the simplest way of caching jsp-generated pages, built by Tomcat
4, so that Apache 2 serves most of these (except a few) as static (but
rebuildable) pages even as the address ends in ".jsp"? The exception
being when the dynamic portion of a page needs to be built just right
after the page is requested. A typical Blogpage could work better with
this scenario, I suppose many Blogs work like that.

What technologies and/or methods would be a good idea to look at? 
I don't want to spend money for licenses at this stage as there is none
or at least close to that. Also, it should be as simple and non
demanding, concerning setup and hardware, as can be without compromising
basic functionality.

If you know a good article, online resource or book on the subject or if
you otherwise can advice, I'd be very interested to know. Deployment will
probably be on Mac OS X Server 10.2.6 and Apache 2.0.48 with Tomcat 4.1.24.




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



Re: CompleteTomcat-4.1.24: Tomcat Admin 'Invalid Direct Reference' error

2004-12-06 Thread Mieke Banderas
Mieke Banderas said:

>
>Just as Matthew Smith 19 months ago I have a similar problem with
>'Invalid Direct Reference' error when I try to use the admin app with
>Tomcat-4.1.24, installed from ServerLogistics CompleteTomcat-4.1.24
>distribution for Mac OS X. This is when I go directly via Tomcat and the
>8080 port. 

I found the solution at <http://forums.serverlogistics.com/viewtopic.php?
t=764> (from brynley):

which is to change tomcat-users-xml to:



  
  
  
  
  
  
  


Any advice for matching realms with virtual hosts in Apache is very welcome.


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



CompleteTomcat-4.1.24: Tomcat Admin 'Invalid Direct Reference' error

2004-12-06 Thread Mieke Banderas

Just as Matthew Smith 19 months ago I have a similar problem with
'Invalid Direct Reference' error when I try to use the admin app with
Tomcat-4.1.24, installed from ServerLogistics CompleteTomcat-4.1.24
distribution for Mac OS X. This is when I go directly via Tomcat and the
8080 port. Apache doesn't seem to be involved.
It seems clear that here is a "tomcat" user with pw "tomcat" already, but
it is surprising that the documentation doesn't tell how to set up Tomcat
to use the admin pages. Is this a typical problem for all platforms or is
it a OS X specific problem?

Have you people got any suggestions on where to look for info on just how
to get past this problem and get on with configuration or do you think
I'll be better off learning how to tweak the files themselves. If so, I
need an online guide for configuration of files for cooperation with
Apache 2 and matching its virtual hosts. I've been googling and found a
lot, but not this part.

I'd post this to the ServerLogistics lists at google but some server side
error prevented me from registering. Please help if you have the info. I
need to put up my servlets and pages ASAP.





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