Essentially, I require this MBean to be built and deployed to my tomcat servers. Ideally, this would just exist as an external library and dependency, but I've found no-such official distributed jar of such (perhaps due to the simplicity). The interface and implementation of this file is likely to never change, but I don't feel that incl...
I have a simple spring 3 mvc application, that just ouputs index.aspx when someone browses to http://localhost:8080/
When I do RunAs and run on server option (which is hooked into tomcat 6), it opens up the browser to http://localhost:8080/springmvc2/ (where springmvc2 is the applications name).
I have build this same simple test app...
We have Ruby Rails and Apache tomcat servers running on the samw windows server. When the App on Apache Tomcat is installed alone its working fine, but when the ruby app is installed, the Apace Tomcat App stops working. We need to have both the apps running on the same server. Please help. The application running on Tomcat is displaying ...
Hello everyone.
I'm creating a Java client program that will be sending sensitive information to a Tomcat server. So I need to use SSL Connection so information will be encrypted.
I need to use self-signed untrusted certificate but having problems making connection from java client.
I have successfully setup Tomcat 5.5 to use SSL and ...
I have setup a web application in Tomcat with Javamelody and MySql. I am able to see the JDBC connection details under system info so I know that Javamelody is able to connect to the database. I have executed select/update statements from my application but nothing is ever shown on the monitoring page under statistics sql. I have execute...
I am using eclipse, tomcat6 and I have the maven2 eclipse plugin.
I have tried with using my own downloaded version of tomcat6 and the built in eclipse tomcat server, both havent' worked for me.
The page simply returns a 404 error from tomcat at http://localhost:8080/
(I set the context the '/')
I fired up netbeans and created the ex...
Hi Experts,
I'm having problem with my PHP - Javabridge.
Basically, I'm getting this error "protocol error: , Invalid document end at col 10. Check the back end log for details" when debugging my PHP app, which suppose to run a Java app to do some mathematical analysis.
Not sure if this is really a code issue, but since this is happe...
Hey everybody,
is there a way to get the logged in user name (and group) from a Tomcat system. I read something about configuring Tomcat, so it is getting the user information out of a database. But I found now information about getting the name of the user (in my GWT Project), which is logged in.
I'm trying to write a little GWT proje...
I have a generic function that prints exceptions (using log4j):
private void _showErrorMessage(Exception e) {
log.error(e.getClass() + ": " + e.getMessage() + ": " + e.getCause() + "\n" + e.getStackTrace().toString());
}
Instead of seeing the stack trace I'm seeing:
[Ljava.lang.StackTraceElement;@49af7e68
How can I view the s...
I am raising multiple Tomcat services on Windows, and sometimes getting ClassNotFoundException for no good reason. After some investigation it appears Tomcat is storing class files in windows temp dir, and is getting confused when several Tomcat instances are raised simultaneously.
Did anyone encounter this problem? How can we configure...
I took a Struts2 FileUpload example from internet. When uploading file I see that a temporary file is created under the Tomcat's work directoy.
After the returning from my action class I see this in logs:
WARNING: Resource Leaking: Could not remove uploaded file 'C:\Program Files\apache-tomcat-5.5.28\work\Catalina\localhost\FileUplo...
Hi, I am trying to use apache to access a XML from tomcat url like so:
http://localhost:8081/solr-example/select/?q=blah&version=2.2&start=0&rows=10&indent=on
However, I am getting a permission denied error. I have tried chown, chmod and chcon on both the tomcat and solr directories and it still gives me the error.
I a...
I have an existing system built in Java we currently expand that by adding JSPs and Classes but we are given a deployed project. I would like to consider adding new features with Grails but I'm wondering how I can get both parts into the same context path in Tomcat. Is there any way to make this happen?
...
log4j = {
appenders {
appender new org.apache.log4j.DailyRollingFileAppender(name: "friendsJob", datePattern: "'.'yyyy-MM-dd", file: "C:/temp/log/friends/friendsJob.log", layout: pattern(conversionPattern: '[%d{yyyy-MM-dd hh:mm:ss.SSS}] %p %c{5} %m%n') )
appender new org.apache.log4j.DailyRollingFileAppender( name: "followerJob"...
Building a JSF application with Spring on Tomcat. The target is a web farm, and the client has requested that we design our application so that it can be load balanced without relying on "sticky sessions" in the LB.
In .NET, you can configure the session store to be SQL Server or the ASP.NET State Service. What alternatives are ther...
I am creating Web Applications using Eclipse and Tomcat v6.0
I have one dynamic web application running on the server and it's working fine. However if I add a second web application it will not be recognized by Tomcat.
Everything appears to be fine and there are no errors, but i cannot load the application when i put in the correct...
I have log4j DSL correctly configured in my Config.groovy in a grails applicaiton. Running the application with grails run-app dumps perfect logging as I specified in the DSL. However after doing a grails war to generate a war file and deploying it to tomcat, logging just disappears. I can't see it working anywhere, except tomcat console...
I seem to be having trouble with Tomcat servlets and even setting up my own. I am using Windows Vista x64 bit. I CAN connect and see the servlet examples. I just don't know how to go about creating my own.
Can anyone pinpoint to me a guide on "my first servlet" with a step-by-step instructions on how-to?
Thanks.
Anyone?
...
I am trying to introduce RoR to my company and I have two ways of doing so in my mind:
(1) rails/ibm_db2/passenger/DB2 - which is my preferable way but it is not really supported by company's infrastructure.
(2) jruby/activerecord-jdbc/tomcat/DB2 - probably easier way to migrate relying on current infrastructure and java libs IF I have...
Hello
Step two of "The Joel Test: 12 Steps to Better Code" states "Can you make a build in one step?". My answer to this is currently no. My application is structured as follows:
+
+-MyApp // this is just a vanilla Java Application
+-MyWebApp // this Dynamic Java Web Application (deployed Tomcat and launches
// a thread con...