Re: JDBC4 Postgresql Driver fails to install

2009-11-24 Thread Quintin Beukes
e same thing. The version's don't match (the reference has -jdbc4 in it). Quintin Beukes On Mon, Nov 23, 2009 at 1:55 PM, Juergen Weber wrote: > > Hi, > > I just checked with 2.1.4, there the driver installs as > >  org.postgresql >                postgresql >    

Re: Geronimo with Hibernate

2009-11-17 Thread Quintin Beukes
Have a look at: http://qbeukes.blogspot.com/2009/09/geronimo-using-hibernate-as-your-jpa.html If you need help just let me know. Quintin Beukes On Tue, Nov 17, 2009 at 4:57 PM, Donald Woods wrote: > You would need to create a set of Hibernate plugins that replaces the > OpenJPA ones pr

Re: Serious Problem with Roles

2009-11-17 Thread Quintin Beukes
a OneToOne mapping to a role in the deployment descriptor and my SQLLoginModule will then do another LEFT JOIN on ContainerRoles which would then become the GeronimoGroupPrincipals for the subject. Quintin Beukes On Tue, Nov 17, 2009 at 10:25 AM, Quintin Beukes wrote: > This is my situation.

Re: Serious Problem with Roles

2009-11-17 Thread Quintin Beukes
the role mappings programmatically? So, instead of listing it in a deployment descriptor it's listed in the database and when one of my Singleton beans load I can configure the role mappings? Quintin Beukes On Mon, Nov 16, 2009 at 10:37 PM, David Jencks wrote: > > On Nov 16, 2009, at 10:39

Re: Serious Problem with Roles

2009-11-16 Thread Quintin Beukes
much. This is the last thing standing between me and a phase 1 release. Any suggestions would thus be greatly appreciated. Quintin Beukes On Mon, Nov 16, 2009 at 8:04 PM, Quintin Beukes wrote: > Oh yes :< > > I was so focussed on my initial problem that I forgot about

Re: Serious Problem with Roles

2009-11-16 Thread Quintin Beukes
eone following me tries to port he'll get a "friendly" message stating he needs to make his own implementation. Quintin Beukes On Mon, Nov 16, 2009 at 7:29 PM, David Jencks wrote: > Hi Quintin, > > On Nov 16, 2009, at 8:41 AM, Quintin Beukes wrote: > >>

Serious Problem with Roles

2009-11-16 Thread Quintin Beukes
E. Though, GeronimoSecurityService.isCallerInRole(String role) returns FALSE when I query isCallerInRole("Personnel User"). I assume somewhere the AccessControlContext isn't populated correctly? I'm not really sure how this should work, so if someone can tell me how this all fits together I can have a look. Quintin Beukes

Re: The need for pooling beans

2009-11-07 Thread Quintin Beukes
currency is not an issue. Regarding why we were so "lucky for having pools". I guess it's because of the benefits it does have for the more complex scenarios. Remember that EJBs were designed for solving complex enterprise system problems. So this statement was probably made keepin

Re: The need for pooling beans

2009-11-04 Thread Quintin Beukes
I'm not sure I understand your question? But why to use bean pooling for a Session Facade (implemented with a SLSB)? > We can't assure that two clients using the same method of a service bean > will bring problems. Which is why you're only allowed one bean per request. This way you can rely on t

Re: The need for pooling beans

2009-11-04 Thread Quintin Beukes
though the former is probably a better option. Quintin Beukes On Wed, Nov 4, 2009 at 1:19 PM, Antonio Fornié wrote: > > > IIUC ejb 3.1 includes singleton ejbs. I don't know much about them. > > Yes, I knew it. It will be very usefull when it arrives. By now we have to > take othe

Re: 2.2 in production

2009-11-03 Thread Quintin Beukes
here "host" is a byte[]. So the 192 as a signed 8bit gives -64. Is it supposed to be like this or should I fix/report it? Quintin Beukes On Tue, Nov 3, 2009 at 5:35 PM, Trygve Hardersen wrote: > > > On Mon, Nov 2, 2009 at 5:39 PM, Kevan Miller wrote: >> >> >&g

Re: Updating Geronimo

2009-10-28 Thread Quintin Beukes
> I'm quite surprised that you are finding that the versions are missing from > the config.ser files you've looked at.  I've been trying to work towards > always including the versions in geronimo plugins, and they ought to be both > present or both missing from the geronimo-plugin.xml and config.s

