Re: Missing resource injection in Tomcat/Axis vs Jetty/CXF

2008-11-13 Thread Janko Heilgeist
Hi Jarek, your advice didn't work, unfortunately. The server logs still show the additional "DEFAULT"-bean. I've attached the files you requested plus my openejb-jar.xml just for completeness. Janko Jarek Gawor wrote: > I think you end up with deploying two ejbs because the name of bean > specif

Re: Getting IP Address of AppServer

2008-11-13 Thread Stella Lok
Hi, Thanks very much for the help. I found the code that retrieves the ip address displayed on the Console page in geronimo-j2ee/src/main/java/org/apache/geronimo/j2ee/management/impl/JVMImpl.java Sincerely, Stella On Thu, Nov 13, 2008 at 9:43 PM, Juergen Weber <[EMAIL PROTECTED]> wrote: > >

Re: @EJB 3.0 injection for non-servlet components

2008-11-13 Thread David Jencks
On Nov 13, 2008, at 9:37 AM, my_forum wrote: Guys, Probably this does not relate to Geronimo itself, but to OpenEjb but this problem should be common for everybody who uses EJB 3.0 in Geronimo. So the questions is as follows: When I make the injection (StatesDAO is interface, StatesDAOBean

Re: @EJB 3.0 injection for non-servlet components

2008-11-13 Thread Vamsavardhana Reddy
Use the JNDI viewer portlet to see all the names bound to JNDI. On Thu, Nov 13, 2008 at 11:07 PM, my_forum <[EMAIL PROTECTED]> wrote: > > Guys, > Probably this does not relate to Geronimo itself, but to OpenEjb but this > problem should be common for everybody who uses EJB 3.0 in Geronimo. > So t

@EJB 3.0 injection for non-servlet components

2008-11-13 Thread my_forum
Guys, Probably this does not relate to Geronimo itself, but to OpenEjb but this problem should be common for everybody who uses EJB 3.0 in Geronimo. So the questions is as follows: When I make the injection (StatesDAO is interface, StatesDAOBean is an implementation) @EJB private StatesDAO states

Re: WebService on Geronimo 2.1.3 for Mac OS X 10.5.5 using Java 6

2008-11-13 Thread Jarek Gawor
Karel, Can you try with Java 5 instead of Java 6? Jarek On Thu, Nov 13, 2008 at 10:05 AM, yosemite <[EMAIL PROTECTED]> wrote: > > Hello Kevan, > > excellent, it helped again, so > > - the out of memory problem is gone > - the missing tools.jar problem is gone (linking classes.jar helped, I will

Re: Missing resource injection in Tomcat/Axis vs Jetty/CXF

2008-11-13 Thread Jarek Gawor
I think you end up with deploying two ejbs because the name of bean specified in the DD does not match the bean name of the annotated class. And so, the container thinks you are deploying two separate beans. To fix it, you could try adding "name=MyWebService" attribute to the @Stateless annotation.

Re: Slf4j for java.util.logging fails to create logs

2008-11-13 Thread Jarek Gawor
What API is your application using to log its messages? sl4j, commons-logging, java.util.logging, or log4j? Jarek On Thu, Nov 13, 2008 at 9:40 AM, Hearty <[EMAIL PROTECTED]> wrote: > > I am using apache geronimo as application server and the jar file I've used > is slf4j-jdk14-1.5.0.jar,slf4j-api

Re: WebService on Geronimo 2.1.3 for Mac OS X 10.5.5 using Java 6

2008-11-13 Thread yosemite
Hello Kevan, excellent, it helped again, so - the out of memory problem is gone - the missing tools.jar problem is gone (linking classes.jar helped, I will suggest a fix) but the "java.lang.ClassCastException: com.sun.tools.apt.mirror.type.ClassTypeImpl cannot be cast to com.sun.mirror.type.Ann

Slf4j for java.util.logging fails to create logs

2008-11-13 Thread Hearty
I am using apache geronimo as application server and the jar file I've used is slf4j-jdk14-1.5.0.jar,slf4j-api-1.5.0.jar,log4j-1.1.3.jar My logging.properties file is as follows handlers = java.util.logging.FileHandler, java.util.logging.ConsoleHandler #

Re: Getting IP Address of AppServer

2008-11-13 Thread Juergen Weber
The Console / Server / Information Portlet displays a Node entry, you might look at the portlet source to see how it is done. Somewhere below geronimo-2.1.3-src\plugins\debugviews\debugviews-portlets\src\main\java\org\apache\geronimo\console\ stella lok wrote: > > Hi, > > Is there any way for

AW: Need help with jndi configuration of a datasource

2008-11-13 Thread Klopp, Alexander
Thanks a lot for this advice, I added this annotation and it works fine now! Alex -Ursprüngliche Nachricht- Von: David Jencks [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 12. November 2008 17:56 An: user@geronimo.apache.org Betreff: Re: Need help with jndi configuration of a datasource