Method returning null

2005-12-26 Thread mukesh
Hi all, I have deployed a web service on my tomcat 5.5.12 running on linux7.0. I am using axis 1.3. I am trying to call a function which returns an integer but I am getting null always. Why so? Please advice what could be the problem? Regards,

Configure Farming Tomcat

2005-12-26 Thread carlos . garcia
Hello, I am trying to configue something like this: One Hardware balancer Two Apache-1.3.33 Two Tomcat-5.5.7 with four machines. The load balancer works fine but I have many problems with Cluster (farming) configuration. I donĀ“t know how I have to configure this in order to put a class (or

Connection refused

2005-12-26 Thread mukesh
Hi friends, I have found the cause of the error, in fact function is never gets called. Its throwing an error nested exception is: java.net.ConnectException: Connection refused Code is like this Try { //calling function here }catch(Exception e) {

UDP Server app

2005-12-26 Thread kjr_23
I'm developing an application that will monitor a port on Tomcat 5.5.x and receive udp datagrams. I've got the class coded, but not sure if I've done it correctly. I created a class with a main() method that runs the code to read from whatever port I specify. Do I need to configure Tomcat to

Re: tomcat-apache ajp13 connection problem (answer time)

2005-12-26 Thread tomcat
no, none at all. there is the network switch followed by the firewall. Quoting Prasad [EMAIL PROTECTED]: Any load balancers exist in your enviornment ?? [EMAIL PROTECTED] wrote: hello there, i have two servers inside the dmz, one with redhat 9 the other with fedora core 4. the box

Re: UDP Server app

2005-12-26 Thread Pulkit Singhal
Hi, A few questions to help clarify what you want: 1) Is this UDP port actually being used by your instance of Tomcat for implementing some functionality and you simply want to listen on the port without interfering with the actions that take place? (kind of like a wire tap) -- If you are indeed

RE: UDP Server app

2005-12-26 Thread kjr_23
Pulkit, This will be a brand new application. We will be tracking a fleet of about 300 - 400 vehicles with modems in them which send out udp data. We will configure them to send to a port of our choosing. I am planning to host a java app on Tomcat to read this data, parse it and write to a

Tomcat Datasource , can we define them in war file (whithout accessing to Admin console)?

2005-12-26 Thread Legolas Woodland
Hi Thank you for reading my post. Is it possible to make a data-source without admin console ? I mean by defining the data-source in web.xml or in Context.xml (i think i read somewhere that we could put context.xml into meta-inf folder and it will act like Context definition in admin console).

Keystore password in clear text

2005-12-26 Thread Shibu Vachery
Hi, Is there a way in tomcat on (Windows / Unix) that we can avoid the keystore password being set in clear text in the server.xml file? Is there a way that the JVM system parameter javax.net.ssl.keyStorePassword can be passed in to the tomcat server when it starts up so that the password is

Re: mod_jk versus mod_proxy under load ?

2005-12-26 Thread Pulkit Singhal
I hate to take you off topic here but just in case you migth want to check this post out as well: *Re: About possible memory leak in Tomcat 5.x* Cheers and Gluck! On 12/26/05, Laurent Perez [EMAIL PROTECTED] wrote: Hello One of our production servers recently started to suffer from very

Re: Tomcat Datasource , can we define them in war file (whithout accessing to Admin console)?

2005-12-26 Thread Khawaja Shams
Hello, I am assuming that you are trying to define this datasource in order to do application server managed connection pooling. The closest I have done to what you described is declare a datasource as a global resource in the server.xml and refer to it in context definition. You can define a

Tomcat uses locally only.

2005-12-26 Thread Travis Morris
This may be a newbie question forgive me for that. I'm currently using Tomcat as a client-side server which is intended to only be accessed by the local user. Therefore it does not need to be accessed via a remote IP. Is there a setting in the connector to specify that the server is only

Re: detecting a new file

2005-12-26 Thread Wade Chandler
--- Khawaja Shams [EMAIL PROTECTED] wrote: Hello all, I am curious if anyone has ever had to write a servlet that listens for new files on the server and processes them upon appearence. Basically, I need to write a server side program that detects when (our automated process)

RE: detecting a new file

2005-12-26 Thread Wade Chandler
--- Daniel Blumenthal [EMAIL PROTECTED] wrote: A related question to this is, how can you set up a process within the servlet that fires off at X time, or every Y seconds? The equivalent of a cron job inside the servlet. If you have high enough traffic, there's an easy hack - just store

Invalid keystore format

2005-12-26 Thread tam wei
Dear All, I encouter the following error while I establish an SSL connection to the other machine. java.net.SocketException: Default SSL context init failed: Invalid keystore format at javax.net.ssl.DefaultSSLSocketFactory.createSocket(DashoA12275) at