Re: [ANNOUNCE] Welcome Jay McHugh as Geronimo's latest committer

2007-06-26 Thread Manu George

Congrats Jay

On 6/26/07, Vamsavardhana Reddy <[EMAIL PROTECTED]> wrote:

Congratulations Jay!

Vamsi

On 6/23/07, Matt Hogstrom <[EMAIL PROTECTED]> wrote:
> I think everyone knows Jay and I have the honor of announcing that he
> recently accepted an invitation to join the Apache Geronimo project.
> Jay has been working with Geronimo for several months now and is one
> of those folks that brings a great perspective of someone who not
> only works on the server but uses it as well.  It will be great to
> see the contributions Jay brings to the project.
>
> Matt
>



Re: How important is simplifying Creation/Updation of Geronimo Deployment Plans?

2007-06-26 Thread Vamsavardhana Reddy

Shiva,

I think this portlet will be very useful.  I would like to see it
handle annotations, security configuration and other functions missing
right now.  May I suggest that you add another INFO page (between
archive selection and the first step in the plan creation page) to
show what all the application uses, like JMS Resources, security realm
etc and suggest the user to create those artifacts before proceeding
further with plan creation.

Regards,
Vamsi

On 6/21/07, Shiva Kumar H R <[EMAIL PROTECTED]> wrote:

I have some working code in this regard :-)

Please check
http://issues.apache.org/jira/browse/GERONIMO-3254.

Work is based on JSR88 DConfigBeans as suggested by David Jencks and related
code in "
org.apache.geronimo.console.jmsmanager.wizard.AbstractHandler.save()"

Wizard walks the user through a series of steps and auto creates Geronimo
Deployment Plan for Web Applications.

So what is handled automatically?
JMS Connection Factory references, JMS Destination references, EJB
references, EJB Local references, JDBC Connection Pool references, and
Dependencies.

What is not handled currently?
1) GBean References, Web service references, Resource references to JavaMail
resources, EJB references to EJBs running outside the current server via
CORBA.
2)  Security Configurations.
3) WARs with Annotations! (need help here)

"WebAppJMSAccess_Annotations.war" attached has references
to a JMS connection factory and a JMS destination. These references are
declared through Annotations and there are no corresponding entries in "
web.xml".

Are there any APIs where in I can pass this WAR and obtain a meta-data
complete web.xml without affecting the server state?

- Shiva


On 5/23/07, David Jencks <[EMAIL PROTECTED]> wrote:
>
> You may get in trouble with these tools related to the followin
situations:
>
>
> 1. We have some abstract types and substitution groups for various things
such as gbeans.  I'm not sure how you can supply the complete set of schemas
needed to the tool so it can recognize all the possible valid elements.  In
geronimo, we have a really bad workaround to this where we ignore validation
errors (which show up as NPEs or assertion errors) when the validator
encounters a concrete type/ substitution element it doesn't recognize.
>
>
> 2. We may be using the same bad workaround to allow you to include a
persistence.xml document in your plan and have treated as an alternate gbean
definition.  I might have fixed this to explicitly allow this element in our
plans in the appropriate places, I don't recall.
>
>
> Also, the geronimo deployer does a lot of xml fixup, namespace
substitution, etc to allow you to deploy with plans that are not valid as
written.  This is how we try to provide support for deployment of older plan
schemas.  You may want to consider using some of that code in any validation
or editor code.
>
>
> thanks
> david jencks
>
>
>
>
> On May 23, 2007, at 5:05 AM, Shiva Kumar H R wrote:
>
> Thanks for the comments Kanchana.
>
> I did a quick search for "tools to validate XML against multiple schema"
and I found this interesting:
http://xmlbeans.apache.org/docs/2.0.0/guide/tools.html#validate
>
> After including XMLBeans' bin directory under 'Path', I tried these:
> 1) Used 'dayTrader-plan.xml' available from WAS-CE v1.1.0.1 samples and
ran
> validate
\schema\geronimo-application-1.1.xsd
e:\dayTrader-plan.xml
> and it said,
> e:\dayTrader-plan.xml valid.
>
> 2) Introduced an error in "dayTrader-plan.xml" (removed 
element) and ran the above validate command. As expected it threw below
errors:
>
> e:\dayTrader-plan.xml NOT valid.
> e:\dayTrader-plan.xml:6:7: error: cvc-complex-type.2.4a: Expected element
'artifactId@
http://geronimo.apache.org/xml/ns/deployment-1.1 ' instead
of
'[EMAIL PROTECTED]://geronimo.apache.org/xml/ns/deployment-1.1 '
here in element moduleId@
http://geronimo.apache.org/xml/ns/deployment-1.1
> ...
>
> Is this what you were looking for?
>
> - Shiva
>
>
> On 5/22/07, Kanchana Welagedara < [EMAIL PROTECTED]> wrote:
> > Hi Shiva
> >
> > Went through the proposal posted.Also believe Creating or updating of
> > Geronimo Deployment Plans has always been a tedious and erroneous task
> > since in geronimo, user has to work on so much of manual editing in
> > deployment plans.So it's obvious new users find problems and issues when
> > it comes to correctly creating Geronimo deployment plans.Also user has
> > no way to verify the deployment plan before the deployment process
> > starts.Deployment errors are tracked at the level of deployment.How
> > about a adding a deployment plan validator(setting the xsd in the xml
> > file and using the schema location) feature in this proposal for the
> > people who used to create deployment plans manually and can reuse it for
> > future developments.Because it will take time to come out this proposal
> > as a product.
> >
> > Regards
> > Kanchana
> >
> > On Tue, 2007-05-22 at 10:29 +0530, Shiva Kumar H R wrote:
> > > As recommended b

RE: Struts 2/Geronimo Security Realm best practices

2007-06-26 Thread Mark Aufdencamp
A nice example of defining Realms and Roles exists in the sample applications.
 
http://cwiki.apache.org/GMOxDOC11/web-application-security-sample.html
I'm using Struts 1.2 with a MySQL Backed Security Realm.  The real trick involves setting up a login page with the proper form that submits to j_security_check along with setting up the security realm and the roles in web.xml/geronimo-web.xml.  If you've cheked out the sample and have more specific questions, post them and we'll give a shot at a right answer.:)
 
Mark Aufdencamp
[EMAIL PROTECTED]

 Original Message Subject: Struts 2/Geronimo Security Realm best practicesFrom: Java_James <[EMAIL PROTECTED]>Date: Mon, June 25, 2007 3:53 pmTo: user@geronimo.apache.orgHi all,

I'm new to the world of struts 2 and geronimo.  I was wondering if there
were any best practices when it came to setting up your web
application to
use Geronimo's security realm.

I'm hoping to be able to call the security realm through an action (or
some
sort of wrapped object doing the authentication).  There seems to be very
little documentation on using the two technologies together.

Any help would be appreciated.

Thanks.
-- 
View this message in context:
http://www.nabble.com/Struts-2-Geronimo-Security-Realm-best-practices-tf3978596s134.html#a11294301
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.