geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Andrushchak <us...@dekasoft.com.ua>
Subject Re: customer service deployment
Date Mon, 16 Jan 2006 07:27:04 GMT
Thanks again David!

I've resolved this issue by adding name attribute to gbean configuration.

Best regards,
Alex Andrushchak

David Jencks wrote:

> I entered http://issues.apache.org/jira/browse/GERONIMO-1459 to track 
> this issue.  Are you still having problems with it?
>
> thanks
> david jencks
>
> On Jan 15, 2006, at 5:16 AM, Alex Andrushchak wrote:
>
>> Thanks Bruce!
>> I've fixed it already.
>>
>> But there is another bug in geronimo 1.0
>> If you omit name attribute in gbean configuration you'll have 
>> NullPointerException on deployment.
>> Sample plan is:
>> <configuration
>>     xmlns="http://geronimo.apache.org/xml/ns/deployment-1.0"
>>     parentId="geronimo/j2ee-system/1.0/car"
>>     configId="com/dekasoft/logicland/service/SpiderService">
>>
>>     <dependency>
>>         <uri>queryphone/queryphone-service/1.0/jar</uri>
>>     </dependency>
>>
>>     <gbean class="com.dekasoft.logicland.service.SpiderService">
>>     </gbean>
>>
>> </configuration>
>>
>> Exception is:
>> 11:18:55,031 ERROR [Deployer] Deployment failed due to
>> java.lang.NullPointerException
>>         at java.util.Hashtable.put(Unknown Source)
>>         at 
>> org.apache.geronimo.j2ee.j2eeobjectnames.NameFactory.getComponentName(NameFactory.java:26
>> 3)
>>         at 
>> org.apache.geronimo.deployment.service.ServiceConfigBuilder.addGBeanData(ServiceConfigBui
>> lder.java:329)
>>         at 
>> org.apache.geronimo.deployment.service.ServiceConfigBuilder.addGBeans(ServiceConfigBuilde
>> r.java:311)
>>         at 
>> org.apache.geronimo.deployment.service.ServiceConfigBuilder.buildConfiguration(ServiceCon
>> figBuilder.java:207)
>>         at 
>> org.apache.geronimo.deployment.service.ServiceConfigBuilder.buildConfiguration(ServiceCon
>> figBuilder.java:167)
>>         at 
>> org.apache.geronimo.deployment.service.ServiceConfigBuilder$$FastClassByCGLIB$$9f173be6.i
>> nvoke(<generated>)
>>         at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
>>
>> Best regards,
>> Alex Andrushchak
>>
>> Bruce Snyder wrote:
>>
>>>On 1/12/06, Alex Andrushchak <ustas@dekasoft.com.ua> wrote:
>>>
>>>  
>>>
>>>>I've created my test service and deployment plan but can't deploy it
>>>>into geronimo.
>>>>There is error message:
>>>>D:\local\geronimo-1.0>ar bin/deployer.jar deploy queryphone-service.jar
>>>>queryphone-service-plan.xml
>>>>Username: system
>>>>Password:
>>>>
>>>>    Error: Unable to distribute queryphone-service.jar: Unable to load
>>>>    first parent of configuration
>>>>    com/dekasoft/logicland/service/SpiderService
>>>>
>>>>        No configuration with id: org/apache/geronimo/System
>>>>
>>>>Deployemnt plan and source of service is attached.
>>>>Is it possible to get intruction how to deploy custom service to geronimo.
>>>>I've read article about Custom quartz service but it use maven for build
>>>>and deployment.
>>>>It is not clear what is going on under cover.
>>>>    
>>>>
>>>Alex,
>>>
>>>The reason for the error is because the format of the deployment plans
>>>in Geronimo 1.0 have changed slightly. That article uses Geronimo M4
>>>which is vastly different from the 1.0 release. Updating a plan to be
>>>compatible with 1.0 should be fairly easy. Please post just the
>>>deployment plan so that we can figure out what needs to be fixed up.
>>>
>>>Bruce
>>>--
>>>perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61Ehttp://geronimo.apache.org/)
>>>
>>>Castor (http://castor.org/)
>>>
>>>  
>>>
>>
>


Mime
View raw message