Hello,
I am trying to set up juddi-2.0rc6.jar with tomcat 6.0.20. I tried to follow the “Getting started” document as strictly as I can (it was ambiguous at some places). But, I am getting the following error,
DB connection was not acquired. (Cannot create JDBC driver of class '' for connect URL 'null')
SELECT COUNT(*) FROM PUBLISHER f...
Hello,
Initially I had a webapp called "admin" running fine, deployed inside the $CATALINA_HOME/webapps/ directory of tomcat 6. Now I tried setting up a vitual host to run this webapp.
Step1: I added the following in $CATALINA_HOME/conf/server.xml
<Host name="mysubdomain.domain.com" appBase="keshav">
</Host>
Step2: I created a fol...
If i try to use this action (test2) it always returns "The requested resource (/WebApplication4/newFolder/test2.jsp) is not available."
Running tomcat6 and netbeans 6.7.1
config.xml (it is included in struts.xml):
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuratio...
After I have deployed and clicked around in an application, tomcat won't shut down gracefully from within the Netbeans IDE.
This is what can be seen in the netbeans/tomcat console after "stop" has been pressed.
Sep 27, 2009 11:17:40 PM org.apache.coyote.http11.Http11BaseProtocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8080
Sep 27, ...
I'm following this example to get Spring up & running: http://static.springsource.org/docs/Spring-MVC-step-by-step/part2.html
What they do is move all .jsp files inside the WEB-INF, to stop users accessing them directly... so far so good. However the servlet has a welcome page of index.jsp, and when this is moved inside the WEB-INF dir ...
On startup, Tomcat recursively scans the WEB-INF directories for TLD (Tag Library Descriptor) files. As a result, if a webapp has a lot of files under that directory, it slows down the startup process. Does anyone know if there is a way in that situation to turn off scanning completely, or at least provide a filter to narrow the search...
Hi all,
I am trying to setup Tomcat to work straight from a USB flash drive. I know that is possible to run apache + mysql + php from USB flash, but what about tomcat?
I found this link which contains some explanations but the links to download the sourcecode or the bin are not working.
http://www.javalobby.org/articles/tomcat2go/
B...
Trying to get my way trought Comet with Java servlets, I encountered a big problem: There seems to be no way to use the established connection to the client to send the server additional data from the browser (works in plain java when writing to the inputstream).
Following problem arises for a CometChat application when a Client connect...
Is it possible to find out the number of open sessions reliably in Tomcat (i.e. not only the amount of users who have logged in since [current time]-[session time out], but the number of sessions stored on the server)?
...
I would probably say this is more of a general posting asking for advice rather than a direct solution request.
I am currently in the process of laying down the design and infrastructure for a startup with a colleague of mine, nevertheless, my experience lays in the realm of Java Swing development and JavaScript/Ajax worlds as well as s...
I am trying to redirect erroneous page requests - 404 errors - to a custom error page. In order for my servlet, instead of the root servlet, to handle these requests, I entered the following url-pattern:
<url-pattern>/</url-pattern>
Unfortunately, this also catches embedded requests for files like *.js, *.css, *.png, *.jpg, and other...
Hai to all,
Please let me fly on top ,
I really strucked up at creating a batch file , which installs Tomcat and my java exe application and copy some files to the specified directory and it has to close automatically.
thanks in advance .
...
So our new webapp project is based on maven. I'm really liking the dependency management and IDE agnostic approach but I'm having problems with compilation and debugging.
Here's how I would currently get a clean copy of the project working
Check out the main project from SVN
Open the project in IDE (I've tried in eclipse 3.4 and netbe...
I set up a bean with an id of "exceptionResolver" made it an instance of org.springframework.web.servlet.handler.SimpleMappingExceptionResolver. Then I define two properties, "defaultErrorView" and "exceptionMappings".
As I understand it this should catch any exceptions thrown in my web application and forward to the view I've specifie...
I have a scenario where the unit of work is defined as:
Update table T1 in database server S1
Update table T2 in database server S2
And I want the above unit of work to happen either completely or none at all (as the case with any database transaction). How can I do this? I searched extensively and found this post close to what I am e...
I wanted to configure Tomcat6.0 authentication via JDBC realm Configuration.**
I checked following:
-All my "users" and "roles" are stored in MySQL database.
-MySQL JDBC drives are in tomcat\lib directory
-Tomcat-user-xml is modified for such realm as below
<-Realm
className="org.apache.catalina.realm.JDBCRealm" driverName...
Is the performance of tomcat is reduced if we implement more filters in the web application?
...
Hi i am new to cactus and when i am using tomcat5.1 and have included all the necessary jars. But when i am trying to execute it, it is showing the error,
Error : "javax.servlet.ServletException: Failed to load test suite [SampleTest], Reason is [Class not found "SampleTest"] "
Please let me know what the problem is??
...
I have 2 webapps
WebApp 2 depends from webapp 1
If webapp 1 is not running, webapp 2 fails
Can I define in tomcat that I always want that webapp 1 starts before webapp 2?
Thanks
...