I have the following scenario:
Users get into a web page, a HTTP session is created and depending on their
properties they get a collecition of Entity Beans, details are displayed in the
browser and they can do some updates to them. These updates are executed via a
Servlet, that uses a
Configure your -ds.xml file and deploy, that should be enough to bind the
datasource.
Can you post the -ds.xml file you're using and any output from the console?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3981732#3981732
Reply to the post :
Thanks for answering.
It seems the deployer tries to install it, but still doesn't work. Now my
interface is
public interface NOCManagerServiceMBean extends ServiceMBean
and the class is
public class NOCManagerService extends ServiceMBeanSupport implements
NOCManagerServiceMBean
It tries
In case it matters, i've tried taking the static off the property but still
doesn't work.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3980980#3980980
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3980980
I've been using an MBean with the @management and @service annotations but as
I'm setting up a few services for that application in jboss-service.xml file
I'm trying to take off annotations and use the xml descriptors to install it.
I have this interface
public interface NOCManagementService
I'm trying to get a simple authentication on my webapp but i'm getting a weird
problem.
Everything works fine, I get into any page the server forwards to the login
page, password is validated correctly against records in my db. At this point
by other examples i've seen, the server would
I had the same exception in a different context but I think it might help.
I was using a Stateful bean in a servlet. It was initialized in the init()
method and the reference kept in a static variable. I was running my app
normally, but i let my session expire and when i tried accessing the
I can't get the Scheduler examples working and I can't find the JAR where this
class is! help anybody?
org.jboss.deployment.DeploymentException: No ClassLoaders found for:
org.jboss.util.Scheduler; - nested throwable:
(java.lang.ClassNotFoundException: No ClassLoaders found for:
I have a couple of NamedQueries on an Entity EJB the retrieve a set of objects.
I my Stateless EJB saves updates and saves the entity (merge, flush, data IS in
updated in the database), and later the named query is executed again, the same
entity is retrieved WITHOUT the changes. If i execute
Christ sorry about that paragraph.. it can barely be understood.. just to make
it readable, there it goes again:
I have a couple of NamedQueries on an Entity EJB the retrieve a set of objects.
My Stateless EJB updates and saves the entity (merge, flush, data IS updated in
the database), and
Any ideas please?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3970685#3970685
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3970685
___
jboss-user mailing list
wolfc wrote : How did you start the thread?
|
| I suspect that you're running a custom thread which has no transaction
context. You could try using the EJB Timer Service, it starts business methods
within the correct context.
In the start() method of my service:
| public void
Hi, I'm trying to get a service running on my JBoss server that would awake
every now and then, get a list of entity beans and throw a message to a JMS
queue for each of those items, and sleep for a while.
If I strip the bit loading Entity beans off, everything works, I send a test
message to
Thanks for your replies.
Petemuir, I know there's some support for rules on Seam but I need to stay away
from Seam by now.. shame.
dgallego, thanks, I'll copy that. The .drl file will be then packaged in my
.jar file? (something like..)
mypackage.jar
|
|_mypackage.bean
| |_ ejb
Sorry if this is not the appropiate forum but I can't find anything related to
JBoss Rules.
The examples from the livetrails work perfectly on standalone applications, now
I'm trying to get an example running on Jboss 4.0.4GA so I created a simple drl
file and an EJB that puts some objects in
I have a simple EJB that creates a timer and handles the corresponding event
when fired.
public void startTimer() {
| System.out.println(Fired);
| ctx.getTimerService().createTimer(new Date(new Date().getTime()
+ 10*60*1000), It's me);
| }
|
|
Holy Joe wrote : Try replacing the PersistenceContext annotation with
|
|
| | @PersistenceContext(unitName=BeanExamples)
| |
|
| We had the same error message, and that made it go away, although I don't
know why.
|
Thanks, that was the problem actually. As far as I've
17 matches
Mail list logo