Re: JavaEE/EJB Spec and Deploying

2009-10-28 Thread Quintin Beukes
> I hope not :-)   and don't see that as a likely outcome.  Currently the osgi > effort is working very similarly to the current 2.2 server in that > deployment generates a bundle with all the processed g metadata such as the > config.ser inside.  Even with something like a rfc 66 web container the

Re: Help

2009-10-27 Thread Quintin Beukes
Hey, Some questions: 1. Are you getting these 404 errors when visiting: http://localhost:8080/console and clicking on those links? 2. Which Geronimo did you download/install, ie. what is the filename? 3. Are you on Windows/Linux? 4. Which JDK/JRE are you running? Quintin Beukes On Tue

JavaEE/EJB Spec and Deploying

2009-10-27 Thread Quintin Beukes
Hey, Two questions on deploying. 1. What does the spec specify regarding deployment? 2. The table generation of JPA providers. Does the spec specify anything regarding this? I'm basically asking because if my table generation is set to drop-create then my tables are dropped/created whenever I r

Re: Redeploying Depended on Applications

2009-10-27 Thread Quintin Beukes
> So, in your case, if you redeploy B, C will get stopped while B is being > undeployed/deployed and then restarted, at which point it will pick up new > injected ejbs from A and B. This makes sense. I assume from your message, though, that applications are treated as plugins internally? >> I'm n

Security doesn't work for an EAR

2009-10-27 Thread Quintin Beukes
VDS-lamps-ejb-3.0.jar http://openejb.apache.org/xml/ns/openejb-jar-2.2";> net.kunye VDS-lamps-ejb 3.0 jar Quintin Beukes

Redeploying Depended on Applications

2009-10-26 Thread Quintin Beukes
ow I should set up my "minor revision" upgrade procedures. Q Quintin Beukes

Re: Updating Geronimo

2009-10-26 Thread Quintin Beukes
artifacts in their plan.xml and geronimo-plan.xml, but I see no such version in config.ser. I understand it's not exactly related to this question, but I once had the same question, which is where these questions of mine originated. Quintin Beukes On Mon, Oct 26, 2009 at 4:10 PM, Ivan

Re: Persistence unit annotation having no effect

2009-10-23 Thread Quintin Beukes
Just to clarify: >> If there are 2 persistence.xmls, IMO any time this works you've found a bug, >> and the bug might depend on a particular classloader structure that occurs >> in your tests but not runtime environment. > > Which JPA spec version is supported by Geronimo? In the EJB3.0 spec > thi

Re: Persistence unit annotation having no effect

2009-10-23 Thread Quintin Beukes
Hey David, Thanks for the response. See below > How many persistence.xml files are there?  AFAIK persistence units can't > refer to each other, so you might be able to get things to work if the > classes are distributed between jars A and B but there is only one > persistence.xml, in B.  In this

Re: Persistence unit annotation having no effect

2009-10-23 Thread Quintin Beukes
I think I might have why it works in OpenEJB and not in Geronimo. It seems Geronimo has OpenJPA do the management, where OpenEJB does it themselves. Is there a way I can pass this responsibility over to OpenEJB instead? Quintin Beukes On Fri, Oct 23, 2009 at 3:25 PM, Quintin Beukes wrote

Persistence unit annotation having no effect

2009-10-23 Thread Quintin Beukes
kunye VDS-lamps-ejb 3.0 jar net.kunye VDS-ejb 3.0 jar net.kunye KMS-Personnel-ejb 1.0 jar Can someone please advise how to get around this. It's an urgent problem. Quintin Beukes

Re: Geronimo 2.2 fails can't load beans with @RunAs("Role")

2009-10-21 Thread Quintin Beukes
entication. Meaning, ONLY applications can authenticate against it (ie. no remote clients via OpenEJB). Anyone can give me a basic overview of how this is possible. Even if a some server modifications need to be made. Quintin Beukes On Mon, Oct 19, 2009 at 8:35 PM, Quintin Beukes wrote: >

Re: Geronimo 2.2 fails can't load beans with @RunAs("Role")

2009-10-19 Thread Quintin Beukes
of this one as well. I was thinking of a simple properties realm. Is there something simpler? And if I do this, do I then use the CredentialStore for the run-as? Quintin Beukes On Mon, Oct 19, 2009 at 6:26 PM, David Jencks wrote: > As far as I understand what you are trying to do, you can&

