Re: Jetty/Tomcat plugin build failed with persistence.xml

2009-01-20 Thread bongosdude

Hi All,

I found my dump mistake. I actually put persistence.xml in
src/main/java/resources. It should be in src/main/resources. So maven does
not complains when it build tomcat plugin.

Thanks


bongosdude wrote:
> 
> in my EJB module, I have created a persistence.xml as below:
> 
>   CallingCardUserJPA
>   
> org.apache.openjpa.persistence.PersistenceProviderImpl
>   callingcard_users
>   com.mycom.services.svc.model.entity.users.User
>   
> com.mycom.services.xvc.model.entity.users.UserRole
>   
>   
>   
>   
> 
> 
> When I build my project using maven2 (i.e. mvn clean install), all build
> succeeded except when it builds jetty/tomcat plugin with the following
> error:
> 
> How can I setup jetty/tomcat plugin plan.xml with a persistence unit that
> I defined in persistence.xml?
> 
> Please help.
> 
> -B
> 
> org.apache.geronimo.common.DeploymentException: Could not resolve
> reference at deploy time for query
> ?name=persistence/CallingCardUsersUnit#org.apache.geronimo.persistence.PersistenceUnitGBean.
> No GBeans found.
>   at
> org.apache.geronimo.persistence.builder.PersistenceContextRefBuilder.checkForGBean(PersistenceContextRefBuilder.java:205)
>   at
> org.apache.geronimo.persistence.builder.PersistenceContextRefBuilder.buildNaming(PersistenceContextRefBuilder.java:119)
>   at
> org.apache.geronimo.j2ee.deployment.NamingBuilderCollection.buildNaming(NamingBuilderCollection.java:53)
>   at
> org.apache.geronimo.openejb.deployment.EjbDeploymentBuilder.addEnc(EjbDeploymentBuilder.java:321)
>   at
> org.apache.geronimo.openejb.deployment.EjbDeploymentBuilder.buildEnc(EjbDeploymentBuilder.java:286)
>   at
> org.apache.geronimo.openejb.deployment.EjbModuleBuilder.addGBeans(EjbModuleBuilder.java:764)
>   at
> org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:647)
>   at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:254)
>   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:585)
>   at
> org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
>   at
> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
> 
> 


-
B Amigo:super:
-- 
View this message in context: 
http://www.nabble.com/Jetty-Tomcat-plugin-build-failed-with-persistence.xml-tp21534279s134p21575596.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.



Re: Jetty/Tomcat plugin build failed with persistence.xml

2009-01-19 Thread bongosdude
   at
>>>> org 
>>>> .apache 
>>>> .geronimo 
>>>> .j2ee 
>>>> .deployment 
>>>> .NamingBuilderCollection.buildNaming(NamingBuilderCollection.java: 
>>>> 53)
>>>>at
>>>> org 
>>>> .apache 
>>>> .geronimo 
>>>> .openejb 
>>>> .deployment.EjbDeploymentBuilder.addEnc(EjbDeploymentBuilder.java: 
>>>> 321)
>>>>at
>>>> org 
>>>> .apache 
>>>> .geronimo 
>>>> .openejb 
>>>> .deployment 
>>>> .EjbDeploymentBuilder.buildEnc(EjbDeploymentBuilder.java:286)
>>>>at
>>>> org 
>>>> .apache 
>>>> .geronimo 
>>>> .openejb 
>>>> .deployment.EjbModuleBuilder.addGBeans(EjbModuleBuilder.java:764)
>>>>at
>>>> org 
>>>> .apache 
>>>> .geronimo 
>>>> .j2ee 
>>>> .deployment 
>>>> .EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:647)
>>>>at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java: 
>>>> 254)
>>>>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>
>>>>
>>>>
>>>>
>>>> djencks wrote:
>>>>>
>>>>> Where exactly is the persistence.xml in your ear?
>>>>>
>>>>> BTW if you use auto-create tables or openjpa "sequences" you almost
>>>>> certainly need a non-jta-datasource as well, and it should really  
>>>>> not
>>>>> have transactions enabled.
>>>>>
>>>>> thanks
>>>>> david jencks
>>>>>
>>>>> On Jan 18, 2009, at 2:52 PM, bongosdude wrote:
>>>>>
>>>>>>
>>>>>> in my EJB module, I have created a persistence.xml as below:
>>>>>> >>>>> type="JTA">
>>>>>>  CallingCardUserJPA
>>>>>>  
>>>>>> org.apache.openjpa.persistence.PersistenceProviderImpl>>>>> provider>
>>>>>>  callingcard_users
>>>>>>  com.mycom.services.svc.model.entity.users.User
>>>>>>  com.mycom.services.xvc.model.entity.users.UserRole>>>>> class>
>>>>>>  
>>>>>>  
>>>>>>  
>>>>>>  
>>>>>> 
>>>>>>
>>>>>> When I build my project using maven2 (i.e. mvn clean install), all
>>>>>> build
>>>>>> succeeded except when it builds jetty/tomcat plugin with the  
>>>>>> following
>>>>>> error:
>>>>>>
>>>>>> How can I setup jetty/tomcat plugin plan.xml with a persistence  
>>>>>> unit
>>>>>> that I
>>>>>> defined in persistence.xml?
>>>>>>
>>>>>> Please help.
>>>>>>
>>>>>> -B
>>>>>>
>>>>>> org.apache.geronimo.common.DeploymentException: Could not resolve
>>>>>> reference
>>>>>> at deploy time for query
>>>>>> ?name=persistence/
>>>>>> CallingCardUsersUnit
>>>>>> #org.apache.geronimo.persistence.PersistenceUnitGBean.
>>>>>> No GBeans found.
>>>>>>  at
>>>>>> org
>>>>>> .apache
>>>>>> .geronimo
>>>>>> .persistence
>>>>>> .builder
>>>>>> .PersistenceContextRefBuilder
>>>>>> .checkForGBean(PersistenceContextRefBuilder.java:205)
>>>>>>  at
>>>>>> org
>>>>>> .apache
>>>>>> .geronimo
>>>>>> .persistence
>>>>>> .builder
>>>>>> .PersistenceContextRefBuilder
>>>>>> .buildNaming(PersistenceContextRefBuilder.java:119)
>>>>>>  at
>>>>>> org
>>>>>> .apache
>>>>>> .geronimo
>>>>>> .j2ee
>>>>>> .deployment
>>>>>> .NamingBuilderCollection 
>>>>>> .buildNaming(NamingBuilderCollection.java:53)
>>>>>>  at
>>>>>> org
>>>>>> .apache
>>>>>> .geronimo
>>>>>> .openejb
>>>>>> .deployment 
>>>>>> .EjbDeploymentBuilder.addEnc(EjbDeploymentBuilder.java:321)
>>>>>>  at
>>>>>> org
>>>>>> .apache
>>>>>> .geronimo
>>>>>> .openejb
>>>>>> .deployment 
>>>>>> .EjbDeploymentBuilder.buildEnc(EjbDeploymentBuilder.java:
>>>>>> 286)
>>>>>>  at
>>>>>> org
>>>>>> .apache
>>>>>> .geronimo
>>>>>> .openejb 
>>>>>> .deployment.EjbModuleBuilder.addGBeans(EjbModuleBuilder.java:
>>>>>> 764)
>>>>>>  at
>>>>>> org
>>>>>> .apache
>>>>>> .geronimo
>>>>>> .j2ee
>>>>>> .deployment
>>>>>> .EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:647)
>>>>>>  at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java: 
>>>>>> 254)
>>>>>>  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:585)
>>>>>>  at
>>>>>> org
>>>>>> .apache
>>>>>> .geronimo
>>>>>> .gbean
>>>>>> .runtime 
>>>>>> .ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:
>>>>>> 34)
>>>>>>  at
>>>>>> org
>>>>>> .apache
>>>>>> .geronimo 
>>>>>> .gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
>>>>>>
>>>>>>
>>>>>> -
>>>>>> B Amigo:super:
>>>>>> -- 
>>>>>> View this message in context:
>>>>>> http://www.nabble.com/Jetty-Tomcat-plugin-build-failed-with-persistence.xml-tp21534279s134p21534279.html
>>>>>> Sent from the Apache Geronimo - Users mailing list archive at
>>>>>> Nabble.com.
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>> -
>> B Amigo:super:
>> -- 
>> View this message in context:
>> http://www.nabble.com/Jetty-Tomcat-plugin-build-failed-with-persistence.xml-tp21534279s134p21535950.html
>> Sent from the Apache Geronimo - Users mailing list archive at  
>> Nabble.com.
>>
> 
> 
> 


-
B Amigo:super:
-- 
View this message in context: 
http://www.nabble.com/Jetty-Tomcat-plugin-build-failed-with-persistence.xml-tp21534279s134p21552479.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.



Re: Jetty/Tomcat plugin build failed with persistence.xml

2009-01-18 Thread David Jencks
.geronimo.persistence.PersistenceUnitGBean.
No GBeans found.
at
org
.apache
.geronimo
.persistence
.builder
.PersistenceContextRefBuilder
.checkForGBean(PersistenceContextRefBuilder.java:205)
at
org
.apache
.geronimo
.persistence
.builder
.PersistenceContextRefBuilder
.buildNaming(PersistenceContextRefBuilder.java:119)
at
org
.apache
.geronimo
.j2ee
.deployment
.NamingBuilderCollection 
.buildNaming(NamingBuilderCollection.java:53)

at
org
.apache
.geronimo
.openejb
.deployment 
.EjbDeploymentBuilder.addEnc(EjbDeploymentBuilder.java:321)

at
org
.apache
.geronimo
.openejb
.deployment 
.EjbDeploymentBuilder.buildEnc(EjbDeploymentBuilder.java:

286)
at
org
.apache
.geronimo
.openejb 
.deployment.EjbModuleBuilder.addGBeans(EjbModuleBuilder.java:

764)
at
org
.apache
.geronimo
.j2ee
.deployment
.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:647)
	at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java: 
254)

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:585)
at
org
.apache
.geronimo
.gbean
.runtime 
.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:

34)
at
org
.apache
.geronimo 
.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)



-
B Amigo:super:
--
View this message in context:
http://www.nabble.com/Jetty-Tomcat-plugin-build-failed-with-persistence.xml-tp21534279s134p21534279.html
Sent from the Apache Geronimo - Users mailing list archive at
Nabble.com.














-
B Amigo:super:
--
View this message in context: 
http://www.nabble.com/Jetty-Tomcat-plugin-build-failed-with-persistence.xml-tp21534279s134p21535950.html
Sent from the Apache Geronimo - Users mailing list archive at  
Nabble.com.






Re: Jetty/Tomcat plugin build failed with persistence.xml

2009-01-18 Thread bongosdude
;>
>>>>
>>>> 
>>>>
>>>> When I build my project using maven2 (i.e. mvn clean install), all  
>>>> build
>>>> succeeded except when it builds jetty/tomcat plugin with the following
>>>> error:
>>>>
>>>> How can I setup jetty/tomcat plugin plan.xml with a persistence unit  
>>>> that I
>>>> defined in persistence.xml?
>>>>
>>>> Please help.
>>>>
>>>> -B
>>>>
>>>> org.apache.geronimo.common.DeploymentException: Could not resolve  
>>>> reference
>>>> at deploy time for query
>>>> ?name=persistence/ 
>>>> CallingCardUsersUnit 
>>>> #org.apache.geronimo.persistence.PersistenceUnitGBean.
>>>> No GBeans found.
>>>>at
>>>> org 
>>>> .apache 
>>>> .geronimo 
>>>> .persistence 
>>>> .builder 
>>>> .PersistenceContextRefBuilder 
>>>> .checkForGBean(PersistenceContextRefBuilder.java:205)
>>>>at
>>>> org 
>>>> .apache 
>>>> .geronimo 
>>>> .persistence 
>>>> .builder 
>>>> .PersistenceContextRefBuilder 
>>>> .buildNaming(PersistenceContextRefBuilder.java:119)
>>>>at
>>>> org 
>>>> .apache 
>>>> .geronimo 
>>>> .j2ee 
>>>> .deployment 
>>>> .NamingBuilderCollection.buildNaming(NamingBuilderCollection.java:53)
>>>>at
>>>> org 
>>>> .apache 
>>>> .geronimo 
>>>> .openejb 
>>>> .deployment.EjbDeploymentBuilder.addEnc(EjbDeploymentBuilder.java:321)
>>>>at
>>>> org 
>>>> .apache 
>>>> .geronimo 
>>>> .openejb 
>>>> .deployment.EjbDeploymentBuilder.buildEnc(EjbDeploymentBuilder.java: 
>>>> 286)
>>>>at
>>>> org 
>>>> .apache 
>>>> .geronimo 
>>>> .openejb.deployment.EjbModuleBuilder.addGBeans(EjbModuleBuilder.java: 
>>>> 764)
>>>>at
>>>> org 
>>>> .apache 
>>>> .geronimo 
>>>> .j2ee 
>>>> .deployment 
>>>> .EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:647)
>>>>at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:254)
>>>>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:585)
>>>>at
>>>> org 
>>>> .apache 
>>>> .geronimo 
>>>> .gbean 
>>>> .runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java: 
>>>> 34)
>>>>at
>>>> org 
>>>> .apache 
>>>> .geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
>>>>
>>>>
>>>> -
>>>> B Amigo:super:
>>>> -- 
>>>> View this message in context:
>>>> http://www.nabble.com/Jetty-Tomcat-plugin-build-failed-with-persistence.xml-tp21534279s134p21534279.html
>>>> Sent from the Apache Geronimo - Users mailing list archive at  
>>>> Nabble.com.
>>>>
>>> 
>>> 
>>> 
>> 
>> 
> 
> 


