[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.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228429#4228429

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228429
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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=bb&op=viewtopic&p=4228431#4228431

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228431
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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: https://jira.jboss.org/jira/browse/EJBTHREE-1635

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4229460#4229460

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4229460
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 using AS 5.1.0.CR1?
If it fails there open up a Jira in https://jira.jboss.org/jira/browse/EJBTHREE.

If possible attach source code which exhibits the problem.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4230707#4230707

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4230707
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 and enhancements, this is the first general 
release to include our new, significantly improved open-source console.
  | Highlights
  | * New Web Console - This release includes our new administration console. 
Several updates have been made since the CR1 release, including the 
introduction of WAR metrics.
  | * Web Beans Update - In addition, this release includes an updated tech 
preview of the new JSR-299 Web Beans RI.
  | * Farming Returns - Due to popular demand, the farming service is back!
  | 
  | For detailed release notes, visit here:
  | http://www.jboss.org/jbossas/docs/Release_Notes/510GA/readme.html
  | 
  | Happy Memorial Day to all folks in the US!
  | 
  | Thanks
  | Rajesh

These are the changes since AS 5.0.1.GA:

Release Notes for EJB 3.0
Includes versions: 1.1.0 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5

** Sub-task
*  [ EJBTHREE-1718 ] Deprecate usage of 
org.jboss.ejb3.embedded.deployers.JBossEjbParsingDeployer
*  [ EJBTHREE-1722 ] Clear out existing ejb3-async Implementation
*  [ EJBTHREE-1729 ] Make jboss-ejb3-async-spi
*  [ EJBTHREE-1740 ] Upport JBPAPP-856: Support DeliveryActive MDB 
activation config property on deployment
*  [ EJBTHREE-1753 ] persistenceunits MultipleEarTestCase.testServerFound 
fails due to changed error message
*  [ EJBTHREE-1767 ] Change ejb3-proxy to ejb3-proxy-impl
*  [ EJBTHREE-1771 ] Create a proxy transition component
*  [ EJBTHREE-1801 ] Performance : Improve the logic in the 
InterceptorRegistry and InjectInterceptorsFactory

** Feature Request
*  [ EJBTHREE-987 ] support DeliveryActive MDB activation config property
*  [ EJBTHREE-1624 ] Provide @EJB injection into MC Beans
*  [ EJBTHREE-1708 ] Allow the installer to install packages and remain in 
the temp dir
*  [ EJBTHREE-1768 ] Create a Utility to alter Manifest Class-Path in 
jbossall-client
*  [ EJBTHREE-1815 ] Unwarranted deployment errors must specify the 
offending bean

** Bug
*  [ EJBTHREE-1135 ] Interceptor's tutorial page contains outdated XML
*  [ EJBTHREE-1346 ] Disabling @Clustered via jboss.xml not being respected
*  [ EJBTHREE-1358 ] StrictMaxPool for SFSB does not decrease Pool-Usage on 
bean-removal
*  [ EJBTHREE-1597 ] Missing default persistence properties
*  [ EJBTHREE-1629 ] Ejb3DescriptorHandler does not handle complete set of 
primitives
*  [ EJBTHREE-1677 ] Incorrect handling of overloaded methods in 
ServiceMBeanDelegate
*  [ EJBTHREE-1690 ] jboss-ejb3-core has has a transitive dependency on 
jboss-servlet-api
*  [ EJBTHREE-1692 ] Slow memory leak in StatefulTreeCache if removal 
timeout is not configured.
*  [ EJBTHREE-1694 ] FieldBeanProperty.set has potential NPE, not 
considering Bootstrap CL
*  [ EJBTHREE-1700 ] EJB3 installer deletes 
JBOSS_HOME/client/ejb3-persistence.jar and does not copy it back during patching
*  [ EJBTHREE-1745 ] java:comp/env isn't available for 
SessionSynchronization callbacks
*  [ EJBTHREE-1746 ] EJB3 tutorials not working against JBossAS-5.0.1 GA
*  [ EJBTHREE-1757 ] Chapter 36 of the tutorial guide is missing the 
chapter name
*  [ EJBTHREE-1778 ] Proxy Factories are not bound in MC under unique names 
across EARs
*  [ EJBTHREE-1793 ] EJb2.x bean in reference21_30 testcase of the 
testsuite does not strictly follow the spec
*  [ EJBTHREE-1795 ] Fix the ChangeXMLUnitTestCase to be more robust
*  [ EJBTHREE-1798 ] JNDIKernelRegistryPlugin should not create proxies or 
sessions during MC context state change
*  [ EJBTHREE-1802 ] AbstractEjbReferenceValueMetadata doesn't handle 
UnresolvableReferenceException while resolving EJB reference
*  [ EJBTHREE-1803 ] Installer does not copy core-client to client folder 
of AS
*  [ EJBTHREE-1807 ] StatefulTreeCache removal task can't handle already 
removed beans
*  [ EJBTHREE-1808 ] Fix the pointcut expressions, to introduce annotations 
on joinpoints, in ejb3-interceptors-aop.xml
*  [ EJBTHREE-1825 ] Fix the typo in jboss-ejb3-endpoint-deployer.xml which 
is used in the plugin for installing the ejb3-endpoint-deployer

** Task
*  [ EJBTHREE-1241 ] Address EJB3 TestSuite Regressions
*  [ EJBTHREE-1396 ] MockServer must report startup / shutdown
*  [ EJBTHREE-1401 ] Create Tests for @Remote pass-by-value within local JVM
*  [ EJBTHREE-1693 ] Don't duplicate DeploymentUnit.getTopLevel
*  [ EJBTHREE-1695 ] Remove ejb3-core dependency upon ejb3-async
*  [ EJBTHREE-1697 ] Move the current ejb3 timer service to a separate 
optional component
*  [ EJBTHREE-1709 ] Check for applicable interceptors is missing (Was: 
Unnecessary logging at WARN level)
*  [ E

[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);
  |   
  |   on(container).deploy(
  | deployment(resource("explicit/ds-deployers-beans.xml")),
  | deployment("default-ds",
  |NonXADataSourceDeploymentMetaData.class,
  |localDataSource()
  |   .connectionURL("jdbc:hsqldb:mem:defaultdb")
  |   
.driverClass("org.jboss.ejb3.embedded.test.common.HSQLDBService")
  |   .jndiName("java:/DefaultDS")
  |   .user("sa")
  |   .password("")
  |   .getMetaData()
  | ));
  | 
  |   on(container).deploy(
  | deployment(
  |   pkg("org.jboss.ejb3.embedded.test.stateless"), 
  |   persistence(
  | unit("tempdb")
  |.jtaDataSource("java:/DefaultDS")
  |.property("hibernate.hbm2ddl.auto", 
"create-drop")
  |)));
  | 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4235087#4235087

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4235087
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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=bb&op=viewtopic&p=4235397#4235397

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4235397
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4236618#4236618

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4236618
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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=bb&op=viewtopic&p=4236616#4236616

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4236616
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 address somewhere where you can pick it up in the bean.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4240347#4240347

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4240347
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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=bb&op=viewtopic&p=4244330#4244330

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4244330
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 
org.jboss.ejb3.timerservice.spi.TimerServiceFactory (which is implemented by 
the bean installed in ejb3-timerservice-jboss-beans.xml).

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4247236#4247236

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4247236
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 )
  | log.trace("Login failure", e);
  |  authException = e;
  |   }


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4252711#4252711

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4252711
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: what happen with my entity bean , need expert help

