Hi, I need some help from someone who understands JBoss Hostname Binding. I think the solution is easy, although it's complicated to explain.
I am deploying an application using JBoss (v4.2) and am having troubles configuring the application.
This application has two parts, a web site on port 8080 and web services on port 8080 using S...
I'm working on a web application where I have dependencies on two different jars containing two different versions of the same class. The jar files are supplied by an external vendor and cannot be changed.
I've created a custom class loader, which first first tries to load classes from a specific set of jars, and if that fails it just ...
My build process builds and copies a .war file to $TOMCAT_HOME/webapps. 75% or more of the time, this works fine. But every now and then, the catalina.log file will show the following, and then all the apps deployed on Tomcat are totally stuck:
Oct 1, 2009 3:33:30 PM org.apache.catalina.startup.HostConfig checkResources
INFO: Undeploy...
Hi, new to JBoss and am configuring some applications. I know how to do this in apache webserver, but not using Jboss.
I have successfully deployed 3 applications on a redhat box, JBoss 4.2.
If my server is called fruit.mycompany.com, I can access the three apps this way:
http://fruit.mycompany.com:8080/quince
http://fruit.mycompany....
I have a web application running under Tomcat.
Logging for various features is implemented using java.util.logging.
When running tomcat via startup.bat the logging files are created and record the logging as expected.
When running as a windows service using the same war file the output from logging is virtually absent. There is some (...
Hi,
1st part
Never worked on team who uses different IDE for one project.. (But our team right now does that)
Never tweaked Ant Script of IDE, or wrote any Ant script..
I am Netbeans user, (since last 2 years) and ultimately want to become independent of IDEs (except for coding and code completion) .. like deploying, building
So I ...
Hi,
I have a web-app, built and compiled in Eclipse, which I want to deploy to my Tomcat 6 (I want to do it manually) and I get a UnsupportedClassVersionError exception which means the JVM tomcat is running is older than the one my eclipse is running. After some checking I see that in the tomcat manager window it says: JVM Version-1.5.0_...
By default, Tomcat's error pages disclose both the existence of Tomcat and the exact version of the container that's handling the requests. This is nice for development, but in a production context this information is a potential security hole and it would be nice to disable it.
Thus I would like to know what the best (as in most strai...
I've been trying to get this to run, but I can't. I'm using Eclipse Galileo, Tomcat 5.5.23 and have several JSTLs around. My latest try was to use the glassfish jar file "jstl-impl-1.2.jar". I placed it in tomcat's shared lib, added it as external jar into my eclipe project and exported it.
Could anybody tell me, which jars to load in ...
I have a source tree for a .war file that I need to modify so that I can add some application-specific configuration info (in this case a jdbc connection string, but I may have other properties-like resources). What are the best practices for where to put configuration info and how to access this from within the Servlet?
I'm guessing th...
I am trying to monitor tomcat with the MBeanUtil class,I came accross the ResourceCache and its statistics.
what exactly does a resourcecache do?
I found few stats related to the Cache 1)hitsCount 2)accessCount 3) cacheSize
What does each of the above stats specify.
...
Is there any way to share a session between a java web app and an AIR app that uses blazeDS? The goal is some kind of single sign on, so when either one of the apps is logged into that the user would not need to log into the other. They're both running in the same tomcat, but they are different apps.
...
How can I configure Tomcat 5 to use xerces parser instead of crimson parser?
Crimson parser does not parse an xml with control charaacters. Xerces seems to handle it well.
...
I've managed to enable access logging in Tomcat by editing the conf/server.xml and uncommenting the entry for the org.apache.catalina.valves.AccessLogValve Valve. I'd like to be able to dump the contents of POST's payload. It doesn't seem like any of the options in the pattern will do this. Is there a built in way to do this? Do I use th...
Hi, I have a newbie question on Tomcat / Struts.
I'm trying to set up a dev version of a site (that's working on the Unix server) on my local machine (Mac).
It looks like it can't find anything that is outside of a root server:
A JSP page without references to other JSP pages loads, but without images/CSS (in the '/images/' folder)
A...
I have machine with an installed tomcat 5.5
it serves various application from the default appbase.
I also have a bunch of directories which should get turned into WEBDAV applications, by configuring the common root as appbase, which of course is completely different from the appbase mentioned above
Neither of the directories should mo...
I have the data for my webapp in a database that is accessed differently from different places. There is no generic code that can just do it for both. So I want to know at run time which env I am in. In fact, the code to run really depends on whether it is run within or without tomcat, so I would like to detect this at runtime. How d...
Hi folks,
When I deploy my WAR generated with Ant on my local system (copy/paste under /webapps), everything works fine.
The thing is, when I deploy the WAR on a remote server for test purposes, I got this error message:
There was an error thrown by Tomcat during deployment: "Error invoking method check". This however may not mean ...
I have an init servlet in Tomcat that loads critical data. soemtimes it is necessary to abort startup on certain errors.
how do i gracefully shutdown the deployed app/ the whole app server without calling System.exit(1)
i want to avoid calling the shutdown servlet via port, since this is not configured in my installation.
there may b...
I'm trying to make my tomcat servlet download a number of files, but I have apache and tomcat running on the same server, so I assume that is why it doesn't work. I've tested on servers not running apache, and all is well.
Here's the exception I'm getting when I try to use new Url( fileUrl ).openStream():
Opening input stream Attempte...