[jboss-user] [Microcontainer] - Re: Injecting KernelControllerContext

2007-08-02 Thread alesj
"[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

[jboss-user] [JBoss/Spring Integration] - Re: customizing jndiName in @Spring

2007-08-01 Thread alesj
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

[jboss-user] [JBoss/Spring Integration] - Re: Jboss and Spring

2007-07-30 Thread alesj
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

[jboss-user] [Microcontainer] - Re: How to emulate ServiceMBeanSupport using AOP

2007-07-26 Thread alesj
"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

[jboss-user] [Microcontainer] - Re: How do you override the source for configuration propert

2007-07-24 Thread alesj
"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

[jboss-user] [Microcontainer] - Re: Emulating ServiceMBeanSupport

2007-07-23 Thread alesj
"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/

[jboss-user] [Microcontainer] - Re: Emulating ServiceMBeanSupport

2007-07-23 Thread alesj
"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=

[jboss-user] [Microcontainer] - Re: Emulating ServiceMBeanSupport

2007-07-23 Thread alesj
"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.

[jboss-user] [Microcontainer] - Re: Emulating ServiceMBeanSupport

2007-07-23 Thread alesj
"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

[jboss-user] [Microcontainer] - Re: How do you override the source for configuration propert

2007-07-22 Thread alesj
"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 ___

[jboss-user] [Microcontainer] - Re: Emulating ServiceMBeanSupport

2007-07-22 Thread alesj
"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; } |

[jboss-user] [Microcontainer] - Re: How do you override the source for configuration propert

2007-07-20 Thread alesj
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

[jboss-user] [Microcontainer] - Re: Neither 2.0-SNAPSHOT nor 2.0.Beta work with Maven build

2007-07-20 Thread alesj
"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

[jboss-user] [JBoss Seam] - Re: How do we control the order of deployment?

2007-07-20 Thread alesj
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

[jboss-user] [Microcontainer] - Re: How do you override the source for configuration propert

2007-07-19 Thread alesj
"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

[jboss-user] [Microcontainer] - Re: How do you override the source for configuration propert

2007-07-19 Thread alesj
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 ___

[jboss-user] [Microcontainer] - Re: How do you override the source for configuration propert

2007-07-19 Thread alesj
"alesj" wrote : Aha, just remembered one ... one sec ;-) XML: | | | ${somekey:somedefault} | | | | | / | | Where mock is now: | public class LDAPPropProvider |{ | private String propKey; | |

[jboss-user] [Microcontainer] - Re: How do you override the source for configuration propert

2007-07-19 Thread alesj
"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: | | | | |

[jboss-user] [JBoss/Spring Integration] - Re: Exploded deployment problem

2007-07-17 Thread alesj
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

[jboss-user] [Microcontainer] - Re: Support for xi:include

2007-07-13 Thread alesj
"[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

[jboss-user] [Microcontainer] - Re: Injecting a beans name into the bean

2007-07-11 Thread alesj
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

[jboss-user] [JBoss/Spring Integration] - Re: jboss-spring.xml beans location

2007-07-11 Thread alesj
:-) 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

[jboss-user] [JBoss/Spring Integration] - Re: jboss-spring.xml beans location

2007-07-06 Thread alesj
"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://

[jboss-user] [JBoss/Spring Integration] - Re: jboss-spring.xml beans location

2007-07-06 Thread alesj
"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

[jboss-user] [JBoss/Spring Integration] - Re: jboss-spring.xml beans location

2007-07-06 Thread alesj
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

[jboss-user] [JBoss/Spring Integration] - Re: jboss/spring newbee question

2007-07-06 Thread alesj
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

[jboss-user] [JBoss/Spring Integration] - Re: jboss-spring.xml beans location

2007-07-05 Thread alesj
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 _

[jboss-user] [Microcontainer] - Re: Can I change timeout on startup? Problem with timeout wh

2007-07-03 Thread alesj
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

[jboss-user] [Microcontainer] - Re: Can I change timeout on startup? Problem with timeout wh

2007-07-02 Thread alesj
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

[jboss-user] [JBoss/Spring Integration] - Re: Srping transaction

2007-06-26 Thread alesj
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

[jboss-user] [JBoss/Spring Integration] - Re: Problem in spring integration

2007-06-23 Thread alesj
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 __

[jboss-user] [JBoss/Spring Integration] - Re: Problem in spring integration

2007-06-21 Thread alesj
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

[jboss-user] [JBoss/Spring Integration] - Re: Accessing app_1's spring beans in app_2's config file

2007-06-20 Thread alesj
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

[jboss-user] [Management, JMX/JBoss] - Re: JBoss Server Response Time