Re: Geronimo 2.2 fails can't load beans with @RunAs("Role")

2009-10-19 Thread Quintin Beukes
ut having to specify credentials. It's not a security leak, as this bean ONLY has an @PostConstruct method, so no methods are exposed which can be exploited, so magic execution as "Admin" is acceptable. Quintin Beukes On Mon, Oct 19, 2009 at 12:15 PM, Quintin Beukes wrote: > Hey,

Geronimo 2.2 fails can't load beans with @RunAs("Role")

2009-10-19 Thread Quintin Beukes
t.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:619) 2009-10-19 12:11:30,894 INFO [SessionFactoryImpl] closing Can someone please advise. Quintin Beukes

geronimo-maven-plugin

2009-10-16 Thread Quintin Beukes
Hey, Is there anyway to have the plugin do a conditional deploy if it isn't deployed and redeploy if it is deployed? Quintin Beukes

Re: Disable username/password authentication while server shutdown

2009-10-16 Thread Quintin Beukes
Is this a Linux O/S? If so, do you have an init script that does the shutdown. If it's Linux I assume so, because the alternative would be a kill signal. So, to do this in Linux I stored my username and password in file which only root can read, then I have these added to the geronimo.sh script's

Re:

2009-10-15 Thread Quintin Beukes
As far as I know it does support SOAP. The EJB implementation for Geronimo is OpenEJB, and it has some examples for Web Services. Have a look at the examples download on http://openejb.apache.org/download.html and then the "simple-webservice" example. Quintin Beukes On Thu, Oct 15,

Re: How to deploy plain html-files with geronimo?

2009-10-14 Thread Quintin Beukes
Now I learn something new. Thanks :> Quintin Beukes On Tue, Oct 13, 2009 at 8:35 PM, David Jencks wrote: > > On Oct 13, 2009, at 10:12 AM, Quintin Beukes wrote: > >> Why does it have to have a servlet at all? > > You need a default servlet to serve static content.  Je

Re: How to deploy plain html-files with geronimo?

2009-10-13 Thread Quintin Beukes
Why does it have to have a servlet at all? Quintin Beukes On Tue, Oct 13, 2009 at 7:05 PM, David Jencks wrote: > > On Oct 13, 2009, at 8:31 AM, juhanay wrote: > >> >> Hi >> My problem is simple. How to deploy plain html-files or a directory to a >> user with

Re: Stateful session bean has no state

2009-10-13 Thread Quintin Beukes
> Thank you very much for your detailed answer. By the way, and only to learn, > what would you answer to people who think EJB 3 is still far more complex > than other alternatives. To tell you the truth, I wouldn't know what to say. The only other alternative I know of is Spring, and it's a compl

Re: Stateful session bean has no state

2009-10-13 Thread Quintin Beukes
app = new MyApplication(); new InitialContent().bind("inject", app); session.setAttribute("MyApplication", app); } app.handleCartRequest(request, response); } Quintin Beukes On Tue, Oct 13, 2009 at 1:43 PM, Quintin Beukes wrote: > No problem. Your question and intentions

Re: Stateful session bean has no state

2009-10-13 Thread Quintin Beukes
No problem. Your question and intentions are completely valid. See my answers below. > Thank you once again. Now it has state, the problem now is that it has the > same state for everybody. I used two browsers at a time, a Firefox and an > IE. They both had the same state, if I refreshed one of t

Re: Stateful session bean has no state

2009-10-12 Thread Quintin Beukes
- it must be exposed via the interfaces as well). This will cause the bean to be garbage collected. The alternative is to have it timeout, but in a very busy system with long timeouts this could potentially waste a lot of resources. I hope this solves your problem. Quintin Beukes On Mon, Oct 12, 2009

Re: Stateful session bean has no state

2009-10-12 Thread Quintin Beukes
Are you storing your session bean instance in the servlet/JSP session context? Quintin Beukes On Mon, Oct 12, 2009 at 8:48 PM, Antonio Fornié wrote: > > Hello again! > > I made a stateful sessiob bean and it's working the same way my stateless > beans do: they forget th

Re: Where to download an ejb3 app already packaged/deployed

2009-10-09 Thread Quintin Beukes
It's not a problem asking for help. Rather ask than be stuck for hours. Quintin Beukes On Fri, Oct 9, 2009 at 10:07 AM, Antonio Fornié wrote: > > It works. It works. It works. Thank you (Quintin and djencks) very much for > your help. > > My next step will be MDBs and int

