hello
in my project i call a web service to retrieve files from a content managment system. A method of the web service does a search on the system and returns me some metadata about the file i whish to download : an id, the file name , the mime type and other informations. The problem is that sometimes the file name is empty and the me...
Hi All,
How can I unzip a specific folder with ANT?
Specifically I have downloaded apache-tomcat-6.0.29.zip which contains the folder "apache-tomcat-6.0.29". I want ANT to unzip everything under "apache-tomcat-6.0.29" but not include "apache-tomcat-6.0.29" in the top of hierarchy.
I've tried a bunch of things and I can't seem to ge...
Does anyone know any reason why tomcat might stop responding or any way I can find out why this is happening?
Tomcat seems to run fine for many weeks before falling over but it has happened a few times now.
I have seen this question http://stackoverflow.com/questions/3063073/tomcat-6-hangs-after-a-few-hours which seems to be the same p...
Hi all,
I currently have a webapp that consists of ~100 unique URLs + ~75 pages. The application uses Spring for security and Tomcat to host. My question is how do I prevent the following from happening:
http://localhost/myApp/myPage;rollback;
If that's not clear, what I am trying to prevent is my application from processing anythin...
I need some help figuring out how to make some changes to some .jsp pages that are contained inside of a .war package.
I am using jbilling opensource billing software and need to modify some elements/display and want to do it directly in the .jsp, so I unpacked the .war file and made a change, then packaged it back up and put it inside ...
I am getting a null pointer exception when trying to set up datasource in spring's tc server. Which is basically a Tomcat at its core. Here is the exception I am getting.
org.apache.naming.NamingContext lookup
WARNING: Unexpected exception resolving reference
java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:394)...
We are getting the "java.io.IOException: Server returned HTTP response code: 500 for URL" error for the following code which is for applet-servlet communication. The same code has been working for long and now suddenly we see this error. Could something be wrong with tomcat setup? Tomcat logs do not show any error. The exception is throw...
I have a Jetspeed 2 portal instance that runs on Tomcat 6.0.29 in a Windows 7 machine (used to work on XP). The portal login succeeds but it does not forward to the logged in view. Has anyone encountered this issue? If yes, do you have a fix/ workaround for it
TIA
...
I am trying to do a simple persistence with jpa 2.0 and derby but I keep getting a NullPointerException.
Exception and entity class - http://pastebin.com/QqXhRdcN
The code where I am trying to persist
EntityManager em = emf.createEntityManager();
Course c = new Course("cse", 214, "fall", 2010);
em.getTransaction().begin();
...
I have a .jsp page I'm compiling with ant and deploying to a Tomcat 7 server. A couple of times the output source document has a double-quote character added at a point where it shouldn't be added. It seems to persist through multiple compiles and deploys, but they've always gone away after a while.
Here is a section of the jsp:
<for...
Hi All
I am new to linux I want to setup tomcat 6 on fedora 64 bit. i some how managed to install tomcat by using following command
yum install tomcat6 tomcat6-webapps tomcat6-admin-webapps
but i don't at which directory tomcat installed. also i want to know how i can configure JAVA_HOME and CATALINA_HOME environment variables.
...
I am very new to Tomcat and web development in general and apologize for what may be a very silly question.
Consider 2 situations:
1.
I start Tomcat outside of Eclipse.
I use eclipse to create a war file.
I deploy it via admin console.
All is ok
2.
I start Tomcat via Eclipse
I can't access admin console
http://localhost:8080/manag...
Im exporting a set of data to excel in java, the data has certain non ascii characters, while exporting in Windows machine the data are coming correctly in UTF-8 encoded format.But when i deploy my code in Unix machine it is not working properly.UTF-8 encoding is not working properly.
Im using Tomcat 5.5 server.I have also included URIen...
Hello,
Which version of Apache Tomcat is suited for development? When I get to Apache Tomcat download page, there's not a lot information on that issue.
Thanks for hgelping
...
greetings all
i want to save cookies with subDomains
and i want to know how to do so
this is my current configuration:
ProxyPass / ajp://127.0.0.1:8009/appName/
ProxyPassReverse / ajp://127.0.0.1:8009/appName/
ProxyPassReverseCookieDomain .appName.com *.appName.com
ProxyPassReverseCookiePath / /appName
...
I am working on a Java server side application that needs to provide a SOAP service. For this, we are using Axis2 and deploy in a Tomcat 6 installation.
We have the following issue: we need to run a couple of background threads; one to periodically query another web service for changes in provided data and a second one to monitor and co...
I get this error on my application when i try to run in "Tomcat", in WEBrick works fine:
SEVERE: Application Error
org.jruby.rack.RackInitializationException: wrong # of arguments(0 for 1)
from /home/gpereira/apache/apache-tomcat-6.0.18/webapps/vtsbackoffice/WEB-INF/app/controllers/application_controller.rb:5
and in line 5 i h...
Recently I upgraded my development tomcat from 7.0.0 to 7.0.4. I had things like:
<c:set var="static" value=".." />
<c:set var="class" value=".." />
Both worked on 7.0.0 but stopped working on 7.0.4. I opened a bug, it was closed, with the answer that:
In and of itself, that tag will compile.
The checks for Java identifiers w...
Here are three log exmaples:
127.0.0.1 - - [17/Sep/2010:14:03:07 +0800] "GET /docs/logging.html HTTP/1.1" 200 24040 "http://localhost:8000/docs/manager-howto.html" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)"
0:0:0:0:0:0:0:1 - - [26/Oct/2010:09:53:30 +0800] "GET /docs/images/tomcat.gif HTTP/1.1" 200 193...
Let say I have something like this in a JSP:
<li>
<c:set var="sectionId" scope="request" value="${userSession.sect['Utilities'].id}" />
<a class="header" href="#category-2">Cat 2</a><c:import url="/resources/softwareCategoriesAccordion.jsp"/>
</li>
<li>
<c:set var="sectionId" scope="request" value="${userSession.sect['Games'...