[JBoss Microcontainer] - isolated classloading for war file
by Brad -
Brad - [http://community.jboss.org/people/brad1973] created the discussion
"isolated classloading for war file"
To view the discussion, visit: http://community.jboss.org/message/537933#537933
--------------------------------------------------------------
Hi,
I have a .war and .sar deployed in JBoss 5 which both require spring framework version 3 jars. We have other services deployed which use spring version 2 and the JAR for that version is in the servler lib directory.
I can get the .sar to use its local spring JARs using the jboss-classloading.xml file in the META-INF directory, however it won't seem to work for the war file.
test.sar/META-INF/jboss-classloading.xml:
<?xml version="1.0" encoding="UTF-8"?>
<classloading xmlns="urn:jboss:classloading:1.0"
name="test.sar"
domain="test.sar.domain"
parent-first="false"
export-all="NON_EMPTY"
import-all="false">
</classloading>
test.war/WEB-INF/jboss-classloading.xml:
<?xml version="1.0" encoding="UTF-8"?>
<classloading xmlns="urn:jboss:classloading:1.0"
name="test.war"
domain="test.war.domain"
parent-first="false"
export-all="NON_EMPTY"
import-all="false">
</classloading>
I get this error:
Its definitely working for the .sar but not the .war. Could someone advise me where I'm going wrong?
Thanks,
Brad.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/537933#537933]
Start a new discussion in JBoss Microcontainer at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
16 years, 1 month
[JBoss Tools] - Newbie - How do I debug with JBoss Tools?
by Ran Bittmann
Ran Bittmann [http://community.jboss.org/people/rmbittmann] created the discussion
"Newbie - How do I debug with JBoss Tools?"
To view the discussion, visit: http://community.jboss.org/message/537917#537917
--------------------------------------------------------------
Hi,
I am using: Eclipse 3.5.1, JBoss Tools 3.1.0.CR1. I would like to debug my project, i.e. setting breakpoints, examining variables, etc..., in the beans I created.
I could not find a good explanation how this is done with JBoss Tools with Eclipse. I will appreciate it if someone could point me to a good explanation or give me a small example or HowTo directions.
Thanks,
Rani.
http://www.qtl.co.il/img/copy.png http://www.qtl.co.il/img/copy.png http://www.google.com/search?q=,%20or%20point%20me%20to%20a%20good%20expl... http://www.google.com/favicon.ico http://en.wikipedia.org/wiki/,%20or%20point%20me%20to%20a%20good%20explan... http://en.wikipedia.org/favicon.ico http://www.morfix.com/favicon.ico http://www.morfix.com/favicon.ico http://www.google.com/favicon.ico http://www.google.com/favicon.ico
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/537917#537917]
Start a new discussion in JBoss Tools at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
16 years, 1 month
Re: [jboss-user] [jBPM] - Central jBPM (enterprise) with remote access from managing apps
by zecas zecas
zecas zecas [http://community.jboss.org/people/zecas] replied to the discussion
"Central jBPM (enterprise) with remote access from managing apps"
To view the discussion, visit: http://community.jboss.org/message/537908#537908
--------------------------------------------------------------
> Sebastian Schneider wrote:
>
> jBPM does not offer webservices to invoke API operations itself but the console ships with a RESTful webservice used as abstraction layer for 2 reasons. Firstly the console is a generic application and is used for other projects, too and secondly it should be deployable on an application server different from the one jBPM is deployed on. So you could go and try to use the RESTful webservices. Search the forums. There are a couple of posts about it. You could also build your own abstraction layer in form of a webservice. If you search the forums you will also find the effort of somebody trying to create a REST interface for jBPM. Be aware that the RESTful webservice for the console does not implement all the operations offered by the jBPM-API.
Thanks for the info. I've found some info about the RESTful webservice, still I have no detailed info if it implements all the operations of the jbpm api or not, but I'll sure give it a try.
So in the situation I described, with several webapps each with at least one process, what practices you recommend?
1# Each webapp is responsible for deployment of it's own processes, and has it's own hibernate config with jbpm db definition PLUS webapp specific database definitions?
2# Same as point 1# but 2 different hibernate configs (is this possible?), one for jbpm to a common enterprise jbmp db, PLUS the second hibernate config for specific definitions in a different db? (this would bring added complexity for transaction management between the 2 databases, ie, starting a process in jbpm AND create records in webapp specific tables)?
3# Install a central console, and use RESTful webservice if fullfills the needs, if not, just use console for process deployment and managing, and create a EAR project that would implement jbpm api services as required?
Just to feel safe, is there any special precaution if I use several applications with jbpm hibernate configs that point to the same jbpm database? I assume database wouldn't be of any issue, as transactions are correctly maintained amongst different connections, from different applications. My question resides more on any precaution on the jbpm api side, any special one?
Thanks
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/537908#537908]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
16 years, 1 month