2007-06-11 Thread alesj
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 ___

[jboss-user] [Microcontainer] - Re: Injecting KernelControllerContext

2007-06-08 Thread alesj
"[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

[jboss-user] [Microcontainer] - Re: Injecting KernelControllerContext

2007-06-08 Thread alesj
"[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

[jboss-user] [Microcontainer] - Re: Injecting KernelControllerContext

2007-06-08 Thread alesj
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

[jboss-user] [JBoss/Spring Integration] - Re: @Spring Injection in POJOs

2007-06-07 Thread alesj
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 ___

[jboss-user] [Microcontainer] - Re: Compiled docs for JBossMC_2_0_0_Beta3

2007-05-24 Thread alesj
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

[jboss-user] [JBoss/Spring Integration] - Re: any idea to inject a ejb to tapestry?

2007-05-17 Thread alesj
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

[jboss-user] [Microcontainer] - Re: disable lifecycle method calling for bean?

2007-05-15 Thread alesj
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 ___

[jboss-user] [Microcontainer] - Re: disable lifecycle method calling for bean?

2007-05-14 Thread alesj
"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

[jboss-user] [Microcontainer] - Re: disable lifecycle method calling for bean?

2007-05-14 Thread alesj
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:

[jboss-user] [JBoss/Spring Integration] - Re: EJB Injection.

2007-05-11 Thread alesj
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

[jboss-user] [JBoss/Spring Integration] - Re: Spring Deployer inside Embedable EJB3.

2007-05-11 Thread alesj
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

[jboss-user] [JBoss/Spring Integration] - Re: AnnotationBeanConfigurerAspect issue

2007-05-11 Thread alesj
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

[jboss-user] [Microcontainer] - Re: MC - Automatically Available Services

2007-05-09 Thread alesj
"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

[jboss-user] [Microcontainer] - Re: MC Pojo - Equivalent for MBeanRegistration ?

2007-05-09 Thread alesj
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 :

[jboss-user] [JBoss/Spring Integration] - Re: Some questions.

2007-04-27 Thread alesj
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

[jboss-user] [JBoss/Spring Integration] - Re: @Spring Injection in POJOs

2007-04-25 Thread alesj
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

[jboss-user] [Microcontainer] - Re: Are there some commercial project or other jboss project

2007-04-25 Thread alesj
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-

[jboss-user] [Management, JMX/JBoss] - Re: getting a Controller

2007-04-24 Thread alesj
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 |

[jboss-user] [Microcontainer] - Re: Urgent! In container automated testing with JBoss

2007-04-18 Thread alesj
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

[jboss-user] [Microcontainer] - Re: Urgent! In container automated testing with JBoss

2007-04-17 Thread alesj
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=

[jboss-user] [Microcontainer] - Re: Urgent! In container automated testing with JBoss

2007-04-17 Thread alesj
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

[jboss-user] [JBoss/Spring Integration] - READ THIS FIRST: The actual JBoss/Spring integration meaning

2007-04-17 Thread alesj
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:/

[jboss-user] [JBoss/Spring Integration] - Re: Problem using Spring + JPA + Struts

2007-04-16 Thread alesj
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

[jboss-user] [Microcontainer] - Re: Urgent! In container automated testing with JBoss

2007-04-16 Thread alesj
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 ___

[jboss-user] [JBoss/Spring Integration] - Re: JMX deployment in JBOSS using Spring Descriptor

2007-04-16 Thread alesj
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

[jboss-user] [JBoss/Spring Integration] - Re: JMX deployment in JBOSS using Spring Descriptor

2007-04-16 Thread alesj
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

[jboss-user] [JBoss/Spring Integration] - Re: Where do I put XYZ-spring.xml

2007-04-13 Thread alesj
"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 ___

[jboss-user] [JBoss/Spring Integration] - Re: Some questions.

2007-04-13 Thread alesj
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

[jboss-user] [Management, JMX/JBoss] - Re: getting a Controller

2007-04-13 Thread alesj
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

[jboss-user] [JBoss/Spring Integration] - Re: BeanFactoryPostProcessors not called ?

2007-04-10 Thread alesj
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

[jboss-user] [JBoss/Spring Integration] - Re: Struts spring hibenate in jboss without jboss-deployer

2007-04-09 Thread alesj
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-

[jboss-user] [JBoss/Spring Integration] - Re: Struts spring hibenate in jboss without jboss-deployer

2007-04-09 Thread alesj
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.

[jboss-user] [JBoss/Spring Integration] - Re: Struts spring hibenate in jboss without jboss-deployer

2007-04-09 Thread alesj
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 __

