[JNDI/Naming/Network] - Naming service problem
by czaszek
Hi All
I run jboss-4.0.5.GA, I am trying to integrate the Jboss with WebSphere MQ, using the Jboss Wiki page:
http://wiki.jboss.org/wiki/Wiki.jsp?page=IntegrationWithWebSphereMQSeries
When running the test:
$ant wsmq-tests
It tries to connect to the JBoss bootstrap port and throws exception:
[java] javax.naming.CommunicationException: Could not obtain connection to any of these urls: localhost:1099 and discovery failed with error: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out] [Root exception is javax.naming.CommunicationException: Failed to connect to server localhost:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server localhost:1099 [Root exception is java.net.ConnectException: Connection refused: connect]]]
I run the default configuration in:
c:\jboss-4.0.5.GA\server\default\deploy\naming.sar\META-INF\jboss-service.xml
I have
<mbean code="org.jboss.naming.NamingService" name="jboss:service=Naming"
| xmbean-dd="resource:xmdesc/NamingService-xmbean.xml">
| <attribute name="CallByValue">false</attribute>
| <attribute name="Port">1099</attribute>
| <attribute name="BindAddress">${jboss.bind.address}</attribute>
unfortunately when I do a netstat -an I do NOT see the 1099 port.
During the startup process of the server all resources binds properly,
so I have no idea why it nothing is listening on this port.
When I look into JMX console and check:
JBOSS-> service=Naming, the port I have is 1882.
I am not sure whether this is the place where 1099 should be, or is it placed somewhere else.
Is there any problem with accessing 1099 port on WinXP, that it can not bind to it?
I am new in Jboss, thanks in advance for any help.
Best Regards
Lukasz
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998869#3998869
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998869
19 years, 3 months
[Installation, Configuration & Deployment] - Naming service problem
by czaszek
Hi All
I run jboss-4.0.5.GA, I am trying to integrate the Jboss with WebSphere MQ, using the Jboss Wiki page:
http://wiki.jboss.org/wiki/Wiki.jsp?page=IntegrationWithWebSphereMQSeries
When running the test:
$ant wsmq-tests
It tries to connect to the JBoss bootstrap port and throws exception:
[java] javax.naming.CommunicationException: Could not obtain connection to any of these urls: localhost:1099 and discovery failed with error: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out] [Root exception is javax.naming.CommunicationException: Failed to connect to server localhost:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server localhost:1099 [Root exception is java.net.ConnectException: Connection refused: connect]]]
I run the default configuration in:
c:\jboss-4.0.5.GA\server\default\deploy\naming.sar\META-INF\jboss-service.xml
I have
<mbean code="org.jboss.naming.NamingService" name="jboss:service=Naming"
| xmbean-dd="resource:xmdesc/NamingService-xmbean.xml">
| <attribute name="CallByValue">false</attribute>
| <attribute name="Port">1099</attribute>
| <attribute name="BindAddress">${jboss.bind.address}</attribute>
unfortunately when I do a netstat -an I do NOT see the 1099 port.
During the startup process of the server all resources binds properly,
so I have no idea why it nothing is listening on this port.
When I look into JMX console and check:
JBOSS-> service=Naming, the port I have is 1882.
I am not sure whether this is the place where 1099 should be, or is it placed somewhere else.
Is there any problem with accessing 1099 port on WinXP, that it can not bind to it?
I am new in Jboss, thanks in advance for any help.
Best Regards
Lukasz
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998868#3998868
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998868
19 years, 3 months
[JBoss Seam] - @Factory and @Out: why required=false?
by SmokingAPipe
Ok, I'm not understanding something here.
I have a SFSB that with a snippet that looks like this:
| @Out private Foo foo;
|
| @Factory("foo") private void makeFoo() { .... }
|
and that causes a "foo did not exist but was required" exception when a page is first accessed. This is within a conversation, and this is the first page to be accessed in that conversation. If I put @Out(required=false) then it works as expected.
I don't get this. Foo is required, but shouldn't the factory always create it when it is needed? How can an @Out fail if there is a factory for that component?
I'm still not totally understanding the interplay between @Out and @Factory, and I'm also sometimes getting concurrent access exceptions if I try to do things in both @Begin and @Factory. I know these things all have logic behind them but it hasn't sunk in to me yet.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998862#3998862
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998862
19 years, 3 months