I'm using the Sysdeo plugin to connect Eclipse (Gallileo) to Tomcat 6.0. When I deploy a new project I can see the project.xml file in Tomcat 6.0\conf\Catalina\localhost directory. But somehow Tomcat is not seeing this information because when I point my browser at http://localhost:8080/project I get a message that the requested resour...
dears
does anyone knows if tomcat can restrict access to certain application by IP address
(like apache .htaccess )?
hope someone can help me ?
regads
...
I'll need to develop a Java service that is simple because:
It only communicates via a TCP socket, no HTTP.
It runs on a dedicated server (there are no other services except the basic SSH and such)
Should I make this a standalone service (maybe in something like Java Service Wrapper) or make it run in a container like Tomcat? What ar...
Hello,
In the Tomcat container, do all the filters associated to a servlet and the servlet itself use the same thread? i.e, will doFilter() be run in the same thread as a servlet's service() method? Thanks in advance.
...
Hi folks,
I'm here facing a problem with a Java web project. The project I'm working on has been made with standard jsp mixed up with jsf pages.
The main page of the application, called main.jsp is a standard jsp page that needs to access a managed bean with session scope created within a servlet filter used to check the authentication o...
Hello all,
I have a VM running tomcat on a private network. I wanted some people to be able to access it from outside the network.
So, my private VMs IP from inside the network is 192.168.0.1:8080. I created a proxy: my.web.address.com/testPortal/ that points to 192.168.0.1:8080. However, every time you access the link, it redirects t...
Hi,
I check out the Mojarra JSF 2.0 helloworld sample from here (just enter guest as username).
I import it as maven project to eclipse (v 3.5) with a tomcat 6 server. I have the mojarra dependencies for running JSF 2.0 inside a servlet container.
When i package it and because the jsf dependencies have compile scope, these jar are alre...
Hello,
we are testing our Tomcat 5.5 Server on a debian system. And we can see, that a few requests are very slow and can't find a reason therefore.
We did some tests with Apache benchmark like this:
# ab -n 10 -c 1 http://localhost/demo/startseite
...
Connection Times (ms)
min mean[+/-sd] median max
Connect: ...
if i am starting the tomcat or any one server for run the web application it give the error like Source not found for URLClassPath$JarLoader.getJarFile(URL) line: not available in myeclipse.
...
I have a question about processing within the ISAPI Redirector, in the AJP13 processing in particular is where my situation is occurring. At least that is what I think based upon what I am getting from the logs.
First let me describe my setup/config/platform. I am running Tomcat 6.0 (file version 2.0.4.0 per the 'tomcat6.exe' properties...
I'm having a problem with an incorrect HTTP Response Content-Type header while accessing an Axis2 web service hosted in Tomcat behind Apache through an AJP/1.3 connector.
I can access the web service without problems in the browser through its RESTful interface and I can see the results but somehow Apache is changing the response Conten...
I have a jsp application setup with apache/tomcat. My main application is like www.foo.com/main/index.jsp . The content of my main applications is provided by many users. For these users I want to create mini-sites, each containing just the profile of the user and the content he has provided (so it's just a couple of jsp pages for each u...
I am fairly new to web development. So I apologize if this is a very basic question. For example, I create a web application and deploy it to tomcat. Now when multiple users hit the web application, does tomcat create a new thread per user? If that's the case then can I still create threads in my application itself and expect it to stay ...
I have a factory method in my JSP which looks for a config file in a predefined location example \abcd\configfolder\conf.xml and i have no control over this path...i currently have the file at location C:\Myfolder\project\abcd\configfolder\conf.xml and the tomcat does not find it.. so i think i need to include C:\Myfolder\project in my t...
when i run the following jsp in my tomcat...
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body> Before:cp=<%=System.getProperty("java.class.path")%>
</body>
</html>
i get this output...
Before:cp=C:\apache-tomcat-6.0....
I wrote servlet that writes an image to the root directory of my app and then delivers it to client when it gets GET request. Everything works fine when i test it in Eclipse with jetty (came with GWT plugin).
But when i move it to Tomcat, i get filenotfound exception (because image is not written at all so it can't be returned to client...
Hello,
I need to move my application from tomcat6 to tomcat5. The application is deployed, but I can't access it with web browser.
And now step by step:
1) Folders "work/Catalina/localhost/", "conf/Catalina/localhost/" and "webapps/" are free from files connected with my project.
2) Using tomcat-maven plugin I deploy my application a...
Where do I have to put my *.class file in Tomcat Directory?
In my Java-Complete Reference book, they told to put it in C:\Program Files\Apache Tomcat 4.0\webapps\examples\WEB-INF\classes. But now i'm using Tomcat 7.0. There is no folder exists with the name "examples" in webapps.
How can I fix this? Can you tell me links that will ill...
I'm try to create web service base on axis2 (without a ServletContext). I have code that work properly (Spring + Hebirnate) and try to put it into AAR as it describe in this article and this one . All work good except hibernate.
I have:
<bean id="dataSourceCommon" class="org.apache.commons.dbcp.BasicDataSource"
destroy-method="c...
I have a strange issue. The problem is when I am running tomcat 6 on my machine, it puts quotes in the cookie value. For example if a cookie name is A and its value is key=us&val=wdc, it puts a quote around the value and the value looks like "key=us&val=wdc". The problem is, I do not want tomcat to put such extra quotes in the cookie val...