[jboss-user] [EJB/JBoss] - Re: Invalidate cache for an Entity Bean?

2007-03-28 Thread sonu131
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 :

[jboss-user] [EJB/JBoss] - Re: EJB 3 deployment on JBoss 4.0.3

2007-03-27 Thread balteo
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

[jboss-user] [EJB/JBoss] - Re: Invalidate cache for an Entity Bean?

2007-03-27 Thread mikolg
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

[jboss-user] [EJB/JBoss] - Re: Problem with @Resource and JBOSS

2007-03-26 Thread HoleInOne
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 :

[jboss-user] [EJB/JBoss] - Re:

2007-03-23 Thread quietthinker
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

[jboss-user] [EJB/JBoss] - Re: Can't access session facade bean

2007-03-23 Thread EricChile
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

[jboss-user] [EJB/JBoss] - Re: Can't access session facade bean

2007-03-23 Thread EricChile
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 :

[jboss-user] [EJB/JBoss] - Re: ClassCastException in JDBCMySQLCreateCommand

2007-03-20 Thread imaeses
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

[jboss-user] [EJB/JBoss] - Re: Entity Bean data synchronize with DataBase with commit o

2007-03-17 Thread sonu131
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

[jboss-user] [EJB/JBoss] - Re: RMIIIOPViolationException in deploy time..

2007-03-16 Thread brunoduarte
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

[jboss-user] [EJB/JBoss] - Re: What does this mean? Not binding factory to JNDI, no JND

2007-03-15 Thread Rhodan76
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.

[jboss-user] [EJB/JBoss] - Re: ClassCastException in JDBCMySQLCreateCommand

2007-03-15 Thread imaeses
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

[jboss-user] [EJB/JBoss] - Re: What does this mean? Not binding factory to JNDI, no JND

2007-03-15 Thread tonylmai
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

[jboss-user] [EJB/JBoss] - Re: RMIIIOPViolationException in deploy time..

2007-03-15 Thread reverbel
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

[jboss-user] [EJB/JBoss] - Re: Opening a PDF file from JBOSS.

2007-03-14 Thread azhurakousky
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

[jboss-user] [EJB/JBoss] - Re: What does this mean? Not binding factory to JNDI, no JND

2007-03-13 Thread Rhodan76
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

[jboss-user] [EJB/JBoss] - Re: How to model an entity field of type Money.class?

2007-03-13 Thread tonylmai
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

[jboss-user] [EJB/JBoss] - Re: Problem looking up EJB session bean (Name not bound)

2007-03-12 Thread roist
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 :

[jboss-user] [EJB/JBoss] - Re: Problem looking up EJB session bean (Name not bound)

2007-03-12 Thread tonylmai
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

[jboss-user] [EJB/JBoss] - Re: What does this mean? Not binding factory to JNDI, no JND

2007-03-12 Thread tinico
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

[jboss-user] [EJB/JBoss] - Re: Problem looking up EJB session bean (Name not bound)

2007-03-12 Thread tinico
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 :

[jboss-user] [EJB/JBoss] - Re: Problem looking up EJB session bean (Name not bound)

2007-03-12 Thread tonylmai
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 :

[jboss-user] [EJB/JBoss] - Re: How to model an entity field of type Money.class?

2007-03-12 Thread anil_jmit
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

[jboss-user] [EJB/JBoss] - Re: Calling Jboss 3.2.3 EJB from 4.0.2

2007-03-11 Thread jwenting
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

[jboss-user] [EJB/JBoss] - Re: Jboss Mysql unknown primary key

2007-03-11 Thread kanth_seenu
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

[jboss-user] [EJB/JBoss] - Re: Calling Jboss 3.2.3 EJB from 4.0.2

2007-03-09 Thread [EMAIL PROTECTED]
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

[jboss-user] [EJB/JBoss] - Re:

2007-02-28 Thread michael.litherland
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 :

[jboss-user] [EJB/JBoss] - Re:

2007-02-27 Thread michael.litherland
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

[jboss-user] [EJB/JBoss] - Re:

2007-02-27 Thread gduan2000
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

[jboss-user] [EJB/JBoss] - Re: Executing a Bunch of code before EJB's Deployed

2007-02-25 Thread [EMAIL PROTECTED]
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 :

[jboss-user] [EJB/JBoss] - Re: Probleme java/Jboss ?

2007-02-19 Thread tinico
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-user] [EJB/JBoss] - Re: Accessing JBoss thread pool from inside my code

2007-02-18 Thread jaikiran
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 :

[jboss-user] [EJB/JBoss] - Re: Accessing JBoss thread pool from inside my code

2007-02-18 Thread [EMAIL PROTECTED]
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 :

