In my web application one of my pages is uploading a photo to the path
/usr/local/rac/picture-name-goes-here
The photo is uploading fine, but I need to access it in another page and when I try to access it from my JSP, it will not show up, I am guessing my path to the photo is incorrect
The code in my JSP to access the photo looks li...
When I try to deploy my Spring application to Tomcat, it gives me errors (localhost-{date}.log) saying I'm missing commons-pool-{version}.jar.
However, the source code is part of a STABLE release. I'm using maven to build and I've successfully built and deployed this project successfully (earlier today, in fact). So something must ha...
i want to run php programs using tomcat servlet software, after installing when i tested the php test file i got this error
java.lang.UnsatisfiedLinkError: net.php.servlet.send(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;Z)V
net.php.servlet.send(Native Method)
net.php.se...
I need to share sessions between multiple domains.
By multiple domain I mean, I have one instance of tomcat6 running. And I can access my webapp using urls
localhost:8080/webapp/test.jsp and
myhostname:8080/webapp/test.jsp (as I configured dns entry in hosts file)
Now,
The javascript fires ajax calls to localhost:8080/webapp/ActionA ...
I have developed a simple Apache-Axis java web service using Eclipse IDE and now it works successfully. I have generated test client also which provide by the IDE automatically. I can see that deployed web service is in the IDE server node when I expand it. (I have already added the tomcat 6.0 server to the Eclipse).
But the problem is...
please tell me .. how to set up a remote debug in Tc Server(Tomcat) ?
I have (Tc Server, Idea 8, Java 1.6)
Thanks..
...
I have read through several answers to this and none of them have worked. I have put a cachingAllowed in my app's META-INF/context.xml.
I have put cachingAllowed = 'false' in the server.xml and context.xml in vain. I have also deleted my work/[app] cache, this is what I'm seeing on resources coming back.
JSP - Looks good!
Request UR...
As of now, everytime I make a code change, I do a Make, then build (sorry don't have my IDEA IDE handy to get the real names).
But I run the app on tomcat, so the files go to my /output folder during the make/build process. ( i am using maven also).
Is there a single shortcut key that can do both of these? Or do I just need to do a bui...
I am migrating my single server tomcat to a cluster, load balanced and cached by Apache HTTPD (reverse proxy with mod_proxy).
Is it possible to convert the certificate and keys to the apache format or i have to re-issue the whole thing?
...
Contrary to the documentation, is it possible to use the servlet 3 spec with tomcat 6?
...
So I have spent the past 11 hours now trying to get even the simplest Scala/Lift app to run on Tomcat through Eclipse. Apparently no one is trying to do this or it is the easiest thing in the world so no one has documented how they did it. Creating the code using a maven archetype and running it with mvn tomcat:run is no problem. Making ...
I try to manually compile JSPs using org.apache.jasper.JspC from my application. After setting the JSP and invoking execute() to compile it, I get an java.util.EmptyStackException without any further notice. Does anyone know what it means in the given context?
...
We have a new client, and currently we are performing stress test on the production like server with 100 concurrent http threads (using Jmeter). The problem is even though we have 2 Xeon Processor (each CPU with 4 core, total to 8 core), i can only see tomcat utilizing 4 cores, not 8 cores. the 4 cores i believe it belongs to only 1 proc...
Hello there! Just asking for some recommendations. I looking for good hosting alternatives for a GWT webapp. Google AppEngine is a problem due to FatTable limitiation for the DB. Planning to run hibernate Postgres/MySql. One host that I've found offers 100MB for the JVM which seems very little. They offer Tomcat6.
I'm looking for som...
Basically my problem is a that I need to copy an uploaded file (which is placed in a temporary folder on my server providers Tomcat ie. not a local Tomcat).
The code I'm using works when I deploy my project on my local machine but stops working when I deploy it live.
I've found out that it has something to with my permissions in java.po...
Hi guys - one more wicket question :)
I got a form and some text thats shown, after you submit the form. At the moment it does the following:
User1 types some text and submit the form -> get some result
User2 enters the site and see the input from User1 -> has to delete the input and types his own -> get a new result ...
I think you g...
Hi,
I'm running the maven repository manager Nexus on Tomcat. When I setup my pom file, my repository URLs all look something like http://myhost/nexus/repo-name. I'd like to get the word "nexus" out of the URL. We're currently transitioning from an older repository manager and now we need to update all of the URLs. However, if we had a ...
I got a web application using the spring-security framework. I setted up a database to store users and their roles, but tomcat gives the following error.
17-sep-2010 11:56:14 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [org/springframework/...
I have a web application written using Tomcat 6 and I'm trying to make it work with Tomcat 7. During its startup the application, besides other things, registers its web service component at some remote directory. For this it needs to supply its own URL. The following (a little bit naive) method should return webservice URL:
import org....
I'm trying to deploy an application to Tomcat 7 on a Windows server. I have a local copy set up and have tested with Eclipse without any trouble, but on the production server I get IncompatibleClassChangeError messages.
This had been a problem on the local server when there were problems with the classpath, but I configured the correct...