-
B Amigo:super:
-- 
View this message in context: 
http://www.nabble.com/Jetty-Tomcat-plugin-build-failed-with-persistence.xml-tp21534279s134p21535950.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.



Re: Jetty/Tomcat plugin build failed with persistence.xml

2009-01-18 Thread bongosdude
t;> No GBeans found.
>>> at
>>> org 
>>> .apache 
>>> .geronimo 
>>> .persistence 
>>> .builder 
>>> .PersistenceContextRefBuilder 
>>> .checkForGBean(PersistenceContextRefBuilder.java:205)
>>> at
>>> org 
>>> .apache 
>>> .geronimo 
>>> .persistence 
>>> .builder 
>>> .PersistenceContextRefBuilder 
>>> .buildNaming(PersistenceContextRefBuilder.java:119)
>>> at
>>> org 
>>> .apache 
>>> .geronimo 
>>> .j2ee 
>>> .deployment 
>>> .NamingBuilderCollection.buildNaming(NamingBuilderCollection.java:53)
>>> at
>>> org 
>>> .apache 
>>> .geronimo 
>>> .openejb 
>>> .deployment.EjbDeploymentBuilder.addEnc(EjbDeploymentBuilder.java:321)
>>> at
>>> org 
>>> .apache 
>>> .geronimo 
>>> .openejb 
>>> .deployment.EjbDeploymentBuilder.buildEnc(EjbDeploymentBuilder.java: 
>>> 286)
>>> at
>>> org 
>>> .apache 
>>> .geronimo 
>>> .openejb.deployment.EjbModuleBuilder.addGBeans(EjbModuleBuilder.java: 
>>> 764)
>>> at
>>> org 
>>> .apache 
>>> .geronimo 
>>> .j2ee 
>>> .deployment 
>>> .EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:647)
>>> at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:254)
>>> 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:585)
>>> at
>>> org 
>>> .apache 
>>> .geronimo 
>>> .gbean 
>>> .runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java: 
>>> 34)
>>> at
>>> org 
>>> .apache 
>>> .geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
>>>
>>>
>>> -
>>> B Amigo:super:
>>> -- 
>>> View this message in context:
>>> http://www.nabble.com/Jetty-Tomcat-plugin-build-failed-with-persistence.xml-tp21534279s134p21534279.html
>>> Sent from the Apache Geronimo - Users mailing list archive at  
>>> Nabble.com.
>>>
>> 
>> 
>> 
> 
> 


-
B Amigo:super:
-- 
View this message in context: 
http://www.nabble.com/Jetty-Tomcat-plugin-build-failed-with-persistence.xml-tp21534279s134p21535773.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.



Re: Jetty/Tomcat plugin build failed with persistence.xml

2009-01-18 Thread bongosdude

David,

I figured out part of my problems by looking at Bank/Caculator samples. Bank
tomcat/jetty plugins depend on the sample sample-datasource
(sample-datasource.car). So it gave me how to create plan.xml for my
datasource connector.  The build was now successful but with exception as
below:

Can you show me how can I build gbean for my persistence unit that I defined
in persistence.xml. I could not find out how it can be done with the sample
bank/calculator.

INFO] Started deployer:
org.apache.geronimo.configs/persistence-jpa10-deployer/2.1.2/car
org.apache.geronimo.common.DeploymentException: Could not resolve reference
at deploy time for query
?name=persistence/CallingCardUsersUnit#org.apache.geronimo.persistence.PersistenceUnitGBean.
No GBeans found.
at
org.apache.geronimo.persistence.builder.PersistenceContextRefBuilder.checkForGBean(PersistenceContextRefBuilder.java:205)
at
org.apache.geronimo.persistence.builder.PersistenceContextRefBuilder.buildNaming(PersistenceContextRefBuilder.java:119)
at
org.apache.geronimo.j2ee.deployment.NamingBuilderCollection.buildNaming(NamingBuilderCollection.java:53)
at
org.apache.geronimo.openejb.deployment.EjbDeploymentBuilder.addEnc(EjbDeploymentBuilder.java:321)
at
org.apache.geronimo.openejb.deployment.EjbDeploymentBuilder.buildEnc(EjbDeploymentBuilder.java:286)
at
org.apache.geronimo.openejb.deployment.EjbModuleBuilder.addGBeans(EjbModuleBuilder.java:764)
at
org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:647)
at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:254)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)




djencks wrote:
> 
> Where exactly is the persistence.xml in your ear?
> 
> BTW if you use auto-create tables or openjpa "sequences" you almost  
> certainly need a non-jta-datasource as well, and it should really not  
> have transactions enabled.
> 
> thanks
> david jencks
> 
> On Jan 18, 2009, at 2:52 PM, bongosdude wrote:
> 
>>
>> in my EJB module, I have created a persistence.xml as below:
>> 
>>  CallingCardUserJPA
>>  
>> org.apache.openjpa.persistence.PersistenceProviderImpl> provider>
>>  callingcard_users
>>  com.mycom.services.svc.model.entity.users.User
>>  
>> com.mycom.services.xvc.model.entity.users.UserRole
>>  
>>  
>>  
>>  
>> 
>>
>> When I build my project using maven2 (i.e. mvn clean install), all  
>> build
>> succeeded except when it builds jetty/tomcat plugin with the following
>> error:
>>
>> How can I setup jetty/tomcat plugin plan.xml with a persistence unit  
>> that I
>> defined in persistence.xml?
>>
>> Please help.
>>
>> -B
>>
>> org.apache.geronimo.common.DeploymentException: Could not resolve  
>> reference
>> at deploy time for query
>> ?name=persistence/ 
>> CallingCardUsersUnit 
>> #org.apache.geronimo.persistence.PersistenceUnitGBean.
>> No GBeans found.
>>  at
>> org 
>> .apache 
>> .geronimo 
>> .persistence 
>> .builder 
>> .PersistenceContextRefBuilder 
>> .checkForGBean(PersistenceContextRefBuilder.java:205)
>>  at
>> org 
>> .apache 
>> .geronimo 
>> .persistence 
>> .builder 
>> .PersistenceContextRefBuilder 
>> .buildNaming(PersistenceContextRefBuilder.java:119)
>>  at
>> org 
>> .apache 
>> .geronimo 
>> .j2ee 
>> .deployment 
>> .NamingBuilderCollection.buildNaming(NamingBuilderCollection.java:53)
>>  at
>> org 
>> .apache 
>> .geronimo 
>> .openejb 
>> .deployment.EjbDeploymentBuilder.addEnc(EjbDeploymentBuilder.java:321)
>>  at
>> org 
>> .apache 
>> .geronimo 
>> .openejb 
>> .deployment.EjbDeploymentBuilder.buildEnc(EjbDeploymentBuilder.java: 
>> 286)
>>  at
>> org 
>> .apache 
>> .geronimo 
>> .openejb.deployment.EjbModuleBuilder.addGBeans(EjbModuleBuilder.java: 
>> 764)
>>  at
>> org 
>> .apache 
>> .geronimo 
>> .j2ee 
>> .deployment 
>> .EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:647)
>>  at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:254)
>>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>  at
>> sun 
>> .reflect 
>> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>  at
>> sun 
>> .reflect 
>> .DelegatingMethodAcce

Re: Jetty/Tomcat plugin build failed with persistence.xml

2009-01-18 Thread David Jencks

Where exactly is the persistence.xml in your ear?

BTW if you use auto-create tables or openjpa "sequences" you almost  
certainly need a non-jta-datasource as well, and it should really not  
have transactions enabled.


thanks
david jencks

On Jan 18, 2009, at 2:52 PM, bongosdude wrote:



in my EJB module, I have created a persistence.xml as below:

CallingCardUserJPA

org.apache.openjpa.persistence.PersistenceProviderImplprovider>

callingcard_users
com.mycom.services.svc.model.entity.users.User

com.mycom.services.xvc.model.entity.users.UserRole






When I build my project using maven2 (i.e. mvn clean install), all  
build

succeeded except when it builds jetty/tomcat plugin with the following
error:

How can I setup jetty/tomcat plugin plan.xml with a persistence unit  
that I

defined in persistence.xml?

Please help.

-B

org.apache.geronimo.common.DeploymentException: Could not resolve  
reference

at deploy time for query
?name=persistence/ 
CallingCardUsersUnit 
#org.apache.geronimo.persistence.PersistenceUnitGBean.

No GBeans found.
at
org 
.apache 
.geronimo 
.persistence 
.builder 
.PersistenceContextRefBuilder 
.checkForGBean(PersistenceContextRefBuilder.java:205)

at
org 
.apache 
.geronimo 
.persistence 
.builder 
.PersistenceContextRefBuilder 
.buildNaming(PersistenceContextRefBuilder.java:119)

at
org 
.apache 
.geronimo 
.j2ee 
.deployment 
.NamingBuilderCollection.buildNaming(NamingBuilderCollection.java:53)

at
org 
.apache 
.geronimo 
.openejb 
.deployment.EjbDeploymentBuilder.addEnc(EjbDeploymentBuilder.java:321)

at
org 
.apache 
.geronimo 
.openejb 
.deployment.EjbDeploymentBuilder.buildEnc(EjbDeploymentBuilder.java: 
286)

at
org 
.apache 
.geronimo 
.openejb.deployment.EjbModuleBuilder.addGBeans(EjbModuleBuilder.java: 
764)

at
org 
.apache 
.geronimo 
.j2ee 
.deployment 
.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:647)

at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:254)
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:585)
at
org 
.apache 
.geronimo 
.gbean 
.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java: 
34)

at
org 
.apache 
.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)



-
B Amigo:super:
--
View this message in context: 
http://www.nabble.com/Jetty-Tomcat-plugin-build-failed-with-persistence.xml-tp21534279s134p21534279.html
Sent from the Apache Geronimo - Users mailing list archive at  
Nabble.com.






Jetty/Tomcat plugin build failed with persistence.xml

2009-01-18 Thread bongosdude

in my EJB module, I have created a persistence.xml as below:

CallingCardUserJPA

org.apache.openjpa.persistence.PersistenceProviderImpl
callingcard_users
com.mycom.services.svc.model.entity.users.User

com.mycom.services.xvc.model.entity.users.UserRole






When I build my project using maven2 (i.e. mvn clean install), all build
succeeded except when it builds jetty/tomcat plugin with the following
error:

How can I setup jetty/tomcat plugin plan.xml with a persistence unit that I
defined in persistence.xml?

Please help.

-B

org.apache.geronimo.common.DeploymentException: Could not resolve reference
at deploy time for query
?name=persistence/CallingCardUsersUnit#org.apache.geronimo.persistence.PersistenceUnitGBean.
No GBeans found.
at
org.apache.geronimo.persistence.builder.PersistenceContextRefBuilder.checkForGBean(PersistenceContextRefBuilder.java:205)
at
org.apache.geronimo.persistence.builder.PersistenceContextRefBuilder.buildNaming(PersistenceContextRefBuilder.java:119)
at
org.apache.geronimo.j2ee.deployment.NamingBuilderCollection.buildNaming(NamingBuilderCollection.java:53)
at
org.apache.geronimo.openejb.deployment.EjbDeploymentBuilder.addEnc(EjbDeploymentBuilder.java:321)
at
org.apache.geronimo.openejb.deployment.EjbDeploymentBuilder.buildEnc(EjbDeploymentBuilder.java:286)
at
org.apache.geronimo.openejb.deployment.EjbModuleBuilder.addGBeans(EjbModuleBuilder.java:764)
at
org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:647)
at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:254)
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:585)
at
org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)


-
B Amigo:super:
-- 
View this message in context: 
http://www.nabble.com/Jetty-Tomcat-plugin-build-failed-with-persistence.xml-tp21534279s134p21534279.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.



Re: Maven build failed with missing WEB-INF/geronimo-web.xml

