How to get a ConnectionFactory into JNDI?

2009-04-29 Thread Juergen Weber
Hi, I try to access a MQ ConnectionFactory using the code below, but I get an Exception. The resource adapter is in sys:dependencies. How do I get the ConnectionFactory into JNDI so the lookup works? Thanks, Juergen Caused by: javax.naming.NotContextException: wmq/ConnectionFactory

Re: 2.1.3 to 2.1.4 Upgrade Virtual Hosts issue

2009-04-29 Thread John
chi runhua wrote: Hi, I just tried both on 2.1.3 and 2.1.4 and got the same error that JohnD mentioned above. (following the instruction at http://cwiki.apache.org/GMOxDOC21/configuring-virtual-hosts-in-geronimo-tomcat.html ) j...@jeff:~/Geronimo/2.1.3/bin$ ./geronimo.sh run Using

Securing Derby databases and queues

2009-04-29 Thread Radim Kolar
Geronimo security documentation needs to be updated with sections about `securing embedded Derby databases` and `Securing Message queues`. Geronimo supports that feature (??) We are using Geronimo custom build feature for distributing demos of our applications. Some users are interested to run

Re: How to get client IP address called EJB method

2009-04-29 Thread alex_r
djencks wrote: On Apr 28, 2009, at 10:06 AM, alex_r wrote: No, it is not servlet. Method called by standalone GUI client. Some hourse ago i has add to org.apache.openejb.ejbd.EJBServer some code that store client IP and port in CallContext. I think it is bad solution, but i

Re: Check server state?

2009-04-29 Thread RickI
Thanks RunHua, Do you know any gbean that can be use to get server state similar with wait-for-server command? Thanks, Ricky RunHua Chi wrote: Hi Rickl: I thinks you might need to look into the source code of the following Gshell command: geronimo/wait-for-server The

Webservice handling consuming considerable CPU (Windows)

2009-04-29 Thread mdasari
Hi, Geronimo: v 2.1.3 OS: Windows XP, Windows Server 2003 I've a web-service that gets polled every N minutes, I noticed that when it is servicing a request the CPU usage is hitting close to 80%. I expect to have multiple clients to this web-service so it is going to be a problem. Based on

Re: Webservice handling consuming considerable CPU (Windows)

2009-04-29 Thread Ivan
It seems that the search for service provider for the TransformerFactory takes too much time.I suggest you set the the corresponding implemenation via system property or put it to a jaxp.properties in the jre's lib folder. You could refer more in the Java Doc of TransformerFactory class. Ivan

Re: Check server state?

2009-04-29 Thread Ivan
No sure how does the wait-for-server command implement it, but I think try to connect the server via JMX is also a way to check whether the kernel is running.Ivan 2009/4/30 RickI a...@worker.com Thanks RunHua, Do you know any gbean that can be use to get server state similar with

Re: Webservice handling consuming considerable CPU (Windows)

2009-04-29 Thread Kevan Miller
On Apr 29, 2009, at 10:32 PM, Ivan wrote: It seems that the search for service provider for the TransformerFactory takes too much time. I suggest you set the the corresponding implemenation via system property or put it to a jaxp.properties in the jre's lib folder. You could refer more in

Re: How to get a ConnectionFactory into JNDI?

2009-04-29 Thread Ashish Jain
What ıs o here:: Is ıt a QueueConnectionFactory:: On Wed, Apr 29, 2009 at 8:07 PM, Juergen Weber webe...@gmail.com wrote: Hi, I try to access a MQ ConnectionFactory using the code below, but I get an Exception. The resource adapter is in sys:dependencies. How do I get the