Further post...
11:11:37,562 INFO [Server] Core system initialized
11:11:39,265 INFO [Log4jService$URLWatchTimerTask] Configuring from URL:
resource:log4j.xml
log4j:ERROR File name should be xxx.xxx
11:11:39,640 [jboss:service=Naming NamingService] main INFO
[jboss.naming.NamingService] Started jndi bootstrap jnpPort=10099, rmiPort=0,
backlog=50, bindAddress=null, Client SocketFactory=null, Serv
er [EMAIL PROTECTED]
11:11:42,062 [jboss.jca:name='jboss-local-jdbc.rar',service=RARDeployment
RARDeployment] main INFO [resource.deployment.RARDeployment] Required license
terms exist view the META-INF/ra.xml: file:/C:/
zx1000/runtime/server/server/default/deploy/jboss-local-jdbc.rar
11:11:42,343 [attune:service=Bootstrap] main DEBUG [server.boot.Bootstrap]
^^^^^^^^^^^^^^ bootstartp create ^^^^^^^^^^^^
11:11:43,250 [jboss.jca:name=DefaultDS,service=DataSourceBinding
WrapperDataSourceService] main INFO [jdbc.remote.WrapperDataSourceService]
Bound connection factory for resource adapter for Connectio
nManager 'jboss.jca:name=DefaultDS,service=DataSourceBinding to JNDI name
'java:DefaultDS'
11:11:43,687 [jboss.mq.destination:name=AttuneClientChannel,service=Topic
AttuneClientChannel] main INFO [jmx.Topic.AttuneClientChannel] Bound to JNDI
name: topic/AttuneClientChannel
11:11:43,687 [attune:service=Bootstrap] main DEBUG [server.boot.Bootstrap]
^^^^^^^^^^^^^bootstartp start^^^^^^^^^^^
11:11:43,703 [] Thread-6 INFO [server.boot.Bootstrap] Bootstrapping Attune MCS
11:11:43,703 [] Thread-6 DEBUG [server.boot.Bootstrap] MCS: Mango Coco
Strawberry :)
11:11:43,703 [jboss.mq:service=InvocationLayer,type=UIL2 UILServerILService]
main INFO [il.uil2.UILServerILService] JBossMQ UIL service available at :
cert001/172.30.120.99:8093
11:11:43,796 [] Thread-6 DEBUG [server.database.ObjCache] !!!!Value of zcache
:Y:
11:11:43,796 [] Thread-6 DEBUG [server.database.ObjCache] !!!!init db delegate
11:11:43,953 [jboss.mq.destination:name=DLQ,service=Queue DLQ] main INFO
[jmx.Queue.DLQ] Bound to JNDI name: queue/DLQ
11:11:43,953 [] main INFO [system.server.Server] JBoss (MX MicroKernel) [4.0.2
(build: CVSTag=JBoss_4_0_2 date=200505022023)] Started in 7s:282ms
My server application is invoked with the following arguments..
"%JAVA_HOME%\bin\java" -server -Dsun.rmi.transport.tcp.readTimeout=120000
-Xdebug -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n
-Dzcache="Y" %MEM_SET% -classpath
"%JBOSS_CLASSPATH%";%LIBENDORSE_DIR%\xercesImpl.jar;%LIBENDORSE_DIR%\xml-apis.jar
-Djava.security.manager -Djava.security.policy=../conf/cimom/cimom.policy
-Dsys.root=%SystemRoot% org.jboss.Main -Dzzz.conf=%ZZZ_CONF%
-Djava.rmi.server.hostname=%COMPUTERNAME% -Djboss.bind.address=%COMPUTERNAME%
The UIL Service xml file picks up the computer name from the command line
arguments -Djboss.bind.address=%COMPUTERNAME%
<mbean code="org.jboss.mq.il.uil2.UILServerILService"
| name="jboss.mq:service=InvocationLayer,type=UIL2">
|
| <!-- The server chain -->
| <depends
optional-attribute-name="Invoker">jboss.mq:service=Invoker</depends>
| <!-- JNDI binding -->
| <attribute name="ConnectionFactoryJNDIRef">ConnectionFactory</attribute>
| <!-- JNDI binding for XA -->
| <attribute
name="XAConnectionFactoryJNDIRef">XAConnectionFactory</attribute>
| <!-- The bind address -->
| <attribute name="BindAddress">${jboss.bind.address}</attribute>
Despite supplying the hostname from commandline, the UILService is getting
bound to one of the interface IPAddresses, I found this out by looking at the
SpyConnectionFactory stub at the remote client during debugging.
Object tmp = jndiContext.lookup("ConnectionFactory");
| TopicConnectionFactory tcf = (TopicConnectionFactory) tmp;
| _conn = tcf.createTopicConnection();
| System.out.println("\nJMS topic connection created");
It says the endpoint for the server is bound to an interface IPAddress. I would
like to see it bound to hostname because there is quite a possibility that the
client cannot reach the interface to which the UILService is bound or otherwise
if application changes the IPAddress of the adapter(my application can change
the adapter tcp/ip properties) to which the server is bound, then the UIL
Service stub becomes stale because the old IPAdress is invalid for the case
where the client could reach the network on which UIL Service is bound to an
IPAddress.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917028#3917028
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917028
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user