Re: Sun Jsf and Geronimo

2007-04-23 Thread Arint
I have tried installing the jsf files through geronimo and including in the 
war file and they both give the same error.

"Paul McMahan" <[EMAIL PROTECTED]> wrote 
in message news:[EMAIL PROTECTED]
Hello,  How are you trying to use the sun jsf impl?  For example are
you including it in your WEB-INF/lib?  If so then I don't expect that
would work since Geronimo filters the jsf classes from a webapps
classloader.  This is a result of the JSF 1.2 specification 10.2.5
and 10.2.6 which says that webapps should not include the jsf classes
in their archive.  As we move forward I think it would be a great
idea to make the jsf implementation pluggable, but this will probably
be done by using Geronimo's plugin system instead of bundling the JSF
jars in a webapp's archive due to this language in the specification
and because of jsf implementation-specific functionality like
resource injection for managed beans.

The jsf support in Geronimo 2.0-M4 is more complete so I think you'll
have better luck with it.  However, that version has not been
officially released yet so you will need to build it from svn tag or
look in the [EMAIL PROTECTED] archive for the announcement of M4 release
candidate binaries.

Best wishes,
Paul


On Apr 23, 2007, at 7:52 AM, Arinté wrote:

> I am trying to run sun jsf impl 1.2 on Geronimo, but I keep running  into
> errors, is it even possible?  My current error is this:
> javax.servlet.ServletException:
> org/apache/commons/lang/builder/HashCodeBuilder
> at javax.faces.webapp.FacesServlet.service (FacesServlet.java:152)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter 
> (ApplicationFilterChain.java:290)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter 
> (ApplicationFilterChain.java:206)
>
> Even though I have commons lang in my geronimo.xml.  Also, when I  export
> this project to just plain tomcat 6 it works without me adding the 
> commons
> lang jar file anywhere, meaning I don't think sun uses it, but somehow
> myfaces is getting injected in here.
>
> Any tips or guides on getting this working?  I am using Geronimo 2 M3.
> Thanks
>
>
>






Re: Geronimo's vision

2007-04-23 Thread Matt Hogstrom

Hi Bruno,

By way of background the Apache Geronimo project existed long before  
IBM took an interest in it (about two years I think).  Apache  
Geronimo is a community of a large number of folks (and yes, a good  
number of them work for IBM) which I think can be confusing.   I can  
only speak for me (and I do work for IBM) but I tend to draw a  
distinct line between my IBM job and contributing to Apache  
Geronimo.  I think it would be most excellent when a swelling of  
contributors comes and out numbers the current committer base.  I'm  
excited to see people outside of IBM picking Geronimo up and using it  
for their projects as well as contributing back to the project as Jay  
has been doing.


On Apr 23, 2007, at 2:24 PM, Bruno Melloni wrote:



When I first discovered Geronimo as an Apache project a couple of  
weeks
ago, I did not even consider the possibility of it being "single  
product

focused".  It was obvious to me that this was the next server I'd use
for my personal work.  Then I saw a couple of minor troubling signs,
like the large percentage and how a bug report was handled, and I
started to worry about whether I'd done enough research.



I was concerned about your comment about "how a bug report was  
handled" comment you mentioned above.  How was it handled that gave  
you a bad feeling?





Re: What jars need to be included to make the EJB related annotations work?

2007-04-23 Thread Jay D. McHugh
Here is where the annotation jar is located within an installed (trunk) 
G 2.0:


./repository/org/apache/geronimo/specs/geronimo-annotation_1.0_spec/1.1-SNAPSHOT/geronimo-annotation_1.0_spec-1.1-SNAPSHOT.jar

Because you're on an older version than I am, the versions you find may 
be different but that should get you close.


Also, there were a couple of significant enhancements (and a few 
important bug fixes) that came out after M3.  I would suggest 
downloading the 'unofficial' M4 binaries at:


http://people.apache.org/~hogstrom/2.0-M4-rc1/

Hopefully, there will be an official M5 soon - Once there is, I'd 
suggest switching again.


Jay

Jim Barrows wrote:

On 4/23/07, Jay D. McHugh <[EMAIL PROTECTED]> wrote:

Jim,




