Re: Re: GBean use and deployment

2006-07-18 Thread tbot55
Sorry if these messages are munged, but I believe the plans are correct (please still correct me if I'm wrong). I believe a new problem has emerged: - Exception in thread "Thread-3" java.lang.NoClassDefFoundError: javax/servlet/http/HttpSession at java.lang.ClassLoader.de

Re: Re: GBean use and deployment

2006-07-18 Thread tbot55
Also, does false no longer work in geronimo-web.xml following the tag? Is there a replacement? Tyler --- Aaron Mulder <[EMAIL PROTECTED]> wrote: > You're right -- gbean-ref only works in 1.1. Your > GBean needs to > implement an interface, and the gbean-ref and lookup > should go by the > int

Re: Re: GBean use and deployment

2006-07-18 Thread tbot55
Thanks Aaron, We're still having issues, so I've attached my plans. ClusterMonitorPlan.xml is for the GBean jar. - Contains the declaration geronimo-web.xml is for the ClusterManager-1.0.war - contains the tag web.xml is also for the ClusterManager-1.0.war The interface class is: org.cait.Cl

Re: GBean use and deployment

2006-07-15 Thread tbot55
I have 1.1 up and running, and am now getting an error with the : Error: Unable to distribute example-1.0.war: Could not resolve reference at deploy time for queries [?name=InstanceName#com.example.GBean] No matches for referencePatterns: [?name=InstanceName#com.example.GB

Re: GBean use and deployment

2006-07-14 Thread tbot55
Aaron, Found this note in your book: The schema includes a placeholder element (gbean-ref) for GBean references (that is, putting a reference to an arbitrary GBean in the component's java:comp/env JNDI space), but that is not yet working in Geronimo 1.0 so it is not covered here. I guess we need

Re: GBean use and deployment

2006-07-14 Thread tbot55
Thanks! I tried it, the only problem is the configuration. Geronimo does not like . Is this something specific to Geronimo 1.1? So now the code is modified correctly, as you have pointed out, and compiles. However, Geronimo doesn't like the geronimo-web.xml modifications. Is the a standalone ta

GBean use and deployment

2006-07-14 Thread tbot55
I have successfully deployed a GBean using a deployment plan. I have added a new jar to the repository, and I reference the class in the deployment plan. Now, my question is: How do I access the deployed class via the GBean from my web service/application? Thanks. Tyler

Re: class loading issue

2006-01-23 Thread tbot55
Even better! Tyler --- Aaron Mulder <[EMAIL PROTECTED]> wrote: > Tyler, > > You shouldn't need any code changes for this. If > you want to hide > classes on the server class path from your > application, just add > elements to your web plan listing > the packages you > want to hide. e.g.: >

Re: class loading issue

2006-01-23 Thread tbot55
Even better! Tyler --- Gianny Damour <[EMAIL PROTECTED]> wrote: > Now that I do know that Log4J in also in > WEB-INF/lib, I think this works: > > 1. set context-priority-classloader to false (or do > not set it at all); and > 2. add these filters to your geronimo-web.xml DD: > > >

Re: class loading issue

2006-01-23 Thread tbot55
OK, this time my workaround is probably the fix you guys need to commit into HEAD. Someone can get credit for submitting a bug with the fix. Yeah, so the app I'm running also has its own org.apache.commons.logging and org.apache.log4j, so I added those entries in the TomcatClassLoader methods (the

Re: class loading issue

2006-01-23 Thread tbot55
Yeah :(. I tried that, and it isn't working. Basically, Geronimo says that some appender was loaded by the TomcatClassLoader and another ConsoleAppender was loaded by the sun.misc.LancherAppClassLoader. Here's the full dump: log4j:ERROR A "org.apache.log4j.ConsoleAppender" object is not assignable

class loading issue

2006-01-23 Thread tbot55
Note that my application has each of these jars in the WEB-INF/lib directory. It's strange to me that these lib files are being ignored, and Geronimo is going to the repository instead of the ones found there. On top of that, it is going to the lib directory for some of the jars, however, it never

class loading issue

2006-01-22 Thread tbot55
I must be misunderstanding something. Here's my problem. I'm trying to use an application that requires a different version of jdom.jar and axis.jar, and it also uses commons-httpclient.jar, which isn't found in the geronimo repository. It does some webservices stuff. So I replace the jdom.jar in

Re: modules/assembly directory removed???

2005-12-10 Thread tbot55
hh, I should join that dev-list. Thanks! Tyler --- Aaron Mulder <[EMAIL PROTECTED]> wrote: > We've switched to a new way of building that allows > for more > customized distributions of Geronimo. To build the > most current > source, you should do something like this (there > have been more

Fwd: modules/assembly directory removed???

2005-12-10 Thread tbot55
I'm going to try grabbing the modules/assembly directory from the stock M5 download. Tyler Note: forwarded message attached. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --- Begin Messag

RE: JNDI remote authentication problem

2005-12-10 Thread tbot55
> What really helped is correcting > modules/assembly/maven.xml file and I've done two fresh checkouts in the last few hours, and NO modules/assembly directory comes with the checkout. Am I doing something wrong? Here's the command I use: svn checkout http://svn.apache.org/repos/asf/geronimo/trun

modules/assembly directory removed???

2005-12-10 Thread tbot55
Hey, Why is the modules/assembly directory not in the SVN checkout (svn checkout http://svn.apache.org/repos/asf/geronimo/trunk geronimo)? I noticed that it was removed between SVN version 354829 and 354830. I've also noticed a new modules/scripts directory, but it hasn't been modified since djenc

sorry for spamming the list -- retrieving the datasource

2005-10-20 Thread tbot55
OK, I can verify users against the database using the SQLLoginModule. I've created a servlet (my first one ever!) that takes in the user information and stores it into the same table of the database, and adds an entry to the groups table, too. They can then go to the login page, login and they even

Re: Geronimo M5 : magicGball

2005-10-20 Thread tbot55
:( Too bad there aren't tests for the demos before launching new versions. Tyler --- David Jencks <[EMAIL PROTECTED]> wrote: > MagicGball works for me on head. i think the M5 > copy is broken. I > recently changed it so the app-client to server > communication is over > corba rather than th

Re: The state of Geronimo --

2005-10-20 Thread tbot55
The unit test does not use the universal DB2 driver. I think it really should since Geronimo is backed by IBM. And that way people that use it would have an example to go by. It uses org.hsqldb as a driver. Anyways, I have a feeling that the way to get the database connector as you, David, said be

Re: The state of Geronimo

2005-10-19 Thread tbot55
At the bottom of the login() method in SQLLoginModule: found should be returned, not true :). My first fix to Geronimo! Tyler --- [EMAIL PROTECTED] wrote: > Actually, I found a serious bug, I got an exception > on > the executeQuery() statement, and it went to the > finally{}, returned true, an

Re: The state of Geronimo

2005-10-19 Thread tbot55
Actually, I found a serious bug, I got an exception on the executeQuery() statement, and it went to the finally{}, returned true, and gave me access. This is probably an easy fix, but was just telling you guys about this hole. Tyler --- [EMAIL PROTECTED] wrote: > Yee haw! It works, debugging i

Re: The state of Geronimo

2005-10-19 Thread tbot55
Yee haw! It works, debugging in the code is my best bet at this point. The DB2 universal driver didn't want the username and password passed in the URL and as properties. Thanks all! Now I could easily do the parameterized username stuff. I'll try modifying it now. Tyler --- David Jencks <[EMA

Re: The state of Geronimo

2005-10-19 Thread tbot55
I'm so determined I'm rebuilding M5 with print statements in the SQLLoginModule file. Something's clearly wrong with something (dunno what). I may be narrowing it down. From then I guess I can build my own modules that will connect to the database the way I want, no? If there's a quicker way to re

Re: Connectors -- PHP and Geronimo?

2005-10-19 Thread tbot55
Yeah, that would be cool. Has anyone done that? Tyler --- Miguel A Paraz <[EMAIL PROTECTED]> wrote: > On 10/20/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> > wrote: > > Does anyone know of a way to configure PHP into > > Geronimo? I think that would be a cool thing to be > > able to do as well. I s

The state of Geronimo

2005-10-19 Thread tbot55
Lets have some discussion, maybe I'm totally missing somethings. Currently I see all/most the applications I've looked at as J2EE apps. This is the goal of Geronimo, but they largly bypass the low-level purposes of Geronimo by just sticking to J2EE and JSP. Though the GBeans thing is cool. The goa

Re: Connectors -- PHP and Geronimo?

2005-10-19 Thread tbot55
Yeah, I see a bunch of articles on IBM, some here and there, but they seem to avoid any and all declarative security stuff. Does anyone know of a way to configure PHP into Geronimo? I think that would be a cool thing to be able to do as well. I see JSP is built in, as well as JavaScript. But at le

Re: Connectors -- SQLLoginModule...

2005-10-19 Thread tbot55
Thanks David, OK, so maybe I'm not sure what I need to do to get what I want done. I want to use Geronimo's SQLLoginModule class to authenticate users logging in. I also want to be able to register new users through Geronimo (if possible). I can get the GBeans to start in my deployment plan, but

Re: Connectors -- Geronimo says syntax error or no deployer service currently available

2005-10-18 Thread tbot55
I want to be able to connect to Derby for password authentication. I'd like to eventually create a form where users can register and store their data in the database. I'm using M5. Here's my deployment command: java -jar ..\..\bin\deployer.jar --user system --password manager deploy default-databa

Connectors -- Geronimo says syntax error or no deployer service currently available

2005-10-18 Thread tbot55
I'm creating a connector and want to use it to connect to Derby. Not even the connector's that come with Geronimo work! The error I'm getting is below. Thanks! Tyler Error: Unable to distribute default-database-plan.xml: Syntax error in deployment plan or no deployer service available (curren

Re: Security app--demo app in source tree

2005-10-15 Thread tbot55
Toby, Thanks! Yeah it was my problem. I went through the maven learning curve, as well as the learning where the new server.jar was supposed to be curve :) But I definitely know a lot more than I did about Geronimo! Thanks again for that bugfix for me!!! Tyler --- toby cabot <[EMAIL PROTECTED]

Re: Security app--demo app in source tree

2005-10-13 Thread tbot55
ok, I'm looking at the demo app. I can find the user name passwords, etc. So I've got it up and running on localhost, but I always get the error page. I'm sure this is a simple error, or something I haven't come across yet. Thanks, Tyler --- toby cabot <[EMAIL PROTECTED]> wrote: > On Wed, Oct

Re: Security app

2005-10-12 Thread tbot55
I get it. Thanks for the URL, I'll keep you posted if I come up with issues. Also, about the app, I will first focus as though they have already paid. Thanks! Tyler --- David Jencks <[EMAIL PROTECTED]> wrote: > Some info to get you started is in this > developerworks article: > > http://www-

Security app

2005-10-12 Thread tbot55
I'm looking into building a simple application that implements the security features of Geronimo that can later be built upon. The security aspect I'd like to focus on is limiting access for certain users to a page, similar to HTTP authentication. This brings up a few questions: - Where are the