The JDBC driver must be in common/lib so that it is accessible to both
Tomcat and your app.
See http://tomcat.apache.org/tomcat-5.5-doc/jndi-resources-howto.html
and http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howto.html
--
Len
On 9/29/06, red phoenix <[EMAIL PROTECTED]> wrot
Hi,
I am using Tomcat 5.5.17 with Sun JDK 5.0.7 on CentOS 4.3. I have a
servlet, namely BMPImageViewer, which converts a BMP image in database
into PNG format via JAI. The servlet is used in XSL-FO for PDF generation.
My problem was that the image did not change even the image in database
ch
I use Oracle9i,so I put oracle\ora90\jdbc\lib\classes12.jar file into
tomcat\webapp\myweb\WEB-INF\lib,I don't where I did wrong,I am puzzled with
it
On 9/30/06, Caldarale, Charles R <[EMAIL PROTECTED]> wrote:
> From: red phoenix [mailto:[EMAIL PROTECTED]
> Subject: Tomcat5.5.17 JNDI configure e
Greetings -
I have a question about the granularity of authentication within
Tomcat 5.x. I have read the Tomcat 5 docs, the Java Servlet
Specification version 2.4, and done some looking through the email
archives. Hopefully this topic hasn't already been beat to death.
I would like to
When starting a new thread (ie sending a message to the list about a
new topic) please do not reply to an existing message and change the
subject line. To many of the list archiving services and mail clients
used by list subscribers this makes your new message appear as part
of the old thread. Thi
Redhat AS 3 Tomcat 5.0.28
Hello,
I verified ('tar xvf' or 'jar tvf') my .war file is not corrupted.
Any ideas as what might be causing this when I try to expand the .war file ?
>From catalina.out:
WARNING: Exception while expanding web application archive myapp.war
Thanks,
Farid
---
Doesn't look like there's a simple solution. You can get an LDAP
adapter for RACF which should make it fairly easy to plug in a JAAS
adapter. There's the CAS project (http://www.ja-sig.org/products/cas/),
which provides enterprise-level single-sign-on, you can connect to that
via Acegi Security (
We just moved from Tomcat 5.5.17 to 5.5.20. Our application uses the
JavaMail Session as a resource configured in the server.xml. When
sending an email in our application I was getting the following
exception:
=20 javax.naming.NamingException: Could not create resource factory
instance [Root
Unfortunately, we don't have WebSphere,
which is one reason we're looking into Tomcat. The URL you sent me
in another email concerning reals is of great interest, though. Thank
for that.
Kevin Mullin
Sr. Analyst
IBM Corporation
(206) 345-7068
[EMAIL PROTECTED]
"Caldarale, Charles
R"
Hi Jim,
The very first thing I would be tempted to try the following "Copyright \ua9
2006"
I have a JSP page which contains what I believe to be a UTF-8 character;
namely, octal \302\251, which I understand to be the UTF-8 coding for the
copyright symbol. When this page is rendered in my browser, what appears
is A-circumflex, the Latin-1 character corresponding to octal \302,
followed
> From: red phoenix [mailto:[EMAIL PROTECTED]
> Subject: Tomcat5.5.17 JNDI configure error
>
> But when I run it,it raise following errors:
>
> org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot load
> JDBC driver class 'oracle.jdbc.driver.OracleDriver'
Where did you put the jar containin
What is giving you this error? Is this from the browser, or something
from a startup script?
Check your services (Control Panel->Administrative tools->Services), and
make sure the Tomcat service has started. If it hasn't go ahead and
start it from the Services control panel. You shouldn't need
> From: Caldarale, Charles R
> Subject: RE: Tomcat User Authentication
>
> You probably don't want to use tomcat-users.xml at all;
> replace it completely with a JAAS-compliant interface to
> RACF.
I would not be surprised if someone from the WebSphere side of your
house has already done somet
> From: Kevin Mullin [mailto:[EMAIL PROTECTED]
> Subject: Tomcat User Authentication
>
> We have our own userid authentication process on our IBM
> mainframe computers which uses something called RACF. Is
> there a way to get Tomcat to use this processs to determine
> proper userid and passwo
Tomcat comes with a file, tomcat-users.xml,
which is used for user authentication and to determine what they can access.
We have our own userid authentication process on our IBM mainframe
computers which uses something called RACF. Is there a way to get
Tomcat to use this processs to determine p
I use JDK1.6 and Tomcat5.5.17,I want to use JNDI in tomcat,so I do like
follows:
Tomcat/conf/context.xml
WEB-INF/web.xml
Tomcat/conf/server.xml
..
..
Tomcat/webapps/myweb/WEB-INF/web.xml
..
Oracle Datasource example
jdbc/test
javax.sql.DataSource
Anil Ranka wrote:
> Pascal,
> Thanks for detail scenario. I am working on a product which should run on
> any platform. I am looking for a very generic solution which can run on any
> platform.
>
> Any pointers.
Umm... stop dreaming ;)
As soon as you enter HA clustering and failover, there are
Hi All,
I see the following errors in the error.log file.
Not really sure of why these occurring.I am using log4j in my
application
I get the following error in the logs.
[error] [client] File does not exist:
/tomcat/webapps/ROOT/com/common/LogEntryBeanInfo.class
[error] [client ] File does
Pascal,
Thanks for detail scenario. I am working on a product which should run on
any platform. I am looking for a very generic solution which can run on any
platform.
Any pointers.
Anil S. Ranka
On 9/29/06, Pascal Bleser <[EMAIL PROTECTED]> wrote:
Anil Ranka wrote:
> I am new with Tomcat
> From: Darren Clarke [mailto:[EMAIL PROTECTED]
> Subject: Re: Defining loggers "best" approach?
>
> But as Mark's loggers are 'static', don't they have the same
> semantics WRT serialization as 'instance transient' ?
Yes, except they're now shared by all instances of the class. That may
or m
> But as Mark's loggers are 'static', don't they have the same
> semantics WRT serialization as 'instance transient' ?
Should be. After deserialization, all static fields should be (re-)initialized,
thus, leading to logger being present, class-wide.
> If so, Mark's would seem more efficient to
But as Mark's loggers are 'static', don't they have the same
semantics WRT serialization as 'instance transient' ?
If so, Mark's would seem more efficient to me (though I could be
wrong) due to reduced object instantiations.
Darren
On 29 Sep 2006, at 14:20, Caldarale, Charles R wrote:
Most db vendors provide a client app for direct console access to the
server. For MySQL, it would be /bin/mysql. Not sure what MS's is. You
could also provide specifics of your setup so others with SQL Server
experience can help.
--David
Aynalem, Seblewengel (Trawick) wrote:
>The db and tomca
> From: Mark Shifman [mailto:[EMAIL PROTECTED]
> Subject: Defining loggers "best" approach?
>
> Is there some advantage to defining the logger as private transient?
The transient attribute prevents the reference from being included in
serialization of the encapsulating object (e.g., session reco
I recently was looking at Niall's source code for LazyDynaBean and saw
that he defines his logger this way:
* private* *transient* Log logger = LogFactory.getLog(LazyDynaBean.*class*);
...
*private* Log logger() {
*if* (logger == *null*) {
logger = LogFactory.getLog(La
The db and tomcat server are on the same machine. No firewall is blocking the
connection and the server url is specified correctly. How do you connect to
the db server using fat client?
Thanks for your help.
Seble.
-Original Message-
From: David Smith [mailto:[EMAIL PROTECTED]
Sent:
I don't use SQL Server, but I would think an I/O error would imply a
network problem initializing a connection to the server. Are you sure
you specified the server's url correctly and there are no firewalls
blocking communication? Can you connect to the db server from your
tomcat server using a s
Hi all,
I am using tomcat 5.5.17 and SQL Server 2000 (with SQL 2005 Driver). I have a
login page that tries to connect to the database and verify user name and
password but the following error comes up:
org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create PoolableConnection
Factory (
I haven't dealt with TC 4 in a long time. I would think it's the
difference in how the user is forwarded to the resource. An internal
forward leaves the browser to compute relative paths based on the
original request URI while an external forward offers the browser a new
request URI to compute re
Hi again, Mark et al;
Am Fri, 22 Sep 2006 07:23:29 -0400
schrieb Mark Thomas <[EMAIL PROTECTED]>:
> > attachments. So far, recieving and decoding messages (small sizes,
> > or locally) works well, but external tests using the remote sender
> > client and bigger attachments always ends up like t
Anil Ranka wrote:
> I am new with Tomcat Clustering feature. I have configured my three
> tomcats nodes in cluster mode and they are talking to each other no issues.
> Out these three nodes N1, N2 and N3 only one node will be ACTIVE node and
> rest two will be PASSIVE. ACTIVE means my app will be
I solved the problem.
The server had a incorrect LOOPBACK interface settings
Thanks
Raffo
Xiao Xiao wrote:
Hi,
Saying i have the following web-app structure:
WEB-INF/web.xml
html/logo.gif
html/welcome.html
logo.gif
in the web.xml, html/welcome.html is defined as one of the
welcome-file, which includes an image defined as src="./logo.gif". My
question is
Thanks Charles.
Is there any other way to know which servlets are casuing this issue??
So, i I dont fix this problem, is there a potential of a break down in
the near future?
Any one else encounter this problem? What are the typical causes?
-Riz.
Caldarale, Charles R wrote:
From: Rizwan Mer
The shutdown port is always bound to the localhost interface (127.0.0.1)
for security reasons. There is no chance of changing that. Does your
system have a valid localhost interface? Also what OS are you working with?
--David
Raffaele Viola wrote:
1) port 8005 is not available on the ma
1) port 8005 is not available on the machine (not allowed to that user
or used by another application already), free it or change it in
server.xml
I try to change the port but I still have the problem
2) you have changed tomcat configuration on a perhaps multi ip machine
to bi
Hello List,
How can I set up Tomcat5 to allow accses only to one specific webbapp
directory?
For instance, I have a webapp directory 'mywebapp'. when ever tomcat is
called on another location (ROOT) I want tomcat to perform a 404 or simular
error. (best would be tomcat not answering at all.)
Than
38 matches
Mail list logo