Re: Tomcat5.5.17 JNDI configure error

2006-09-29 Thread Len Popp
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

Cache of dynamic picture

2006-09-29 Thread John Mok
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

Re: Tomcat5.5.17 JNDI configure error

2006-09-29 Thread red phoenix
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

Authentication Granularity Question

2006-09-29 Thread Nathan Potter
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

Re: Can not expand the .war file

2006-09-29 Thread Mark Thomas
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

Can not expand the .war file

2006-09-29 Thread Farid Hamjavar
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 ---

RE: Tomcat User Authentication

2006-09-29 Thread Tracy Nelson
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 (

What happened to MailSessionFactory?

2006-09-29 Thread Russ Bonsall
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

RE: Tomcat User Authentication

2006-09-29 Thread Kevin Mullin
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"

Re: Problem with UTF-8 characters in JSP page

2006-09-29 Thread Pulkit Singhal
Hi Jim, The very first thing I would be tempted to try the following "Copyright \ua9 2006"

Problem with UTF-8 characters in JSP page

2006-09-29 Thread Jim Coble
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

RE: Tomcat5.5.17 JNDI configure error

2006-09-29 Thread Caldarale, Charles R
> 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

RE: Apache Tomcat\Windows XP\"page not found" error

2006-09-29 Thread Tracy Nelson
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

RE: Tomcat User Authentication

2006-09-29 Thread Caldarale, Charles R
> 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

RE: Tomcat User Authentication

2006-09-29 Thread Caldarale, Charles R
> 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 User Authentication

2006-09-29 Thread Kevin Mullin
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

Tomcat5.5.17 JNDI configure error

2006-09-29 Thread red phoenix
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

Re: Help with Tomcat Clustering and load balancing

2006-09-29 Thread Pascal Bleser
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

http requests for nonexistent *BeanInfo.classes

2006-09-29 Thread shashidhar.vutukuru
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

Re: Help with Tomcat Clustering and load balancing

2006-09-29 Thread Anil Ranka
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

RE: Defining loggers "best" approach?

2006-09-29 Thread Caldarale, Charles R
> 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

Re: Defining loggers "best" approach?

2006-09-29 Thread Nikola Milutinovic
> 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

Re: Defining loggers "best" approach?

2006-09-29 Thread Darren Clarke
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:

Re: org.apache.tomcat.dbcp.dbcp.SQLNestedException

2006-09-29 Thread David Smith
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

RE: Defining loggers "best" approach?

2006-09-29 Thread Caldarale, Charles R
> 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

Defining loggers "best" approach?

2006-09-29 Thread Mark Shifman
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

RE: org.apache.tomcat.dbcp.dbcp.SQLNestedException

2006-09-29 Thread Aynalem, Seblewengel (Trawick)
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:

Re: org.apache.tomcat.dbcp.dbcp.SQLNestedException

2006-09-29 Thread David Smith
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

org.apache.tomcat.dbcp.dbcp.SQLNestedException

2006-09-29 Thread Aynalem, Seblewengel (Trawick)
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 (

Re: Diff behaviors for relative-path resource mapping in TC4 and TC5

2006-09-29 Thread David Smith
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

Re: tomcat + axis service:

2006-09-29 Thread Kristian Rink
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

Re: Help with Tomcat Clustering and load balancing

2006-09-29 Thread Pascal Bleser
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

Re: problem starting tomcat

2006-09-29 Thread Raffaele Viola
I solved the problem. The server had a incorrect LOOPBACK interface settings Thanks Raffo

Re: Diff behaviors for relative-path resource mapping in TC4 and TC5

2006-09-29 Thread Xiao Xiao
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

Re: Shutdown log - deallocating instances

2006-09-29 Thread Rizwan Merchant
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

Re: problem starting tomcat

2006-09-29 Thread David Smith
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

Re: problem starting tomcat

2006-09-29 Thread Raffaele Viola
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

Tomcat Security rules

2006-09-29 Thread news
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