[jboss-user] [EJB 3.0 Users] - Re: Session EJB 3.1 packaged in war file not recognized in J

2009-12-08 Thread wolfc
JBoss AS 6.0.0.M1 does not support any EJB 3.1 features. https://jira.jboss.org/jira/browse/JBAS-7526 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4269540#4269540 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4269540

[jboss-user] [EJB 3.0 Users] - EJB 3 1.1.21 bundle released with JBoss AS 6.0.0.M1

2009-12-02 Thread wolfc
The first and foremost question everybody will ask is: does it contain EJB 3.1 features? The short answer is: no (keep on reading ;-) ). Jason Greene wrote : JBoss AS 6.0.0.M1 is the first milestone release of the community driven AS 6 series. It includes support for certain key technologies

[jboss-user] [EJB 3.0 Users] - Final release of EJB 3 1.0.19 Plugin (1.1.22 bundle) for JBo

2009-12-02 Thread wolfc
Plugin release 1.0.19, which installs the 1.1.22 bundle into JBoss AS 5.1.0.GA, is the last release we'll do of the plugin. With the release of JBoss AS 6.0.0.M1 we'll switch over to 'Package Manager'. It will allow us to replace components on a much finer scale than the Plugin is capable of.

[jboss-user] [EJB 3.0 Users] - Re: Migration EJB2.1 - EJB3 - Usage of ValueObjects / DataT

2009-11-23 Thread wolfc
Duplicate post, see http://www.jboss.org/index.html?module=bbop=viewtopict=164123. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4267060#4267060 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4267060

[jboss-user] [JBoss Messaging Users] - Re: JSMSecurityException on my queue (EJB 3)

2009-08-31 Thread wolfc
Alternatively enable tracing on org.jboss.security and get the real exception. catch(LoginException e) | { | // Don't log anonymous user failures unless trace level logging is on | if( principal != null principal.getName() != null || trace ) |

[jboss-user] [EJB 3.0] - Re: JBOSS5.1.x :: Does EJB3 MDB has a dependency on EJBTimer

2009-07-31 Thread wolfc
It's hardcoded in Ejb3Deployment.registerContainer. Please file an issue in https://jira.jboss.org/jira/browse/EJBTHREE Note that this is a low priority. The issue will probably dissipate when the new deployers come online. The bean should really have an optional dependency on

[jboss-user] [EJB 3.0] - Re: Persistence Unit not found for EJB3 SLSB in AS 5.1.0.GA

2009-07-20 Thread wolfc
The real question is: why did it detect an EJB in the EAR? jboss.j2ee:ear=MVCCSampleEAR.ear,jar=MVCCSampleEAR.ear,name=PersonManager,service=EJB3 What's the exact layout of the EAR? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4244330#4244330 Reply to the post

[jboss-user] [EJB 3.0] - Re: Limit IP access to a session beans (EAR)

2009-06-26 Thread wolfc
An AOP interceptor can access the client address: https://jira.jboss.org/jira/browse/JBREM-758. It's not yet available through an EJB API yet: https://jira.jboss.org/jira/browse/EJBTHREE-902. So you can write an AOP interceptor, put it into ejb3-interceptors-aop.xml and push the client

[jboss-user] [EJB 3.0] - Re: EJB injection fails with

2009-06-10 Thread wolfc
It's actually Weblogic which is faulty here. To determine whether you want to call-by-value (remote) or call-by-reference (local) we must have a reference to the appropriate interface. The construct posted by Jaikiran should work, if not open a Jira. View the original post :

[jboss-user] [EJB 3.0] - Re: Regression: Unable to deploy self referencing EJB3 sessi

2009-06-10 Thread wolfc
Sounds like https://jira.jboss.org/jira/browse/EJBTHREE-1520. The associated unit test is passing fine. Please post your NPE. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4236616#4236616 Reply to the post :

[jboss-user] [EJB 3.0] - Re: EJB3 unit tests, how?

2009-06-04 Thread wolfc
You can find the latest stuff here: http://anonsvn.jboss.org/repos/jbossas/projects/ejb3/trunk/embedded/ You may want to checkout all of trunk and build it. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4235397#4235397 Reply to the post :

[jboss-user] [EJB 3.0] - Re: EJB3 unit tests, how?

2009-06-03 Thread wolfc
For AS 5.1 you can use the EJB 3.1 Embeddable prototype http://www.jboss.org/community/wiki/EJB31Embeddable The latest version can also deploy datasources and JPA entities. Properties properties = new Properties(); | container = EJBContainer.createEJBContainer(properties); |

[jboss-user] [EJB 3.0] - EJB 3 1.1.5 bundle released with JBoss AS 5.1.0.GA

2009-05-26 Thread wolfc
Already old, because a plugin release has already gone passed. :-) But here is AS 5.1.0.GA with a new and better EJB 3 implementation: Rajesh Rajasek wrote : JBoss AS 5.1.0.GA is released and is available for download. | http://www.jboss.org/jbossas/downloads/ | | Along with many bug fixes

