[JBoss Tools] - Cannot install JBoss Tools RichFaces
by Alexander Hachmann
Alexander Hachmann [http://community.jboss.org/people/ahachmann] created the discussion
"Cannot install JBoss Tools RichFaces"
To view the discussion, visit: http://community.jboss.org/message/571480#571480
--------------------------------------------------------------
Hello,
I am back in dependencie hell of eclipse.
I cannot install several plugins, especially RichFaces, as I am missing dependencies :-(
Cannot complete the install because one or more required items could not be found.
Software being installed: JBoss Tools RichFaces 3.2.0.v20101016-0359-H111-Beta1 (org.jboss.tools.richfaces.feature.feature.group 3.2.0.v20101016-0359-H111-Beta1)
Missing requirement for filter properties ~= $0: XULRunner 1.9.12.v20101016-0359-H111-Beta1 (org.jboss.tools.xulrunner.feature.feature.group 1.9.12.v20101016-0359-H111-Beta1) requires 'org.mozilla.xulrunner.cocoa.macosx [1.9.1.2a]' but it could not be found
Cannot satisfy dependency:
From: JBoss Tools RichFaces 3.2.0.v20101016-0359-H111-Beta1 (org.jboss.tools.richfaces.feature.feature.group 3.2.0.v20101016-0359-H111-Beta1)
To: org.jboss.tools.xulrunner.feature.feature.group 0.0.0
What Shall I do? I added the Update Site of JBoss Tools, and I cannot find those dependencies.
Thx for any help,
Alexander
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/571480#571480]
Start a new discussion in JBoss Tools at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
15 years, 4 months
[JBoss Microcontainer] - Unable to tell JBoss to use Parent_Last=true
by Juan Velez
Juan Velez [http://community.jboss.org/people/juanavelez] created the discussion
"Unable to tell JBoss to use Parent_Last=true"
To view the discussion, visit: http://community.jboss.org/message/573755#573755
--------------------------------------------------------------
Hi:
First of all let me say that I have read many of entries in here as well as other places about my issue and the use of the jboss-classloading.xml and it seems nothing works.
My situation is the following: I am using JBoss AS 5.1.0GA. I am deploying a WAR file (not an EAR, not a SAR, nothing but a simple WAR file) which has a bunch of hibernate libraries (3.6.0) in it (WEB-INF/lib). I have tried telling JBoss to use the libraries within the WAR and not the ones provided by itself with no luck. I tried the http://community.jboss.org/docs/DOC-9288 http://community.jboss.org/wiki/classloadingconfiguration and finally used what Ales Justin suggested http://java.dzone.com/articles/jboss-microcontainer-classloading http://java.dzone.com/articles/jboss-microcontainer-classloading with no effect. My last try was to include a jboss-classloading.xml file in the WEB-INF directory (a sibling to the web.xml file) whose contents are
<?xml version="1.0" encoding="UTF-8"?>
<classloading xmlns="urn:jboss:classloading:1.0" parent-first="false">
</classloading>
<?xml version="1.0" encoding="UTF-8"?>
<classloading xmlns="urn:jboss:classloading:1.0" parent-first="false">
</classloading>
Unfortunately when I run JBoss I get the following message
14:35:42,336 ERROR [AbstractKernelController] Error installing to Instantiated: name=jboss.jacc:id="vfszip:/D:/java/containers/jboss-5.1.0.GA/server/default/deploy/pnsgdp.war/",service=jacc state=Described mode=Manual requiredState=Configured
java.lang.ClassNotFoundException: org.jboss.deployment.security.WarJaccPolicy from BaseClassLoader@6d516432{VFSClassLoaderPolicy@7a8946af{name=vfszip:/D:/java/containers/jboss-5.1.0.GA/server/default/deploy/pnsgdp.war/ domain=ClassLoaderDomain@70eb67e8{name=DefaultDomain parentPolicy=BEFORE parent=org.jboss.bootstrap.NoAnnotationURLClassLoader@58fe64b9} roots=[MemoryContextHandler@1249888770[path= context=vfsmemory://a4ja6v-tsw3z5-gh5d90p1-1-gh5d9bd8-2b real=vfsmemory://a4ja6v-tsw3z5-gh5d90p1-1-gh5d9bd8-2b], ZipEntryHandler(a)195522436[path=pnsgdp.war/WEB-INF/classes context=file:/D:/java/containers/jboss-5.1.0.GA/server/default/deploy/ real=file:/D:/java/containers/jboss-5.1.0.GA/server/default/deploy/pnsgdp.war/WEB-INF/classes], DelegatingHandler(a)495601942[path=pnsgdp.war/WEB-INF/lib/alstomMarketControl.jar context=file:/D:/java/containers/jboss-5.1.0.GA/server/default/deploy/ real=file:/D:/java/containers/jboss-5.1.0.GA/server/default/deploy/pnsgdp.war/WEB-INF/lib/alstomMarketControl.jar], DelegatingHandler(a)1640256128[path=pnsgdp.war/WEB-INF/lib/alstomTransactiveNode.jar context=file:/D:/java/containers/jboss-5.1.0.GA/server/default/deploy/ real=file:/D:/java/containers/jboss-5.1.0.GA/server/default/deploy/pnsgdp.war/WEB-INF/lib/alstomTransactiveNode.jar], DelegatingHandler(a)537166757[path=pnsgdp.war/WEB-INF/lib/alstomTransmissionZoneSimulation.jar context=file:/D:/java/containers/jboss-5.1.0.GA/server/default/deploy/ real=file:/D:/java/containers/jboss-5.1.0.GA/server/default/deploy/pnsgdp.war/WEB-INF/lib/alstomTransmissionZoneSimulation.jar], DelegatingHandler(a)140432911[path=pnsgdp.war/WEB-INF/lib/com.springsource.org.aopalliance-1.0.0.jar context=file:/D:/java/containers/jboss-5.1.0.GA/server/default/deploy/ real=file:/D:/java/containers/jboss-5.1.0.GA/server/default/deploy/pnsgdp.war/WEB-INF/lib/com.springsource.org.aopalliance-1.0.0.jar], DelegatingHandler(a)171407124[path=pnsgdp.war/WEB-INF/lib/commons-dbcp-1.2.2.jar context=file:/D:/java/containers/jboss-5.1.0.GA/server/default/deploy/ real=file:/D:/java/containers/jboss-5.1.0.GA/server/default/deploy/pnsgdp.war/WEB-INF/lib/commons-dbcp-1.2.2.jar], DelegatingHandler(a)1063962441[path=pnsgdp.war/WEB-INF/lib/commons-pool-1.5.2.jar context=file:/D:/java/containers/jboss-5.1.0.GA/server/default/deploy/ real=file:/D:/java/containers/jboss-5.1.0.GA/server/default/deploy/pnsgdp.war/WEB-INF/lib/commons-pool-1.5.2.jar], DelegatingHandler(a)2067900965[path=pnsgdp.war/WEB-INF/lib/cxf-2.3.0.jar context=file:/D:/java/containers/jboss-5.1.0.GA/server/default/deploy/ real=file:/D:/java/containers/jboss-5.1.0.GA/server/default/deploy/pnsgdp.war/WEB-INF/lib/cxf-2.3.0.jar], DelegatingHandler(a)336175707[path=pnsgdp.war/WEB-INF/lib/cxf-xjc-boolean-2.3.0.jar context=file:/D:/java/containers/jboss-5.1.0.GA/server/default/deploy/ real=file:/D:/java/containers/jboss-5.1.0.GA/server/default/deploy/pnsgdp.war/WEB-INF/lib/cxf-xjc-boolean-2.3.0.jar], DelegatingHandler(a)75632292[path=pnsgdp.war/WEB-INF/lib/cxf-xjc-bug671-2.3.0.jar context=file:/D:/java/containers/jboss-5.1.0.GA/server/default/deploy/ real=file:/D:/java/containers/jboss-5.1.0.GA/server/default/deploy/pnsgdp.war/WEB-INF/lib/cxf-xjc-bug671-2.3.0.jar], DelegatingHandler(a)1989096267[path=pnsgdp.war/WEB-INF/lib/cxf-xjc-dv-2.3.0.jar context=file:/D:/java/containers/jboss-5.1.0.GA/server/default/deploy/ real=file:/D:/java/containers/jboss-5.1.0.GA/server/default/deploy/pnsgdp.war/WEB-INF/lib/cxf-xjc-dv-2.3.0.jar], DelegatingHandler(a)863026620[path=pnsgdp.war/WEB-INF/lib/cxf-xjc-ts-2.3.0.jar context=file:/D:/java/containers/jboss-5.1.0.GA/server/default/deploy/ real=file:/D:/java/containers/jboss-5.1.0.GA/server/default/deploy/pnsgdp.war/WEB-INF/lib/cxf-xjc-ts-2.3.0.jar], DelegatingHandler(a)783850502[path=pnsgdp.war/WEB-INF/lib/dom4j-1.6.1.jar context=file:/D:/java/containers/jboss-5.1.0.GA/server/default/deploy/ real=file:/D:/java/containers/jboss-5.1.0.GA/server/default/deploy/pnsgdp.war/WEB-INF/lib/dom4j-1.6.1.jar], DelegatingHandler(a)1510696416[path=pnsgdp.war/WEB-INF/lib/org.springframework.aop-3.0.5.RELEASE.jar context=file:/D:/java/containers/jboss-5.1.0.GA/server/default/deploy/ real=file:/D:/java/containers/jboss-5.1.0.GA/server/default/deploy/pnsgdp.war/WEB-INF/lib/org.springframework.aop-3.0.5.RELEASE.jar], DelegatingHandler(a)575505231[path=pnsgdp.war/WEB-INF/lib/org.springframework.asm-3.0.5.RELEASE.jar context=file:/D:/java/containers/jboss-5.1.0.GA/server/default/deploy/ real=file:/D:/java/containers/jboss-5.1.0.GA/server/default/deploy/pnsgdp.war/WEB-INF/lib/org.springframework.asm-3.0.5.RELEASE.jar], DelegatingHandler(a)250071329[path=pnsgdp.war/WEB-INF/lib/org.springframework.aspects-3.0.5.RELEASE.jar context=file:/D:/java/containers/jboss-5.1.0.GA/server/default/deploy/ real=file:/D:/java/containers/jboss-5.1.0.GA/server/default/deploy/pnsgdp.war/WEB-INF/lib/org.springframework.aspects-3.0.5.RELEASE.jar], DelegatingHandler(a)323329324[path=pnsgdp.war/WEB-INF/lib/org.springframework.beans-3.0.5.RELEASE.jar context=file:/D:/java/containers/jboss-5.1.0.GA/server/default/deploy/ real=file:/D:/java/containers/jboss-5.1.0.GA/server/default/deploy/pnsgdp.war/WEB-INF/lib/org.springframework.beans-3.0.5.RELEASE.jar], DelegatingHandler(a)1062321558[path=pnsgdp.war/WEB-INF/lib/org.springframework.context-3.0.5.RELEASE.jar context=file:/D:/java/containers/jboss-5.1.0.GA/server/default/deploy/ real=file:/D:/java/containers/jboss-5.1.0.GA/server/default/deploy/pnsgdp.war/WEB-INF/lib/org.springframework.context-3.0.5.RELEASE.jar], DelegatingHandler(a)259384148[path=pnsgdp.war/WEB-INF/lib/org.springframework.context.support-3.0.5.RELEASE.jar context=file:/D:/java/containers/jboss-5.1.0.GA/server/default/deploy/ real=file:/D:/java/containers/jboss-5.1.0.GA/server/default/deploy/pnsgdp.war/WEB-INF/lib/org.springframework.context.support-3.0.5.RELEASE.jar], DelegatingHandler(a)77572026[path=pnsgdp.war/WEB-INF/lib/org.springframework.core-3.0.5.RELEASE.jar context=file:/D:/java/containers/jboss-5.1.0.GA/server/default/deploy/ real=file:/D:/java/containers/jboss-5.1.0.GA/server/default/deploy/pnsgdp.war/WEB-INF/lib/org.springframework.core-3.0.5.RELEASE.jar], DelegatingHandler(a)230467253[path=pnsgdp.war/WEB-INF/lib/org.springframework.expression-3.0.5.RELEASE.jar context=file:/D:/java/containers/jboss-5.1.0.GA/server/default/deploy/ real=file:/D:/java/containers/jboss-5.1.0.GA/server/default/deploy/pnsgdp.war/WEB-INF/lib/org.springframework.expression-3.0.5.RELEASE.jar], DelegatingHandler(a)1550105630[path=pnsgdp.war/WEB-INF/lib/org.springframework.jdbc-3.0.5.RELEASE.jar context=file:/D:/java/containers/jboss-5.1.0.GA/server/default/deploy/ real=file:/D:/java/containers/jboss-5.1.0.GA/server/default/deploy/pnsgdp.war/WEB-INF/lib/org.springframework.jdbc-3.0.5.RELEASE.jar], DelegatingHandler(a)1501201653[path=pnsgdp.war/WEB-INF/lib/org.springframework.jms-3.0.5.RELEASE.jar context=file:/D:/java/containers/jboss-5.1.0.GA/server/default/deploy/ real=file:/D:/java/containers/jboss-5.1.0.GA/server/default/deploy/pnsgdp.war/WEB-INF/lib/org.springframework.jms-3.0.5.RELEASE.jar], DelegatingHandler(a)2058297015[path=pnsgdp.war/WEB-INF/lib/org.springframework.orm-3.0.5.RELEASE.jar context=file:/D:/java/containers/jboss-5.1.0.GA/server/default/deploy/ real=file:/D:/java/containers/jboss-5.1.0.GA/server/default/deploy/pnsgdp.war/WEB-INF/lib/org.springframework.orm-3.0.5.RELEASE.jar], DelegatingHandler(a)2131345229[path=pnsgdp.war/WEB-INF/lib/org.springframework.oxm-3.0.5.RELEASE.jar context=file:/D:/java/containers/jboss-5.1.0.GA/server/default/deploy/ real=file:/D:/java/containers/jboss-5.1.0.GA/server/default/deploy/pnsgdp.war/WEB-INF/lib/org.springframework.oxm-3.0.5.RELEASE.jar], DelegatingHandler(a)1492031843[path=pnsgdp.war/WEB-INF/lib/org.springframework.transaction-3.0.5.RELEASE.jar context=file:/D:/java/containers/jboss-5.1.0.GA/server/default/deploy/ real=file:/D:/java/containers/jboss-5.1.0.GA/server/default/deploy/pnsgdp.war/WEB-INF/lib/org.springframework.transaction-3.0.5.RELEASE.jar], DelegatingHandler(a)412639282[path=pnsgdp.war/WEB-INF/lib/org.springframework.web-3.0.5.RELEASE.jar context=file:/D:/java/containers/jboss-5.1.0.GA/server/default/deploy/ real=file:/D:/java/containers/jboss-5.1.0.GA/server/default/deploy/pnsgdp.war/WEB-INF/lib/org.springframework.web-3.0.5.RELEASE.jar], DelegatingHandler(a)1003716411[path=pnsgdp.war/WEB-INF/lib/org.springframework.web.servlet-3.0.5.RELEASE.jar context=file:/D:/java/containers/jboss-5.1.0.GA/server/default/deploy/ real=file:/D:/java/containers/jboss-5.1.0.GA/server/default/deploy/pnsgdp.war/WEB-INF/lib/org.springframework.web.servlet-3.0.5.RELEASE.jar]] delegates=null exported=[]}}
at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:448)
Could someone please shine some light on this? I can not believe something as trivial as to telling JBoss to use the libraries found in the WAR file can be so complicated/complex
Thanks in advance
Juan
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/573755#573755]
Start a new discussion in JBoss Microcontainer at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
15 years, 4 months
[Performance Tuning] - Full Garbage Collection every few seconds – GC frees very little memory (JBoss 4.2.3 with JDK 1.5.0 64-bit)
by Constantine Pinakoulakis
Constantine Pinakoulakis [http://community.jboss.org/people/kopin] created the discussion
"Full Garbage Collection every few seconds – GC frees very little memory (JBoss 4.2.3 with JDK 1.5.0 64-bit)"
To view the discussion, visit: http://community.jboss.org/message/571975#571975
--------------------------------------------------------------
Setup
8-core Xeon / 10 GB RAM
RedHat EL 5.3 (64-bit)
JDK 1.5.0._22 (64-bit)
JBoss AS 4.2.3.GA with JBoss Messaging installed
JAVA_OPTS=”-server -Xrs -Xms2048m -Xmx2048m -XX:MaxPermSize=512m -XX:NewRatio=1 -XX:ThreadStackSize=160 -XX:+UseParallelGC -Djava.awt.headless=true -Djava.library.path=$JBOSS_NATIVE_DIR -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000”
Description
We are running an EE web application on JBoss with an Apache httpd as a reverse proxy (using mod_jk) on another machine. Our stress tests have shown that the server can handle up to 400 concurrent requests, and we have therefore set the Tomcat AJP pool to that size.
When usage is normal, we can see about 40 active threads out of 400 being used, and the server works fine. Sometimes (we have not been able to discover a pattern – it may happen anytime from every couple of days to every couple of weeks) the number of active AJP threads reaches the maximum (400) and from that time onwards, server performance degrades significantly and does not get back to normal, even after the active AJP thread count has fallen to 10-20. Eventually, performance reaches unacceptable levels and we have to restart JBoss.
We have observed that when the problem occurs, the garbage collector behaves like this (and never recovers) :
/usr/java/jdk_5_64/jdk1.5.0_22/bin/jstat -gcutil 21801 5000 10
S0 S1 E O P YGC YGCT FGC FGCT GCT
0.00 0.00 46.39 99.81 99.97 43111 839.352 14271 38382.902 39222.254
0.00 0.00 99.81 99.78 99.97 43111 839.352 14273 38385.821 39225.173
0.00 0.00 99.98 99.78 99.99 43111 839.352 14274 38388.653 39228.005
0.00 0.00 99.96 99.78 99.98 43111 839.352 14276 38394.327 39233.679
0.00 0.00 99.80 99.75 99.97 43111 839.352 14277 38397.220 39236.572
0.00 0.00 29.83 99.75 99.96 43111 839.352 14278 38402.896 39242.249
0.00 0.00 99.09 99.75 99.98 43111 839.352 14280 38405.740 39245.093
0.00 0.00 99.80 99.70 99.97 43111 839.352 14281 38408.664 39248.016
0.00 0.00 99.41 99.70 99.77 43111 839.352 14283 38414.305 39253.657
0.00 0.00 99.82 99.70 99.79 43111 839.352 14284 38417.120 39256.473
When all is normal, its behaviour is much better :
/usr/java/jdk_5_64/jdk1.5.0_22/bin/jstat -gcutil 28174 5000 10
S0 S1 E O P YGC YGCT FGC FGCT GCT
0.00 96.31 17.02 50.89 99.06 28939 522.830 1777 3073.229 3596.059
97.80 0.00 11.21 51.04 99.06 28942 522.874 1777 3073.229 3596.103
90.52 0.00 87.36 51.19 99.06 28944 522.904 1777 3073.229 3596.133
0.00 99.05 43.58 51.35 99.06 28947 522.951 1777 3073.229 3596.180
0.00 97.12 95.89 51.47 99.06 28949 522.983 1777 3073.229 3596.211
0.00 84.73 47.50 51.72 99.06 28953 523.045 1777 3073.229 3596.274
0.00 98.39 68.94 51.87 99.06 28955 523.078 1777 3073.229 3596.307
0.00 97.86 56.04 52.01 99.07 28957 523.111 1777 3073.229 3596.340
0.00 99.08 63.76 52.15 99.07 28959 523.141 1777 3073.229 3596.370
0.00 96.79 1.02 52.29 99.07 28961 523.171 1777 3073.229 3596.400
The whole Java heap space is all in RAM, i.e. the OS swap file is not used at all. We suspected a memory leak in the application, since the old generation space becomes almost full, but the JVM does not throw an OutOfMemory error; instead, it seems to free very little memory each time, resulting in a full GC.
Any ideas?
Thanks.
Constantine
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/571975#571975]
Start a new discussion in Performance Tuning at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
15 years, 4 months
[JBoss Portal] - Null session Id in New Window - need help
by Sam Kokli
samko [http://community.jboss.org/people/samko] created the discussion
"Null session Id in New Window - need help"
To view the discussion, visit: http://community.jboss.org/message/573695#573695
--------------------------------------------------------------
To display the html report in New Window, I have set the attribute in a servlet. I am using the following command to open the New Window:
Applet.getAppletContext().showDocument(new URL(UrlAddress), "_blank");
In another servlet, I like to retrieve the attribute value to display it.
HttpSession session = request.getSession(true);
String htmlReport = (String)session.getAttribute("REPORT");
I cannot get the attribute value since session always returns the new session id.
Here is Context.xml:
<!-- The contents of this file will be loaded for each web application -->
<Context cookies="true" crossContext="true">
<!-- Session persistence is disable by default. To enable for all web
apps set the pathname to a non-empty value:
<Manager pathname="SESSIONS.ser" />
To enable session persistence for a single web app, add a
WEB-INF/context.xml
-->
<Manager pathname="" />
<!-- Install an InstanceListener to handle the establishment of the run-as
role for servlet init/destroy events.
-->
<InstanceListener>org.jboss.web.tomcat.security.RunAsListener</InstanceListener>
<SessionCookie path="/" />
</Context>
How can I retrieve the old session id?
Thanks
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/573695#573695]
Start a new discussion in JBoss Portal at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
15 years, 4 months