Hello all,I have an JSP/servlet application that runs on solaris8, with apache 2.0.43 and tomcat 4.0.4 using jdk 1.4I get the following error message in the catalina_log:2003-04-01 18:17:34 Ajp13Processor[8009][5] process: invokejava.net.SocketException: Socket closedat ...
462 byte By
srikba at 2007-9-28 17:08:49
I have an urgent prob. solve. I will appreciate any help from anyone.I want to be able to access ejb's from jsp's & servlets in weblogic 6.1 web app. but with out putting nay of the client files like the home, local, ejbobject interfaces in the classpath because this cause hot deployment ...
Right now I have brief overview of the project.This project involves a company,which has various production lines of different type of chips(potato etc).Now,for each production line data will be entered,by engineer, in respect of various inputs used for making chips,the number of chips produced ...
Hi, I'm writing a proxy application that relays data from a server to a client that requested the data. One thing I have observed is that when I have read about 32136 bytes of data, my reads from my buffered input stream fetch only one byte at a time. Not only is my read function now reading ...
So there I was, configuring my Cisco router when I forgot to add the line username jordan nohangupSo I tried to login and it ran the autocommand and exited!My bad. So I misconfigured a $1600 Cisco router.I had to go back and disable the whole thing and correct it.Here's a neat fact: Cisco's ...
578 byte By
kodz1a at 2007-9-28 17:48:35
Hi there I was wondering if anyone could help me as to make a decision on weather using EJB's is completely overkill?.My employer has asked me to develop a Warehouse Mangement System which must be network accessible(users will be in different geographical locations), Secure, and on and on..... ...
379 byte By
norgueta at 2007-9-28 17:50:23
I introduce this topic in the JDC "Distributed Computing General" forum. The goal is to open a forum space for the JFAS13N project, the homepage of which can be found here : http://wasa.ulb.ac.be/thesis/ftp/Java_API.html--Jean-Pierre Norguet http://wasa.ulb.ac.be/jp.htmlJFAS13N ...
471 byte By
lps999a at 2007-9-28 18:00:16
I'm having trouble getting a file transferred through socket. What i need is a simple client/server pair, which can send/receive a jpg file. Can someone provide some simple code which will get me going?I'm finding very few resources on the net which covers this topic. YES, i have read the ...
270 byte By
SaTaNsa at 2007-9-28 18:10:29
How can i write a Java Program that will download a file (Binary/Text)from a server.The idea is to connect to server via a socket and send server a HTTP request and server will return the required object.Can any one send me sample code. Thanx Alot.
Hi,I am using Visibroker for java 4.0 to develop an application. Thejava version that I am using is 1.4.1. Now, the naming service doesnot start when I use 1.4.1. And I cannot do away with Java1.4.1because I am using certain classes in javax.crypto which does notexist at all in Java 1.3. I am ...
I've seen a few posts here that say that broadcasting on a LAN using 192.168.1.255 works. It doesn't work for me at all. I'm talking about multicasting when i mention broadcasting here. I've also tried just plain broadcasting with a datagramsocket and it doesn't seem to work on my lan. ...
I am new to the J2EE scene and need to know what I need to set up so that I can reach my j2EE server on the private address space (LAN) through the public (static) IP address which is the router for the LAN.Any help or pointers to relevant information would be appreciated.Thanks in ...
Hi everybody,what I'm looking for is kind of process supervisor, where I can start, maintain und shutdown different processes.The GUI should look like the Windows Task Manager. It should be possible to define dependencies (process A needs process B to be alive). The supervisor be able to start ...
I'm running WebLogic 6.1. Default (probably random) ports are being used for EJB's. However, I'd like to specify which ports the EJB's use.Is this possible? If so how do I configure this?I don't want port 80, http proxy, tunneling, yada yada.I simply want my EJB's running over ports I ...
9531 byte By
gordo2a at 2007-9-28 19:01:33
On the client side, when I type in a filename in the JTextField and press enter, nothing happens. I want the server to get the file and send the contents back to the client. The client is connecting; I believe my problem is in my processConnection method in the server file.Please advise. The ...
How do I perform a network scan to obtain what computers a re available on a local TCP/IP network? I mean something like "net view".I'd like to optionally specify a domain to search like in "net view /domain:MyDomain". The IPs of course differ only in the last byte 111.111.111.* for example. ...
hi,Iam sorry if this is not the right place to Post my query....I have an XML file in my ApacheTomcat webserver,I need to pass that(XML file) to the MATLAB server and in turn get the response from the MATLAB server.I heard about SOAP,but i dont have much idea about that.Can anyone tell me how ...
652 byte By
tliu60a at 2007-9-28 19:16:17
Hi,Can someone give me some pointers on the problem below?1. The following code ran fine when I used jdk1.3.0_02 because the sun/net/ftp/FtpInputStream.class is in the rt.jar of jdk1.3.0_02:FtpInputStream is =(FtpInputStream) ftp.get(sourceFile);FileOutputStream os = new FileOutputStream ...
1227 byte By
joharRa at 2007-9-28 19:16:19
Hi,We have a decision to make abt the choice between java application client & web-based clients (with applets) for our product, which is an enterprise application which needs to run on Internet as well as Intranet. The application has to comply with the scenario of Application Service ...
236 byte By
ethkzia at 2007-9-28 19:21:56
Hi,I'm using SuSe8.1 with jre 1.3.1. When I try to open CORBA commmunication I've got org.omg.CORBA.COMM_FAILURE: minor code:1398079490 completed:No.Is that solvable or I should choose other java module?BR/Istvan,
1450 byte By
JRahula at 2007-9-28 19:26:55
I am using WebSphere AS and facing a strange problem at the time of starting the default server. I had to change the user name & password of the XADataSource of the Server. On applying this, and starting the Default server, the server started and application worked fine. However, the next ...
656 byte By
IGeea at 2007-9-28 19:29:40
Hi there,I am learning about event based distributed systems and have come across the terms 'event class', 'event classes', 'event classifications' and 'event specifications'.These terms seem to have lost me a little as on reading various technical papers they are refered to in many ...
Hi All,I have a Java Server which listens on a TCP Socket. The client is a MFC based application and needs to communicate with the Server using simple raw text messages.We were able to connect to the Java Server using CSocket and CAsyncSocket objects but were not able to send messages. This is ...
Does any one know how to know the user own ip address using java?
3527 byte By
lps999a at 2007-9-28 20:03:56
I have a problem with this simple client/server filetransfer program. When I run it, only half the file is transfered via the net? Can someone point out to me why this is happening?Client:import java.net.*;import java.io.*;public class Client {public static void main(String[] args) {// ...
1228 byte By
jcbcmha at 2007-9-28 20:04:55
I'm hoping that Sun's CORBA ORB has a TraceLevel feature, but I've scoured the documentation and haven't found it. Further, I can't find anything indicating the properties you can pass into ORB.init's second parameter (which is where I'd expect this to be). I'm hoping there's a way to ...
735 byte By
leoinv1a at 2007-9-28 20:23:36
Goal: Cache data in a clustred environment (using WebSphere v4.0)Want to store the key to the data in the HttpSession but I the data itself on the server (large amounts of data). The app. server uses round-robin in directing requests to 2 or more physical machines.I envision having a session ...
760 byte By
mjr5749a at 2007-9-28 20:30:29
I am using the 1.4.1 JDK. By default, the CORBA ORB uses GIOP version 1.2 to communicate with other ORBs. In my scenario, I am communicating with an ORB that claims to support GIOP 1.2, but appears to have a bug specific to it's handling of certain GIOP 1.2 features.Currently, I am using the ...
308 byte By
ennsaka at 2007-9-28 20:30:52
I am creating and XML document with DOM and trying to post it to a URL with URL connection, but when I grab the InputStream to see if my post was successful, I get a message back saying that "The MimeContent of the message is not a MimeMultipart message as expected."Anyone know how I set ...
I have done an HTTP POST in which I send an XML. I have also done a servlet that is running over Tomcat 4. This servlet parses the XML sent to it after that creates another XML as response.When I read from the input stream of the HTTP connection to obtain the XML responsed, I receive nothing. ...
Hi all,I need to know how to write Java code to start-up the Java Web-Start application remotely on the desktop of a user! How would one go about doing this?!thanx...
345 byte By
kaishefa at 2007-9-28 20:51:39
Hi,I want to develop a web site (servlets or applet) that communicate with a simulator written in C++. My question is : What technique to use to develop the client program(the web site)? and how to communicate with the Simulator (c++ program) ? The goal of my application is to make simulation ...
18583 byte By
ashiersa at 2007-9-28 21:37:30
Hi there,I created this client/server project where I allow theupoading/downloading of files from the client to the server and viseversa. Below is the receiveFile() method I use to obtain a file comingin through a DataInputStream. The method works fine with ordinary textfiles and graphic files, ...
346 byte By
kaishefa at 2007-9-28 21:37:32
Hi,I want to develop a web site (servlets or applet) that communicate with a simulator written in C++. My question is : What technique to use to develop the client program(the web site)? and how to communicate with the Simulator (c++ program) ? The goal of my application is to make simulation ...
We have a socket connection and when reading a huge XML file, part of it is lost. No exceptions are thrown. only a few lines in the middle of the xml is lost. We use InputStream in = socket.getInputStream();BufferedReader dis = new BufferedReader(new InputStreamReader(in));while ((s = ...
235 byte By
lockca at 2007-9-28 22:03:34
We are trying to rebuild the front end of an application using JSP while the business logic stays with Perl script. Is it possible to pass the paramaters as Java session object between JSP and Perl?Please help. Thank you.
241 byte By
cbrinka at 2007-9-28 22:13:38
Hi All,I'm not sure where to begin. I have files that need to be copied from client machines to a server, say every morning at 7. Do I make use of a thread that sleeps or is there another way to do it?Thanks in advance
758 byte By
nishila at 2007-9-28 22:27:48
we building internet e-commerce application. The client is written in JSP and servletswe need to build a server software which will communicate with C++ libraries and pass the results onto the client via some java mechanism.since the C++ library is not multi-threaded, I am thinking of having ...
hi there! i'm planning to work on a client server program that would utilize sockets. my problem is that i'm using only 1 pc. can anyone please enlighten me as to what to consider for starters. from what i've read i should use sockets. what address should i use? should i use 127.0.0.1?thanks ...
Hi and thanks for reading,Our application client (Swing-based) needs to send large amounts of data to an EJB-based server for validation, which can take more than 5 minutes. I am aware of the "unfriendliness" of this implementation, but it is the only one possible.Currently the client ...
2004 byte By
BIJa at 2007-9-28 23:05:27
I am writing a small progam to behave like a browser when submitting a form with file upload (multipart/form-data). It tries to submit several files in a loop. In the following code there is an HttpURLConnection with setRequestMethod and setRequestProperty.The thing works like shown below. The ...
Hey all,I've got two peers that each need to discover a PipeAdvertisement that the other has made. The problem that I keep on getting is that when Peer_A joins the PeerGroup, it publishes PipeAdvertisement_1 for its own pipe, it then enters a loop waiting for Peer_B to create his ...
HI all,Could this be a good idea to do thesis on?What is the latest technology in demand related to JMS and SMS?Pls give suggestion.Thank You.
hi friends,In my project, i have one server which is developed using c and one application using java. iam using sockets to establish connection.everything works fine in normal mode. if server down by some means. then the problem is application is sending requests on output stream and waiting ...
Dear everyone,When I attempted to create a new file over the intranet usingFile.createNewFile(), I got this exception:java.io.IOException: Logon failure: unknown user name or bad passwordat java.io.WinNTFileSystem.createFileExclusively(Native Method)at ...
346 byte By
kaishefa at 2007-9-28 23:32:30
Hi,I want to develop a web site (servlets or applet) that communicate with a simulator written in C++. My question is : What technique to use to develop the client program(the web site)? and how to communicate with the Simulator (c++ program) ? The goal of my application is to make simulation ...
I am writing a program that uses multicast.I got a small home network built from two computers.When i call the send() method of a MulticastSocket object with a DatagramPacket object i got the NoRouteToHostException exception but when i connect to the internet everything is ok.The code:......try ...
12212 byte By
sve_artsa at 2007-9-28 23:37:09
HiI used RMI to get an array of shorts from server.Then I thought that using RMI for transferring arrays of primitivesis not a good idea, that is why I decided to create my own protocol fortransferring data.The other goal to implement my own protocol was to show a datatransferring progress to ...
Hi. I've seen quite a few messages posted with relation to socket problems and timeouts but they all seem to deal with sockets which "don't" time out. I'm having the opposite problem they seem to time out straight away.We deal with multiple vendors sending them messages to and fro. Most of ...
408 byte By
khookea at 2007-9-29 0:10:55
Hi - I need to run a task periodically to collect some reporting information and interact with the EJBs deployed on my server.Would it be appropriate to use a JNX MBean to do this, and can I deploy the MBean to run periodically, say every 10 mins? I noticed in the docs there is some mention of ...