[jboss-user] [EJB 3.0] - Re: Problem in calling methods on EJB3 app from client

2009-05-13 Thread wolfc
That piece of source is here: http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossas/projects/ejb3/tags/jboss-ejb3-core-1.0.0/src/main/java/org/jboss/ejb3/stateless/StatelessContainer.java?annotate=83287 Apparently the business method called can't be found in the AOP Advisor. Could you try again

[jboss-user] [EJB 3.0] - Re: Deploying Apache DayTrader on AS 5.1

2009-05-07 Thread wolfc
By spec res-type is mandatory if no injection target is given. In practice we can continue without, because it's just a LinkRef to the jndi-name. Issue a warning, but allow the construct. Create a test case accordingly. The bug was introduced with:

[jboss-user] [EJB 3.0] - Re: Persistence context propagation on remote calls

2009-05-04 Thread wolfc
EJB 3.0 Persistence 5.6.3 wrote : Propagation of persistence contexts only applies within a local environment. Persistence contexts are not propagated to remote tiers. So propagation will not occur if the call is really remote. Calling locally through a remote interface will propagate the PC.

[jboss-user] [EJB 3.0] - Re: ThreadLocalPool - Seam and Stateful Session Beans potent

2009-05-04 Thread wolfc
https://jira.jboss.org/jira/browse/EJBTHREE-1358 https://jira.jboss.org/jira/browse/JBPAPP-1938 This is fixed in the upcoming EJB 3 Plugin and Enterprise Application Platform releases. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4228431#4228431 Reply to the

[jboss-user] [EJB 3.0] - Re: NullPointerException in JavaEEComponentHelper with JBoss

2009-04-28 Thread wolfc
There seems to be an illegal configuration in connectadministration-ejb.jar on which the deployment chokes. Does it contain a jboss.xml? If so, could you post it? Would it be possible to attach said jar to EJBTHREE-1751? View the original post :

[jboss-user] [EJB 3.0] - Re: Unable to register deployment mbean org.jboss.metadata.j

2009-04-24 Thread wolfc
It looks like a bug in JBDEPLOYERS. It registers a MBean under the same name for components from different units. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4226544#4226544 Reply to the post :

[jboss-user] [EJB 3.0] - Re: NullPointerException in JavaEEComponentHelper with JBoss

2009-04-09 Thread wolfc
Just before the NPE there should a log debug message starting with: Found endpoint for interface: If so, please post it. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224590#4224590 Reply to the post :

[jboss-user] [EJB 3.0] - Re: Web Beans + JPA

2009-04-07 Thread wolfc
Alternatively, if you're on the VDF you can pick up the PersistenceMetaData attachment from the PerisistenceParsingDeployer. http://anonsvn.jboss.org/repos/jbossas/projects/jpa/trunk/deployers/src/main/java/org/jboss/jpa/deployers/PersistenceParsingDeployer.java View the original post :

[jboss-user] [EJB 3.0] - Re: Web Beans + JPA

2009-03-27 Thread wolfc
I disagree: The JPA consumer (AS / Embedded) has no facility to identify an entity. This is custom logic per JPA provider. For example the JPA provider could have a @WhopperEntity which is an extension to the standard @Entity (extra cheese). In which case we'll never find it. View the original

[jboss-user] [Microcontainer] - Re: Programatically create a Inject fromContext

2009-03-18 Thread wolfc
//ValueMetaData inject = builder.createInject(containerMCBeanName, null, null, ControllerState.DESCRIBED); | AbstractInjectionValueMetaData inject = new AbstractInjectionValueMetaData(containerMCBeanName); | inject.setWhenRequiredState(ControllerState.DESCRIBED); |

[jboss-user] [EJB 3.0] - Re: Requesting the EJB container to remove an instance

