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 OPENSOLARIS
avahi-publish-service
avahi-publish-service(1) General Commands Manual avahi-publish-service(1)
NAME
avahi-publish-service - Register an mDNS/DNS-SD service or host name or address mapping using the Avahi daemon
SYNOPSIS
avahi-publish -s [options] name service-type port [TXT data ...]
avahi-publish-service [options] name service-type port [TXT data ...]
avahi-publish -a [options] host name address
avahi-publish-address [options] host name address
DESCRIPTION
Register an mDNS/DNS-SD service or host name/address mapping using the Avahi daemon. The daemon is not the standard Avahi daemon but a
proxy to a Bonjour daemon.
OPTIONS
When calling in service registration mode, specify a DNS-SD service name (e.g. "Lennart's Files"), a service type (e.g. _http._tcp) and an
IP port number for the service, optionally followed by any number of TXT record strings on the command line. When calling in address/host
name registration mode specify a fully qualified host name and an address (IPv4 or IPv6).
-s | --service
Register a service. avahi-publish-service is equivalent to avahi-publish -s.
-a | --address
Register an address/host name mapping. avahi-publish-address is equivalent to avahi-publish -a.
-v | --verbose
Enable verbose mode.
-H | --host= HOSTNAME
Specify a host name for this service, in case it doesn't reside on the local host. This host name needs to be fully qualified and
resolvable using mDNS or unicast DNS.
-d | --domain= DOMAIN
Publish the service in the specified domain. If omitted the Avahi daemon will publish it in its default domain (usually .local).
--subtype= SUBTYPE
Register the service with an additional subtype in addition to the main type. DNS-SD subtypes have the form _anon._sub._ftp._tcp,
where _anon is the identifier of the subtype and _ftp._tcp is the main type. You may pass this option multiple times to register the
service with multiple subtypes.
-f | --no-fail
Don't fail if the daemon is not found running. Instead, wait until it appears. If it disconnects, try to reconnect.
-h | --help
Show help
-V | --version
Show version information.
SEE ALSO
avahi-resolve(1), avahi-browse(1)
COMMENTS
This man page was written using xml2man(1) by Oliver Kurth.
Manuals User avahi-publish-service(1)