tomcat

Creating a web service for use in an internal application and exposing it to others

For my web application, I am thinking about using the Spring framework. Initially, I was thinking of having different actions like create user or login, but now I have to expose some functionality to other applications. Should I create a web service that I call from my application and others do as well, or create an action from Spring ...

Cant get Tomcat6.0 to work with Windows 7 Environment

Prior to upgrading to windows 7, I was able to use Tomcat 6.0, but when I upgraded to the new Windows, and downloaded Eclipse EE, and downloaded the apache content, I am unable to get Apache to run. When I attempt to start my apacher server through either system tray, or even windows services, it gives the followign error screen. "Windo...

how to create virtual directory in tomcat for windows

Hello Experts, I need to run two web application in tomcat 6.0(Windows). My requirement is both applications should be in root folder to work. Any clue where do I need to make changes to setting files ? ...

Zombie threads eating my brainz (J2EE, Tomcat, Hibernate, Quartz)

It is Hallowe'en after all. Here's the problem: I'm maintaining some old-ish J2EE code, using Quartz, in which I'm running out of threads. jconsole tells me that there are just short of 60K threads when it goes pear-shaped, of which about 100 (!!) are actually running. Intuition and some googling (see also here) suggest that what's ha...

state of the art in j2ee debugging and monitoring tools

I'm digging into J2EE for the first time in years. I'm looking for recommendations on J2EE debugging and monitoring tools. I'd like to find a tool that lets me dynamically explore the threads space etc. I'm primarily working with Tomcat. update: and Java 5. (Rats.) ...

Tomcat Problem for external access?

I don't know how to access my deployed war file like this www.mydomain.com Instead I have to access it i.e http://mydomain.com:8080/WarFileName I would like to fix that and also be able to deploy/host more than one domain on the same Tomcat server i.e. www.mydomain1.com and www.mydomain2.com on the same tomcat server without the port ...

Server is not loading/compiling the latest version of code in Eclipse?

A few days back, while the built-in server (Tomcat v5.5) in eclipse was running, and while I was modifying the code, the server used to recompile and restart itself. I've gotten into a problem from the last day, where, the server DOESN'T load the LATEST version of the code I'm writing, instead, (I'm assuming) it compiles its own internal...

Help using mod_jk to forward to backend app server

I had mod-jk working a while ago but after switching servers and modifying some files, it no longer works. I am using mod_jk-1.2.28 with JBoss 4.2.3 as the backend. In the JBoss server.xml file I have the AJP 1.3 connector defined on port 8009 and I am binding jboss to the server's new IP address. The app I am trying to forward to is ...

How to work around memory-leaking 3rd party DLL (no source code) accessed by Tomcat application?

We have a project where a 3rd party DLL is accessed through JacoZoom in a Tomcat application. Apparently the DLL leaks memory (confirmed by the vendor), but the vendor has no intention to fix this. The memory leak forces Tomcat to be restarted at regular intervals, which is naturally a great inconvenience for the users. What would be th...

tomcat startup script permission on mac os x

hello people i'm struggling with a mac os x 10.5.8 that i've started using recently for development.i successfully installed tomcat and create launchd.conf for my environment variables.i believe it works fine.coz i can build a project with netbeans using maven and cargo plugins succesfully so i found online a script for start and stop t...

Is it possible to deploy a new .war application without stopping the application?

Hey, I'm new to Grails, and I'm wondering about deployment. Once a .war is deployed to production, how can I update the application without downtime? ...

eclipse galileo is failling to publish to tomcat on mac!

Hello good fellas i've posted a similar question here sometime ago and found the solution by downloading the new eclipse 3.5 (galileo).i believe this is a difference case since 1- i'm on a macbook pro now os x 10.5.0 2- using the springsource tool suite 2.2 (which is base on eclipse galileo 3.5.1 i think) i registered tomcat successful...

How to deploy a Spring Integration app in Tomcat?

I've gone through the "Spring Integration in 10 minutes" tutorial for setting up a basic Spring Integration application. I'd like to deploy this application in Tomcat and have the input channel live on the server and send the output back to a client, but I'm having a difficult time finding any examples of this. Could anyone provide m...

JAAS - isUserInRole returns false for all roles in Tomcat

Here is the issue, The JAAS realm connects to the database fine, the user name and password match, the session is authenticated. HOWEVER, none of the roles seem to be getting into the Principal. Tomcat's isInUserRole returns false for every role, and tomcat security doesn't see them either. Here is the realm configuration in the Serv...

Why aren't my users seeing the latest updates when I release a new version of our website?

Last Thursday we just released a new version of our website. The big change was we converted from Prototype to jQuery. This of course included lots of changes to referenced javascript files. There were new css file changes as well. Unfortunately, many of our customers aren't seeing the changes. I even had one customer clear their browser...

What is the JBoss equivalent of Tomcat's server.xml?

I am running an application which was deployed on JBoss. There is only documentation for Tomcat, none for JBoss. I need to change some connector tag attributes to look like so: <Connector className="org.apache.coyote.tomcat4.CoyoteConnector" port="8443" minProcessors="5" maxProcessors="75" enableLookups="true" acceptCount="100" debu...

What does the error message "all endpoints are disconnected" mean from mod_jk

Does anyone know the meaning of the info message "all endpoints are disconnected, detected by connect check (1), cping (0), send (0)" This occurs with some regularity in my mod_jk log, but I can't find information about whether this is a problem, or just something to ignore. ...

How to manage Tomcat 6 libraries into subfolders under %TOMCAT_HOME%/lib?

I use Tomcat 6.0.20 and JDK 1.6.0.13. How can I load libraries from sub-folders of "%TOMCAT_HOME%/lib/" without taking the .jars out of sub-folders and putting them straight into "%TOMCAT_HOME%/lib/"? The reason I want to do this, is because many apps are going to be sharing lots of libraries. So, for the sakes of organization I want ...

Calling a method from within a servlet in tomcat generated HTML

I have a piece of Java code in a simple blogging servlet being used in Apache Tomcat. I have page being generated based on a form in the previous page, among this is a link to publish the post. I would like the user clicking that link to call a method later in the class. Is this possible and, if so, how? ...

Can't Set Tomcat As Server For a Project

I've downloaded the latest Netbeans, 6.8 to be precise, then I got the download thats packaged with Tomcat and created a blank Java web application. Right Clicked > Properties > Run, but I can't see any servers in the Server drop down list. Tomcat is running, I can verify that by seeing the tomcat manager on http://localhost:8080. I hav...