[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[xmlblaster] Reletively newbie help needed



Hi all,
I'm having problems running the XMLBlaster demos
across our LAN, they work fine when run on the same
host.When i run the XMLBlaster server on one host eg
IP address 157.190.176.121 with:

	java -jar $XMLBLASTER_HOME/lib/xmlBlaster.jar 

And on another host 157.190.176.122 i run for example
the ClientSub demo with:

	java $XMLBLASTER_HOME/demo/javaclients/ClientSub
-iorHost 157.190.176.121 -iorPort 7609

The client gives me the output:

$ java ClientSub -iorHost 157.190.176.121 -iorPort
7609
Property: filenName=xmlBlaster.properties,
scanSystemProperties=true, args=[4],
replaceVariables=true
Property: File 'xmlBlaster.properties' is not in
current directory
/usr/local/xmlBlaster/demo/javaclients
Property: File 'xmlBlaster.properties' is not in
PROJECT_HOME, 'java -DPROJECT_HOME=...' is not set ...
Property: Loading xmlBlaster.properties from directory
/root
Property: Loaded file xmlBlaster.properties
Property: Replacing
'Persistence.Path=${user.home}${file.separator}tmp' to
'/root/tmp'
Property: Replacing
'Security.Server.Plugin.htpasswd.secretfile=${user.home}${file.separator}xmlBlaster.htpasswd'
to '/root/xmlBlaster.htpasswd'
[28-Mar-2002 12:22:36 INFO  Log] XmlBlaster logging
subsystem configured
[28-Mar-2002 12:22:36 INFO  Log] XmlBlaster logging
switched
Property: filenName=xmlBlaster.properties,
scanSystemProperties=true, args=[4],
replaceVariables=true
Property: File 'xmlBlaster.properties' is not in
current directory
/usr/local/xmlBlaster/demo/javaclients
Property: File 'xmlBlaster.properties' is not in
PROJECT_HOME, 'java -DPROJECT_HOME=...' is not set ...
Property: Loading xmlBlaster.properties from directory
/root
Property: Loaded file xmlBlaster.properties
Property: Replacing
'Persistence.Path=${user.home}${file.separator}tmp' to
'/root/tmp'
Property: Replacing
'Security.Server.Plugin.htpasswd.secretfile=${user.home}${file.separator}xmlBlaster.htpasswd'
to '/root/xmlBlaster.htpasswd'
[28-Mar-2002 12:22:36 INFO  XmlBlasterConnection]
Using 'client.protocol=IOR' to access xmlBlaster
        JacORB V 1.3.30, www.jacorb.org
        (C) Gerald Brose, FU Berlin, 13 June 2001
[28-Mar-2002 12:22:37 INFO 
XmlBlasterConnection-ClientSub] Loaded security
plugin=simple version=1.0
[28-Mar-2002 12:22:37 INFO 
XmlBlasterConnection-ClientSub] Using
'client.cbProtocol=IOR' to access xmlBlaster, trying
to create the callback server ...
        JacORB V 1.3.30, www.jacorb.org
        (C) Gerald Brose, FU Berlin, 13 June 2001
[ POA RootPOA - ready ]
[28-Mar-2002 12:22:38 INFO 
CorbaCallbackServer-ClientSub] Success, created CORBA
callback server for ClientSub
[28-Mar-2002 12:22:38 INFO 
XmlBlasterConnection-ClientSub] Callback settings:
onOverflow=block onFailure=deadLetter maxMsg=1000
type=IOR retries=0 oneway=false
burstMode.collectTime=0
[28-Mar-2002 12:22:38 WARN  CorbaConnection-ClientSub]
XmlBlaster not found on host 157.190.176.121 and port
7609. java.net.ConnectException: Connection refused
[28-Mar-2002 12:22:38 INFO  CorbaConnection-ClientSub]
Trying to find a CORBA naming service ...
[ Retrying connection to 127.0.0.1:7608 ]
[ Retrying connection to 127.0.0.1:7608 ]
[28-Mar-2002 12:22:39 WARN 
CorbaConnection-ClientSub.NoNameService] Can't access
naming service
[28-Mar-2002 12:22:39 WARN 
CorbaConnection-ClientSub.NoAuthService] Can't access
xmlBlaster Authentication Service, is the server
running and ready?
 - try to specify '-iorFile <fileName>' if server is
running on same host
 - try to specify '-iorHost <hostName> -iorPort 7609'
to locate xmlBlaster
 - or contact your system administrator to start a
naming service
Exception found location=ClientSub.java:82
[28-Mar-2002 12:22:39 ERROR
ClientSub.java:82-ClientSub] Client failed:
id=NoAuthService reason=Can't access xmlBlaster
Authentication Service, is the server running and
ready?
 - try to specify '-iorFile <fileName>' if server is
running on same host
 - try to specify '-iorHost <hostName> -iorPort 7609'
to locate xmlBlaster
 - or contact your system administrator to start a
naming service
[28-Mar-2002 12:22:39 INFO  ClientSub] Good bye
Total memory allocated = 2.31 MBytes. Free memory
available = 998.984 KBytes.
There were 1 ERRORS and 3 WARNINGS
$

1. Can the command line arguments be an explicit IP
address like i am using or must it be a hostname?
Neither host are registered with our DNS so i can't
refer to them by hostname,is this ok or not?

2.Can anyone suggest any other reason which might be
preventing the XMLBlaster server from accepting the
connection, i have verified that the server is running
and is listening on port 7609 and both hosts can ping
the other.

All answers are appreciated,

Regards,
Finbarr O'Brien

__________________________________________________
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards®
http://movies.yahoo.com/