What type of annotations are you wanting to use?


EJB, and all the other J2EE stuff.


JPA?


These are working either via spring or Hibernate jars that I'm including.


I am using annotations related to resources and JPA and the jars that I
have added to my build path to support this are:

javax.servlet-api
javax.persistence-api
org.apache.openjpa.openjpa-persistence-jdbc
(this next one is probably the big one)




org.apache.geronimo.specs.geronimo-annotation_1.0_spec

This one I can't find.



None of these are being included in my app, they are just there to allow
Eclipse to do some validation and compile everything.

Which version of Geronimo are you trying to deploy to?


2.0 M3


Jay

Jim Barrows wrote:
> On 4/23/07, Mark Aufdencamp <[EMAIL PROTECTED]> wrote:
>> Hi James,
>>
>>  I've been using the same environment for the last few months.  If
>> you have
>> any questions regarding MyEclipse and Geronimo, feel free to send
>> them my
>> way:)
>>
>>  As your using 5.1.1, I'll presume your using EJB 2.1 with XDoclet
>> annotations.  If you haven't gone through the two EJB tutorials on 
the
>> MyEclipse site, I'd suggest checking them out.  laliluna also has 
a free

>> tutorial on defining relationships.  Thier one-to-many uni tutorial
>> is free.
>>  They also have a tutorial for more complex relationships, but I have
>> not
>> purchased it yet.
>
> I want to use Annotations, and not XDoclet.  Nothing against XDoclet.
>
>>
>>  You shouldn't require any jar's for XDoclet generation of EJB's.  If
>> you've
>> created a MyEclipse EJB project and added the EJB XDoclet support to
>> it via
>> the project properties, the ejb-jar.xml should be auto-generating for
>> you
>> when you run the MyEclipse XDoclet menu option on the project.
>> You'll need
>> to handcraft your openejb-jar.xml deployment descriptor.
>>
>> Hope that helps getting you in the right direction.
>>
>> Mark Aufdencamp
>> [EMAIL PROTECTED]
>>
>>
>>
>>
>>
>>
>>
>>
>>  Original Message 
>> Subject: What jars need to be included to make the EJB related
>> annotations work?
>> From: "Jim Barrows" <[EMAIL PROTECTED]>
>> Date: Mon, April 23, 2007 6:13 am
>> To: user 
>>
>> I'm using Eclipse 3.2.2, with the MyEclipse 5.1.1 plugins installed.
>>
>> However, when creating an EJB, the annotations do not work. After
>>
>> looking around, I realized that I needed the righ Jar file(s), but
>>
>> could not figure out with jars in Geronimo would do that for me.
>>
>> Could anyone point them out to me?
>>
>>
>>
>> --
>>
>> James A Barrows
>>
>>
>>
>
>






Re: What jars need to be included to make the EJB related annotations work?

2007-04-23 Thread Jim Barrows

On 4/23/07, Jay D. McHugh <[EMAIL PROTECTED]> wrote:

Jim,




What type of annotations are you wanting to use?


EJB, and all the other J2EE stuff.


JPA?


These are working either via spring or Hibernate jars that I'm including.


I am using annotations related to resources and JPA and the jars that I
have added to my build path to support this are:

javax.servlet-api
javax.persistence-api
org.apache.openjpa.openjpa-persistence-jdbc
(this next one is probably the big one)




org.apache.geronimo.specs.geronimo-annotation_1.0_spec

This one I can't find.



None of these are being included in my app, they are just there to allow
Eclipse to do some validation and compile everything.

Which version of Geronimo are you trying to deploy to?


2.0 M3


Jay

