I have a java web application wired using Spring on Tomcat.
I need a way for a user to initiate a background process in the server and return a response to the user without waiting for the background process to complete.
The background process is programmed in java and integrated with my application.
Since i am using tomcat JMS is no...
I have a Java Tomcat web application built in IntelliJ that calls code in another module called "Stuff". I've attached the source of the relevant code to "Stuff" so I can step into it and hit breakpoints, but I cannot see variables or their values. Watches don't work either. All I get is "Debug info unavailable".
How do I see the deb...
I am new to Tomcat and web development so please forgive me.
I am on a Linux box with Tomcat 6 running. I need a directory on the box exposed and browsable via a web browser.
I can get it to work by creating an xml file (path and docBase) in the Catalina/localhost/ directory and enabling "directory listing" in the Tomcat's web.xml file...
I have a tomcat 6.0.20, apr 1.2, jdk 1.6.0_15 with mysql 5.1.38 running on a rhel box with 4 GB ram. There is one simple jsp/servlet application on it with 5 users, one struts 1.2.0.9 with 64 users on it and one struts 2.0 application with 35 users on it. The struts 2.0 users make an entry every second, about 900 entries in a day. I am ...
Hello All,
I am getting the following exception whenever trying to create proxy classes using WSDL.
Few observations :-
1) My WSDL points out/imports following xsd http://200.123.23.196:9090/TOOLBOX/WSDL/temp/temparature.xsd.
If i use the tempratue.xsd in wsdl from above URL, It always fails and throws
following exception in eclipse.
...
Note: I am new to Tomcat...
I am getting this message in the Tomcat localhost_access_log:
127.0.0.1 - - [09/Oct/2009:09:37:30 -0700] "OPTIONS /stl/foo HTTP/1.1" 200 -
Can anyone explain to me where the OPTIONS comes from? I am using a 3rd party library (DirectJngine) but in perusing the source I can't see any reference to this being s...
I'm writing a small web service(like a content server) to search and serve content. Basically it has 2 parts - one dynamic part performing client authentication and providing search functionality over the content. The second part involves serving static content to the authenticated client.
What can be a good architecture for the above s...
I have a Tomcat installed as a Windows service, and sometimes it hangs when I try to shut it down (through services.msc). I tried attaching to it with a debugger, but I don't seem to be able to understand why it's hanging.
When I try to look at one of the threads by doing "Thread.getThreads()[0]", I get an error from the debugger: "Stac...
I have a J2EE application that has two components: First is a service that scrapes some information from internet and fills it into database. Second is a web interface (deployed on tomcat) from where user can browse that information.
What could be the best approach to implement the first component? Should it be run as a background Daemo...
Dear All,
I am running an independent (I mean not inside any IDE) tomcat instance. I want to profile my application because it seams to respond really slow in a particular use case.
So, I tried installing TPTP on my mac os x 10.4 (tiger) but it seams that there is no version available.
Then I tried to just set "JAVA_OPTS="-Xmx512m -Xru...
I'm at a loss, since I'm not a Tomcat person. I need to use a 3rd party's web service and they require Client Authentication via SSL, so they generated and issued me an SSL certificate. Unfortunately this is as far as they support it and cannot give me any direction on how to actually use it. I'm stuck using this 3rd party so unfortunate...
All,
I am using tomcat 5. and i am using manager application to undeploy a war file from remote.
It deletes war file and all extracted files. But it does not delete one jar(lib/struts.jar) file. I do not know what the reason is. I need to delete all the files even the webserver(tomcat5) is running.
Thanks,
Srinivsan r.
...
For automated functional testing purposes, I would like to run a servlet container from my test driver without actually issuing HTTP requests over the network. The main goal is to test fairly elaborate conditions of servlet filtering, forwarding, and includes.
I would like a system that embeds the servlet container in a way that:
does...
Are there any suggested practices for implementing long-running operations in Tomcat?
e.g. is it better to just run the operation and not yield a response until the operation is complete? Or is it better to return immediately with some kind of ticket that can be used to poll for completion? (is there a way to notify a client that comple...
Hello - Thank you for taking time to look at my question.
I developing a Java WAR file intended for distribution to only one server at a time. So far, I have tested on 3 different servers with success, one Debian, one Ubuntu and the other, the Windows machine I'm developing on.
On the final deployment server, for some reason the app de...
Hello.
I'll build a web application and I want to use url rewriting.
In apache this is done with mod_rewrite.
But how can I rewrite urls with Tomcat 6?
I want to use Struts 2 framework.
...
Hi,
I have installed java and tomcat appache server on linux.
When i am going to start tomcat using ./startup.sh command on linux server,
it gives output as
Using CATALINA_BASE: /usr/src/apache-tomcat-5.5.28
Using CATALINA_HOME: /usr/src/apache-tomcat-5.5.28
Using CATALINA_TMPDIR: /usr/src/apache-tomcat-5.5.28/temp
Using JRE_HOME: ...
How can i benchmark a website ? i want to define how many user can i handle simultaneously. Can you suggest me any read / tool that helps ?
I don't think that matters but the site is a Flex application that consumes some services provided by tomcat's servlet
...
I'd like to configure Tomcat 5.5 to fail to start if any of its webapps fail to start. Is that possible? I can't find any configuration element in the documentation that suggestions that this can be done.
...
I have installed Tomcat5 on CentOS 5 using the yum configuration tool.
My java web application requires java 1.6 to run without errors. However, my tomcat install appears to be using java 1.4. This is confirmed when I navigate to the tomcat manager page:
Tomcat Version JVM Version
Apache Tomcat/5.5.23 1.4.2
At the linux prompt...