2007-07-30 Thread wolfc
Caused by: java.lang.NullPointerException
  | at com.statinfo.stat.data.EjbLocator.find(EjbLocator.java:66)
Client injection is not supported in AS 4.2.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068708#4068708

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068708
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: BMT does not work the expected way.

2007-07-30 Thread wolfc
>From the same paragraph:
anonymous wrote : In less common use cases within Java EE environments, 
applications may need to access a persistence context that is 
?stand-alone??i.e. not propagated along with the JTA transaction across the 
EntityManager references for the given persistence unit.
  | 
Never tried it like you have, but committing your JTA transaction doesn't make 
much sense.
Try em.joinTransaction() or em.getTransaction().commit().
Lets see what happens.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068740#4068740

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068740
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: @EJB injection always injects remote object, why not loc

2007-07-31 Thread wolfc
http://jira.jboss.com/jira/browse/EJBTHREE-663

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4069097#4069097

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4069097
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: service=EJB3 + is already registered

2007-08-02 Thread wolfc
Check out what happened to any previous deployment. Did it clean up properly?

If there is no previous deployment, create a small test case which reproduces 
the problem. Open a JIRA and attach the test case.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4069975#4069975

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4069975
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: @EJB injection always injects remote object, why not loc

2007-08-02 Thread wolfc
Post your bean code. I think the container allows an illegal construct.

You can't use the same interface both as local and remote.
So either:
@Stateless
  | @Remote(MyStatelessRemote.class)
  | @Local(MyStatelessLocal.class)
  | public class MyStatelessBean
or
@Stateless
  | public class MyStatelessBean implements MyStatlessLocal, MyStatelessRemote
  | 
  | @Remote
  | public interface MyStatelessRemote extends MyStateless
  | 
  | @Local
  | public interface MyStatelessLocal extends MyStateless
The proxy chosen for injection will depend on the interface used.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4069982#4069982

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4069982
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: @EJB injection always injects remote object, why not loc

2007-08-02 Thread wolfc
As I suspected. You must specify an interface when annotating a session bean 
with @Remote or @Local.

I've opened a bug: http://jira.jboss.com/jira/browse/EJBTHREE-1025

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070102#4070102

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4070102
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: @EJB injection always injects remote object, why not loc