[jboss-user] [EJB/JBoss] - Re: Probleme java/Jboss ?

2007-02-17 Thread jwenting
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

[jboss-user] [EJB/JBoss] - Re: Problm while calling EJB

2007-02-15 Thread jaikiran
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 :

[jboss-user] [EJB/JBoss] - Re: read-ahead and optimization

2007-02-14 Thread kanth_seenu
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 :

[jboss-user] [EJB/JBoss] - Re: Late Or Wrong Detected Deadlocks ?

2007-02-13 Thread mkehrer
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

[jboss-user] [EJB/JBoss] - Re: Need

2007-02-09 Thread [EMAIL PROTECTED]
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

[jboss-user] [EJB/JBoss] - Re: Need help with timeouts

2007-02-08 Thread eharoldw
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 :

[jboss-user] [EJB/JBoss] - Re: Need

2007-02-08 Thread eharoldw
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

[jboss-user] [EJB/JBoss] - Re: Need

2007-02-07 Thread [EMAIL PROTECTED]
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

[jboss-user] [EJB/JBoss] - Re: Need help with timeouts

2007-02-07 Thread jaikiran
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

[jboss-user] [EJB/JBoss] - Re: Need

2007-02-07 Thread eharoldw
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

[jboss-user] [EJB/JBoss] - Re: Need help with timeouts

2007-02-07 Thread eharoldw
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 :

[jboss-user] [EJB/JBoss] - Re: Need help with timeouts

2007-02-07 Thread jaikiran
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

[jboss-user] [EJB/JBoss] - Re: Need

2007-02-07 Thread [EMAIL PROTECTED]
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

[jboss-user] [EJB/JBoss] - Re: Need

2007-02-07 Thread [EMAIL PROTECTED]
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 :

[jboss-user] [EJB/JBoss] - Re: Stateless session bean cyclic reference

2007-02-06 Thread vstoyanov
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

[jboss-user] [EJB/JBoss] - Re: Remote not bound

2007-02-06 Thread kstrunk
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

[jboss-user] [EJB/JBoss] - Re: Remote not bound

2007-02-05 Thread Strunker
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 :

[jboss-user] [EJB/JBoss] - Re: Remote not bound

2007-02-05 Thread jaikiran
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); |

[jboss-user] [EJB/JBoss] - Re: Remote not bound

2007-02-05 Thread ALRubinger
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

[jboss-user] [EJB/JBoss] - Re: Remote not bound

2007-02-05 Thread kstrunk
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

[jboss-user] [EJB/JBoss] - Re: Stateless session bean cyclic reference

2007-02-02 Thread jaikiran
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

[jboss-user] [EJB/JBoss] - Re: Listening Remote Topic from MDB

2007-01-30 Thread jp_ammu
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 :

[jboss-user] [EJB/JBoss] - Re: JBoss 4.0 sp1- java.rmi.NoSuchObjectException: Could not

2007-01-24 Thread Demidenko.Andrew
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

[jboss-user] [EJB/JBoss] - Re: EJB remote and local are the same

2007-01-24 Thread ji
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

[jboss-user] [EJB/JBoss] - Re: Getting DB connection cridentials?

2007-01-23 Thread iudoka
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 :

[jboss-user] [EJB/JBoss] - Re: EJB lookup after deploying to Jboss

2007-01-21 Thread rmcdonough
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

[jboss-user] [EJB/JBoss] - Re: Jboss 4.0.4RC1 and Multiple MySql Databases !

2007-01-18 Thread program4life
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

[jboss-user] [EJB/JBoss] - Re: EJB remote and local are the same

2007-01-18 Thread ji
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

[jboss-user] [EJB/JBoss] - Re: How to connect to remote server correctly

2007-01-18 Thread ji
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

[jboss-user] [EJB/JBoss] - Re: Stack Overflow using EJB3

2007-01-18 Thread tarantula
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

[jboss-user] [EJB/JBoss] - Re: Getting DB connection cridentials?

2007-01-18 Thread yaxh
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 :

[jboss-user] [EJB/JBoss] - Re: java.lang.ClassCastException: org.jnp.interfaces.NamingC

2007-01-16 Thread Antoine_h
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 :

[jboss-user] [EJB/JBoss] - Re: Scheduler vs. EJB Timer Service

2007-01-16 Thread torf
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 |

[jboss-user] [EJB/JBoss] - Re: Scheduler vs. EJB Timer Service

2007-01-15 Thread pgambino
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 :

[jboss-user] [EJB/JBoss] - Re: org.jboss.tm.JBossRollbackException

2007-01-14 Thread rabbiaqaswar
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 :

[jboss-user] [EJB/JBoss] - Re: Scheduler vs. EJB Timer Service

