[JBoss Portal] - CSS & header injection
by fahlen
I have managed to inject the following line of HTML into the portlet HTML header using the file jboss-portlet.xml:
| <link type='text/css' rel='stylesheet' href='/ProcesosInternos/WEB-INF/css/Styles.css' />
|
The content of jboss-portlet.xml is this:
| <portlet-app>
| <portlet>
| <portlet-name>DatosPersonalesPortlet</portlet-name>
| <header-content>
| <link rel="stylesheet" type="text/css"
| href="/WEB-INF/css/Styles.css" />
| </header-content>
| </portlet>
| </portlet-app>
|
However, the CSS isn't applied to the content of the JSP page to which the portlet redirects the browser request, so I'm certain it must be the path of the CSS file which isn't correct.
I'm sure the problem and solution are very very basic, but they eludes me at the moment. Any help would be grately appreciated.
Thanks,
Mark
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4024600#4024600
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4024600
17Â years, 10Â months
[EJB 3.0] - Major problem - JBoss hungs
by mpikounis
I am facing a major issue with our system which runs on JBoss 4.04GA. We have an application which relies on EJB3 session beans and a mix of EJB2 and EJB3 entity beans.
The problem appears randomly (or when the server is under stress) and we cannot replicate it.
The symptoms are that certain requests are not serviced (just wait forever to load the page) and it seems that it is those requests that have something to do with EJB2 entity beans. The rest of the system responds just fine.
What is even stranger is that user A can access part X of the application. Then the problem occurs and user A can no longer load the page. User B may still be able to access part X for a while until eventually noone can access part X.
No CPU load, no memory problems, no network issues and as far as I can tell no database issues either.
Note that I am using "Instance Per Transaction CMP 2.x EntityBean" to make sure I am not running into deadlocking issues.
Any ideas?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4024597#4024597
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4024597
17Â years, 10Â months
[Performance Tuning] - Thread pools configuration
by bortx
Hi,
I'm performing load tests on my jBoss instance. My tests make requests through web service, and the processing uses JMS and JCA data sources. I'm having blocking problems, so the performance is not as high as expected, and the CPU usage is around 30%.
I have taken a look at the configuration of all thread pools jBoss uses, in order to set appropiated values for improving performance. These are the ones I have found:
- JBoss System Threads in jboss-service.xml
- JMS Threads in jbossmq-service.xml
- JCA Threads in jobssjca-service.xml
- Tomcat threads on jbossweb-tomcat55.sar/server.xml
I wonder if there are more thread pools I'm ignoring that could affect performance, and also I would like to know the relationship between services deployed in jboss and how they use those pools, so I could detect bottlenecks.
Also I would like to know how to increase the number of instance of EJBs and how it is affected by the thread pools.
Thanks a lot,
Bortx.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4024596#4024596
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4024596
17Â years, 10Â months