  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Tomcat - JSP/Servlet container | | Struts - A MVC web framework | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | JSP - A mailing list about Java Server Pages specification and reference | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | |
Struts & Hibernate
|
|
|
  | | | Tomcat | On 9/5/07 Angelo Chen <angelochen960@(protected) > wrote
> My server runs only tomcat 5.5 and my app needs to copy some jpeg files to
> a temporary directory so that the generated page can refer I 'm not sure. The code looks like
try {
con
DriverManager.getConnection( "jdbc postgresql test " "batymohn " "bcl122 ")
out.println( "Conection made ")
} catch (Exception ex) {
System.out.printlHow do you log the event? Most logging frameworks support log.error(
String message Exception e ) which would provide the complete stack
and root cause in the log file.
--David
Chris Baty wroteHi David
The only trace that I can find is the Catalina log
Error occurred org.postgresql.util.PSQLException Something unusual
has occured to cause the driver to fail. Please report this excepthttp //tomcat.apache.org/tomcat-5.5-doc/config/host.html
See section about single-sign. This share credential between webapps.
Note it 's not a "programamtic ". It just let all your application shareCan you post the complete stack trace of your error? That would be
extremely helpful in diagnosing the problem.
---David
Chris Baty wrote
>Hi Guys
>I 'm trying to access psql from Tomcat5. I Hi Guys
I 'm trying to access psql from Tomcat5. I have the correct driver
because my command-lind test program works fine. So I copied the
driver into /usr/share/tomcat5/common/lib like the dohi everyone
I meet a problem about programmic login. I setup a tomcat server
and deploy two WAR files (applications) on it. One of the application
A is protected by server authentication and the
Hi
My server runs only tomcat 5.5 and my app needs to copy some jpeg files to
a temporary directory so that the generated page can refer to them like
<img src "http //mydomain.com/temp/J12345.hi guys
We have two application running on the same tomcat instance /app1 and
/app2. We need to run app2 from app1. Trying to do so calling /app2
directly results in a call to host/app1/app2. Is t > New Rev4 of the unusual POJO application server for Tomcat.
> Have been working very hard on it its hot... enjoy!
>
Help a lot if I gave you the site address hey )
http //coolharbor.100free.com/iNew Rev4 of the unusual POJO application server for Tomcat.
Have been working very hard on it its hot... enjoy!
It implements the latest Servlet and JSP specifications (2.5 & 2.1 vs 2.4 &
2.0) and also has memory optimizations advanced IO and refactored
clustering.
http //tomcat.apache.org/whichversion.html#Might give you some ideas...
http //tomcat.apache.org/whichversion.html
On 9/5/07 Ashish Jain <ashishjain.jain1@(protected) > wrote
> Hi All!!
>
> I am new to Tomcat. Can someone tell me what is neHi All!!
I am new to Tomcat. Can someone tell me what is new in Tomcat 6.0 compared
to the last version.
Thanks in advance
Regards
Ashish
Actually no. But that 's an idea indeed. I work with mostly free software &
still don 't have the reflex to browse the source... Will do that !
Cheers
Pierre
2007/9/5 Mark Thomas <markt@(protected)hi guys
We have two application running on the same tomcat instance /app1 and
/app2. We need to run app2 from app1. Trying to do so calling /app2
directly results in a call to host/app1/app2. Is tBut doesn 't that still unpack the wars to the work directory or
something similar? I was under the impression it always unpacked the
wars for performance reasons -- just not always in the webapps dDavid Smith wrote
> No. Tomcat will create a directory either in webapps or in the work
> directory depending on settings but it will expand the war file
> regardless.
Not always the case. This onPierre Goupil wrote
> Can anyone give me a clue please ?
Have you tried searching the source code for "tldCache.ser "?
Mark
Hi
I have two kinds of data needed in my application
1. data needed by the program like some parameters not accessible by the
user.
2. temporary data generated by the program to be accessible byNo. Tomcat will create a directory either in webapps or in the work
directory depending on settings but it will expand the war file
regardless. You wouldn 't want tomcat to attempt to run your webAdd a validationQuery attribute to your <Resource ... / > definition with
a very basic query like "select 1 ". That 'll test your connections on
borrow and re-create them as necessary.
--David
AlperAre you saying you tried what I suggested or that you have already
tried it? It seems like the problem is a caching issue to me.
What URL are you trying to access to trigger the login - you 're not > From Chad Lung [mailto chad.lung@(protected)]
> Coming from ASP.NET experience I know that using
> static variables with IIS they are held in the app domain and
> the app domain
> can be reloaded by Hello guys
There 's a couple of files which are used to making their nest in my Tomcat
work directory. That 's definitely not a problem for me but I was just
wondering what they are for.
The first onDear All
We have configured a portal system on Linux. In our system we uses
connection pooling to connect to different databases. One of them is
Oracle 9i. We have a problem with reconnection to t
Yes ... in theory. But if was this case in the jstack dump we should view
the incoming http-req
which waiting for a pooled connection (I have a ConnPool.getConnection()
class/method).
But ... on
Hi
Can war file be deployed without creating a directory I meant tomcat can
just use the WAR file without creating a directory?
Thanks
A.C.
samk-2 wrote
>
> See Thread at http //www.techi-----BEGIN PGP SIGNED MESSAGE-----
Hash SHA1
Chad
Chad Lung wrote
> What I want to do is store information in a few static variables used
> in a servlet. I 'm looking for speed more than anything |
|
 |