2007-01-12 Thread torf
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; | | //

[jboss-user] [EJB/JBoss] - Re: Jboss 4.0.4RC1 and Multiple MySql Databases !

2007-01-12 Thread DivxYoda
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

[jboss-user] [EJB/JBoss] - Re: Scheduler vs. EJB Timer Service

2007-01-10 Thread krimsonnitehawk
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

[jboss-user] [EJB/JBoss] - Re: EJB SLSB question

2007-01-07 Thread lafr
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

[jboss-user] [EJB/JBoss] - Re: Jboss 4.0.4 and 4.0.5 is going to shutdown

2007-01-07 Thread thejavafreak
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 :

[jboss-user] [EJB/JBoss] - Re: J2EE 5.0 support in Jboss

2007-01-05 Thread straiver
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

[jboss-user] [EJB/JBoss] - Re: retrieving the entity Name / Class in an interceptor

2007-01-03 Thread drabbit
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

[jboss-user] [EJB/JBoss] - Re: Client proxy problem

2007-01-03 Thread tonioc
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

[jboss-user] [EJB/JBoss] - Re: Unit Testing Practices

2007-01-03 Thread jantzen
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

[jboss-user] [EJB/JBoss] - Re: J2EE 5.0 support in Jboss

2007-01-02 Thread [EMAIL PROTECTED]
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 :

[jboss-user] [EJB/JBoss] - Re: Unit Testing Practices

2007-01-02 Thread jantzen
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

[jboss-user] [EJB/JBoss] - Re: java.lang.ClassCastException: org.jnp.interfaces.NamingC

2007-01-01 Thread sony3002
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

[jboss-user] [EJB/JBoss] - Re: java.lang.ClassCastException: org.jnp.interfaces.NamingC

2006-12-29 Thread Antoine_h
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

[jboss-user] [EJB/JBoss] - Re: java.lang.NoClassDefFoundError: java.net.SocketAddress

2006-12-28 Thread Ramanuj0910
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

[jboss-user] [EJB/JBoss] - Re: ClassCastException problem when doing hot redeploy

2006-12-28 Thread msqrt84
I have the same problem, but do not go over RMI: | InitialContext jndi; | PortalVisitorStatisticsHome portalVisitorStatisticsHome; | PortalVisitorStatistics portalVisitorStatistics; | |

[jboss-user] [EJB/JBoss] - Re: CMP EJB Issue when connect to SQL Server

2006-12-28 Thread lafr
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 :

[jboss-user] [EJB/JBoss] - Re: Embeddable roadmap

2006-12-27 Thread MichaelCouck
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

[jboss-user] [EJB/JBoss] - Re: Problem with Mysql for CMP

2006-12-25 Thread Kentzhou
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 :

[jboss-user] [EJB/JBoss] - Re: Unit Testing Practices

2006-12-25 Thread jantzen
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.

[jboss-user] [EJB/JBoss] - Re: Embeddable roadmap

2006-12-24 Thread [EMAIL PROTECTED]
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

[jboss-user] [EJB/JBoss] - Re: Scheduler vs. EJB Timer Service

2006-12-22 Thread t_kishore
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 :

[jboss-user] [EJB/JBoss] - Re: Scheduler vs. EJB Timer Service

2006-12-22 Thread t_kishore
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 |

[jboss-user] [EJB/JBoss] - Re: Scheduler vs. EJB Timer Service

2006-12-22 Thread t_kishore
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

[jboss-user] [EJB/JBoss] - Re: Deployment failing-How to get debug information ?

2006-12-20 Thread chrismm
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

[jboss-user] [EJB/JBoss] - Re: What's the default transaction attribute (trans-attribut

2006-12-20 Thread wikijuarezjunior
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

[jboss-user] [EJB/JBoss] - Re: What's the default transaction attribute (trans-attribut

2006-12-20 Thread wikijuarezjunior
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

[jboss-user] [EJB/JBoss] - Re: Unit Testing Practices

2006-12-20 Thread gommo
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

[jboss-user] [EJB/JBoss] - Re: Deployment failing-How to get debug information ?

2006-12-19 Thread jaikiran
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

[jboss-user] [EJB/JBoss] - Re: Deployment failing-How to get debug information ?

2006-12-19 Thread chrismm
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]

[jboss-user] [EJB/JBoss] - Re: Deployment failing-How to get debug information ?

2006-12-19 Thread jaikiran
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 :

[jboss-user] [EJB/JBoss] - Re: Executing Outside Transaction

2006-12-19 Thread jaikiran
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 :

[jboss-user] [EJB/JBoss] - Re: Executing Outside Transaction

2006-12-19 Thread murtuza52
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

<    5   6   7   8   9   10   11   12   13   >