RE: Geronimo - EJB3.1 - Eclipse

2010-01-11 Thread Russell Collins
I stand corrected.  There is an assembly that ships with Geronimo 2.2 that 
contains the various 3.1 classes including the Singleton.  It is the 
ejb31-api-experimental-3.1.2.jar.  The assembly works when I explicitly add a 
reference to it in my project.  It does not work if I only have a reference to 
the server libraries.  I do not know if that is intentional or not.  The EAR 
file that I created does work when deployed to the server.

-Original Message-
From: Russell Collins [mailto:russell.coll...@mclaneat.com]
Sent: Monday, January 11, 2010 10:47 AM
To: 'user@geronimo.apache.org'
Subject: RE: Geronimo - EJB3.1 - Eclipse

My initial thought was that Geronimo 2.2 would be using OpenEJB 3.1.2.  The 
server does contain 3.1.2 assemblies and my client assembly had to be upgraded 
to work with the new server.  However, the EJB implementation assembly in 
Geronimo 2.2 does not have an implementation of the Singleton annotation.  
Someone please correct me but the EJB implementation in the Geronimo 2.2 server 
is called geronimo-ejb_3.0_spec-1.0.1.jar and does contain the classes for the 
Singleton.  Interestingly enough, this is the same assembly in version 2.1.4 of 
Geronimo as well.  Also note that I am successfully referencing the Geronimo 
server from within my application and build process.  Referencing Geronimo 2.2 
and all of the assemblies within the server will result in errors if I am 
trying to use the Singleton class.


-Original Message-
From: frapien [mailto:frank.pien...@gmx.de]
Sent: Monday, January 11, 2010 1:35 AM
To: user@geronimo.apache.org
Subject: RE: Geronimo - EJB3.1 - Eclipse


Geronimo 2.2 is using [GERONIMO-4693]  OpenEJB  3.1.2, so
[GERONIMO-4918] - EJB 3.1 Singleton Support is in it.
please see http://openejb.apache.org/openejb-312.html
and try the OpenEJB Eclipse Plugin Alpha Release 1.0.0.alpha
http://blogs.apache.org/openejb/
which supports EJB 3.1 annotation
Regards
Frank



Russell Collins wrote:
>
> Thank you David.  I was not aware that there would not be full ejb 3.1
> support with this release.  Is there a list of ejb 3.1 features that are
> implemented?  I do not believe singletons is one of them.
>
>

--
View this message in context: 
http://old.nabble.com/Geronimo---EJB3.1---Eclipse-tp27084875s134p27106727.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


CONFIDENTIALITY NOTICE: The information contained in this electronic mail 
(email) transmission (including attachments), is intended by MCLANE ADVANCED 
TECHNOLOGIES for the use of the named individual or entity to which it is 
addressed and may contain information that is privileged, confidential and/or 
protected as a trade secret. It is not intended for transmission to, or receipt 
by, any individual or entity other than the named addressee(s). If you have 
received this email in error, please delete it (including attachments) and any 
copies thereof without printing, copying or forwarding it, and notify the 
sender of the error by email reply immediately.

CONFIDENTIALITY NOTICE: The information contained in this electronic mail 
(email) transmission (including attachments), is intended by MCLANE ADVANCED 
TECHNOLOGIES for the use of the named individual or entity to which it is 
addressed and may contain information that is privileged, confidential and/or 
protected as a trade secret. It is not intended for transmission to, or receipt 
by, any individual or entity other than the named addressee(s). If you have 
received this email in error, please delete it (including attachments) and any 
copies thereof without printing, copying or forwarding it, and notify the 
sender of the error by email reply immediately.


Re: issue deploying webapp with security realm

2010-01-11 Thread Bill Brown


Bill Brown wrote:
> 
> According to the reports, I should be able to work around the issue by
> adding the security realm as a dependency in the geronimo-web.xml. 
> https://issues.apache.org/jira/browse/GERONIMO-4553?focusedCommentId=12738770&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_12738770
> 

