[JBoss Tools]Setting EJBDoclet output directories
by Stephen Davidson
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Greetings.
I may be missing something, but I have not been able to find in JBoss
Tools where to set the directory to write the generated class files to.
I am talking specifically about the generated Home & Remote
interfaces. I have a number of EJB Session beans that I am upgrading
from EJB1.0. (The EJB1.1 was still in draft when these were written)
I did not find anything when I Googled specific to JBoss tools. I found
some stuff for JBoss-IDE and EJBDoclet, but the setting for the
Generated Interface Files seems to have been dropped for JBoss Tools?
Or was it just moved somewhere that I have not yet found?
Thanks,
Steve
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
iD8DBQFGyvH/PtiPEDq7o8YRAuO1AJ9JdGot/iWQgR36HMUs55SdxivqvwCeIz/h
GbWa+C81PKM01bQRmU9owKs=
=dWGK
-----END PGP SIGNATURE-----
17Â years, 3Â months
[JBoss Seam] - Problem using JBPM in Seam 2
by fredbene
Hello,
I'm trying to use jbpm in seam 2 but until now unsucess. In seam 1.2.1 works.
In components.xml in seam 1.2.1 I used this :
| <core:Jbpm pageflow-definitions="editarNoticia.jpdl.xml"/>
|
In seam 2 beta 1 I used the same, but nothing happens. I used this too:
| <component name="org.jboss.seam.bpm.jbpm">
| <property name="processDefinitions">
| <value>editarNoticia.jpdl.xml</value>
| </property>
| </component>
|
| Caused by: java.lang.NullPointerException
| at org.jboss.seam.core.ConversationInterceptor.beginNavigation(ConversationInterceptor.java:226)
| at org.jboss.seam.core.ConversationInterceptor.beginConversation(ConversationInterceptor.java:213)
| at org.jboss.seam.core.ConversationInterceptor.beginConversationIfNecessary(ConversationInterceptor.java:149)
| at org.jboss.seam.core.ConversationInterceptor.aroundInvoke(ConversationInterceptor.java:55)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
| at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:42)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
| at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:106)
| at org.jboss.seam.intercept.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:53)
| at sun.reflect.GeneratedMethodAccessor475.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:597)
| at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118)
| at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.entity.ExtendedPersistenceContextPropagationInterceptor.invoke(ExtendedPersistenceContextPropagationInterceptor.java:57)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
| ... 86 more
|
Part of Facelets debug:
| - Business Process Context
| Empty business process context
|
Thank you.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4080178#4080178
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4080178
17Â years, 4Â months
[Beginners Corner] - Can't get Datasource outside container (4.2)
by viniciuscarvalho
Hello there! This is a very dumb question, I know. But it's friday, past 6pm, and its annoying me a lot.
I'm running some junit tests, and I'm not being able to get the datasource from the jndi. It's deployed. My SLSBs do have access on them (through entity manager) but on the unit test it says its not bound. What's odd, is that if I look for anything else (ConnectionFactory, Queue, Topic, Remote interfaces) it locates, but no datasource at all. Here's a snippet:
| InitialContext ctx = new InitialContext();
| Queue q = (Queue)ctx.lookup("java:/queue/A"); //found
| ConnectionFactory qf = (ConnectionFactory)ctx.lookup("java:/ConnectionFactory");//found
| SomeEJB ejb = (SomeEJB)ctx.lookup("SomeEJB/remote");//found
| DataSource ds = (DataSource)ctx.lookup("java:mysqlDS");//not bound
|
I've double checked the jndi name on the jmx-console and it's bound to java:mysqlDS.
Any ideas of why I just can't find the datasource object?
Regards
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4080168#4080168
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4080168
17Â years, 4Â months