Jim Barrows wrote:
> On 4/23/07, Mark Aufdencamp <[EMAIL PROTECTED]> wrote:
>> Hi James,
>>
>>  I've been using the same environment for the last few months.  If
>> you have
>> any questions regarding MyEclipse and Geronimo, feel free to send
>> them my
>> way:)
>>
>>  As your using 5.1.1, I'll presume your using EJB 2.1 with XDoclet
>> annotations.  If you haven't gone through the two EJB tutorials on the
>> MyEclipse site, I'd suggest checking them out.  laliluna also has a free
>> tutorial on defining relationships.  Thier one-to-many uni tutorial
>> is free.
>>  They also have a tutorial for more complex relationships, but I have
>> not
>> purchased it yet.
>
> I want to use Annotations, and not XDoclet.  Nothing against XDoclet.
>
>>
>>  You shouldn't require any jar's for XDoclet generation of EJB's.  If
>> you've
>> created a MyEclipse EJB project and added the EJB XDoclet support to
>> it via
>> the project properties, the ejb-jar.xml should be auto-generating for
>> you
>> when you run the MyEclipse XDoclet menu option on the project.
>> You'll need
>> to handcraft your openejb-jar.xml deployment descriptor.
>>
>> Hope that helps getting you in the right direction.
>>
>> Mark Aufdencamp
>> [EMAIL PROTECTED]
>>
>>
>>
>>
>>
>>
>>
>>
>>  Original Message 
>> Subject: What jars need to be included to make the EJB related
>> annotations work?
>> From: "Jim Barrows" <[EMAIL PROTECTED]>
>> Date: Mon, April 23, 2007 6:13 am
>> To: user 
>>
>> I'm using Eclipse 3.2.2, with the MyEclipse 5.1.1 plugins installed.
>>
>> However, when creating an EJB, the annotations do not work. After
>>
>> looking around, I realized that I needed the righ Jar file(s), but
>>
>> could not figure out with jars in Geronimo would do that for me.
>>
>> Could anyone point them out to me?
>>
>>
>>
>> --
>>
>> James A Barrows
>>
>>
>>
>
>




--
James A Barrows


RE: Geronimo's vision

2007-04-23 Thread Bruno Melloni
Thank you, that is the answer that I was wishing for, but not counting
on.  

When I first discovered Geronimo as an Apache project a couple of weeks
ago, I did not even consider the possibility of it being "single product
focused".  It was obvious to me that this was the next server I'd use
for my personal work.  Then I saw a couple of minor troubling signs,
like the large percentage and how a bug report was handled, and I
started to worry about whether I'd done enough research.

Thanks for the info.  I hope other committers will also comment on the
vision.

bruno

-Original Message-
From: Jay D. McHugh [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 23, 2007 1:09 PM
To: user@geronimo.apache.org
Subject: Re: Geronimo's vision

Hello Bruno,

I'm not sure how anyone else would react, but I don't see Geronimo as
simply an incubator for WASCE.

I tried using WASCE about a year ago and after learning that it had
Geronimo as a base - I switched to Geronimo.  And, I haven't looked back
(no offense IBM).

In fact, CE's last release (last time I checked anyway) was based on
Geronimo 1.1 and was about a year ago.

In that time, Geronimo has made tremendous strides toward full JEE5
support (in the 2.0 branch) and towards a more than complete J2EE
version (in the 1.2 branch).

IBM may currently be the employer of a large number of commiters, but I
think that it is just a matter of time before non-IBMers begin to catch
up (and hopefully pass) in the committer base for the project.

I for one have never considered Geronimo as simply being the incubator
for WASCE .  Geronimo was around before WASCE ever did.  The fact that
IBM has used it as the base simply testifies to how complete a product
Geronimo is and the level of quality it possesses.

Jay

Bruno Melloni wrote:
> With thanks to IBM for their heavy contributions to Geronimo - about 
> 50% of Geronimo's contributors - and no criticism intended, I am 
> wondering about Apache's long term intent for the product.
>
> Is it intended to eventually be taken over by the Apache community at 
> large, with no single firm dominating the decision-making?  In such 
> case I can easily see it filling the vacuum left when jBoss was bought

> out by RedHat.
>
> Or is it intended to be/remain as an incubator for Websphere Community

> Edition?
>
> Bruno
>
>
>
>   


Re: What jars need to be included to make the EJB related annotations work?

2007-04-23 Thread Jay D. McHugh

Jim,

I have begun using annotations from within 'generic' Eclipse and 
actually (depending on what Geronimo version you are deploying to) you 
should only need to add jars to your build path.


In my case, since I also build my Geronimo from source, I end up having 
most of the jars in my maven repository.


What type of annotations are you wanting to use?

JPA?
Resources?
...?

I am using annotations related to resources and JPA and the jars that I 
have added to my build path to support this are:


javax.servlet-api
javax.persistence-api
org.apache.openjpa.openjpa-persistence-jdbc
(this next one is probably the big one)
org.apache.geronimo.specs.geronimo-annotation_1.0_spec

None of these are being included in my app, they are just there to allow 
Eclipse to do some validation and compile everything.


Which version of Geronimo are you trying to deploy to?

Jay

Jim Barrows wrote:

On 4/23/07, Mark Aufdencamp <[EMAIL PROTECTED]> wrote:

Hi James,

 I've been using the same environment for the last few months.  If 
you have
any questions regarding MyEclipse and Geronimo, feel free to send 
them my

way:)

 As your using 5.1.1, I'll presume your using EJB 2.1 with XDoclet