2009-03-09 Thread wolfc
We could bind a 'home' interface and call it 'meta' instead. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4216088#4216088 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4216088

[jboss-user] [EJB 3.0] - Re: A callback on EJB removal

2009-03-09 Thread wolfc
Why doesn't the @PreDestroy on the SeamInterceptor work? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4216089#4216089 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4216089 ___

[jboss-user] [EJB 3.0] - Re: Make a default interceptor the inner interceptor

2009-03-09 Thread wolfc
pete.m...@jboss.org wrote : ... | So, is there a spec'd way to do this? Or a JBoss way? No and no. We could create a new interceptor group which allows for ordering on a new level. But that should not be be limited to Seam so we would need ordering within that new group as well. What's the

[jboss-user] [Microcontainer] - Re: Attachments eligible for being passed to the deployers?

2009-03-09 Thread wolfc
So why does the AliasDeploymentDeployer add an attachment? |protected static void addAliasComponent(DeploymentUnit unit, NamedAliasMetaData alias) |{ | DeploymentUnit component = unit.addComponent(alias.getAliasValue().toString()); |

[jboss-user] [EJB 3.0] - Re: Using WebBeans EJB integration in EEJB

2009-02-24 Thread wolfc
The underlying problem is that we don't have a (JTA) data source deployer in E-EJB3. jta-profile needs to move down the food chain. jpa-profile needs to be created and we need a simple jca-profile for the above. Then ejb3-embedded should be based on profile3_1 and your set to go. View the

[jboss-user] [EJB 3.0] - EJB 3 1.0.0 bundle released with JBoss AS 5.0.1.GA

2009-02-24 Thread wolfc
The EJB 3 1.0.0 release that is available for as a plugin for AS 5.0.0.GA has also gone into AS 5.0.1.GA. Rajesh Rajasekaran wrote : JBoss AS 5.0.1.GA has been released and is available for download at | http://www.jboss.org/jbossas/downloads/ | | This is the first bug fixing release

[jboss-user] [Microcontainer] - Re: Deployment unit aware annotations

2009-02-18 Thread wolfc
That doesn't work because the bean itself isn't there yet. So right now I examine the BeanMetaData. (iterating over mainDeployer.getTopLevel()) private DeploymentUnit findBean(DeploymentUnit deploymentUnit, String contextName) |{ | if(deploymentUnit == null) | return

[jboss-user] [Microcontainer] - Re: How to add Annotation Plugin?

2009-02-17 Thread wolfc
This bit: bean name=AnnotationHandlerFactory | constructor factoryClass=org.jboss.kernel.plugins.annotations.BeanAnnotationAdapterFactory factoryMethod=getInstance / |/bean |bean name=AnnotationHandler | constructor factoryMethod=getBeanAnnotationAdapter |

[jboss-user] [Microcontainer] - Deployment unit aware annotations

2009-02-17 Thread wolfc
I need to have deployment unit aware injection / annotations, so stuff like: @PersistenceUnit |public void setEntityManagerFactory(EntityManagerFactory emf) |{ | this.emf = emf; |} works within a MC bean while obeying the scoping rules. @EJB annotations need the same

[jboss-user] [EJB 3.0] - Re: Prevent Persistence of EJB Timers

2009-02-13 Thread wolfc
Non-persistent timers are not supported in the current EJB 3 implementation. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4210042#4210042 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4210042

[jboss-user] [EJB 3.0] - Re: Interceptors not working with derived classes (4.2.3)

2009-02-09 Thread wolfc
Would you mind filing a Jira with the code that lead into the NullPointerException? I would rather see a proper check, than a NPE. Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4208098#4208098 Reply to the post :

[jboss-user] [EJB 3.0] - Re: JBoss AS 5.0.0.GA doesn't have bundled Ejb3

2009-01-26 Thread wolfc
ALRubinger wrote : ... | JBossAS 5.0.0.GA shipped with a composite of the EJB3 components, which together had a release version of 1.0.0-Beta7. | ... That is 1.0.0-Beta10. :-) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4204639#4204639 Reply to the post

[jboss-user] [EJB 3.0] - Re: Embeddable EJB release estimate?

2009-01-26 Thread wolfc
The Embeddable EJB 3.1 is a work in progress. We did silently release an 1.0.0-Alpha1 which is compatible with AS 5.0.0.GA. I'm planning to do a 1.0.0-Alpha2 release which is compatible with EJB 3 1.0.0. For more instructions on how to use: http://wiki.jboss.org/wiki/EJB31Embeddable. The plan

[jboss-user] [EJB 3.0] - Re: Ejb3 sources in zipped form

2009-01-26 Thread wolfc
The aim of the game here is to get one set of stable components which are certified against EJB 3.0 specs. Since it's a lengthy process to ascertain both certification and stability I want these components to stay solidly in place for a long time. On top of this we'll develop new components to

[jboss-user] [EJB 3.0] - EJB 3 1.0.0 GA installer released for use with JBoss AS 5.0.

2009-01-23 Thread wolfc
The final release of JBoss EJB 3 1.0.0 is now available. To use it within JBoss AS 5.0.0.GA download the provided installer. http://sourceforge.net/project/showfiles.php?group_id=22866package_id=132063 JBoss EJB 3 1.0.0 is an EJB 3.0 spec compliant implementation for use in JBoss Application

[jboss-user] [EJB 3.0] - Re: Looking up a PU from @PersistenceContext annotation

2009-01-07 Thread wolfc
After injecting PersistenceUnitDependencyResolver, this piece of pseudo code should do the trick: String beanName = persistenceUnitDependencyResolver.resolvePersistenceUnitSupplier(deploymentUnit, persistenceUnitName); | PersistenceUnitDeployment deployment = lookup(beanName); |

[jboss-user] [EJB 3.0] - EJB 3 1.0.0-Beta10 bundle released with JBoss AS 5.0.0.GA

2008-12-05 Thread wolfc
A new release of EJB 3 is available bundled in JBoss AS 5.0.0.GA. Rajesh Rajasekaran wrote : JBoss Application Server 5.0.0.GA has been released and is available for download. | http://www.jboss.org/jbossas/downloads/ | | This is the final

[jboss-user] [EJB 3.0] - Re: EJB 3.1/2 Embeddable Usage

2008-11-18 Thread wolfc
This is probably the culprit: jboss:jboss-common-core:jar:2.0.2.GA:compile It probably ends up before org.jboss:jboss-common-core:jar:2.2.8.GA on the classpath. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4190251#4190251 Reply to the post :

[jboss-user] [Microcontainer] - Re: Web Bean Discovery

2008-11-17 Thread wolfc
[EMAIL PROTECTED] wrote :/** | | * @return A Map of EJB descriptors, keyed by the EJB bean class | | */ | |public MapClass?, EjbDescriptor? discoverEjbs(); A bean class can be used by multiple EJBs. So you'll have to come up with another key. View the original post :

[jboss-user] [EJB 3.0] - Re: EJB 3.1 Embeddable

2008-11-10 Thread wolfc
I've upgraded embedded to use MC 2.0.0.CR5 and applied the workaround. For now embedded is using core SNAPSHOT. https://jira.jboss.org/jira/browse/EJBTHREE-1575[/url] View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4188134#4188134 Reply to the post :

[jboss-user] [Microcontainer] - What's the relation between DeploymentUnit and component?

2008-11-06 Thread wolfc
Adrian, When I call deploymentUnit.addComponent(test); I get back a deployment unit which signifies component test. What can I do with this component? How does it differ from a regular deployment unit? View the original post :

[jboss-user] [EJB 3.0] - Re: EJB 3.1 Embeddable

2008-11-06 Thread wolfc
https://jira.jboss.org/jira/browse/JBMICROCONT-380 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4187367#4187367 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4187367 ___

[jboss-user] [EJB 3.0] - Re: EJB 3.1 Embeddable

2008-11-06 Thread wolfc
At least MC should say that we entered a non-deterministic situation and throw an exception. I think it would be better to have an UndeterminedConstructorInfo which does some extra work at the end. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4187370#4187370

[jboss-user] [EJB 3.0] - Re: EJB 3.1 Embeddable

2008-11-04 Thread wolfc
So far can't find anything different than my own setup except junit, which I have as:dependency | groupIdjunit/groupId | artifactIdjunit/artifactId | version[4,)/version | scopetest/scope | /dependency What JDK are you using? View the original post :

[jboss-user] [EJB 3.0] - Re: EJB 3.1 Embeddable

2008-11-03 Thread wolfc
It's not the exact same problem, but close. Usually this indicates that Maven has chosen the wrong dependency somewhere. Are you using Maven 2.0.9? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4186483#4186483 Reply to the post :

[jboss-user] [EJB 3.0] - Re: EJB 3.1 Embeddable

2008-11-03 Thread wolfc
Just to be sure: post the output of mvn -Dverbose=true dependency:tree here. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4186484#4186484 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4186484

[jboss-user] [EJB 3.0] - Re: Hibernate SessionFactory Injection

2008-10-20 Thread wolfc
javidjamae wrote : So does anybody have the final word on whether this functionality will be in JBoss 5 or not? | | If it will be in JBoss 5, any ideas on what I am doing something wrong in my code? Or is the functionality broken right now? | | Thanks. It'll work if you configure JPA

[jboss-user] [EJB 3.0] - Re: Hibernate SessionFactory Injection

2008-10-09 Thread wolfc
You must use JPA (/ persistence.xml) to get a persistence unit, not Hibernate directly. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4181141#4181141 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4181141

[jboss-user] [EJB 3.0] - Re: Where might I download 1.0.0-Beta4?

2008-10-08 Thread wolfc
There is no distribution download for 1.0.0-Beta4. This release is meant to be used within the JBoss AS build process (as is any release of EJB 3 right now). Although we do have a prototype for a new plugin which can install the latest EJB 3 into JBoss AS (see

[jboss-user] [EJB 3.0] - Re: EJB 3.1/2 Embeddable Usage

2008-10-06 Thread wolfc
No, but you can always plug-in the EAR deployer. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4180473#4180473 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4180473 ___ jboss-user

[jboss-user] [EJB 3.0] - Re: How to access EntityManager in a Thread run() method?

2008-10-03 Thread wolfc
Fixed in rev 61993 (so it's in AS 5 Beta 2). I suggest using AS 5.0 CR2. PS. You shouldn't access an EJBs EM in another thread. The transaction isn't propagated, so you'll probably run into interesting problems. View the original post :

[jboss-user] [EJB 3.0] - Re: Interceptors per MDB

2008-10-03 Thread wolfc
My is guess is you're running into this issue: https://jira.jboss.org/jira/browse/EJBTHREE-1246. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4180212#4180212 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4180212

[jboss-user] [EJB 3.0] - EJB 3.1/2 Embeddable Usage

2008-10-03 Thread wolfc
Yesterday Kenneth announced the public review of the EJB 3.1 JSR (http://jcp.org/en/jsr/detail?id=318). I've been mucking around a bit, especially with chapter 22, the Embeddable Usage. And thus came up with a prototype which should be usable in any Maven project:

[jboss-user] [EJB 3.0] - Re: deployment of ejb3 in jboss-5.0.0 CR2

2008-10-03 Thread wolfc
You don't have to alter the application.xml. EE 8.4.2 bullet 1 shows the rules when you don't have one. Most likely all the jars are correctly designated and the application will come up. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4180292#4180292 Reply to

[jboss-user] [JBoss AOP] - Can't have interceptor element within bind element in AS 5

2008-10-02 Thread wolfc
The following xml: aop xmlns=urn:jboss:aop-beans:1.0 | bind pointcut=execution(* org.jboss.ejb3.test.ejbthree1023.AnnotatedLocalBean-woven()) | interceptor class=org.jboss.ejb3.test.ejbthree1023.TestInterceptor/ | /bind | bind pointcut=execution(*

[jboss-user] [EJB 3.0] - Re: deployment of ejb3 in jboss-5.0.0 CR2

2008-10-02 Thread wolfc
Yes, this is intended behaviour. The DefaultPersistenceUnitDependencyResolver only works for spec compliant deployments. If you want you can plug in your own implementation of a PersistenceUnitDependencyResolver which goes beyond the spec. But if the other ear/jar containing the persistence

[jboss-user] [EJB 3.0] - Re: deployment of ejb3 in jboss-5.0.0 CR2

2008-09-30 Thread wolfc
jaikiran wrote : I haven't given a try with deploying independent jar files. I have always used a EAR inside which i have the jar(s). Let me see if there is some issue with individual jar files. | | By the way, this looks a bit strange to me: | | anonymous wrote : 19:15:40,616 INFO

[jboss-user] [EJB 3.0] - Re: NullPointerException in JavaEEComponentHelper with JBoss

2008-09-25 Thread wolfc
JeffBrooks wrote : ... | Wolfc, I assume you agree with the rubbish comment and not with GColeman's comment about how disappointing JBoss 5 is. I didn't not expect such a bug to surface in CR2, so I'm just as disappointed with the situation as you guys. Not using JBoss AS 5 as a workaround

[jboss-user] [EJB 3.0] - Re: NullPointerException in JavaEEComponentHelper with JBoss

2008-09-24 Thread wolfc
Couldn't agree more. I think the underlying issue is: https://jira.jboss.org/jira/browse/JBAS-5895, but I want to be sure. So making sure the actual EJBs are not in a jar which is in lib (optionally specifying it as an ejb module in application.xml) should resolve the problem. View the

[jboss-user] [EJB 3.0] - Re: NullPointerException in JavaEEComponentHelper with JBoss

2008-09-23 Thread wolfc
It appears that for any EJB3 annotated classes found on the ear's classpath the Ejb3Deployer gets booted. Most likely the OptAnnotationDeployer creates EJB meta data for the ear. If possible try to contain the EJB3 classes to an ejb module and make sure it's not in any library directory of the

[jboss-user] [EJB 3.0] - Re: @PostConstruct and @PreDestroy in JBoss AS 5.0.0CR2

2008-09-22 Thread wolfc
As for the exit() not being called: https://jira.jboss.org/jira/browse/EJBTHREE-1496 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4177976#4177976 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4177976

[jboss-user] [EJB 3.0] - Re: deployment of ejb3 in jboss-5.0.0 CR2

2008-09-22 Thread wolfc
First of all for any NullPointerException which doesn't give any message a Jira can be opened. Preferably with some test code attached that reproduces the problem. This NPE is caused by improper specification of the properties in persistence.xml. You must use the forum code tag if you want to

[jboss-user] [EJB 3.0] - EJB 3 1.0.0-Beta3 bundle released with JBoss AS 5.0.0.CR2

2008-09-18 Thread wolfc
A new release of EJB 3 is available bundled in JBoss AS 5.0.0.CR2. Rajesh Rajasekaran wrote : JBoss Application Server 5.0.0.CR2 has been released and is available for download. | http://www.jboss.org/jbossas/downloads/ | | This is the last candidate |

[jboss-user] [EJB 3.0] - Re: EJB3 inside a WAR

2008-08-01 Thread wolfc
This is not possible in AS 4. In AS 5 you can enable scanning of wars by setting the 'scanWars' property to true in ejb3.deployer/META-INF/ejb3-deployers-jboss-beans.xml (ejb3-deployers-beans.xml for CR1). View the original post :

[jboss-user] [EJB 3.0] - Re: Problem with EJB3 MDB, Entity Objects

2008-07-31 Thread wolfc
Most likely the message is received before the transaction of the first MDB has been fully completed. Even when using a transacted session this can happen. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4167821#4167821 Reply to the post :

[jboss-user] [EJB 3.0] - Re: Using quartz from EJB 3.0

2008-07-30 Thread wolfc
You can use the code that stems from EJBTHREE-619 as a base for your solution. Change the MBean to suit your own needs and then have it bind a proxy in JNDI that you can lookup in the bean. If you want it injectable, then you need to change the ejb3 code itself. View the original post :

[jboss-user] [EJB 3.0] - Re: What's about embeddable EJB3

2008-07-30 Thread wolfc
The short answer is: there is nothing yet to replace the old Embeddable EJB3 in a way that's usable for current scenarios. Embeddable EJB3 Alpha 9 is an AS 5 Alpha preview (thus has Micro Container in it). There already where some incompability issues with AS 4 and when AS 5 started moving

[jboss-user] [EJB 3.0] - Re: server-side exceptions in EJB3

2008-07-29 Thread wolfc
You're not missing a configuration setting. It really is not implemented yet. :-) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4167357#4167357 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4167357

[jboss-user] [EJB 3.0] - Re: Annotation @TransactionTimeout not honoured for asynchro

2008-07-18 Thread wolfc
The transaction timeout only works if specified on the EJB3 bean itself. Since you're using a Seam component which delegates to TimerServiceDispatcher (which is the EJB3), the transaction timeout annotation will not take hold. View the original post :

[jboss-user] [EJB 3.0] - Re: EJB timers ignoring start date

2008-07-18 Thread wolfc
Create an issue here: https://jira.jboss.org/jira/browse/JBAS on component 'Scheduling/Timers'. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4165297#4165297 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4165297

[jboss-user] [EJB 3.0] - Re: Using quartz from EJB 3.0

2008-07-18 Thread wolfc
There are two ways to use Quartz from EJB3: 1. the unsupported EJB3 Quartz timer service: https://jira.jboss.org/jira/browse/EJBTHREE-619 2. or the Quartz resource adapter: http://wiki.jboss.org/auth/wiki/QuartzSchedulerIntegration View the original post :

[jboss-user] [EJB 3.0] - Re: Bug : JCA MDB deployment not working with Deployment Des

2008-07-16 Thread wolfc
activation-config-property-name and activation-config-property-value are designated xsd:string in the xsd. That means that any spaces, linefeeds, carriage returns and tabs are interpreted literally. So you must remove those from the descriptor. View the original post :

[jboss-user] [EJB 3.0] - Re: specify resource adapter on an mdb deployment descriptor

2008-07-03 Thread wolfc
You can specify a resource-adapter-name in jboss.xml as shown here: http://wiki.jboss.org/auth/wiki/ConfigMessageListener View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4162294#4162294 Reply to the post :

[jboss-user] [EJB 3.0] - Re: Could not find new XAResource to use for recovering non-

2008-07-03 Thread wolfc
There is this document on recovery modules: https://www.redhat.com/docs/manuals/jboss/jboss-eap-4.3/doc/jbossts/TX_Core_Failure_Recovery_Guide.pdf But no extra module should be needed. Do you have a small test case that exhibits this problem? If so, open a Jira and attach it. View the original

[jboss-user] [Microcontainer] - Partial override of MapValue not working

2008-07-02 Thread wolfc
Given the following code: @MapValue(keyClass=String.class, value={}, valueClass=String.class) |public void setDefaultPersistenceProperties(Properties p) |{ | this.defaultPersistenceProperties = p; |} With the following override: bean name=PersistenceUnitDeployer

[jboss-user] [Microcontainer] - Re: Partial override of MapValue not working

2008-07-02 Thread wolfc
Parsing is already done and has finished correctly. This has nothing to do with XB. It's all about MC juggling meta data. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4162028#4162028 Reply to the post :

[jboss-user] [Microcontainer] - Re: Partial override of MapValue not working

2008-07-02 Thread wolfc
ch11s01 wrote : Warning | | The type of each value must be specified using either the elementClass or type/class attribute in order for the collection to be created. Which I already did in the annotation. I agree that MC is pretty dumb to not be able to create meta data that amounts to

[jboss-user] [EJB 3.0] - Re: Is this a JBoss bug?

2008-06-27 Thread wolfc
EntityManagerHelper is trying to create an EntityManagerFactory. This is not allowed within a JavaEE container. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161238#4161238 Reply to the post :

[jboss-user] [Microcontainer] - Re: Get at Kernel from Unmanaged Object

2008-05-16 Thread wolfc
On a similar note: http://jira.jboss.com/jira/browse/JBMICROCONT-288 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4151409#4151409 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4151409

[jboss-user] [EJB 3.0] - Re: Question on @Service annotated beans

2008-05-15 Thread wolfc
A bean annotated with @Service acts as a stateful bean with just one instance available. So in effect it's the same as a singleton in EJB 3.1. Any lookup or injection of the service bean will result in an association with that single instance. With the use of @Management the service bean will

[jboss-user] [Microcontainer] - Hierarchical context

2008-05-09 Thread wolfc
Is there a notion of hierarchical context within MC? For example I want to start 2 stateless containers, both need to have a pool. So I want to install pool 1 into context A and pool 2 into context B. Then depending on where I install the container it will inject the correct pool with the same

[jboss-user] [EJB 3.0] - Re: deploy ear with embedded jboss

2008-04-21 Thread wolfc
Sorry for the confusion. It's not possible to deploy an ear in EJB 3 Embedded. For Embedded JBoss go to it's forum and ask again. (It should work though. :-) ) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4145488#4145488 Reply to the post :

[jboss-user] [EJB 3.0] - Re: Can ejb3 be used with generics?

2008-04-11 Thread wolfc
This defines the view that gets exposed (and injected): @Remote ({GenericsEJBInjection.class}) Not the actual implementing of an interface. So you have two duplicate views in 1 deployment. So the 'workaround' specified by jaikiran is actually the correct way to resolve it. View the original

[jboss-user] [EJB 3.0] - Re: ejb3.0 problem, container not yet available??

2008-04-05 Thread wolfc
http://jira.jboss.org/jira/browse/EJBTHREE-751 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4141857#4141857 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4141857 ___ jboss-user

[jboss-user] [EJB 3.0] - Re: Bug: Injected EJB objects instantiated on every MDB call

2008-04-03 Thread wolfc
ariekenb wrote : After doing this I only see 2 instances of my stateless session bean created, even in tests where it's called from multiple different MDBs and directly from clients. It appears StrictMaxPool is much more conservative in ThreadlocalPool. | | doktora - Maybe using

[jboss-user] [EJB 3.0] - Re: Using @Resource causes NPE at org.jboss.ejb3.JndiUtil.lo

2008-04-01 Thread wolfc
This is a bug in AS 4.2.2 where if it can't find the name in JNDI and there is no cluster active it will give a NPE instead of NameNotFoundException. Fixed in AS 5.0. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4140558#4140558 Reply to the post :

[jboss-user] [EJB 3.0] - Re: How to start a session bean as soon as it is deployed

2008-02-04 Thread wolfc
I'm planning to change this behavior in light of EJB 3.1. The supported way will be to use @PostConstruct in a @Singleton. So for now I would say use @PosConstruct in a @Service bean. Note that the create, start, stop, destroy methods will become deprecated and might disappear completely. View

[jboss-user] [EJB 3.0] - Preview the next EJB 3 implementation bundled in JBoss AS 5.

2008-01-01 Thread wolfc
A new release of the EJB 3 module is available bundled into JBoss Application Server 5.0.0.Beta3. Rajesh Rajasekaran wrote : JBoss Application Server 5.0.0.Beta3 is out, right in time for the holidays. | | Download it from sourceforge |

[jboss-user] [EJB 3.0] - Re: Talikng to Remote EJBs in 4.2.1 from 4.0.5

2007-12-18 Thread wolfc
http://jira.jboss.com/jira/browse/EJBTHREE-1118 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113946#4113946 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113946 ___ jboss-user

[jboss-user] [EJB 3.0] - Re: EJB 3 tutorial encourages non-standard code

2007-12-04 Thread wolfc
http://jira.jboss.com/jira/browse/EJBTHREE-1071 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4110115#4110115 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4110115 ___ jboss-user

[jboss-user] [EJB 3.0] - Re: jbossall-client.jar incompatible between 421 and 422

2007-11-16 Thread wolfc
http://jira.jboss.com/jira/browse/EJBTHREE-1118 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4105420#4105420 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4105420 ___ jboss-user

[jboss-user] [EJB 3.0] - Re: TransactionRequiredException: EntityManager must be acce

2007-11-06 Thread wolfc
You are calling the entity manager in a NOT_SUPPORTED context from fetchProcess. If you want the REQUIRES_NEW to take affect, you must call fetchProcess_real through a business object instead of directly. View the original post :

[jboss-user] [EJB 3.0] - Re: Why isn't @Predestory honored in @Stateless beans as wel

2007-10-30 Thread wolfc
This behavior has changed with the implementation of a new ThreadlocalPool. Now the pool completely cleans up at undeploy and calls @PreDestroy on all session bean instances. See http://jira.jboss.com/jira/browse/EJBTHREE-1031 View the original post :

[jboss-user] [EJB 3.0] - Re: PreDestroy callback is not being called by container

2007-10-30 Thread wolfc
In AS 4.2.2 the ThreadlocalPool does call @PreDestroy on undeploy. This is a 'side effect' of another issue with ThreadlocalPool. See http://jira.jboss.com/jira/browse/EJBTHREE-1031 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4100216#4100216 Reply to the

[jboss-user] [EJB 3.0] - Re: Error Injecting EntityManager

2007-10-26 Thread wolfc
Which annotation are you using to inject the entity manager? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4099341#4099341 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4099341

[jboss-user] [EJB 3.0] - Re: CONTEXTS MISSING DEPENDENCIES: Name - Dependency{Requir

2007-10-15 Thread wolfc
Is persistence.xml located in the META-INF directory of the jar file? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4095266#4095266 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4095266

[jboss-user] [EJB 3.0] - Re: Passivation-can its time of occurance be controlled?(4.2

2007-10-09 Thread wolfc
Take a look in ejb3-interceptors-aop.xml. In the Stateful Bean domain, the cache is configured for clustered and non-clustered beans. You can either edit this file or add the annotations to your bean. View the original post :

  1   2   3   4   >