[JBoss Eclipse IDE (users)] - Re: JBossIDE causing Eclipse to pause and do alot of disk IO
by rob.stryker@jboss.com
Max has experienced the same problem. He's told me about it, but I didn't take any action because I wasn't sure what would be a better way to implement what I've been doing using the current API. I'll spend more time investigating it today.
Unfortunately, there's no way to turn this off right now.
What's going on:
The server tools framework is calling all module factories and getting a list of the modules that the factory has created. The factory needs to have them all ready at once, because the API for a ModuleFactoryDelegate only has one relevent API element: getModules();
There's no getModule(String id), or any other API, which could let me create the modules upon request or demand. Instead the API seems to dictate that I find everything I'd consider a module right away.
So what this thread specifically is doing is searching the workspace for any and all Jar files (war, ear, jar, etc) and adding them as potentially deployable modules so that on request of getModules(), they're all ready.
So the thread is just searching for jar files in your workspace. In a very big workspace, this slows everything down.
I could take a long hard look into who and what call getModules() and see if there's any way for me to anticipate it, or at least anticipate which they're hoping to find so I can turn just those specific jar files into "modules", but I really don't think the API is designed for that, and I don't think it will work very well.
The relevent plugin is the AS bridge: org.jboss.ide.eclipse.as.core
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3966034#3966034
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3966034
19 years, 8 months
[Installation, Configuration & Deployment] - Jboss Oracle connection not working ..
by rock_pec
Hi,
As per the JBoss documentation. I copied the oracle-ds.xml to server/deploy directory. When I start Jboss I get the following error:
--- Packages waiting for a deployer ---
org.jboss.deployment.DeploymentInfo@e4101b09 { url=file:/C:/01work/01rocky/05sof
tware/jboss/server/default/deploy/oracle-ds.xml }
deployer: null
status: null
state: INIT_WAITING_DEPLOYER
watch: file:/C:/01work/01rocky/05software/jboss/server/default/deploy/oracle-d
s.xml
altDD: null
lastDeployed: 1155904380287
lastModified: 1155904380287
mbeans:
--- Incompletely deployed packages ---
org.jboss.deployment.DeploymentInfo@e4101b09 { url=file:/C:/01work/01rocky/05sof
tware/jboss/server/default/deploy/oracle-ds.xml }
deployer: null
status: null
state: INIT_WAITING_DEPLOYER
watch: file:/C:/01work/01rocky/05software/jboss/server/default/deploy/oracle-d
s.xml
altDD: null
lastDeployed: 1155904380287
lastModified: 1155904380287
mbeans:
18:03:00,459 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-808
0
18:03:00,568 INFO [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009
18:03:00,584 INFO [JkMain] Jk running ID=0 time=0/32 config=null
18:03:00,584 INFO [Server] JBoss (MX MicroKernel) [4.0.3SP1 (build: CVSTag=JBos
s_4_0_3_SP1 date=200510231751)] Started in 4s:625ms
Can anyone please tell me why this error is coming and how i can remove it?
Thanks.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3966029#3966029
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3966029
19 years, 8 months
[Messaging, JMS & JBossMQ] - Re: Durable Topic that is password protected in EJB 3.
by foxviewn2632
Problems solved. You only need:
@MessageDriven(
description="My Message driven bean to test JMS implementation. ",
name="PubMan",
activationConfig={
@ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Topic")
,@ActivationConfigProperty(propertyName = "destination", propertyValue = "topic/testTopic")
,@ActivationConfigProperty(propertyName="Durability",propertyValue="Durable")//subscription
,@ActivationConfigProperty(propertyName="acknowledgeMode",propertyValue = "AUTO-ACKNOWLEDGE")
}
)
There is no need for userid or password of Topic.
All is working.
Garth
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3966028#3966028
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3966028
19 years, 8 months