annotations.  If you haven't gone through the two EJB tutorials on the
MyEclipse site, I'd suggest checking them out.  laliluna also has a free
tutorial on defining relationships.  Thier one-to-many uni tutorial 
is free.
 They also have a tutorial for more complex relationships, but I have 
not

purchased it yet.


I want to use Annotations, and not XDoclet.  Nothing against XDoclet.



 You shouldn't require any jar's for XDoclet generation of EJB's.  If 
you've
created a MyEclipse EJB project and added the EJB XDoclet support to 
it via
the project properties, the ejb-jar.xml should be auto-generating for 
you
when you run the MyEclipse XDoclet menu option on the project.  
You'll need

to handcraft your openejb-jar.xml deployment descriptor.

Hope that helps getting you in the right direction.

Mark Aufdencamp
[EMAIL PROTECTED]








 Original Message 
Subject: What jars need to be included to make the EJB related
annotations work?
From: "Jim Barrows" <[EMAIL PROTECTED]>
Date: Mon, April 23, 2007 6:13 am
To: user 

I'm using Eclipse 3.2.2, with the MyEclipse 5.1.1 plugins installed.

However, when creating an EJB, the annotations do not work. After

looking around, I realized that I needed the righ Jar file(s), but

could not figure out with jars in Geronimo would do that for me.

Could anyone point them out to me?



--

James A Barrows








Re: Geronimo's vision

2007-04-23 Thread Jay D. McHugh

Hello Bruno,

I'm not sure how anyone else would react, but I don't see Geronimo as 
simply an incubator for WASCE.


I tried using WASCE about a year ago and after learning that it had 
Geronimo as a base - I switched to Geronimo.  And, I haven't looked back 
(no offense IBM).


In fact, CE's last release (last time I checked anyway) was based on 
Geronimo 1.1 and was about a year ago.


In that time, Geronimo has made tremendous strides toward full JEE5 
support (in the 2.0 branch) and towards a more than complete J2EE 
version (in the 1.2 branch).


IBM may currently be the employer of a large number of commiters, but I 
think that it is just a matter of time before non-IBMers begin to catch 
up (and hopefully pass) in the committer base for the project.


I for one have never considered Geronimo as simply being the incubator 
for WASCE .  Geronimo was around before WASCE ever did.  The fact that 
IBM has used it as the base simply testifies to how complete a product 
Geronimo is and the level of quality it possesses.


Jay

Bruno Melloni wrote:

With thanks to IBM for their heavy contributions to Geronimo - about 50%
of Geronimo's contributors - and no criticism intended, I am wondering
about Apache's long term intent for the product.  


Is it intended to eventually be taken over by the Apache community at
large, with no single firm dominating the decision-making?  In such case
I can easily see it filling the vacuum left when jBoss was bought out by
RedHat.

Or is it intended to be/remain as an incubator for Websphere Community
Edition?

Bruno



  


Re: Sun Jsf and Geronimo

2007-04-23 Thread Jay D. McHugh
If you haven't already found the link to the M4 binaries, here is where 
they are:


http://people.apache.org/~hogstrom/2.0-M4-rc1/

Hope you have better luck with this.

Jay

