File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JBoss/WildFly and the fly likes Problem wit UIL ?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Problem wit UIL ??" Watch "Problem wit UIL ??" New topic
Author

Problem wit UIL ??

meka toka
Ranch Hand

Joined: Dec 11, 2002
Posts: 75
Hi,
I am using JBoss 3.0.6, UIL
I have a machine in my lab that has nothing but a fresh OS installed recently. We have developed an application that runs fine on other machines but when run on this machine, the machine cant seem to send out asynchronous messages.
Lets call this machine X
Scenario:
---------
I want to run a Jboss server instance on X and send an asynchronous message to another Jboss server instance running on another machine say Y.
Note:
------
I have the localhost value in /etc/hosts to my network ip address and not 127.0.0.1

Likewise I have another machine say A that does exactly the reverse as X ..viz., it can send but cant recieve asynchronous messages. Plain Socket calls run perfect on both of these systems.
What are the config settings on machine A ?? I am not sure ? So we can leave that out. But machine X has nothing but clean OS installed.
** No firewalls on the network
** Machine X runs DHCP server, I tried turning it off but still no change.

Thanks in advance
Regards
Meka Toka


Thanks<br />MekaToka<br />SCJP 1.4
ersin eser
Ranch Hand

Joined: Feb 22, 2001
Posts: 1072
The UIL (Unified Invocation Layer) is configured as an MBean, and supports all the attributes supported by the MBean for OIL(Optimized Invocation Layer)
OIL attibutes:
ServerBindPort-->att for defining the listen port on the server
BindAddress--> att used to define the listen address on the server
EnableTcpNoDelay--> indicats whether TcpNoDelay option should be used. If true TCP?IP packet will not be buffered
OIL also supports attributes of RMI Invocation Layer, whic are Invoker,ConnectionFactoryJNDIRef,XAConnectionFactoryJNDIRef,PingPeriod
Thus UIL support all the attributes above in definition of UIL setting are:
ServerBindPort-->8091
EnableTcpNoDelay--> true
XAConnectionFactoryJNDIRef-->UILXAConnectionFactory
ConnectionFactoryJNDIRef-->UILConnectionFactory
{JBoss' pre-configured file is jbossmq-service.xml in the \deploy directory of the default config set}
I am quoting this from jboss admin book of wrox. hope it helps
meka toka
Ranch Hand

Joined: Dec 11, 2002
Posts: 75
Hi,
Thank You for the post. I have gone through those material.
The oddity here is that the application works on every other system in my network except that ?? At the end of the day we even used a network analyzer to see if the packets were going or not ?
We noticed that it is recieving JMS messages but cant send them out.
what could be the reason ?
Regards
Meka Toka
ersin eser
Ranch Hand

Joined: Feb 22, 2001
Posts: 1072
I read that most of the JBossMQ subsystems are configured as MBeans services, and thus can efficiently monitored and administrered using JMX console. Did you try that?
meka toka
Ranch Hand

Joined: Dec 11, 2002
Posts: 75
Yes, I tried all of that. I have the yearly susbcription to all the JBoss docs and also a couple of books (only available in market) on JBoss.
I cant understand why it would work on one system and why not on other ? Usually in such circumstances its a configuration issue. But the question is what am i missing ? Cuz I have other systems with same configuration (as faar as i can notice) and same OS.
???
I am totally confused here
Regards
Meka Toka
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem wit UIL ??
 
Similar Threads
Tomcat is stand alone
Printing issue
Separate Tomcat and JBoss integration.
Separate Tomcat and JBoss integration.
Can we Configure Multiple JBoss Instances On One Machine?