Ok. I answered the question after a little while of trial and error.  I
needed to replace these in geronimo-web.xml  section:



org.apache.geronimo.configs
j2ee-server
car



org.apache.geronimo.framework
j2ee-security
2.2
car




org.apache.geronimo.framework
j2ee-security
car


With this one which is found in the usage section for the realm listing in
the console repository.


  console.realm
  feedwork
  1.0
  car
 

And the app deployed just fine with the authentication/authorization
working. 
HTH. 

Bill. 
-- 
View this message in context: 
http://old.nabble.com/issue-deploying-webapp-with-security-realm-tp27112307s134p27118057.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.



Re: installing console-tomcat on little-g 2.2 tomcat

2010-01-11 Thread Bill Brown

>Yes, that would work. 

>Installation using http://geronimo.apache.org/plugins/geronimo-2.2 is
working fine for me. Not sure >if that's because something was fixed...

>--kevan

Hi Kevan:  

Between last night and this morning, the plugins file was updated to include
the release instead of the SNAPSHOT so I think it just works as advertised
now.  

Thanks Geronimo team.
Bill.



-- 
View this message in context: 
http://old.nabble.com/installing-console-tomcat-on-little-g-2.2-tomcat-tp27105464s134p27114930.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.



Re: installing console-tomcat on little-g 2.2 tomcat

2010-01-11 Thread Kevan Miller

On Jan 10, 2010, at 10:21 PM, Bill Brown wrote:

> 
> Greetings: 
> 
> I was having an issue trying to install the tomcat-console app for little-g
> tomcat 2.2. 
> 
> Installing from the apache public geronimo 2.2 repo 
> 
> deploy.sh search-plugins http://geronimo.apache.org/plugins/geronimo-2.2
> 
> wasn't working because the versions in that location are only SNAPSHOT and
> not 2.2 release (for the console app).  
> 
> Looking through the doucmentation, I realized I could install the main
> geronimo 2.2 binary and then "export" the 2.2 release version of
> tomcat-console (and plugin-console-tomcat) from the "Plugins" link which is
> saved off as  console-tomcat-2.2.car
> 
> All I needed to do next was start back up little-g 2.2 and install the
> console plugin from the command line with.  
> 
> ./deploy.sh install-plugin /thePath/console-tomcat-2.2.car
> 
> I hope this may help others who are trying to do this but may be stuck at
> the moment like I was.  Horray Little-G!

Yes, that would work. 

Installation using http://geronimo.apache.org/plugins/geronimo-2.2 is working 
fine for me. Not sure if that's because something was fixed...

--kevan



RE: Geronimo - EJB3.1 - Eclipse

2010-01-11 Thread Russell Collins
My initial thought was that Geronimo 2.2 would be using OpenEJB 3.1.2.  The 
server does contain 3.1.2 assemblies and my client assembly had to be upgraded 
to work with the new server.  However, the EJB implementation assembly in 
Geronimo 2.2 does not have an implementation of the Singleton annotation.  
Someone please correct me but the EJB implementation in the Geronimo 2.2 server 
is called geronimo-ejb_3.0_spec-1.0.1.jar and does contain the classes for the 
Singleton.  Interestingly enough, this is the same assembly in version 2.1.4 of 
Geronimo as well.  Also note that I am successfully referencing the Geronimo 
server from within my application and build process.  Referencing Geronimo 2.2 
and all of the assemblies within the server will result in errors if I am 
trying to use the Singleton class.


-Original Message-
From: frapien [mailto:frank.pien...@gmx.de]
Sent: Monday, January 11, 2010 1:35 AM
To: user@geronimo.apache.org
Subject: RE: Geronimo - EJB3.1 - Eclipse


Geronimo 2.2 is using [GERONIMO-4693]  OpenEJB  3.1.2, so
[GERONIMO-4918] - EJB 3.1 Singleton Support is in it.
please see http://openejb.apache.org/openejb-312.html
and try the OpenEJB Eclipse Plugin Alpha Release 1.0.0.alpha
http://blogs.apache.org/openejb/
which supports EJB 3.1 annotation
Regards
Frank