2009-01-11 Thread Shawn Jiang
t;>>>>> dependencies to POM files. Maven build sub projects successfully
>>>>>> except
>>>>>> when it tried to build jetty and tomcat CAR plugin. Here are the
>>>>>> error
>>>>>> messages that I got:
>>>>>>
>>>>>> [WARN]  Web application callingcard-war-0.0.1-SNAPSHOT.war does not
>>>>>> contain a WEB-INF/geronimo-web.xml deployment plan.  This may or
>>>>>> may not
>>>>>> be a problem, depending on whether you have things like resource
>>>>>> references that need to be resolved.  You can also give the
>>>>>> deployer a
>>>>>> separate deployment plan file on the command line.
>>>>>> [INFO]  The Strict Manifest Classpath processing mode is in effect.
>>>>>> This option can be altered by specifying
>>>>>> -DXorg.apache.geronimo.deployment.LenientMFCP=true|false
>>>>>> Specify ="true" for more lenient processing such as ignoring
>>>>>> missing jars
>>>>>> and references that are not spec compliant.
>>>>>> 12:50:39,649 INFO  [config] Configuring
>>>>>> Service(id=DefaultStatelessContainer, type=Container, provider-
>>>>>> id=Default
>>>>>> Stateless Container)
>>>>>> 12:50:39,653 INFO  [config] Configuring
>>>>>> Service(id=DefaultStatefulContainer, type=Container, provider-
>>>>>> id=Default
>>>>>> Stateful Container)
>>>>>> 12:50:39,654 INFO  [config] Configuring
>>>>>> Service(id=DefaultSingletonContainer, type=Container, provider-
>>>>>> id=Default
>>>>>> Singleton Container)
>>>>>> 12:50:39,655 INFO  [config] Configuring
>>>>>> Service(id=DefaultBMPContainer,
>>>>>> type=Container, provider-id=Default BMP Container)
>>>>>> 12:50:39,655 INFO  [config] Configuring
>>>>>> Service(id=DefaultCMPContainer,
>>>>>> type=Container, provider-id=Default CMP Container)
>>>>>> 12:50:39,663 INFO  [config] Configuring enterprise application:
>>>>>> com.myvoip.ipservices/callingcard-jetty/0.0.1-SNAPSHOT/car
>>>>>> 12:50:40,359 INFO  [OpenEJB] Auto-deploying ejb PayPalNVPProcessor:
>>>>>> EjbDeployment(deployment-id=callingcard-ejb-0.0.1-SNAPSHOT.jar/
>>>>>> PayPalNVPProcessor)
>>>>>> 12:50:40,360 INFO  [OpenEJB] Auto-deploying ejb NutalkNewOrderBean:
>>>>>> EjbDeployment(deployment-id=callingcard-ejb-0.0.1-SNAPSHOT.jar/
>>>>>> NutalkNewOrderBean)
>>>>>> 12:50:40,360 INFO  [OpenEJB] Auto-deploying ejb SampleBean:
>>>>>> EjbDeployment(deployment-id=callingcard-ejb-0.0.1-SNAPSHOT.jar/
>>>>>> SampleBean)
>>>>>> 12:50:40,412 INFO  [config] Enterprise application
>>>>>> "com.myvoip.ipservices/callingcard-jetty/0.0.1-SNAPSHOT/car" loaded.
>>>>>> [INFO]
>>>>>>
>>>>>> ----
>>>>>> [ERROR] BUILD ERROR
>>>>>> [INFO]
>>>>>>
>>>>>> 
>>>>>> [INFO] could not package plugin
>>>>>>
>>>>>> Embedded error: Manifest class path entries must be a valid jar file
>>>>>> (JAVAEE 5 Section 8.2): path= lib/callingcard-ejb-0.0.1-
>>>>>> SNAPSHOT.jar,
>>>>>> resolved to targetURI= lib/callingcard-ejb-0.0.1-SNAPSHOT.jar
>>>>>>  looking at: callingcard-war-0.0.1-SNAPSHOT.warcurrent
>>>>>> classpath:
>>>>>> [WEB-INF/classes/, ../lib/callingcard-common-0.0.1-SNAPSHOT.jar,
>>>>>> ../lib/paypal-stubs-4.3.1.jar, ../lib/paypal-base-4.3.1.jar,
>>>>>> ../lib/commons-lang-2.4.jar, ../lib/spring-2.5.6.jar,
>>>>>> ../lib/commons-logging-1.0.4.jar,
>>>>>> ../lib/callingcard-ejb-0.0.1-SNAPSHOT.jar]ignoring modules:
>>>>>> [callingcard-ejb-0.0.1-SNAPSHOT.jar, callingcard-war-0.0.1-
>>>>>> SNAPSHOT.war]
>>>>>> No such file or directory
>>>>>> [INFO]
>>>>>>
>>>>>> 
>>>>>> [INFO] For more information, run Maven with the -e switch
>>>>>> [INFO]
>>>>>>
>>>>>> 
>>>>>> [INFO] Total time: 47 seconds
>>>>>> [INFO] Finished at: Fri Jan 09 12:50:42 EST 2009
>>>>>> [INFO] Final Memory: 64M/125M
>>>>>> [INFO]
>>>>>>
>>>>>> 
>>>>>> die
>>>>>>
>>>>>>
>>>>>> Questions:
>>>>>>
>>>>>> 1. It seems that I got my first error is that I did not create
>>>>>> WEB-INF/geronimo-web.xml. I can define the option
>>>>>> -DXorg.apache.geronimo.deployment.LenientMFCP=true to make the build
>>>>>> successful. However, I looked at the calculator, it does not have
>>>>>> the
>>>>>> WEB-INF/geronimo-web.xml but maven does not fail when it builds
>>>>>> jetty/tomcat car plugin. So why do I have this error? What do I
>>>>>> miss in
>>>>>> my pom files?
>>>>>>
>>>>>> 2. Can somesome explain what
>>>>>> DXorg.apache.geronimo.deployment.LenientMFCP=true|false does?
>>>>>>
>>>>>> Thank for any helps
>>>>>>
>>>>>> -B
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>> -
>>>> B Amigo:super:
>>>> --
>>>> View this message in context:
>>>>
>>>> http://www.nabble.com/Maven-build-failed-with-missing-WEB-INF-geronimo-web.xml-tp21377598s134p21390405.html
>>>> Sent from the Apache Geronimo - Users mailing list archive at
>>>> Nabble.com.
>>>>
>>>>
>>>
>>>
>>>
>>
>> -
>> B Amigo:super:
>> --
>> View this message in context:
>> http://www.nabble.com/Maven-build-failed-with-missing-WEB-INF-geronimo-web.xml-tp21377598s134p21392243.html
>> Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
>>
>>
>


-- 
Shawn


Re: Maven build failed with missing WEB-INF/geronimo-web.xml

2009-01-10 Thread David Jencks
=callingcard-ejb-0.0.1-SNAPSHOT.jar/
SampleBean)
12:50:40,412 INFO  [config] Enterprise application
"com.myvoip.ipservices/callingcard-jetty/0.0.1-SNAPSHOT/car"  
loaded.

[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] could not package plugin

Embedded error: Manifest class path entries must be a valid jar  
file

(JAVAEE 5 Section 8.2): path= lib/callingcard-ejb-0.0.1-
SNAPSHOT.jar,
resolved to targetURI= lib/callingcard-ejb-0.0.1-SNAPSHOT.jar
  looking at: callingcard-war-0.0.1-SNAPSHOT.warcurrent
classpath:
[WEB-INF/classes/, ../lib/callingcard-common-0.0.1-SNAPSHOT.jar,
../lib/paypal-stubs-4.3.1.jar, ../lib/paypal-base-4.3.1.jar,
../lib/commons-lang-2.4.jar, ../lib/spring-2.5.6.jar,
../lib/commons-logging-1.0.4.jar,
../lib/callingcard-ejb-0.0.1-SNAPSHOT.jar]ignoring modules:
[callingcard-ejb-0.0.1-SNAPSHOT.jar, callingcard-war-0.0.1-
SNAPSHOT.war]
No such file or directory
[INFO]

[INFO] For more information, run Maven with the -e switch
[INFO]

[INFO] Total time: 47 seconds
[INFO] Finished at: Fri Jan 09 12:50:42 EST 2009
[INFO] Final Memory: 64M/125M
[INFO]

die


Questions:

1. It seems that I got my first error is that I did not create
WEB-INF/geronimo-web.xml. I can define the option
-DXorg.apache.geronimo.deployment.LenientMFCP=true to make the  
build

successful. However, I looked at the calculator, it does not have
the
WEB-INF/geronimo-web.xml but maven does not fail when it builds
jetty/tomcat car plugin. So why do I have this error? What do I
miss in
my pom files?

2. Can somesome explain what
DXorg.apache.geronimo.deployment.LenientMFCP=true|false does?

Thank for any helps

-B









-
B Amigo:super:
--
View this message in context:
http://www.nabble.com/Maven-build-failed-with-missing-WEB-INF-geronimo-web.xml-tp21377598s134p21390405.html
Sent from the Apache Geronimo - Users mailing list archive at
Nabble.com.








-
B Amigo:super:
--
View this message in context: 
http://www.nabble.com/Maven-build-failed-with-missing-WEB-INF-geronimo-web.xml-tp21377598s134p21392243.html
Sent from the Apache Geronimo - Users mailing list archive at  
Nabble.com.






Re: Maven build failed with missing WEB-INF/geronimo-web.xml

2009-01-10 Thread bongosdude
t;>> Stateless Container)
>>>> 12:50:39,653 INFO  [config] Configuring
>>>> Service(id=DefaultStatefulContainer, type=Container, provider- 
>>>> id=Default
>>>> Stateful Container)
>>>> 12:50:39,654 INFO  [config] Configuring
>>>> Service(id=DefaultSingletonContainer, type=Container, provider- 
>>>> id=Default
>>>> Singleton Container)
>>>> 12:50:39,655 INFO  [config] Configuring  
>>>> Service(id=DefaultBMPContainer,
>>>> type=Container, provider-id=Default BMP Container)
>>>> 12:50:39,655 INFO  [config] Configuring  
>>>> Service(id=DefaultCMPContainer,
>>>> type=Container, provider-id=Default CMP Container)
>>>> 12:50:39,663 INFO  [config] Configuring enterprise application:
>>>> com.myvoip.ipservices/callingcard-jetty/0.0.1-SNAPSHOT/car
>>>> 12:50:40,359 INFO  [OpenEJB] Auto-deploying ejb PayPalNVPProcessor:
>>>> EjbDeployment(deployment-id=callingcard-ejb-0.0.1-SNAPSHOT.jar/ 
>>>> PayPalNVPProcessor)
>>>> 12:50:40,360 INFO  [OpenEJB] Auto-deploying ejb NutalkNewOrderBean:
>>>> EjbDeployment(deployment-id=callingcard-ejb-0.0.1-SNAPSHOT.jar/ 
>>>> NutalkNewOrderBean)
>>>> 12:50:40,360 INFO  [OpenEJB] Auto-deploying ejb SampleBean:
>>>> EjbDeployment(deployment-id=callingcard-ejb-0.0.1-SNAPSHOT.jar/ 
>>>> SampleBean)
>>>> 12:50:40,412 INFO  [config] Enterprise application
>>>> "com.myvoip.ipservices/callingcard-jetty/0.0.1-SNAPSHOT/car" loaded.
>>>> [INFO]
>>>> 
>>>> [ERROR] BUILD ERROR
>>>> [INFO]
>>>> 
>>>> [INFO] could not package plugin
>>>>
>>>> Embedded error: Manifest class path entries must be a valid jar file
>>>> (JAVAEE 5 Section 8.2): path= lib/callingcard-ejb-0.0.1- 
>>>> SNAPSHOT.jar,
>>>> resolved to targetURI= lib/callingcard-ejb-0.0.1-SNAPSHOT.jar
>>>>looking at: callingcard-war-0.0.1-SNAPSHOT.warcurrent  
>>>> classpath:
>>>> [WEB-INF/classes/, ../lib/callingcard-common-0.0.1-SNAPSHOT.jar,
>>>> ../lib/paypal-stubs-4.3.1.jar, ../lib/paypal-base-4.3.1.jar,
>>>> ../lib/commons-lang-2.4.jar, ../lib/spring-2.5.6.jar,
>>>> ../lib/commons-logging-1.0.4.jar,
>>>> ../lib/callingcard-ejb-0.0.1-SNAPSHOT.jar]ignoring modules:
>>>> [callingcard-ejb-0.0.1-SNAPSHOT.jar, callingcard-war-0.0.1- 
>>>> SNAPSHOT.war]
>>>> No such file or directory
>>>> [INFO]
>>>> 
>>>> [INFO] For more information, run Maven with the -e switch
>>>> [INFO]
>>>> 
>>>> [INFO] Total time: 47 seconds
>>>> [INFO] Finished at: Fri Jan 09 12:50:42 EST 2009
>>>> [INFO] Final Memory: 64M/125M
>>>> [INFO]
>>>> 
>>>> die
>>>>
>>>>
>>>> Questions:
>>>>
>>>> 1. It seems that I got my first error is that I did not create
>>>> WEB-INF/geronimo-web.xml. I can define the option
>>>> -DXorg.apache.geronimo.deployment.LenientMFCP=true to make the build
>>>> successful. However, I looked at the calculator, it does not have  
>>>> the
>>>> WEB-INF/geronimo-web.xml but maven does not fail when it builds
>>>> jetty/tomcat car plugin. So why do I have this error? What do I  
>>>> miss in
>>>> my pom files?
>>>>
>>>> 2. Can somesome explain what
>>>> DXorg.apache.geronimo.deployment.LenientMFCP=true|false does?
>>>>
>>>> Thank for any helps
>>>>
>>>> -B
>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>> -
>> B Amigo:super:
>> -- 
>> View this message in context:
>> http://www.nabble.com/Maven-build-failed-with-missing-WEB-INF-geronimo-web.xml-tp21377598s134p21390405.html
>> Sent from the Apache Geronimo - Users mailing list archive at  
>> Nabble.com.
>>
> 
> 
> 


-
B Amigo:super:
-- 
View this message in context: 
http://www.nabble.com/Maven-build-failed-with-missing-WEB-INF-geronimo-web.xml-tp21377598s134p21392243.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.



Re: Maven build failed with missing WEB-INF/geronimo-web.xml

2009-01-10 Thread David Jencks
--
[INFO] could not package plugin

Embedded error: Manifest class path entries must be a valid jar file
(JAVAEE 5 Section 8.2): path= lib/callingcard-ejb-0.0.1- 
SNAPSHOT.jar,

resolved to targetURI= lib/callingcard-ejb-0.0.1-SNAPSHOT.jar
   looking at: callingcard-war-0.0.1-SNAPSHOT.warcurrent  
classpath:

[WEB-INF/classes/, ../lib/callingcard-common-0.0.1-SNAPSHOT.jar,
../lib/paypal-stubs-4.3.1.jar, ../lib/paypal-base-4.3.1.jar,
../lib/commons-lang-2.4.jar, ../lib/spring-2.5.6.jar,
../lib/commons-logging-1.0.4.jar,
../lib/callingcard-ejb-0.0.1-SNAPSHOT.jar]ignoring modules:
[callingcard-ejb-0.0.1-SNAPSHOT.jar, callingcard-war-0.0.1- 
SNAPSHOT.war]

No such file or directory
[INFO]

[INFO] For more information, run Maven with the -e switch
[INFO]

[INFO] Total time: 47 seconds
[INFO] Finished at: Fri Jan 09 12:50:42 EST 2009
[INFO] Final Memory: 64M/125M
[INFO]

die


Questions:

