The TOMCAT server is using an Oracle 9G ojdbc14 driver to its jndi connections in the /common/lib folder.
My web application uses Maven + Spring and I'm getting the dataSource using Spring jndi features.
I'm trying to bypass TOMCAT old ojdbc14 driver with a newer one (ojdbc14 10.2.0.4.0).
I've tried putting the jars in the WEB-INF/lib ...
I have got an application that is not compatible to work using IE8 browser.
I am looking for a way to to configure Tomcat on which this application run, so the pages could be read by IE8 and treated as if they are IE7 or IE6
By googling so far I found a possible suggestion which say to add to the http response the header:
X-UA-Compati...
Hello,
We have a tomcat 5.5 which is logging a lot of messages like these:
2010-05-20 14:07:04,242 DEBUG [org.apache.catalina.session.ManagerBase] - End expire sessions StandardManager processingTime 1 expired sessions: 0
2010-05-20 14:07:04,242 DEBUG [org.apache.catalina.session.ManagerBase] - Start expire sessions StandardManage...
Hello guys,
I have an application which e-mails confirmations. The email part utilises Commons Mail API. The simple code which does the send mail is as shown below;
import org.apache.commons.mail.*;
...
// Create the attachment
EmailAttachment attachment = new EmailAttachment();
attachment.setURL(new URL("http://cashew.org/doc.pdf"));
...
Dear,
I am using Eclipse IDE and Apache Tomcat5.5, in that my program is executes on localhost but not in when insert on server. Plz help me try to solve this problem.
...
hi
im using tomcat as servlet container for my web app , now im controlling my web app logs with log4j and its has its own log4j jar and its own log4j configuration file
but now i need to control the main tomcat logs (Catalina.out for example) .
i need to roll then by size and control its debug level how can i do that
without adding l...
I've written a small web app in Java. It sends out mail via the Jakarta Commons SimpleEmail class. I've tried JavaMail and I've gotten the same result. The code works on my local copy of Tomcat, but it fails when I deploy it to any test server. Further, I can telnet to the SMTP relay from all of the servers I've tested this on.
I've...
I've been getting some exceptions on my production machine (terrible i know!) and they are always XML parsing exceptions from ActiveResource. They always throw an error about invalid xml saying
Couldn't find end of Start Tag c line 1337
When I look at line 1337 of the xml request (if I make that service request in my browser) the...
Hi all,
I have a very simple file upload mechanism in java. I just take the file and save it on the server. I'm testing this simple code with selenium and when a timeout occurs in the selenium test tomcat creates 0 byte files under tomcat_home/work/Catalina/localhost/uploadServlet/ directory as MultiPart* files. It creates thousands of ...
Is there a way to run log4j appender at a specified time?
log4j.rootLogger=INFO, R
log4j.appender.R=org.apache.log4j.DailyRollingFileAppender
log4j.appender.R.File=${catalina.home}/logs/catalina.out
log4j.appender.R.DatePattern='.'yyyy-MM-dd
log4j.appender.R.layout=org.apache.log4j.PatternLayout
I have put the log4j.properties under /...
Hi,
I have developed a JSF 2.0 application and tested it on Apache Tomcat 6.0. The problem is that the official server can only have version 5.5 installed. So I tried to deploy it as it was but I kept getting the JasperException. I figured out that the problem probably lies with the standard.jar and jstl.jar. How can I deploy it then? Ho...
Hi All,
I've been running SOHT (0.6.1) (http://www.ericdaugherty.com/dev/soht/#Introduction) Socket over HTTP Tunneling for awhile now. After a debian upgrade that forced Tomcat 5.5 to 5.5.26-5 - SOHT server has stopped working - sort of.
The application is still deployed. The JSP admin side responds, but the service side accepts a s...
I have installed Tomcat 5.5 in windows vista home basic. I have set classpath to
"C:\program files\apache software foundation\tomcat 5.5\common\lib\servlet-api.jar".
now there are two problems.
1. I could not compile my servlets. It says package javax.servlet.* dosenot exist.
2. I could not connect with local host in chrome nor in explo...
Is it possible to use a single log4j jar file in an tomcat 5.5 setup, where it can be used by multiple webapps and have seperate logging for each webapp?
I have about 8 different webapps written where the only real difference between the log4j property files is the log filename. However if I attempt to move log4j from the webapp WEB-INF...
I'm currently running my web application on Java1.5 codebase, running it on Tomcat 5.5 and MySql 5. Looking through the list of additions that were added into Java1.6, I have to ask the question, "Is there any compelling reason to move from 1.5 to 1.6?". There seems like an incredible lack of necessary improvements and additions. A lo...
I have been using IntelliJ IDE (version 5.1) with Tomcat server (version 5.5) to build my Java web applications. I'm now trying to migrate my project to Eclipse IDE.
When I run my web application from IntelliJ IDE, it creates a exploded directory inside my web application project folder and then starts the server and runs the web app. (...
Recently, I started to experience strange behaviour in JBOss 4.0.5 JSP application. The JSP compilation fails on first (second, third,..) attempt with exception:
17:24:29,909 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
java.io.IOException: tmpFile.renameTo(classFile) failed
at org.apache.jasper.compiler.SmapU...
HTTP Status 404 - /JspTest1/
type Status report
message /Projectname/
description The requested resource (/Projectname/) is not available.
...
I have deployed an axis2 web service on Tomcat 5.5. The web service functions as expected. But I noticed I was getting duplicated log entries. After researching it became clear that multiple instances of the class were being created - ie the first time it ran, one log entry; second time, two entries and so on.
I added the scope="appl...
Hi,
While I start tomcat, I am getting the following exception. Could you let me know the reason.
Here is the complete stacktrace.
java.lang.ClassNotFoundException: org.apache.juli.logging.LogFactory
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1438)
at org.apache.catalina.loader.WebappClassLoader.lo...