2007-08-02 Thread wolfc
Nope, because of the different semantics. A remote is always called by value, a 
local is called by reference. It would lead to strange inconsistencies.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070226#4070226

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4070226
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: EJBTHREE-769 fixed issue?

2007-08-07 Thread wolfc
Use 4.2.0 GA

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4071682#4071682

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4071682
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Microconatiner and @Depends, @Service annotations ...

2007-08-07 Thread wolfc
You need to run a MBeanServer.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4071683#4071683

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4071683
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Error with EJB3 application deployment

2007-08-10 Thread wolfc
You should have this class in server//lib/hibernate-annotations.jar.
(Per default 4.2 installation)

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4073028#4073028

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4073028
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Transaction is not active after rollback

2007-08-13 Thread wolfc
A direct call doesn't look at any transaction or security attributes. You 
should call the method through the business interface:
context.getBusinessObject(MyStateless.class).batchRemoveEndedProcesses(tmpList, 
jbpmDAO);
Make sure it's a local interface or you'll run into trouble with the jbpmDAO 
references.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4073580#4073580

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4073580
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: @local @remote

2007-08-14 Thread wolfc
How do you propose to reference these methods client side?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4074196#4074196

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4074196
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: need help for Transaction Attribute Types

2007-08-15 Thread wolfc
Please try the following:
@Stateful
  | @Remote(TestFasade.class)
  | public class TestFasadeBean implements TestFasade {
  | 
  | @PersistenceContext(type = PersistenceContextType.EXTENDED)
  | EntityManager oracleManager;
  | Test test;
  | 
  | @TransactionAttribute(NEVER)
  | public Long create() {
  | try {
  | test = new Test();
  | test.setAge(21L);
  | test.setName("adsdasd");
  | test.setSurname("asdasd");
  | oracleManager.persist(test);
  | return test.getId();
  | } catch (Exception e) {
  | e.printStackTrace();
  | return 0L;
  | }
  | }
  | 
  | @TransactionAttribute(REQUIRED)
  | public void comit() {
  | try {
  | oracleManager.flush();
  | } catch (Exception e) {
  | e.printStackTrace();
  | }
  | }
  | }

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4074599#4074599

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4074599
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: need help for Transaction Attribute Types

2007-08-17 Thread wolfc
Post the entire stack trace please.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4075399#4075399

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4075399
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Unable to access tutorial example code

2006-12-04 Thread wolfc
The source has been moved to svn. You can access the svn repository here: 
http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossas/.

The unit test the turorial refers to is here: 
http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossas/trunk/ejb3/src/test/org/jboss/ejb3/test/consumer/.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990955#3990955

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3990955
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: SocketException converted into UndeclaredThrowableExcept

2006-12-04 Thread wolfc
ex.getCause().getCause() should lead you to the SocketTimeoutException.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991007#3991007

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991007
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Instantiate bean in EJB 3.0

2006-12-04 Thread wolfc
There is no need to call a create method on an EJB3 session bean.
You can optionally annotate a method with @Init to specify that it is the 
initialization method. (EJB3 4.3.10 & 4.4)

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991196#3991196

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991196
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Testing Entity Beans in EJB 3.0

2006-12-04 Thread wolfc
You can use the Java Persistence API for out-of-container persistence and write 
JUnit tests around them. Alternatively you can test in the embedded EJB3 stack.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991198#3991198

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991198
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: java.lang.AbstractMethodError

2006-12-05 Thread wolfc
You have an incompatible set of components thrown together.

Please install JBoss AS with the JEMS installer and choose the ejb3 profile, 
then try again.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991368#3991368

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991368
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: How to correct standard CMP mapping for BigDecimal?

2006-12-07 Thread wolfc
Which dialect have you set in persistence.xml?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3992091#3992091

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992091
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: How to correct standard CMP mapping for BigDecimal?

2006-12-08 Thread wolfc
For a BigDecimal field you must specify the precision and scale using the 
@Column annotation.
JSR 220: Enterprise JavaBeans(TM),Version 3.0, Final Release, 9.1.5 Column 
Annotation

http://jira.jboss.com/jira/browse/EJBTHREE-802

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3992187#3992187

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992187
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Instantiate bean in EJB 3.0

2006-12-08 Thread wolfc
Correct.

EJB 3.0 final release chapter 4.3.10.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3992295#3992295

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992295
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Wrong column type: expected: numeric(10, 0)

2006-12-12 Thread wolfc
For a BigDecimal field you must specify both the precision and scale.
JSR 220: Enterprise JavaBeans(TM),Version 3.0, Final Release, 9.1.5 Column 
Annotation

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3992979#3992979

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992979
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Quartz TimerService

2006-12-19 Thread wolfc
The QuartzTimerService implementation is a prototype to see if it could be 
done, but Scott pointed out that it is yet another timer service into JBoss AS. 
Which is something we don't want, so implementation was postponed.
There is going to be an unified enterprise timer service, possibly based on 
Quartz.
For now the EJB3 QuartzTimerService is on hold and will not be continued upon.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994905#3994905

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994905
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Hot-Deployment-Problem

