Jaikiran, I just tried the @Service notation:
| package ae;
|
| import javax.annotation.Resource;
| import javax.ejb.TransactionAttribute;
| import javax.ejb.TransactionAttributeType;
|
| import org.apache.log4j.Logger;
| import org.jboss.ejb3.annotation.Depends;
| import org.
Master.java
package ae;
|
| import javax.annotation.Resource;
|
| import org.apache.log4j.Logger;
|
| import ae.Calculator;
|
| public class Master implements MasterMBean {
| private static final Logger log = Logger.getLogger(Master.class);
|
| @Resource(mappedName =
anonymous wrote : public class Master implements MasterMBean {
|
What is this class (into which you are injection the EJB)? Are you using the
@Service annotation? Or are you configuring the service through xml? Can you
post the configurations?
View the original post :
http://www.jboss.com/i
Sure. I hope, this is everything you need:
anonymous wrote : 11:32:01,640 INFO [ServerPeer] JBoss Messaging 1.4.1.GA
server [0] started
| 11:32:01,812 INFO [STDOUT]
| ---
| GMS: address is 192.168.22.42:2527
| -
Please post the console logs when the server is being started and your
application being deployed.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4204920#4204920
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4204920
___
Hey there!
I have a similar question, but the @RemoteBinding Solution doesn't work.
My JBoss AS 5.0.0.GA runs in "all" mode, because I need clustering
capabilities. I have a usual EJB_JAR in folder "deploy" and a SAR in
"deploy-hasingleton". The SAR contains an MBean which uses a SLSB defined
"kolszew73" wrote : Ok i know, but ... it works fine in JBOSS 4.2.2 !
|
I'm sympathetic to this in practice. So:
[url]https://jira.jboss.org/jira/browse/EJBTHREE-1689[/ur]
S,
ALR
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4202529#4202529
Reply to th
Ok i know, but ... it works fine in JBOSS 4.2.2 !
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4202494#4202494
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4202494
___
jbo
"kolszew73" wrote : 1. This in not EJB3 compilant, i must use annotation
org.jboss.ejb3.annotation.LocalBinding which is'n standard EJB annotation
Strong words from someone trying to bypass spec scoping by injecting across
unrelated JARs/EARs. ;)
True story though. Looking forward we'll be mov
"kolszew73" wrote :
| 2. I' have another problem, when i'm redeploy first jar, (secon not),
during redeploy server stops/starts VatCounter but do not stop/start
ComplexCounter (which is depended) (Jboss 4.2.2 stops/starts both).
|
ComplexCounter is dependent on VatCounter. So stopping/undep
anonymous wrote : 1. This in not EJB3 compilant, i must use annotation
org.jboss.ejb3.annotation.LocalBinding which is'n standard EJB annotation
Instead you can configure the jndi-name and local-jndi-name for the bean in a
jboss.xml file. In EJB3.0 the spec does not talk about a standard defaul
Thanx, this works fine.
But ... :)
1. This in not EJB3 compilant, i must use annotation
org.jboss.ejb3.annotation.LocalBinding which is'n standard EJB annotation
2. I' have another problem, when i'm redeploy first jar, (secon not), during
redeploy server stops/starts VatCounter but do not stop
Looks similar to
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=138796.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4202443#4202443
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4202443
___
For other people who are interested:
Thats the code in the groupHandler now:
| @IgnoreDependency
| @EJB() private CourseHandlerRemote courseHandler;
And thats it in the courseHandler:
@EJB() private GroupHandlerRemote groupHandler;
View the original post :
http://www.jboss.com/index.ht
Yeah! :-) Thats it. Thank you very much.
Best regards, NSchweig
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199391#4199391
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199391
__
anonymous wrote : CourseHandler tries to inject groupHandler and vice versa
You mean a circular dependency? Try adding @IgnoreDependency on one of the
injections. See this for detatils
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=117943
View the original post :
http://www.jboss.com
Hi,
the only thing I see in the server.log that belongs to that error is:
| ...
| 2009-01-03 10:27:14,656 ERROR
[org.jboss.system.server.profileservice.ProfileServiceBootstrap] (main) Failed
to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR
DETAILS):
|
| ***
Please post the entire exception stacktrace and even the console logs. Which
version of JBossAS and Java do you use? And are those EJBs part of the same
deployed application?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199298#4199298
Reply to the post :
18 matches
Mail list logo