[jboss-user] [EJB] - Re: Accessing serialized timer objects

2009-08-24 Thread Renen
It seems that these methods only worked when called from within the object (I presume EJB actually) that created the Timer in the first place. I’m not sure why this is, but, hopefully somebody finds this nugget useful! View the original post :

[jboss-user] [EJB/JBoss] - Accessing serialized timer objects

2009-08-17 Thread Renen
then iterate over the collection calling getInfo() on each Timer. I am running JBoss 5.1.0.GA. Thank you in advance for your guidance. Renen. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4249942#4249942 Reply to the post : http://www.jboss.org/index.html?module

[jboss-user] [Management, JMX/JBoss] - Re: @depends annotation

2009-01-19 Thread Renen
Thank you. I browsed around a little - is there somewhere I can get a nightly build (or similar) from? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4202898#4202898 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4202898

[jboss-user] [Management, JMX/JBoss] - @depends annotation

2009-01-17 Thread Renen
Hello, I have two annotated POJOs: ProcessManager and Logger. And, Logger depends on ProcessManager. Try as I might, they seem to deploy in the wrong sequence: | 22:38:41,148 INFO [STDOUT] Logger start | 22:38:41,154 INFO [STDOUT] Process manager starting... | Which I don’t

[jboss-user] [Management, JMX/JBoss] - Re: @depends annotation

2009-01-17 Thread Renen
Sorry: JBoss 5 GA View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4202642#4202642 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4202642 ___ jboss-user mailing list

[jboss-user] [Management, JMX/JBoss] - Re: Problem registering @Management interface for @Service c