2006-12-20 Thread wolfc
Please try it with EJB3 RC9 patch 1.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995223#3995223

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995223
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Where is javax.persistence.AccessType

2006-12-20 Thread wolfc
I only see it as a Hibernate annotation.
org.hibernate.annotations.AccessType

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995226#3995226

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995226
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Where is javax.persistence.AccessType

2006-12-20 Thread wolfc
EJB 3.0 Java Persistence API Final Release, A.4 Changes since Public Draft:
anonymous wrote : Removed accessType element from annotations: required use of 
a single access type in an entity hierarchy; placement of the mapping 
annotations determines the access type in effect.
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995306#3995306

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995306
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - RC9 Patch 1 released

2006-12-21 Thread wolfc
The EJB 3.0 RC9 Patch 1 implementation is only usable with JBoss 4.0.5.GA. The 
patch has been released to provide compatibility with the full (non-installer) 
release for JBossAS 4.0.5. The patch also corrects a problem with the installer 
version that caused hot redeploys to fail with a classloading issue.

You can download the RC9 patch 1 release here: 
http://sourceforge.net/project/showfiles.php?group_id=22866&package_id=132063&release_id=471103

Please follow the instructions in INSTALL.html to install the patch.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995565#3995565

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995565
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: ManyToOne and ManyToMany foreign key issues

2006-07-11 Thread wolfc
Please try the following:
Test1 t1=new Test1();
  | ArrayList a=new ArrayList();
  | Test2 t2=new Test2();
  | t2.setField(1);entityManager.persist(t2);a.add(t2);
  | t2=new Test2();
  | t2.setField(2);entityManager.persist(t2);a.add(t2);
  | t1.setTest2s(a);
  | t1.setField(1);
  | entityManager.persist(t1); 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956852#3956852

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956852
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Problem using TimerService

2006-07-11 Thread wolfc
http://jira.jboss.org/jira/browse/EJBTHREE-613

