Tagged Questions
0
votes
2answers
23 views
Tomcat 7 /WEB-INF/ directory mapping
I want to map all requests to a specific servlet but Tomcat won't let me map the /WEB-INF/ directory.
My web.xml file.
<servlet>
<servlet-name>TestServlet</servlet-name>
...
0
votes
1answer
19 views
HttpServletRequest cannot be resolved while i am trying to do my first program in Struts
I just started writing a basic program for structs, i did installed tomcat and set the CATALINA_HOME to - C:\Program Files\apache-tomcat-7.0.41
and set the path variable to - %CATALINA_HOME%\bin;
i ...
0
votes
0answers
15 views
GWT 2.5.1 and IntelliJ debug mode, serializable exception
I am running IntelliJ 12.1 for a GWT project. I cannot get the GWT configuration to work, I keep getting a serializable exception.
I am also using maven and tomcat and running the web app project ...
0
votes
1answer
15 views
CXF- FileNotFoundException with Maven and Tomcat 7
I try to get a web-app running within Tomcat 7. I'm using Maven and with the jetty-Plugin everything works fine. When building the war and deploying it to Tomcat7, I get a FileNotFoundException for ...
0
votes
0answers
20 views
Apache Tomcat and SQLServerDataSource configuration
I work with Java-based web application in Tomcat.
I connect my application with Oracle with this:
<Resource name="jdbc/conn" auth="Container" type="oracle.jdbc.pool.OracleDataSource" ...
3
votes
1answer
48 views
request.getSession(false).invalidate not work after logout
I have a webproject with tomcat, java, jsp, servlets.
If i logout on my webproject frontend, i want to destroy all sessions. But the following code doesn' work. I expect that all session are ...
1
vote
1answer
49 views
OutOfMemoryError (GC overhead limit exceeded) but still a lot of free space
In our Tomcat application, we get an "OutOfMemoryError: GC overhead limit exceeded".
But Runtime.getRuntime().freeMemory() reports 576 MB are free.
How can this happen?
The error is thrown from ...
-1
votes
0answers
18 views
PersistenceException: models.Task is NOT an Entity Bean registered with this server?
My Play 2.1.1 application works correctly when running as a standalone server. However, after I use the Play2-War-Plugin to create a war, and put it in Tomcat7, I got the following error:
Here's the ...
0
votes
2answers
18 views
Avoiding the embedded tomcat in eclipse
I am using eclipse as my development IDE. I created a Server Runtime Environment using tomcat and I am able to run the project on the server which basically runs on the tomcat local to eclipse.
I ...
1
vote
2answers
46 views
Tomcat process killed by Linux kernel after running out of swap space; don't get any JVM OutOfMemory error
I was performing load testing against a tomcat server. The server has 10G physical memory and 2G swap space. The heap size (xms and xmx) was set to 3G before, and the server just worked fine. Since I ...
1
vote
1answer
18 views
Cannot load xsl file
I need to do a transformation in my java application. I am have trouble loading the the xsl file. I'm using tomcat, the path location is:
C:/tomcat/webapps/ROOT/WEB-INF/classes/config/myfile.xsl
if ...
1
vote
1answer
30 views
Running Apache DefaultHttpClient and redeploying web app in Tomcat means Permgen space
I have been around this problem few months and now I am sure HttpClient is the responsable of my permament PermGen Space errors.
My web app uses a Servlet.
One of the functionalities allows users to ...
0
votes
0answers
27 views
Migrating a servlet from Tomcat to Lighttpd
I have a locally hosted (Tomcat 7) website. In this project I have a servlet which is working quite well (ht tp://local host:8080/so/hello).
When trying to migrate this website (including the ...
2
votes
2answers
43 views
get JAVA_OPTS at runtime
My app is deployed on Tomcat and I've configured the JAVA_OPTS environment variable in /etc/default/tomcat7.
There seem to be a million different places where these variables can be provided to ...
1
vote
0answers
9 views
Android ;download file from PC using DownloadManager
I following this tutorials http://blog.vogella.com/2011/06/14/android-downloadmanager-example/
to use Download files located on my Personal Computer
I change the url to ...