I'm trying to learn how to develop a servlet to run under Apache's Tomcat server on Windows XP. I'm using Tomcat 6.0 with Java SDK 1.6.0_17. My webapp is a simple Hello, world type which I'm building using the latest version of the Eclipse IDE. I'm able to run all the examples in the Tomcat installation but when I export my app from Ecli...
I have 2 Java Web Projects. One runs on JDK 1.5 and the other runs on JDK 1.6. I want to run both of them on the same computer, but the JAVA_HOME environment variable can only have one value. I want to set JAVA_HOME for each Tomcat server
Please help me to solve my problem.
...
I have created a self-signed certificate on my server.
Now I need to import the certificate to the trust store so that the application . If it was Tomcat, I would put it here:
%JAVA_HOME%\jre\lib\security\cacerts
Where is the equivalent in JBoss? Where should I look?
...
I am running Eclipse Galileo with Tomcat 6.0.18.
Currently, I have a working application with the m2Eclipse plugin installed. It deploys to Tomcat and I am able to test my application.
I am wanting to switch over to just using the Maven Eclipse plugin. The problem is that Tomcat is refusing to deploy my application.
I have converted...
Hello,
I've an interesting problem about start/restart of tomcat 5.5
I've deployed n webapps on my tomcat. All webapps work correctly.
Every time when I restart tomcat, never happen that all webapps starts.
If I "click" manually over tomcat manager start link of that webapp no started, that webapp start.
Can anyone suggest me any so...
Hi
I am using eclipse ganymede and tomcat 6.
Nothing appears in my console when im using tomcat 6
Any ideas of what I could do so that i can see logging on the console
All help greatly appreciated
Damien
...
is Jasper a Java compiler itself?
...
Hi,
I have been trying to solve a problem, but I have not found any good solution yet.
The problem is:
I have a web app and this web app is deployed to the $TOMCAT_HOME/webapps/XXX directory.
I can reach that on the http://localhost:8080/XXX address
BUT, I would like to reach the web app on the http://localhost:8080/YYY address too.
I a...
I'm testing a JBoss / Tomcat web application, writing JavaScript tests in .js files. I modify myTest.js, build the .war file and deploy it to JBoss. My Web browser goes to GET the file, but JBoss reports that the file has not been changed so the browser uses the cached version. When I use the FireFox add-on Poster to get the myTest.js...
I know that I'm taking a risk, pitting the differing OS religions against each other, but I would like professional opinions about hosting a servlet container. In my case the container is set, we will be using Tomcat. But what is in question is the hosting operating system. We have administrators experienced in Windows Server 2003. W...
I'm trying to build an axis-based web service with rampart for
security, and I've been hoping to deploy a single war to tomcat,
rather than installing axis and deploying within axis. (I'm not fixed
on that though... this is all very new territory for me, so I could
use any feedback that you might have.)
I'm running into a few problems:...
I have a webapp that runs perfectly in Apache Tomcat 5.5 and I need to "convert it" so it can be deployed in an Oracle Application Server 10.1.3.
Right now I make a WAR file of the aplication, paste it in the "webapps" directory of the Tomcat installation and then start the service (this works with Windows and Linux). Deploying the same...
I am trying to find the best way to pass complex configurations in a Spring webapp running in Tomcat. Currently I use JNDI to pass data sources and strings from the Tomcat context into the webapp, and this works well.
But, lets say I need to select the implementation of a notification service. There is no way that Spring can conditiona...
Hi, i have one application that run on Tomcat,
The application is JSP pages that inturn calls A java file which is actually is the Batch process that inserts data into database.So i want show all the process happening to the client(browser),since all this is happening at server side.I want to get that output(Printed messages), so that i ...
I am fairly new to Servlet Filters and have basically joined a project using them and added an additional filter to the web.xml file (deployed on Tomcat 5.5).
I am 95% sure that at some point it was working correctly but now when debugging if I put breakpoints at the top of the JSP page I am trying to view (login.jsp), it's template pa...
Hello All...
I am developing my application using spring-web-mvc...
Now at my Controller it returns like this :
public class InterfacesManageController implements Controller {
public ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response) throws Exception {
Map<String, Object> myModel = new Has...
Hello All...
I am developing an application where i required to run some of the scripts of unix from Java Code.
Platform i am using is Unix, Tomcat 5.5..
For that, My Sample Code is as follows :
Runtime runtime = Runtime.getRuntime();
Process proc = runtime.exec("netstat -i|tail -n +3|cut -d ' ' -f1");
System.out.println("exitValue =...
I need to know when tomcat accepts a login using realm authentication for a given context. I've been looking at the possible listeners available (ServletContextListener and ServletContextAttributeListener) but can't figure out how to be notified when a login occurs. This should also work when using tomcat single sign on for multiple c...
Im using the Spring RESTTemplate on the client side to make calls to a REST endpoint. The client in this case is a spring app and using Tomcat as the servlet container.
I'm running into issues making a connection to a https endpoint. I am receiving the following error:
org.springframework.web.client.ResourceAccessException: I/O error:...
I would like to prevent Tomcat from listing the files in a directory when the URL ends at directory. This would be like .htaccess for apache.
So that when a user navigates to :
www.test.com/f_apps/ -- nothing is lised or error message
but going to:
www.test.com/f_apps/welcome.jsp -- works correctly
I assume it's a change ...