tomcat

Run Tomcat from Java Web Start

Is it possible to distribute Tomcat by Java Web Start and run it from there? My application shall run within its own Tomcat server on the machine it is deployed on. Can I package Tomcat and the client application into one Java Web Start archive and run the Tomcat server and the client once the user has downloaded the Java Web Start ar...

How to prioritise specific threads in tomcat

I am working on a Java web application for tomcat6 that offers suggest functionality. This means a user types in a free text and get suggestions for completing his input. It is essential that the web application needs to react very fast to make sense. This web application makes suggestions for data that can be modified at any time. If n...

Maximum number of concurrent connections jBoss

We are currently developing a servlet that will stream large image files to a client. We are trying to determine how many Jboss nodes we would need in our cluster with an Apache mod_jk load balancer. I know that it takes roughly 5000 milliseconds to serve a single request. I am trying to use the forumula here http://people.apache.org/~mt...

Tomcat reload problem

hi guys! I am using Tomcat 6.0 in Eclipse 3.6, every time when I modified a Java file,Tomcat will reload the whole Context. I wanna is there anyway to get rid of this. while testing some function after login into my web application,If I changed some Java source file ,I need to login again and repeat my operation, it's painful.How can I...

JSP works fine at localhost, but throws org.apache.jasper.JasperException on Debian server

When I run a WAR file on Debian, it throws org.apache.jasper.JasperException. The same WAR file runs fine on localhost. The server on both places is the same: Tomcat 5.5. Here is the stacktrace: org.apache.jasper.JasperException: Unable to compile class for JSP org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWr...

Tomcat 6.0 classes on system classpath cannot access the classes from the application

I am running a web application in tomcat6.0 . My problem is that while starting the Tomcat I need classes from commons-lang.jar. And I need the commons-lang.jar also in my web-app. I placed thic jar in the system classpath of Tomcat. Now I get the SerializationException from SerializationUtils. It tries to find a class which is present ...

Java HttpSession setattribute throws non-serializable exception on qa, but not in local environment

The object I'm saving to the session is LocalizationContext, which is not serializable, and my Tomcat is 5.5.28, while the qa server is Tomcat 5.5.30. This is from the Tomcat docs (http://tomcat.apache.org/tomcat-5.5-doc/config/manager.html): Whenever Catalina is shut down normally and restarted, or when an application reload is ...

How to cache and retrieve images generated on the fly by an Apache Tomcat Server?

Hi, all, I'm working on a web-app project which involves allowing the user to view several hundred small images of roughly the same size, many of them several times. These images are generated on the fly by passing URL strings (specifying height, width, file format, and content) to a service running on an Apache Tomcat server; the URL s...

Tomcat 5.5 Monitoring with JDK 1.4 on Windows

According to this documentation http://tomcat.apache.org/tomcat-5.5-doc/monitoring.html#Enabling_JMX_Remote it should be possible to remotely Monitor a Tomcat 5.5 Server running on a JDK 1.4 but after searching all over the web and trying multiple OSs I still am no further than on day one. My results thus far are. Settign up Tomcat with...

Netbeans Java Debugger crashing with Out of Memory Errors

Recently, while working on a JSF web app, using Netbeans 6.8, I am constantly getting PermGen: Out Of Memory Errors. I have also noticed that this is not related to hot swapping the code, as some people suggested on the forums; I generally restart my local web server, Tomcat 6.0, whenever I redeploy the code. This used to happen to me on...

SOAP message response format/layout - web service implemented with Axis 1.4 on Tomcat 5.5 (Linux)

I am having the same issue presented here. http://stackoverflow.com/questions/1294975/specify-order-of-elements-in-a-soap-response-using-java Out of fear of my post in that thread not being answered, i have posted a new question as it is slightly different also. I am utilising Tomcat 5.5 and Axis 1.4. Created Java classes from WSDL cod...

Best Amazon server instance to use for Java web apps

I want to try out the Amazon hosting service. I want to deploy a Java web application. There are many server images, and I am trying to determine which one I should use. My requirements are simple: Should allow me to use Tomcat and Java and preferably MySQL Other related software is good too Is there a) an instance you recommend b...

Deploying FLEX3 Application in tomcat

I have a FLEX3 application - I have created a release for it and saved it in my tomcat webapps folder. This Flex3 application consumes the Web-Services hosted on the same tomcat [axis web services]. This is how I have defined them in Flex code: <mx:WebService id="abc" wsdl="http://localhost:8080/axis2/services/ABC?wsdl...

Spring WS Osgi samples

We are currently researching OSGI at work and I need to provide a proof of concept on its use with spring dm and spring-ws in the appropriate application server(tomcat / jetty).Does anyone have a example or a tutorial or any links that can help in my research? I have for the past dew days been looking for some samples on how to implemen...

Tomcat Caching Something

Hi all, I am learning spring MVC and developing some basic web applications and running over Tomcat. The changes i made did not effect fastly and that makes me angry, i fed up with restarting server, or cleaning projects bla bla (right click server and select clean). Is there any way to say not to cache anything preventing the effect ...

The plugin 'org.apache.maven.plugins:maven-tomcat-plugin' does not exist or no valid version could be found

I keep getting this error when I call 'tomcat:run'. The plugin 'org.apache.maven.plugins:maven-tomcat-plugin' does not exist or no valid version could be found My company hosts mvn repositories locally via 'activeprofile'. Is this preventing mvn from acquiring the plugin from the WWW location? If so, how can I activate that too... ...

using openid in secure way without captcha

Hi, I'm building a web2.0 social networking app. I've got jquery and tomcat. I don't want to use tomcat sessions at all, but still want secure login. So I'm looking at openid, like used in stackoverflow. I want to build my own ui, so I assume I use the openid libraries. My question is, assuming that a persistent cookie is left in t...

Virtual host or Proxy to a WebApplication with Apache 2.2 and Tomcat 6

I have a server app with Apache 2.2 (+mod_jk) + Apache Tomcat 6.0 that works fine. I can get to the web application's home page typing http://the_ip/application in the browser. But I want to access that page at the root address http://the_ip. Right now I am getting Tomcat's Root page Can someone point me to a doc or posting that explains...

How can i check if MySQL and Tomcat are running?

Hello, I've created a Java application that is split in different subcomponents, each of those runs on a separate Tomcat instance. Also, some components use a MySQL db through Hibernate. I'm now creating an administration console where it's reported the status of all my Tomcat instances and of MySQL. I don't need detailed information, ...

error in apache at the staring of the computer

hi! i have windows vista and jdk_1.6 in my system. when i started the system i am not able to do the services of the tomcat. i can run my jsp files but can't run servlet files how it is done i don't know? i can run the servlet prog. in netbeans but can't at notepad. please reply me.............! ...