Re: SecurityException trying to use JavaMail

2008-10-13 Thread Rick McGuire
Kevan Miller wrote: On Oct 11, 2008, at 8:07 PM, John wrote: Hi, I have a webapp setup to send an email notification using javamail. The code works in both Tomcat and JBoss, but in Geronimo I am getting a SecurityException. Here is a subset of the stacktrace:

Re: SecurityException trying to use JavaMail

2008-10-13 Thread Rick McGuire
Kevan Miller wrote: On Oct 13, 2008, at 7:14 AM, Rick McGuire wrote: Kevan Miller wrote: On Oct 11, 2008, at 8:07 PM, John wrote: Hi, I have a webapp setup to send an email notification using javamail. The code works in both Tomcat and JBoss, but in Geronimo I am getting a

Re: SecurityException trying to use JavaMail

2008-10-13 Thread Kevan Miller
On Oct 13, 2008, at 7:14 AM, Rick McGuire wrote: Kevan Miller wrote: On Oct 11, 2008, at 8:07 PM, John wrote: Hi, I have a webapp setup to send an email notification using javamail. The code works in both Tomcat and JBoss, but in Geronimo I am getting a SecurityException. Here is a

Re: how to deploy application scope activemq broker?

2008-10-13 Thread aaaaa
Kevan Miller wrote: On Oct 7, 2008, at 3:50 PM, a wrote: can anybody give me a hint what I'm doing wrong? I would like to have both brokers running... Hmm. Not sure... Are you sure that the second broker is up and listening on 62626? Can you 'telnet localhost 62626'?

I need a Servlet to be started when the web container is starting

2008-10-13 Thread Juan David
Hi All I have a problem to set up a framework application on Geronimo. I need a Servlet to be started when the web container is starting. As I previously did this configuration on Tomcat y try to add the Servlet definition on installDir\var\catalina\conf\web.xml and it loads the Servlet the

shared libraries in the OAS way

2008-10-13 Thread Juan David
Hi All I would like to know how to accomplish shared libraries in the OAS way on Geronimo. What I mean by OAS way is the possibility to define a shared library that holds some jars and also can define dependencies with some other libraries. It is also possible to define a default set of

Re: shared libraries in the OAS way

2008-10-13 Thread Lin Sun
Hi, Can sharedlib work for you? The G server provides a common directory where you can install class files and JAR files that can be shared by multiple Java EE assets. You can install the shared jar files to GERONIMO_HOME/var/shared/lib, then include the shared library as a dependency in your

Re: I need a Servlet to be started when the web container is starting

2008-10-13 Thread David Jencks
On Oct 13, 2008, at 9:50 AM, Juan David wrote: Hi All I have a problem to set up a framework application on Geronimo. I need a Servlet to be started when the web container is starting. As I previously did this configuration on Tomcat y try to add the Servlet definition on

Re: I need a Servlet to be started when the web container is starting

2008-10-13 Thread Lin Sun
Hi, Did you try write a simple geronimo-web.xml and deploy it along with your war file when you use sharedlib? Here's some information on geronimo-web.xml (geronimo specific web deployment plan) - http://cwiki.apache.org/GMOxDOC21/geronimo-webxml.html You can also try use the plan creator

Re: shared libraries in the OAS way

2008-10-13 Thread David Jencks
On Oct 13, 2008, at 9:51 AM, Juan David wrote: Hi All I would like to know how to accomplish shared libraries in the OAS way on Geronimo. What I mean by OAS way is the possibility to define a shared library that holds some jars and also can define dependencies with some other

Re: shared libraries in the OAS way

2008-10-13 Thread Juan David
Hi David I think that solution is what I needs. Are there any examples in how to implement and deploy the classloader plugins and of course define dependencies among them Thank you very much Juan David Perez djencks wrote: On Oct 13, 2008, at 9:51 AM, Juan David wrote: Hi All I

Re: I need a Servlet to be started when the web container is starting

2008-10-13 Thread Juan David
Hi David I think what I need is descrived for you “If you need some code to execute before your actual apps start you could write a gbean to execute the code and deploy it in a plugin that depends on the tomcat plugin. If your apps depend on this service plugin it is sure to get started before

Re: I need a Servlet to be started when the web container is starting

2008-10-13 Thread David Jencks
On Oct 13, 2008, at 11:11 AM, Juan David wrote: Hi David I think what I need is descrived for you “If you need some code to execute before your actual apps start you could write a gbean to execute the code and deploy it in a plugin that depends on the tomcat plugin. If your apps

Re: Exception in using: @OneToMany with mappedBy

2008-10-13 Thread Jay D. McHugh
Marco, Sorry that it took so long for anyone to send you a response. Here is something to try. Add an annotation to your entity classes of: @XmlAccessorType(XmlAccessType.PROPERTY) I think that OpenJPA has field access set by default. Or, if you want to use field access instead, you can