- What is the compiler complaining about ?
BTW: It's not legal to cast a String[] to an ArrayList.
This should at least produce a runtime error.
You have to explicitly convert the String[] to an ArrayList.
ArrayList importList = new ArrayList(Arrays.asList(request.getAttribute(importList));
K, seems I can't. Anyway, here is a link, hope it is available from
outside the firewall ...
http://kanagawa.up.ac.za/~s21191493/tuksmanager.tgz
On Wed, 17 Sep 2003, Jaco Kroon wrote:
I hope I can use attachments.
Ok, first off, there are a few issues with this, as I've said, it's quick
Build JK2 now on solaris 9. Placed mod_jk2.so in the Apache module dir.
Also added:
LoadModule jk2_module modules/mod_jk2.so
at the end of my httpd.conf file. Stop and start apache and try to open
http://10.99.1.115/examples Nothing!! http://10.99.1.115 is giving me the
basic apache site
In your workers.properties under Apache conf put the following line:
[shm]
file=path-to-a-writeable-log-file-usually-under-apache-logs
size=1048576
Restart Tomcat, wait 10 seconds and then restart Apache.
If this does not work, then create the file as specified under the path and
touch it. Try
YES
- Original Message -
From: Peter Lin [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, September 17, 2003 5:17 AM
Subject: article on tomcat performance
It looks like the tomcat performance book probably won't happen, so I am
writing a short article
Hi Anton,
Thats exactly what I am doing. I have even tried
Reader reader = r.getCharacterStream(field_name);
and then printing out the the char values of the stream same result
Its the most bizarre thing i have seen.
...and driving me insane! :(
Thanks for you help
Hans
-Original
mod_jk2 is a rework/reimplementation of mod_jk and is expected to work
with Apache 2 and tomcat 4. there are some good tutorials and howtos, for
linking apache and tomcat together, around.
We used this : http://cnr.berkeley.edu/~salazar/apache_tomcat.html
Mike
-Ursprüngliche Nachricht-
Hi
I am using tomcat4.0.6 as a standalone server for my servlet -applet based
application.The server initially listens at port 8443(SSL) and after the request, the
servlet throws a jar file and opens up port 4004 for applet-servlet communication.
However, when this port is openend,
Try finding a rogue System.exit call :).
On Tue, 16 Sep 2003, Paridhi Bansal wrote:
Hi
I am using tomcat4.0.6 as a standalone server for my servlet -applet based
application.The server initially listens at port 8443(SSL) and after the request,
the servlet throws a jar file and opens
After some investigation I'll try to refrase and improve my problem
description:
My Goal: including a hebrew html inside a jsp page.
The Problem: hebrew is viewed by browser as question marks (no matter
charset).
Some details from my investigation:
When I request the hebrew html directly
Hi All,
When my servlets are sending some stack trace or System.out messages ,
all such output is dumped in the catalina.out log.
We want the System.out messages to go into our application's log file.
I am using standalone catalina on Solaris and tomcat 4.1.24.
Please suggest on how to proceed to
Hi people,
I want to know, what is the best way to scan the option chosen each
time the user selects an option from the drop down menu. Like..most of
the pages I surfed to, they only showed how to make a drop down box..and
then see what the option was chosen ONLY when the button is pressed.
do not use System.out simply make a write to a file routine and write to a
file :-)
Johan.
- Original Message -
From: Sarika N Inamdar [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, September 17, 2003 12:17 PM
Subject: Redirecting the output to a log file
Hi All,
When my
Hi,
But the servlet System.out code used to log messages to our application
log when using tomcat 3.
With migration to 4.1.24, we are facing this issue.
Thanks,
Sarika
-Original Message-
From: Johan Louwers [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 17, 2003 3:59 PM
To:
Use javascipt. There are several examples of this on the net.
You cannot use Tomcat/JSP as the users selection is not known by Tomcat
before the request is submitted.
/Thomas
Anson Zeall [EMAIL PROTECTED]
17-09-03 12:30
Besvar venligst til Tomcat Users List
Til:Tomcat Users
Anson,
You will have to write client JavaScript to do this.
OTTOMH, attach a function to the onChange event of your SELECT tag. The
object representing the tag will probably be accessible as
document.all.yourTagId,
or possibly something else, depending on the browser object model. This
I suggest setting the file.encoding system property.
export CATALINA_OPTS=-Dfile.encoding=utf-8
Then restart tomcat.
I once had a similar problem with German umlaute characters and this seemed
to fix it.
Andy
-Original Message-
From: Yair Zohar [mailto:[EMAIL PROTECTED]
Sent: 17
Add a logger to your context and the following attribute :
swallowOutput=true
Your system.out will be redirected to the logger you defined for your context.
Example :
Context path= docBase=/home/adeuza debug=0
reloadable=true crossContext=true swallowOutput=true
Short term: try using swallowOutput=true. [Never used it myself]
Long term: Switch to commons-logging or log4j.
-Tim
Sarika N Inamdar wrote:
Hi,
But the servlet System.out code used to log messages to our application
log when using tomcat 3.
With migration to 4.1.24, we are facing this
Not with JSP. Only with javascript.
(Which isn't covered in this list :} )
-Original Message-
From: Anson Zeall [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 17, 2003 12:31 PM
To: Tomcat Users List
Subject: Using drop down boxes in JSP
I want to know, what is the best way
There is a log function which gets inherited from somewhere, but anyway,
it should be there if you subclasses HttpServlet.
The javadocs might just be usefull for the servlet specs :).
On Wed, 17 Sep 2003, Sarika N Inamdar wrote:
Hi All,
When my servlets are sending some stack trace or
Hi,
Thanks for the reply. But, hmm.i was thinking of using
onChange...and thenprocess the parameter via servlet?
Anson
-Original Message-
From: Walker Chris [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 17, 2003 8:45 PM
To: 'Tomcat Users List'
Subject: RE: Using drop
OR maybecan I use it to call a javascript method to call up a
servlet? Does that work?
Anson
-Original Message-
From: Anson Zeall [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 17, 2003 8:54 PM
To: 'Tomcat Users List'
Subject: RE: Using drop down boxes in JSP
Hi,
Thanks
http://jakarta.apache.org/tomcat/faq/connectors.html#vs
-Tim
Vaga Bond wrote:
Hey Guys,
I've recently setup Apache2 and Tomcat 5 separately
and was wondering if mod_jk or mod_jk2 can be used to link the two of
them. Secondly, what's the difference between mod_jk and mod_jk2?
Hi
I found out that we run our tomcat as user root, and in
plain jsp I'm able to trash /etc/passwd :-)
what is the advised setup for a tomcat server that
is shared by several users (contexts) and runs
some virtual domains ?
thanks,
*pike
==
Aoccdrnig to rscheearch at Cmabrigde Uinervtisy,
I think this could be done, but without knowing your application I think
this design has its drawbacks. Say a user wants to select foo placed as
no. 42 in your drop down box. Would you then call the servlet 41 times
before making the correct request?
/Thomas
Anson Zeall [EMAIL PROTECTED]
Run it as a normal user, problem being, I haven't managed to figure out
how to bind to port 80 then. I suspect it is possible, but for now I just
use iptables to redirect port 80 to port 8080
my 2 cents worth
On Wed, 17 Sep 2003, P.van Kemenade wrote:
Hi
I found out that we run our
You may find this useful:
http://www.klawitter.de/tomcat80.html
Cheers
Rob Tomlin
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Ok, finaly have apache and tomcat running both on port 80.
I have created the following dir's
/export/home/www.someserver.com
/export/home/mnt.someserver.com
This will be the location of http://www.someserver.com and
http://mnt.someserver.com
To test I have placed a document named info_www.txt
Hi,
I've installed tomcat on a dual CPU redhat linux 9.0 machine and have
noticed that it only uses 1 cpu. How can I make it use both? Is this a linux
thing or a tomcat thing?
Regards,
Stuart Stephen
-
To unsubscribe, e-mail:
It would either be the JVM, but apps are usually rather ignorant of the
fact that it is running on one or more CPU's, so it's probably linux. I
would try and determine whether other, multi-threaded, apps only use one
cpu as well, if so, then it is deffinately the OS, if other multi-threaded
You have to remember where things are happening: the change to the dropdown
is only known to server-side components when the form is submitted.
It is possible to submit the form in the onchange event of a select box, but
I wouldn't advise it unless you can guarantee a fast response (e.g. on an
The JVM is spec'd to be able to run on multiple processors transparently and
an Java application. (Ignoring natvie code issues) Whether the
*implementation* of a JVM takes advantage of a multi-cpu system is a job of
the JVM vendor.
-Tim
Stuart Stephen wrote:
Hi,
I've installed tomcat on a
Well, I'm using Sun 1.4.2 with Tomcat 4.1.28. I assumed that multi-threaded
CPU's would be supported in Sun's Java VM. However, if i put tomcat into an
infinite loop it seems to go only to just above 50% CPU for the whole
system.
-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED]
That would be correct, as I mentioned in my other mail, a single thread
can only run on one CPU, thus to get to 100% cpu usage, you need at least
two threads performing two concurrent infinite loops. A single loop
cannot push 2 cpu's to over 50% as the one cpu will run the loop and the
other
You need 2 infinite loops to peg a dual CPU system.
-Tim
Stuart Stephen wrote:
Well, I'm using Sun 1.4.2 with Tomcat 4.1.28. I assumed that multi-threaded
CPU's would be supported in Sun's Java VM. However, if i put tomcat into an
infinite loop it seems to go only to just above 50% CPU for the
Ahh, I wondered if that was what you meant. I'll have to experiment further.
Thanks.
-Original Message-
From: Jaco Kroon [mailto:[EMAIL PROTECTED]
Sent: 17 September 2003 12:59
To: Tomcat Users List
Subject: RE: Tomcat on Dual CPU Server
That would be correct, as I mentioned in my
I have got to a solution:
It might be a private case but it may help others.
I'm reading the html with A BufferedReader that is running over a
AsciiFileReader which is using FileInputStream.
The idea is to read the file byte by byte casting it to char in a char
array not before moving from
I'm trying to understand naming contexts and their implementations in
tomcat.looking at the code below, we lookup the jndi resource
jdbc/test When tomcat starts up, it parses the server.xml file.It
finds:
Resource name=jdbc/test auth=Container
Howdy,
Very strange indeed ;)
What hardware issues did you run into? What JDK are you using?
I suggest you start with a clean standalone tomcat install: keep apache
and mod_jk out of the picture for now, just get tomcat working fine by
itself.
Yoav Shapira
Millennium ChemInformatics
Howdy,
I think the classpath is seriously off ;) It should include a whole
bunch of jars needs for tomcat...
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Dave Stoker [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 17, 2003 1:34 AM
To: Tomcat Users List
Howdy,
The java:/comp/env context is special in that it's defined by the
servlet specification is the location for environment properties
defined in the server. So whatever you define in server.xml/web.xml
will go in that context.
A servlet container is not required by the spec to give you
Howdy,
FYI, Sun JDK 1.4.2 on Solaris 8 and 9 can use many CPUs effectively: I
don't know the upper limit but I've maxed it out on 12 and 16 CPU
machines that we have around here. We don't have such big linux
machines so I can't explore that OS as much...
How are you liking tomcat 4.1.28? ;) ;)
Howdy,
Tomcat 5 will use commons-daemon
(http://jakarta.apache.org/commons/daemon) to let you bind to port 80
without running as root. I'll try to get out a commons-daemon 1.0
stable release in the coming weeks for other people who want to play
with it...
Yoav Shapira
Millennium ChemInformatics
Whoops. 4.1.27 :oP
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: 17 September 2003 13:53
To: Tomcat Users List
Subject: RE: Tomcat on Dual CPU Server
Howdy,
FYI, Sun JDK 1.4.2 on Solaris 8 and 9 can use many CPUs effectively: I
don't know the upper limit but
I want to work with JSP. I have installed Tomcat in my PC (win 2k).
What are the various parameters (or configurations) that i need to make
before executing a JSP program? Where should i place all the JSP
programs (in which folder?)?
Thanks
Navanee
Nitschke Michael wrote:
mod_jk2 is a rework/reimplementation of mod_jk and is expected to work
with Apache 2 and tomcat 4. there are some good tutorials and howtos, for
Tomcat = 4
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Howdy,
Read http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/index.html
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Navanee [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 17, 2003 8:57 AM
To: [EMAIL PROTECTED]
Subject: Basic doubt
I want to work with
All 3 of those are great solutions. Thanks to both of you.
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Barker
Sent: Tuesday, September 16, 2003 10:16 PM
To: [EMAIL PROTECTED]
Subject: Re: Apache + Tomcat, a default servlet, and static content
If you
I will do that.
Not really sure if they were hardware issues, but that is where the fingers stopped
pointing when
I looked at everything involved. The early issues with this install was that
downloads would seem
to get corrupted when being installed on the box. j2sdk I installed 23 times
As long as you send us all the link to the finished article, I'm sure I
won't mind missing the 'beta'. ;)
-Original Message-
From: Peter Lin [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 16, 2003 10:17 PM
To: Tomcat Users List
Subject: article on tomcat performance
Hello,
I have a lot of JavaBeans that are initialised in my login page using java:useBean
tags.
The scope of these beans is set to session thus:
jsp:useBean id=myBigBean scope=session class=net.mysite.client.BigBean
% myBigBean.init(application, session); %
/jsp:useBean
now if I use the
I'm trying to understand naming contexts and their implementations in
tomcat.looking at the code below, we lookup the jndi resource
jdbc/test When tomcat starts up, it parses the server.xml file.It
finds:
Resource name=jdbc/test auth=Container
Sorry, just a test to see if my emails are getting through!
-Original Message-
From: P.van Kemenade [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 17, 2003 7:09 AM
To: Tomcat Users List
Subject: tomcat==root
Hi
I found out that we run our tomcat as user root, and in
plain jsp I'm
Howdy,
You need the useBean tag in every JSP page where you want to use the
Bean. You only need one myBigBean.init tag used the first time you
access the bean.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Andoni [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September
The first time you use the useBean tag, it creates a variable called
(whatever is in the id attribute) and checks in (whatever is in scope)
for an attribute named (whatever is in name). If it can't find one, it
instantiates an instance of (whatever is in class), and places it into
the (scope)
Hi All,
We are running tomcat 4.1.4 for our application. We have some Servlet
classes which include System.out.println to log message and any
exceptions encountered.
These System.out messages are being logged into catalina.out. We are
interesting in re-directing these log messages to the
Thanx Yoav,
Great! The latter is exactly what I want to do.So when I want to
use the properties after they have been bound, I would do something
like:
InitialContext ctx = new InitialContext();
Object obj = (Object)ctx.lookup(java:/comp/env/myJndiRef);
Or something to
Howdy,
Is there a best practice for this? I would like to see all of my app
config stuff in one XML file..so when I deploy the app between
(dev -- staging -- production) it goes smoothly without having to
rewrite any classes.
This is a common need. There are many approaches, some more
Already answered today!
http://marc.theaimsgroup.com/?t=10637940003r=1w=2
-Tim
Shan Paul wrote:
Hi All,
We are running tomcat 4.1.4 for our application. We have some Servlet
classes which include System.out.println to log message and any
exceptions encountered.
These System.out messages
Howdy,
It's my fault, I double-approved it so it got posted twice ;)
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 17, 2003 10:16 AM
To: Tomcat Users List
Subject: Re: Redirecting System.out message to my
Bill,
That is no problem. I will put the one line code change we need into Tomcat until we
migrate to 5. Could you please forward me the JJSE connectoe of the coyote_10 branch.
Tim
-Original Message-
From: Bill Barker [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 16, 2003 11:03
Also, YES
At 08:59 AM 9/17/2003 +0200, you wrote:
YES
- Original Message -
From: Peter Lin [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, September 17, 2003 5:17 AM
Subject: article on tomcat performance
It looks like the tomcat performance book probably
Can anyone help with this issue.
I am running Tomcat 4.1.27 on Windows 2000.
Installation/setup came out fine. A few days ago I load SAP DB on the same pc.
Outside of that nothing has changed. Tomcat starts fine, no errors. But when I
open IE to view localhost:8080 I get an HTTP
Hi all,
I have a JDBCRealm configured the server.xml to authenticate users. It all
works fine. The following lines are in my server.xml and the parameters show
up in when I click on the User Database followed by the UserDatebase
nodes in the tree in the admin application.
So let's say that I have a web app that is slowly but surely leaking.
Eventually, I will get a java.lang.OutOfMemory error.
With how Tomcat is internally architected, or with how the JVM operates,
does this cause a problem for all other applications running under
Tomcat? Is there now no more
Howdy,
Once you get an OutOfMemoryError, your JVM is in an unpredictable state
and must be restarted. This is not specific to tomcat. Reloading the
webapp will not do any good.
Find the leak with a profiler and fix it ;)
Yoav Shapira
Millennium ChemInformatics
-Original Message-
Sorry for repost, I need to copy myself in order to receive response.
Tim
-Original Message-
From: McClure, Timothy J(IndSys, GE Interlogix)
Sent: Wednesday, September 17, 2003 10:37 AM
To: 'Tomcat Users List'
Subject: RE: SSL Cipher Suite Config in Tomcat JSSE
Bill,
That is no
Reloading the webapp may help. AFAIK it reloads all classes
that are bound to the webapp classsloader and thus may free
some memory that is hold by those classes. (Not that I think
that it's a good idea to rely on that)
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
When I stress test my web app using JMeter, I am suddenly getting a DBCP could not
obtain an idle db connection, pool exhausted SQLException thrown.
When I test with 25 simulated users every one of my 25 threads gets the exception
after the first 25 requests.
What am I doing wrong?
My setup:
Please post it to the list with a link or how to get it.
Thanks.
-Original Message-
From: Micael [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 17, 2003 10:57
To: Tomcat Users List
Subject: Re: article on tomcat performance
Also, YES
At 08:59 AM 9/17/2003 +0200, you wrote:
YES
Hi,
Currently i'm having virtual hosts (subdomains) on Apache-2:
abc.xxx.com
def.xxx.com
ghi.xxx.com
... with different DocumentRoots!
On Tomcat-5 i have a servlet 'file' with url-pattern/file/url-pattern
On workers2.properties i have [uri:/docs/*]
This makes that i got the following:
Hi All
I would like to know if the mod_jk2 works for apache1.3.27 and tomcat
4.1.27. I know it sure works for apache 2.x and tomcat4.1.27 and i have
configured it successfully for this combination. Please also let me know
if the same configuration for mod_jk2 works for apache 1.3.x as apache 2.x
After upgrading my development box to TC 5.09 beta, I run into a few problems. One of
them is a JSP file can't be translated into a Java file properly (?). The section of
the Java file is the following:
if (_jspx_meth_fmt_message_218(pageContext))
return;
I have got a ServletContextListener that does initialization and
cleanup for my webapp. I was wondering if there was a way to invalidate
all sessions to my webapp in this Listener ? If not, in what way can I
invalidate all sessions when i start / reload my webapp ?
Thanks
Howdy,
You can simply tell tomcat not to persist your sessions. You don't have
to write any code. Read the PersistentManager documentation and
comments in server.xml.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Mufaddal Khumri [mailto:[EMAIL PROTECTED]
Sent:
When i specify saveOnRestart:false and reload or start my webapp, the
users navigating the website now have an invalid session .. on top of
all pages i do a checkAuthetication .. how do i check if the session is
active or not ? .. so that i can detect that and redirect them to the
login page ,
Hi,
Does the PersistentManager help not to persist sessions across
container start or restart ? or does it do across webapplication reload
/ restart ? (by container i mean Tomcat and by webapplication i mean a
webapp that you run within Tomcat) From the documentation it seems that
it helps
Howdy,
all pages i do a checkAuthetication .. how do i check if the session is
active or not ? .. so that i can detect that and redirect them to the
Hmm... I would do this using attributes. All attributes are unbound
when the session is invalidated. So add an attribute to the session
when you
Does the PersistentManager help not to persist sessions across
container start or restart ?
the default standard manager does this
Filip
- Original Message -
From: Mufaddal Khumri [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, September 17, 2003 12:22 AM
Does the PersistentManager help not to persist sessions across
container start or restart ?
the default standard manager does this
Filip
- Original Message -
From: Mufaddal Khumri [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, September 17, 2003 12:22 AM
Hi,
My name is Kleber, I am brazilian and I have a problem with Tomcat certificates(if
someone could help me, I would be grateful).
I was trying to place Tomcat certificate 4.1.27, however I've just had a certificate,
because nowadays I'm using Orion server.
I have one file called keystore
I don't know your application scenario, but in general, authetication is not the same
as a session state.
Authetication can be implemented in a filter.
Hope this helps.
Vernon
--
- Original Message -
DATE: Wed, 17 Sep 2003 15:49:41
From: Shapira, Yoav [EMAIL PROTECTED]
To:
I am trying to let my web site show a powerpoint file.
I added the following into Tomcat conf/web.xml, but it does not work (the brower shows
strange characters).
What should I do? Thanks very much.
mime-mapping
extensionppt/extension
mime-typeapplication/ppt/mime-type
/mime-mapping
Which says excactly what I was intending, I need proper logging so I
need kernel level forwarding using iptables.
[EMAIL PROTECTED] wrote:
You may find this useful:
http://www.klawitter.de/tomcat80.html
Cheers
Rob Tomlin
-
Exactly. I have a session attribute in my session that i set to true .
and if that session attribute is not present or is false i redirect
them to the authentication page.
I did the following to my server.xml :
Manager className=org.apache.catalina.session.PersistentManager
Sorry. I had a bug in my code.
I had one database call where I was checking parameters and returning without calling
Connection.close();
-- Nathan Christiansen
Tahitian Noni International
http://www.tahitiannoni.com
-Original Message-
From: Nathan Christiansen
Sent: Wednesday,
Wouldn't that change be put in the workers2.properties file, since their using mod_jk2?
-Original Message-
From: Vikram Goyal [mailto:[EMAIL PROTECTED]
Sent: Wed 9/17/2003 3:00 AM
To: Tomcat Users List; Johan Louwers
Cc:
Subject: Re:
[EMAIL PROTECTED] wrote:
I would like to know if I could just add
the classpath of these jars (to not have them duplicated), and, in that
case, where and how could I do it.
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html
-cks
You are doing nothing wrong... Tomcat will persist sessions between
restarts.
To check your code works correctly, don't restart Tomcat... close your
browser window and start a new instance of the browser (or let the
session time out in a single browser).
-Original Message-
From:
try
mime-mapping
extensionppt/extension
mime-typeapplication/vnd.ms-powerpoint/mime-type
/mime-mapping
Luo, Zhongjun wrote:
I am trying to let my web site show a powerpoint file.
I added the following into Tomcat conf/web.xml, but it does not work (the brower shows strange characters).
What
To test I did the following:
1. started tomcat.
2. started a browser, logged into MyApp and used it.
3. stopped tomcat and restarted tomcat . (kept the browser window open).
4. went back to my browser window and tried to continue using my MyApp
by clicking on one of the links to a jsp page. The
Hi Johan,
I don't know what your httpd.conf looks like,
When using VirtualHost the first block must be the main domain,
then your virtual domains.
post your full httpd.conf
kind regards,
Luke
On Wed, 2003-09-17 at 20:54, Johan Louwers wrote:
Ok, finaly have apache and tomcat running both
Thanks. I have just tried. It didn't work in IE (in Nescape it works using both PPT
and vnd.ms-powerpoint).
I appreciate your suggestion very much.
Zhongjun Luo, Ph.D.
Research Assistant Professor
Genetic Medicine Department
Vanderbilt University Medical
I have Solaris 8 (Sparc) Apache 3.1.27 Tomcat 4.1.24, and I downloaded
severals mod_jk, some from the jakarta site:
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v
1.2.0/bin/solaris8/
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1
Hi everybody,
I'm creating a website based on Apache 2.0, Tomcat 4.1
and mod_jk2. My workers2.properties says:
[uri:mysite.org/*.jsp]
worker=ajp13:localhost:8009
So I guess only url's ending in jsp shall be passed to
Tomcat. I've disabled directory listings in Tomcat but
enabled them on Apache
I had just read that link (class loader how to), and I understand it, but
I would like to know, if I could set the classpath to point classes in other
directory (neither in tomcat, nor in soap), and where and how could I do
that.
Thanks very much,
Tizo
P.D: putting jars files in WEB-INF/lib
I am trying to implement the HttpSessionListener (the same class
implements ServletContextListener. The code for which is below.
1. I open a browser window , use MyApp after logging in.
2. I open the tomcat manager and reload my webapp. I go to the console
at this point and see the message -
On Fri, 12 Sep 2003 00:16, Ben Anderson wrote:
Ok, I know this topic has been posted many times, but I can't find anything
to help.
There is no help - its a bug. I tried posting a bug on Bugzilla, but I can't
find the bug any longer. I'm still running 4.0.4 because I can't easily move
to
On Fri, 12 Sep 2003 04:41, Ben Anderson wrote:
I moved the Resource and ResaourceParams tags to myApp.xml and put it
in the webapps folder(with the war). I'm still getting the exact same
errors.
More specifically, in 4.1.27 you can't define your JDBC resources in either
the DefaultContext or
1 - 100 of 110 matches
Mail list logo