Rama,
What Mathew is talking about is that Linux does not have services as windows
does. I think that the term you need to search for is daemon. Or google for
run Tomcat daemon.
Tomcat 5 has instructions for this on the setup page. I don't know if this
can be applied to TC4.
Now I am to the point of needing some clarification on JNDI.
Current config.
TC 4.1.29 Standalone
RH 9
Planned config
TC 5 (latest stable)
TAO Linux (Approx RH Enterprise)
I am running an application and using JNDI against MySQL. All is working
fine but!
1. I deploy via a war file. I must
Harry,
Take a look at this page:
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/globalresources.html
As noted on the page:
This is equivalent to the inclusion of the following element in the web
application deployment descriptor (/WEB-INF/web.xml):
The question is: Is the fragment
Well in the localhost directory I have an app_name.xml for each Web App
in
the system, it contains a context tag (going from memory at the moment as
I'm not in front of the server)
This is a new feature in TC5
i defined the resource in server.xml.
Guess that will be something for me to
Latha,
For TC4 you need the web.xml to be this:
?xml version=1.0 encoding=ISO-8859-1?
!DOCTYPE web-app
PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN
http://java.sun.com/dtd/web-app_2_3.dtd;
web-app
servlet
servlet-nametestServlet/servlet-name
Adam,
Sound very similar to a problem I had a couple of days ago. Are you using
any loops in your code? Specifically while or do-while or endless for loops.
If so try changing them to a for loop with a high count say 10k-100k and see
what happens. I had a sort method that under the right
www.domainsite.com
At $6.99 a year it's hard to beat. I haven't found a better deal with all
the features they offer.
Doug
www.parsonstechnical.com
- Original Message -
From: Yiannis Mavroukakis [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Friday, March 12, 2004
Paul,
Add this to the context for each application that needs the database.
ResourceLink name=jdbc/OscarsDB global=jdbc/OscarsDB
type=javax.sql.DataSource/
Doug Parsons
www.parsonstechnical.com
- Original Message -
From: Paul Mahoney [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL
]
To: 'Parsons Technical Services' [EMAIL PROTECTED];
'Tomcat Users List' [EMAIL PROTECTED]
Sent: Monday, March 15, 2004 5:31 PM
Subject: RE: Problem using JNDI/DBCP to get DataSouce
Thanks for the tip. I put it in the server.xml in the /CustomFares context
but it didn't help. Is there are equivalent
Not that I am aware of.
Any luck with the other thing to try?
Doug
- Original Message -
From: Paul Mahoney [EMAIL PROTECTED]
To: 'Parsons Technical Services' [EMAIL PROTECTED];
'Tomcat Users List' [EMAIL PROTECTED]
Sent: Monday, March 15, 2004 5:31 PM
Subject: [BULK] - RE: Problem
to the database.
Doug
- Original Message -
From: Paul Mahoney [EMAIL PROTECTED]
To: 'Parsons Technical Services' [EMAIL PROTECTED];
'Tomcat Users List' [EMAIL PROTECTED]
Sent: Wednesday, March 17, 2004 8:35 AM
Subject: RE: Problem using JNDI/DBCP to get DataSouce
Some progress but still
in the code it should not matter especially since the
hardwire way works.
Doug
- Original Message -
From: Paul Mahoney [EMAIL PROTECTED]
To: 'Parsons Technical Services' [EMAIL PROTECTED];
'Tomcat Users List' [EMAIL PROTECTED]
Sent: Wednesday, March 17, 2004 11:24 AM
Subject: RE: Problem using
Users List [EMAIL PROTECTED],
[EMAIL PROTECTED]
To: 'Parsons Technical Services' [EMAIL PROTECTED],
'Tomcat Users List' [EMAIL PROTECTED]
Subject: RE: Problem using JNDI/DBCP to get DataSouce
Here goes Cut and paste, but blanked out the password bits.
I hope your eyes can spy
the DataSource is just not working and I'm not seeing
the proper error. But I can find nothing more in the logs :(
-Original Message-
From: D'Alessandro, Arthur [mailto:[EMAIL PROTECTED]
Sent: 17 March 2004 18:00
To: Tomcat Users List; [EMAIL PROTECTED]; Parsons Technical Services
Kumar,
First, I started you your own thread. I do this so that others and I can
keep you straight as to who is who and know it is a seperate issue although
on the same topic.
Please repost your context portion of the xml, the section of code that
accesses the connection pool and if global, the
I have a need to place and get, image files, to and from a directory outside
of the context and outside of Tomcat.
My plan is this:
Have an upload page to allow user to select local file on client and upload
to server. This is the same tactic as the manager is using with war files.
The folder
. I've never used Tomcat alone so don't
have
any experience doing it that way.
Adrian Lanning
- Original Message -
From: Parsons Technical Services [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, March 17, 2004 6:30 PM
Subject: A plan to access files
Kawthar,
Remove this from the context:
parameter
namedatabaseName/name
valueecpa/value
/parameter
parameter
namepathname/name
valueconf/tomcat-users.xml/value
/parameter
The database name is
Kawthar,
Try this context in place of yours.
Context path=/db docBase =ROOT debug=9 reloadable=true
Resource auth=Container description=JDBC Connection to
MySQL v4.0.18 name=mySQLDatabase scope=Shareable
type=javax.sql.DataSource/
Resource name=jdbc/mySQLDatabase auth=Container
to
MySQL v4.0.18 name=jdbc/mySQLDatabase scope=Shareable
type=javax.sql.DataSource/
Should work either way, mine did, just cleaner and proper.
Note name is changed in second entry, added jdbc/ .
Doug
- Original Message -
From: Parsons Technical Services [EMAIL PROTECTED]
To: Tomcat
work either way, mine did, just cleaner and proper.
Note name is changed in second entry, added jdbc/ .
Doug
- Original Message -
From: Parsons Technical Services [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, March 17, 2004 11:02 PM
Subject: Re: JDBC
=javax.sql.DataSource/
Should work either way, mine did, just cleaner and proper.
Note name is changed in second entry, added jdbc/ .
Doug
- Original Message -
From: Parsons Technical Services [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, March 17, 2004
=jdbc/mySQLDatabase scope=Shareable
type=javax.sql.DataSource/
Should work either way, mine did, just cleaner and proper.
Note name is changed in second entry, added jdbc/ .
Doug
- Original Message -
From: Parsons Technical Services
[EMAIL PROTECTED
Jesse,
In order for unpackWar to work two things must be true.
1. The application directory and any subdirectories for that context/app
cannot exist.
2. You must place the war in the webapps directory.
So if you have an app called getmoney then to redeploy the war you will need
to delete the
Is this for a few users or a bunch?
If it is a few users then HTTPS Client authentication may work.
But more likely what will fit your plan is to use form authentication. If
you are getting a prompt for name and password then you are using basic
authentication. See SRV .12.5 in the Servlet 2.4
Try this.
Change this:
static final String dbURL =
jdbc:mysql://localhost:3306/koordinat_bts?+user=userpassword=pasword;
To this:
static final String dbURL = jdbc:mysql://localhost:3306/koordinat_bts;
static final String dbUser = user;
static final String dbPass = password;
And
Niraj,
1. The declaration in the server.xml is malformed. You have two
ResourceParams sections and no Resource section. Follow the how-to for the
correct form.
2. You are declaring a global datasource and need to add a resource link to
the context section of your app. Look in the manager.xml for
Ted,
Sitting at you windows box that is running TC you can open IE and access
http://localhost but if you try to access http://yourMachinesIP it fails.
From a command prompt ping localhost. Then ping the IP of your machine.
Notice that localhost resolves to 127.0.0.?
Do an ipconfig /all from
Jon,
My red car won't run. What's wrong with it?
Need:
OS
TC version
web.xml
context
etc
More is better when it comes to information. It is often very simple for
someone to spot the error. I can throw out a list of guesses but half, most
likely, won't even apply to your setup.
Doug
-
Ted,
Last thing first. I did find you can set the IP with address=??? in the
server.xml. Check for this. Unless you have a specific need to you can
remove it.
Now in case that is not the issue:
Sitting at you windows box that is running TC you can open IE and access
http://localhost but if
Phil,
Harry DID start his own. He may have used the same subject line as an old
message, but nothing existing in the last few months.
Yeah I know, time for an afternoon nap or some caffeine.
Doug
- Original Message -
From: Philipp Taprogge [EMAIL PROTECTED]
To: Tomcat Users List
: Philipp Taprogge [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, March 22, 2004 8:55 AM
Subject: Re: Ant and Tomcat Manager over HTTPS
Hi!
Parsons Technical Services wrote:
Harry DID start his own. He may have used the same subject line as an
old
message, but nothing
and im on tomcat 4.0
- Original Message -
From: Parsons Technical Services [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Thursday, March 18, 2004 12:29 AM
Subject: Re: JDBC/mySQL problem.
Kawthar,
As for Steve's concerns:
It is the same one. The short story
-
From: Parsons Technical Services [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Thursday, March 18, 2004 12:29 AM
Subject: Re: JDBC/mySQL problem.
Kawthar,
As for Steve's concerns:
It is the same one. The short story: Mark Mathews wrote it MySQL
Daniel,
Do a chown -R tomcat (tomcat base directory) to set the owner to tomcat for
all the directories and files under the tomcat directory. When tomcat starts
it sets up temp file that are cleared and recreate. The error is saying that
tomcat can't because the write permission on the directory
Todd,
I assume you are running TC5?
Please post your configs from the server.xml, web.xml, context.xml and code
snippet you use to get a connection.
Because you are getting a driver it is at least seeing some of your config.
Are you using the correct drivers?
Are they current?
Are they
4.0
- Original Message -
From: Parsons Technical Services
[EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Thursday, March 18, 2004 12:29 AM
Subject: Re: JDBC/mySQL problem.
Kawthar,
As for Steve's concerns:
It is the same one. The short story
Are you using a war file?
- Original Message -
From: White, Joshua A (HTSC, CASD) [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, March 25, 2004 7:45 AM
Subject: context.xml - what's the secret?
Hello all,
Let me first say that I am using Tomcat 4.1.30 and have an existing
Will not work on TC4 in the war. That's why I asked earlier. It will on TC5.
When you deploy look in the logs or look in
$Catalina_Home/conf/Catalina/localhost and see if there is a yourappname.xml
there. If not then TC is not seeing your context.xml .
If it is you may try setting up a
Sounds like a leak in you program. Check to make sure the connection,
resultset and statement are being closed.
A work around is to add:
parameter
nameremoveAbandoned/name
valuetrue/value
/parameter
parameter
nameremoveAbandonedTimeout/name
Three questions:
How big is the site? Disk space.
How much bandwidth are we talking about?
Do you need to keep your URL?
Doug
- Original Message -
From: Chong Yu Meng [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Thursday, March 25, 2004 9:35 AM
Subject: [OT] Needed :
Josh,
Got you covered.
Warning this email may be long winded, so take breaks often.
First, unless there is a reason for you NOT to have a context then this will
get you going.
First in the server.xml set up a GlobalResource such as this:
GlobalNamingResources
Environment
I think that you need docBase=test.war to be docBase=test .
Not a 100% but thought that was what I read. Mine explodes and I do not have
.war on mine.
Doug
- Original Message -
From: Ramesh Thyagarajan [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, March 25, 2004 9:41 PM
Josh,
Imagine that you only want certain applications to access the
GlobalResource. With it in the default everyone has access.
The context.xml for TC5 in the META-INF replaces the context element that
you put in the server.xml in TC4. Thus as you deploy an application you can
adjust it as
Gordon,
Just for grins and giggles try adding this as a test:
parameter
nameremoveAbandoned/name
valuetrue/value
/parameter
parameter
nameremoveAbandonedTimeout/name
value60/value
/parameter
To reclaim abandoned connections.
If it drops you back
return connection back to pool. ;-)
Gordon
Parsons Technical Services wrote:
Gordon,
Just for grins and giggles try adding this as a test:
parameter
nameremoveAbandoned/name
valuetrue/value
/parameter
parameter
nameremoveAbandonedTimeout/name
in
other config files?
From: Parsons Technical Services [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Re: Tomcat 4.1.29 Problem
Date: Thu, 25 Mar 2004 21:48:02 -0500
I think that you need docBase=test.war to be docBase=test
Todd,
This:
Resource name=resourceName auth=Container
type=javax.sql.DataSource/
This:
ResourceParams name=resourceName
This:
ResourceLink name=jdbc/dbname
global=resourceName
type=javax.sql.DataSource /
This:
resource-ref
Stig,
There only needs to be one copy of the driver in the common/lib directory.
Change the name on your resource that is not working. You should not use the
same name on both. If that doesn't fix it (remember to change the name in
your web.xml and application) then repost your current context
Asim,
I just did this very thing. The way I fixed things was this:
I moved the index.jsp page to the root of the manager application. Now when
I go to http://localhost/manager I get the old index page. I also moved the
images so that they show up as well.
I then edited the path information in
Cathy and list,
I have been running this one through my head and have a couple of hang-ups.
Since in this case tomcat is acting as the client then the use of encrypted
would only work if you unencrypt it to send it. If the hacker can read the
server.xml then he has the access to the code that
Robert,
As Phillip said you have just met the Ghost of Invoker Past.
Short story is that it can be used for evil thus commented out.
Short fix is to uncomment it.
But as you did try the correct way you tried to add mappings, I say good for
you and don't give up yet. No to fix your problem. You
Bryan,
As I haven't done this myself yet, here's my thoughts.
You will need a servlet/jsp that will serve as your index page.
If the request comes in as:
http://www.domain.com
Then it will serve up the index page.
If the request comes in as:
http://www.domain.com/johndoe
It will call your
context such as
http://www.domain.com/salespeople/johndoe where you have your template set
up.
Yeah I'm a little twisted up stairs, so I'm told.
Doug
- Original Message -
From: Parsons Technical Services [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Saturday, March 27
Donald,
Sorry that you had to give up. I am not sure what was causing you so much
trouble but I know that it can be replaced. I actually moved my index.jsp
and replaced it with a .htm . I then had to edit the index.jsp for it's new
home. If you end up back on TC5 at some point you could copy
();
Also, this is Tomcat 5.0.16 on Win2k.
And as for: parameter namefactory/name
valueorg.apache.commons.dbcp.BasicDataSourceFactory/value /parameter
this was straight out of the Tomcat docs, but removing it doesn't seem to
make
a difference.
Thanks again,
Todd
--- Parsons Technical Services
To answer your first question. No. External applications will be running in
their own jvm and thus will be unable to see it.
As for a solution, Tomcat is open source and their is nothing to stop you
from using the code they use to create their pool. Otherwise there are
several hits on google and
Obfuscators.
http://developers.evrsoft.com/directory/dir.pl?redir=/Computers/Programming/Languages/Java/Development_Tools/Obfuscators/
Doug
- Original Message -
From: Lars Nielsen Lind [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Sunday, March 28, 2004 11:30 AM
Dirk,
Have you tried putting these jars in common/lib?
This way they are loaded on Tomcat start-up and will be available to your
app without impacting the deploy/undeploy.
Doug
www.parsonstechnical.com
- Original Message -
From: Just Fun 4 You [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Uma,
First don't take this wrong but I got to ask Why?
Someone with more knowledge will have to chime in to say if this can be
done. But if the goal is to send all request for http://www.mysite.com to
https://www.mysite.com then Tomcat can do this for you. And without two IPs.
For details see;
have
made the settings in the code to see if the user is using http or https
and
block the user from using http.
But there should be some way of doing this, right?
Thank you,
Best Regards,
Uma
Parsons
Technical
Services
Clicked too fast. There is more to come...
- Original Message -
From: Parsons Technical Services [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, March 29, 2004 1:19 AM
Subject: Re: Configuring Tomcat on different IP's
Uma,
I think this will do what you want
Technical Services [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, March 29, 2004 1:26 AM
Subject: Re: Configuring Tomcat on different IP's
Clicked too fast. There is more to come...
- Original Message -
From: Parsons Technical Services [EMAIL PROTECTED
Parsons
Technical
Services To
parsonstechnical
@earthlink.net Tomcat Users List
[EMAIL PROTECTED]
03/29/2004 12:31
is not removing the app correctly. Any further idea?
thx,
Dirk
-Ursprüngliche Nachricht-
Von: Parsons Technical Services [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 29. März 2004 03:09
An: Tomcat Users List
Betreff: Re: Manager Application does not remove webapp correctly
Dirk,
Have you tried
Uma,
I removed several of the elements that were commented out and made the
changes I thought it would need.
Unless someone can answer my question about which service picks up which
app, you will have to put the context in the server.xml . You can experiment
with it after you get it running by
Robert,
That's one. The other is if you have a servlet sitting in your app that
should be called by another class. If the hacker gets lucky he could call
this servlet with his own query/post from the URL and bypass any
check/security you may have in the calling servlet. Now if the nonpublic
javax.sql.DataSource so the war is
portable
--
res-typejavax.sql.DataSource/res-type
res-authContainer/res-auth
/resource-ref
Thanks again,
Todd
--- Parsons Technical Services [EMAIL PROTECTED] wrote:
Todd,
Should have known that MS would do something screwy
Uma,
This has moved beyond my experiance. Other than experimenting or diving into
the source what I suggest now is to reply to this post and edit the subject
line to read:
Two service on one Tomcat instance.[Was Re: Configuring Tomcat on different
IP's]
In the hope that someone with more
I concur. I have seen this type of error where the package was developed
against another brand of jvm. Mostly, applets that will not run on sun's jvm
but will against microsoft's vm.
Doug
- Original Message -
From: Shapira, Yoav [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
I know from where the Tomcat is reading the default context? So that
I can disable them? or if there is any better solution to this please help
me out.
Thank you,
Best Regards,
Uma
Parsons
Technical
Services
to other developers.
Sorry if my writing is confusing sometimes. Feel free to ask for
clarification any time.
Thank You
Doug
Parsons
Technical
Services To
parsonstechnical
Martin,
You missed something fundamental. See the following document for a brief
description of the problem.
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/ssl-howto.html
For a more detailed description see:
http://httpd.apache.org/docs-2.0/ssl/ssl_intro.html
Short answer you can't.
I have an
Tim,
I am following:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-howto.html
Good start.
I am running windows XP - have apache 2.0.48 and Tomcat 5.0.19 up and
running with j2sdk1.4.2_04. I am also running MySql5.0.0a
I recommend for the purpose of testing to
Back to basics.
Is it running?
Look at your processes with something like ps -ax
Do you have a firewall running?
Can you ping the machine?
Do a netstat -an and see if port 8080 is active.
Doug
- Original Message -
From: Stormblade [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent:
I know it's simple but have you tried using the IP as in
http://xxx.xxx.xxx.xxx:8080 ?
Just a thought.
Otherwise you might wish to confirm the port is open.
No offense but sometimes we get burned by the silly little things.
Since you are running from the command line you are starting as root
Lisa,
Without seeing your config files and since I run on Linux I may be off base.
If you have both of these as a root context it may be that Tomcat is setting
them up in the same temp dir. Try and use the workDir element of the host to
use different temp directories.
Not a 100% on this but
What's your environment?
OS version
Tomcat version
JVM version
- Original Message -
From: [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, April 02, 2004 10:07 AM
Subject: Re: file uploading
What's a cron job?? How do I create/execute one?
thanks!
~Kayley~
Hey Yoav, we got another one from that there windows place!!
But seriously, a few years ago I had no I idea what one was either. It is
akin to task scheduler in windows.
That's why it is asked to put the environment information in to start with.
It guides the list to suggest the appropriate
Emerson,
- Being in plain text in server.xml (as configured for tomcat)
Protect the file with permissions.
- Read the web.xml by a standalone app and encript the password, in my
connection servlet I read it and decritp it.
- Have a separate file for each pool, this file,encripted, would
If I can read the server.xml then I can read your .class file the
decrypts
it and thus can still get your password.
I still can use certificate to encript decript...
And if I am in control of the server, then I have access to that certificate
as well.
The point is simply that with proper
Randy,
Since David did 1 2 I'll give you 3.
3) setting -Xmx ,-Xss. (what is the default? I noticed in the catalina.sh,
there is no -Xmx ,-Xss)
If you are using catalina.sh then you set the enviroment settings by
exporting a system variable in the shell.
If you are running it as a daemon,
Chris,
Check the version of gcc on each machine.
Just a quick thought.
Doug
- Original Message -
From: Chris Egolf [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, April 06, 2004 12:24 PM
Subject: mod_jk2 2.0.4 compiler error on RHEL 3.0, Apache 2.0.46
All -
I've
Raymond,
You have user names and passwords defined. Now for each of these did you
also define the role?
For a user to access the administration page the role of admin must be added
for that person.
One thing, is if you did add roles, is to check the syntax. Try setting up a
user with only the
Gianni,
From my experience:
User tomcat is created for you.
Place it in whatever directory makes sense to you.(Keep it simple)
Keep the permissions on the tomcat directories tight. Make them only
readable by tomcat etc.
If you need port 80 and 443 start tomcat as a daemon. For details:
Ross,
If my memory serves me right (which is rarely) there was a discussion on the
list about this. I believe the comment was that during reloads there are
references to objects that don't get released when a context is undeployed.
The memory is lost until a restart. In production this should not
Does anyone else have the pleasure of recieving this as a direct response to
sending emails to the list?
Can we have the offender remove, pleeeaassseee?
When you can get to it.
Thanks
Doug
PS Didn't see any recent post on this but then again you know what they say
about it If it was a
Gianni,
Try using the IP. If you can get to it with an IP then your issue is with
the DNS otherwise you have an issue with your network.
What OS are you running?
What error number are you getting?
Doug
www.paarsonstechnical.com
- Original Message -
From: Gianni Pucciani [EMAIL
First check you logs and see if any error messages are showing up. As a just
for kicks try thing, move the username up in the configuration to before the
password. Crazy thing but it caused mine to not see the password. I don't
think you will get back any indications in the java trace that the
Prasad,
I DID. Did you miss it?
Here it is again.
First check you logs and see if any error messages are showing up.
As a just for kicks try thing, move the username up in the configuration to
before the
password. Crazy thing but it caused mine to not see the password. I don't
think you will
Josh,
Two things come to mind:
1. You are running out of connections. DUH What I mean is that you have more
requests for connections than connections. Probably not your case but had to
point it out.
2. You have a leak and are not recovering the abandoned connections fast
enough.
Going on point
Sohil,
At what line in your code is it blowing up?
As a follow up, once you have it all fixed would try the username back at
the bottom to see if it breaks it again?
I'm running MySQL so I didn't spot the error, sorry.
Doug
- Original Message -
From: MARU, SOHIL (SBCSI) [EMAIL
bjyang,
The jvm running under Tomcat can read any file with the standard file
read/write operations provided in the Java api as long as the user that the
jvm is running as has rights to that file. So write a servlet that receives
the request reads the file from the directory and the streams it
How many subscribers are there to the list? Just a ballpark idea. I have a
idea but before I get athletes mouth I thought might see if it's feasible.
Doug
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
Since the fire is burning I'll add my load (of what you can decide).
Equate it to buying a vehicle.
Car
SUV
Truck
Van
Motorcycle
Tractor-Trailer
2wd
4wd
Awd
Each has features the other don't.
Each can serve multiple purposes.
NONE can serve ALL purposes.
Look at your needs.
Pick the best one.
Having something implies that you could lose that something and not change
what it is.
Thus Tomcat would *be* a web server. For without it , it would not be
fundamentally the same.
As said this is a Purely a philosophical question .
And as I said in other post, this is my opinion. Feel free to
Kam,
The existence of a context in the server.xml will not prevent Tomcat from
unpacking a war. I have a development box that has the context defined and
the manager can undeploy and deploy the war just fine. Also restart is not
required.
What Tomcat will not do is unpack any war for which a
Emerson,
It depends. If you need to run tomcat on port 80, then you will need jsvc
otherwise calling startup.sh should work.
Doug
www.parsonstechnical.com
- Original Message -
From: Emerson Cargnin [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, April 12, 2004
have it configured but I
not sure how to use in in a class...any ideas'
Allen
-Original Message-
From: Parsons Technical Services [mailto:[EMAIL PROTECTED]
Sent: Monday, April 12, 2004 5:55 PM
To: Tomcat Users List
Subject: Re: tomcat as deamon
Emerson,
It depends. If you need
something in the
server.xml
file. Can you provide a server.xml file that contains a simple Context
definition that I may use to setup my myApp.war.
Thank you in advance,
Kam
On Fri, 9 Apr 2004 18:12:20 -0400, Parsons Technical Services wrote:
Kam,
The existence of a context
1 - 100 of 551 matches
Mail list logo