Russell Collins wrote:
>
> Thank you David.  I was not aware that there would not be full ejb 3.1
> support with this release.  Is there a list of ejb 3.1 features that are
> implemented?  I do not believe singletons is one of them.
>
>

--
View this message in context: 
http://old.nabble.com/Geronimo---EJB3.1---Eclipse-tp27084875s134p27106727.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


CONFIDENTIALITY NOTICE: The information contained in this electronic mail 
(email) transmission (including attachments), is intended by MCLANE ADVANCED 
TECHNOLOGIES for the use of the named individual or entity to which it is 
addressed and may contain information that is privileged, confidential and/or 
protected as a trade secret. It is not intended for transmission to, or receipt 
by, any individual or entity other than the named addressee(s). If you have 
received this email in error, please delete it (including attachments) and any 
copies thereof without printing, copying or forwarding it, and notify the 
sender of the error by email reply immediately.


issue deploying webapp with security realm

2010-01-11 Thread Bill Brown

Greetings: 

I've got a copy of littl-g 2.2 (tomcat) running but have an issue deploying
a web app that uses a properties file security realm.  It is failing with
the following exception during deployment:

The application was not deployed.
Unable to resolve reference "ConfigurationFactory"
in gbean
com.colorfulsoftware/feedwork/1.0.0.0/war?J2EEApplication=null,j2eeType=WebModule,name=com.colorfulsoftware/feedwork/1.0.0.0/war
to a gbean matching the pattern
[?name=feedwork#org.apache.geronimo.security.jaas.ConfigurationFactory]
due to: No matches for referencePatterns:
[?name=feedwork#org.apache.geronimo.security.jaas.ConfigurationFactory]
org.apache.geronimo.common.DeploymentException: Unable to resolve reference
"ConfigurationFactory"
in gbean
com.colorfulsoftware/feedwork/1.0.0.0/war?J2EEApplication=null,j2eeType=WebModule,name=com.colorfulsoftware/feedwork/1.0.0.0/war
to a gbean matching the pattern
[?name=feedwork#org.apache.geronimo.security.jaas.ConfigurationFactory]
due to: No matches for referencePatterns:
[?name=feedwork#org.apache.geronimo.security.jaas.ConfigurationFactory]
at
org.apache.geronimo.deployment.DeploymentContext.getConfigurationData(DeploymentContext.java:656)
at org.apache.geronimo.deployment.Deployer.install(Deployer.java:339)
at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:263)
at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:136)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:130)
at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:851)
at
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:237)
at
org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDeploy(AbstractDeployCommand.java:116)
at
org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(DistributeCommand.java:61)
at java.lang.Thread.run(Thread.java:619)


Looking through the jira and forums, there are two threads addressing this: 
http://issues.apache.org/jira/browse/GERONIMO-4772 and
https://issues.apache.org/jira/browse/GERONIMO-4553.  

According to the reports, I should be able to work around the issue by
adding the security realm as a dependency in the geronimo-web.xml. 
https://issues.apache.org/jira/browse/GERONIMO-4553?focusedCommentId=12738770&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_12738770

I've tried adding the following in geronimo-web.xml but the error still
appears.  Does anyone here know how I can add the correct dependency to make
the error go away and deploy the app?

http://geronimo.apache.org/xml/ns/j2ee/web-2.0.1";>
http://geronimo.apache.org/xml/ns/deployment-1.2";>

com.colorfulsoftware
feedwork
1.0.0.0
war




org.apache.geronimo.configs
javamail
car




org.apache.geronimo.configs
j2ee-server
car



org.apache.geronimo.framework
j2ee-security
2.2
car




org.apache.geronimo.framework
j2ee-security
car



.

Thanks for your help, insight or information. 
Bill.

-- 
View this message in context: 
http://old.nabble.com/issue-deploying-webapp-with-security-realm-tp27112307s134p27112307.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.