[Tomcat, HTTPD, Servlets & JSP] - Browser hangs intermittently when request for images are for
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=4231852#4231852
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4231852
16 years, 11 months
[JBoss Portal] - Re: HTTP Status 500 - No authenticated user while accessing
by mabimal
Hello matalle,
I just checked and Map<String, ?> arg2, Map<String, ?>
was error, and i just changed to Map sharedState, Map options
was compiled successful here .
I changed in the login-config.xml file too, but when i attempt to login, it succeeds and land on http://server:8080/portal/auth/dashboard, with HTTP:500 No Authenticated User, but in the console, there is the output,
Admin,
Authenticated
when logged in as admin,
and
User
Authenticated
when logged in as user.
Is there anything missing?
Regards,
Mabimal
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4231845#4231845
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4231845
16 years, 11 months
[JBoss Tools (users)] - Re: Overriding an EJB datasource for testing
by nickarls
I'm trying a similar setup with a Seam WAR.
I have a prod persistence.xml which defines a java:/ProdDatasource. In the same dir I have a persistence.xml with
| hibernate.dialect=org.hibernate.dialect.Oracle10gDialect
| hibernate.hbm2ddl.auto=validate
|
and then in my test project I have in my bootstrap/persistence.properties
| hibernate.dialect=org.hibernate.dialect.HSQLDialect
| hibernate.hbm2ddl.auto=create-drop
|
and by DB testng.xml does
| <parameter name="datasourceJndiName" value="java:/DefaultDS" />
| <parameter name="database" value="HSQL" />
| <parameter name="binaryDir" value="" />
|
and the import in the test class
| @Override
| protected void prepareDBUnitOperations()
| {
| beforeTestOperations.add(new DataSetOperation("path/to/my/BaseData.xml"));
| }
|
but the strange result is that I get Oracle create-errors and then I get another error for table not found when the import is attempted.
Any pointers are appreciated,
Nik
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4231838#4231838
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4231838
16 years, 11 months