1. It seems that I got my first error is that I did not create
WEB-INF/geronimo-web.xml. I can define the option
-DXorg.apache.geronimo.deployment.LenientMFCP=true to make the build
successful. However, I looked at the calculator, it does not have  
the

WEB-INF/geronimo-web.xml but maven does not fail when it builds
jetty/tomcat car plugin. So why do I have this error? What do I  
miss in

my pom files?

2. Can somesome explain what
DXorg.apache.geronimo.deployment.LenientMFCP=true|false does?

Thank for any helps

-B









-
B Amigo:super:
--
View this message in context: 
http://www.nabble.com/Maven-build-failed-with-missing-WEB-INF-geronimo-web.xml-tp21377598s134p21390405.html
Sent from the Apache Geronimo - Users mailing list archive at  
Nabble.com.






Re: Maven build failed with missing WEB-INF/geronimo-web.xml

2009-01-10 Thread bongosdude
SHOT.jar,
>> resolved to targetURI= lib/callingcard-ejb-0.0.1-SNAPSHOT.jar
>> looking at: callingcard-war-0.0.1-SNAPSHOT.warcurrent classpath:
>> [WEB-INF/classes/, ../lib/callingcard-common-0.0.1-SNAPSHOT.jar,
>> ../lib/paypal-stubs-4.3.1.jar, ../lib/paypal-base-4.3.1.jar,
>> ../lib/commons-lang-2.4.jar, ../lib/spring-2.5.6.jar,
>> ../lib/commons-logging-1.0.4.jar,
>> ../lib/callingcard-ejb-0.0.1-SNAPSHOT.jar]ignoring modules:
>> [callingcard-ejb-0.0.1-SNAPSHOT.jar, callingcard-war-0.0.1-SNAPSHOT.war]
>> No such file or directory
>> [INFO]
>> 
>> [INFO] For more information, run Maven with the -e switch
>> [INFO]
>> 
>> [INFO] Total time: 47 seconds
>> [INFO] Finished at: Fri Jan 09 12:50:42 EST 2009
>> [INFO] Final Memory: 64M/125M
>> [INFO]
>> 
>> die
>> 
>> 
>> Questions:
>> 
>> 1. It seems that I got my first error is that I did not create
>> WEB-INF/geronimo-web.xml. I can define the option
>> -DXorg.apache.geronimo.deployment.LenientMFCP=true to make the build
>> successful. However, I looked at the calculator, it does not have the
>> WEB-INF/geronimo-web.xml but maven does not fail when it builds
>> jetty/tomcat car plugin. So why do I have this error? What do I miss in
>> my pom files?
>> 
>> 2. Can somesome explain what
>> DXorg.apache.geronimo.deployment.LenientMFCP=true|false does?
>> 
>> Thank for any helps
>> 
>> -B
>> 
>> 
>> 
> 
> 


-
B Amigo:super:
-- 
View this message in context: 
http://www.nabble.com/Maven-build-failed-with-missing-WEB-INF-geronimo-web.xml-tp21377598s134p21390405.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.



Re: Maven build failed with missing WEB-INF/geronimo-web.xml

2009-01-09 Thread Joe Bohn



The warning concerning the missing geronimo-web.xml is not related to 
the INFO message about the Strict Manifest Classpath processing.


Concerning the LenientMFCP:  This option was added to support archives 
that don't adhere to the standard specification which requires that the 
manifest classpath entries are processed.  Providing the override option 
means that we will ignore missing entries or non-jar entries.


Joe

bongosdude wrote:
Background 


I encountered this problem that I do not quite understand. I set up my demo
after I looked at the car-maven-plugin, m2eclipse and the geronimo sample
calculator. I have manually created my demo project by using maven
achetype-create with groupId=org.apache.geronimo.samples and
archytypeId=geronimo-samples-archetypes. And then I tweaked POM files
generated by looking at calculator POM files. I had to go through this
manual process because my web application is Tapestry5. And I have to add
dependencies to POM files. Maven build sub projects successfully except when
it tried to build jetty and tomcat CAR plugin. Here are the error messages
that I got:

[WARN]  Web application callingcard-war-0.0.1-SNAPSHOT.war does not contain
a WEB-INF/geronimo-web.xml deployment plan.  This may or may not be a
problem, depending on whether you have things like resource references that
need to be resolved.  You can also give the deployer a separate deployment
plan file on the command line.
[INFO]  The Strict Manifest Classpath processing mode is in effect.
This option can be altered by specifying
-DXorg.apache.geronimo.deployment.LenientMFCP=true|false
Specify ="true" for more lenient processing such as ignoring missing jars
and references that are not spec compliant.
12:50:39,649 INFO  [config] Configuring
Service(id=DefaultStatelessContainer, type=Container, provider-id=Default
Stateless Container)
12:50:39,653 INFO  [config] Configuring Service(id=DefaultStatefulContainer,
type=Container, provider-id=Default Stateful Container)
12:50:39,654 INFO  [config] Configuring
Service(id=DefaultSingletonContainer, type=Container, provider-id=Default
Singleton Container)
12:50:39,655 INFO  [config] Configuring Service(id=DefaultBMPContainer,
type=Container, provider-id=Default BMP Container)
12:50:39,655 INFO  [config] Configuring Service(id=DefaultCMPContainer,
type=Container, provider-id=Default CMP Container)
12:50:39,663 INFO  [config] Configuring enterprise application:
com.myvoip.ipservices/callingcard-jetty/0.0.1-SNAPSHOT/car
12:50:40,359 INFO  [OpenEJB] Auto-deploying ejb PayPalNVPProcessor:
EjbDeployment(deployment-id=callingcard-ejb-0.0.1-SNAPSHOT.jar/PayPalNVPProcessor)
12:50:40,360 INFO  [OpenEJB] Auto-deploying ejb NutalkNewOrderBean:
EjbDeployment(deployment-id=callingcard-ejb-0.0.1-SNAPSHOT.jar/NutalkNewOrderBean)
12:50:40,360 INFO  [OpenEJB] Auto-deploying ejb SampleBean:
EjbDeployment(deployment-id=callingcard-ejb-0.0.1-SNAPSHOT.jar/SampleBean)
12:50:40,412 INFO  [config] Enterprise application
"com.myvoip.ipservices/callingcard-jetty/0.0.1-SNAPSHOT/car" loaded.
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] could not package plugin

Embedded error: Manifest class path entries must be a valid jar file (JAVAEE
5 Section 8.2): path= lib/callingcard-ejb-0.0.1-SNAPSHOT.jar, resolved to
targetURI= lib/callingcard-ejb-0.0.1-SNAPSHOT.jar
looking at: callingcard-war-0.0.1-SNAPSHOT.warcurrent classpath:
[WEB-INF/classes/, ../lib/callingcard-common-0.0.1-SNAPSHOT.jar,
../lib/paypal-stubs-4.3.1.jar, ../lib/paypal-base-4.3.1.jar,
../lib/commons-lang-2.4.jar, ../lib/spring-2.5.6.jar,
../lib/commons-logging-1.0.4.jar, ../lib/callingcard-ejb-0.0.1-SNAPSHOT.jar]   
ignoring modules: [callingcard-ejb-0.0.1-SNAPSHOT.jar,

callingcard-war-0.0.1-SNAPSHOT.war]
No such file or directory
[INFO]

[INFO] For more information, run Maven with the -e switch
[INFO]

[INFO] Total time: 47 seconds
[INFO] Finished at: Fri Jan 09 12:50:42 EST 2009
[INFO] Final Memory: 64M/125M
[INFO]

die


Questions:

1. It seems that I got my first error is that I did not create
WEB-INF/geronimo-web.xml. I can define the option
-DXorg.apache.geronimo.deployment.LenientMFCP=true to make the build
successful. However, I looked at the calculator, it does not have the
WEB-INF/geronimo-web.xml but maven does not fail when it builds jetty/tomcat
car plugin. So why do I have this error? What do I miss in my pom files?

2. Can somesome explain what
DXorg.apache.geronimo.deployment.LenientMFCP=true|false does?

Thank for any helps

-B



-
B Amigo:super:




Re: Maven build failed with missing WEB-INF/geronimo-web.xml

2009-01-09 Thread bongosdude
 maven does not fail when it builds
> jetty/tomcat car plugin. So why do I have this error? What do I miss in my
> pom files?
> 
> 2. Can somesome explain what
> DXorg.apache.geronimo.deployment.LenientMFCP=true|false does?
> 
> Thank for any helps
> 
> -B
> 
> 
> 


-
B Amigo:super:
-- 
View this message in context: 
http://www.nabble.com/Maven-build-failed-with-missing-WEB-INF-geronimo-web.xml-tp21377598s134p21377889.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.



Maven build failed with missing WEB-INF/geronimo-web.xml

2009-01-09 Thread bongosdude

Background 

I encountered this problem that I do not quite understand. I set up my demo
after I looked at the car-maven-plugin, m2eclipse and the geronimo sample
calculator. I have manually created my demo project by using maven
achetype-create with groupId=org.apache.geronimo.samples and
archytypeId=geronimo-samples-archetypes. And then I tweaked POM files
generated by looking at calculator POM files. I had to go through this
manual process because my web application is Tapestry5. And I have to add
dependencies to POM files. Maven build sub projects successfully except when
it tried to build jetty and tomcat CAR plugin. Here are the error messages
that I got:

[WARN]  Web application callingcard-war-0.0.1-SNAPSHOT.war does not contain
a WEB-INF/geronimo-web.xml deployment plan.  This may or may not be a
problem, depending on whether you have things like resource references that
need to be resolved.  You can also give the deployer a separate deployment
plan file on the command line.
[INFO]  The Strict Manifest Classpath processing mode is in effect.
This option can be altered by specifying
-DXorg.apache.geronimo.deployment.LenientMFCP=true|false
Specify ="true" for more lenient processing such as ignoring missing jars
and references that are not spec compliant.
12:50:39,649 INFO  [config] Configuring
Service(id=DefaultStatelessContainer, type=Container, provider-id=Default
Stateless Container)
12:50:39,653 INFO  [config] Configuring Service(id=DefaultStatefulContainer,
type=Container, provider-id=Default Stateful Container)
12:50:39,654 INFO  [config] Configuring
Service(id=DefaultSingletonContainer, type=Container, provider-id=Default
Singleton Container)
12:50:39,655 INFO  [config] Configuring Service(id=DefaultBMPContainer,
type=Container, provider-id=Default BMP Container)
12:50:39,655 INFO  [config] Configuring Service(id=DefaultCMPContainer,
type=Container, provider-id=Default CMP Container)
12:50:39,663 INFO  [config] Configuring enterprise application:
com.myvoip.ipservices/callingcard-jetty/0.0.1-SNAPSHOT/car
12:50:40,359 INFO  [OpenEJB] Auto-deploying ejb PayPalNVPProcessor:
EjbDeployment(deployment-id=callingcard-ejb-0.0.1-SNAPSHOT.jar/PayPalNVPProcessor)
12:50:40,360 INFO  [OpenEJB] Auto-deploying ejb NutalkNewOrderBean:
EjbDeployment(deployment-id=callingcard-ejb-0.0.1-SNAPSHOT.jar/NutalkNewOrderBean)
12:50:40,360 INFO  [OpenEJB] Auto-deploying ejb SampleBean:
EjbDeployment(deployment-id=callingcard-ejb-0.0.1-SNAPSHOT.jar/SampleBean)
12:50:40,412 INFO  [config] Enterprise application
"com.myvoip.ipservices/callingcard-jetty/0.0.1-SNAPSHOT/car" loaded.
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] could not package plugin

Embedded error: Manifest class path entries must be a valid jar file (JAVAEE
5 Section 8.2): path= lib/callingcard-ejb-0.0.1-SNAPSHOT.jar, resolved to
targetURI= lib/callingcard-ejb-0.0.1-SNAPSHOT.jar
looking at: callingcard-war-0.0.1-SNAPSHOT.warcurrent classpath:
[WEB-INF/classes/, ../lib/callingcard-common-0.0.1-SNAPSHOT.jar,
../lib/paypal-stubs-4.3.1.jar, ../lib/paypal-base-4.3.1.jar,
../lib/commons-lang-2.4.jar, ../lib/spring-2.5.6.jar,
../lib/commons-logging-1.0.4.jar, ../lib/callingcard-ejb-0.0.1-SNAPSHOT.jar]   
ignoring modules: [callingcard-ejb-0.0.1-SNAPSHOT.jar,
callingcard-war-0.0.1-SNAPSHOT.war]
No such file or directory
[INFO]

[INFO] For more information, run Maven with the -e switch
[INFO]

[INFO] Total time: 47 seconds
[INFO] Finished at: Fri Jan 09 12:50:42 EST 2009
[INFO] Final Memory: 64M/125M
[INFO]

die


Questions:

1. It seems that I got my first error is that I did not create
WEB-INF/geronimo-web.xml. I can define the option
-DXorg.apache.geronimo.deployment.LenientMFCP=true to make the build
successful. However, I looked at the calculator, it does not have the
WEB-INF/geronimo-web.xml but maven does not fail when it builds jetty/tomcat
car plugin. So why do I have this error? What do I miss in my pom files?

2. Can somesome explain what
DXorg.apache.geronimo.deployment.LenientMFCP=true|false does?

Thank for any helps

-B



-
B Amigo:super:
-- 
View this message in context: 
http://www.nabble.com/Maven-build-failed-with-missing-WEB-INF-geronimo-web.xml-tp21377598s134p21377598.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.



Re: Build Failed - Building from SVN Geronimo 1.0

2006-02-19 Thread Alan D. Cabrera




On 2/12/2006 12:24 PM, Bruce Snyder wrote:

  On 2/11/06, Sanjay Dwivedi <[EMAIL PROTECTED]> wrote:

  
  