Issue is resolved.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956927#3956927

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956927
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Problem with inheritance and aop in MessageDrivenBeans (

2006-07-11 Thread wolfc
Problem reproduced.

The AbstractMDB must have public modifier.

public class AbstractMDB {public void onMessage(final Message message) {
  |  Logger.getLogger(this.getClass()).debug("Received a 
message.");
  | }
  | }

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956889#3956889

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956889
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: NullPointerException in HelloWorld

2006-07-12 Thread wolfc
Try the following code:
InitialContext ctx = new InitialContext();
  | 
  | HelloRemote bin = (HelloRemote) ctx.lookup("HelloBean/remote");

It needs some exception handling.

Depending on the method of deployment the JNDI name may vary. Look in the JMX 
console -> JNDIView for the true name.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957280#3957280

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957280
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Interceptors not fired on methods called from within bea

2006-07-13 Thread wolfc
Please try:
getBusinessObject(MyInterface.class).sayHelloTo("me");

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957724#3957724

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957724
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Why SLSB maintain state between method invocation?

2006-07-13 Thread wolfc
JSR 220: Enterprise JavaBeansTM,Version 3.0, Final Release, 4.5 Stateless 
Session Beans, 2nd paragraph:

The term ?stateless? signifies that an instance has no state for a specific 
client. However, the instance
variables of the instance can contain the state across client-invoked method 
calls. Examples of such
state include an open database connection and an object reference to an 
enterprise bean object.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957734#3957734

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957734
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Adaption to JEE classes packaging

2006-07-17 Thread wolfc
http://jira.jboss.com/jira/browse/EJBTHREE-620

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958555#3958555

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958555
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: env-entry injection in a @Service EJB

2006-07-20 Thread wolfc
Please try the following:

  | 
  | http://java.sun.com/xml/ns/javaee";
  | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  | xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
  | 
http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd";
  | version="3.0">
  |EnvEntry Tests
  |
  |   
  |  TestEnvEntry
  |  
  | maxExceptions
  | java.lang.Integer
  | 15
  |  
  |  
  | minExceptions
  | java.lang.Integer
  | 5
  | 
  |
org.jboss.ejb3.test.enventry.TestEnvEntryBean
  |minExceptions
  | 
  |  
  |  
  | 
org.jboss.ejb3.test.enventry.TestEnvEntryBean/numExceptions
  | java.lang.Integer
  | 10
  |  
  |   
  |
  | 
  | 
With the first one you need:
@Resource(name="maxExceptions") private int maxExceptions;

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959639#3959639

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959639
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2006-07-20 Thread wolfc
It is not possible to deploy an ear with embedded.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959640#3959640

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959640
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Problem with ArrayLists in SessionBeans and idle time

2006-07-20 Thread wolfc
Bug is in at http://jira.jboss.com/jira/browse/EJBTHREE-657.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959650#3959650

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959650
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Problem with ArrayLists in SessionBeans and idle time

2006-07-24 Thread wolfc
I checked the source code based on your stack trace. It is a bug.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960328#3960328

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960328
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: TimerService Injection Failure

2006-07-24 Thread wolfc
TimerService on 3.0 entities are not supported.

>From JSR 220: Enterprise JavaBeans TM, Version 3.0, Final Release, Chapter 
>18.2 2nd paragraph:
anonymous wrote : Timers can be created for stateless session beans, 
message-driven beans, and 2.1 entity beans.
  | Timers cannot be created for stateful session beans[94] or EJB 3.0 entities.



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960394#3960394

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960394
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: @EJB DI in a servlet always null

2006-07-28 Thread wolfc
Please try:
InitialContext ctx = new InitialContext();
  | EILogin login = (EILogin) ctx.lookup("esLoginBean/remote");

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961619#3961619

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961619
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2006-08-02 Thread wolfc
I can't find anything in the spec about calling @PreDestroy on undeploy. Please 
let me know where it is stated.

Nevertheless I find the functionality very interesting, so I think you should 
open a JIRA issue. (Based on the specs it's either a feature request or a bug.)

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962416#3962416

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962416
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2006-08-04 Thread wolfc
I still say some thought is needed.
Here I trick the thread pool into instantiating more objects (and subsequently 
destroying them). So even the thread pool calls pre destroy. Question remains 
what to do with that 1 instance that stays in the thread pool on undeploy...
deploy...
  | 12:34:16,108 INFO  [StackedStatelessBean] post construct [EMAIL PROTECTED]
  | 12:34:16,109 INFO  [StackedStatelessBean] 2 is invoking next one
  | 12:34:16,112 INFO  [StackedStatelessBean] post construct [EMAIL PROTECTED]
  | 12:34:16,114 INFO  [StackedStatelessBean] 1 is invoking next one
  | 12:34:16,114 INFO  [StackedStatelessBean] post construct [EMAIL PROTECTED]
  | 12:34:16,114 INFO  [StackedStatelessBean] I'm done
  | 12:34:16,114 INFO  [StackedStatelessBean] pre destroy [EMAIL PROTECTED]
  | 12:34:16,116 INFO  [StackedStatelessBean] pre destroy [EMAIL PROTECTED]
  | undeploy...

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3963138#3963138

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3963138
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2006-08-07 Thread wolfc
@PreDestroy works per instance (EJB3 4.5.1 last paragraph)

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3963498#3963498

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3963498
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Programmatically query @RolesAllowed or if caller can ac

2006-08-07 Thread wolfc
This works for me:
package test;
  | 
  | import java.lang.annotation.Annotation;
  | import java.lang.reflect.Method;
  | 
  | import javax.annotation.security.RolesAllowed;
  | import javax.ejb.Remote;
  | import javax.ejb.Stateless;
  | 
  | @Stateless
  | @Remote(MyStateless.class)
  | public class MyStatelessBean implements MyStateless {
  | 
  | @RolesAllowed("user")
  | public String sayHelloTo(String name) {
  | //  Annotation as[] = MyStatelessBean.class.getAnnotations();
  | //  for(Annotation a : as) {
  | //  System.err.println(a.toString());
  | //  }
  | Method ms[] = getClass().getMethods();
  | for(Method m : ms) {
  | Annotation as[] = m.getAnnotations();
  | for (Annotation a : as) {
  | System.err.println(a.toString());
  | }
  | RolesAllowed rolesAllowed = 
m.getAnnotation(RolesAllowed.class);
  | if(rolesAllowed != null) {
  | for(String role : rolesAllowed.value()) {
  | if(role.equals("user"))
  | System.err.println("method " + 
m + " is allowed for user");
  | }
  | }
  | }
  | return "Hi " + name;
  | }
  | 
  | @RolesAllowed("admin")
  | public void notAllowed()
  | {
  | 
  | }
  | 
  | @RolesAllowed("user")
  | public void allowed()
  | {
  | 
  | }
  | }
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3963575#3963575

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3963575
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Simple EJB3 Transaction Question

2006-08-07 Thread wolfc
Please add the following annotation to your bean class:
@TransactionManagement(TransactionManagementType.BEAN)

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3963577#3963577

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3963577
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: @EJB problem

2006-08-08 Thread wolfc
That's weird, as of RC8 javax.annotation.EJB shouldn't exist. javax.ejb.EJB is 
the right one.

http://jira.jboss.com/jira/browse/EJBTHREE-608

Can you check if you have more than 1 version of jboss-ejb3x.jar installed?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3963740#3963740

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3963740
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Simple EJB3 Transaction Question

2006-08-08 Thread wolfc
Read either EJB 1.1 11.6.1 or EJB3 13.6.1.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3963746#3963746

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3963746
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Applying interceptors to

2006-08-08 Thread wolfc
It is possibly by creating your own container-configurations in jboss.xml (see 
standardjboss.xml for examples) and implementing the org.jboss.ejb.Interceptor 
interface 
(http://docs.jboss.org/jbossas/jboss4guide/r5/html/ch5.chapter.html#d0e12136).

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3963748#3963748

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3963748
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Applying interceptors to

2006-08-08 Thread wolfc
For your second question: it is possible to rewrite the beans for use as 2.1 
beans. See 
http://docs.jboss.org/ejb3/app-server/tutorial/ejb21_client_adaptors/ejb21_client_adaptors.html
 for details.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3963750#3963750

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3963750
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Starting embeddable EJB3 server

2006-08-08 Thread wolfc
You've got the latest release. While RC8 is derived from the JBoss 4 source, 
Embeddable Alpha 8 is derived from JBoss 5 source.

Please check your classpath. TransactionImpl.xidFactory is incompatible between 
JBoss 4.0.4.GA and JBoss Embeddable Alpha 8. Make sure the embeddable jars in 
/lib are at the top.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3963756#3963756

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3963756
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Setting timeout for EJB3 session beans

2006-08-08 Thread wolfc
standardjboss.xml is ignored by EJB3 beans.

Please try:
@CacheConfig(idleTimeoutSeconds=300)

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3963757#3963757

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3963757
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Setting timeout for EJB3 session beans

2006-08-08 Thread wolfc
To have the thread complete: for EJB3 you can modify ejb3-interceptors-aop.xml.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3963866#3963866

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3963866
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4212520#4212520

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4212520
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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  
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossProductVersioning release of the 
JBoss 5.0 series for the Java EE5 codebase that fully complies
  | with the Java EE 5 conformance testing certification requirements. It 
contains more than 40 bug fixes and
  | improvents as well as addresses the majority of the initial glitches 
reported by the
  | community since the release of JBoss AS 5.0.0.GA
  | 
  | Detailed release notes:
  | 
https://sourceforge.net/project/shownotes.php?release_id=663566&group_id=22866
  | 
  | Thanks
  | Rajesh
Other than a recent post of someone deprecating the .ejb3 usage, I saw no reply 
to the .ejb3 usage question. So that function has been removed.

Please open a forum thread here if you spot any problems.

Release Notes for EJB 3 1.0.0-GA (from 1.0.0-Beta10)

** Sub-task
*  [ EJBTHREE-1243 ] Fix Security Regressions from Revision 71339
*  [ EJBTHREE-1251 ] Fix "security5" tests
*  [ EJBTHREE-1609 ] ClassHelper needs privileged blocks for all sensistive 
operations
*  [ EJBTHREE-1618 ] Insecure access to getClassLoader in SerializableMethod
*  [ EJBTHREE-1619 ] Setting permissions in Ejb3AuthenticationInterceptorv2 
needs to be done in doPrivileged
*  [ EJBTHREE-1636 ] SerializableMethod should use PrimitiveAwareClassLoader

** Feature Request
*  [ EJBTHREE-1437 ] Upgrade -aop.xml files to use JAXB
*  [ EJBTHREE-1596 ] Improve error message when persistence unit can not be 
resolved
*  [ EJBTHREE-1620 ] Allow for configuration of known-issues
*  [ EJBTHREE-1648 ] Plugin should not export dependencies to consumers

** Bug
*  [ EJBTHREE-1530 ] MBean 'start' method calls not honouring dependencies
*  [ EJBTHREE-1622 ] Errors in resolving arrays under JDK6 in 
SerializableMethod.toMethod()
*  [ EJBTHREE-1628 ] NullPointerException in 
ExtendedSessionInvocationHandler
*  [ EJBTHREE-1630 ] EJBContext of service bean does not implement 
SessionContext
*  [ EJBTHREE-1635 ] Resources of type URL defined with annotations don't 
have resUrl set
*  [ EJBTHREE-1643 ] SecurityDomain unauthenticatedPrincipal is not honoured
*  [ EJBTHREE-1646 ] Placeholder
*  [ EJBTHREE-1653 ] Locking in EJBContainer during start/stop can cause 
deadlocks and/or IllegalMonitorStateExceptions
*  [ EJBTHREE-1654 ] BlockContainerShutdownInterceptor does not immediately 
reject invocations once EJBContainer stop is requested
*  [ EJBTHREE-1658 ] pecified calling class, [B could not be found for 
sun.misc.Launcher$AppClassLoader
*  [ EJBTHREE-1663 ] Authorization/Authentication should not be performed 
upon lifecycle of @Service beans
*  [ EJBTHREE-1668 ] Non-existent default business interface(s) for EJB2.x 
view beans bound to JNDI
*  [ EJBTHREE-1671 ] CNFE when injecting @Resource of application specific 
type in an application packaged as EAR with jboss-app.xml classloading 
configuration
*  [ EJBTHREE-1675 ] Fix "invoker" test
*  [ EJBTHREE-1676 ] JBossServiceBeanMetadata must be wrapped in 
JBossServicePolicyDecorator
*  [ EJBTHREE-1678 ] Support for Service exposing a management interface 
and a custom objectName through deployment descriptor isn't working
*  [ EJBTHREE-1680 ] Async invocation should report the real exception as a 
cause in ExecutionException
*  [ EJBTHREE-1681 ] Async invocation only works once
*  [ EJBTHREE-1682 ] SecurityContext is not propagated on asynchronous calls
*  [ EJBTHREE-1684 ] Plugin must also install jboss-metadata.jar in client 
directory
*  [ EJBTHREE-1688 ] isHomeAndBusinessBoundTogether may return true in 
presense of no business interfaces

** Task
*  [ EJBTHREE-655 ] Refactor @Service beans
*  [ EJBTHREE-1201 ] fix failures/regressions in testsuite
*  [ EJBTHREE-1328 ] Fixes for build-test.xml
*  [ EJBTHREE-1574 ] EJB3 Remote Annotation with EJB2.x View - Enhanced 
Error Message
*  [ EJBTHREE-1610 ] Remove configurations telling clients to connect to 
0.0.0.0 (INADDR_ANY)
*  [ EJBTHREE-1611 ] Embedded EJB3 POM out of date
*  [ EJBTHREE-1614 ] Extract out logic to decorate metadata w/ JNDI Binding 
Policy from EjbMetadataJndiPolicyDecoratorDeployer
*  [ EJBTHREE-1615 ] Externalize attachment names as a contract away from 
the deployers themselves
*  [ EJBTHREE-1616 ] Create a pluggable @EJB Reference Resolver
*  [ EJBTHREE-1625 ] Create MC Integration Project
*  [ EJBTHREE-1626 ] Create a ClassLoader capable of loading Primitives
*  [ EJBTHREE-1639 ] IsLocalInterceptor should no longer support 
@Deprecated dynamicInvoke to Service Containers
*  [ EJBTHREE-1645 ] Centralize logic to get at all EJB3 Deploym

[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=bb&op=viewtopic&p=4216088#4216088

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4216088
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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=bb&op=viewtopic&p=4216089#4216089

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4216089
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 problem you're trying to resolve? If it's 'configuration errors', 
then adding complexity to relieve that is not an option.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4216090#4216090

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4216090
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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());
  |   component.addAttachment(NamedAliasMetaData.class.getName(), alias);
  |}
  | 
When will you answer my question? :-)
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=145178

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4216124#4216124

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4216124
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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);
  | inject.setFromContext(FromContext.CONTEXT);

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4219025#4219025

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4219025
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4221470#4221470

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4221470
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4224086#4224086

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4224086
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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=bb&op=viewtopic&p=4224590#4224590

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4224590
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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=bb&op=viewtopic&p=4226544#4226544

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4226544
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4226949#4226949

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4226949
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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);
  | ManagedEntityManagerFactory managedFactory = deployment.getManagedFactory();
  | return new InjectedEntityManagerFactory(managedFactory);
Although PersistenceUnitDeployment is an internal. Maybe we should add a simple 
utility class to jpa-deployers.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200154#4200154

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200154
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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=22866&package_id=132063

JBoss EJB 3 1.0.0 is an EJB 3.0 spec compliant implementation for use in JBoss 
Application Server.

Prerequisites:
- JBoss AS 5.0.0.GA
- Ant 1.7

To install EJB 3 1.0.0 run:
$ java -jar jboss-ejb3-plugin-1.0.0-installer.jar /path/to/jboss-5.0.0.GA

The known issues are listed here:
https://jira.jboss.org/jira/secure/IssueNavigator.jspa?reset=true&&pid=10021&version=12312768&sorter/field=issuekey&sorter/order=DESC

(Note that I didn't reinstate .ejb3 file deployments. Is there anybody using 
this? :-) )