[jboss-user] [JBoss/Spring Integration] - Re: Struts spring hibenate in jboss without jboss-deployer

2007-04-09 Thread alesj
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 ___

[jboss-user] [JBoss/Spring Integration] - Re: Struts spring hibenate in jboss without jboss-deployer

2007-04-06 Thread alesj
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

[jboss-user] [Microcontainer] - Re: Acessing Microcontainer Beans in Servlet

2007-04-04 Thread alesj
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.

[jboss-user] [Microcontainer] - Re: What libraries are needed to run JBoss MC?

2007-04-03 Thread alesj
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

[jboss-user] [Microcontainer] - Re: What libraries are needed to run JBoss MC?

2007-04-03 Thread alesj
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

[jboss-user] [Microcontainer] - Re: Acessing Microcontainer Beans in Servlet

2007-04-03 Thread alesj
"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

[jboss-user] [Microcontainer] - Re: Acessing Microcontainer Beans in Servlet

2007-03-29 Thread alesj
"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

[jboss-user] [Microcontainer] - Re: Acessing Microcontainer Beans in Servlet

2007-03-29 Thread alesj
"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.

[jboss-user] [Microcontainer] - Re: Acessing Microcontainer Beans in Servlet

2007-03-28 Thread alesj
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

[jboss-user] [Microcontainer] - Re: ServiceMBeanSupport in the Microcontainer world

2007-03-27 Thread alesj
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

[jboss-user] [JBoss/Spring Integration] - Re: Problem persisting data using Spring + Hibernate JPA

2007-03-25 Thread alesj
"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

[jboss-user] [Microcontainer] - Re: ServiceMBeanSupport in the Microcontainer world

2007-03-23 Thread alesj
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

[jboss-user] [Microcontainer] - Re: ServiceMBeanSupport in the Microcontainer world

2007-03-23 Thread alesj
"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

[jboss-user] [Microcontainer] - Re: ServiceMBeanSupport in the Microcontainer world

2007-03-23 Thread alesj
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

[jboss-user] [Microcontainer] - Re: ServiceMBeanSupport in the Microcontainer world

2007-03-23 Thread alesj
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

[jboss-user] [Microcontainer] - Re: ServiceMBeanSupport in the Microcontainer world

2007-03-21 Thread alesj
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 ___

[jboss-user] [Microcontainer] - Re: ServiceMBeanSupport in the Microcontainer world

2007-03-21 Thread alesj
"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"

[jboss-user] [Microcontainer] - Re: Collection Injection in the MC

2007-03-21 Thread alesj
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

[jboss-user] [Microcontainer] - Re: ServiceMBeanSupport in the Microcontainer world

2007-03-21 Thread alesj
"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

[jboss-user] [Microcontainer] - Re: ServiceMBeanSupport in the Microcontainer world

2007-03-21 Thread alesj
"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 :

[jboss-user] [JBoss/Spring Integration] - Re: SpringDeployer EnhancedSuffixOrder

2007-03-14 Thread alesj
"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 :

[jboss-user] [JBoss/Spring Integration] - Re: SpringDeployer EnhancedSuffixOrder

2007-03-14 Thread alesj
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

[jboss-user] [JBoss/Spring Integration] - Re: What version of Spring that JBoss supports?

2007-03-08 Thread alesj
"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

[jboss-user] [Microcontainer] - Re: Evaluating IOC Containers

2007-03-04 Thread alesj
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. | | | | | | | | | | | | | |

[jboss-user] [Microcontainer] - Re: Evaluating IOC Containers

2007-03-03 Thread alesj
Your xml is commented - with

[jboss-user] [Microcontainer] - Re: Evaluating IOC Containers

2007-02-28 Thread alesj
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

[jboss-user] [Microcontainer] - Re: Evaluating IOC Containers

2007-02-28 Thread alesj
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://

[jboss-user] [Microcontainer] - Re: Evaluating IOC Containers

2007-02-28 Thread alesj
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

[jboss-user] [Microcontainer] - Re: Evaluating IOC Containers

2007-02-27 Thread alesj
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 __

[jboss-user] [Microcontainer] - Re: Evaluating IOC Containers

2007-02-27 Thread alesj
"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

[jboss-user] [Microcontainer] - Re: Evaluating IOC Containers

2007-02-27 Thread alesj
"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

[jboss-user] [Microcontainer] - Re: Beans loading with Microcontainer in JBoss AS

2007-02-27 Thread alesj
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 __

[jboss-user] [Microcontainer] - Re: Evaluating IOC Containers

2007-02-27 Thread alesj
"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

<    3   4   5   6   7   8   9   10   >