Re: Where to download an ejb3 app already packaged/deployed

2009-10-08 Thread Quintin Beukes
> Yes, I will try to work with Eclipse, my favorite IDE, but last time I tried > I had so many problems and now that I try again I read that people is having > problems with Galileo... so before IDE integration, I was going to try a > really simple sample app (so simple not to need IDE integration

Re: Where to download an ejb3 app already packaged/deployed

2009-10-08 Thread Quintin Beukes
quality and ever improving (compare 2.1 to 2.2 docs) and I've found it very useful to get a good "impression" on where to find things. Quintin Beukes On Thu, Oct 8, 2009 at 12:38 PM, Antonio Fornié wrote: > > Hello! > > Some months ago I started working with Geronimo

Re: A lock could not be obtained within the time requested

2009-10-08 Thread Quintin Beukes
, and start over creating them. Quintin Beukes On Thu, Oct 8, 2009 at 1:17 AM, ericp56 wrote: > > I used the Monitoring pages in the Web Console. > > I think it may have been that I added a server in the Monitoring section, > had some items monitored on the server, and the

Re: How does the Client Container work?

2009-09-29 Thread Quintin Beukes
tag, and once executed would "install" geronimo into a local directory on the machine. If it's already installed it would just execute it. JNLP purists disagree with this. I myself don't see anything wrong with this, as it fits perfectly into the "deployment science"

Re: How does the Client Container work?

2009-09-29 Thread Quintin Beukes
information on JNLP is available at http://jcp.org/en/jsr/ detail?id=056; more information on Java Web Start is available at http:// java.sun.com/products/javawebstart. Quintin Beukes On Tue, Sep 29, 2009 at 12:24 PM, Quintin Beukes wrote: > Hey, > > If you go read the JavaEE 5.0 spec

Re: How does the Client Container work?

2009-09-29 Thread Quintin Beukes
e spec does specify security in the container is a requirement, so this helps out a bit with having the client be "very standalone". Quintin Beukes On Tue, Sep 29, 2009 at 11:56 AM, Quintin Beukes wrote: > I posted a link to the book on a new thread. > Quintin Beukes > >

Geronimo Book

2009-09-29 Thread Quintin Beukes
Hey, For anyone interested, this book together with the docs, help me a lot these days: http://www.redbooks.ibm.com/abstracts/SG247639.html I haven't seen it linked on the Geronimo docs (compared to Aaron Mulder's book which is linked there). Quintin Beukes

Re: How does the Client Container work?

2009-09-29 Thread Quintin Beukes
I posted a link to the book on a new thread. Quintin Beukes On Tue, Sep 29, 2009 at 11:46 AM, Quintin Beukes wrote: > Then further, a book written by IBM states: > > With WASCE, the following considerations apply: >   Unlike other Java EE application servers, WASCE does not prov

Re: How does the Client Container work?

2009-09-29 Thread Quintin Beukes
nd is connected to remote clients using traditional JavaEE "remoting" techniques, such as remote EJBs. This is done inside the EJB layer. The actual "application client" part is purely for wrapping the application's parts inside the EE container. Quintin Beukes On Tue, Sep 2

Re: How does the Client Container work?

2009-09-29 Thread Quintin Beukes
but I get similar features (ie. dependency injection, security, etc.). Quintin Beukes On Tue, Sep 29, 2009 at 9:17 AM, David Jencks wrote: > > On Sep 28, 2009, at 11:45 PM, Juergen Weber wrote: > >> >> OK, thanks, so that is consistent to the way Weblogic server does it, you &

Re: unsubscribe

2009-09-22 Thread Quintin Beukes
Hey Pete, Just send an empty message to: user-unsubscr...@geronimo.apache.org Quintin Beukes On Tue, Sep 22, 2009 at 7:15 PM, Pete Clark wrote: > >

Re: Including Deployment Plans in the Archive

2009-09-16 Thread Quintin Beukes
follow the name covention for Geronimo. > > Refer to the doc at > http://cwiki.apache.org/GMOxDOC22/understanding-deployment-plans.html > > Jeff C > > > On Wed, Sep 16, 2009 at 6:22 PM, Quintin Beukes wrote: >> >> Hey, >> >> Everytime I deploy I have t

Including Deployment Plans in the Archive

2009-09-16 Thread Quintin Beukes
Hey, Everytime I deploy I have to include the .xml plan file. This is fine, I don't mind. I was curious though if it's possible to wrap them in the archives? -- Quintin Beukes

Anyway Pigeons can be integrated in Geronimo?

2009-09-15 Thread Quintin Beukes
Just something to make your day: http://www.news24.com/Content/SciTech/News/1132/1bc8b09e39b043928317dc769d4196e4/09-09-2009%2012-23/Pigeon_beats_Telkom -- Quintin Beukes

Re: Database Pool creation exception

2009-09-15 Thread Quintin Beukes
t it was not working. It was only by chance > that I ran Geronimo from the command line and found creating the pool > worked. Perhaps its just me... > -- > View this message in context: > http://www.nabble.com/Database-Pool-creation-exception-tp25425055s134p25443458.html > Sent from the Apache Geronimo - Users mailing list archive at Nabble.com. > > -- Quintin Beukes

Re: Starting Geronimo with More PermGen

2009-09-14 Thread Quintin Beukes
7 PM, Kevan Miller wrote: > > On Sep 14, 2009, at 1:29 PM, Quintin Beukes wrote: > >> I assume that if you have a reference to one of these classes from >> outside the application then it can prevent some classes to be GC'ed, >> like a static reference you created in som

Re: Starting Geronimo with More PermGen

2009-09-14 Thread Quintin Beukes
I assume that if you have a reference to one of these classes from outside the application then it can prevent some classes to be GC'ed, like a static reference you created in some global class? Is this mostly the case, or is it more specialized? Q On Mon, Sep 14, 2009 at 6:58 PM, Quintin B

Re: Starting Geronimo with More PermGen

2009-09-14 Thread Quintin Beukes
u undeploy, won't this clear all references to these classes? Can you give me an example scenario of a real life memory leak which causes a leak and eventually PermGen OOME. Thanks, Q On Mon, Sep 14, 2009 at 5:06 PM, Kevan Miller wrote: > > On Sep 14, 2009, at 10:07 AM, Quintin Beukes wr

Re: Starting Geronimo with More PermGen

2009-09-14 Thread Quintin Beukes
> Using Sun JDK, if you run with -XX:+HeapDumpOnOutOfMemoryError you'll > generate a java_pid.hprof file. This file can be used to > diagnose your problem. We can help, if you collect this data and post it to > a Jira. Sorry, I didn't read this well. Should I post it to JIRA even if its > 20MB ? >

Re: Starting Geronimo with More PermGen

2009-09-14 Thread Quintin Beukes
issue for you guys. Over here it's very expensive, so you tend to start treating it like our ancestors treated food during a dry season... especially when you use a lot of it already. Q On Mon, Sep 14, 2009 at 6:31 PM, Quintin Beukes wrote: > I'm running with that now, but since th

Re: Starting Geronimo with More PermGen

2009-09-14 Thread Quintin Beukes
d it to a local public FTP, meaning you'll probably get faster download next time. Q On Mon, Sep 14, 2009 at 5:06 PM, Kevan Miller wrote: > > On Sep 14, 2009, at 10:07 AM, Quintin Beukes wrote: > >> Doesn't Sun have a GC on the PermGen? Or is it just low priority, >> m

Re: Starting Geronimo with More PermGen

2009-09-14 Thread Quintin Beukes
oftware Engineer > McLane Advanced Technology > > "Do or do not, there is no try." - Yoda > > -Original Message- > From: Quintin Beukes [mailto:quin...@skywalk.co.za] > Sent: Sunday, September 13, 2009 7:15 AM > To: user@geronimo.apache.org > Subject: Re: S

Re: Starting Geronimo with More PermGen

2009-09-13 Thread Quintin Beukes
Geronimo as a service. > > > Russell Collins > Sr. Software Engineer > McLane Advanced Technology > > "Do or do not, there is no try." - Yoda > > -Original Message- > From: Quintin Beukes [mailto:quin...@skywalk.co.za] > Sent: Friday, September 11, 2009

Re: Replacing the server-security-config plugin

2009-09-12 Thread Quintin Beukes
Thanks. That helps. I'll see what I can do. Q On Sat, Sep 12, 2009 at 12:49 AM, David Jencks wrote: > > On Sep 11, 2009, at 3:16 PM, Quintin Beukes wrote: > >> OK. So I found the reference. It's like so: &g

Re: Spring in Geronimo

2009-09-12 Thread Quintin Beukes
that loads in here, and from it's loading load other files. I think it keeps it simple (unlike the previous ones I mentioned), and gives the same freedom. What did you have in mind? Q On Sat, Sep 12, 2009 at 12:12 PM, Quintin Beukes wrote: > Regarding your message on having OpenEJB loa

Re: Spring in Geronimo

2009-09-12 Thread Quintin Beukes
nimo/OpenEJB is something valuable. So just let me know what to do. Q On Sat, Sep 12, 2009 at 12:08 PM, Quintin Beukes wrote: > I actually have something here. > > I was trying a lot the other day to see if I can get more advanced > @Resource injections. > > Basically how it works is t

Re: Spring in Geronimo

2009-09-12 Thread Quintin Beukes
ing our applications on pre-installed systems. Geronimo makes this so easy with it's platform export, where you export a custom setup from the console :> Q On Sat, Sep 12, 2009 at 1:34 AM, David Blevins wrote: > > On Sep 11, 2009, at 3:26 AM, Quintin Beukes wrote: > >> I had a l

Re: Replacing the server-security-config plugin

2009-09-11 Thread Quintin Beukes
nsole, then exporting it > as a plugin, undeploying the original, deploying as a plugin and > restarting the server after doing the config.xml changes. > > Doesn't work either. Complains about: > org.omg.CORBA.COMM_FAILURE: socket() failed: Unable to create server > SSL socket

Re: Replacing the server-security-config plugin

2009-09-11 Thread Quintin Beukes
reate server SSL socket factory: Keystore 'geronimo-default' is locked; please use the keystore page in the admin console to unlock it: vmcid: Apache minor code: 0x5 completed: No Q On Fri, Sep 11, 2009 at 10:16 PM, Quintin Beukes wrote: > No. This isn't working right. I don'

Re: Replacing the server-security-config plugin

2009-09-11 Thread Quintin Beukes
APSHOT/car?ServiceModule=org.apache.geronimo.framework/rmi-naming/2.2-SNAPSHOT/car,j2eeType=Context,name=JavaCompContext at name java:comp 2009-09-11 22:14:40,265 INFO [Log4jService] Stopping Logging Service 2009-09-11 22:14:40,265 INFO [Log4jService] ----------

Re: Replacing the server-security-config plugin

2009-09-11 Thread Quintin Beukes
; >>         >> >> Now try and startup Geronimo. You will see the error discussing the missing >> expected gbean. >> Hope this helps, >> Joe >> >> >> >> ----- >> Errr. Ouch. *rubbing the brused area in his brain*. >> >> I

Re: Replacing the server-security-config plugin

2009-09-11 Thread Quintin Beukes
I'm just going to take this route. Saves me from setting up all those files myself. Q On Fri, Sep 11, 2009 at 9:04 PM, Quintin Beukes wrote: > Sorry, I've never created a plugin. To create a new > server-security-config plugin, do you mean I should copy > server-securi

Re: Replacing the server-security-config plugin

2009-09-11 Thread Quintin Beukes
error discussing the missing > expected gbean. > Hope this helps, > Joe > > > > - > Errr. Ouch. *rubbing the brused area in his brain*. > > I'm not that on with everything you said. I think the best thing would > be to reproduce it. What would I

Re: Replacing the server-security-config plugin

2009-09-11 Thread Quintin Beukes
error discussing the missing > expected gbean. > Hope this helps, > Joe > > > > - > Errr. Ouch. *rubbing the brused area in his brain*. > > I'm not that on with everything you said. I think the best thing would > be to reproduce it. What would I do to rep

Re: Replacing the server-security-config plugin

2009-09-11 Thread Quintin Beukes
Errr. Ouch. *rubbing the brused area in his brain*. I'm not that on with everything you said. I think the best thing would be to reproduce it. What would I do to reproduce it? Q On Fri, Sep 11, 2009 at 6:42 PM, David Jencks wrote: > > On Sep 11, 2009, at 5:49 AM, Quintin B

Re: Starting Geronimo with More PermGen

2009-09-11 Thread Quintin Beukes
nside the .groovy file, how can I reference environment variables? I'm hoping to only update setjavaenv.sh to make upgrading easier. Q On Fri, Sep 11, 2009 at 5:50 PM, Kevan Miller wrote: > > On Sep 11, 2009, at 9:52 AM, Quintin Beukes wrote: > >> Hey, >> >> How

Starting Geronimo with More PermGen

2009-09-11 Thread Quintin Beukes
908/bin/jpa.jar -Dorg.apache.geronimo.home.dir=/opt/kms/server/geronimo-2.2-200 -- Quintin Beukes

Re: Possible Bug in Geronimo when doing remote login with OpenEJB RemoteInitialContextFactory

2009-09-11 Thread Quintin Beukes
item in the changelog. Q On Fri, Sep 11, 2009 at 3:04 PM, Quintin Beukes wrote: > Sorry, missed the message. > > As I suggested on the > ticket(https://issues.apache.org/jira/browse/GERONIMO-4867), that a > good default for an "absent" option is to have it global.

Re: Possible Bug in Geronimo when doing remote login with OpenEJB RemoteInitialContextFactory

2009-09-11 Thread Quintin Beukes
rtainly a danger.  Do you think we could solve this with >> documentation?  The non-global realms interfere less with each other >> so I think they make a better default.  Any other opinions? >> >> thanks >> david jencks >> >> > > -- > View this message in context: > http://www.nabble.com/Possible-Bug-in-Geronimo-when-doing-remote-login-with-OpenEJB--RemoteInitialContextFactory-tp25382312s134p25388718.html > Sent from the Apache Geronimo - Users mailing list archive at Nabble.com. > > -- Quintin Beukes

Re: Replacing the server-security-config plugin

2009-09-11 Thread Quintin Beukes
      >                  class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal" > name="admin" /> >              >          >      > > So, your login module needs to supply a principal of > class GeronimoGroupPrincipal and name "admin". > Let us know if this doesn't work. > thanks > david jencks > > Thanks, > Joe > -- Quintin Beukes

Re: Spring in Geronimo

2009-09-11 Thread Quintin Beukes
Q On Fri, Sep 11, 2009 at 1:37 PM, Fredrik Jonson wrote: > Quintin Beukes wrote: > >>  I had a look at the Spring in OEJB 3.1. Works well. Very nice feature. >>  My question is how I can get the same running in Geronimo. > > I've used spring for webapps in G. Sp

Spring in Geronimo

2009-09-11 Thread Quintin Beukes
cally loading spring configurations. Any ideas on how to do this? -- Quintin Beukes

Re: Possible Bug in Geronimo when doing remote login with OpenEJB RemoteInitialContextFactory

2009-09-10 Thread Quintin Beukes
t took me hours to figure this out. Imagine how long other less-determined folks would take, or would they just give up? Q On Thu, Sep 10, 2009 at 2:20 PM, Quintin Beukes wrote: > Hey, > > Is this a bug, or did something change I don't know of? Note that it > is 2.2, so it could

Configuring Plugin Dependencies

2009-09-10 Thread Quintin Beukes
time I edit the plan.xml and geronimo-plugin.xml, adding new dependencies, they don't get recognized when I restart. -- Quintin Beukes

Possible Bug in Geronimo when doing remote login with OpenEJB RemoteInitialContextFactory

2009-09-10 Thread Quintin Beukes
t java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) at java.lang.Thread.run(Thread.java:595) -- Quintin Beukes

Re: Can I make Geronimo work with my own implementation of web server?

2009-09-09 Thread Quintin Beukes
Yes, it all depends on how up in the class tree you are overriding. Which is why I made implementations of all the classes to the top. This gave me total control for optimization and ability. Q On Wed, Sep 9, 2009 at 11:50 AM, sim085 wrote: > > > > Quintin Beukes-2 wrote: >&

3.0 Singleton in Container Question

2009-09-08 Thread Quintin Beukes
B/Geronimo, which someone can use to add basic Spring integration to Geronimo 2.1 or OpenEJB 3.0. -- Quintin Beukes

Re: Can I make Geronimo work with my own implementation of web server?

2009-09-07 Thread Quintin Beukes
.*/cgi-bin/.* \.php(\?.*)?$ .*/cgi-bin/.* .* Q On Mon, Sep 7, 2009 at 9:21 PM, Quintin Beukes wrote: > Well, it is quite tricky doing custom protocols. Though I had a va

Re: Can I make Geronimo work with my own implementation of web server?

2009-09-07 Thread Quintin Beukes
started with a little bit of a negative attitude towards Tomcat, hoping Jetty would win. In the end Tomcat really made an impression on me. So all in all. What you would do should be possible, depending on the nature of the protocol you wish to implement. And if it's possible, you shou

Re: Can I make Geronimo work with my own implementation of web server?

2009-09-06 Thread Quintin Beukes
; was usually > used to mean "server for http requests". > > thanks > david jencks > >> >> Regards, >> Sim085 >> >> -- >> View this message in context: >> http://www.nabble.com/Can-I-make-Geronimo-work-with-my-own-implementation-of-web-server--tp25320346s134p25320346.html >> Sent from the Apache Geronimo - Users mailing list archive at Nabble.com. >> > > -- Quintin Beukes

Re: Login Contexts NOT working

2009-09-06 Thread Quintin Beukes
you trying to use > kerberos?  You may want to look into corba support since that provides a > more sophisticated security system than openejb does natively, although it > is somewhat difficult to understand how to set up. > > thanks > david jencks > > On Sep 6, 2009, at 4

Re: Login Contexts NOT working

2009-09-06 Thread Quintin Beukes
hich references OpenejbRemoteLoginModule ... handler = new SomeCallbackHandler(); subject = new Subject(); loginContext = new LoginContext(LoginConfiguration.LOGIN_CONFIG_NAME, subject, handler, loginConfiguration); Then I login and if successful, how do I retrieve the InitialContext? Q On Sun, Sep 6, 2009 at 1:02 PM,

Re: Login Contexts NOT working

2009-09-06 Thread Quintin Beukes
still uses JAAS (it seems), I should probably just be able to propagate the details to the client and do the sign on with these details. This would be the first time I use GSS so I'm not really sure how it works. Q On Sun, Sep 6, 2009 at 9:08 AM, David Jencks wrote: > > On Sep 5, 2

Re: Login Contexts NOT working

2009-09-05 Thread Quintin Beukes
patch submissions or wiki updates. Q On Sat, Sep 5, 2009 at 6:55 PM, David Jencks wrote: > > On Sep 5, 2009, at 8:40 AM, Quintin Beukes wrote: > > My oh my this week has given me headaches. I went through hundreds of >> lines of code for both geronimo and OpenEJB, and

Login Contexts NOT working

2009-09-05 Thread Quintin Beukes
J2EEApplication=null,j2eeType=JACCManager,name=JACCManager did not start because Unknown realm: KMSRealm I am up to my head in frustration. I gave Geronimo a try on a redev of a project, but what took me about half a day to setup on Glassfish has now taken me a week. Can anyone please help me out, because I really want to have Geronimo's benefits in my applications. -- Quintin Beukes

Geronimo Application Client Web Launch

2009-09-05 Thread Quintin Beukes
Hey, What would be required to have an application client launch via WebStart? I just read a shocking messages that the whole Geronimo server (about 150MB) is required to launch an application client. Is this true?? -- Quintin Beukes

Re: JAAS Login Callback Retries

2009-09-04 Thread Quintin Beukes
Here is a link to the patch's issue: https://issues.apache.org/jira/browse/GERONIMO-4848 On Fri, Sep 4, 2009 at 9:07 PM, Quintin Beukes wrote: > The reason I put it in the login module itself is because you get different > types of login modules, some not supporting the "retr

Re: JAAS Login Callback Retries

2009-09-04 Thread Quintin Beukes
how the exception (which looks dirty) in legitimate cancels, but people would have a better idea of what's happening in the cases where their code has bugs. Let me know what your feelings are. Q On Fri, Sep 4, 2009 at 8:58 PM, Quintin Beukes wrote: > Yeah, I actually made a modification of Ope

Re: JAAS Login Callback Retries

2009-09-04 Thread Quintin Beukes
hich is actually how I noticed your message (I came looking for my Apache JIRA username in my e-mail archive). Q On Fri, Sep 4, 2009 at 5:57 PM, David Jencks wrote: > > On Sep 4, 2009, at 6:06 AM, Quintin Beukes wrote: > > Hey, >> >> I created an application client, securi

JAAS Login Callback Retries

2009-09-04 Thread Quintin Beukes
thought that the application client container which invokes the callback would at least give an X amount of tries, or infinite tries until I raise some type of exception out of the CallbackHandler. Is there anyway to configure these things? -- Quintin Beukes