[JBoss Web Services] - JAX-WS webservices are not working in JBoss-5.1.0.GA or JBoss-eap-5.1
by Basavaraj Patil
Basavaraj Patil [http://community.jboss.org/people/patilbh] created the discussion
"JAX-WS webservices are not working in JBoss-5.1.0.GA or JBoss-eap-5.1"
To view the discussion, visit: http://community.jboss.org/message/636139#636139
--------------------------------------------------------------
Hi,
Problem:
JAX-WS is not working in JBoss 5.1.0.GA and JBoss-eap-5.1 version. I tried with default JBoss native stack and JBoss CXF stack.
Brief Details:
Earlier we used Axis1.4 for webservices now I modified WebServices using JAX-WS which Oracle JDK 1.6 provides, deployment works fine in JBoss 4.x, WebLogic 10.x, WebSphere 7.x and WSDLs are exposed properly. The same deployment WAR file did not work in JBoss-5.1.0.GA and JBoss-eap-5.1. So i tried debugging my code, request is coming till doGet() method in my WSServlet class and then it goes within JBoss Servlet class, from here onwards I am clueless because no errors thrown.
Note: Earlier webservices using Axis 1.4 works great in Jboss-5.1.0.GA and Jboss-eap-5.1
web.xml details as below:
-----
<listener>
<description>Test Listener</description>
<listener-class>com.adminserver.web.helper.WSContextListener</listener-class>
</listener>
<servlet>
<servlet-name>jax-ws</servlet-name>
<servlet-class>com.client.web.helper.WSServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>jax-ws</servlet-name>
<url-pattern>/services/*</url-pattern>
</servlet-mapping>
-------
Please go through attachments for WSContextListener.java and WSSServlet.java detail
Error Details:
Strange thing is, I am not getting any errors in log file as well on the browser, getting blank page on browser (I mean complete white web page).
Options I tried:
I tried disabling security details in security-jboss-beans.xml and security-policies-jboss-beans.xml (security under deploy folder) thinking that anything is blocking related to security.
Also I tried disabling jboss-web.xml from jbossws-console.war folder in deploy, but did not help much.
Can you please let me know views? Also please let me know anything I am missing or need more information to understand this issue.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/636139#636139]
Start a new discussion in JBoss Web Services at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 5 months
[JBoss Messaging] - no success increasing number of redelivery attempts
by stupormundi
stupormundi [http://community.jboss.org/people/stupormundi] created the discussion
"no success increasing number of redelivery attempts"
To view the discussion, visit: http://community.jboss.org/message/635995#635995
--------------------------------------------------------------
In JBoss AS 5.1 , messaging 1.4.3 , I have a queue that I've attempted to make more resilient by changing the RedeliveryDelay and the DeliveryAttempts.
I've set the DefaultRedeliveryDelay on the ServerPeer to 10000 ms and that worked, so far so good.
I had initially set the DefaultMaxDeliveryAttempts (on the ServerPeer, for all my queues) to 10, but the number of redeliveries always appeared to be 5 or 6, in the log it would show:
Message redelivered=6 max=5 sending it to the dlq delegator->JBossMessage[2164239059637043
6]:PERSISTENT, deliveryId=13
I increased the DefaultMaxDeliveryAttempts on the ServerPeer to 20, but the number of actual redelivery attempts didn't increase.
I then tried to override this for the particular queue I was interested in to 30, like so:
<attribute name="MaxDeliveryAttempts">30</attribute>
... but the result was the same. I always checked the JMX console to be sure the settings had been picked up.
I've left the timeToLive on the MessageProducer on the default (0) and have also put in logging on it and on the produced messages to confirm that it is indeed 0.
Is there anything else that could cut down the number of redelivery attempts? .. After all, the queue attribute is called MaxRedeliveryAttempts and not RedeliveryAttempts ....
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/635995#635995]
Start a new discussion in JBoss Messaging at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 5 months