[Tomcat, HTTPD, Servlets & JSP] - JBossv4.2.3 not sending response for image files and browser
by gbansal80
We are using JBoss v4.2.3.ga and Apache v 2.2.9 and mod_jk v 1.2.26 are being used as the load balancer.
We have observed that sometimes JBoss fails to send response for a image file. At this stage the browser hangs but on clicking the refresh button the page is rendered completely.
On analysing the network packets we saw that GET request for image is send by the browser but no response is received. We also checked the logs of apache and mod_jk but there are no logs for this particular image request. Then I shutdown the JBoss server and response code 503 was send to the browser. At this stage browser comes out of hang state. Also the logs for this request can be seen in both Apache and mod_jk logs.
It is not that browser hangs only in case of one particular image but the behaviour is completely random. The images are packaged inside jar files of Trinidad components.
It seems that there is some I/O failure in JBoss-tomcat because of which request doesn't get completed. The thread dump of JBoss doesn't point to any deadlocks on server side.
What could be the possible reasons for this behaviour?
Is it a known issue in JBoss v4.2.3.ga and is there is a fix for this?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4232111#4232111
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4232111
16 years, 11 months
[JBoss Messaging] - Unable to configure a topic in Jboss 5
by talktoudaykumar
Hi,
I'm new to JBoss Messaging services. I started with simple Queue example. It was deployed well and able to taste the result.
Now the problem is, i"m unable to configure the TOPIC.What i did is
1)I'm using the default (as deployment folder).
2) I created the xml file and named as jboss-topic-service.xml. in default/config folder
3)I written the below code in that.
<server>
| <mbean code="org.jboss.jms.server.destination.TopicService"
| name="jboss.messaging.destination:service=Topic,name=testTopic"
| xmbean-dd="xmdesc/Topic-xmbean.xml">
| <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
| <depends>jboss.messaging:service=PostOffice</depends>
| <attribute name="SecurityConfig">
| <security>
| <role name="guest" read="true" write="true"/>
| <role name="publisher" read="true" write="true" create="false"/>
| <role name="durpublisher" read="true" write="true" create="true"/>
| </security>
| </attribute>
| </mbean>
| </server>
4)when i start my jboss with default as deployment option, I'm unable to see my topic in the console. Here is the console output.
12:13:53,352 INFO [ServerPeer] JBoss Messaging 1.4.1.GA server [0] started
| 12:13:53,461 INFO [QueueService] Queue[/queue/ExpiryQueue] started, fullSize=200000, pageSize=2000, downCacheSize=2000
| 12:13:53,539 INFO [QueueService] Queue[/queue/testQueue] started, fullSize=200000, pageSize=2000, downCacheSize=2000
| 12:13:53,618 INFO [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds
| 12:13:53,618 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@1f4ed3f started
5) In the above console output we can able to see the queue service has been configured well but Topic is not.
Please help me in this . What's wrong with the configuration. Please let me know is there any thing to do in order to deal with TOPIC example.
I even checked by removing the SecurityConfig attribute in jboss-topic-service.xml. But no use.
Help me in this.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4232105#4232105
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4232105
16 years, 11 months