tomcat

Exploding ROOT.war

I am copying my ROOT.war file to webapps of Tomcat 6.0 . Is there a way I can explode the file upon copying. i.e when my script copies it in the webapps .. it should explode and create ROOT directory ?? ...

Tomcat intermittently servicing requests

Hello, I recently switched my web application from running via an embedded Jetty instance to a standalone Tomcat instance. Everything is mapped appropriately, and Tomcat begins to serve up content. However, my application makes about 20 AJAX POST requests at once to the server (to load various page elements). This worked fine on Jetty,...

Embedded Derby Db in a Spring app on Tomcat

I'm trying to get an embedded Derby db running on a Tomcat/Spring application. <bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource"> <property name="driverClassName" value="org.apache.derby.jdbc.EmbeddedDriver" /> <property name="url" value="jdbc:derby:pepper" /> <property name="initialSize" value="5" /> ...

Error accessing tomcat web server from my mac

Hi, support guys in the office can't help and everything has been fine for the last couple months until today. Running OSX 10.6.3 and 1 of only 2 users on mac. Can access a staging server when remoting in to a pc near my desk but not able to access via any of the browsers on my mac (Chrome, Firefox or Safari). An example staging server ...

Limit to HTTPRequest parameter size between Flex/BlazeDS and Tomcat?

We have a web app with a Flex front end making requests to our Spring/Tomcat back end through BlazeDS. I noticed when the data for a parameter we send in the request is over a certain size (something like 1.5M), it simply doesn't show up as a parameter in the request in our servlet. We've verified that the value is populated in the req...

Installing Tomcat Server on client machine

Hi, We use Tomcat server to generate Pdf reports on one of our applications. Typically Tomcat is a server installation but in this case, we'd like to consider installing it on the client's machines. Is this a completely horrible idea ? ...

Looking for a good tutorial on JSP / Struts 2

Referencing my previous question about a good language for a deployment stack, we settled on Java / JSP. While with pure Java most of the team is up to par we have a few people who haven't done JSP Servlets, and none have used Struts to much extent. Where would you start with this? Would it be worthwhile to ditch Struts in favor of build...

Portable JDK, Tomcat, and Eclipse (Windows)

Does anybody know how to make a usb thumb drive with a JDK, Tomcat, and Eclipse (J2EE) (all for a Windows platform, preferably)? I saw this question, but the only answer was speculative. I know that the eclipse part would be easy -- just put it on the thumb drive. Tomcat requires a JDK as far as I know. Would there be a way to setup to...

efficient way to create a xls file in a jsp page

Hello, what is the most efficient way to create a xls file in a jsp page? I created an xls file using poi in jsp page, but if not the most efficient. Thanks ...

At enterprise level, is Apache Tomcat used standalone or with Apache server?

Which one of these two is most commonly used scenario? I want to use the same scenario in my learning process. thanks. ...

Liferay Portlet ImageServlet (BalusC's code) Problem

Hello all, I am developing a portlet (using the ZK framework). Part of it is a file explorer of a root directory. In this directory exists a picture that I am trying to let the user "open". I used BalusC's code to create an ImageServlet to serve the images and "registered" it in the web.xml file of my portlet and I placed the ImageServl...

How to setup GWT for Tomcat ?

Hi, I am new to GWT and learning it via the the Google documents. How do I setup GWT with Tomcat? I am required to intergrate it with Tomcat for work purposes. ...

Problems using Drools and Tomcat

When i modified a rule in .drl, modified don't take effect. Is it possible to modified (i.e. hot deploy) a rule (.drl) in drools without restarting the server (tomcat)? How can i resolve this? ...

org.apache.jasper.JasperException: Cannot find any information on property 'sName' in a bean of type 'AddUserBean'

Hi, I have a html page with a user registration form. I collect the data and action is : <form name="register" action="../JSP/Register.jsp" method="post"> Then on the jsp page i have <HTML> <HEAD> <TITLE>Reg JSP</TITLE> <LINK REL="stylesheet" TYPE="text/css" HREF="commonstyle.css"> </HEAD> <BODY> <jsp:useBean id ="user" class ...

Tomcat unable to find jsp in war file

I recently switched one of my static html files to a Spring controller that uses a JSP to render its view. I use jetty to test locally and local testing shows the page rendering fine. Upon deploying to our test server, which uses Tomcat 6.0.26, I get the following exception: javax.servlet.ServletException: Could not get RequestDispatche...

Find unused code in Java webapp

I have a Tomcat-powered webapp that builds to a war and is deployed. It's been used for a few somewhat different tasks over the years, and it has lots and lots and lots of classes and libraries. I'd like to do some sort of automated census of used and unused classes (and maybe even dependencies) and get a report back for which classes,...

Error when deploying to Tomcat6: java.util.zip.ZipException: invalid entry CRC (expected 0x0 but got 0x5ab93a08)

I'm having this error when I deploy my war to Tomcat. I am using Java 1.6.18, and Tomcat 6.0.24, Maven 2.2.1 INFO: WSSERVLET14: JAX-WS servlet initializing Jul 12, 2010 8:22:34 PM org.apache.catalina.core.StandardContext start SEVERE: Error in dependencyCheck java.util.zip.ZipException: invalid entry CRC (expected 0x0 but got 0x5ab93a0...

jersey restful webservice tomcat version

Hi, I want to write a simple restful webservice. As it would be as simple as accessing data from / to the database, I am planning to use tomcat & not any heavy application server. I have existing tomcat 5.5 setup. Which Jersey version would be compatible with tomcat 5.5 & java 1.5? ...

Direct root domain to a context and subdomain to another context

I have situation where i want to direct my root domain i.e. www.abc.com to a context in tomcat and *.abc.com to another context in tomcat. currently www.abc.com abc.com and *.abc.com all point to my ROOTcontext in tomcat but I want www.abc.com and abc.com to point to ROOT and *.abc.com to some other context in tomcat. ...

When using SSL, Apache does not know where is the tomcat webapps directory

I configured the apache to use SSL - the server starts OK but when i connect to the server via htts, nothing happens. In the error log i see than the server looks for a SWF file, that should be loaded, in the Apache2.2\conf directory. Actually the file is in the \Tomcat 6.0\webapps directory. It does not happen when connecting to the se...