On Jun 18, 2009, at 1:08 PM, Juergen Weber wrote:
David,
yes, you understood right. I want the container to use the currently
active
JAAS subject for the EJB call.
But, I had hoped that the container automatically would use the
currently
active JAAS subject.
But this seems not be possi
David,
yes, you understood right. I want the container to use the currently active
JAAS subject for the EJB call.
But, I had hoped that the container automatically would use the currently
active JAAS subject.
But this seems not be possible, as I have just found explained in this
Websphere docs:
Hi David,
This application handles numerous commands, and these are handled in the
application.
But when a customer wants additional functions/commands we need to add these
dynamically without redeploy the application and/or libraries (which are
stored in geronimo repository).
The commands are d
On Jun 18, 2009, at 12:33 AM, stig larsen wrote:
Hi,
We have an application that we wish to extend its capabilities in
running
state.
I want to load jars into geronimo and make them appear in the
classpath so
my application can use them without restarting.
Is there a way to to this?
good summary :-)
david jencks
On Jun 18, 2009, at 4:56 AM, Rodger wrote:
A module's gbeans are managed in a "Configuration".
One Configuration corresponds to one MultiParentClassLoader instance.
All dependencies in deployment plan are added to the classloader as
search-paths.
If the dependen
On Jun 18, 2009, at 5:28 AM, Juergen Weber wrote:
Hi,
I opened a JAAS LoginContext in a JSP (the JSP runs under
) and called an EJB using a PrivilegedAction
with the
resulting subject. It looks like the subject is not propagated to
the EJB.
Also it looks like the currently active web user
Hi,
I opened a JAAS LoginContext in a JSP (the JSP runs under
) and called an EJB using a PrivilegedAction with the
resulting subject. It looks like the subject is not propagated to the EJB.
Also it looks like the currently active web user cannot be gotten by JAAS.
So, it looks like there is a s
A module's gbeans are managed in a "Configuration".
One Configuration corresponds to one MultiParentClassLoader instance.All
dependencies in deployment plan are added to the classloader as
search-paths.
If the dependency is a .car , then the .car's corresponding Configuration's
classloader will bec
hi Juergen,
Here is my note..
EJB Project=
@Remote
interface Converter
@stateless
public class ConverterBean implements Converter
Web Project=
1 Add dependency in geronimo-web.xml
defa
OK, I got it to run with using the sample from
http://cwiki.apache.org/GMOxDOC20/very-simple-session-ejb-example.html
(which does contain a web.xml)
ejb/Secured3
Session
ejb3.Secured3
context = new InitialContext();
Secured3 sec
Thank you for your swift reply Jack,
I'm also looking into the Gbean and dependency injection, and it seems like
it could be done from here aswell?
The idea is to insert this extensions (jar file) to the geronimo repository
and dynamically load them from there.
Is using MultiParentClassLoader t
There is a very Geronimo-specific way with which you can hack with the
application classloader.
import org.apache.geronimo.kernel.config.MultiParentClassLoader;
...
url = a certain folder or a jar file
MultiParentClassLoader cl = (MultiParentClassLoader)
Thread.currentThread.getContextClass
I only wanted to try some security thing (which will be my next post ;-), so
I used a JSP for a quick test (which took rather long ;-)
I had had just a glance at
http://cwiki.apache.org/GMOxDOC21/mytime-very-simple-session-ejb-example.html
and there is neither web.xml nor ejb-ref.
My original E
Rodger, thanks you, that works.
8-)
Juergen
Rodger wrote:
>
> http://cwiki.apache.org/GMOxDEV/client-jndi-names.html will use a
> RemoteInitialContextFactory.
> Like:
> Properties p = new Properties();
> p.setProperty(Context.INITIAL_CONTEXT_FACTORY,
> "org.apache.openejb.clien
Hi,
We have an application that we wish to extend its capabilities in running
state.
I want to load jars into geronimo and make them appear in the classpath so
my application can use them without restarting.
Is there a way to to this?
Best regards,
Stig Even Larsen
--
View this message in con
15 matches
Mail list logo