I get following error while building Geronimo 1.0 from SVN source (not the
zip file).
I have followed the email trails and JIRA to copy
geronimo-corba_2.3_spec-1.0.jar in
.maven/repository/org.apache.geronimo.specs, still get the
error. Also tried creating
 geronimo-corba_2.3_spec/1.1-SNAPSHOT/jar there and copying
the corba jar. Still get the error.

  
  
It looks to me like you're compiling from SVN HEAD which is actually
Geronimo 1.1. The error that you're getting is due to the fact that
the 1.1-SNAPSHOT version of the geronimo-corba_2.3_spec jar is not
available in any Maven repos. You can get around this by checking out
the Geronimo specs project and building it on your machine. Then
Geronimo HEAD should build correctly. Below are the steps:

1) Install Maven 2
2) Download the Geronimo specs trunk:

svn co https://svn.apache.org/repos/asf/geronimo/specs/trunk

3) Compile the specs:

mvn install

4) Build Geronimo HEAD:

maven -Dmaven.itest.skip=true -Dmaven.test.skip=true new

Please let us know if you have any additional problems.
  


You shouldn't have to build specs.  It's up in the maven repo.


Regards,
Alan






Re: Build Failed - Building from SVN Geronimo 1.0

2006-02-18 Thread Sanjay Dwivedi



Thanks guys, I was finally able to build today 
after svn update and rebuild. No problems.
 
1) Used maven 2.0.2 to build geronimo-specs using 
steps from Bruce Snyder's email.
2) Used maven 1.1 beta2 to build geronimo using 
steps from the Wiki.
 
One of the things I did different this time was to 
build geronimo-specs in a different directory i.e $PROJECT_HOME/geronimo-specs 
(check out and build here, it updated $HOME/.maven respository appropriately for 
specs) and built geronimo in $PROJECT_HOME/geronimo. Not sure if this or svn 
update made the difference.
 
--
Sanjay

  - Original Message - 
  From: 
  leonard 
  flournoy 
  To: user@geronimo.apache.org 
  Sent: Friday, February 17, 2006 12:55 
  PM
  Subject: Re: Build Failed - Building from 
  SVN Geronimo 1.0
  Worked like a charm, thanks
  On 2/17/06, Kevan 
  Miller <[EMAIL PROTECTED]> 
  wrote:
  

On Feb 17, 2006, at 10:22 AM, leonard flournoy wrote:
I have done the following:1) Install Maven 
  22) Download the Geronimo specs trunk:svn co https://svn.apache.org/repos/asf/geronimo/specs/trunk3) 
  Compile the specs: mvn installat this point mvn just loops 
  - any suggestions?

Hi Leonard,
Are you using Maven 2.0? If you aren't, then I suggest you upgrade. 
I've seen this behavior with Maven 2.0, but not Maven 2.0.2.
--kevan


  On 2/12/06, Bruce 
  Snyder <[EMAIL PROTECTED]> wrote:
  On 
2/11/06, Sanjay Dwivedi <[EMAIL PROTECTED]> wrote:> I get 
following error while building Geronimo 1.0 from SVN source (not 
the> zip file).> I have followed the email trails and JIRA 
to copy> geronimo-corba_2.3_spec-1.0.jar in> 
.maven/repository/org.apache.geronimo.specs, still get the> 
error. Also tried creating 
>  geronimo-corba_2.3_spec/1.1-SNAPSHOT/jar there and 
copying > the corba jar. Still get the error.It looks to 
me like you're compiling from SVN HEAD which is actuallyGeronimo 
1.1. The error that you're getting is due to the fact that the 
1.1-SNAPSHOT version of the geronimo-corba_2.3_spec jar is not 
available in any Maven repos. You can get around this by checking 
outthe Geronimo specs project and building it on your machine. 
ThenGeronimo HEAD should build correctly. Below are the steps: 
1) Install Maven 2 2) Download the Geronimo specs 
trunk:svn co https://svn.apache.org/repos/asf/geronimo/specs/trunk 
3) Compile the specs:mvn install 4) Build 
Geronimo HEAD:maven -Dmaven.itest.skip=true 
-Dmaven.test.skip=true newPlease let us know if you have any 
additional problems.Bruce --perl -e 'print 
unpack("u30","D0G)[EMAIL PROTECTED]&5R\"F)R=6-E+G-N>61E);'Apache Geronimo ( 
http://geronimo.apache.org/)Castor (http://castor.org/)


Re: Build Failed - Building from SVN Geronimo 1.0

2006-02-17 Thread leonard flournoy
Worked like a charm, thanksOn 2/17/06, Kevan Miller <[EMAIL PROTECTED]> wrote:
On Feb 17, 2006, at 10:22 AM, leonard flournoy wrote:I have done the following:1) Install Maven 22) Download the Geronimo specs trunk:svn co 
 https://svn.apache.org/repos/asf/geronimo/specs/trunk3) Compile the specs:
mvn installat this point mvn just loops - any suggestions?Hi Leonard,Are you using Maven 2.0? If you aren't, then I suggest you upgrade. I've seen this behavior with Maven 
2.0, but not Maven 2.0.2.--kevanOn 2/12/06, 
 Bruce Snyder <[EMAIL PROTECTED]> wrote:
 On 2/11/06, Sanjay Dwivedi <[EMAIL PROTECTED]> wrote:> I get following error while building Geronimo 
1.0 from SVN source (not the> zip file). > I have followed the email trails and JIRA to copy> geronimo-corba_2.3_spec-1.0.jar in> .maven/repository/org.apache.geronimo.specs, still get the> error. Also tried creating
>  geronimo-corba_2.3_spec/1.1-SNAPSHOT/jar there and copying > the corba jar. Still get the error.It looks to me like you're compiling from SVN HEAD which is actuallyGeronimo 1.1. The error that you're getting is due to the fact that
the 1.1-SNAPSHOT version of the geronimo-corba_2.3_spec jar is not available in any Maven repos. You can get around this by checking outthe Geronimo specs project and building it on your machine. ThenGeronimo HEAD should build correctly. Below are the steps:
1) Install Maven 2 2) Download the Geronimo specs trunk:svn co https://svn.apache.org/repos/asf/geronimo/specs/trunk
3) Compile the specs:mvn install 4) Build Geronimo HEAD:maven -Dmaven.itest.skip=true -Dmaven.test.skip=true newPlease let us know if you have any additional problems.Bruce
--perl -e 'print unpack("u30","D0G)[EMAIL PROTECTED]&5R\"F)R=6-E+G-N>61E);'Apache Geronimo (
http://geronimo.apache.org/)Castor (http://castor.org/)




Re: Build Failed - Building from SVN Geronimo 1.0

2006-02-17 Thread Kevan Miller
On Feb 17, 2006, at 10:22 AM, leonard flournoy wrote:I have done the following:1) Install Maven 22) Download the Geronimo specs trunk:svn co  https://svn.apache.org/repos/asf/geronimo/specs/trunk3) Compile the specs:mvn installat this point mvn just loops - any suggestions?Hi Leonard,Are you using Maven 2.0? If you aren't, then I suggest you upgrade. I've seen this behavior with Maven 2.0, but not Maven 2.0.2.--kevanOn 2/12/06,  Bruce Snyder <[EMAIL PROTECTED]> wrote: On 2/11/06, Sanjay Dwivedi <[EMAIL PROTECTED]> wrote:> I get following error while building Geronimo 1.0 from SVN source (not the> zip file). > I have followed the email trails and JIRA to copy> geronimo-corba_2.3_spec-1.0.jar in> .maven/repository/org.apache.geronimo.specs, still get the> error. Also tried creating>  geronimo-corba_2.3_spec/1.1-SNAPSHOT/jar there and copying > the corba jar. Still get the error.It looks to me like you're compiling from SVN HEAD which is actuallyGeronimo 1.1. The error that you're getting is due to the fact thatthe 1.1-SNAPSHOT version of the geronimo-corba_2.3_spec jar is not available in any Maven repos. You can get around this by checking outthe Geronimo specs project and building it on your machine. ThenGeronimo HEAD should build correctly. Below are the steps:1) Install Maven 2 2) Download the Geronimo specs trunk:svn co https://svn.apache.org/repos/asf/geronimo/specs/trunk3) Compile the specs:mvn install 4) Build Geronimo HEAD:maven -Dmaven.itest.skip=true -Dmaven.test.skip=true newPlease let us know if you have any additional problems.Bruce--perl -e 'print unpack("u30","D0G)[EMAIL PROTECTED]&5R\"F)R=6-E+G-N>61E);'Apache Geronimo (http://geronimo.apache.org/)Castor (http://castor.org/)

Re: Build Failed - Building from SVN Geronimo 1.0

2006-02-17 Thread leonard flournoy
I have done the following:1) Install Maven 22) Download the Geronimo specs trunk:svn co 
https://svn.apache.org/repos/asf/geronimo/specs/trunk3) Compile the specs:mvn installat this point mvn just loops - any suggestions?On 2/12/06, 
Bruce Snyder <[EMAIL PROTECTED]> wrote:
On 2/11/06, Sanjay Dwivedi <[EMAIL PROTECTED]> wrote:> I get following error while building Geronimo 1.0 from SVN source (not the> zip file).
> I have followed the email trails and JIRA to copy> geronimo-corba_2.3_spec-1.0.jar in> .maven/repository/org.apache.geronimo.specs, still get the> error. Also tried creating>  geronimo-corba_2.3_spec/1.1-SNAPSHOT/jar there and copying
> the corba jar. Still get the error.It looks to me like you're compiling from SVN HEAD which is actuallyGeronimo 1.1. The error that you're getting is due to the fact thatthe 1.1-SNAPSHOT version of the geronimo-corba_2.3_spec jar is not
available in any Maven repos. You can get around this by checking outthe Geronimo specs project and building it on your machine. ThenGeronimo HEAD should build correctly. Below are the steps:1) Install Maven 2
2) Download the Geronimo specs trunk:svn co https://svn.apache.org/repos/asf/geronimo/specs/trunk3) Compile the specs:mvn install
4) Build Geronimo HEAD:maven -Dmaven.itest.skip=true -Dmaven.test.skip=true newPlease let us know if you have any additional problems.Bruce--perl -e 'print unpack("u30","D0G)[EMAIL PROTECTED]&5R\"F)R=6-E+G-N>61E);'Apache Geronimo (http://geronimo.apache.org/)Castor (http://castor.org/)


Re: Build Failed - Building from SVN Geronimo 1.0

2006-02-17 Thread Kevan Miller

Sanjay,
Looks like this problem was fixed last night...
--kevan
On Feb 16, 2006, at 8:51 PM, Sanjay Dwivedi wrote:

The build failed for following reason (this time it got much  
farther, no
geronimo spec issues after checked out and built specs project),  
has anybody seen this error. Do I need to build config also

(like specs)?:

multiproject:install-callback:
   [echo] Running car:install for openejb Configuration for the  
J2EE Server

20:36:24,778 ERROR [Deployer] Deployment failed due to
java.lang.NoClassDefFoundError: org/apache/geronimo/interceptor/ 
Invocation

   at java.lang.Class.getDeclaredMethods0(Native Method)
   at java.lang.Class.privateGetDeclaredMethods(Class.java:1647)
   at java.lang.Class.getDeclaredMethod(Class.java:1254)
   at org.apache.geronimo.gbean.GBeanInfo.getGBeanInfo 
(GBeanInfo.java:60)
   at  
org.apache.geronimo.deployment.service.ServiceConfigBuilder.addGBeanD

ata(ServiceConfigBuilder.java:316)
   at  
org.apache.geronimo.deployment.service.ServiceConfigBuilder.addGBeans

(ServiceConfigBuilder.java:311)
   at  
org.apache.geronimo.deployment.service.ServiceConfigBuilder.buildConf

iguration(ServiceConfigBuilder.java:207)
   at  
org.apache.geronimo.deployment.service.ServiceConfigBuilder.buildConf

iguration(ServiceConfigBuilder.java:167)
   at  
org.apache.geronimo.deployment.service.ServiceConfigBuilder$$FastClas

sByCGLIB$$9f173be6.invoke()
   at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
   at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke 
(FastMethod

Invoker.java:38)
   at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke 
(GBeanOperatio

n.java:118)
   at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke 
(GBeanInstance.

java:800)
   at org.apache.geronimo.gbean.runtime.RawInvoker.invoke 
(RawInvoker.java:5

7)
   at  
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperat

ionInvoker.java:36)
   at  
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(Pro

xyMethodInterceptor.java:96)
   at org.apache.geronimo.deployment.ConfigurationBuilder$ 
$EnhancerByCGLIB$

$5e2a1c3b.buildConfiguration()
   at org.apache.geronimo.deployment.Deployer.deploy 
(Deployer.java:279)
   at org.apache.geronimo.deployment.Deployer$$FastClassByCGLIB$ 
$734a235d.i

nvoke()
   at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
   at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke 
(FastMethod

Invoker.java:38)
   at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke 
(GBeanOperatio

n.java:118)
   at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke 
(GBeanInstance.

java:835)
   at org.apache.geronimo.kernel.basic.BasicKernel.invoke 
(BasicKernel.java:

178)
   at  
org.apache.geronimo.plugin.packaging.PackageBuilder.invokeDeployer(Pa

ckageBuilder.java:389)
   at  