Paul McMahan wrote:
Hello,  How are you trying to use the sun jsf impl?  For example are 
you including it in your WEB-INF/lib?  If so then I don't expect that 
would work since Geronimo filters the jsf classes from a webapps 
classloader.  This is a result of the JSF 1.2 specification 10.2.5 and 
10.2.6 which says that webapps should not include the jsf classes in 
their archive.  As we move forward I think it would be a great idea to 
make the jsf implementation pluggable, but this will probably be done 
by using Geronimo's plugin system instead of bundling the JSF jars in 
a webapp's archive due to this language in the specification and 
because of jsf implementation-specific functionality like resource 
injection for managed beans.


The jsf support in Geronimo 2.0-M4 is more complete so I think you'll 
have better luck with it.  However, that version has not been 
officially released yet so you will need to build it from svn tag or 
look in the [EMAIL PROTECTED] archive for the announcement of M4 release 
candidate binaries.


Best wishes,
Paul


On Apr 23, 2007, at 7:52 AM, Arinté wrote:


I am trying to run sun jsf impl 1.2 on Geronimo, but I keep running into
errors, is it even possible?  My current error is this:
javax.servlet.ServletException:
org/apache/commons/lang/builder/HashCodeBuilder
at 
javax.faces.webapp.FacesServlet.service(FacesServlet.java:152)

at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) 


at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 



Even though I have commons lang in my geronimo.xml.  Also, when I export
this project to just plain tomcat 6 it works without me adding the 
commons

lang jar file anywhere, meaning I don't think sun uses it, but somehow
myfaces is getting injected in here.

Any tips or guides on getting this working?  I am using Geronimo 2 M3.
Thanks










Geronimo's vision

2007-04-23 Thread Bruno Melloni
With thanks to IBM for their heavy contributions to Geronimo - about 50%
of Geronimo's contributors - and no criticism intended, I am wondering
about Apache's long term intent for the product.  

Is it intended to eventually be taken over by the Apache community at
large, with no single firm dominating the decision-making?  In such case
I can easily see it filling the vacuum left when jBoss was bought out by
RedHat.

Or is it intended to be/remain as an incubator for Websphere Community
Edition?

Bruno


RE: What jars need to be included to make the EJB related annotations work?

2007-04-23 Thread Mark Aufdencamp
I believe you'll need to upgrade MyEclipse to 5.5 for annotations support and JPA.  A version was recently released within the last week or so.  I'm waiting a little longer myself before going to MyEclipse 5.5 and Geronimo 1.2.  I guess I'm getting a little to old for bleeding edge:)



 Original Message Subject: Re: What jars need to be included to make the EJB relatedannotations work?From: "Jim Barrows" <[EMAIL PROTECTED]>Date: Mon, April 23, 2007 8:24 amTo: user@geronimo.apache.orgOn 4/23/07, Mark Aufdencamp  wrote:

> Hi James,

>

>  I've been using the same environment for the last few months.  If

you have

> any questions regarding MyEclipse and Geronimo, feel free to send

them my

> way:)

>

>  As your using 5.1.1, I'll presume your using EJB 2.1 with XDoclet

> annotations.  If you haven't gone through the two EJB tutorials on the

> MyEclipse site, I'd suggest checking them out.  laliluna also has a

free

> tutorial on defining relationships.  Thier one-to-many uni tutorial

is free.

>  They also have a tutorial for more complex relationships, but I

have not

> purchased it yet.



I want to use Annotations, and not XDoclet.  Nothing against XDoclet.



>

>  You shouldn't require any jar's for XDoclet generation of EJB's. 

If you've

> created a MyEclipse EJB project and added the EJB XDoclet support to

it via

> the project properties, the ejb-jar.xml should be auto-generating

for you

> when you run the MyEclipse XDoclet menu option on the project. 

You'll need

> to handcraft your openejb-jar.xml deployment descriptor.

>

> Hope that helps getting you in the right direction.

>

> Mark Aufdencamp

> Mark@Aufdencamp.com

>

>

>

>

>

>

>

>

>  Original Message 

> Subject: What jars need to be included to make the EJB related

> annotations work?

> From: "Jim Barrows" 

> Date: Mon, April 23, 2007 6:13 am

> To: user 

>

> I'm using Eclipse 3.2.2, with the MyEclipse 5.1.1 plugins installed.

>

> However, when creating an EJB, the annotations do not work. After

>

> looking around, I realized that I needed the righ Jar file(s), but

