[JBoss Tools Users] - Re: Failed while installing Dynamic Web Module 2.5.
by paulkeogh
Also tried with the nightly build same result. (Version: 3.1.0.v200910310441N-H45-RC1)
The previous entry in the Eclipse error log is also related:
java.lang.NullPointerException: No IModelProvider exists for project P/ref of version: Dynamic Web Module 2.5
at org.eclipse.jst.j2ee.model.ModelProviderManager.getModelProvider(ModelProviderManager.java:99)
at org.eclipse.jst.j2ee.web.project.facet.WebFacetInstallDelegate.createWeb25DeploymentDescriptor(WebFacetInstallDelegate.java:283)
at org.eclipse.jst.j2ee.web.project.facet.WebFacetInstallDelegate.execute(WebFacetInstallDelegate.java:116)
at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.callDelegate(FacetedProject.java:1467)
at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.modifyInternal(FacetedProject.java:438)
at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.mergeChangesInternal(FacetedProject.java:1171)
at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.access$2(FacetedProject.java:1107)
at org.eclipse.wst.common.project.facet.core.internal.FacetedProject$5.run(FacetedProject.java:1089)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.mergeChanges(FacetedProject.java:1099)
at org.eclipse.wst.common.project.facet.core.internal.FacetedProjectWorkingCopy.commitChanges(FacetedProjectWorkingCopy.java:1958)
at org.eclipse.wst.common.project.facet.ui.ModifyFacetedProjectWizard.performFinish(ModifyFacetedProjectWizard.java:400)
at org.eclipse.wst.web.ui.internal.wizards.NewProjectDataModelFacetWizard.performFinish(NewProjectDataModelFacetWizard.java:279)
at org.jboss.tools.seam.ui.wizard.SeamProjectWizard.performFinish(SeamProjectWizard.java:278)
at org.eclipse.wst.common.project.facet.ui.ModifyFacetedProjectWizard$3.run(ModifyFacetedProjectWizard.java:331)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
at org.eclipse.wst.common.project.facet.ui.ModifyFacetedProjectWizard$4.run(ModifyFacetedProjectWizard.java:345)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263340#4263340
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263340
15 years, 1 month
[JBoss Messaging Users] - JBoss 4.2.3 GA, JBoss Messaging 1.4.2 SP1 GA and Worker Thre
by mayureshk
I will appreciate any insight regarding the behavior observed with JBoss 4.2.3 GA, JBoss Messaging and Worker Threads.
The JBoss 4.2.3 GA is running on Windows XP (SP 3) and uses jdk1.6.0_12.
The server is configured to use JBoss Messaging jboss-messaging-1.4.2.GA-SP1 (instead of JBoss MQ provided with JBoss 4.2.3 GA).
Two mbean sections in jboss-service.xml were modified
| to configure limited number of threads in the pool
| 1. org.jboss.invocation.pooled.server.PooledInvoker
| MaxPoolSize=15
| ClientMaxPoolSize=15
| SocketTimeout=60
|
| 2. org.jboss.remoting.transport.Connector (Configuration subsection)
| maxPoolSize=15
| clientMaxPoolSize=15
| socketTimeout=60
The Topic example supplied with the jboss-messaging-1.4.2.GA-SP1 examples directory was modified to simulate a client that is doing some work. A call to Thread.sleep() for 120 seconds was added just before releasing resources (i.e. before closing the InitialContext and connection in the finally block).
Threads were monitored using jvisualvm (provided by the JDK).
After starting the JBoss server there were 57 live threads, 35 daemon threads, there were no Worker Threads.
To simulate multiple clients publishing to a Topic and listening for replies; 25 instances of the Topic example were started in quick succession. The live thread count on the JBoss server went up to 136 of which 49 were Worker Threads (in running state).
After all the clients completed their sleep time (120 seconds) the client JVMs exited. At this point the JBoss server showed 106 live threads, 35 daemon threads. There were 49 Worker Threads in waiting state. All Worker threads remained in memory (in waiting state) even after an hour had passed with no activity (no requests) on the server.
Is it ok to expect that some Worker threads are closed by the server bringing down the live threads count due to inactivity for an hour?
Are there any parameters in JBoss that need to be changed to maintain the desired number of Worker Threads after a period of inactivity?
Thanks for reading this post, any inputs or suggestions throwing light on the observed behavior is welcome.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263339#4263339
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263339
15 years, 1 month
[JBoss Tools Users] - Failed while installing Dynamic Web Module 2.5.
by paulkeogh
Hi,
Latest and greatest is failing when trying to add a new Seam Web project.
Details below.
JBT:
eam Tools for Eclipse
Version: 3.1.0.v200910281724M-H247-M4
Copyright (c) JBoss by Red Hat, 2007 - 2009. All rights reserved.
Visit http://www.jboss.org/tools and http://www.seamframework.org
ST:
java.lang.NullPointerException
at org.eclipse.jst.j2ee.web.project.facet.WebFacetInstallDelegate.createWeb25DeploymentDescriptor(WebFacetInstallDelegate.java:310)
at org.eclipse.jst.j2ee.web.project.facet.WebFacetInstallDelegate.execute(WebFacetInstallDelegate.java:116)
at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.callDelegate(FacetedProject.java:1467)
at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.modifyInternal(FacetedProject.java:438)
at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.mergeChangesInternal(FacetedProject.java:1171)
at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.access$2(FacetedProject.java:1107)
at org.eclipse.wst.common.project.facet.core.internal.FacetedProject$5.run(FacetedProject.java:1089)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.mergeChanges(FacetedProject.java:1099)
at org.eclipse.wst.common.project.facet.core.internal.FacetedProjectWorkingCopy.commitChanges(FacetedProjectWorkingCopy.java:1958)
at org.eclipse.wst.common.project.facet.ui.ModifyFacetedProjectWizard.performFinish(ModifyFacetedProjectWizard.java:400)
at org.eclipse.wst.web.ui.internal.wizards.NewProjectDataModelFacetWizard.performFinish(NewProjectDataModelFacetWizard.java:279)
at org.jboss.tools.seam.ui.wizard.SeamProjectWizard.performFinish(SeamProjectWizard.java:278)
at org.eclipse.wst.common.project.facet.ui.ModifyFacetedProjectWizard$3.run(ModifyFacetedProjectWizard.java:331)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
at org.eclipse.wst.common.project.facet.ui.ModifyFacetedProjectWizard$4.run(ModifyFacetedProjectWizard.java:345)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
Eclipse:
eclipse.buildId=M20090917-0800
java.version=1.6.0_16
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_IE
Command-line arguments: -os win32 -ws win32 -arch x86
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263338#4263338
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263338
15 years, 1 month