[jboss-user] [EJB/JBoss] - Re: Can someone look at this application? help understanding

2008-10-01 Thread rickcr
Thanks again for trying to help. (I have the feeling it's going to be something really stupid that I'm not doing correctly in my maven build. I've looked over the exploded ear though and it seems ok?) Anyway, the EJB seems to deploy ok. I can access it fine grabbing it by the jndi name from

[jboss-user] [EJB/JBoss] - Re: Can someone look at this application? help understanding

2008-10-01 Thread jaikiran
The application, the logs and the jndi-tree all look good to me. No obvious issues. I don't see a reason why the bean should not be injected. In your web.xml, you have marked the servlet as load-on-startup: load-on-startup0/load-on-startup Could you try removing this load-on-startup and see

[jboss-user] [EJB/JBoss] - Re: java.net.SocketTimeoutException: Read timed out

2008-09-30 Thread eminil
We get the same error, however it appears AFTER the application has been running for awhile. First it works alright. The problem occurs in Tomcat when trying to lookup an EJB running in JBoss. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4179546#4179546

[jboss-user] [EJB/JBoss] - Re: JBOSS 5 (rev 74649) having EJB rmote injection issues

2008-09-30 Thread rickcr
Sorry, I apologize. The @EJB annotation is most definitely working. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4179585#4179585 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4179585

[jboss-user] [EJB/JBoss] - Re: JBOSS 5 (rev 74649) having EJB rmote injection issues

2008-09-30 Thread rickcr
crap. I give up maybe I spoke to soon again. If anyone is out there please confirm that this @EJB injection should work in a servlet (using RC2) (Does JBoss cache things somewhere? I'm deleting my ear each time I do a deploy to make sure I get valid changes, but maybe something else is going

[jboss-user] [EJB/JBoss] - Re: JBOSS 5 (rev 74649) having EJB rmote injection issues

2008-09-29 Thread rickcr
I'm curious on the status of this is well. Just using @EJB in a servlet does not seem to work. The bug report on this hasn't been updated that I can tell either. Thanks for any info. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4179472#4179472 Reply to the

[jboss-user] [EJB/JBoss] - Re: How To Modify Global JNDI Name

2008-09-25 Thread jaikiran
You can use the JBoss specific @RemoteBinding and @LocalBinding annotations to bind the EJB to the jndi name of your choice. | @Stateless | @Local(com.mycomp.MyLocal.class) | @Remote(com.mycomp.MyRemote.class) | @LocalBinding(jndiBinding=MyLocalJNDIName) |

[jboss-user] [EJB/JBoss] - Re: How To Modify Global JNDI Name

2008-09-25 Thread Crucifix
This is exactly what I wanted. Thanks so much for your help! I see I no longer need to specify the 'name' in the @Stateless attribute either. This is my Global JNDI Namespace before and after the change: Before: | @Stateless(name=TestEJB) | @Remote(IPing.class) | | +-

[jboss-user] [EJB/JBoss] - Re: Is any plugin needed

2008-09-24 Thread javauser07
Is this forum online, because I am not getting replies. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178528#4178528 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178528 ___

[jboss-user] [EJB/JBoss] - Re: How To Modify Global JNDI Name

2008-09-24 Thread Crucifix
Correction, I cannot find a way to change the ear-name part without renaming my ear, not ejb-name. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178654#4178654 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178654

[jboss-user] [EJB/JBoss] - Re: Need help in naming the datasource files?

2008-09-23 Thread muddu_shafi
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

[jboss-user] [EJB/JBoss] - Re: Need help in naming the datasource files?

2008-09-23 Thread jaikiran
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

[jboss-user] [EJB/JBoss] - Re: Stateless Session Bean pool MaximumSize with strictMaxim

2008-09-23 Thread shreyasshinde
For EJB 3.0 you can edit the ejb3-interceptors-aop.xml file under /jboss_home/server/all/deploy directory. Edit the element for Stateless Bean with something like this @org.jboss.annotation.ejb.PoolClass (value=org.jboss.ejb3.StrictMaxPool.class, maxSize=1, timeout=1) I

[jboss-user] [EJB/JBoss] - Re: Too Many Open Files Exception (Socket accept failed)

2008-09-21 Thread yanivc24
It seems that we might have found a solution. We have disabled the AJP 1.3 connector. to do so we commented out the following lines from the server.xml files which resides at server\default\deploy\jboss-web.deployer remove or comment the following lines !-- Define an AJP 1.3 Connector on port

[jboss-user] [EJB/JBoss] - Re: Jboss hangs after running for a while

2008-09-18 Thread sciascia
hello, I had the same problem, for a long ejb method the transaction timed out after 5 minute. I fixed it changing the transaction timeout in the jboss-service.xml file !-- JBoss Transactions JTA -- |mbean code=com.arjuna.ats.jbossatx.jta.TransactionManagerService |

[jboss-user] [EJB/JBoss] - Re: EJB Timeout firing too soon on bootup; LoginContext not

2008-09-18 Thread aconn7
Ok. Really need help here. I am able to confirm that by placing my classes and properties in the conf/lib folders that persisted timers will work. However, I don't think that is a practical solution. What if my timers depended on more of my application being initialized? There must be

[jboss-user] [EJB/JBoss] - Re: Jboss hangs after running for a while

2008-09-17 Thread jaikiran
imranpariyani wrote : My application runs fine for a while but after that it just hangs | Follow the steps mentioned in http://wiki.jboss.org/wiki/StackTrace or http://wiki.jboss.org/wiki/GenerateAThreadDumpWithTheJMXConsole to get the thread dump. That will help you figure out what the

[jboss-user] [EJB/JBoss] - Re: EJB Timeout firing too soon on bootup; LoginContext not

2008-09-16 Thread aconn7
To clarify: If there are any pending timers at the time of bootup. It doesn't matter whether they fire during the bootup cycle or afterwards. Furthermore, once this error has occurred for pre-existing timers, NEW timers receive this error as well. If the timer pool is empty at the time of

[jboss-user] [EJB/JBoss] - Re: EJB Timeout firing too soon on bootup; LoginContext not

2008-09-16 Thread aconn7
Did some hunting around, seems that during bootup the JAAS stuff will only look in the default/lib and I'll need to put my security module there. Can someone confirm that this may be the problem? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4176891#4176891

[jboss-user] [EJB/JBoss] - Re: JBOSS 4.0.2 and EJB 2.1 - simple application - not worki

2008-09-16 Thread lincoln__a
Hi Friends, Still i have beeen strugging to find solution. I am running the local ejb from command prompt in same JVM. For this no need jndi.properties file and jboss.xml. Pleae cinfirm it. Direct i am looking home interface in look up. setting following jar files at command

[jboss-user] [EJB/JBoss] - Re: JBoss 4.2.2 not reading standardjboss.xml

2008-09-14 Thread [EMAIL PROTECTED]
I think you should try posting to the EJB3.0 user forum: http://www.jboss.com/index.html?module=bbop=viewforumf=221 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4176358#4176358 Reply to the post :

[jboss-user] [EJB/JBoss] - Re: JBoss 4.2.2 not reading standardjboss.xml

2008-09-13 Thread shreyasshinde
I checked the discussion but it is not helping me with setting the EJB 3.0 container pool size constraints. Is there a doc or something on this topic?' Thanks, Shreyas View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4176343#4176343 Reply to the post :

[jboss-user] [EJB/JBoss] - Re: Question about feature request - deploy.first

2008-09-12 Thread jaikiran
How is your application packaged? EAR, WAR or JAR? And which version of JBoss are you using? Please provide more details about your application. That might help in understanding what you are trying to do. P.S: Looks like you are in the wrong forum. You should have posted this in the

[jboss-user] [EJB/JBoss] - Re: class loader exception

2008-09-11 Thread jaikiran
Being discussed here http://www.jboss.com/index.html?module=bbop=viewtopict=142156 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4175764#4175764 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4175764

[jboss-user] [EJB/JBoss] - Re: JBOSS 4.0.2 and EJB 2.1 - simple application - not worki

2008-09-10 Thread jaikiran
From the web.xml, remove this: ejb-linkHelloBean/ejb-link View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4175487#4175487 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4175487

[jboss-user] [EJB/JBoss] - Re: JBOSS 4.0.2 and EJB 2.1 - simple application - not worki

2008-09-10 Thread lingareddy
| | nested throwable: (javax.naming.NamingException: ejb-local-ref: 'ejb/alr', no ejb-link in web.xml and no local-jndi-name in jboss-web.xml) | | If i remove ejb-link i am getting above error. could you tell jndi configuration for local bean and remote bean. Advaced Thanks!

[jboss-user] [EJB/JBoss] - Re: JBOSS 4.0.2 and EJB 2.1 - simple application - not worki

2008-09-10 Thread jaikiran
Just looked at your post again. Your jboss-web.xml contents is incorrect: | ejb-ref | ejb-ref-nameejb/alr/ejb-ref-name | local-jndi-namejndi/local-jndi-name | | /ejb-ref This should be a ejb-local-ref and not ejb-ref. Change it to: ejb-local-ref |

[jboss-user] [EJB/JBoss] - Re: JBOSS 4.0.2 and EJB 2.1 - simple application - not worki

2008-09-10 Thread lingareddy
Thanks for your reply. nope. same error. can you tell jndi configuration settings for jboss 4.0.2. i am trying to call local ejb. jndi properties are required or not? I am getting same error-Reason? View the original post :

[jboss-user] [EJB/JBoss] - Re: java.lang.NullPointerException with EJB 3 stateless web

2008-09-09 Thread jaikiran
Being discussed at http://www.jboss.com/index.html?module=bbop=viewtopict=142038 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4175235#4175235 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4175235

[jboss-user] [EJB/JBoss] - Re: Determining the source of an exception

2008-09-08 Thread francis17101970
time ago I solved this issue with a tool called ProGuard because we needed to reconstruct obfuscated stack traces on third-part code. http://proguard.sourceforge.net/ hope it can helps View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4174887#4174887 Reply to

[jboss-user] [EJB/JBoss] - Re: Error in Jboss server.logs

2008-09-08 Thread francis17101970
there's something related with your jGroups configuration, seems there are problems sending and receiving of member-to-group messages. take a look at its configuration and if you don't have luck try posting some more information about it regards View the original post :

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

2008-09-08 Thread francis17101970
there's a problem with the war file inside the ear. Have you packaged correclty your war ? post your war directory structure if in trouble bye View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4174892#4174892 Reply to the post :

[jboss-user] [EJB/JBoss] - Re: JBoss 4.2.2 not reading standardjboss.xml

2008-09-05 Thread jaikiran
Which EJB version do you use? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4174477#4174477 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4174477 ___ jboss-user mailing list

[jboss-user] [EJB/JBoss] - Re: JBoss 4.2.2 not reading standardjboss.xml

2008-09-05 Thread shreyasshinde
EJB 3.0 Thanks, Shreyas View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4174484#4174484 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4174484 ___ jboss-user mailing list

[jboss-user] [EJB/JBoss] - Re: JBoss 4.2.2 not reading standardjboss.xml

2008-09-05 Thread jaikiran
The standardjboss.xml is for EJB2.x and is not used by EJB3 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4174494#4174494 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4174494 ___

[jboss-user] [EJB/JBoss] - Re: JBoss 4.2.2 not reading standardjboss.xml

2008-09-05 Thread shreyasshinde
Thanks jaikiran. Is it possible for you to tell me how the container pool size can be restricted without using per application configuration in jboss.xml? Thanks, Shreyas View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4174619#4174619 Reply to the post :

[jboss-user] [EJB/JBoss] - Re: JBoss 4.2.2 not reading standardjboss.xml

2008-09-05 Thread jaikiran
See this discussion http://www.jboss.com/index.html?module=bbop=viewtopict=110104 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4174623#4174623 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4174623

[jboss-user] [EJB/JBoss] - Re: Replaying Ejb calls

2008-09-03 Thread guericke
Is this something not possible? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4173858#4173858 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4173858 ___ jboss-user mailing list

[jboss-user] [EJB/JBoss] - Re: ejb not started on jboss

2008-09-03 Thread golubsv
ups stacktrace by jboss: === | | JBoss Bootstrap Environment | | JBOSS_HOME: C:\Program Files\JBoss.org\jboss-4.2.2.GA | | JAVA: C:\Program Files\Java\jdk1.5.0_11\bin\java | | JAVA_OPTS:

[jboss-user] [EJB/JBoss] - Re: Load properties from an EJB3

2008-08-29 Thread jopersson
wrong forum...will repost View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4173278#4173278 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4173278 ___ jboss-user mailing list

[jboss-user] [EJB/JBoss] - Re: deployment of a ejb having bmp in jboss

2008-08-26 Thread rajatbh
techies Finally I have solved this problem. The bean class was having a private method which was causing this exception. I had to change it to public. I always suspected problem with ejb-jar.xml or jboss.xml but changing the access modifier of this method to public from private did the real

[jboss-user] [EJB/JBoss] - Re: error while running EJB from java client on JBOSS

2008-08-26 Thread rajatbh
Try excuting the netstat command from a command line and check if the port is already occupied by some other application. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4172557#4172557 Reply to the post :

[jboss-user] [EJB/JBoss] - Re: Stateless Session Bean pool MaximumSize with strictMaxim

2008-08-21 Thread rmurugs
in jboss.xml , add this and try out. ejb-nameejbName/ejb-name pool-config pool-classorg.jboss.ejb3.StrictMaxPool/pool-class pool-max-size5/pool-max-size

[jboss-user] [EJB/JBoss] - Re: Stateless Session Bean pool MaximumSize with strictMaxim

2008-08-21 Thread ashley_betts70
Thanks for the response rmurugs. Unfortunately what you've suggested doesn't comply with the dtd: http://www.jboss.org/j2ee/dtd/jboss_4_2.dtd and won't build. Is there any other way I can enforce StrictMaxPool? View the original post :

[jboss-user] [EJB/JBoss] - Re: RMI invoke fail, ConcurrentModificationException was thr

2008-08-19 Thread funnyone
skajotde wrote : And in main question: | | SvrMonService mayby should be synchronized and is written stateless ? you mean the check() method or the getStateList() method should be synchronized? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4171203#4171203

[jboss-user] [EJB/JBoss] - Re: Get deployed application archive

2008-08-19 Thread hipa
I want to get path to JAR/EAR/WAR in which current bean is located. I have custom class-level annotation in my application (like @Stateless) and want to process it. So I need all class files from my application archive to pass on tool like Javassist in order to extract all annotated classes.

[jboss-user] [EJB/JBoss] - Re: RMI invoke fail, ConcurrentModificationException was thr

2008-08-17 Thread skajotde
this Exception: Caused by: javax.management.InstanceNotFoundException: datang:service=SvrMon is not registered. is not by twice name SvrMon scheduler-service.xml ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4170957#4170957 Reply to the post :

[jboss-user] [EJB/JBoss] - Re: RMI invoke fail, ConcurrentModificationException was thr

2008-08-17 Thread skajotde
And in main question: SvrMonService mayby should be synchronized and is written stateless ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4170958#4170958 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4170958

[jboss-user] [EJB/JBoss] - Re: How to read/write to local file system

2008-08-16 Thread kenclark
I mean, from within EJB session bean code. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4170925#4170925 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4170925 ___ jboss-user

[jboss-user] [EJB/JBoss] - Re: How to read/write to local file system

2008-08-16 Thread skajotde
Plain java ;) File() with absolutes filesystem paths. You may be supported by system properties new File(System.getProperty(system.booking.drirectory + File.sep + xxx); Remember put all in finally block to ensure close resources. It is server environment. I know is JCA, nut there is no

[jboss-user] [EJB/JBoss] - Re: How to read/write to local file system

2008-08-16 Thread skajotde
Property system.booking.drirectory should be set in JBoss start script (-Dsystem.booking.directory=/home/booking) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4170928#4170928 Reply to the post :

[jboss-user] [EJB/JBoss] - Re: How to read/write to local file system

2008-08-16 Thread skajotde
And there is JCR, example implementation: jackrabbit.apache.org View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4170930#4170930 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4170930

[jboss-user] [EJB/JBoss] - Re: How to read/write to local file system

2008-08-16 Thread skajotde
Correct url is http://jackrabbit.apache.org View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4170931#4170931 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4170931 ___ jboss-user

[jboss-user] [EJB/JBoss] - Re: RMI invoke fail, ConcurrentModificationException was thr

2008-08-15 Thread funnyone
Can anyone help me? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4170704#4170704 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4170704 ___ jboss-user mailing list

[jboss-user] [EJB/JBoss] - Re: Problem in accessing EJB 3.0 at different server(remote)

2008-08-14 Thread jaikiran
See this http://www.jboss.com/index.html?module=bbop=viewtopict=140449 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4170502#4170502 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4170502

[jboss-user] [EJB/JBoss] - Re: Problem in accessing EJB 3.0 at different server(remote)

2008-08-14 Thread mabimal
Thanks Jaikiran, It worked.I am now able to access my remote EJB. Now do you know how can we use connection pools in my scenario. It's like this:- I have already a database, i m using connection pools as configuration in xml files. in web archive we can run it as web.xml, how can we run it on

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

2008-08-11 Thread amine1980
thanks, yes i want to check this through a program, i'm trying to make a dynamic deployement of an ejb, and i need to know if this bean is deployed for activate the asseblage process with other beans. View the original post :

[jboss-user] [EJB/JBoss] - Re: InstantiationException: org.apache.log4j.Logger

2008-08-11 Thread adam_p_wells
Hi All, Many thanks jaikiran, rapowder - your solution has worked. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4169974#4169974 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4169974

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

2008-08-08 Thread jaikiran
If you want to check this through a program, you can follow these: http://wiki.jboss.org/wiki/NotificationsEmittedByJBossMBeans http://wiki.jboss.org/wiki/HowCanNonMBeansReceiveJMXNotifications View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4169529#4169529

[jboss-user] [EJB/JBoss] - Re: NoPassivationCachePolicy not working - bean is getting p

2008-08-08 Thread Omnia Mutantur
I've had the same problem, so this post is for anyone who finds this thread and wants to know the answer too! (I'm assuming that 8 is not still looking for a response by this time...)If your application EAR, or whatever, doesn't have a jboss.xml file in META-INF, standardjboss.xml is

[jboss-user] [EJB/JBoss] - Re: NoPassivationCachePolicy not working - bean is getting p

2008-08-08 Thread Omnia Mutantur
You may also have to add a reference to the appropriate container-name in your EJB declaration. You'd add something like this to your jboss.xml: enterprise-beans | entity | ejb-name[your bean name here]/ejb-name | configuration-name[container-name here]configuration-name

[jboss-user] [EJB/JBoss] - Re: Get deployed application archive

2008-08-07 Thread jaikiran
Sorry, i do not understand your question. Could you please explain more? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4169209#4169209 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4169209

[jboss-user] [EJB/JBoss] - Re: RMI invoke fail, ConcurrentModificationException was thr

2008-08-06 Thread funnyone
Anyone help me? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168895#4168895 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168895 ___ jboss-user mailing list

[jboss-user] [EJB/JBoss] - Re: InstantiationException: org.apache.log4j.Logger

2008-08-06 Thread rapowder
Declaring the Logger as static should also solve the problem View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168897#4168897 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168897

[jboss-user] [EJB/JBoss] - Re: Infinite loop Exception while passivating a SFSB

2008-08-06 Thread rapowder
Nevermind, that was really a stupid question... Anyway I found out where the stackoverflow occurs! Loading the hashmap as maximum as possible as I was trying to do was right, but I wasn't initializing internal collections of my complex objects before serialization. Once all collections of my

[jboss-user] [EJB/JBoss] - Re: Infinite loop Exception while passivating a SFSB

2008-08-05 Thread rapowder
Hi again, so I'm back from vacation, digging on the problem again. anonymous wrote : | A recursive write is okay, but if you keep adding circular references you won't have stack to process the recursive calls necessary here. | | Something like: | | Map.put(key, AnotherMap); |

[jboss-user] [EJB/JBoss] - Re: Annoying log warning:

2008-08-05 Thread jonathanztaub
I was able to reproduce this - it basically happens when I rollback a transaction. There are some files created under %JBOSS_HOME%\server\default\data\tx-object-store. I'm not sure whether this is JMS related at all. However, I still don't quite understand what the problem is and the logs are

[jboss-user] [EJB/JBoss] - Re: Annoying log warning:

2008-08-04 Thread jaikiran
anonymous wrote : This caused me to think that maybe there is something on the local file system that JBoss creates and perhaps the problem stems from bad/corrupt data that happened while doing initial development and testing. By default, JBoss uses HSQLDB to store JMS related data. The data

[jboss-user] [EJB/JBoss] - Re: RMI invoke fail, ConcurrentModificationException was thr

2008-08-04 Thread funnyone
Sorry . the configeration in scheduler-service.xml is: true datang:name=SvrMon check NOW 5000 -1 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168613#4168613 Reply to the post :

[jboss-user] [EJB/JBoss] - Re: RMI invoke fail, ConcurrentModificationException was thr

2008-08-04 Thread funnyone
Sorry again. the configeration in scheduler-service.xml is: | mbean code=com.datangmobile.oss.platform.servermonitor.mbean.SvrMonService name=datang:name=SvrMon | /mbean | mbean code=org.jboss.varia.scheduler.Scheduler | name=datang:service=Scheduler,name=SvrMon |

[jboss-user] [EJB/JBoss] - Re: RMI invoke fail, ConcurrentModificationException was thr

2008-08-04 Thread funnyone
Something must be reminded of is: it's just happened incidentally, not always. I have already seen JBAS-1823 in the following url: https://jira.jboss.org/jira/browse/JBAS-1823 But the stack trace is not the same with mine. So i don't know is there any relations between them. Please help,

[jboss-user] [EJB/JBoss] - Re: Annoying log warning:

2008-08-03 Thread jaikiran
I don't know what the problem is, but a search brought up this thread http://www.jboss.com/index.html?module=bbop=viewtopicp=4093035 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168331#4168331 Reply to the post :

[jboss-user] [EJB/JBoss] - Re: Annoying log warning:

2008-08-03 Thread jonathanztaub
H.. Thanks for pointing this out. Perhaps I did something funky with the search. In any event, that thread doesn't really explain what the problem is, in plain English (other than not so useful stack trace message). View the original post :

[jboss-user] [EJB/JBoss] - Re: InstantiationException: org.apache.log4j.Logger

2008-07-31 Thread jaikiran
Have you used log4j Logger in your code? How have you declared it? The org.apache.log4j.Logger is not serializable. You probably will have to declare it as transient. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4167843#4167843 Reply to the post :

[jboss-user] [EJB/JBoss] - Re: javax.ejb.EJBException: Invalid invocation, check your

2008-07-30 Thread jaikiran
See this http://wiki.jboss.org/wiki/InvalidPackagingError View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4167507#4167507 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4167507 ___

[jboss-user] [EJB/JBoss] - Re: InstantiationException: org.apache.log4j.Logger

2008-07-30 Thread adam_p_wells
This is the stack trace from when it breaks on login to the system: | 10:53:19,250 ERROR [SeamLoginModule] Error invoking login method | javax.el.ELException: javax.ejb.EJBTransactionRolledbackException: java.lang.RuntimeException: org.jboss.serial.exception.SerializationException: Could

[jboss-user] [EJB/JBoss] - Re: [EJB2] Unrecognized jdbc-type

2008-07-28 Thread amazoone
sorry! i'm talking about the jbosscmp-jdbc.xml and not the jdbc-type.xml View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4167031#4167031 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4167031

[jboss-user] [EJB/JBoss] - Re: getting client ip address in EJB (jboss3.2.5)

2008-07-28 Thread amazoone
Hi, you can use the InetAdress i think: http://java.sun.com/j2se/1.4.2/docs/api/java/net/InetAddress.html View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4167083#4167083 Reply to the post :

[jboss-user] [EJB/JBoss] - Re: getting client ip address in EJB (jboss3.2.5)

2008-07-24 Thread stalker314314
to answer myself, there is a workaround - you can get client ip address in EJB when using Thread.currentThread.getName(). Thread's name contains client ip address, and it's in the form of: RMI TCP Connection(100)-192.168.0.103 so you just have to pull out ip address from thread's name View the

[jboss-user] [EJB/JBoss] - Re: slow remote EJB call inside loop, reconnect ?

2008-07-21 Thread roko98
I find the answer... its a bug/feature... whenever you want to call it https://jira.jboss.org/jira/browse/JBREM-877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4165763#4165763 Reply to the

[jboss-user] [EJB/JBoss] - Re: Programmatically test JBoss AS start?

2008-07-18 Thread [EMAIL PROTECTED]
That's exactly what I needed. Thanks Jaikiran! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4165328#4165328 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4165328 ___ jboss-user

[jboss-user] [EJB/JBoss] - Re: javax.ejb.EJBTransactionRequiredException when calling r

2008-07-17 Thread jaikiran
Post the entire exception stacktrace and the code where you are invoking this bean. Also post the relevant annotations/xml files. P.S: While posting the logs or xml content or code, remember to wrap it in a code block using the Code button in the message editor window and please hit the

[jboss-user] [EJB/JBoss] - Re: Infinite loop Exception while passivating a SFSB

2008-07-17 Thread rapowder
I am sorry I can't be more precise about this bug, nobody has ANY clue? Just some more precisions about environment. I am using Jboss Serialization 1.0.3.GA (included in JBoss Messaging 1.2.0.sp1) From another log file on one of our servers I digged out the same exception and noticed that the

[jboss-user] [EJB/JBoss] - Re: Infinite loop Exception while passivating a SFSB

2008-07-17 Thread [EMAIL PROTECTED]
Since I don't have any evidence of what happened I will have to guess: This looks like a recursive write. Are you trying to use HashMaps as trees? A recursive write is okay, but if you keep adding circular references you won't have stack to process the recursive calls necessary here. Something

[jboss-user] [EJB/JBoss] - Re: Infinite loop Exception while passivating a SFSB

2008-07-17 Thread rapowder
Thanks for your reply. anonymous wrote : This looks like a recursive write. Are you trying to use HashMaps as trees? Actually I do not have Maps of Maps if that's what you mean. The candidate for this Serialization problem seems the following map (which is the field of a SFSB):

[jboss-user] [EJB/JBoss] - Re: Infinite loop Exception while passivating a SFSB

2008-07-17 Thread [EMAIL PROTECTED]
This might be happening because of the excessive stack on the TreeMap. Maybe you could increase your Stack configuration? I would need a testcase replicating this problem for being able to help more. View the original post :

[jboss-user] [EJB/JBoss] - Re: Infinite loop Exception while passivating a SFSB

2008-07-17 Thread rapowder
anonymous wrote : This might be happening because of the excessive stack on the TreeMap. Well, it could be, but not sure that this TreeMap could get too big. I have to check if somewhere else in the code I have similar maps. Still, about my first question: if all SFSB are destroyed, when can

[jboss-user] [EJB/JBoss] - Re: Infinite loop Exception while passivating a SFSB

2008-07-17 Thread [EMAIL PROTECTED]
anonymous wrote : Well, it could be, but not sure that this TreeMap could get too big. I have to check if somewhere else in the code I have similar maps. | Still, about my first question: if all SFSB are destroyed, when can serialization happen? Passivation applies only on inactive beans

[jboss-user] [EJB/JBoss] - Re: How do I use the same JPA entities in multiple applicati

2008-07-17 Thread krenfro
So this documentation seems to indicate that I can reference the entity manager from separate applications if it is configured in the global jndi namespace. http://docs.jboss.org/ejb3/app-server/reference/build/reference/en/html/entityconfig.html This is done by adding these properties to

[jboss-user] [EJB/JBoss] - Re: Programmatically test JBoss AS start?

2008-07-17 Thread jaikiran
Does this help http://wiki.jboss.org/wiki/StartupAndDeploymentCheck View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4165233#4165233 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4165233

[jboss-user] [EJB/JBoss] - Re: Can't replace container configuration for MDB

2008-07-16 Thread potdl
Hi All, Has anyone solved this problem. I`m having the exact same issue. Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4164706#4164706 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4164706

[jboss-user] [EJB/JBoss] - Re: RMI Dynamic Classloading

2008-07-14 Thread dubacher
Hi there. Unfortunately nobody replied to my initial post. With this post I would like to precise my initial post, hoping that somebody can help me: My setup: I have a JBoss (version 4.2.2) to which a war-file is deployed. The war-file contains a ServletContextListener which registers a

[jboss-user] [EJB/JBoss] - Re: ORA-00904 Error while running CMP EJB

2008-07-10 Thread sfisque
i am having a similar issue. i appears that the name attribute of my @Column annotation is being ignored and the query is being constructed using the attribute's name and not the name assigned from the annotation. is there a common reason why JPA/Hibernate would ignore the annotation's name

[jboss-user] [EJB/JBoss] - Re: persist entity ignores the

2008-07-10 Thread sfisque
posting this so that anyone else searching on this will find what i found: if you have an object with a composite key object, e.g: | @Entity | @IdClass( ThingPK.class ) | @Table( name=Thing ) | public class Thing | implements Serializable | { | @Id | private String

[jboss-user] [EJB/JBoss] - Re: Problem with same package structure and class name

2008-07-09 Thread jaikiran
See the classloader related information in the wiki: http://wiki.jboss.org/wiki/JBossClassLoadingUseCases http://wiki.jboss.org/wiki/ClassLoadingConfiguration View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163452#4163452 Reply to the post :

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

2008-07-04 Thread Arvind_MV
Hi All, I know that many have posted the same query but i followed some steps based on this post. But still i am unable to resolve the issue. My test program is as shown below: nitialContext iniCtx= null; Context ejbCtx = null; CryptoHome

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

2008-07-04 Thread jaikiran
anonymous wrote : In the Jboss console it shows javax.naming.NameNotFoundException: Crypto not bound Follow the steps mentioned at http://wiki.jboss.org/wiki/DisplayTheJNDITreeWithTheJMXConsole and find the jndi-name of your bean. Then use that jndi-name for looking up the bean. View the

[jboss-user] [EJB/JBoss] - Re: Could not destroy component: ......

2008-06-30 Thread Ceene
I need help please. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161398#4161398 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161398 ___ jboss-user mailing list

[jboss-user] [EJB/JBoss] - Re: EJB3 Error: java.rmi.MarshalException: Failed to commun

2008-06-27 Thread davidnez
Now it's working correcty. I change the version of server to use, from jboss 5.0.0.Beta4 to jboss 4.2.2.GA. It feel that was a motify of configuration of the jboss. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161093#4161093 Reply to the post :

[jboss-user] [EJB/JBoss] - Re: where to monitor message queue length from jmx-console?

2008-06-26 Thread gan.gary
greats, thanks! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4160767#4160767 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4160767 ___ jboss-user mailing list

<    1   2   3   4   5   6   7   8   9   10   >