>

> could not figure out with jars in Geronimo would do that for me.

>

> Could anyone point them out to me?

>

>

>

> --

>

> James A Barrows

>

>

>





-- 

James A Barrows





Re: What jars need to be included to make the EJB related annotations work?

2007-04-23 Thread Jim Barrows

On 4/23/07, Mark Aufdencamp <[EMAIL PROTECTED]> wrote:

Hi James,

 I've been using the same environment for the last few months.  If you have
any questions regarding MyEclipse and Geronimo, feel free to send them my
way:)

 As your using 5.1.1, I'll presume your using EJB 2.1 with XDoclet
annotations.  If you haven't gone through the two EJB tutorials on the
MyEclipse site, I'd suggest checking them out.  laliluna also has a free
tutorial on defining relationships.  Thier one-to-many uni tutorial is free.
 They also have a tutorial for more complex relationships, but I have not
purchased it yet.


I want to use Annotations, and not XDoclet.  Nothing against XDoclet.



 You shouldn't require any jar's for XDoclet generation of EJB's.  If you've
created a MyEclipse EJB project and added the EJB XDoclet support to it via
the project properties, the ejb-jar.xml should be auto-generating for you
when you run the MyEclipse XDoclet menu option on the project.  You'll need
to handcraft your openejb-jar.xml deployment descriptor.

Hope that helps getting you in the right direction.

Mark Aufdencamp
[EMAIL PROTECTED]








 Original Message 
Subject: What jars need to be included to make the EJB related
annotations work?
From: "Jim Barrows" <[EMAIL PROTECTED]>
Date: Mon, April 23, 2007 6:13 am
To: user 

I'm using Eclipse 3.2.2, with the MyEclipse 5.1.1 plugins installed.

However, when creating an EJB, the annotations do not work. After

looking around, I realized that I needed the righ Jar file(s), but

could not figure out with jars in Geronimo would do that for me.

Could anyone point them out to me?



--

James A Barrows






--
James A Barrows


RE: What jars need to be included to make the EJB related annotations work?

2007-04-23 Thread Mark Aufdencamp
Hi James,

 


I've been using the same environment for the last few months.  If
you have any questions regarding MyEclipse and Geronimo, feel free to send them my way:)

 


As your using 5.1.1, I'll presume your using EJB 2.1 with XDoclet
annotations.  If you haven't gone through the two EJB tutorials on the MyEclipse site, I'd suggest checking them out.  laliluna also has a free tutorial on defining relationships.  Thier one-to-many uni tutorial is free.  They also have a tutorial for more complex relationships, but I have not purchased it yet.

 


You shouldn't require any jar's for XDoclet generation of EJB's. 
If you've created a MyEclipse EJB project and added the EJB XDoclet support to it via the project properties, the ejb-jar.xml should be auto-generating for you when you run the MyEclipse XDoclet menu option on the project.  You'll need to handcraft your openejb-jar.xml deployment descriptor.

 

Hope that helps getting you in the right direction.

 

Mark Aufdencamp

[EMAIL PROTECTED]

 

 

 



 Original Message Subject: What jars need to be included to make the EJB relatedannotations work?From: "Jim Barrows" <[EMAIL PROTECTED]>Date: Mon, April 23, 2007 6:13 amTo: user I'm using Eclipse 3.2.2, with the MyEclipse 5.1.1 plugins installed.

However, when creating an EJB, the annotations do not work. After

looking around, I realized that I needed the righ Jar file(s), but

could not figure out with jars in Geronimo would do that for me.

Could anyone point them out to me?



-- 

James A Barrows





Re: Sun Jsf and Geronimo

2007-04-23 Thread Paul McMahan
Hello,  How are you trying to use the sun jsf impl?  For example are  
you including it in your WEB-INF/lib?  If so then I don't expect that  
would work since Geronimo filters the jsf classes from a webapps  
classloader.  This is a result of the JSF 1.2 specification 10.2.5  
and 10.2.6 which says that webapps should not include the jsf classes  
in their archive.  As we move forward I think it would be a great  
idea to make the jsf implementation pluggable, but this will probably  
be done by using Geronimo's plugin system instead of bundling the JSF  
jars in a webapp's archive due to this language in the specification  
and because of jsf implementation-specific functionality like  
resource injection for managed beans.


