Hi
I am using Bonita5.2 and the Tomcat6.0.19
I exported the application(which gives a war file and some config file and libraries) and deployed in the tomcat. When I run the application, after the login page, I get the error
description The server encountered an internal error () that prevented it from fulfilling this request.
except...
Hello all,
I'm trying to practice myself with custom class loaders, and I've some questions. Is there a way to indicate the JVM to use my custom class loader globally? For example, I wrote small app running under Tomcat 6. The servlet is managed by the container, where should I set my class loader? In addition, the webapp uses some 3rd ...
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...
When I work in on an servlet application in Eclipse, I have to choose Clean Working Directory in the server tab of Eclipse for the changes to be visible in the browser. Is there any way to make sure that I only have to build my servlet and the changes are immediately visible?
...
I'm having difficulty showing the model values from my controller to my JSP view. Everything works in Tomcat 6. But it doesn't work in Tomcat 5.5. Here are my files.
web.xml for Tomcat 5.5 (For Tomcat 6, I use version="2.5" and the correct schema)
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
...
Hello,
I've implemented a LoginModule to perform some custom authentication, and call the authentication using the login() method of the LoginContext class. The login module's login() and commit() methods are called successfully, but instead of being able to use the web app I am being sent back to the login page immediately. request.g...
I have been thinking, how is it possible for me to send an email when a particular HTTP Error code happens
in my Spring MVC Web app.
Please take a look at my web.xml configuration. It works fine and redirects me to the particular error page.
<web-app ...>
<servlet>
<servlet-name>mvc-dispatcher</servlet-name>
<servlet-...
I need to create databases on the fly in my web application. So I need to create datasources for new databases. Is it possible to create datasource in Tomcat 6 without need to redeploy web application every time new datasource is created?
...
when i type the http://appName.com in the browser it gives me the tomcat-manager home page and if i used http://appName.com/appName/ it go to /appName/appName/ and say dir not found
note: i am using mode-ajp & the app was working fine with mode proxy
how i can solve this issue?
...
Hello all
What is the best way to set up caching on tomcat?
Also how is caching functions?Is it url based,dir based or what?
I need url specific caching so the database don't make the same calculations for the same url's
...
hey guys, i'm new to this forum. at first glance this community looks awesome.
I have an easy question. I am logging with log4j and am new to tomcat.
I have found the file where the log rules are set, filename: server.log4j-console.properties
i use for it to not log all digester in BATCH.debug.log
here is the code in server.log4j-consol...
I don't even have any servers setup except as an External Tool Configuration > Program. I'm using the JPDA connector, and yet when I do certain things like have Eclipse auto generate a serialVersionUID it automatically restarts Tomcat. I can't find where this might be configured in the project properties or the window preferences. I don'...
Hello,
When I start up tomcat, it starts serving out of localhost:8080/. I would like it to start serving out of localhost:8080/aaa. I dont want to replace the "root" webapp with the "aaa" webapp, I want tomcat to treat "/aaa" like "/" in the sense that before where I could do something like
localhost:8080/ --> root webapp
localhost:8...
Hi, everyone,
I want to ask a question about the tomcat and the Linux terminal. I have a jsp file and a tomcat server. After I use the terminal to login in my Linux computer, I want to put the file to the tomcat server. However, I don't know the cmd of this action. Does anyone can help me?
P.S can also provide some basic cmd for the Li...
I have a question regarding the use of Tomcat 6.0.14, and the interaction between the Tomcat built in compression, and custom filters. I am just using Tomcat - with no http server in front.
My problem is that when I enable my filter, the compression seems to be disabled. This is observed by examining the output from a Fiddler trace.
An...
I've developed a Webbapp that makes an extensive use of threads. We need to monitor some resources at fixed intervals and then act.
To achieve this, we've developed a ThreadManager that wraps one ScheduledThreadPoolExecutor. We allow any of the methods of the executor, we only use this manager to make sure everybody uses the same instan...
I am starting to look into Enterprise Java and the book I am following mentions that it will use JBoss. Netbeans ships with Glassfish. I have used Tomcat in the past.
What are the differences between these three programs?
...
Hi, I have a Spring app and I'm wondering the best way to serve static content. I have tried the following:
<servlet-mapping>
<servlet-name>default</servlet-name>
<url-pattern>/static/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>app</servlet-name>
<url-pattern>/</url-pattern>
</servlet-mapping>
Th...
We have several Tomcat servers serving content for a single domain (via an Apache httpd front end.) We do this to balance memory usage on one of our servlets. That is, each server provides the same web application, but for a different data set. We'd like to implement single sign-on on our website.
In other words, we have httpd config...
I am using ANT to deploy build in to Tomcat Server. I Want to compress the static files CSS and JS only when i deploy to the server.
any suggestion?
...