No, I did not find any solution so far. was looking at some of others
queries/answers here but did not get any idea wether it is possible or not.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4032358#4032358
Reply to the post :
I have the same problem. Can anyone please provide a reply.
J.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4032130#4032130
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4032130
Hello sonu131
Did you find a solution?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4032292#4032292
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4032292
___
jboss-user mailing
instead of mappedName try just name for instance:
@Resource(name=java:/QueueConnectionFactory)
private javax.jms.QueueConnectionFactory connectionFactory;
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4031617#4031617
Reply to the post :
Same here. Anyone know aprox. when will the SP1 release be available?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4031114#4031114
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4031114
Also I did make sure that the jar file that contains my SessionEJBBean,
SessionEJB, SessionEJBLocal is not in the WEB-INF/lib directory of my
webapp.war (it was at one time) so as not to have problems with the
classloader. It is only in the ear file.
But I am still having the same problem.
I
Problem solved. Even though it wasn't in the jar... it was in
WEB-INF/classes
Took it out of there and problem solved.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4031181#4031181
Reply to the post :
Clarification: it doesn't seem to matter if the .jar is included in the ear or
not. It seems that we get the exception when the classes are loaded in the
context of an ear. In that ear we use the jboss-app to specify a particular
ClassLoader - the one that loaded in JBoss Messaging.
View the
Please if somebody can advice me.
I have an entity bean which is marked as NonShared with commit option A. a new
backend application is coming up which can update the data via direct jdbc
calls. this happens rarely but when that will happen my entity bean if already
cached will get out of sync
You're right!
Thanks,
Bruno
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4028746#4028746
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4028746
___
jboss-user mailing list
In EJB3 you need only in rare circumstances use of a SessionFactory. Mostly you
would inject a EntityManager(-Factory) directly via annotations in your Beans.
So in most of your applications you don't need a SessionFactory and there there
would be no need to register the name of the SF in JNDI.
I have some more information about this problem.
The problem only occurs when an xa-datasource backs an entity bean the classes
of which are deployed in a .jar but the deployment descriptor of which is
deployed in an .ear.
Note: the reason for this strange situation is that we are using JBoss
That made sense. Thanks Rhodan76
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4028438#4028438
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4028438
___
jboss-user mailing list
From the stack trace it appears that some method in the interface of your EJB
has been declared with a clause like throws NullPointerException, which is
not needed (as NPEs are unchecked exceptions). Remove that throws clause and
your EJB should deploy correctly.
Regards,
Francisco
View the
When you test your EJB running JBoss instance on local windows machine it works
simply becouse Client and Server happened to be on the same machine. Whe you
run it on Linux or even another Windows machine the following code will never
display a PDF file to the client.
Realize that your code
In case you are using EJB3/Hibernate with jboss, this means that you have not
explicit specified to bind the EntityManagerFactory (aka SessionFactory) to
JNDI. So you cannot look up for the SessionFactory in JNDI.
To register the SessionFactory in JNDI you have to specify it in
Thanks for the suggestion.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4027585#4027585
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4027585
___
jboss-user mailing list
not sure about ejb3, but shouldn't this be more like
java:comp/env/Authenticator ?
in ejb2 this would be the proper prefix...
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4027074#4027074
Reply to the post :
I think the problem I am having is relating to the way I packaged my ear file.
When I unpacked the ear and deployed only the jar file, I had no problem
looking up the remote interfaces.
I would greatly appreciate if someone can help clarifying what I need in my ear
file. O'Reilly's Enterprise
You've probably forgot to specifie the jndi-name in your deployments files for
one EJB for example.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4027261#4027261
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4027261
Have you give JNDI name to your EJB ?
During the déployment, you should see something like this :
[EjbModule] Deploying XXX
| [ProxyFactory] Bound EJB Home 'XXX' to jndi 'X_X'
| [EJBDeployer] Deployed:
file:/C:/jboss-portal-2.4.1/server/default/deploy/XXX.jar
NO ?
View the original post :
No.
I thought with EJB3, the JNDI name should be defaulted the unqualified
classname.
Do I need an explicit JNDI name if I were to deploy with EAR file? Deployment
with JAR did not seem to require the JNDI names at all.
View the original post :
Hi
you need to create a separate class Money and map the filelds to database
columns using annotations
Class Money{
int rupees ;
int paise;
@column(name=Rupees
public int getRupees(){
}
@column(name=Paise)
public int getPaise(){
}
Hope this explanation will work out.
Let me know if u need
that's almost always a problem when you try to call EJBs in application servers
running a different version of the same software.
You may be able to deploy the clientside archives from JBoss 3 into your ear
file that you deploy on JBoss 4, but mind that this could lead to problems
trying to
may help
http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topicf=63t=000532
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4027059#4027059
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4027059
Hello:
Me too facing the same problem..
I am able to get the Mbean information from client on my machine,whereas the
same client is not working in the Linux machine.I have checked the Java version
in all the machines,I have noticed it as Java 1.5
We are getting the following error when
Yeah, I tried the suggested fix and found it didn't help as well. Having to
restart every time I redeploy when testing is a pain.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4023951#4023951
Reply to the post :
Hi,
I don't know why but I too have recently started getting this problem. The bug
report states this is resolved in 4.0.5sp1, but you can't get that version that
I can see. I'm certainly not compiling my own version out of SVN to put into
production.
Is there a public 4.0.5sp1 coming out
After installed the patch suggested by the bug page:
http://jira.jboss.com/jira/browse/JBAS-3839, I still have exactly the same
issue I have had: Wrong target, when re-deploying my app.
Help!...
m-krausse wrote : Hi
|
| I created a bug report: http://jira.jboss.com/jira/browse/JBAS-3839
Check the JBoss AS documentation on the kernel and service architecture,
deploying MBeans and how to order deployments.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4021949#4021949
Reply to the post :
Ok,
Thank you very much !
This EJB work on WebLogic, but, I want use JBoss now !! I'll test with 2
separate String fields !
So, thank you jwenting.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4018716#4018716
Reply to the post :
JBoss exposes the ThreadPool as a MBean. Is this what you are looking for:
http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigBasicThreadPool
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4018572#4018572
Reply to the post :
Thanks for your answer
But do i access this thread pool from my code inside the AS ?
Can you send me some code sample
Thanks
Ofer
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4018704#4018704
Reply to the post :
Don't put that there. An array isn't a valid serializable object (and putting
fields in an interface is an established Bad Thing (tm) according to Josh
Bloch, though sometimes handy for cases like this).
Best change that array to 2 separate String fields (I assume they're allowed
values for
I guess you have secured the bean and are trying to access it even before the
user has logged in. Removing the security constraints on this bean (or atleast
the method of the bean which you are calling) should get it working.
View the original post :
On further reading I understood that the finder method and the getter must be a
part of the same transaction. Better approach would be to use the
@ejb.value-object, and use the getData() method from the localobject, and
ignore read-aheads
View the original post :
Also important to know:
The 'ExampleLocal' Entity is forced to be locked immediately.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4015896#4015896
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4015896
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 :
Yes, you are right. There is a call to the create() method of the home
interface. I am aware that it is not a good practice but it would require a lot
of refactoring to move it out of the ejbCreate() method, because there are many
SLSBs.
So, I am asking if someone has an idea how can we just
It is getting strange. When I run my client code (JUnitTest) in debug mode with
a breakpoint set, everything works fine now. But in normal mode I still get the
exception:
javax.naming.NameNotFoundException: remote not bound
I really don't understand what's going on. What's different in
Nobody has an idea?
If I posted in the wrong forum please move this topic to the right one.
Best regards,
Strunker
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4011231#4011231
Reply to the post :
Try this:
Context context = new InitialContext();
| context.lookup(TestEAR/UserManagerBean/remote);
instead of :
anonymous wrote :
| Properties props = new Properties();
| props.put(Context.INITIAL_CONTEXT_FACTORY,
org.jnp.interfaces.NamingContextFactory);
|
Also, you can't declare @Local and @Remote on the same interface...
S,
ALR
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4011442#4011442
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4011442
Thank you for your answers, but I still have the same problems.
@jaikiran:
When I do like you've posted, I get the following exception:
javax.naming.NoInitialContextException: Need to specify class name in
environment or system property, or as an applet parameter, or in an application
resource
What is the code that you have in the ejbCreate() method. Are you just looking
up the bean's home or are you even calling create() method on the home
interface? If you are just doing a lookup, then i dont think you would run into
this issue. So i guess, you might be calling the create() method
Hello Guys,
Any sujjestions? I haven't seen any reply. Believe people had already solved
this issue. Please reply me soon. Iam totally struck.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4008534#4008534
Reply to the post :
http://jira.jboss.com/jira/browse/JBAS-1374
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4005734#4005734
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4005734
___
jboss-user
any suggestions ? :)
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4005783#4005783
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4005783
___
jboss-user mailing list
Check this link out, should help however I ran into issues with the password
field not being readable so it pretty much halted my whole attempt.
http://jboss.com/index.html?module=bbop=viewtopict=98928
View the original post :
It would be a bit more helpful if provided the stack trace of the error you are
getting. But part of the problem is that you're assuming you'll be getting back
you bean class, which you will not. With your HelloWorldBean, you should have a
corresponding HelloWorld interface marked with an
Dear DivxYoda,
If you've known how to configure Jboss with multiple datasources, could you
please shrare it to me? Actually, I've tried to find a solution for this since
I started to learn EJB (2 years!). So, please, my kind friend! I beg you!!!
I'm looking forward to hear from you.
View the
i forgot to mention tha this situation occurs only when war is on server on
which ear is also deployed
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4003310#4003310
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003310
anyone solved this issue ?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4003316#4003316
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003316
___
jboss-user mailing list
Hey guys,
Looks like this is still an issue for EJB3 / JBoss 4.0.5 GA.
Not sure why, the EJB3 spec clearly says (emphasis added):
4.2.1 Instance Passivation and Conversational State
|
| The Bean Provider is required to ensure that the PrePassivate method leaves
the instance fields and the
I have same requirement so I thought you may have figure it out. can you help
me in this? It would be great if you do.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4003384#4003384
Reply to the post :
I have solved it by putting every thing in the same ear, which is ok for now.
Then, it works fine, no error on class cast.
I 'll look at the library you recommend to add to the client. It seems to be a
good way to go further.
Thank you.
Best regards,
View the original post :
MyApp-all.ear contains:
| META-INF/
| META-INF/MANIFEST.MF
| META-INF/application.xml
| MyApp-all.jar
| MyApp-all.wsr
|
MyApp-all.ear:MyApp-all.jar contains:
| META-INF/
| META-INF/MANIFEST.MF
| META-INF/ejb-jar.xml
| META-INF/jboss.xml
| META-INF/jbosscmp-jdbc.xml
|
Can someone post the example EAR structure that you used? I'm having a problem
getting JBoss to reconignize the Service file.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4001847#4001847
Reply to the post :
Hello there
I am facing the same problem as you are with JBoss. Did you find a solution for
the problem?
Thanks and Regards
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4001476#4001476
Reply to the post :
Hi,
this is our Schedulable implementation:
| package de.mobilcom.messenger.scheduler;
|
| public class TimedObjectSchedulableRemote implements Schedulable {
| private String sRemoteHomeName;
| private our.company.framework.timer.TimedObjectRemote rTimedObject;
|
| //
Solution found. Problem fixed.
Thanks.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4000895#4000895
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4000895
___
jboss-user mailing
Hi t_kishore,
I have tried what you suggest and still get the error :
Incomplete Deployment listing:
|
| --- MBeans waiting for other MBeans ---
| ObjectName: jboss:service=Scheduler
| State: FAILED
| Reason: org.jboss.deployment.DeploymentException: Exception setting
attribute
Yes.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3998685#3998685
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3998685
___
jboss-user mailing list
jboss-user@lists.jboss.org
I don't quite understand your question, are saying why did JBoss shutdown
without any trigger from user? And you want to know how to fix it?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3998816#3998816
Reply to the post :
thanks
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3998288#3998288
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3998288
___
jboss-user mailing list
jboss-user@lists.jboss.org
edit: this is for jboss 4.0.x
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3997559#3997559
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3997559
___
jboss-user mailing list
I forgot to tell you an important issue:
If instead of putting my users-client.jar in every war (application) I put it
in tomcat's share class-loader
it works fine.
Sorry for the inconvinience
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3997684#3997684
Okay, the documentation is wrong.
I finally got the embedded server to load my Entity beans, MDBs, and Stateless
Session beans, but Service beans are a no go. Anybody know of a workaround?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3997774#3997774
Reply
Java EE 5 will be fully supported with the GA (final release) of JBoss 5.
The progress is tracked in JIRA:
http://jira.jboss.com/jira/browse/JBAS
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3997213#3997213
Reply to the post :
gommo wrote :
| When my test targets are run the source is compiled in build\ and also most
classes are also copied to build-tests (The reason I have done this is the
embedded server didn't support all things like ServiceBeans etc..) so I dont
copy them over
|
Are you sure Service beans
yes solved
when u call a bean in jboss u have to call by adding remote or local to it
example
UserLoginRemote obj =
(UserLoginRemote)Remote.getRemoteObject(UserLoginBean/remote);
or
UserLoginRemote obj =
(UserLoginRemote)Remote.getRemoteObject(UserLoginBean/local);
and also in u r client
Hello,
I have the same kind of problem.
Did you find a solution ?
Thank you
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3996896#3996896
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3996896
Hi,
Does anyone knows about this error:
java.lang.NoClassDefFoundError: java/net/SocketAddress at
org.jnp.interfaces.NamingContextFactory.getInitialContext(NamingContextFactory.java:41)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:665) at
I have the same problem, but do not go over RMI:
| InitialContext jndi;
| PortalVisitorStatisticsHome
portalVisitorStatisticsHome;
| PortalVisitorStatistics
portalVisitorStatistics;
|
|
Which table is jboss trying to create here?
Does it contain a file named user?
user may be a reserved word fos MS SQLServer.
You should try something like username or user_id.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3996699#3996699
Reply to the post :
Hi Dimitri,
Nope not possible according to the docs here -
http://docs.jboss.org/ejb3/embedded/embedded.html - I quote:
'Distributed remote communication is not supported yet.'
Anyway I tried to access remotely in a variety of ways without any luck.
Thanks anyway
See ya
Mike
View the
Thanks for your reminder. I got the reason. It is because of port is set not
correct. Thanks, Merry Christmas.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3996196#3996196
Reply to the post :
Thanks for the help Gommo. I've been trying to get unit tests working inside
of my primary development directory tree, which has created problems with
finding config files, building properly etc. I'll try a separate test
hierarchy like you've got and see if I make it any farther this time.
Try the user EJB3 forums. What you ask I believe is already possible.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3996097#3996097
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3996097
arggg.. one more time.
| *** jboss-app.xml
| jboss-app
| module
| servicekns-scheduler-service.xml/service
| /module
| /jboss-app
|
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3995864#3995864
Reply to the post :
service.xml got truncated in the previous post.
| server
| mbean code=org.jboss.varia.scheduler.Scheduler
name=:service=Scheduler
| attribute name=StartAtStartuptrue/attribute
| attribute
name=SchedulableClasscom.mybiz.scheduler.NotificationSchedule/attribute
|
Add this entry to jboss-app.xml for your EAR
jboss-app
my-scheduler-service.xml
/jboss-app
Keep my-scheduler-service.xml directy under the EAR with entries like this:
?xml version=1.0 encoding=UTF-8?
true
com.mybizz.scheduler.NotificationSchedule
0 !-- start now
OK, here goes :-
2006-12-20 11:01:46,269 DEBUG [javax.management.timer.Timer] start:
jboss.jmx:name=SnmpAgent,service=timer,type=heartbeat at Wed Dec 20 11:01:46
GMT 2006
2006-12-20 11:01:50,660 INFO [org.apache.catalina.startup.Embedded] Catalina
naming disabled
2006-12-20 11:01:50,738 INFO
Hello there,
Just as a future reference, I'd like to inform that I performed tests here and
as far as I concluded the default is still REQUIRED.
Note that there's a gap on the specs regarding that and it may be different for
other application servers.
Best Regards,
Juarez
View the
Hello there,
Just as a future reference, I'd like to inform that I performed tests here and
as far as I concluded the default is still REQUIRED.
Note that there's a gap on the specs regarding that and it may be different for
other application servers.
Best Regards,
Juarez
View the
I'm running TestNG using eclipse BUT from an ant file. Not using the eclipse
plugin. I wanted it to work outside of eclipse as I also use Netbeans. (Thats a
side issue but I wish Netbeans and Eclipse joined or something, eclipse is
fast, I love its autobuilding etc.., but its project settings
anonymous wrote : 12:06:05,907 ERROR [MainDeployer] Could not create
deployment:
file:/C:/tools/jboss-4.0.4.GA/server/MerlinServer/tmp/deploy/tmp64772merlin.ear-contents/tradableproductEJB.jar
| org.jboss.deployment.DeploymentException: Verification of Enterprise Beans
failed, see above for
This is definitely the first error message, the lines above the error message
are :-
...
2006-12-19 12:33:06,594 DEBUG [org.jboss.deployment.MainDeployer] Done with
create step of deploying synchronousinstructionprocessorEJB.jar
2006-12-19 12:33:06,594 DEBUG [org.jboss.deployment.MainDeployer]
Can you post the entire contents of the server.log file? I suspect there's some
problem with the tradableproductEJB.jar (the EJBs contained in this jar).
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3994970#3994970
Reply to the post :
Try this:
SessionBean2{
| @TransactionAttribute(NotSupported)
| count(){
| read counter from database and increase counter
| }
More details at: http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/Transaction3.html
View the original post :
I tried your approach, but it does not seems to working in concurrent access to
methodA(). Let me explain, I ran test with two threads running almost parallel.
Each thread making 100 calls to methodA(). At the end of the test the count
should have increased by 200 but its not the case. Its
901 - 1000 of 1223 matches
Mail list logo