Please help me.It's urgent
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4178322#4178322
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178322
___
jboss-user mailing list
muddu_shafi wrote : Please help me, I am a newbieâÃÂæ..
|
| I have a class which is looking for JNDI in Jboss, I have deployed the jar
file for this project in Jboss deploy directory.
| Can any one explain me, where should I place my datasource xml file, i.e
should I place it in
eharoldw wrote : I was hoping that there was some configuration I could set
so that if an invocation took more than a certain amount of time it would
automatically throw an exception.
|
I'm not aware of it -- it doesn't mean some developer hasn't added it at some
point but if they did, they
Thanks for confirming my sanity. At least I understand what is happening with
that approach and know it will not work.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4013340#4013340
Reply to the post :
I was hoping that there was some configuration I could set so that if an
invocation took more than a certain amount of time it would automatically throw
an exception. It sounds as if you are saying there is not such configuration
and offer a couple of alternatives.
One alternative is to create
This is probably best achieved by customizing the EJB container with your own
interceptor.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4012307#4012307
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012307
How about this http://wiki.jboss.org/wiki/Wiki.jsp?page=TransactionTimeout
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4012527#4012527
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012527
In order to do this with an interceptor, would I not have to make a separate
thread? Otherwise, how could my interceptor gain control to throw an exception
if it has chained on to code that does not return in the allotted time?
Creating a new thread is worrisome since interceptor state is held
Thanks. I had looked at this one, but when I use this suggestion, I see a
warning logged in my log file about the transaction timing out, but the ping
still takes 10 seconds to return. I'm not sure what is being timed out, but it
does not seem to be the ping method.
View the original post :
I get what you are saying. You are expecting a exception to be thrown when the
transaction times out. Thats not going to happen. JBoss will just mark the
transaction for rollback and log a WARN message (which you are already seeing)
when a transaction times out. However after the transaction
eharoldw wrote : In order to do this with an interceptor, would I not have to
make a separate thread?
yes.
most state is held in the invocation object with couple of notable exceptions
(security, tx on the thread), so basically you could disconnect your incoming
thread from the actual worker
And to add to the previous -- if you can already go with EJB3 then the JBoss
EJB3 async invocations with future return values may be the least effort
solution to your problem
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4012574#4012574
Reply to the post :
Sorry the exception above is not the right one
java.lang.NoSuchMethodError:
ph.icomm.ibccrm.entity.TblMessageFacade.getHeaderLocal
|
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3988071#3988071
Reply to the post :
13 matches
Mail list logo