Please ask any questions or report problems in this forum.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4204446#4204446

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4204446
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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=bb&op=viewtopic&p=4204639#4204639

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4204639
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 is to have an embeddable available to co-release with Enterprise 
Application Platform 5. This could be JBoss Embeddable or EJB 3 Embeddable. It 
depends a bit on how many standalone components will be available.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4204695#4204695

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4204695
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 add the extra features required 
by EJB 3.1 and other feature packs:
- class based queuing for invocations
- clustered timer service
etc.

The feature packs will have a separate release cycle. So you might see an EJB 
3.1 installer for AS 5.1 (while the basic installation is JavaEE 5 / EJB 3.0).

So you're seeing multiple components in the repository. It is even possible to 
use these components outside of EJB 3 scope.

What we don't have yet is a nice graph which shows a good view of these 
components. So if anybody has some suggestions?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4204698#4204698

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4204698
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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=bb&op=viewtopic&p=4208098#4208098

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4208098
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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=bb&op=viewtopic&p=4210042#4210042

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4210042
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2009-02-17 Thread wolfc
This bit:
   
  |   
  |
  |
  |   
  |  
  |   
  |   
  |   
  |
must go into the bootstrap. https://jira.jboss.org/jira/browse/JBAS-6514

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4210683#4210683

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4210683
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 thing. Now 
AbstractEjbReferenceValueMetadata.getTargetJndiName throws scoping out the 
window, which is wrong.

