Background:
Our software generates reports for customers in the usual suspect formats (HTML, PDF, etc.) and each report can contain charts and other graphics unique to that report. For PDFs everthing is held in one place - the PDF file itself. HTML is trickier as the report is basically the sum of more than 1 file. The files are availabl...
What is better container for SOLR: Tomcat or Jetty
...
I'm working on my first Java site. I'm running Apache Tomcat on port 8080, and Apache HTTPD on port 80. The current URL that I can access the site at is (for example) 123.4.5.6:8080. I want to remove the port number from the URL before I point the domain at the new IP.
At the moment I am only using Apache for phpmyadmin, however I plan ...
I'd like to read a properties file in my applications WEB-INF folder or my tomcat/apache server from a JAAS loginModule. But I'm not understanding how to properly refer to the location from the LoginModule, in a host name independent manner.
...
Having in mind that each webapp has its own separate database (but all databases are in the same database server).
The scenario is that I have a multi-tenant saas application - I deploy the same application for each customer. Each customer works on a database that is called db_cid, where cid is the customer id, i.e. a a unique customer ...
I have CruiseControl.net setup on a machine which is currenly being used for Microsoft Projects.
I needed to add a java project to the same build server.
The java war files generated need to be copied to another server under Tomcat.
However, I face a lot of problems when it tries to copy to that network location, due to file access den...
I have a web application that's currently running under Tomcat 5.5.25. I'm attempting to port it to Jetty 6 to take advantage of the rapid refresh time for jsp and UI changes especially.
Since my JSP files are JSP 2.0 compliant, I'm running jetty under maven using the configuration suggested on the maven jetty plugin web site. This con...
I'm trying to get into Java web development but seem to be running into a strange issue with Tomcat and an extremely simple servlet. The catalina log is spewing this every time I try and load the app:
Caused by: java.lang.IllegalArgumentException: Servlet mapping specifies an unknown servlet name MyServlet
at org.apache.catalina.cor...
I wanted to set up remote debugging from Eclipse. Tomcat is running as a service on windows.
That bit is fine, a quick google pointed me towards the correct settings to add to wrapper.conf to enable this. There were entries already in wrapper.conf, so I copy/pasted the last entry and modified it:
wrapper.java.additional.8="-Djava.end...
I have a simple web service deployed on tomcat using Apache Axis.
If i access the webservice as http://localhost:8080/webservices/TransactionService i see the usual message
TransactionService
Hi there, this is an AXIS service!
Perhaps there will be a form for invoking the service here...
showing that the web service is...
I have a webapp which contains a manifest file, in which I write the current version of my application during an ant build task. The manifest file is created correctly, but when I try to read it in during runtime, I get some strange side-effects. My code for reading in the manifest is something like this:
InputStream manifestStrea...
Yes, i dont know why tomcat is telling me my CGI is not available :(
Anyone got any bright ideas?
#
HTTP Status 503 - Servlet cgi is currently unavailable
type Status report
message Servlet cgi is currently unavailable
description The requested service (Servlet cgi is currently unavailable) is not currently available.
Apache Tomcat...
Does anyone know the best way to do this? Apache, tomcat, linux
...
I need to run tomcat behind apache - am running suse 10
...
This test was prompted by reading a question on the Sun java forums and thought I would try it out.
The JSP2.0 specification section JSP.13.8 contains an "Example Simple Tag Handler Scenario". I copy and pasted the code fragments and attempted to run it.
Environment:
Apache Tomcat version 5.5.26 and 6.0.14 (tested on both)
Java: 1.5
...
My company wants to be able to add other Hosts directives into our server.xml (configuration file for Tomcat). This Host directive goes inside the Engine directive. I will like to import a second file, example hosts.xml, so I can define the hosts in that separate files.
<Host name="localhost" ...>
...
<Valve className="org.apache.c...
Grails grails-1.0.4 , TomCat 6.0.14 , Tomcat error log:
SEVERE: Error configuring application listener of class org.springframework.web.util.Log4jConfigListener
java.lang.ClassNotFoundException: org.springframework.web.util.Log4jConfigListener
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1358)
...
Does anyone have any experience using IIS and basic network based round robin'ing to connect load balance tomcat servers (on separate physical boxes)? If so, any pointers you can provide would be greatly appreciated.
Thank you in advance!
...
I want to create a WAR that would only contain a single zip file that is included in the of the web app, deploy that war to JBoss and be able to download the zipfile by accessing the root of the WAR.
So, currently I have a war, which has the zipfile in it, and this web.xml:
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web ...
We would like to monitor HTTP error codes (e.g. per minute) for later graphing.
How can we expose HTTP return (error) codes with JMX?
Are there code samples or have you done something like that? Is this contained in Tomcat per default?
About the implementation: Should the code increase a JMX counter and set it to 0 every minute? Th...