org.apache.geronimo.plugin.packaging.PackageBuilder.execute(PackageBu

ilder.java:294)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke 
(NativeMethodAccessorImpl.

java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke 
(DelegatingMethodAcces

sorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:324)
   at  
org.apache.geronimo.plugin.packaging.PackageBuilderShell.execute(Pack

ageBuilderShell.java:232)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke 
(NativeMethodAccessorImpl.

java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke 
(DelegatingMethodAcces

sorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:324)
   at org.apache.commons.jelly.impl.DynamicBeanTag.doTag 
(DynamicBeanTag.jav

a:230)
   at org.apache.commons.jelly.impl.StaticTagScript.run 
(StaticTagScript.jav

a:145)
   at org.apache.commons.jelly.impl.ScriptBlock.run 
(ScriptBlock.java:135)
   at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag 
(MavenGoalTa

g.java:79)
   at org.apache.maven.jelly.tags.werkz.MavenGoalTag 
$MavenGoalAction.perfor

mAction(MavenGoalTag.java:110)
   at com.werken.werkz.Goal.fire(Goal.java:639)
   at com.werken.werkz.Goal.attain(Goal.java:575)
   at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
   at com.werken.werkz.Goal.attain(Goal.java:573)
   at com.werken.werkz.WerkzProject.attainGoal 
(WerkzProject.java:193)
   at org.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doTag 
(MavenAttai

nGoalTag.java:127)
   at org.apache.commons.jelly.impl.TagScript.run 
(TagScript.java:279)
   at org.apache.commons.jelly.impl.ScriptBlock.run 
(ScriptBlock.java:135)
   at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag 
(MavenGoalTa

g.java:79)
   at org.apache.maven.jelly.tags.werkz.MavenGoalTag 
$MavenGoalAction.perfor

mAction

Re: Build Failed - Building from SVN Geronimo 1.0

2006-02-16 Thread Sanjay Dwivedi

The build failed for following reason (this time it got much farther, no
geronimo spec issues after checked out and built specs project), has anybody 
seen this error. Do I need to build config also

(like specs)?:

multiproject:install-callback:
   [echo] Running car:install for openejb Configuration for the J2EE Server
20:36:24,778 ERROR [Deployer] Deployment failed due to
java.lang.NoClassDefFoundError: org/apache/geronimo/interceptor/Invocation
   at java.lang.Class.getDeclaredMethods0(Native Method)
   at java.lang.Class.privateGetDeclaredMethods(Class.java:1647)
   at java.lang.Class.getDeclaredMethod(Class.java:1254)
   at 
org.apache.geronimo.gbean.GBeanInfo.getGBeanInfo(GBeanInfo.java:60)
   at 
org.apache.geronimo.deployment.service.ServiceConfigBuilder.addGBeanD

ata(ServiceConfigBuilder.java:316)
   at 
org.apache.geronimo.deployment.service.ServiceConfigBuilder.addGBeans

(ServiceConfigBuilder.java:311)
   at 
org.apache.geronimo.deployment.service.ServiceConfigBuilder.buildConf

iguration(ServiceConfigBuilder.java:207)
   at 
org.apache.geronimo.deployment.service.ServiceConfigBuilder.buildConf

iguration(ServiceConfigBuilder.java:167)
   at 
org.apache.geronimo.deployment.service.ServiceConfigBuilder$$FastClas

sByCGLIB$$9f173be6.invoke()
   at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
   at 
org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethod

Invoker.java:38)
   at 
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio

n.java:118)
   at 
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.

java:800)
   at 
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:5

7)
   at 
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperat

ionInvoker.java:36)
   at 
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(Pro

xyMethodInterceptor.java:96)
   at 
org.apache.geronimo.deployment.ConfigurationBuilder$$EnhancerByCGLIB$

$5e2a1c3b.buildConfiguration()
   at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:279)
   at 
org.apache.geronimo.deployment.Deployer$$FastClassByCGLIB$$734a235d.i

nvoke()
   at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
   at 
org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethod

Invoker.java:38)
   at 
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio

n.java:118)
   at 
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.

java:835)
   at 
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:

178)
   at 
org.apache.geronimo.plugin.packaging.PackageBuilder.invokeDeployer(Pa

ckageBuilder.java:389)
   at 
org.apache.geronimo.plugin.packaging.PackageBuilder.execute(PackageBu

ilder.java:294)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.

java:39)
   at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

sorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:324)
   at 
org.apache.geronimo.plugin.packaging.PackageBuilderShell.execute(Pack

ageBuilderShell.java:232)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.

java:39)
   at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

sorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:324)
   at 
org.apache.commons.jelly.impl.DynamicBeanTag.doTag(DynamicBeanTag.jav

a:230)
   at 
org.apache.commons.jelly.impl.StaticTagScript.run(StaticTagScript.jav

a:145)
   at 
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
   at 
org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTa

g.java:79)
   at 
org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.perfor

mAction(MavenGoalTag.java:110)
   at com.werken.werkz.Goal.fire(Goal.java:639)
   at com.werken.werkz.Goal.attain(Goal.java:575)
   at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
   at com.werken.werkz.Goal.attain(Goal.java:573)
   at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)
   at 
org.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doTag(MavenAttai

nGoalTag.java:127)
   at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
   at 
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
   at 
org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTa

g.java:79)
   at 
org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.perfor

mAction(MavenGoalTag.java:110)
   at com.werken.werkz.Goal.fire(Goal.java:639)
   at com.werken.werkz.Goal.attain(Goal.java:575)
   at

Re: Geronimo Build Failed

2006-02-13 Thread David Jencks
You might have an out of date xmlbeans plugin.  Originally it came with geronimo rather than xmlbeans and IIRC there were some similar problems when it moved.Try removing all copies of the xmlbeans plugin (some might start with "geronimo-...") from your local maven repo, the .maven/cache, and the maven installation plugins directory.  The correct plugin should be downloadable from ibiblio.I recommend upgrading to maven 1.1-b2 as well, but this error should be fixable anyway.thanksdavid jencksOn Feb 13, 2006, at 11:37 AM, leonard flournoy wrote:no, I am using maven 1.0.2 and geronimo from trunk. I did an svn update this morning.C:\IBM-Projects\geronimo\geronimo>maven --version __  __|  \/  |__ _Apache__ ___| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~ |_|  |_\__,_|\_/\___|_||_|  v. 1.0.2On 2/13/06, Aaron Mulder <[EMAIL PROTECTED]> wrote: I haven't seen that error before.  Are you using Maven 1.1-beta-2?And what version of Geronimo are you building ( 1.0 sourcedistribution, or SVN HEAD, or SVN 1.0 branch)?Thanks,AaronOn 2/13/06, leonard flournoy <[EMAIL PROTECTED]> wrote:> Please assist me with this problem, do I have to manually edit plugin.jelly> ?>>> BUILD FAILED> File.. C:\IBM-Projects\geronimo\geronimo\maven.xml> Element... maven:reactor> Line.. 43> Column 154> Unable to obtain goal [multiproject:install-callback] -- C:\Documents and > Settin> gs\Administrator\.maven\cache\xmlbeans-maven-plugin-2.0.0-beta1\plugin.jelly:24:> 23:  Missing required attribute: targetdir> Total time: 10 minutes 32 seconds> Finished at: Mon Feb 13 09:37:17 PST 2006 >> C:\IBM-Projects\geronimo\geronimo>

Re: Geronimo Build Failed

2006-02-13 Thread leonard flournoy
no, I am using maven 1.0.2 and geronimo from trunk. I did an svn update this morning.C:\IBM-Projects\geronimo\geronimo>maven --version __  __|  \/  |__ _Apache__ ___| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0.2On 2/13/06, Aaron Mulder <[EMAIL PROTECTED]> wrote:
I haven't seen that error before.  Are you using Maven 1.1-beta-2?And what version of Geronimo are you building (
1.0 sourcedistribution, or SVN HEAD, or SVN 1.0 branch)?Thanks,AaronOn 2/13/06, leonard flournoy <[EMAIL PROTECTED]> wrote:> Please assist me with this problem, do I have to manually edit 
plugin.jelly> ?>>> BUILD FAILED> File.. C:\IBM-Projects\geronimo\geronimo\maven.xml> Element... maven:reactor> Line.. 43> Column 154> Unable to obtain goal [multiproject:install-callback] -- C:\Documents and
> Settin> gs\Administrator\.maven\cache\xmlbeans-maven-plugin-2.0.0-beta1\plugin.jelly:24:> 23:  Missing required attribute: targetdir> Total time: 10 minutes 32 seconds> Finished at: Mon Feb 13 09:37:17 PST 2006
>> C:\IBM-Projects\geronimo\geronimo>


Re: Geronimo Build Failed

2006-02-13 Thread Aaron Mulder
I haven't seen that error before.  Are you using Maven 1.1-beta-2? 
And what version of Geronimo are you building (1.0 source
distribution, or SVN HEAD, or SVN 1.0 branch)?

Thanks,
Aaron

On 2/13/06, leonard flournoy <[EMAIL PROTECTED]> wrote:
> Please assist me with this problem, do I have to manually edit plugin.jelly
> ?
>
>
> BUILD FAILED
> File.. C:\IBM-Projects\geronimo\geronimo\maven.xml
> Element... maven:reactor
> Line.. 43
> Column 154
> Unable to obtain goal [multiproject:install-callback] -- C:\Documents and
> Settin
> gs\Administrator\.maven\cache\xmlbeans-maven-plugin-2.0.0-beta1\plugin.jelly:24:
> 23:  Missing required attribute: targetdir
> Total time: 10 minutes 32 seconds
> Finished at: Mon Feb 13 09:37:17 PST 2006
>
> C:\IBM-Projects\geronimo\geronimo>


Geronimo Build Failed

2006-02-13 Thread leonard flournoy
Please assist me with this problem, do I have to manually edit plugin.jelly ?BUILD FAILEDFile.. C:\IBM-Projects\geronimo\geronimo\maven.xmlElement... maven:reactorLine.. 43Column 154
Unable to obtain goal [multiproject:install-callback] -- C:\Documents and Settings\Administrator\.maven\cache\xmlbeans-maven-plugin-2.0.0-beta1\plugin.jelly:24:23:  Missing required attribute: targetdir
Total time: 10 minutes 32 secondsFinished at: Mon Feb 13 09:37:17 PST 2006C:\IBM-Projects\geronimo\geronimo>


Re: Build Failed - Building from SVN Geronimo 1.0

2006-02-12 Thread Sanjay Dwivedi

Bruce,

Followed the steps you described below. The build failed at exactly the same 
place, this time I started with clean maven cache/repository.


The geronimo spec build was perfectly fine i.e. steps 1, 2, 3 were 
successful. Don't know what else to do, guess am stuck. Tried advise from 
Mark Kirkwood i.e.



ii) Fetch geronimo-spec-corba-2.3-rc4.jar and place in
.maven/repository/geronimo-spec/jars.


Here kept the rc4 and also copied and renamed the jar with 1.1-SNAPSHOT 
suffix instead of rc4, guess something must have changed in open EJB.



iii) Fetch geronimo-corba_2.3_spec-1.0.jar and place in
.maven/repository/org.apache.geronimo.specs/jars.
copied and renamed this with 1.1 suffix instead of 1.0 (kept the original as 
well).


--
Sanjay

- Original Message - 
From: "Bruce Snyder" <[EMAIL PROTECTED]>

To: 
Sent: Sunday, February 12, 2006 3:24 PM
Subject: Re: Build Failed - Building from SVN Geronimo 1.0


On 2/11/06, Sanjay Dwivedi <[EMAIL PROTECTED]> wrote:


I get following error while building Geronimo 1.0 from SVN source (not the
zip file).
I have followed the email trails and JIRA to copy
geronimo-corba_2.3_spec-1.0.jar in
.maven/repository/org.apache.geronimo.specs, still get the
error. Also tried creating
 geronimo-corba_2.3_spec/1.1-SNAPSHOT/jar there and copying
the corba jar. Still get the error.


It looks to me like you're compiling from SVN HEAD which is actually
Geronimo 1.1. The error that you're getting is due to the fact that
the 1.1-SNAPSHOT version of the geronimo-corba_2.3_spec jar is not
available in any Maven repos. You can get around this by checking out
the Geronimo specs project and building it on your machine. Then
Geronimo HEAD should build correctly. Below are the steps:

1) Install Maven 2
2) Download the Geronimo specs trunk:

svn co https://svn.apache.org/repos/asf/geronimo/specs/trunk

3) Compile the specs:

mvn install

4) Build Geronimo HEAD:

maven -Dmaven.itest.skip=true -Dmaven.test.skip=true new

Please let us know if you have any additional problems.

Bruce
--
perl -e 'print 
unpack("u30","D0G)[EMAIL PROTECTED]&5R\"F)R=6-E+G-N>61E
);'

Apache Geronimo (http://geronimo.apache.org/)

Castor (http://castor.org/) 



Re: Build Failed - Building from SVN Geronimo 1.0

2006-02-12 Thread Bruce Snyder
On 2/12/06, Sanjay Dwivedi <[EMAIL PROTECTED]> wrote:
> Thanks Bruce, yes I did checkout the HEAD. I will follow the steps you
> mention.
> In case I want 1.0 what should I do?

The 1.0 code line has different dependencies in the Maven POMs and the
project.properties so it should build just fine. But be aware that
there is a difference between the 1.0 branch and the 1.0 tag. The 1.0
branch is undergoing changes for 1.1 right now while the 1.0 tag is
locked in to the 1.0 release.

Bruce
--
perl -e 'print unpack("u30","D0G)[EMAIL 
PROTECTED]&5R\"F)R=6-E+G-N>61Ehttp://geronimo.apache.org/)

Castor (http://castor.org/)


Re: Build Failed - Building from SVN Geronimo 1.0

2006-02-12 Thread Sanjay Dwivedi
Thanks Bruce, yes I did checkout the HEAD. I will follow the steps you 
mention.

In case I want 1.0 what should I do?

--
Sanjay

- Original Message - 
From: "Bruce Snyder" <[EMAIL PROTECTED]>

To: 
Sent: Sunday, February 12, 2006 3:24 PM
Subject: Re: Build Failed - Building from SVN Geronimo 1.0


On 2/11/06, Sanjay Dwivedi <[EMAIL PROTECTED]> wrote:


I get following error while building Geronimo 1.0 from SVN source (not the
zip file).
I have followed the email trails and JIRA to copy
geronimo-corba_2.3_spec-1.0.jar in
.maven/repository/org.apache.geronimo.specs, still get the
error. Also tried creating
 geronimo-corba_2.3_spec/1.1-SNAPSHOT/jar there and copying
the corba jar. Still get the error.


It looks to me like you're compiling from SVN HEAD which is actually
Geronimo 1.1. The error that you're getting is due to the fact that
the 1.1-SNAPSHOT version of the geronimo-corba_2.3_spec jar is not
available in any Maven repos. You can get around this by checking out
the Geronimo specs project and building it on your machine. Then
Geronimo HEAD should build correctly. Below are the steps:

1) Install Maven 2
2) Download the Geronimo specs trunk:

svn co https://svn.apache.org/repos/asf/geronimo/specs/trunk

3) Compile the specs:

mvn install

4) Build Geronimo HEAD:

maven -Dmaven.itest.skip=true -Dmaven.test.skip=true new

Please let us know if you have any additional problems.

Bruce
--
perl -e 'print 
unpack("u30","D0G)[EMAIL PROTECTED]&5R\"F)R=6-E+G-N>61E
);'

Apache Geronimo (http://geronimo.apache.org/)

Castor (http://castor.org/) 



Re: Build Failed - Building from SVN Geronimo 1.0

2006-02-12 Thread Bruce Snyder
On 2/11/06, Sanjay Dwivedi <[EMAIL PROTECTED]> wrote:

> I get following error while building Geronimo 1.0 from SVN source (not the
> zip file).
> I have followed the email trails and JIRA to copy
> geronimo-corba_2.3_spec-1.0.jar in
> .maven/repository/org.apache.geronimo.specs, still get the
> error. Also tried creating
>  geronimo-corba_2.3_spec/1.1-SNAPSHOT/jar there and copying
> the corba jar. Still get the error.

It looks to me like you're compiling from SVN HEAD which is actually
Geronimo 1.1. The error that you're getting is due to the fact that
the 1.1-SNAPSHOT version of the geronimo-corba_2.3_spec jar is not
available in any Maven repos. You can get around this by checking out
the Geronimo specs project and building it on your machine. Then
Geronimo HEAD should build correctly. Below are the steps:

1) Install Maven 2
2) Download the Geronimo specs trunk:

svn co https://svn.apache.org/repos/asf/geronimo/specs/trunk

3) Compile the specs:

mvn install

4) Build Geronimo HEAD:

maven -Dmaven.itest.skip=true -Dmaven.test.skip=true new

Please let us know if you have any additional problems.

Bruce
--
perl -e 'print unpack("u30","D0G)[EMAIL 
PROTECTED]&5R\"F)R=6-E+G-N>61Ehttp://geronimo.apache.org/)

Castor (http://castor.org/)


Build Failed - Building from SVN Geronimo 1.0

2006-02-11 Thread Sanjay Dwivedi



Hello,
 
I get following error while building Geronimo 1.0 
from SVN source (not the zip file).
I have followed the email trails and JIRA to copy 
geronimo-corba_2.3_spec-1.0.jar in
.maven/repository/org.apache.geronimo.specs, still 
get the error. Also tried creating
 geronimo-corba_2.3_spec/1.1-SNAPSHOT/jar 
there and copying the corba jar. Still get the error.
 
Any help is appreciated.
 
-- Sanjay
 
-
 
 
multiproject:install-callback:    [echo] Running 
car:install for openejb Configuration for the J2EE Server22:44:00,265 ERROR 
[PackageBuilder] org.apache.geronimo.common.DeploymentException: 
org.apache.geronimo.kernel.repository.MissingDependencyException: uri 
org.apache.geronimo.specs/geronimo-corba_2.3_spec/1.1-SNAPSHOT/jar not found 
in repositoryorg.apache.geronimo.common.DeploymentException: 
org.apache.geronimo.kernel.repository.MissingDependencyException: uri 
org.apache.geronimo.specs/geronimo-corba_2.3_spec/1.1-SNAPSHOT/jar not found 
in repository    at 
org.apache.geronimo.deployment.service.ServiceConfigBuilder.getDependencyURI(ServiceConfigBuilder.java:402)    
at 
org.apache.geronimo.deployment.service.ServiceConfigBuilder.addDependencies(ServiceConfigBuilder.java:276)    
at 
org.apache.geronimo.deployment.service.ServiceConfigBuilder.addDependencies(ServiceConfigBuilder.java:303)    
at 
org.apache.geronimo.deployment.service.ServiceConfigBuilder.buildConfiguration(ServiceConfigBuilder.java:204)    
at 
org.apache.geronimo.deployment.service.ServiceConfigBuilder.buildConfiguration(ServiceConfigBuilder.java:167)    
at 
org.apache.geronimo.deployment.service.ServiceConfigBuilder$$FastClassByCGLIB$$9f173be6.invoke()    
at 
net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)    
at 
org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)    
at 
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:118)    
at 
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:800)    
at 
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)    
at 
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:36)    
at 
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)    
at 
org.apache.geronimo.deployment.ConfigurationBuilder$$EnhancerByCGLIB$$50d44f45.buildConfiguration()    
at 
org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:279)    
at 
org.apache.geronimo.deployment.Deployer$$FastClassByCGLIB$$734a235d.invoke()    
at 
net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)    
at 
org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)    
at 
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:118)    
at 
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:835)    
at 
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:178)    
at 
org.apache.geronimo.plugin.packaging.PackageBuilder.invokeDeployer(PackageBuilder.java:389)    
at 
org.apache.geronimo.plugin.packaging.PackageBuilder.execute(PackageBuilder.java:294)    
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:324)    
at 
org.apache.geronimo.plugin.packaging.PackageBuilderShell.execute(PackageBuilderShell.java:232)    
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:324)    
at 
org.apache.commons.jelly.impl.DynamicBeanTag.doTag(DynamicBeanTag.java:230)    
at 
org.apache.commons.jelly.impl.StaticTagScript.run(StaticTagScript.java:145)    
at 
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)    
at 
org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:79)    
at 
org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:110)    
at 
com.werken.werkz.Goal.fire(Goal.java:639)    
at 
com.werken.werkz.Goal.attain(Goal.java:575)    
at 
com.werken.werkz.Goal.attainPrecursors(Goal.java:488)    
at 
com.werken.werkz.Goal.attain(Goal.java:573)    
at 
com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)    
at 
org.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doTag(MavenAttainGoalTag.java:127)    

Re: Latest attempt to build failed when failed to download activecluster jar

2005-12-30 Thread Matt Hogstrom

Henry,

If you receive an error about not being able to download the jar simply retry 
the command.  the Internet is a wonderful thing but 100% accuracy is not one of 
them :)


Let us know if you still cannot get past this error.

Matt

Henry Hwang wrote:
 


I followed the build instruction given by Sachin and Nicholas (please see the
copied email below), but the last command:

 



maven new 



 

 


Failed with this error:  Is the server down?

 


...

+

| geronimo and geronimo-plugins Geronimo :: Jetty

| Memory: 21M/28M

+

Attempting to download activecluster-1.2-20051115174934.jar.

WARNING: Failed to download activecluster-1.2-20051115174934.jar.

 


BUILD FAILED

File.. C:\myworkspace\geronimo\src\1.0\maven.xml

Element... maven:reactor

Line.. 43

Column 154

The build cannot continue because of the following unsatisfied dependency:

 


activecluster-1.2-20051115174934.jar

 


Total time: 37 seconds

Finished at: Thu Dec 29 02:37:55 PST 2005

 

 