I think it boils down to knowing the cause of a MC bean install. While the 
current resolvers work on deployment unit (as being the root cause) this might 
now be truly the proper abstraction.

For the moment it would be great to actually know the deployment unit which is 
causing a MC bean install.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4210689#4210689

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4210689
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 null;
  |   /*
  |   Set controllerContextNames = 
deploymentUnit.getControllerContextNames();
  |   if(controllerContextNames != null)
  |   {
  |  for(Object name : controllerContextNames)
  |  {
  | if(name.equals(contextName))
  |return deploymentUnit;
  |  }
  |   }
  |   */
  |   BeanMetaData bmd = deploymentUnit.getAttachment(BeanMetaData.class);
  |   if(bmd != null && bmd.getName().equals(contextName))
  |  return deploymentUnit;
  |   DeploymentUnit result;
  |   for(DeploymentUnit component : deploymentUnit.getComponents())
  |   {
  |  result = findBean(component, contextName);
  |  if(result != null)
  | return deploymentUnit;
  |   }
  |   for(DeploymentUnit child : deploymentUnit.getChildren())
  |   {
  |  result = findBean(child, contextName);
  |  if(result != null)
  | return result;
  |   }
  |   return null;
  |}

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4210956#4210956

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4210956
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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=bb&op=viewtopic&p=4186483#4186483

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4186483
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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=bb&op=viewtopic&p=4186484#4186484

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4186484
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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:
  |   junit
  |   junit
  |   [4,)
  |   test
  | 
