08-05-2010
Unable to publish data
Hi All,
In my application, we are using Publish/subscribe model implemented in JAVA and when I implemented it on windows to windows os,it is working fine and able to publish the right data and even when I am trying the same between two different OS i.e between Windows and Solaris sparc or opensolaris. I am getting the expected data.
But when I am doing the same thing with same code on Linux and any other OS,not able to publish data on other OS's but when I am publishing the data from other OS to Linux,I am getting the right data.
I am unable to figure out the exact problem,So please help me and why is it happening and how to resolve it out.
Please help me.
Thanks in Advance.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
I am new to unix Shell scripting
Actually i need to write a shell script to insert data from a dat file to ms-Excel file
The data in the dat file will be like this
Col1 Col2 Col3 Col4
and and
Col5
I a new... (1 Reply)
Discussion started by: kreddy2003
1 Replies
2. Shell Programming and Scripting
Hi All,
Iam trying to set the value to the array... Still its not happening
Following is the code:
#!/usr/bin/ksh
filenames="x";
filenames="y";
echo $filenames;
echo $filenames;
O/P:
x
x
Iam expecting (2 Replies)
Discussion started by: kiranlalka
2 Replies
3. Shell Programming and Scripting
Hi,
i am pretty new to Unix environment .....
Can i get some help from any of you guyz on writing Unix script.
my requirement is like reading a csv file, finding a specific pattern in the lines and repalce the string with new string and write it to another file.
My file is file ABC123.dat... (3 Replies)
Discussion started by: prashant_jsw
3 Replies
4. Solaris
Hi,
I'm learning for my Solaris 10 sys-admin part 2. I'm now trying to get nis working because for the exercise. I run in to a problem.
Setup:
Three Systems
solaris101 (client)
Nothing wrong here havent made any config changes yet.
solaris102 (master server)
Interfaces
... (1 Reply)
Discussion started by: jld
1 Replies
5. Solaris
Hello everyone,
This is the first time I am installing Solaris. I have SunBlade 1500 Wrkstn. I installed Solaris 10 Sparc.
The installation went successfully but I don't get the login screen. I get the following error message:
Boot device: disk:a File and agrs:-
Data Access Error
Ok
... (4 Replies)
Discussion started by: mfsaeed
4 Replies
6. Shell Programming and Scripting
Hi,
I have a file in windows environment and moved to UNIX through FTP (ASCII format).
The file is having with tab delimited file.
awk ‘FNR>2' file_cust*.txt >>filnal.txt
I have the same file in production; it is working fine with the same procedure. Once we receive the file in windows... (1 Reply)
Discussion started by: onesuri
1 Replies
7. Shell Programming and Scripting
I am trying to get the data from oracle table to a variable I have tried the below code
#/usr/bin/sh
echo " I am in correct loop"
SPOOL_FILE=/app/scripts/alt.lst
sqlplus /nolog <<END_SQL
connect bindu/bindu@gis
whenever sqlerror exit failure rollback;... (4 Replies)
Discussion started by: Kiransagar
4 Replies
8. Shell Programming and Scripting
Hi All,
Iam unable to print the below block and getting the error.Can anyone please help me in this.
Input Data
eaits001z$ echo "-------LINENO_JOBID_VAL--------${LINENO_JOBID_VAL}---"
-------LINENO_JOBID_VAL--------58167|253473 58169|253473 58171|253473 58179|253473 58180|253473 58181|257311... (9 Replies)
Discussion started by: cskumar
9 Replies
9. UNIX and Linux Applications
hi All
I use tomcat server to publish war file. How to send an notification to users via the application screen and it should dismiss once user clicks X mark.
Any suggestions ? (0 Replies)
Discussion started by: anil529
0 Replies
10. Web Development
hi All
I use tomcat server to publish war file. How to send an notification to users via the application screen and it should dismiss once user clicks X mark.
Any suggestions ? (1 Reply)
Discussion started by: anil529
1 Replies
LEARN ABOUT DEBIAN
net::rendezvous::publish
Net::Rendezvous::Publish(3pm) User Contributed Perl Documentation Net::Rendezvous::Publish(3pm)
NAME
Net::Rendezvous::Publish - publish Rendezvous services
SYNOPSIS
use Net::Rendezvous::Publish;
my $publisher = Net::Rendezvous::Publish->new
or die "couldn't make a Responder object";
my $service = $publisher->publish(
name => "My HTTP Server",
type => '_http._tcp',
port => 12345,
);
while(1) { $publisher->step( 0.01 ) }
DESCRIPTION
METHODS
new
Creates a new publisher handle
publish( %definition )
Returns a Net::Rendezvous::Publish::Service object. The following keys are meaningful in the service definition hash.
name
A descriptive name for the service.
type
The type of service. This is string of the form _service._protocol.
port
The port on which you're advertising the service. If you're not using a port (and instead just using mDNS as a way of propogating
other service information) it's common practice to use 9 (the discard service)
domain
The domain in which to advertise a service. Defaults to "local."
step( $seconds )
Spend at most $seconds seconds handling network events and updating internal state.
TODO
At some point I may learn enough of the mDNS protocol to write a pure-perl responder. That'll be nifty.
AUTHOR
Richard Clamp <richardc@unixbeard.net>
COPYRIGHT
Copyright 2004, 2005, 2006, Richard Clamp. All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
SEE ALSO
Net::Rendezous - for service browsing.
Net::Rendezvous::Publish::Backend::* - you'll need one of these to talk to your local mDNS responder.
perl v5.10.1 2010-06-07 Net::Rendezvous::Publish(3pm)