2008-12-04 Thread Renen
No ideas? :-( Would it be appropriate to log this as a bug? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4194336#4194336 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4194336

[jboss-user] [Management, JMX/JBoss] - Re: Problem registering @Management interface for @Service c

2008-11-28 Thread Renen
To update the status of my little battle, I can't get the following JBoss example to work either: http://www.jboss.org/jbossejb3/docs/reference/build/reference/en/html/jboss_extensions.html I note that the management reference in my code is: org.jboss.ejb3.annotation.* where the examples

[jboss-user] [Management, JMX/JBoss] - Problem registering @Management interface for @Service class

2008-11-26 Thread Renen
(Ref | What am I doing wrong? Also, why does it demand an EJBTimerService? Thank you very much for your time. Renen. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4192458#4192458 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode

[jboss-user] [Messaging, JMS JBossMQ] - Re: maxMessages

2007-10-24 Thread Renen
to throttle throughput (which is what I am really trying to do). From what you've said, relying on this behaviour is probably imprudent! Should I report a bug? Or is my code wrong (its included below)? Otherwise, how should I throttle throughput? Thank you! Renen. Note: I have either eliminated

[jboss-user] [Messaging, JMS JBossMQ] - Re: maxMessages

2007-10-10 Thread Renen
I am probably confused. ;-) I generally am. I think sessions worked the way you suggest in previous versions of JBoss / EJB. I read maxSessions to refer to the number of threads that can deliver messages to the queue at a time: anonymous wrote : | the maximum number of jms sessions that

[jboss-user] [Messaging, JMS JBossMQ] - Re: maxMessages

2007-10-09 Thread Renen
Perhaps I should also add that the default maxMessages value would seem to be 15. I will correct the wiki if somebody can confirm my testing. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4093214#4093214 Reply to the post :

[jboss-user] [Messaging, JMS JBossMQ] - maxMessages

2007-10-09 Thread Renen
http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigJMSMessageListener defines maxMessages as follows: anonymous wrote : | maxMessages - read this number of messages before delivering messages to the mdb (each message is delivered individually on the same thread in an attempt to avoid context

[jboss-user] [EJB 3.0] - Re: Simplest possible stateless bean

2007-09-26 Thread Renen
Hi Wolfc, We had a holiday down here (za) so I haven't been at my computer. I understood one of the overriding drivers of the EJB3 evolution was to simplify things, to make better use of defaults, and to reduce the barrier to entry required to get EJBs up and running. I think I had hoped that

[jboss-user] [EJB 3.0] - Re: Simplest possible stateless bean

2007-09-21 Thread Renen
anonymous wrote : Misunderstanding. I was talking about how would you like to code your client, what API did you have in mind? Now I'm puzzled: could you explain what API choices I have. If I should RTFM, don't hesitate to say so! But, I think even terse answers will steer my reading. Thanks

[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Accessing varargs from jsp (jboss 4.2.0 / jre 5.0)

2007-09-21 Thread Renen
thanks! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4087119#4087119 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4087119 ___ jboss-user mailing list jboss-user@lists.jboss.org

[jboss-user] [EJB 3.0] - Simplest possible stateless bean

2007-09-19 Thread Renen
of love and happiness. Clearly things are not so simple! ;-) Or (hopefully), I'm missing something obvious. If somebody can point me in the right direction, I will happily add the solution to the wiki for the benefit of future generations! Renen. View the original post : http://www.jboss.com

[jboss-user] [EJB 3.0] - Re: Simplest possible stateless bean

2007-09-19 Thread Renen
=66845 (see the last post). To my mind, this is much more elegant. That said, I mostly just want a solution... ;-~ Thanks for your advice. renen. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4086168#4086168 Reply to the post : http://www.jboss.com/index.html

[jboss-user] [EJB 3.0] - Re: Simplest possible stateless bean

2007-09-19 Thread Renen
anonymous wrote : Maybe there is an alternative that's missing. I must say, I found myself asking that. We use application servers because we always have. And, it used to be neccesary. I'm not sure it still is. ;-) But I suppose one shouldn't get too philosophical. We have a straight forward

[jboss-user] [EJB 3.0] - Architecture

2007-09-19 Thread Renen
We have an existing application running EJB2 EJBs. However, we have an opportunity at the moment to reconsider certain aspects of the architecture. And, EJB3 beckons, as do several of the Java 1.5 constructs. However, the world has moved a long way since we last looked at these architectural

[jboss-user] [EJB 3.0] - Re: Simplest possible stateless bean

2007-09-19 Thread Renen
Thanks - I have managed to resolve my initial problem. I can instantiate and use the EJB. Would still read very closely any replies to the other points. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4086347#4086347 Reply to the post :

[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Accessing varargs from jsp (jboss 4.2.0 / jre 5.0)

2007-09-19 Thread Renen
Hello, Tested. Problem is as described. The varargs are handled correctly from within normal POJOs in the WAR. Except, I don't think it has anything todo with EJB3: you can't access varargs on a POJO from a JSP page... I am curious as to why this is so. Any ideas? renen. View the original

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Properties File

2007-09-11 Thread Renen
Just to follow that up. The following code will open a property file and read a property: | String confFile = System.getProperty(jboss.server.config.url) + confFilename; | System.out.println(Will look for configuration settings in: + confFile); | URL url = new URL(confFile); |

[jboss-user] [Installation, Configuration DEPLOYMENT] - Properties File

2007-09-10 Thread Renen
Hello, I have a JBoss 4.0.5 server hosting three applications. I would like to be able to use a properties file to control certain basic configuration settings for each app. I can easily access a config file, but the apps look in the jboss-4.0.5/bin directory. Short of hard coding a path (which

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Properties File

2007-09-10 Thread Renen
thanks! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4082830#4082830 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4082830 ___ jboss-user mailing list jboss-user@lists.jboss.org

[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: serve web application content as gzip- compressed

2007-04-02 Thread Renen
To get compression to work as you would expect it, I think that you probably also want to add the following attribute-value pair: compressableMimeType=text/html,text/xml,text/javascript,application/x-javascript,application/javascript,text/css as the list of default mime types is quite small