Hello,
I know nothing about Content-Disposition. In fact, the only thing I know
is that we never needed/used it ;-)
Maybe it is too obvious, but I suggest you to try
response.setContentType() instead.
Anyway, I will try to get a code snippet from one of our apps a bit
later for you.
Hope that
Hi!
Sorry about my previous response: I missed the important point.
Here is what the RFC says about Content-Disposition (two fragments of
RFC 2616).
Anyway, the important part is that you SHOULD NOT send your file AND a
web page after it.
In your code snippet, you loop over the file, sending
Hi all,
I make my servlets on windows, but their destination is going to be Linux. I
encounter two problems:
1) Tomcat for Linux does not pop up a new console, like in windows, so I
cannot watch my debug messages and/or exceptions.
2) Servlets that need to write a file, work fine on windows,
In one servlet ihave this:
public HttpSession userSession;
if(!userSession.getAttribute(loginStatus).equals(OK)){
//redirection
}
my problem is howcan i redirect from one servlet to one jsp page if the
loginStatus attribute isnot equals to OK.
from one jsp page to other jsp page i make:
You can use the same method, just ensure that you call the
response.sendRedirect() before the response has been committed.
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.CEO
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Hello:
I have an application running on Tomcat 3.3, and I would
like to know how difficult can it be to migrate it to Tomcat 4.1. Any
idea?
Thanks in advance and best regards.
--
Guillermo de Jesús HOYOS-RIVERA
Doctorant du LAAS-CNRS, groupe OLC
Hi,
I have a very strange behaviour.
I have 2 different configurations.
1) I have 3 pc
apache2.0.47 and mod_jk1.2.5 on Red Hat Linux (pc0)
tomcat4.1.x on Red Hat Linux (pc1)
tomcat4.1.x on Red Hat Linux (pc2)
2) I have 3 pc
apache2.0.47 and mod_jk1.2.5 on Red Hat Linux (pc0)
tomcat4.1.x on
On 11/14/2003 04:08 PM Bryan Field-Elliot wrote:
When I call from a Servlet:
response.setContentType(text/xml);
Tomcat changes the header to read:
Content-Type: text/xml;charset=ISO-8859-1
The ;charset is killing us interoping with another vendor and they can't
change their code. I've tried:
The first step would probably be to create a .war file of the current
application and then place the war file in the webapps directory of Tomcat
4.1. Also if you included any .jar files in the tomcat/common directory
these should be copied over to 4.1 if it is not included in 4.1 by default.
Kind
Hi all,
I am designing a product for my company which will be sold to multiple
clients. The clients may have any database (MYSQL,MS SQL Server , oracle).
Can i design in such a way that the product will work on any database?
I would like to use type4 jdbc driver. Can connection pooling be
On 11/17/2003 06:32 AM Andrew Mottaz wrote:
http://nagoya.apache.org/bugzilla. However, there aren't very many
developers who like the idea of allowing you to hang yourself :).
Thanks much for the tip -- I have to disagree about this not being a
necessary change. There are plenty of apps where
Hello
1) Tomcat for Linux does not pop up a new console, like in windows, so I
cannot watch my debug messages and/or exceptions.
2) Servlets that need to write a file, work fine on windows, but cannot
write the file on Linux. Permissions etc are ok (root, rw). And because of
problems 1, I
Harry Mantheakis wrote:
If you do not mind me asking: why would you need to re-compile Tomcat from
source?
I don't actually 'need' to recompile from source, i'm just a typical
Debian user (Justin, you hit the nail on the head), but
1. We like the flexibility of 'monkeying' with the
Hello
The RequestDispatcher.forward method 'should be called before the response
has been committed to the client' as quoted from:
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/servletapi/index.html
I think your code is breaking that rule.
Regards
Harry Mantheakis
London, UK
Hello All,
Thanks for the feed-back.
Harry Mantheakis
London, UK
Harry Mantheakis wrote:
If you do not mind me asking: why would you need to re-compile Tomcat from
source?
I don't actually 'need' to recompile from source, i'm just a typical
Debian user (Justin, you hit the nail on the head),
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
1) Tomcat for Linux does not pop up a new console, like in windows, so I
cannot watch my debug messages and/or exceptions.
In most cases there is no place to pop something up. Remember Tomcat is a
Server Process, running on Servers which often
Hello all:
I have an interesting problem. I have implemented a
proxy server using Tomcat 3.3.1a on a RedHat 7.1 computer. Tomcat is
working standalone (e.g. not with Apache).
The problem comes when treating requests via the doPost
method.
Hi,
On a HPUX11.0 box I am observing a tomcat core dump. The core file is always
produced in the root directory. Is there any way that I can get the core
file to be produced in a directory of my choice. Is there a configuration
option that I can use?
Thanks
Ankur
Peter,
We're using Sun OS 5.9 at present, Tomcat and JBoss run on this... The machine specs
are:
1.4.Ghz proc.
512Mb RAM.
Hardly a powerhouse of a machine but we can move toa dual proc. machine with 1Gb of
ram if needs be.
I could cluster multiple copies of Tomcat on seperate machines
Hi,
I'm executing a webapp from a war file, deployed with its own context
descriptor (not autodeployed), in a host (and even context for tomcat5) with
unpackwar=false. Security is enabled and just for testing purpose
catalina.policy has a grant codebase pointing to the war with
Andrew,
Couldn't agree more - I've just been round this circle myself.
I don't care if someone gets a session hijacked in my application, but I
don't want passwords transferred over plain text, because people tend to use
the same passwords in multiple applications. This application may not need
I've seen similar things with Java.
Are all the java related patches for the OS applied. We recently have a
similar issue with Solaris 2.8 and Java and applying the relevant patches
cured it.
File a bug report with Sun/IBM?
Greg
-Original Message-
From: Phil Steitz [mailto:[EMAIL
Kostas
1) Tomcat for Linux does not pop up a new console, like in windows, so I
cannot watch my debug messages and/or exceptions.
I may be wrong, but i'm pretty sure that:-
$CATALINA_HOME/bin/catalina.sh run
will write to console instead of the logfiles (catalina.out etc)
And as Harry says, write
syntax issue ...
the name response is a JSP implicit object... in your servlet you may
have called it resp or res or whatever
depending on your method declaration , example :
if :
public void doGet (HttpServletRequest req,
HttpServletResponse res)
then you'd write
Can you suggest a mailing list for learning java?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Dear Filip, and others of course,
Following the thread that started on saturday, we installed TC5 with
your patch.
Behaviour seems somehow better. I am not sure whether it was the patch
or the 5.0.12 - 5.0.14+CVS skip. No more exceptions like the one I
talked about seem to happen now.
Now we
Hi,
I'm a new user using Tomcat 5.0 on W2K. I'm going through some tutorials
and am having trouble adding listeners where I want them. Below my
webapps/WEB-INF/classes directory I have a com/jspbook directory. I have a
number of servlets in the jspbook directory that work fine. As soon as I
add
Hi. I have a setup where I cannot just use a DataSource with pooled
connections. The user logs in, performs some operations against a
database by giving a host, port and sid, and quits again.
I would prefer to not having to open/close the DB connection each time,
but as the DB is dynamically
Go to java.sun.com or/and java.net, there are loads of mailing lists/forums
where you can learn a lot.
Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.CEO
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi there,
my last mails did not arrive timely on the list.
This mail is being sent 2003-11-17 14:14 MET.
Let's see when it arrives.
Mit freundlichem Gruß / With kind regards
Holger Klawitter
- --
lists at klawitter dot de
-BEGIN PGP
http://forum.java.sun.com/
They have excellent discussion forums on Java.
- Original Message -
From: Anunay Ashish [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, November 17, 2003 07:00 AM
Subject: Please suggest.
Can you suggest a mailing list for learning
Howdy,
Thanks. Out of curiosity, what sort of RAM allocations would you
typically
do on a production UNIX machine? Obviously I don't want to use up all
of
my memory, but this and mySQL are my only two production apps.
There's no general answer: it depends on both your application and your
Howdy,
A couple of ideas:
1. If the number of possible DBs is small (and small is objective: I
would do this even if there were five or ten possible DBs), you could
still create pools for them. They'd probably be very lenient pools (0-1
min connections, short idle time before closing).
2. I
Howdy,
This gets asked periodically, so you might want to search the archives
of this list.
We use tomcat in production, as do many other people on this list.
We've been doing so for more than two years now, on big machines (18-CPU
sun servers, gigabyte JVMs, hundreds of concurrent users, etc.).
Howdy,
There's no such thing as being blacklisted on this list ;)
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Holger Klawitter [mailto:[EMAIL PROTECTED]
Sent: Monday, November 17, 2003 8:15 AM
To: Tomcat Users List
Subject: [OT: Testing] Am I blacklisted?
Howdy,
No, there's no configuration on that, as tomcat doesn't create the core
file. It's your OS that does. Typically the core file will be created
in the current working directory of the process that crashed. So if you
start tomcat from /tmp you should get the core dump in /tmp.
Is there an
Could I suggest the formation of such a list?
j/k
Justin
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Monday, November 17, 2003 8:59 AM
To: Tomcat Users List
Subject: RE: Testing] Am I blacklisted?
Howdy,
There's no such thing as being blacklisted on this
Howdy,
Not a tomcat problem: it's your OS configuration. Either make sure your
OS has an IPv6 stack installed or add the IPv4 preference flag to
JAVA_OPTS as the error message suggests.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Dean Searle [mailto:[EMAIL
Howdy,
I've been tempted many times ;)
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Hart, Justin [mailto:[EMAIL PROTECTED]
Sent: Monday, November 17, 2003 9:03 AM
To: Tomcat Users List
Subject: RE: Testing] Am I blacklisted?
Could I suggest the formation of such a
It exists, but you're probably blacklisted on it :)
-Message d'origine-
De : Hart, Justin [mailto:[EMAIL PROTECTED]
Envoyé : lundi 17 novembre 2003 15:03
À : Tomcat Users List
Objet : RE: Testing] Am I blacklisted?
Could I suggest the formation of such a list?
j/k
Justin
Hello.
I have two great problems with tomcat+apache2+mod_jk2
1.- the first is
i must to have in the apache home (/srv/www) one conf dir with the
workers2.properties file. if i dont create this dir with the file the
systems doesn't find the workers2.properties file.
Why the system doesn't find it?
Ahh, that would explain why the traffic has been so light these days ;-)
Justin
-Original Message-
From: Francois JEANMOUGIN [mailto:[EMAIL PROTECTED]
Sent: Monday, November 17, 2003 9:08 AM
To: Tomcat Users List
Subject: RE: Testing] Am I blacklisted?
It exists, but you're probably
I have read the docs on JK2 and cant seem to find what I am looking for.
I want to map only jsp pages and servlets, but don't know if that is
posible (as how would apache know what was a servlet request vs any
other request) but if there is a way can you let me know.
Thanks,
John
Adding another idea,
Use a pool manager with an API for adding a database to the manager.
I'm sure Tomcat has an api as well to hook into the DataSources of a
running instance and edit them...look at the tomcat admin source. So,
setup your pools to your different database dynamically as they are
The free driver from Microsoft can be downloaded by going to
www.microsoft.com and then going to the SQL Server section and choosing
JDBC in the downloads section.
Wade
-Original Message-
From: epyonne [mailto:[EMAIL PROTECTED]
Sent: Sunday, November 16, 2003 1:31 AM
To: Tomcat Users
ok, sorry I didn't see that in the error message until I reread it. I'll use the flag
-Djava.net.preferIPv4Stack=true and see if that helps.
Thank you again,
Dean
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Mon 11/17/2003 09:02
To: Tomcat Users List
Hello,
I have recently moved my web-app to Form-based container managed logins.
I like very much the side effect that this has which is that if you go off to another
site and come back you are not given the login screen again.
What worries me is people who will bookmark the login screen, I
Sorry, just found this in the page directive
%@ page session=false %
I assume it will solve my problems.
Thanks,
Andoni.
- Original Message -
From: Andoni [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, November 17, 2003 3:23 PM
Subject: Can I find out if there
Hello
What worries me is people who will bookmark the login screen, I would like to
be able to check if they have an existing session and if so then forward them
to the next .jsp (the main menu). Unfortunately the login screen is a .jsp so
it automatically creates a new session if there is
Hallo,
How can we force the Servlet-Engine to establish a new Realm-Connection
to the Database without a restarting the complete Tomcat-Server ?
I think 4.1.29's JDBCRealm tried to reconnect on failure.
it wasn't the solution :-(
Holger de Wall
Hello,
I re-send the following message because I did not receive it from the list.
Thank you.
Antonio Fiol
---BeginMessage---
Dear Filip, and others of course,
Following the thread that started on saturday, we installed TC5 with
your patch.
Behaviour seems somehow better. I am not sure
On reading more closely I find that this directive does not allow me to use
sessions at all.
What I want is to be able to turn them off to start, or at least not create
a new one if there is one in existence already, then turn them on when I
need them.
See if this bit of code helps explain what
I have several Struts apps with a form-based single signon using a JNDIRealm
with md5 passwords in openldap. I'm looking to pass username/password used
in Java login to other apps like horde, dotproject, among others for user
convenience. Sync of user account info between db stores used by other
On Mon, 2003-11-17 at 06:21, Jonathan Holloway wrote:
I could cluster multiple copies of Tomcat on seperate machines with a simple load
balancer on the front end? I'd ratehr not go that route yet though and see if I can
get it so that single machine can handle up to 250 - 300 simultaneous
Hi, I had removed myself from tomcat-user list so I have to email you
personally.
When you start tomcat, add an option to JAVA_OPT to enable jsse debugging.
It is stated in j2sdk documentation under security then jsse. I used it
months ago. But I removed it after my connections were tested OK. So
On 11/17/2003 06:32 AM Andrew Mottaz wrote:
http://nagoya.apache.org/bugzilla. However, there aren't very many
developers who like the idea of allowing you to hang yourself :).
Thanks much for the tip -- I have to disagree about this not being a
necessary change. There are plenty of apps
Hi,
Has anyone on tried using a Cisco Load balancer or any other hardware device for load
balancing instead of mod_jk2.
Any Pros and Cons.
Thanks
Asif Chowdhary
System Analyst
x.eye incorporated
Phone: (905) 624-6608 ext. 280
mailto:[EMAIL PROTECTED]
www.xeye.com
Find under logs catalina.out. You can change the launch script to give
you the output on the command line by removing catalina.out from the
script, or you can just view the file. You can also use JDB and attach
to the running process...even remotely and debug your code.
Wade
-Original
Bopanna,
I am designing a product for my company which will be sold to multiple
clients. The clients may have any database (MYSQL,MS SQL Server , oracle).
Can i design in such a way that the product will work on any database?
This should be pretty much no problem.
I would like to use type4 jdbc
Hi Friends,
I am using jakarta i18n taglib with tomacat 4.1, it seems that when the
language is changed the pages are reflecting the changes. Any solutions or
work-around?
Thanks and awaiting a positive reply
-
To
Guillermo,
You can see the relevant information [for Netscape 7] in SECTION ONE below.
In the case of Microsoft Internet Explorer 6, [see this:]
00 0d 28 22 71 7f 00 10 dc ea a4 58 08 00 45 00 ..(q..X..E.
0010 03 89 4f 66 40 00 80 06 a6 8d 8c 5d c0 3f c1 fc [EMAIL PROTECTED]
0020
Kenneth,
As soon as I
add a listener I get a NoClassDefFoundError. Here is a snippet from the
java.lang.NoClassDefFoundError: com/jspbook/SiteLogger (wrong name:
SiteLogger)
Your SiteLogger.java file is missing a package declaration at the top
of the file. That's why it can find the file, but
Dionisio,
2.-the second:
the tomcat and apache works with the mod_jk2, the system returns me the
jsp pages, but if the page has some things (images, css files )into
diferents directories (/images/, /js/...) i must to declare them (the
directories) into the workers2.properties file.
Is this
Andoni,
On reading more closely I find that this directive does not allow me to use
sessions at all.
This does not wok as the off-switch in the [EMAIL PROTECTED] part is permanent.
%@ page
session=false
%%
// If this user has an active session... USE IT!
if(null != request.getSession(false))
{
That was it - thank you.
-Original Message-
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
Sent: Monday, November 17, 2003 11:40
To: Tomcat Users List
Subject: Re: Failure to load listener path dependent?
Kenneth,
As soon as I
add a listener I get a NoClassDefFoundError. Here is
Asif,
Has anyone on tried using a Cisco Load balancer or any other hardware
device for load balancing instead of mod_jk2.
Any Pros and Cons.
Although I don't know anything about them, I know that BigIPs are often
used.
Pros: handle lots of load, very *very* configurable.
Cons: $$
-chris
Is there an event listener or something that can detect when Tomcat decides to close a
session with a user? IE this would hit both explicit logoff and incidental (the user
closes the browser, and cookies expire and good things like that).
Justin
Must be a slow-starting work week.
-Original Message-
From: Hart, Justin [mailto:[EMAIL PROTECTED]
Sent: Monday, November 17, 2003 9:20 AM
To: Tomcat Users List
Subject: RE: Testing] Am I blacklisted?
Ahh, that would explain why the traffic has been so light
Jonathan,
I could cluster multiple copies of Tomcat on seperate machines with a
simple load balancer on the front end? I'd ratehr not go that route
yet though and see if I can get it so that single machine can handle
up to 250 - 300 simultaneous requests.
Is there any point in clustering
Well, it is the start of Winter in North America, perhaps all of us are experiencing
seasonal depression ;-)
Justin
-Original Message-
From: Januski, Ken [mailto:[EMAIL PROTECTED]
Sent: Monday, November 17, 2003 11:46 AM
To: Tomcat Users List
Subject: RE: Testing] Am I blacklisted?
But if one user, using ftp, creates one dir, i must to edit the apache
conf file?
this is one great problem.
i sed mod_jk and there wan't problem with this but with the mod_jk2 i
cannot resolv it
thanks
Dionisio,
2.-the second:
the tomcat and apache works with the mod_jk2, the system returns
Justin,
Is there an event listener or something that can detect when Tomcat
decides to close a session with a user? IE this would hit both
explicit logoff and incidental (the user closes the browser, and
cookies expire and good things like that).
Uhh... how about
You should have a look at the DAO pattern if you're planning on supporting
multiple databases
http://java.sun.com/blueprints/corej2eepatterns/Patterns/DataAccessObject.ht
ml
-Original Message-
From: N.B.Bopanna [mailto:[EMAIL PROTECTED]
Sent: 17 November 2003 09:38
To: [EMAIL
Heh, works for me. Thanks.
Justin
-Original Message-
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
Sent: Monday, November 17, 2003 11:56 AM
To: Tomcat Users List
Subject: Re: End of Session Event?
Justin,
Is there an event listener or something that can detect when Tomcat
Hello,
I am trying to find out if I can create a JSP which does not create a session (that
bit's easy) and yet can use sessions if it decides that one doesn't exist already.
Any ideas anyone?
Thanks.
Andoni.
Hello,
I am running Tomcat 4.06 on Windows, and had run into an problem that I am trying to
figure out. I have created a download application that enables end-users to gather
images, zip them up and let them download them. Pretty simple. All is happy during
testing if three users download at
On 11/17/2003 05:15 PM Andrew Mottaz wrote:
Also, as far as I can see, the java community has decided that once you
start a secure session, you should stay in a secure session, for various
security reasons. Are you doing a secure login and then redirecting back
to http afterwards?
Imagine the
Scott Purcell wrote:
As a baseline, I would like to increase the JVM memory on tomcat 4.06 (running as a service). I am having trouble isolating where this is done. I have searched through the config directory for jmx but found nothing.
In catalina.sh do:
JAVA_OPT=-mx512m
if you want it to be
http://www.mail-archive.com/[EMAIL PROTECTED]/msg08705.html
-Original Message-
From: Scott Purcell [mailto:[EMAIL PROTECTED]
Sent: Monday, November 17, 2003 9:09 AM
To: [EMAIL PROTECTED]
Subject: Increase The Heap
Hello,
I am running Tomcat 4.06 on Windows, and had run into
In catalina.sh do:
JAVA_OPT=-mx512m
if you want it to be 512M of memory, as an example.
I put mine in the very beginning of catalina.sh, right after the
comments.
Because you are running Windows, catalina.bat of course.
jack:
I noticed you haven't received any responses yet. I was kinda waiting to see
is anyone had any bright ideas regarding... catching j_username/j_password
for later use within a webapp. I posted a somewhat related question in
Subject: application security gone mad.
Someone (please!) correct
Andoni,
I am trying to find out if I can create a JSP which does not create a
session (that bit's easy) and yet can use sessions if it decides that
one doesn't exist already.
What a coincidence... I just answered this in another thread:
[EMAIL PROTECTED] session=false
Why doesn't my tag handler, HelloWorldSimpleTag, work unless it is in a
package? Is it Tomcat 5.0.14 (on Windows XP) or is it the tag handler?
Tomcat generates the error message shown below when I attempt to execute
HelloWorldSimpleTag with HelloWorldSimpleTag.class in WEB-INF/classes,
but works
Hi.
It appears that certain JSP 2.0 EL expressions may or may not work
depending on choosen JSP syntax. E.g., the expression
td${param['foo']}/td
is ok for standard syntax, but will result into
org.apache.jasper.JasperException: /test.jsp() Unterminated ${ tag
exception with XML syntax page.
Yoav,
That worked. I put JAVA_OPTS=-Djava.net.preferIPv4Stack=true for run,start and stop
in my catalina.sh and now it starts.
Thank you very much
Dean
-Original Message-
From: Dean Searle
Sent: Mon 11/17/2003 10:04
To: Tomcat Users List
Cc:
Subject:RE: Unique
Do you mean to say that when the language is changed the pages are *NOT*
reflecting the changes?
Otherwise, I don't see your problem ;-)
Rhino
- Original Message -
From: Fernandez Angil Marian [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, November 17, 2003 11:24 AM
Subject: i18n
Howdy,
Not a problem, glad to help.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Dean Searle [mailto:[EMAIL PROTECTED]
Sent: Monday, November 17, 2003 1:39 PM
To: Tomcat Users List
Subject: RE: Unique error message when starting Tomcat 4.1.27
Yoav,
That worked. I
My resource parameters are not being passed correctly to a JDBC resource
factory causing this stack trace:
2003-11-17 12:42:59,281 [main] FATAL
com.socotech.loanauditor.dao.TorqueDomainTypeDAO - Cannot create JDBC driver
of class '' for connect URL 'null'
I simply put this line in a page:
%@ taglib prefix=c
uri=http://java.sun.com/jstl/core; %
And I get this exception when trying to load it:
org.apache.jasper.JasperException:
Validation error messages from TagLibraryValidator for
c
null: org.xml.sax.SAXParseException: The content of
elements
To get this fixed the quickest, please submit a bug report
(http://nagoya.apache.org/bugzilla/) with the following:
- File where it works (non-xml syntax)
- File where it doesn't works (xml syntax)
- Your explanation below.
- And if your daring (a PATCH, or the code where jasper2 is incorrect)
--- Harry Mantheakis
[EMAIL PROTECTED] wrote:
The Tomcat log files are located in the
CONTAINER_HOME/logs directory.
To print out debugging statements in Servlets use
the GenericServlet.log()
method. Within HttpServlets all you have to do is
call log(...). Here is
an example which
I have an app that causes a Tomcat crash when I start Tomcat5 from the
command line with 'catalina run'. I get a native code exception that
follows this explanation. When I start Tomcat 5 as an NT service (chosen
during install), the app runs okay. What's causing the difference. I've
tried
I am working on an old project using Sun JDK 1.3. I get an error
message while using ant. The error is listed below:
Error occurred during initialization of VM
Unable to load native library:
/usr/local/jdk1.3.1_08/jre/lib/i386/libjava.so: symbol __libc_wait,
version GLIBC_2.0 not defined in
missing ResourceLink .../ inside Context ../
-Original Message-
From: Marc Dugger [mailto:[EMAIL PROTECTED]
Sent: Monday, November 17, 2003 12:56 PM
To: [EMAIL PROTECTED]
Subject: jndi + dbcp
My resource parameters are not being passed correctly to a JDBC resource
factory causing
Hey Mark,
Can you post your context solution...I am not sure about the
ResourceLink
Thanks Brent
-Original Message-
From: Marc Dugger [mailto:[EMAIL PROTECTED]
Sent: Monday, November 17, 2003 12:26 PM
To: Tomcat Users List
Subject: RE: jndi + dbcp [SOLUTION]
missing ResourceLink
I have configure the tomcat + apache2 + mod_jk2 but i have find one great
problem (error?) and is this:
if i have this web structure:
/
|-index.jsp
|-images/
| |-image.gif
| |-otherimage.gif
|-js/
| |-file.js
|-otherdirectory/
| |-file1.htm
|
I had defined the resource at the global level, but failed to link it to the
context.
before:
Context path=/workbench
docBase=C:\Code\loanauditor\src\webapp\workbench
workDir=C:\Code\loanauditor\src\webapp\workbench\WEB-INF\work
reloadable=true debug=0 /
after:
Context path=/workbench
Marc Thanks..!
Do you know if the global link is necessary...or what it does?
Brent
-Original Message-
From: Marc Dugger [mailto:[EMAIL PROTECTED]
Sent: Monday, November 17, 2003 12:56 PM
To: [EMAIL PROTECTED]; 'Tomcat Users List'
Subject: RE: jndi + dbcp [SOLUTION]
I had defined
Thanks for the proposals.
The using a pool manager sounds like what I need, only it's a little '
overkill taking the size of the application into consideration.
As users can specify new DB URI's themselves, I cannot use multiple
datasources either (unless I create/maintain them
Mark,
I am working on an old project using Sun JDK 1.3. I get an error
message while using ant. The error is listed below:
Error occurred during initialization of VM
Unable to load native library:
/usr/local/jdk1.3.1_08/jre/lib/i386/libjava.so: symbol __libc_wait,
version GLIBC_2.0 not
1 - 100 of 139 matches
Mail list logo