distribution

2006-01-08 Thread Zohar Amir
Hello, I've used tomcat to run some naive servlets, and now I need to do something more complicated. I need to be able to distribute my service. Clients connect to a tomcat server and their requests are forwarded to a backend server. I need to be able to distribute all this, so that clients

Re: distribution

2006-01-08 Thread Len Popp
On 1/8/06, Zohar Amir [EMAIL PROTECTED] wrote: Hello, I've used tomcat to run some naive servlets, and now I need to do something more complicated. I need to be able to distribute my service. Clients connect to a tomcat server and their requests are forwarded to a backend server. I need to be

RE: distribution

2006-01-08 Thread Richard Mixon
Zohar, Not exactly clear on your requirements. Do you care which backend server the client is initially redirected to? If not, then you can use a load balancer that supports session affinity. It will use a load-balancing algorithm to initially decide which back-end server to forward a particular

First webapp/JSP

2006-01-08 Thread Thom Hehl
OK, I've looked through the docs and googled and I'm not having any luck with this. I have a brand new servlet for my webapp. I have it connected up and running OK. The problem is the forward to the JSP. I'm getting this error: HTTP Status 404 - /visioneer/WEB-INF/SearchErrors.jsp

Re: First webapp/JSP

2006-01-08 Thread Mark Thomas
Thom Hehl wrote: OK, I've looked through the docs and googled and I'm not having any luck with this. I have a brand new servlet for my webapp. I have it connected up and running OK. The problem is the forward to the JSP. I'm getting this error: HTTP Status 404 -

Re: First webapp/JSP

2006-01-08 Thread Wendy Smoak
On 1/8/06, Mark Thomas [EMAIL PROTECTED] wrote: The servlet spec requires that no resources are served from the WEB-INF directory for security reasons. Move the jsp to /visioneer/SearchErrors.jsp and all should be fine. But he's forwarding to it, which is allowed. I think it should be:

Re: First webapp/JSP

2006-01-08 Thread Thom Hehl
Thanks for the response. I moved my JSPs to /visioneer and modified my forward to: String url = /visioneer/HomeSearch.jsp; RequestDispatcher dispatcher = getServletContext().getRequestDispatcher(url); dispatcher.forward(request, response); And I now get this

Re: First webapp/JSP

2006-01-08 Thread Wendy Smoak
On 1/8/06, Thom Hehl [EMAIL PROTECTED] wrote: String url = /visioneer/HomeSearch.jsp; RequestDispatcher dispatcher = getServletContext().getRequestDispatcher(url); dispatcher.forward(request, response); And I now get this error: *type* Status report

Tomcat 5.5.12 - custom Resource doesn't work

2006-01-08 Thread Dave Whitla
I am trying to deploy a client web-application to a distributed app which relies on ActiveMQ as its core async messaging medium. I have declared the appropriate resources in the GlobalNamingResources section of server.xml and referenced them via ResourceLinks in the context.xml. The

Re: First webapp/JSP

2006-01-08 Thread Thom Hehl
Wow! Thanks, that's it. I started without that, but added it when I was having problems. Thanks again! Wendy Smoak wrote: On 1/8/06, Thom Hehl [EMAIL PROTECTED] wrote: String url = /visioneer/HomeSearch.jsp; RequestDispatcher dispatcher =

Tomcat 5.5.x and java 1.4.x

2006-01-08 Thread Akoulov, Alexandre [IT]
Hi all, Some time ago I built Tomcat 5.5.12 from source with java 1.5.0_05 and then ran it with the same java version (ie 1.5.0_05). However, our requirements have changed since then and now I need to run Tomcat 5.5.12 in java 1.4.2_10. I've dropped the content of the 'compat' directory into

RE: Tomcat 5.5.x and java 1.4.x

2006-01-08 Thread Akoulov, Alexandre [IT]
now I am trying to compile Tomcat5.5.12 with java 1.4.2_10 and getting the following error: build-catalina-core: [javac] Compiling 318 source files to /home/aa05584/tmp/apache-tomcat-5.5.12-src_hasBuildWithJava1.4.2_10/jakarta-tomcat-5/build/classes [javac]

Tomcat 5.0 issues

2006-01-08 Thread Javed Iqbal
Hi all, I am very much new to TOMCAT application. Many times my application on Tomcat gives outofmemory exception error and application slow. I always have to restart the tomcat service to get my application work smoothly. I have 2GB ram on application server as well as database server.

How to create EXE in java

2006-01-08 Thread kavallappa chiru
Hi How can i cretae exe file from java class file , so that i can run java application without running java classfile from the command prompt. I just want click on the icon to run it as we are all doing in windows. thank you kavall - Yahoo!

Re: How to create EXE in java

2006-01-08 Thread Edoardo Panfili
kavallappa chiru ha scritto: Hi How can i cretae exe file from java class file , so that i can run java application without running java classfile from the command prompt. I just want click on the icon to run it as we are all doing in windows. You don't need to create an exe file, take a

Re: Deploying unpacked war file

2006-01-08 Thread Charl Gerber
look for the unpackWar attribute of the standard context container. Where can I get a reference of all the possible attributes I can set? The examples on the Tomcat sites only shows a few. Must the war be in the webapps subdir of the Tomcat installation, or can it be anywhere? In Tomcat 4.1.x,

Re: distribution

2006-01-08 Thread Zohar Amir
The requests from the client are made in distinct sessions. For each request a new HTTP session may be created, but it would still need it to be directed to the same tomcat (and to the same backend server) that handles it. The session is identified with an HTTP header or an attribute in the