The jsf support in Geronimo 2.0-M4 is more complete so I think you'll  
have better luck with it.  However, that version has not been  
officially released yet so you will need to build it from svn tag or  
look in the [EMAIL PROTECTED] archive for the announcement of M4 release  
candidate binaries.


Best wishes,
Paul


On Apr 23, 2007, at 7:52 AM, Arinté wrote:

I am trying to run sun jsf impl 1.2 on Geronimo, but I keep running  
into

errors, is it even possible?  My current error is this:
javax.servlet.ServletException:
org/apache/commons/lang/builder/HashCodeBuilder
at javax.faces.webapp.FacesServlet.service 
(FacesServlet.java:152)

at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter 
(ApplicationFilterChain.java:290)

at
org.apache.catalina.core.ApplicationFilterChain.doFilter 
(ApplicationFilterChain.java:206)


Even though I have commons lang in my geronimo.xml.  Also, when I  
export
this project to just plain tomcat 6 it works without me adding the  
commons

lang jar file anywhere, meaning I don't think sun uses it, but somehow
myfaces is getting injected in here.

Any tips or guides on getting this working?  I am using Geronimo 2 M3.
Thanks







Re: How to change 'admin thread' port for OpenEJB

2007-04-23 Thread Kristian Köhler

Hi

Kristian Köhler wrote:

Hi

i'm trying change the 'admin thread' port (4200) for OpenJEB.

The EJBContainerGBean provides an attribute 'properties' (type 
java.util.Properties) by which I may change the port. But how to set 
these properties via config.xml?


OK. Wrong attribute... ;-)

But how to configure the admin port?

Kristian


Sun Jsf and Geronimo

2007-04-23 Thread Arint
I am trying to run sun jsf impl 1.2 on Geronimo, but I keep running into 
errors, is it even possible?  My current error is this:
javax.servlet.ServletException: 
org/apache/commons/lang/builder/HashCodeBuilder
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:152)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

Even though I have commons lang in my geronimo.xml.  Also, when I export 
this project to just plain tomcat 6 it works without me adding the commons 
lang jar file anywhere, meaning I don't think sun uses it, but somehow 
myfaces is getting injected in here.

Any tips or guides on getting this working?  I am using Geronimo 2 M3. 
Thanks 





How to change 'admin thread' port for OpenEJB

2007-04-23 Thread Kristian Köhler

Hi

i'm trying change the 'admin thread' port (4200) for OpenJEB.

The EJBContainerGBean provides an attribute 'properties' (type 
java.util.Properties) by which I may change the port. But how to set 
these properties via config.xml?


I've tried:

--- 8< (start) ---
...

  Default Stateless Container
  STATELESS
  
   admin_port=4211
  
  
   
OpenEjbSystem
   
  

...
--- 8< (end) ---

But getting:

--- 8< (start )---

Module  5/29 org.apache.geronimo.configs/openejb/2.0-M4/car 
  15:12:08,470 ERROR [GBeanInstanceState] Error while starting; 
GBean is n
ow in the FAILED state: 
abstractName="org.apache.geronimo.configs/openejb/2.0-M4/car?ServiceModule=org.apache.geronimo.configs/openejb/2.0-M4/car,j2ee

Type=GBean,name=DefaultStatelessContainer"
org.apache.xbean.recipe.MissingAccessorException: Unable to find a valid 
setter method: public void 
org.apache.openejb.core.stateless.StatelessContain

er.setAdmin_port(java.lang.String)
at 
org.apache.xbean.recipe.ObjectRecipe.findSetter(ObjectRecipe.java:692)

at
...

--- 8< (end) ---

How can I achieve this?
Thanks!

Kristian


What jars need to be included to make the EJB related annotations work?

2007-04-23 Thread Jim Barrows

I'm using Eclipse 3.2.2, with the MyEclipse 5.1.1 plugins installed.
However, when creating an EJB, the annotations do not work. After
looking around, I realized that I needed the righ Jar file(s), but
could not figure out with jars in Geronimo would do that for me.
Could anyone point them out to me?

--
James A Barrows