"[EMAIL PROTECTED]" wrote : Can it be done?
| e.g. @Inject ControllerContext ctx;
|
Now you can.
But not on field, on setter. :-)
| @Inject(fromContext="context")
| public void setContext(ControllerContext context)
|
View the original post :
http://www.jboss.com/index.html?module=bb
Yes.
anonymous wrote :
| Since we'd like to hot deploy many different Spring archives, each of them
must be uniquely represented in our environment. For that purpose, JNDI will be
used as a registry for these deployments. But where can we get our local JNDI
name? By default, this JNDI name i
Like I said in the sticky, deploying Spring .war file/application is what
Spring is all about - see their basic instructions. JBoss (Tomcat) in this case
only serves as a web container.
What JBoss/Spring is about, is the integration with EJB3 or any AOP injection
capable module.
"pedwards" wro
"genman" wrote :
| One weakness is that the Name has to be stored in the target, there's no
way, given a Service to find its name in the Microcontainer. (That I know of.)
What can help is new stuff that I've added previous week:
|
|
This will 'inject' you underlying bean name.
View the
"rbuckvrsn" wrote :
| Sounds like we have to modify the microcontainer, and rebuild JBoss to suit
our needs.
What's wrong with value-factory?
I'm just adding annotation handling, I guess the initial version will be
finished next week.
I'll make it plugable as possible.
View the original post
"genman" wrote :
| Could you point me to some examples on how to construct a method
interceptor in the -beans.xml format, for beans marked with annotations? In
case I change my mind again.
|
http://anonsvn.jboss.org/repos/jbossas/projects/microcontainer/trunk/docs/gettingstarted/src/docbkx/
"genman" wrote :
| When I write my Interceptor, how do I know if the Microcontainer is calling
me due to Lifecycle transition, or the call is from "somebody else"?
|
You can always check the current execution stack. :-)
View the original post :
http://www.jboss.com/index.html?module=bb&op=
"genman" wrote :
| In JBoss 5.0 some of the state management is handled by the Microcontainer.
But a lot is still handled by the ServiceController.
|
All of the state management is handled by MC, ServiceController is just a
facade over MC - see actual code for more details:
http://anonsvn.
"alesj" wrote :
| Just added new feature:
|
| |
| |
| will do the job. ;-)
|
But this is useless, since you'll only get this injected at the whenRequired
state - which you can 'tell' in advance. ;-)
Perhaps use one of the [State]KernelControllerConte
"rbuckvrsn" wrote : Are there other options?
|
http://jira.jboss.com/jira/browse/JBMICROCONT-197
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4066466#4066466
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4066466
___
"genman" wrote :
| I'd like to also intercept calls to the method "getState()" and return the
Microcontainer state. Or, I'd like to "inject" state somehow.
|
| | public class MyService {
| | @InjectState
| | State state;
| | public State getState() { return state; }
|
See http://jira.jboss.com/jira/browse/JBMICROCONT-197.
Every xml feature will/must have a matching annotation. ;-)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4066377#4066377
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=rep
"genman" wrote : This I fixed specifying a newer Javassist version:
|
Cool.
But I think this was changed quite some time ago.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4066376#4066376
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=pos
This one was moved to JBoss Seam forum, since it has nothing to do with JBoss
Deployers.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4066375#4066375
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4066375
"rbuckvrsn" wrote :
| Is there any decent documentation on what the syntax of these XML files is,
and what it means? I have not found much anywhere. Perhaps if there was some
documentation on how this XML format works, I could figure out what you wrote
below.
|
There is almost complete Use
It means new bean for every different 'system' property you have, but it is
100% POJO.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4065807#4065807
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4065807
___
"alesj" wrote : Aha, just remembered one ... one sec ;-)
XML:
|
|
| ${somekey:somedefault}
|
|
|
|
| /
|
|
Where mock is now:
| public class LDAPPropProvider
|{
| private String propKey;
|
|
"rbuckvrsn" wrote :
| Apart from modifying the microkernel itself to call directly into our
properties manager, are there any other options? Are there any interceptors for
property expansion or resolution?
|
You could do something like this:
|
|
|
|
|
This looks like some weird ClassLoading going on.
Can you check if you don't have duplicated jars in your classpath - even the
core one's.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4064971#4064971
Reply to the post :
http://www.jboss.com/index.html?modul
"[EMAIL PROTECTED]" wrote :
| ... or is there an alternative way to achieve bean includes.
|
Just rename those config files so that they have -beans.xml at the end.
BeanDeployer will take care of the rest.
Order doesn't matter, since we are in a state machine after all. ;-)
View the origina
Currently there is no 'easy' way.
I'll have a look.
Here is JIRA task for you to watch:
- http://jira.jboss.com/jira/browse/JBMICROCONT-192
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063130#4063130
Reply to the post :
http://www.jboss.com/index.html?modu
:-)
Initially I've used AOP interceptor defined in ejb3-interceptors-aop.xml (or
some similar name).
So I didn't have to worry about setting this EJB3 style interceptor.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4062908#4062908
Reply to the post :
http
"loumaus" wrote :
|
| |
| |
|
What about if you change to this:
|
|
Since this is _not_ a SpringDeployer problem, it's a plain Spring problem.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061342#4061342
Reply to the post :
http://
"loumaus" wrote :
| Anyways .. thanks for your help and congrats for this impressive approach
to embed spring into jboss
|
NP. Thanks for trying it out.
Be sure to check out the impressive features we have installed for you with new
Microcontainer 2.x - new Spring-int module and a lot lot
I understand a bit more ...
Weird, don't know what the deal is with the proxy.
You can still try separating the catalog beans with parent-child architecture.
This is supported by SpringDeployer - see the instructions for setting this
hierarchy.
View the original post :
http://www.jboss.com/inde
Try reading this article for more info:
- http://java.sys-con.com/read/180386.htm
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061177#4061177
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061177
What happens?
I don't see what is this catalogBean that 'solved' the problem?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061096#4061096
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061096
_
Microcontainer itself doesn't use a lot of memory, but the services which run
inside might. Check which service might be the main memory consumer.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059806#4059806
Reply to the post :
http://www.jboss.com/index.ht
What limit?
I'm not aware of any time limit in Microcontainer deployment.
Is this a Seam feature?
Or from what do you reckon there is a limit?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059537#4059537
Reply to the post :
http://www.jboss.com/index.html?m
Not really a JBoss/Spring integration issue - see Sticky README.
So, I'm moving this post to Bad post forum.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4057761#4057761
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=40
You are probably missing Spring deployer.
See example for instructions on how to install it.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4057150#4057150
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4057150
__
You've got 2 different names for .spring archive:
spring-pojo.spring/
|
| JBoss-Spring.spring
|
|
Which one is it?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4056469#4056469
Reply to the post :
http://www.jboss.com/index.html
Only BeanFactories that are constructed by SpringDeployer can reference beans
from parent BeanFactories.
In your case parent BF is constructed by SpringDeployer, but your child BF is
constructed by regular Spring ContextLoader.
And only SpringDeployer knows about parent=() notion.
You can use so
JBossON:
- http://www.jboss.com/services/jbossnetwork
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4053035#4053035
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4053035
___
"[EMAIL PROTECTED]" wrote : I guess this would be an alternative to the
KernelControllerContextAware interface?
Yes.
Or any of the more exact [put State here]KernelControllerContextAware interface.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4052625#4052625
"[EMAIL PROTECTED]" wrote : Is this something I might expect to see in AS 5 GA?
|
Yup.
That's the 'create your own dependency' feature Adrian is talking about. ;-)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4052495#4052495
Reply to the post :
http://www
Currently our annotation support is a bit weak. :-)
But once we get down to it (decide on how to generically handle annotations +
impl), this should be a failrly trivial case to handle.
But if you need it really soon, I can push this myself or ask Kabir to prepare
some temp AOP based solution.
V
They are in the SVN jbossas trunk.
http://anonsvn.jboss.org/repos/jbossas/trunk/spring-int/
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4052128#4052128
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4052128
___
Uf, there is not a lot of docs for MC 2.x (yet).
The best you can do is here:
- http://www.jboss.org/index.html?module=bb&op=viewtopic&t=105030
- http://www.jboss.org/index.html?module=bb&op=viewtopic&t=105284
- http://www.jboss.org/index.html?module=bb&op=viewtopic&t=104471
btw: where do you ge
Where is Spring here?
Moving the post...
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4046705#4046705
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4046705
___
jboss-user mai
Done.
It's commited in the trunk, together with test cases.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4045904#4045904
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4045904
___
"kibbles" wrote : Looking at the code inside LifecycleAction, it looks like if
I give a bogus method name, the exception will be eaten and logged, so that
should be viable workaround until a cleaner solution is available.
Yes. :-)
| try
| {
| ClassLoader cl = Configura
Good point.
I think it was once on my mind.
I'll add it as a TODO - watch JIRA JBMICROCONT-23.
For the moment do a bogus method name - and let me know me know how it goes.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4045566#4045566
Reply to the post :
http:
My first thoughts on this are that it is probably a misuse.
My original use case was to enable fine grained beans in EJBs and _not_ vice
versa.
What about if you try with a lazy proxies around actual EJB when referencing
them in POJOs?
So that the actual JNDI hit will be when the EJB bean is fir
Does Embeddable use the old Deployers architecture - based on the MBeans? Or
already new Microcontainer Deployers?
If you could find this out, then I can provide you with more info.
But I think it would not be a big problem though.
View the original post :
http://www.jboss.com/index.html?module
Not what JBoss + Spring integration is about - see Sticky at the top of the
start forum page.
More of a Spring forum type question.
I will eventually move your question out of this forum.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4045125#4045125
Reply to
"nickman" wrote :
| What other beans are implicitly available for injection ?
|
See org.jboss.kernel.plugins.bootstrap.basic.KernelConstants.
"nickman" wrote :
| Am I understanding this correctly ?
|
Yes. ;-)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewt
In MC 2.0 you can use the [State]KernelControllerContactAware callback
interface. And get the name of the passed KernelControllerContext.
I'm not sure what is there for v1.0.2.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4044177#4044177
Reply to the post :
You are missing the actual deployer (structure).
You need something like this:
| deploy --> jboss-spring.deployer
| --> jboss-spring-jdk5.jar
| --> META-INF --> jboss-service.xml
You can use JBoss AOP (ejb3-interceptors-aop.xml) or use standard EJB3
interceptors.
The examples are part of release - not the last one, but some previous, since
they haven't changed during EJB3, Spring2.0 progress.
See downloads.
View the original post :
http://www.jboss.com/index.html?module
Will the whole new JBoss5 application server do?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4040457#4040457
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4040457
___
jboss-
There is a jsr88-service.xml:
|
|
|
| org.jboss.deployment.J2eeApplicationMetaData
| org.jboss.metadata.ApplicationMetaData
| org.jboss.ejb3.Ejb3Deployment
| org.jboss.resource.metadata.ConnectorMetaData
| org.jboss.metadata.WebMetaData
|
Just reelased:
-
http://blogs.jboss.com/blog/bburke/?permalink=Embedded_JBoss_JBoss_without_the_Application_SErver.txt
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038247#4038247
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mod
Ok, you'll have to do your own 'homework' ...
I think there is a lot of generic documentation / books on this sort of
questions.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037865#4037865
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=
Aha, ok.
I just pointed you there for the concept - one way of using embedded mc.
For the tests, have a look at how we do it in the actual MC project - ok there
are no container services present - but we have an extensive testing env - each
feature is tested.
View the original post :
http://w
Due to recent 'illegal' posts growning number - not getting even close to the
actual JBoss/Spring integration meaning, all future posts that have nothing to
do with any of this:
- http://java.sys-con.com/read/180386.htm
- http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossSpringIntegration
- http:/
It looks like you've got incompatible versions - Hibernate Core vs. Hibernate
EM.
btw: how you managed to post this question which is about Hibernate and Spring
+ Struts into JBoss/Spring integration?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037850#403
Or this one, if it helps:
- http://wiki.jboss.org/wiki/Wiki.jsp?page=EmbeddedAndTomcat
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037847#4037847
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037847
___
And ... what's the problem with just doing it?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037843#4037843
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037843
___
jboss-us
What Spring descriptor?
Which Ant script?
And what has this got to do with JBoss/Spring integration:
http://java.sys-con.com/read/180386.htm ?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037464#4037464
Reply to the post :
http://www.jboss.com/index.html?m
"gumnaam" wrote :
| 1) app.ear/app-spring.xml OR
|
Can you try this one?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037229#4037229
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037229
___
There are two ways of using Spring injection with SpringDeployer.
One is with JBoss AOP, which looks different containers - Session beans, MDBs,
... - and you don't need any EJB3. But in this case you need to modify / add
some code in the mentioned -interceptors.xml file.
Or you can use EJB3 Sp
What about if you try this kernel name:
|/** The default kernel name */
|static final String KERNEL_NAME = "jboss.kernel:service=Kernel";
|
But I think this is what your problem falls in:
- http://www.jboss.com/index.html?module=bb&op=viewtopic&t=105189&start=10
Maybe the only d
What it your actual deployer service?
Post the jboss-service.xml in .deployer archive.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4036160#4036160
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4036160
Try without .har.
Or btw, why do you need .har?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035773#4035773
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4035773
___
jboss-
Read about JBoss classloading:
- http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossClassLoadingUseCases
.war has different CL handling than other .jars in .ear.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035675#4035675
Reply to the post :
http://www.jboss.
Where is eLog.eTrack.dao.impl.BaseDAOHibernate?
In .har?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035667#4035667
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4035667
__
Will do.
Perhaps apply debug level to trace, and see what the problem might be.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035645#4035645
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4035645
___
SpringDeployer is optional.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035287#4035287
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4035287
___
jboss-user mailing list
jbo
Like I already written - when a bean is installed, register it into mbeanserver
or jndi, and then pull it out in servlet.
Or you can always do a singleton approach - with setting underyling Kernel to
static field, and accessing it later.
This is how JBossWS is doing it - look for KernelLocator.
Uf, it looks like some weird XML exception.
So you are able to get 3rd party libs from branch version?
If you could go through the libs, and see which one's are xml-ish.
I see there is some jaxb (probably not what we are looking for) and there is
some stax-api which looks like xml stuff.
View the
What about if you added all 'xml' libs from
'[microcontainer_HOME]\thirdparty\apache-xerces\lib'?
I have these:
- resolver
- xml-apis
- xercesImpl (which I think you also have)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4034051#4034051
Reply to the pos
"obelix1998" wrote :
| The in the code I used the following (as suggested by you):
|
| BasicBootstrap bootstrap;
| | bootstrap = new BasicBootstrap();
| | bootstrap.run();
| | Object target =
bootstrap.getKernel().getController().getInstalledContext("surferCookieHandler").getTa
"obelix1998" wrote :
| Could you please provide a complete code snippet how to get this bean ?
|
| KernelController controller = ...;
| ControllerContext context = controller.getInstalledContext("");
| // ControllerContext context = controller.getContext("", );
| Object target = cont
"obelix1998" wrote :
| So if you could provide a code example how to get this controller, I'd
appreciate it very much.
|protected Kernel bootstrap() throws Throwable
|{
| BasicBootstrap bootstrap = new BasicBootstrap();
| bootstrap.run();
| return bootstrap.
Get a reference to underlying Controller.
Or you can register your bean into JNDI or JMX and then just grab it from there.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4032437#4032437
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&m
The old service layer is in MANUAL controller mode, but the deployer calls
create and start - see ServiceDeployer.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4031913#4031913
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=rep
"suneetshah" wrote :
| Caused by: java.sql.BatchUpdateException: You have an error in your SQL
syntax; check the manual that corresponds to your MySQL server version for the
right syntax to use near '.service (STATUS, SERVICE_NAME, LOCATION_IP_ADDRESS,
COMPANY_OWNER_ID, START_DAT' at line 1
Service load?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4031245#4031245
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4031245
___
jboss-user mailing list
jboss-user@lists
"genman" wrote :
| Does a call to ControllerContext.getTarget() demand-load the bean?
|
No.
OnDemand has other usage.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4031121#4031121
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting
No.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4031118#4031118
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4031118
___
jboss-user mailing list
jboss-user@lists.jboss.org
No need for this.
Just have a separate -beans.xml with your 'low-level "commands"'.
But be sure to include proper dependencies.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030956#4030956
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=post
Docs are on their way.
They will be there for 2.0.0.GA.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030480#4030480
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030480
___
"genman" wrote :
| How do I deploy my Bean to the MBeanServer in MC 1.0? Is this a 2.0 feature?
|
See previous posts.
"genman" wrote :
| I don't see any examples or docs for this ...
|
There are none yet. We are working on it.
But there are plenty of TestCases in the project.
"genman"
Simply use
|
|
|
|
since value here is meant as plain (string) value (from bean-deployer_2_0.xsd):
|
|
|
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030361#4030361
Reply to the post :
http://www.jboss.com/index
"genman" wrote :
| Basically, I want to have the JMX "stop" and "start" operations to stop the
Bean and its dependencies.
|
That is there by default.
Have a look at LifecycleMetaData.
"genman" wrote : Perhaps it doesn't require writing such a base class because
you use AOP. Is this the ca
"genman" wrote :
| Basically what I want to do is intercept the various start/stop MBean
operation calls and have these translate into calls to the Microcontainer
service controller.
|
Intercept in what way?
This is already handled by the 'legacy' ServiceControllerContext.
"genman" wrote :
"diippi" wrote :
| I am unfamiliar with the JBoss SVN environment. Kindly direct me to the
specific location.
|
http://anonsvn.jboss.org/repos/jbossas/trunk/spring-int/
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4028249#4028249
Reply to the post :
anonymous wrote : Problem is that spring deployment happens before the har
deployment (application.xml before jboss-app.xml) and so it fails .
| Is there any way I can force the har deployment before the spring ?
|
Edit org.jboss.deployment.MainDeployer-xmbean.xml file in
[JBoss_home]\server
"hondawei" wrote : I can't find infromation about what version of Spring that
JBoss 4.0.4 and JBoss 4.0.5 support.
|
It's the other way around that matters. ;-)
"hondawei" wrote :
| Should I upload Spring library when I use JBoss or JBoss had built-in
Spring library?
JBoss doesn't ship with
No, you need this piece of xml code to integrate aop aspects with pojo
instantiation - order matters (add dependency if needed).
This is a small example I've done for Seam, and it works.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Your xml is commented - with
JBoss5_Beta2 is about to be released.
MC features are quite polished there.
Or maybe you can port MC v2.0 to replace v1.0 in JBoss4.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023628#4023628
Reply to the post :
http://www.jboss.com/index.html?module=bb&op
Ok, I had some idea, but it is far uglier than the one with exporter.
Never mind about KCCA in v1.0.
Try with exporter.
Or what's the problem updating MC to v2.0(beta)?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023564#4023564
Reply to the post :
http://
Or you can always add a MBean Exporter kind of bean.
Inject MBean server bean into it and all the beans that you want to export
(along with ObjectName and exposed interface info).
There is no 'exporter' impl within MC, but you can probably use this one (with
slight modifications)
http://www.spri
Can you look if KernelControllerContextAware interface is present with v1.0?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023514#4023514
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023514
__
"alesj" wrote : And this can be simplified now - less aop xml code.
See JMXLifecycleTestCase.xml.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4022982#4022982
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=postin
"vickyk" wrote :
| All we need to do is to have the above code formed through the xml file
when using the MC . Am I right ?
|
Yes, see how this is done in JMXDecoratedTestCase.(java|xml).
And this can be simplified now - less aop xml code.
View the original post :
http://www.jboss.com/inde
See:
- http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4022949#4022949
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4022950#4022950
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4022950
__
"eknathkadam" wrote : "bkeh12" wrote : 6. JMX interface for deployed components
if desired
| |
http://jira.jboss.com/jira/secure/IssueNavigator.jspa?reset=true&mode=hide&sorter/order=DESC&sorter/field=priority&resolutionIds=-1&pid=12310060&fixfor=12310587
| |
| I clicked this link but
701 - 800 of 911 matches
Mail list logo