-Original Message-
From: Nicholas Irving [mailto:[EMAIL PROTECTED] 
Sent: Saturday, December 24, 2005 2:43 PM

To: user@geronimo.apache.org
Subject: RE: Geronimo build process

 


Merry Christmas (well down under it is)

 


Yes the documentation can be a little confusing.

 


Here is the way I am building (assuming you have all the preq tools, Maven,

subversion, cvs)

 


I have a build.properties file in my user root E:\Documents and

Settings\NIrving\ as follows

 


maven.repo.remote=http://ibiblio.org/maven,http://cvs.apache.org/repository

 


That file may not be necessary, but I have it due to unresolved dependencies

not being at ibiblio.org I also have an environmental variable MAVEN_OPTS

with the following value, which seems to resolve some memory issues I was

having. This setting is for a machine with 1gig of ram.

 


-XX:PermSize=256m -XX:MaxPermSize=512m -Xmx640m

 

This is because some of the jars required do not appear to be in ibiblio. 

 


svn checkout http://svn.apache.org/repos/asf/geronimo/branches/1.0/ geronimo

cd geronimo

svn update

maven -o m:fresh-checkout

maven new

 

if you get an error like 

java.lang.NoClassDefFoundError: javax/mail/Authenticator 

 


Then take a look @

http://comments.gmane.org/gmane.comp.java.geronimo.devel/21312 which

mentions that you have to delete the org.apache.geronimo.specs directory

from your maven local repository.

 


Have to rush off to Christmas breakfast, so I hope this helps out.

 







Latest attempt to build failed when failed to download activecluster jar

2005-12-30 Thread Henry Hwang








 

I followed the build instruction given by Sachin and
Nicholas (please see the copied email below), but the last command:

 

>maven new 

 

 

Failed with this error:  Is the server down?

 

…

+

| geronimo and geronimo-plugins Geronimo :: Jetty

| Memory: 21M/28M

+

Attempting to download activecluster-1.2-20051115174934.jar.

WARNING: Failed to download activecluster-1.2-20051115174934.jar.

 

BUILD FAILED

File.. C:\myworkspace\geronimo\src\1.0\maven.xml

Element... maven:reactor

Line.. 43

Column 154

The build cannot continue because of the following
unsatisfied dependency:

 

activecluster-1.2-20051115174934.jar

 

Total time: 37 seconds

Finished at: Thu Dec 29 02:37:55 PST 2005

 

 

-Original Message-
From: Nicholas Irving [mailto:[EMAIL PROTECTED] 
Sent: Saturday, December 24, 2005 2:43 PM
To: user@geronimo.apache.org
Subject: RE: Geronimo build process

 

Merry Christmas (well down under it is)

 

Yes the documentation can be a little confusing.

 

Here is the way I am building (assuming you have all the preq tools,
Maven,

subversion, cvs)

 

I have a build.properties file in my user root E:\Documents and

Settings\NIrving\ as follows

 

maven.repo.remote=http://ibiblio.org/maven,http://cvs.apache.org/repository

 

That file may not be necessary, but I have it due to unresolved
dependencies

not being at ibiblio.org I also have an environmental variable
MAVEN_OPTS

with the following value, which seems to resolve some memory issues I
was

having. This setting is for a machine with 1gig of ram.

 

-XX:PermSize=256m -XX:MaxPermSize=512m -Xmx640m

 

This is because some of the jars required do not appear to be in
ibiblio. 

 

svn checkout http://svn.apache.org/repos/asf/geronimo/branches/1.0/
geronimo

cd geronimo

svn update

maven -o m:fresh-checkout

maven new

 

if you get an error like 

java.lang.NoClassDefFoundError: javax/mail/Authenticator 

 

Then take a look @

http://comments.gmane.org/gmane.comp.java.geronimo.devel/21312 which

mentions that you have to delete the org.apache.geronimo.specs
directory

from your maven local repository.

 

Have to rush off to Christmas breakfast, so I hope this helps out.

 








Re: Build failed in maven checkout

2005-12-26 Thread Heinz Drews
Hello,

the m:fresh-checkout retrieves component from CVS.
You have to include cvs in the path definition.

Regards,
Heinz

On 12/27/05, ram me <[EMAIL PROTECTED]> wrote:
>
>
> I was try to build the server today  , The maven checkout is Failed.
> svn checkout http://svn.apache.org/repos/asf/geronimo/trunk
> geronimo
>
> gives
>
> Checked out revision 359173.
>
>
> Afterward change the directory to geronimo
>
> C:\geronimo>maven m:fresh-checkout
>  __  __
> |  \/  |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |_|  |_\__,_|\_/\___|_||_|  v. 1.0.2
>
>
> BUILD FAILED
> File.. C:\geronimo\maven.xml
> Element... ant:cvs
> Line.. 254
> Column 15
> java.io.IOException: CreateProcess: cvs
> -d:pserver:[EMAIL PROTECTED]:/ho
> me/projects/openejb/scm -q checkout -P openejb error=2
> Total time: 2 seconds
> Finished at: Tue Dec 27 10:50:51 IST 2005


Build failed in maven checkout

2005-12-26 Thread ram me
I was try to build the server today  , The maven checkout is Failed. 
svn checkout http://svn.apache.org/repos/asf/geronimo/trunk geronimo
gives
Checked out revision 359173.
Afterward change the directory to geronimo
C:\geronimo>maven m:fresh-checkout __  __|  \/  |__ _Apache__ ___| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~|_|  |_\__,_|\_/\___|_||_|  v. 1.0.2
BUILD FAILEDFile.. C:\geronimo\maven.xmlElement... ant:cvsLine.. 254Column 15java.io.IOException: CreateProcess: cvs -d:pserver:[EMAIL PROTECTED]:/home/projects/openejb/scm -q checkout -P openejb error=2 
Total time: 2 secondsFinished at: Tue Dec 27 10:50:51 IST 2005


Re: Build failed w/ backport-util-concurrent/backport-util-concurrent/2.0_01_pd/jar not found

2005-12-26 Thread Bharath

Thanks David. After running maven -o m:co, I could build.
 
Regards/Bharath


Re: Build failed w/ backport-util-concurrent/backport-util-concurrent/2.0_01_pd/jar not found

2005-12-25 Thread David Jencks
I think this is caused by some problems in the addtion of clustering  
support to openejb, I've written a note to the dev list on it.


I think you may be able to solve the problem by building an up to  
date copy of openejb.  If you don't have openejb checked out,


maven -o m:co

maven new

If you do have openejb checked out with m:co, then

cd openejb;cvs -q up -dP;cd ..

maven new

Hope this helps,
david jencks

On Dec 25, 2005, at 6:15 AM, Bharath wrote:

I was trying to build the server today & hit across this error. Any  
clue on where I can find the missing jar.


Final traces of the build process:
assemble:assemble-prepare:
[mkdir] Created dir: C:\Geronimo_source\geronimo\assemblies 
\j2ee-installer\t

arget\geronimo-1.0-SNAPSHOT
[copy] Copying 15 files to C:\Geronimo_source\geronimo 
\assemblies\j2ee-insta

ller\target\geronimo-1.0-SNAPSHOT
assemble:assemble:
assemble:assemble-repository:
[mkdir] Created dir: C:\Geronimo_source\geronimo\assemblies 
\j2ee-installer\t

arget\geronimo-1.0-SNAPSHOT\repository
[copy] Copying 40 files to C:\Geronimo_source\geronimo 
\assemblies\j2ee-insta

ller\target\geronimo-1.0-SNAPSHOT\repository

assemble:assemble-lib:
[mkdir] Created dir: C:\Geronimo_source\geronimo\assemblies 
\j2ee-installer\t

arget\geronimo-1.0-SNAPSHOT\lib
[copy] Copying 15 files to C:\Geronimo_source\geronimo 
\assemblies\j2ee-insta

ller\target\geronimo-1.0-SNAPSHOT\lib
[mkdir] Created dir: C:\Geronimo_source\geronimo\assemblies 
\j2ee-installer\t

arget\geronimo-1.0-SNAPSHOT\lib\endorsed
[copy] Copying 2 files to C:\Geronimo_source\geronimo\assemblies 
\j2ee-instal

ler\target\geronimo-1.0-SNAPSHOT\lib\endorsed
[mkdir] Created dir: C:\Geronimo_source\geronimo\assemblies 
\j2ee-installer\t

arget\geronimo-1.0-SNAPSHOT\lib\extension

assemble:assemble-unpack:
[unjar] Expanding: C:\Documents and Settings\Administrator 
\.maven\repository
\geronimo\jars\geronimo-scripts-1.0-SNAPSHOT.jar into C: 
\Geronimo_source\geronim

o\assemblies\j2ee-installer\target\geronimo- 1.0-SNAPSHOT

assemble:assemble-configurations:
[mkdir] Created dir: C:\Geronimo_source\geronimo\assemblies 
\j2ee-installer\t

arget\geronimo-1.0-SNAPSHOT\config-store
Installed configuration geronimo/j2ee-system/1.0-SNAPSHOT/car
[copy] Copying 1 file to C:\Geronimo_source\geronimo\assemblies 
\j2ee-install

er\target\geronimo-1.0-SNAPSHOT\bin
Installed configuration geronimo/rmi-naming/1.0-SNAPSHOT/car
Copying geronimo/geronimo-activation/1.0-SNAPSHOT/jar
Copying geronimo/geronimo-management/1.0-SNAPSHOT/jar
Copying geronimo/geronimo-j2ee/1.0-SNAPSHOT/jar
Copying geronimo/geronimo-core/1.0-SNAPSHOT/jar
Copying geronimo/geronimo-naming/1.0-SNAPSHOT/jar
Copying geronimo/geronimo-transaction/1.0-SNAPSHOT/jar
Copying geronimo/geronimo-security/1.0-SNAPSHOT/jar
Copying geronimo/geronimo-webservices/1.0-SNAPSHOT/jar
Copying concurrent/concurrent/1.3.4/jar
Copying tranql/tranql/1.2.1/jar
Copying howl/howl-logger/0.1.11/jar
Copying antlr/antlr/2.7.2/jar
Copying activeio/activeio/2.0-r118/jar
Configuration geronimo/j2ee-system/1.0-SNAPSHOT/car already present  
in configura

tion store
Installed configuration geronimo/j2ee-server/1.0-SNAPSHOT/car
Copying geronimo/geronimo-connector/1.0-SNAPSHOT/jar
Copying geronimo/geronimo-timer/1.0-SNAPSHOT/jar
Copying geronimo/geronimo-client/1.0-SNAPSHOT/jar
Copying geronimo/geronimo-axis/1.0-SNAPSHOT/jar
Copying axis/axis/1.4-SNAPSHOT/jar
Copying commons-discovery/commons-discovery/0.2/jar
Copying wsdl4j/wsdl4j/1.5.2/jar
Copying openejb/openejb-core/2.0-SNAPSHOT/jar
Copying geronimo-spec/geronimo-spec-corba/2.3-rc4/jar
Copying activecluster/activecluster/1.2-20051115174934/jar
Copying wadi/wadi-core/2.0M1/jar
Copying axion/axion/1.0-M3-dev/jar
Copying activemq/activemq-core/3.2.1/jar
Copying commons-collections/commons-collections/3.1/jar
Copying commons-primitives/commons-primitives/1.0/jar

BUILD FAILED
File.. C:\Geronimo_source\geronimo\maven.xml
Element... maven:reactor
Line.. 63
Column 108
Unable to obtain goal [multiproject:install-callback] -- C: 
\Documents and Settings\Administrator\.maven\cache\geronimo-  
assembly-plugin-1.1.2\plugin.jelly:177:145:  
 Dependency: backport-util-concurrent/ 
backport-util-c
oncurrent/2.0_01_pd/jar not found in local maven repo: for  
configuration: geronimo/j2ee-server/1.0-SNAPSHOT/car

Total time: 306 minutes 23 seconds
Finished at: Sun Dec 25 17:23:47 IST 2005

Regards/Bharath




Build failed w/ backport-util-concurrent/backport-util-concurrent/2.0_01_pd/jar not found

2005-12-25 Thread Bharath
I was trying to build the server today & hit across this error. Any clue on where I can find the missing jar.
 
Final traces of the build process:
assemble:assemble-prepare:    [mkdir] Created dir: C:\Geronimo_source\geronimo\assemblies\j2ee-installer\target\geronimo-1.0-SNAPSHOT    [copy] Copying 15 files to C:\Geronimo_source\geronimo\assemblies\j2ee-insta
ller\target\geronimo-1.0-SNAPSHOT

assemble:assemble:assemble:assemble-repository:    [mkdir] Created dir: C:\Geronimo_source\geronimo\assemblies\j2ee-installer\target\geronimo-1.0-SNAPSHOT\repository    [copy] Copying 40 files to C:\Geronimo_source\geronimo\assemblies\j2ee-insta
ller\target\geronimo-1.0-SNAPSHOT\repository
assemble:assemble-lib:    [mkdir] Created dir: C:\Geronimo_source\geronimo\assemblies\j2ee-installer\target\geronimo-1.0-SNAPSHOT\lib    [copy] Copying 15 files to C:\Geronimo_source\geronimo\assemblies\j2ee-insta
ller\target\geronimo-1.0-SNAPSHOT\lib    [mkdir] Created dir: C:\Geronimo_source\geronimo\assemblies\j2ee-installer\target\geronimo-1.0-SNAPSHOT\lib\endorsed    [copy] Copying 2 files to C:\Geronimo_source\geronimo\assemblies\j2ee-instal
ler\target\geronimo-1.0-SNAPSHOT\lib\endorsed    [mkdir] Created dir: C:\Geronimo_source\geronimo\assemblies\j2ee-installer\target\geronimo-1.0-SNAPSHOT\lib\extension
assemble:assemble-unpack:    [unjar] Expanding: C:\Documents and Settings\Administrator\.maven\repository\geronimo\jars\geronimo-scripts-1.0-SNAPSHOT.jar into C:\Geronimo_source\geronimo\assemblies\j2ee-installer\target\geronimo-
1.0-SNAPSHOT
assemble:assemble-configurations:    [mkdir] Created dir: C:\Geronimo_source\geronimo\assemblies\j2ee-installer\target\geronimo-1.0-SNAPSHOT\config-storeInstalled configuration geronimo/j2ee-system/1.0-SNAPSHOT/car
    [copy] Copying 1 file to C:\Geronimo_source\geronimo\assemblies\j2ee-installer\target\geronimo-1.0-SNAPSHOT\binInstalled configuration geronimo/rmi-naming/1.0-SNAPSHOT/carCopying geronimo/geronimo-activation/1.0-SNAPSHOT/jar
Copying geronimo/geronimo-management/1.0-SNAPSHOT/jarCopying geronimo/geronimo-j2ee/1.0-SNAPSHOT/jarCopying geronimo/geronimo-core/1.0-SNAPSHOT/jarCopying geronimo/geronimo-naming/1.0-SNAPSHOT/jarCopying geronimo/geronimo-transaction/1.0-SNAPSHOT/jar
Copying geronimo/geronimo-security/1.0-SNAPSHOT/jarCopying geronimo/geronimo-webservices/1.0-SNAPSHOT/jarCopying concurrent/concurrent/1.3.4/jarCopying tranql/tranql/1.2.1/jarCopying howl/howl-logger/0.1.11/jar
Copying antlr/antlr/2.7.2/jarCopying activeio/activeio/2.0-r118/jarConfiguration geronimo/j2ee-system/1.0-SNAPSHOT/car already present in configuration storeInstalled configuration geronimo/j2ee-server/1.0-SNAPSHOT/car
Copying geronimo/geronimo-connector/1.0-SNAPSHOT/jarCopying geronimo/geronimo-timer/1.0-SNAPSHOT/jarCopying geronimo/geronimo-client/1.0-SNAPSHOT/jarCopying geronimo/geronimo-axis/1.0-SNAPSHOT/jarCopying axis/axis/1.4-SNAPSHOT/jar
Copying commons-discovery/commons-discovery/0.2/jarCopying wsdl4j/wsdl4j/1.5.2/jarCopying openejb/openejb-core/2.0-SNAPSHOT/jarCopying geronimo-spec/geronimo-spec-corba/2.3-rc4/jarCopying activecluster/activecluster/1.2-20051115174934/jar
Copying wadi/wadi-core/2.0M1/jarCopying axion/axion/1.0-M3-dev/jarCopying activemq/activemq-core/3.2.1/jarCopying commons-collections/commons-collections/3.1/jarCopying commons-primitives/commons-primitives/1.0/jar

BUILD FAILEDFile.. C:\Geronimo_source\geronimo\maven.xmlElement... maven:reactorLine.. 63Column 108Unable to obtain goal [multiproject:install-callback] -- C:\Documents and Settings\Administrator\.maven\cache\geronimo-
assembly-plugin-1.1.2\plugin.jelly:177:145:  Dependency: backport-util-concurrent/backport-util-concurrent/2.0_01_pd/jar not found in local maven repo: for configuration: geronimo/j2ee-server/1.0-SNAPSHOT/car
Total time: 306 minutes 23 secondsFinished at: Sun Dec 25 17:23:47 IST 2005
Regards/Bharath


Re: BUILD FAILED

2005-04-06 Thread Scott Anderson
> Do you have openejb checked out as well
I only checked out the geronimo trunk from svn. When I do a search of 
what openejb named files I have checked out I get some directories, a 
couple of snapshots (core & builder), and some openejb-jar.xml files.

As far as I can tell it looks like wsdl4j-1.4.jar was upgraded to a 
wsdl4j-1.5.jar but not all the wsdl4j version properties got updated.

Scott
David Jencks wrote:
I can't reproduce this on my linux box not sure what is going 
on.   Do you have openejb checked out as well (next to modules)? (I do)

david jencks
On Apr 5, 2005, at 5:23 PM, Scott Anderson wrote:
I did a...
maven m:clean
maven m:clean-repo
svn update
maven
...and...
BUILD FAILED
File..  
/Users/scott/.maven/cache/maven-multiproject-plugin-1.3.1/plugin.jelly
Element... maven:reactor
Line.. 217
Column 9
Unable to obtain goal [default] --  
/Users/scott/Development/apache/geronimo/modules/assembly/maven.xml: 
232:15:   
org.apache.geronimo.kernel.repository.MissingDependencyException: 
uri  wsdl4j/jars/wsdl4j-1.4.jar not found in repository





Re: BUILD FAILED

2005-04-06 Thread David Jencks
I can't reproduce this on my linux box not sure what is going on.   
Do you have openejb checked out as well (next to modules)? (I do)

david jencks
On Apr 5, 2005, at 5:23 PM, Scott Anderson wrote:
I did a...
maven m:clean
maven m:clean-repo
svn update
maven
...and...
BUILD FAILED
File..  
/Users/scott/.maven/cache/maven-multiproject-plugin-1.3.1/plugin.jelly
Element... maven:reactor
Line.. 217
Column 9
Unable to obtain goal [default] --  
/Users/scott/Development/apache/geronimo/modules/assembly/maven.xml: 
232:15:   
org.apache.geronimo.kernel.repository.MissingDependencyException: uri  
wsdl4j/jars/wsdl4j-1.4.jar not found in repository




BUILD FAILED

2005-04-06 Thread Scott Anderson
I did a...
maven m:clean
maven m:clean-repo
svn update
maven
...and...
BUILD FAILED
File.. 
/Users/scott/.maven/cache/maven-multiproject-plugin-1.3.1/plugin.jelly
Element... maven:reactor
Line.. 217
Column 9
Unable to obtain goal [default] -- 
/Users/scott/Development/apache/geronimo/modules/assembly/maven.xml:232:15: 
 
org.apache.geronimo.kernel.repository.MissingDependencyException: uri 
wsdl4j/jars/wsdl4j-1.4.jar not found in repository