What JDK are you using?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4186776#4186776

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4186776
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187286#4187286

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187286
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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=bb&op=viewtopic&p=4187367#4187367

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187367
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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=bb&op=viewtopic&p=4187370#4187370

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187370
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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=bb&op=viewtopic&p=4188134#4188134

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4188134
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 Map, 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 : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4189772#4189772

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4189772
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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=bb&op=viewtopic&p=4190251#4190251

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4190251
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossProductVersioning release of the 
JBoss 5.0 series for the JavaEE 5 codebase that fully complies with the Java EE 
5
  | conformance testing certification requirements. It brings us to the end of 
a 3+ year marathon of redesigning
  | the most popular open-source application server over a completely new 
kernel architecture.
  | More in the release notes.
  | 
https://sourceforge.net/project/shownotes.php?release_id=645033&group_id=22866
  | 
  | Thanks
  | Rajesh
JBoss Application Server 5.0.0.GA contains a fully spec compliant 
implementation of EJB 3.0.

The bundle itself is called 1.0.0-Beta10, because I want to be certain that all 
features from JBoss AS 4.2 are available. So certain things are currently not 
yet implemented, like deploying .ejb3 files. And other things need to be 
configured using MC services, like skipping annotation scanning. Once we have 
this fixed and/or documented you'll see a GA of JBoss EJB 3.

In the meantime, if you spot a problem with this release, be sure to open a 
thread here.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4194553#4194553

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4194553
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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=bb&op=viewtopic&t=164123.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267060#4267060

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267060
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 
that are part of the EE6 specification. Additional capabilities will be added 
in future milestones.
  | 
  | The new EE standards supported in this release are:
  |  * JSF 2 - Includes major improvements over JSF1 such as AJAX support and 
integration with Bean Validation.
  |  * Bean Validation (JSR-303) -  Provides centralized validation of model 
objects accross all tiers (presentation, data, etc).
  |  * CDI [Weld RI] (JSR-299) - Offers an innovative and feature rich context 
management and dependency injection framework for EE applications.
  | 
  | Other major additions include:
  |  * Mod_cluster - An intelligent load balancing solution that integrates 
with Apache Web Server, and uses appserver heuristics to efficiently balance 
requests across a JBoss AS cluster.
  |  * Embedded Prototype - A prototype for a new API that launches, configures 
and deploys against an in-VM JBoss AS instance.
  |  * Many bug fixes and small enhancements listed in the full notes below.
For the complete release notes with working links go to 
http://www.jboss.org/community/wiki/AS600M1ReleaseNotes.

The AS 6 milestones will get additional capabilities as they are released. For 
EJB 3 we'll start at the baseline EJB 3.0 and release a new capability 
frequently until we get the full EJB 3.1 in the final AS 6 release. In fact we 
will not wait for milestones to appear, but we'll use a package manager to 
install components into the latest milestone (in similar fashion as the plugin).

As for the new technologies that are in 6.0.0.M1, like Bean Validation, I 
highly recommend you add ConstraintViolationException to your application 
exception list. 
http://wolf-71.blogspot.com/2009/10/constraint-violated-transaction-rolled.html

More information and the download link can be found on Jasons blog entry: 
http://in.relation.to/Bloggers/IntroducingJBossAS600M1.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4268680#4268680

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4268680
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


  1   2   3   4   >